Started by
DSCO
on
Topic category: Help with Minecraft modding (Java Edition)
I only recently discovered MCreator, and was trying to make a simple mod to test the waters. But besides just making a tool or a crafting recipe, I don;t know how to male a procedure for something like this. My guess is give the item a counter of sources, when it hits x/x it spawns the entity (being a linger potion of healing). How would you go around tis *cause I got no idea at all*.
So there is a thing in procedures called "Set entity nbt tag tagname to ..."\
basicly you make a procedure that sets it +1 and bind it to when "mob killed with tool"
then make another procedure checking with if statements about your nbt=x(x is the number of kills you want). If that is true, set your nbt to zero again, and spawn your mob. But that will only work if you have 1 tool in your inventory.
Looking around for event triggers/procedures I also can't find what could equate to "mob killed with tool". Entity kills entity is just mob v mob. Would you know what I could do for this. (got MCreator yesterday)
it's in "create A NEW TOOL"