Dispensers Place Blocks
A data pack & mod for 1.21 that allows dispensers to place blocks in front of them when dispensed.
Features
- When a dispenser dispenses a block, if possible, it will be placed.
- Blocks will be rotated the same direction as the dispenser is.
- Blocks placed in water will be waterlogged.
- Optimized for performance on servers, such that placing dispensed items is not a lag-intensive operation.
- Can work together with Adamanti's Dispenser Minecarts data pack.
Limitations
- A player standing too close to a dispenser will instantly pick up a block before the data pack is able to place it.
- Bugs related to blocks placed on incorrect surfaces may appear, although there are checks included to prevent most of them.
- May possibly work on future versions, but newly added blocks won't be placed.
Reporting issues
To report bugs or view the source code, you can access the GitLab repository. This data pack was developed using bolt.
How to Install Dispensers Place Blocks (Datapack)
Dispensers Place Blocks by adamanti is verified for Datapack, Fabric, Forge, Quilt across Minecraft versions 1.20.1, 1.21 (latest release: 0.0.4+mod, file size: 1.1 MB). Follow the steps below to install it safely from ModCraft.tv:
- Click the Download button above and select your Minecraft version (1.20.1, 1.21) and platform (Datapack, Fabric, Forge, Quilt).
- Make sure you have the compatible loader or environment installed for Datapack, Fabric, Forge, Quilt.
- Move the downloaded Dispensers Place Blocks file into your Minecraft
.minecraft/saves/<world>/datapacksfolder and launch the game.