We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
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
FMLPreInitializationEvent
The class name and location is the third argument to the IMC call.