CraftTweaker

CraftTweaker

151M Downloads

[Request] dispenser support

Biviho opened this issue ยท 2 comments

commented

Describe the feature you'd like

i have looked a lot and i can't find a way to modify dispenser output with crafttweaker so i was wandering if it's possible to add it as a feature.

basically a way to modify the dispenser_behaviour_registry without having to make a mod for that.

Describe alternatives you've considered

i guess possible functions would be:

-removing a behaviour by input, by converting the dispensed effect into the original item (arrow -> drop item insead of shooting)
-adding a behaviour by item and projectile like entity as an output, with an already handled shooting behaviour
-adding a behaviour by item and function

Additional context

the reason i'm asking for this is that, during the development of my pack, i found that taint in a bottle from thaumcraft, while the player is able to throw it by using it, can't be thrown by a dispenser.

Minecraft version

1.12

commented

This has been done thanks to @friendlyhj!

I am going to keep this issue open until I add it to 1.16 though.

commented

this is a great news! thank you so much!
i found odd than no one ever thought about making a way to modify dispenser's behaviour... i mean, there are a lot of mods that apply very specific behaviour, but none that gives you the ability to make your own.
Really glad you did it!