Dispenser Configurator

Dispenser Configurator

Mod

Configure the vanilla Dispenser to use (almost) any item. Data driven.

Server TechnologyUtility

1,413 downloads
22 followers
Created3 years ago
Updated7 days ago

Follow Save
Host your Minecraft server on BisectHosting - get 25% off your first month with code MODRINTH.

This mod is for the Fabric mod loader and Minecraft Versions

Also works on Quilt!

Modrinth Downloads CurseForge Downloads

Requires Fabric API

Like this mod? Coindrop.to me or Buy me a coffee

Mod loader Fabric Mod loader Fabric

Discuss on Discord License MIT Source Code on GitLab gitlab issues

Dispenser Configurator is a server-side mod. It works in single player, and clients connecting to servers with it don't need the mod.


This mod lets you configure the vanilla Dispenser to work with any item's use (right-click) functionality.


Configuration is done via a new data type loaded through data packs: "dispenser_configurator".


In a "dispenser_configurator", you can define a list of items and item tags you wish to have functionality in Dispensers. Minecraft has several ways of handling item usage (5), so a "dispenser_configurator" can also have a "target" list that defines how it should use its items.


The mod includes a "Default Dispenser Configurators" datapack that contains several configurators I've tested and that I think fit well into vanilla+ Minecraft, they're listed here. You can disable the data pack using the normal /datapack disable command.


More information about how to create a "dispenser_configurator" is available on the wiki.

The builtin "Default Dispenser Configurators" datapack also serves as a good example data pack.


Known issues:

  • "ITEM_USE" doesn't behave desirably for all items in all situations.

This mod is only for Fabric (works on Quilt, too!) and I won't be porting it to Forge. The license is MIT, however, so anyone else is free to port it.


I'd appreciate links back to this page if you port or otherwise modify this project, but links aren't required.

External resources



Project members

supersaiyansubtlety

Owner


Technical information

License
MIT
Client side
unsupported
Server side
required
Project ID