Started by
deeptwisty
on
Topic category: Help with MCreator software
I'm trying to recreate the behavior of buckets in crafting, i.e. when you use a bucket in a crafting recipe you get the empty bucket back. Is there a way to do this?
Topic category: Help with MCreator software
I'm trying to recreate the behavior of buckets in crafting, i.e. when you use a bucket in a crafting recipe you get the empty bucket back. Is there a way to do this?
Nevermind, I figured out you can do it by setting up a custom item meant to look like the item being crafted and setting this procedure (replace the bottle with whatever item you want to give bucket behavior to) to trigger when the item is crafted:
and a second procedure (replace the first dirt block with an item meant to look like the item you want crafted, and the second with the actual item) to trigger every tick when the item is in a player's inventory:
and setting the recipe for the item to create the fake item that instantly replaces itself instead.
Addendum: I would use the "when crafted" feature on the desired item in the first place, but I needed a way to do this with vanilla items. If anyone has a more elegant solution than this I would love to hear it.