Overview
LilWorlds features a powerful custom generator system that allows you to create unique world generation patterns without writing Java code. Generators are defined using YAML configuration files in thegenerators/
folder.
Built-in Generators
VoidGeneratorPre-configured void world generator with optional spawn platform
Custom Generators
YAML-BasedCreate custom generators using simple configuration files
Generator Types
Supported Generator Types
Type | Description | Use Case |
---|---|---|
VOID | Empty void worlds | Creative building, minigames |
FLAT | Flat terrain with custom layers | Superflat worlds, testing |
NORMAL | Modified normal terrain | Custom overworld generation |
AMPLIFIED | Amplified terrain generation | Extreme terrain |
LARGE_BIOMES | Large biome generation | Exploration worlds |
Built-in VoidGenerator
LilWorlds comes with a pre-configured void generator:Using VoidGenerator
VoidGenerator Configuration
Creating Custom Generators
Basic Generator Structure
Create a new file inplugins/LilWorlds/generators/
with this structure:
Generator Properties
Required Properties
Required Properties
Optional Properties
Optional Properties
Flat World Generators
Basic Flat Generator
Advanced Flat Generator
Layer Syntax
Void Generators
Basic Void Generator
Void with Islands
Normal World Generators
Modified Terrain
Amplified Worlds
Advanced Features
Conditional Generation
Multi-Biome Generators
Generator Management
Loading Generators
Using Generators
Generator Templates
Creating Templates
Using Templates
Best Practices
Performance Optimization
Performance Tips:
- Use void generators for creative/testing worlds
- Limit complex ore generation in large worlds
- Disable unnecessary structures and decorations
- Use efficient biome distributions
- Test generators in small worlds first
Organization
Naming Conventions
Troubleshooting
Common Issues
Generator Not Loading
Generator Not Loading
Symptoms: Generator not available in
/world create
Solutions:- Check YAML syntax with validator
- Verify filename matches generator name
- Use
/worlds generators validate <name>
- Check console for error messages
- Ensure file is in
generators/
folder
World Generation Errors
World Generation Errors
Symptoms: Worlds create but terrain is wrongSolutions:
- Validate generator configuration
- Test with simple settings first
- Check material names are valid
- Verify biome names exist
- Test in creative mode first
Performance Issues
Performance Issues
Symptoms: Slow world generation or server lagSolutions:
- Simplify ore generation settings
- Reduce structure generation
- Use fewer biome types
- Optimize layer configurations
- Test with smaller worlds
Validation
Examples and Use Cases
Minigame Arenas
Skyblock Worlds
Next Steps
World Creation
Learn to create worlds with your custom generators
Performance Guide
Optimize generator performance for your server
API Integration
Integrate generators with other plugins
Commands Reference
Complete command reference for generator usage