Started by
Jarz
on
Topic category: Help with MCreator software
I'm trying to make an armor set, that while you're sneaking (and have a full set) enemies ignore you.
Why won't this work?

Topic category: Help with MCreator software
I'm trying to make an armor set, that while you're sneaking (and have a full set) enemies ignore you.
Why won't this work?

I also, in the armor chestplate, call this procedure on the tick event.
You are trying to get the nearest "Block display" entity within 0.1 blocks of the player. No such entity exists, so the game is confused and crashes when you try to make all monsters in the area target something that doesn't exist.
You could probably solve it by spawning a block display entity, setting attack targets to it, then despawning it. But it would be a slightly weird and potentially buggy workaround. I don't have enough experience with trying to make entities not target things to know a good option for this though.
That's alright.
Thanks anyways.
Wait a minute, the game doesn't crash?
Nothing happened when I tried it
Maybe try Procedures+'s "Set attack target to none"?
Yeah, there is probably something you can do with the attack target blocks to make this work. I currently don't have easy access to MCreator so I can't find the exact blocks you could use.
I think the block display targeting didn't work because block displays aren't living entities, and thus cannot be targeted by mobs.
Hope this helps! :)
Either switch block display to null entity or use a logic variable set to true in the procedure above. Then trigger a procedure on entity targeting, cancel event is entity has variable=true.