Started by
Raptorjames16
on
Topic category: Help with Minecraft modding (Java Edition)
I'm making a mod and need to disable zombie, skeleton, and creeper spawns. But when I tried they just turned to indestructible statues except the creepers, which just ignored the function all together. How ever, even more disturbing was that zombie piglins and wither skeleton's also froze anyone no how to fix this?
Use global trigger "when entity spawns"
Then check "if, not, provided world client-side" (this fixes a lot of 'ghost' mob, block, and potion effect bugs)
Run under the if statement another if statement that checks if it is the right sub-type and not a similar mob you do want to spawn(example, "if, target entity is (sub) type of zombie, and, not, target entity is (sub) type of zombified piglin"
Under the second if loop, place the block "cancel event that triggered procedure(only with cancelable global triggers)"
That should work, I apologize if it doesn't or if I got the name of certain procedure blocks wrong
I'll try it.
What do you mean by 'if not' because its not a procedure.
use the "if" block, then add a "not" block between it and the condition
I tryed it but their still statues