BlockCondition - Septillihedron/SuperheroesPlusSchema GitHub Wiki

BlockCondition - An object

Properties

mode - Required enum

Allowed values

  • ALL
  • LOCATION

The mode of operation

Defaults to LOCATION

otherwise - Optional EffectList

A list of effects that will run if this condition is false

else - Optional EffectList

A list of effects that will run if this condition is false

allowedMaterials - Optional Array of Material

The list of blocks

Defaults to []

materials - Optional Array of Material

The list of blocks

Defaults to []