mirror of
https://github.com/HbmMods/Hbm-s-Nuclear-Tech-GIT.git
synced 2026-01-25 10:32:49 +00:00
23 lines
482 B
Java
23 lines
482 B
Java
package com.hbm.lib;
|
|
|
|
import cpw.mods.fml.common.IWorldGenerator;
|
|
import cpw.mods.fml.common.registry.GameRegistry;
|
|
|
|
public class HbmWorld {
|
|
public static void mainRegistry()
|
|
{
|
|
initWorldGen();
|
|
}
|
|
|
|
public static void initWorldGen()
|
|
{
|
|
registerWorldGen(new HbmWorldGen(), 1);
|
|
}
|
|
|
|
public static void registerWorldGen(HbmWorldGen nukerWorldGen, int weightedProbability)
|
|
{
|
|
GameRegistry.registerWorldGenerator(nukerWorldGen, weightedProbability);
|
|
}
|
|
|
|
}
|