-
Notifications
You must be signed in to change notification settings - Fork 15
IMC
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.
Create a class like:
public class BaseMetalsOreSpawn implements Function<OreSpawnAPI, SpawnLogic> {
@Override
public SpawnLogic apply(OreSpawnAPI api) {
SpawnLogic logic = api.createSpawnLogic();
logic.getDimension(OreSpawnAPI.DIMENSION_WILDCARD)
.addOre(Blocks.COAL_ORE.getDefaultState(), 25, 12, 20, 0, 128)
return logic;
}
}
then put something like:
`FMLInterModComms.sendFunctionMessage("orespawn", "api", "mmd.orespawn.BaseMetalsOreSpawn"); `
in your FMLPreInitializationEvent
The class name and location is the third argument to the IMC call.
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