Home›Java›Datapacks›Simple Shelf Alignment Toggle
Simple Shelf Alignment Toggle
DatapacksJava

Simple Shelf Alignment Toggle

Java data pack listed for Minecraft 1.21–26.x. Downloads from the MC Java Mods app on Android.

by EtechMC · on Modrinth

⬇ Download on Modrinth
Simple Shelf Alignment Toggle — screenshot 1

This lightweight datapack simply just adds a /trigger command for enabling the "align_items_to_bottom" property on a shelf block, which allows for more creative building possibilities :) Left side: Default item position. Right side: Items aligned to bottom.

How to use: To install: Just copy the datapack .zip file into your world's datapacks folder. Once in-game, just stand directly in front of a shelf at your feet, and type "/trigger toggle_shelf" You can find an example for this in the Gallery. Breaking and replacing the shelf will set it back to it's default state.

I originally made this datapack just for myself, but I figured others may like it as well :D If you're not a fan of using commands for things like this, then you may want to check out this datapack someone else made which makes use of brushes instead: Fractures - Shelved

This datapack is inspired by the invisible item frames command in Vanilla Tweaks' Armor Statues datapack. And I used some of their datapack's .mcfunction files as reference for my own.

Quick facts

Install steps are the general flow for this file type — see the MC Java Mods guides for the full walkthrough.

File checked by MCModsHub

These come from our own check of the pack file, not from the source page.

Explore more