Help with making tamed mobs stop and making an NBT tag for it.

Started by Bide on

Topic category: Help with Minecraft modding (Java Edition)

Joined Apr 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Help with making tamed mobs stop and making an NBT tag for it.

Ok, i made a robot entity yesterday, and i'm trying to make it sit. It is already tameable, however i do not know how to make it stop with right click. I mean, i saw some answers with making NBTs, but i don't know where i place the NBT block. Help?

Joined May 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
No NBTs needed just useā€¦
Sat, 07/16/2022 - 14:21

No NBTs needed just use custom mobs for each state

 

step1: make a normal model

step2: make your sitting model

step3: make 2 mobs for each state respectively in mcreator

step4: use the when 'mob right-clicked' trigger and make it despawn and spawn in a your sitting variant

step5: do the same for the sitting state mob but this time just switch out the sitting variant for the normal one instead this time

 

In case you have any extra data stored use variables for that