pryingtuna85649

WorldTypeOzWorld

May 12th, 2014
248
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.71 KB | None | 0 0
  1. package com.wizardofoz.basic.world;
  2.  
  3. import com.wizardofoz.basic.world.gen.layer.OzGenLayerBiome;
  4.  
  5. import net.minecraft.world.WorldType;
  6. import net.minecraft.world.gen.layer.GenLayer;
  7. import net.minecraft.world.gen.layer.GenLayerBiomeEdge;
  8. import net.minecraft.world.gen.layer.GenLayerZoom;
  9.  
  10. public class WorldTypeOzWorld extends WorldType {
  11.  
  12. public WorldTypeOzWorld(int par1, String name) {
  13. super(name);
  14. }
  15.  
  16. @Override
  17. public GenLayer getBiomeLayer(long worldSeed, GenLayer parentLayer) {
  18. GenLayer OzGenLayer = new OzGenLayerBiome(200L, parentLayer, this);
  19. OzGenLayer = GenLayerZoom.magnify(1000L, OzGenLayer, 2);
  20. OzGenLayer = new GenLayerBiomeEdge(1000L, OzGenLayer);
  21. return OzGenLayer;
  22. }
  23.  
  24. }
Advertisement
Add Comment
Please, Sign In to add comment