Template:Nbt inherit/conditions/location/template

From Minecraft Wiki
Jump to: navigation, search


    •  biome: The biome the entity is currently in. Accepts these 73 values (see also Biome#Biome_IDs).
    •  block[upcoming: JE 1.15]: The block at the location.
      •  block: The block ID.
      •  tag: The block Tag.
      •  nbt: The block NBT.
      •  state: A map of block property names to values. Test will fail if the block doesn't match.
        •  key: Block property key and value pair.
        •  key:
          •  max: A maximum value.
          •  min: A minimum value.
    •  dimension: The dimension the entity is currently in. Accepts these 3 values.
    •  feature: Name of a structure. Accepts these 14 values (see also Commands/locate).
    •  fluid[upcoming: JE 1.15]: The fluid at the location.
      •  fluid: The fluid ID.
      •  tag: The fluid Tag.
      •  state: A map of fluid property names to values. Test will fail if the fluid doesn't match.
        •  key: Fluid property key and value pair.
        •  key:
          •  max: A maximum value.
          •  min: A minimum value.
    •  light[upcoming: JE 1.15]: The light at the location.
      •  light: The light Level of visible light. Calculated using: (max(sky-darkening,block)).
      •  light:
        •  max: A maximum value.
        •  min: A minimum value.
    •  position:
      •  x: The x position.
      •  x:
        •  max: A maximum value.
        •  min: A minimum value.
      •  y: The y position.
      •  y:
        •  max: A maximum value.
        •  min: A minimum value.
      •  z: The z position.
      •  z:
        •  max: A maximum value.
        •  min: A minimum value.