1. Animals
  2. Abilities
  3. Conditions
  4. Tool/Weapon
  5. Weapon Mods
  6. Orb
  7. Equipped
  8. Food/Medicine
  9. Furniture/Construction
  10. Color/Pattern
  11. Items
  12. Attributes
  13. Creatures
  14. Blocks
  15. Props
  16. API Types
  17. 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.