Dispenser Configurator

Dispenser Configurator

Mod

Configure the vanilla Dispenser to work with any item's use (right-click) functionality.

Server TechnologyUtility

1,360 downloads
21 followers
Created3 years ago
Updated9 days ago

Follow Save
Host your Minecraft server on BisectHosting - get 25% off your first month with code MODRINTH.
Filter loader...
Filter versions...
  • Updated for 1.20.5
  • Improved "ITEM_USE" target: it should behave as expected in more situations
  • Minor internal changes

A cumulative changelog can be found here

backported fix for #6: the ENTITY_ON_INTERACT target now works with non-living entities

A cumulative changelog can be found here

the ENTITY_ON_INTERACT target now works with non-living entities, fixes #6

A cumulative changelog can be found here

  • Marked as compatible with 1.20.3 and 1.20.4
  • Minor internal changes

A cumulative changelog can be found here

Updated for 1.20.2

A cumulative changelog can be found here

Updated for 1.20 and 1.20.1!

A cumulative changelog can be found here

Updated for 1.19.3 and 1.19.4

A cumulative changelog can be found here

Marked as compatible with 1.19.2

A cumulative changelog can be found here

  • Updated for 1.19.1
  • Minor internal changes

A cumulative changelog can be found here

  • Fixed a bug that caused an error to be logged and prevented placement of certain blocks.
  • Added the folloing to the place_blocks configurator: "pointed_dripstone", "small_dripleaf", "big_dripleaf", "glow_lichen", "#wool_carpets", "moss_carpet", "moss_block", "glow_berries", "hanging_roots"

A cumulative changelog can be found here

  • Added behaviors for buckets and cauldrons, and buckets milking cows!
  • Fixed a bug that could cause certain behaviors to delete items.
  • Fixed a bug that caused errors to log if a configurator was for multiple items and had an allow/deny list specified.

A cumulative changelog can be found here

Add a null check that logs an error, fixing compatibility with Rug

A cumulative changelog can be found here

Updated for 1.19!

A cumulative changelog can be found here

Updated for 1.18.2.

For builtin configurators, made is so that if an item cannot be dispensed (for example of a rail couldn't be placed because there's no supporting block), the dispensation fails, rather than the item be ejected.

A cumulative changelog can be found here

Marked as compatible with 1.18.1.

Simplified the way configurators are loaded (thanks to insight from LambdaAurora!)

From 1.2.1-b1: Updated for 1.18!

From 1.2-b1:

This is a beta version. I've made substantial internal changes, and so there's an increased likelihood that I've introduced bugs. Please report any bugs you find on the issue tracker.

  • Added two new targets:

    • "DROP": ejects the item like a dropper
    • "FAIL": do nothing and stop any further behavior attempts

    These targets allow you to more easily disable and override existing behaviors.

    They can also be used to customize what happens when a configurator behavior fails.

    Thanks to snowikit for the feedback that led to the addition of these targets!

A cumulative changelog can be found here

Updated for 1.18!

From 1.2-b1:

This is a beta version. I've made substantial internal changes, and so there's an increased likelihood that I've introduced bugs. Please report any bugs you find on the issue tracker.

  • Added two new targets:

    • "DROP": ejects the item like a dropper
    • "FAIL": do nothing and stop any further behavior attempts

    These targets allow you to more easily disable and override existing behaviors.

    They can also be used to customize what happens when a configurator behavior fails.

    Thanks to snowikit for the feedback that led to the addition of these targets!

A cumulative changelog can be found here

This is a beta version. I've made substantial internal changes, and so there's an increased likelihood that I've introduced bugs. Please report any bugs you find on the issue tracker.

  • Added two new targets:

    • "DROP": ejects the item like a dropper
    • "FAIL": do nothing and stop any further behavior attempts

    These targets allow you to more easily disable and override existing behaviors.

    They can also be used to customize what happens when a configurator behavior fails.

    Thanks to snowikit for the feedback that led to the addition of these targets!

A cumulative changelog can be found here

Removed a static world reference, fixing compatibility with Dimensional Threading.

A cumulative changelog can be found here

  • Completely rewrote how configurators are managed... twice.

  • white/black lists have been renamed to allow/deny lists. white and black lists are still recognized so old datapacks won't break.

  • There is no more registry replacement (less log spam and chance for conflicts)

  • Fixed allow/deny lists not actually having any effect (sorry about that)

  • The way multiple dispenser behaviors for the same item has been greatly improved (whether they're added by this mod, other mods, or vanilla)

    • Before there could only be one behavior per item, now there can be many behaviors, and each is tried until one succeeds

    • Configurator datapacks may now specify "exclusive" = true to bypass the above behavior, meaning only that behavior will be tried

    • Multiple exclusive configurators for the same item may be specified so long as their allow/deny lists don't overlap

A cumulative changelog can be found here

Finally updated for 1.17(.1)!

Note that this version (and possibly others) don't work with Dimensional Threading.

A cumulative changelog can be found here

External resources



Project members

supersaiyansubtlety

Owner


Technical information

License
MIT
Client side
unsupported
Server side
required
Project ID