Help with taming procedure.

Started by indyjames on

Topic category: Help with MCreator software

Joined Feb 2016
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Help with taming procedure.
Wed, 10/23/2019 - 19:40 (edited)

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
Joined Feb 2016
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Anyone? I could rlly use…
Fri, 10/25/2019 - 23:03

Anyone? I could rlly use some help.

Joined Aug 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
"it despawns the player and…
Sat, 10/26/2019 - 10:33

"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.

Joined Feb 2016
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I know this may sound like a…
Sun, 10/27/2019 - 19:55

I know this may sound like a dumb question, but what to I put in the nbt tag text field?

Joined Aug 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Whatever name you want the…
Sun, 10/27/2019 - 20:13

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.

Joined Feb 2016
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Kay, thanks.
Sun, 10/27/2019 - 20:37

Kay, thanks.

Joined Feb 2016
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
It doesn't work cause when I…
Sun, 10/27/2019 - 22:14

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.