Small fixes, gunpowder recipe
This commit is contained in:
parent
3524a4036f
commit
58a389eaf2
7 changed files with 21 additions and 34 deletions
|
@ -24,6 +24,7 @@ import net.minecraft.world.biome.Biome;
|
|||
import net.minecraft.world.biome.Biome.Category;
|
||||
import net.minecraft.world.biome.BiomeKeys;
|
||||
import ru.betterend.BetterEnd;
|
||||
import ru.betterend.config.Configs;
|
||||
import ru.betterend.util.JsonFactory;
|
||||
import ru.betterend.world.biome.BiomeAmberLand;
|
||||
import ru.betterend.world.biome.BiomeBlossomingSpires;
|
||||
|
@ -267,6 +268,7 @@ public class EndBiomes {
|
|||
private static void registerBiomeDirect(EndBiome biome) {
|
||||
fillSet();
|
||||
int possibleID = incID++;
|
||||
Configs.BIOME_CONFIG.getBoolean(biome, "enabled");
|
||||
if (occupiedIDs.contains(possibleID)) {
|
||||
String message = "ID for biome " + biome.getID() + " is already occupied, changing biome ID from " + possibleID + " to ";
|
||||
while (occupiedIDs.contains(possibleID)) {
|
||||
|
|
|
@ -87,10 +87,10 @@ import ru.betterend.blocks.complex.ColoredMaterial;
|
|||
import ru.betterend.blocks.complex.StoneMaterial;
|
||||
import ru.betterend.blocks.complex.WoodenMaterial;
|
||||
import ru.betterend.config.ItemConfig;
|
||||
import ru.betterend.config.MainConfig;
|
||||
import ru.betterend.config.Configs;
|
||||
|
||||
public class EndBlocks {
|
||||
private static final ItemConfig CONFIG = MainConfig.ITEM_CONFIG;
|
||||
private static final ItemConfig CONFIG = Configs.ITEM_CONFIG;
|
||||
|
||||
// Terrain //
|
||||
public static final Block ENDSTONE_DUST = registerBlock("endstone_dust", new BlockEndstoneDust());
|
||||
|
|
|
@ -35,7 +35,7 @@ import net.minecraft.util.registry.Registry;
|
|||
|
||||
import ru.betterend.BetterEnd;
|
||||
import ru.betterend.config.ItemConfig;
|
||||
import ru.betterend.config.MainConfig;
|
||||
import ru.betterend.config.Configs;
|
||||
import ru.betterend.item.EndArmorMaterial;
|
||||
import ru.betterend.item.EndAxe;
|
||||
import ru.betterend.item.EndHammer;
|
||||
|
@ -50,7 +50,7 @@ import ru.betterend.util.TagHelper;
|
|||
|
||||
public class EndItems {
|
||||
|
||||
private static final ItemConfig CONFIG = MainConfig.ITEM_CONFIG;
|
||||
private static final ItemConfig CONFIG = Configs.ITEM_CONFIG;
|
||||
private static final List<Item> MOD_BLOCKS = Lists.newArrayList();
|
||||
private static final List<Item> MOD_ITEMS = Lists.newArrayList();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue