File tree Expand file tree Collapse file tree 1 file changed +12
-0
lines changed
src/main/java/org/dave/compactmachines3/world Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Original file line number Diff line number Diff line change 11package org .dave .compactmachines3 .world ;
22
3+ import net .minecraft .init .Biomes ;
4+ import net .minecraft .util .math .BlockPos ;
35import net .minecraft .world .DimensionType ;
46import net .minecraft .world .WorldProvider ;
7+ import net .minecraft .world .biome .Biome ;
58import net .minecraft .world .border .WorldBorder ;
69import net .minecraft .world .gen .IChunkGenerator ;
710import org .dave .compactmachines3 .misc .ConfigurationHandler ;
@@ -45,4 +48,13 @@ public WorldBorder createWorldBorder() {
4548 public boolean doesWaterVaporize () {
4649 return ConfigurationHandler .CompatSettings .doesWaterVaporize ;
4750 }
51+
52+ @ Override
53+ public Biome getBiomeForCoords (BlockPos pos ) {
54+ if (world == null ) {
55+ return Biomes .PLAINS ;
56+ }
57+
58+ return super .getBiomeForCoords (pos );
59+ }
4860}
You can’t perform that action at this time.
0 commit comments