Advertisement
Guest User

Untitled

a guest
Jul 30th, 2017
102
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.69 KB | None | 0 0
  1. package com.mod.drakania.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 WorldGenDraka(), -1);
  11. registerWorldGen(new WorldGenDraka(), 0);
  12. registerWorldGen(new WorldGenDraka(), 1);
  13. }
  14.  
  15. private static void registerWorldGen(WorldGenDraka iGenerator, int probability)
  16. {
  17. // TODO Auto-generated method stub
  18.  
  19. }
  20.  
  21. public static void registerWorldGen(IWorldGenerator iGenerator, int probability)
  22. {
  23. GameRegistry.registerWorldGenerator(iGenerator, probability);
  24. }
  25. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement