in_block

Passes when the entity's head or feet are inside the specified block type.

Categories: world

Required arguments

Key(s)DescriptionType
blockThe block material name to check (e.g. WATER).BLOCK

Example

conditions:
  - id: in_block
    args:
      block: <value>