Started by
Display
on
Topic category: Help with Minecraft modding (Java Edition)
I'm currently working on the mod that adds the Freddy mask from Five Nights at Freddy's 2 into the game. How do I add a procedure to make every hostile entity, even vanilla entities, ignore the player when the item is held?
You could put a procedure in the "On Item in hand tick" slot that loops through nearby entities and removes their attack target. I can't remember if there is a block that does that, so let me know if this is possible.