LT_prop_parameter
boolean LT_prop_parameter(blockpos location,integer parameter)
blockpos | location | The location of prop to alter parameter for |
integer | parameter | 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.