Paste #63041: Skeleton shooting levitation arrows

Date: 2019/12/22 11:47:57 UTC-08:00
Type: Denizen Script

View Raw Paste Download This Paste
Copy Link


LevArrowsOne:
    type: item
    material: tipped_arrow
    name: Levitation Arrow
    mechanisms:
        potion_effects: water,false,false,red|Levitation,0,150,false,false,false

LevitationBow:
    type: item
    material: bow
    display name: Ghost Bow
    enchantments:
    - punch:1

SpectralSkeleton:
    type: entity
    entity_type: skeleton
    custom_name: Phantom Rider
    item_in_hand: LevitationBow
    equipment: air|air|air|chainmail_helmet

LevShot:
    type: world
    events:
        on SpectralSkeleton shoots Bow in:hauntedwoods:
        - wait 1t
        - determine arrow[potion_effects=water,false,false,yellow|Levitation,0,100,false,false,false]
        - determine cancelled

LevArrowEntity:
    type: entity
    entity_type: arrow
    potion: potion[potion_effects=water,false,false,red|Levitation,0,100,false,false,false]