Inverted conditions?

Discussion in 'General' started by PsychoLynx, Jul 29, 2016.

  1. PsychoLynx

    PsychoLynx New Member
    Premium Supporter Supporter

    Joined:
    Jul 2, 2016
    Messages:
    25
    Likes Received:
    6
    Hey there! What I am trying to achieve is to have my mob NOT spawn on water. How do I negate the condition "inblock water"?
     
    #1
  2. fly

    fly Active Member

    Joined:
    Feb 10, 2016
    Messages:
    440
    Likes Received:
    99
    Easy - make a skill that removes the mob if it spawns in water.
    Code:
    Remove_water:
      Conditions:
      - inblock water,stationary_water #not sure if the second one is lettered properly
      Skills:
      - remove @Self
    
    Add this to your mob's skills with ~onSpawn
     
    #2
    PsychoLynx likes this.

Share This Page