Skip to content

Entity conditions

These conditions require the target to be a Minecraft entity.

Check entity

Allows many true/false checks on the target.

check.entity:
  isSleeping: ...
  isSwimming: ...
  isClimbing: ...
  isJumping: ...
  isInLava: ...
  isInWater: ...
  isInBubbleColumn: ...
  isInRain: ...
  isOnGround: ...
  isGliding: ...
  isFrozen: ...
  isInPowderedSnow: ...
  isInCobweb: ...
  isInsideVehicle: ...
  isRiptiding: ...
  isInvisible: ...
  isGlowing: ...
  isInvurnerable: ...
  isSilent: ...
  isLeashed: ...

Check player

Allows many true/false checks on the target player.

check.player:
  isSneaking: ...
  isSprinting: ...
  isBlocking: ...
  isSleeping: ...
  isDeeplySleeping: ...
  isSwimming: ...
  isClimbing: ...
  isJumping: ...
  isInLava: ...
  isInWater: ...
  isInBubbleColumn: ...
  isInRain: ...
  isFlying: ...
  isGliding: ...
  isFrozen: ...
  isFreezeTickingLocked: ...
  isInPowderedSnow: ...
  isInCobweb: ...
  isInsideVehicle: ...
  isConversing: ...
  isRiptiding: ...
  isInvisible: ...
  isGlowing: ...
  isInvurnerable: ...
  isSilent: ...
  isOp: ...

Health

Checks the target's health.

check.health:
  within: 0-10 # Double range
  withinPercent: 0.1-0.5 # Double range (percentage from 0 to 1)