Advertisement
Guest User

Untitled

a guest
May 30th, 2016
128
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.39 KB | None | 0 0
  1. public static void registerBiome(Biome biome, BiomeType type, int weight, boolean addVillages){
  2. BiomeManager.addBiome(type, new BiomeEntry(biome, weight));
  3. BiomeManager.addSpawnBiome(biome);
  4. if(addVillages){
  5. OtherHelper.addVillageBiome(biome);
  6. }
  7. }
  8. public static void addVillageBiome(Biome... biome){
  9. Arrays.stream(biome).forEach(bio -> BiomeManager.addVillageBiome(bio, true));
  10. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement