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

LT_prop_parameter

boolean LT_prop_parameter(blockpos location,integer parameter)

blockposlocation The location of prop to alter parameter for
integerparameter The new value for parameter

SERVER This has no effect if performed on the client (but will work in single player)

Changes the parameter on a prop. The parameter is used for various things depending on the prop type. For example, if its a door, setting this to 1 will open it and 0 will close it. Returns true if there's a prop at the location and its parameter was changed.