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

LT_prop_create

boolean LT_prop_create(blockpos location,number id)

blockposlocation The place to create a new prop
numberid ID of the kind of prop to create

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

Creates a prop in the world. If the space is clear and the new prop will not intersect any existing props, the prop will be created and placed where specified. This function will return true if the prop could be created and placed. You can find a list of prop IDs here.