Solved Make Minecarts undestroyable

  • 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 comminuty!

    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.

Hosom

Member
Jul 10, 2017
22
0
1
27
Code:
on vehicle damage:

    if victim is minecart:
        cancel event

Does not work

Code:
on vehicle damage:
    if vehicle is minecart:
        cancel event

Does not work either

Code:
on vehicle damage:
        cancel event

Works, but prevents damage also on boats

WTF should i do? :emoji_joy:
 
Last edited:
sorry i don't know

but you can use ctizien to make minecraft you create an npc and you change the type of the npc to a minecar
t
 
sorry i don't know

but you can use ctizien to make minecraft you create an npc and you change the type of the npc to a minecar
t

Wayy to hacky :emoji_dizzy_face:
[doublepost=1577792594,1577629468][/doublepost]Bump
 
Try this:

Code:
on break of minecart: # Checks if a minecart has broken
    cancel event # Stops it from breaking (canceling the break event)
    send "&cYou cannot break minecarts!" # Sends a message
 
Status
Not open for further replies.