Started by
Kirito2468
on
Topic category: Help with Minecraft modding (Java Edition)
Mob spawn that doesn't attack the player, but attacks the entities when they attack the player or the player attacks the entity. So as if the player were the creator of the spawned entities and controlled them, like with the Necromancers. (is for a Necromancer Magic Wand.)
(preferably during Procedure)
Thanks in advance!
You can make creatures that are capable of attacking other entities- to the best of my knowledge, the only main difference is how the game deals with spawning, and what iron golems are allowed to target. Mobs also won't attack the player by default unless you specify the player as one of it's attack targets. You can use the 'set attack target of entity' to set an entity's attack target using various conditions. (In your case, you'd probably want this to be a tamed entity so that it follows its owner around.)
Ok, Thanks