-
Notifications
You must be signed in to change notification settings - Fork 15
FeaturesFileFormat
JohnBraham edited this page Jul 29, 2026
·
2 revisions
Legacy OreSpawn 3 documentation for Minecraft 1.10/1.12. Open the OS3 documentation index or go to the current OreSpawn 4 documentation.
Any "Features File" (that is, any file in the "sysconf" directory that fits the pattern "features-.json") is simply an array of objects, each object having a "name" and a "class" field. The "name" field is the string that the feature will be referred to by in any spawn entry that uses said feature while the "class" must be the fully qualified class name of the class that provides the feature.
What follows is an example and the contents of the "features-default.json" that defines the built-in features of MMD OreSpawn 3.
[
{
"name": "default",
"class": "com.mcmoddev.orespawn.impl.features.DefaultFeatureGenerator"
},
{
"name": "vein",
"class": "com.mcmoddev.orespawn.impl.features.VeinGenerator"
},
{
"name": "normal-cloud",
"class": "com.mcmoddev.orespawn.impl.features.NormalCloudGenerator"
},
{
"name": "precision",
"class": "com.mcmoddev.orespawn.impl.features.PrecisionGenerator"
},
{
"name": "clusters",
"class": "com.mcmoddev.orespawn.impl.features.ClusterGenerator"
}
]That's it - simple as.
MMD OreSpawn
OreSpawn 4
- Start here
- Player and server guide
- Geomes and formations
- Ore patterns and runtime features
- Biomes and world materials
- Terrain dimensions
- Geology templates
- Configuration reference
- Worldgen providers
- Developer guide
- Java API
- Migration
- Troubleshooting
OreSpawn 3 Legacy
- OS3 documentation index
- OS3 JSON documentation
- OS3 simple integration
- Block definitions
- Working example
- Feature file format
- Preset file format
- Inter Mod Communication
Project links