Guest User

WorldRegister

a guest
Jun 6th, 2016
26
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. package com.mod.serveur.world;
  2.  
  3. import cpw.mods.fml.common.IWorldGenerator;
  4. import cpw.mods.fml.common.registry.GameRegistry;
  5.  
  6. public class WorldRegister
  7. {
  8. public static void MainRegistry()
  9. {
  10. registerWorldGen(new WorldGenMod(), 0);
  11.  
  12. }
  13.  
  14. public static void registerWorldGen(IWorldGenerator iGenerator, int modGenerationWeight)
  15. {
  16. GameRegistry.registerWorldGenerator(iGenerator, modGenerationWeight);
  17. }
  18. }
RAW Paste Data