Started by
Mopru
on
Topic category: Help with Minecraft modding (Java Edition)
Ill reupload this so its simpler. How can I make a procedure that'll summon a tamed mob? I want it to fight for me.
Topic category: Help with Minecraft modding (Java Edition)
Ill reupload this so its simpler. How can I make a procedure that'll summon a tamed mob? I want it to fight for me.
Tamable mobs have an NBT tag describing the entity ID of the player that tamed them. I don't know how to get an entity ID from a player though.
i think getting the id of a player can only be done with coding or plugins.
You could use a procedure block to summon your custom entity at X Y Z
then, use the tame event/target entity by sourceentity procedure block, but place get nearest entity of type your entity at X Y Z in the first slot, and event/target entity in the second slot
I have discovered that it is quite impossible to set NBT data on an entity using Forge. I would suggest using commands.
there are blocks labeled "set nbt tag to entity"