Started by
MischiefCat591
on
Topic category: Help with modding (Java Edition)
Im working on a mod that adds new zombie variants, and i wanted to make the strongman zombie able to break doors.
But whenever he goes to break a door, it just plays the sound over and over then crashes the game. How do i fix?
Here's my code:
It's on entity tick procedure
The remove block should have the same coords as the one above it from the check, as you are just removing the door that would be inside the zombie at the moment, also I assume you have it checking for every side, z+2, x-2, x+2, also try it without the wait block, it might be the cause for why its crashing
just use the "break doors" task in the ai menu for the entity