1. Animals
  2. Abilities
  3. Conditions
  4. Tool/Weapon
  5. Equipped
  6. Food/Medicine
  7. Items
  8. Attributes
  9. Creatures
  10. Blocks
  11. Props
  12. API Types
  13. API Functions
prop

ID:8
Icon:ibulletpoint.2xn

prop

Info about a single prop and its current status.

integer id

Prop ID.

integer hp

Amount of hit points left on prop.

integer parameter

Value of prop's parameter which is handled depending on the kind of prop this is. For example, a door is 0 in the closed position and 1 in the open position.

integer mount

Orientation the prop is placed in. 0 for floor mount (no orientation), 1 for facing up, 2 for facing right, 3 for facing down and 4 for facing left.

blockpos trigger

Location of the prop connected as a trigger (pressure plate, door, etc.). If there is nothing connected, this is null. NOTE: never assume a prop is actually still at this location.