Started by
fanta88
on
Topic category: Help with Minecraft modding (Java Edition)
I'm trying to make a certain type of mob that, when shears, drops "Krystalanite Nuggets" and "Krystalanite Shards". I've got the idea down, but can't seem to figure out how a mob can drop two items of different ammounts at the same time. Maybe a procedure or a loot table? And how do I make them eat a certain block to regenerate, and how do I make them shearable?
I'm quite a noob at this. But I'll answer what I came up with based on what I understood of what you need. I think everything is answered in one answer.
First, you go to the entity configuration and create a procedure in the right click trigger.
Then you put in the procedure something like this:
Thank you, kind sir! Also, yes, you put source entity in rather than event/target entity.