User:Mlakuss

Jump to navigation Jump to search

Conditions[edit | edit source]

  • [NBT Compound / JSON Object] conditions:
    • [String] biome: The biome the entity is currently in.
    • [String] block: A block ID.
    • [NBT Compound / JSON Object] delta:
      • [Int] max: The maximum value.
      • [Int] min: The minimum value.
    • [Int] delta: The difference in value.
    • [String] dimension: The dimension the entity is currently in.
    • [NBT Compound / JSON Object] distance:
      • [Int] min
    • [Int] distance: The distance to an origin.
    • [NBT Compound / JSON Object] durability:
      • [Int] max: The maximum value.
      • [Int] min: The minimum value.
    • [Int] durability: The durability of the item.
    • [String] feature: Name of a structure (see /locate command).
    • [String] from: The dimension the entity traveled from.
    • [NBT Compound / JSON Object] levels:
      • [Int] max: The maximum value.
      • [Int] min: The minimum value.
    • [Int] levels: The levels spent on an enchantment.
    • [NBT Compound / JSON Object] level:
      • [Int] max: The maximum value.
      • [Int] min: The minimum value.
    • [Int] level: The tier of beacon.
    • [String] potion:
    • [String] recipe: A recipe.
    • [NBT Compound / JSON Object] state: The blockstates of a block.
      • [String] <state_name>: A single blockstate, with the key name being the state name and the value being the required value of that state.
    • [String] to: The dimension the entity traveled to.