Minecraft Wiki
Register
Advertisement
    •  biome: The biome at this location, as a resource location (see Biome#Biome IDs for the ones used in vanilla).
    •  block: The block at the location. Test fails if the location is unloaded.
      •  blocks: A list of block IDs.
      •  tag: The block tag.
      •  nbt: The block NBT.
      •  state: A map of block property names to values.
        •  key: Block property key and value pair. Test will fail if the block doesn't have this property.
        •  key: Another form.
          •  max: A maximum value.
          •  min: A minimum value.
    •  dimension: A resource location for the dimension.
    •  fluid: The fluid at the location. Test fails if the location is unloaded.
      •  fluid: The fluid ID.
      •  tag: The fluid tag.
      •  state: A map of fluid property names to values.
        •  key: Fluid property key and value pair. Test will fail if the fluid doesn't have this property.
        •  key: Another form.
          •  max: A maximum value.
          •  min: A minimum value.
    •  light: The light at the location. Test fails if the location is unloaded.
    •  position: The position.
      •  x: The x position.
      •  x: Another form for x position.
        •  max: A maximum value.
        •  min: A minimum value.
      •  y: The y position.
      •  y: Another form for y position.
        •  max: A maximum value.
        •  min: A minimum value.
      •  z: The z position.
      •  z: Another form for z position.
        •  max: A maximum value.
        •  min: A minimum value.
    •  smokey: When true, success if the block is closely above a campfire or soul campfire. When false, success if not.
    •  structure: The structure the entity is currently in. This tag is a resource location for a structure feature (see Java Edition data values#Structures for the ones used in vanilla).
Advertisement