how to prevent withers from breaking blocks?

  • Welcome to skUnity!

    Welcome to skUnity! This is a forum where members of the Skript community can communicate and interact. Skript Resource Creators can post their Resources for all to see and use.

    If you haven't done so already, feel free to join our official Discord server to expand your level of interaction with the community!

    Now, what are you waiting for? Join the community now!

  • LOOKING FOR A VERSION OF SKRIPT?

    You can always check out skUnity Downloads for downloads and any other information about Skript!

Status
Not open for further replies.

ibryce

New Member
Jul 29, 2020
7
0
1
so, on my server, i need to find a way to prevent withers from breaking blocks.

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
 
You can't use event-entity outside an event involving a defined entity.
The only event-(whatever) things you can use in "on break" are event-block.
 
Status
Not open for further replies.