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


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.