7➤ Block Conditions List Page - ssomar1607/ExecutableItems GitHub Wiki

BLOCK CONDITIONS

  • Conditions allows ei users to settle criterias, conditions or requirements.

====={Condition ifPlantFullyGrown:}=====

  • Description: Checks if the target block is a fully grown plant.
  • Example:
conditions:
  blockConditions:
    ifPlantFullyGrown: true    
    ifPlantFullyGrownMsg: ''
  • Example Situations:
    • If the wheat crop is fully grown, the activator will activate.
  • Required: NO (Default: false)
  • More Info: You can edit the message by editing it on the ingame or item config: ifPlantFullyGrownMsg: ''

====={Condition ifIsPowered:}=====

  • Description: Checks if the target block is powered by a redstone signal
  • Example:
conditions:
  blockConditions:
    ifIsPowered: false   
    ifIsPoweredMsg: ''
  • Example Situations:
    • If the block you are clicking at is a lit redstone lamp, the activator will activate
  • Required: NO (Default: false)
  • More Info: You can edit the message by editing it ingame or item config: IfIsPoweredMsg: ''

====={Condition ifMustBeNatural:}=====

  • Description: Checks if the target block is a natural block (so not a placed block) (CORE PROTECT MUST BE INSTALLED)
  • Example:
conditions:
  blockConditions:
    ifMustBeNatural: false   
    ifMustBeNaturalMsg: ''
  • Example Situations:
    • If the block you are clicking is natual, the activator will activate
  • Required: NO (Default: false)
  • More Info: You can edit the message by editing it ingame or item config: IfMustBeNaturalMsg: ''

====={Condition ifPlayerMustBeOnTheBlock:}=====

  • Description: Checks if the target block has a player on top of it
  • Example:
conditions:
  blockConditions:
    ifPlayerMustBeOnTheBlock: false   
    ifPlayerMustBeOnTheBlockMsg: ''
  • Example Situations:
    • If the block you are clicking has a player on top of it, the activator activates
  • Required: NO (Default: false)
  • More Info: You can edit the message by editing it ingame or item config: ifPlayerMustBeOnTheBlockMsg: ''

====={Condition ifNoPlayerMustBeOnTheBlock:}=====

  • Description: Checks if the target block has no player on top of it
  • Example:
conditions:
  blockConditions:
    ifNoPlayerMustBeOnTheBlock: false   
    ifNoPlayerMustBeOnTheBlockMsg: ''
  • Example Situations:
    • If the block you are clicking has a player on top of it, the activator doesn't activate
  • Required: NO (Default: false)
  • More Info: You can edit the message by editing it ingame or item config: ifNoPlayerMustBeOnTheBlockMsg: ''