so, on my server, i need to find a way to prevent withers from breaking blocks.
i tried using this:
but the event only detects when a player breaks a block, i guess.
also please don't tell me to turn off the mobgriefing gamerule, it prevents villager breeding and some other important things so i'm just making it myself.
any help is appreciated ;p
i tried using this:
Code:
on break:
if event-entity is wither:
cancel event
but the event only detects when a player breaks a block, i guess.
also please don't tell me to turn off the mobgriefing gamerule, it prevents villager breeding and some other important things so i'm just making it myself.
any help is appreciated ;p