Repository navigation
API Worldgen Trees and Structures
Piggo41 edited this page Oct 16, 2026
·
5 revisions
Lua API / World generation / Trees and local structures
Choose a reference for the feature you want to create:
- Trees covers vanilla-style, procedural, and structure-backed trees.
- Local structures covers registration, placement processors, metadata transforms, and export.
- Structure documents begins the detailed document-format reference.
- Structure terrain placement covers fitting, foundations, terraces, conforming, excavation, and site profiles.
Trees and local structures both return reusable feature references. Schedule them with
placements, use local structures as
regional pieces, or call preview/place from an authoritative callback.
- Installation
- Install scripts
- Getting started
- VS Code and LuaLS
- Examples
- Reload and compatibility
- Troubleshooting
- Changelog
Scripts and shared values
- Script lifecycle
- Packaged Lua mods
- Modules
- References and stacks
- Queries
- Overrides
- Minecraft constants
- Chat and positions
- Structured data
- Script configuration
- Particles
Blocks and items
- Multiblocks
- Blocks
- Block state and placement
- Block shapes and rendering
- Block callbacks
- Block ticks and redstone
- Items
- Fluids
- Item callbacks
- Tools and armor
- Materials
- Textures
Entities
- Entities
- Entity access and movement
- Entity lifecycle and data
- Entity health and loot
- Entity inventories and relationships
- Projectiles and pickups
- Entity presentation and sounds
- Living entities and AI
- Entity parts and sensors
Assets and audio
- Assets
- Models and animations
- Built-in Minecraft models
- Model appearances
- Blockbench workflow
- Audio
- Texture-pack overrides
Events and world actions
World generation
World systems
Inventories and screens
Recipes