Supports 1.21.4
There is, however, legacy 1.20.6, 1.19.4 and 1.18.2 versions that I currently maintain.
This is a fun little plugin I wrote that adds various mechanics to the dispenser block. It was inspired by the
Autonomous Activator from the
Thermal Expansion mod
Demonstration: (outdated)
This plugin adds the following mechanics to the dispenser block:
- Block Place Mechanic - Where blocks in the dispenser are placed in front of the dispenser.
- Item Use Mechanic - Where items can be used on blocks as if a player clicked them.
- Entity Interact Mechanic - Where items can be used on entities as if the player clicked them.
- Auto Craft Mechanic - Where dispensers facing into crafting tables can craft a recipe stored in the dispensers' inventory. Taking items from containers adjacent to the dispenser.
- Tool Break Block Mechanic - Where Pickaxes, Axes and Shovels can be used to break blocks in front of the dispenser. Applying enchantments such as Silk Touch, Fortune and Efficiency.
- Weapon Attack Mechanic - Where Axes and Swords can attack entities in front of the Dispenser. Applying enchantments such as Fire Aspect, Looting and Sharpness.
- Animal Tempt Mechanic - Where dispensers with an animals food item can lure them to it, will only work for animals that are naturally tempted by the player.
- When a tools' durability is too low to perform its action without breaking, the dispenser can drop the tool for it to be collected (configurable)
If you encounter any bugs or issues Report them to either the
GitLab issues page or the
Discussion Page.
Have fun