Started by
indyjames
on
Topic category: Help with MCreator software
I'm making a tameable mob by creating a separate mob that dies when right click it with a food item.
It all works except there are a few issues that I hope someone can help me with.
Issue 1: When the mob is tamed I have to use the kill command in a 3 block radius, but the original mob has a dying animation and drops loot. When I use "despawn provided entity" it despawns the player and then I disappear. Is there any way to despawn the original mob instead of me?
Issue 2: Occasionally if you rapid click the taming button it will spawn two of the tamed mob when the original mob dies, I would be grateful if someone helped me find a workaround.
Thanks for any help... :)
Edited by indyjames on Wed, 10/23/2019 - 19:40
Anyone?
Anyone? I could rlly use some help.
"it despawns the player and then I disappear. Is there any way to despawn the original mob instead of me?"
https://mcreator.net/tracker/issue/45976 You currently can't distinguish between the 2 normally but you can upvote the issue on the tracker.
Additionally, if you're using "despawn provided entity" on one of the procedure calls of the mob where the pointed to entity is the player, then you could use that procedure to set an NBT tag to true and use another one of the mob's procedures where entity points to themselves and put despawn entity there allowing it to run if the NBT tag is true.
I know this may sound like a dumb question, but what to I put in the nbt tag text field?
Whatever name you want the NBT tag to have. It works just like a variable: "Set x to 60". x would be the text field.
Kay, thanks.
It doesn't work cause when I change the the NBT value it doesn't change the value on the entity that is supposed to be tamed, I changes the NBT value of the player{This is on right click}.
I just hope the abuility to differ between the two will be added.