- add temp fix for BiomeDictionary missing entries for bamboo_jungle

This commit is contained in:
dags- 2020-03-26 17:41:18 +00:00
parent ed92a3ed6b
commit 97a1089f57

View File

@ -31,7 +31,9 @@ import com.terraforged.mod.data.DataGen;
import com.terraforged.mod.feature.feature.DiskFeature; import com.terraforged.mod.feature.feature.DiskFeature;
import com.terraforged.mod.feature.tree.SaplingManager; import com.terraforged.mod.feature.tree.SaplingManager;
import com.terraforged.mod.util.Environment; import com.terraforged.mod.util.Environment;
import net.minecraft.world.biome.Biomes;
import net.minecraft.world.gen.feature.Feature; import net.minecraft.world.gen.feature.Feature;
import net.minecraftforge.common.BiomeDictionary;
import net.minecraftforge.event.RegistryEvent; import net.minecraftforge.event.RegistryEvent;
import net.minecraftforge.eventbus.api.SubscribeEvent; import net.minecraftforge.eventbus.api.SubscribeEvent;
import net.minecraftforge.fml.common.Mod; import net.minecraftforge.fml.common.Mod;
@ -51,6 +53,10 @@ public class TerraForgedMod {
WGTags.init(); WGTags.init();
TerraWorld.init(); TerraWorld.init();
SaplingManager.init(); SaplingManager.init();
// temp fix
BiomeDictionary.addTypes(Biomes.BAMBOO_JUNGLE, BiomeDictionary.Type.OVERWORLD);
BiomeDictionary.addTypes(Biomes.BAMBOO_JUNGLE_HILLS, BiomeDictionary.Type.OVERWORLD);
} }
@SubscribeEvent @SubscribeEvent