Started by
thecatlover
on
Topic category: Help with MCreator software
To specify, I am making a mod that allows you to create a droid army (star wars mod) and want to make mobs that can be tamed while not being bred, I have tried three procedures to try this but I can't seem to get them to be tamed to the player.
what I am trying is (OnMobRightClicked) (Tame event target entity to source entity)
this however does not seem to work, perhaps it is with my ai goals and it is tamed but isn't reacting, however it seems like I did those correctly.
if anyone has an idea of why this isn't working, it could really help me out, thank you in advance.
Edit: I got it working
Edited by thecatlover on Mon, 04/18/2022 - 17:55
i would think that the mob has to be set to tameable for it to be tamed
you can probably simulate taming by making it set an NBT variable to true when you right click it with an item, and then use conditions that check if the NBT variable is true to make the mob do stuff