diff --git a/build.gradle b/build.gradle index d7f5c7d..d420e65 100644 --- a/build.gradle +++ b/build.gradle @@ -4,7 +4,7 @@ buildscript { maven { url = "http://files.minecraftforge.net/maven" } } dependencies { - classpath 'net.minecraftforge.gradle:ForgeGradle:2.2-SNAPSHOT' + classpath 'net.minecraftforge.gradle:ForgeGradle:2.3-SNAPSHOT' } } apply plugin: 'net.minecraftforge.gradle.forge' diff --git a/gradle.properties b/gradle.properties index ae54316..9c3c0a1 100644 --- a/gradle.properties +++ b/gradle.properties @@ -3,11 +3,11 @@ mod_name=LonelyBiome mod_version=2.0.0 mod_depstring= -mc_version=1.11.2 -mcf_version=13.20.1.2476 -mcf_minver=13.20.1.2386 +mc_version=1.12.2 +mcf_version=14.23.0.2494 +mcf_minver=14.23.0.2491 mcf_maxver= -mcp_mappings=stable_32 +mcp_mappings=snapshot_20170930 run_dir=run package_base=org.teamrtg diff --git a/src/main/java/teamrtg/lonelybiome/LonelyBiome.java b/src/main/java/teamrtg/lonelybiome/LonelyBiome.java index 781ae1a..c67ff8f 100644 --- a/src/main/java/teamrtg/lonelybiome/LonelyBiome.java +++ b/src/main/java/teamrtg/lonelybiome/LonelyBiome.java @@ -72,7 +72,7 @@ void init(FMLInitializationEvent event) { } if (LBconfig.isEnabled()) { GenLayer layer = new GenLayerSingle(LBconfig.biome); event.setNewBiomeGens(new GenLayer[]{layer,layer}); - LOGGER.info("Setting up new single-biome GenLayer using Biome: {}, with Id: {}, Registry name: {}", LBconfig.biome.getBiomeName(), LBconfig.biomeId, LBconfig.resLoc); + LOGGER.info("Setting up new single-biome GenLayer using Biome: {}, with Id: {}", LBconfig.resLoc, LBconfig.biomeId); } } } @@ -92,7 +92,7 @@ private static final class GenLayerSingle extends GenLayer { GenLayerSingle(@Nonnull Biome biome) { super(0L); this.biomeId = Biome.getIdForBiome(biome); - LOGGER.debug("Created new GenLayerSingle for Biome: {}, with Id: {}, Registry name: {} ", biome.getBiomeName(), biomeId, biome.getRegistryName()); + LOGGER.debug("Created new GenLayerSingle for Biome: {}, with Id: {}", LBconfig.resLoc, biomeId); } @Override @Nonnull public int[] getInts(int areaX, int areaY, int areaWidth, int areaHeight) { @@ -136,7 +136,7 @@ private static void sync() { biomeId = Biome.getIdForBiome(biome); resLoc = biome.getRegistryName(); - LOGGER.info("LonelyBiome configured with Biome: {}, Id: {}, Registry name: {}", biome.getBiomeName(), biomeId, resLoc); + LOGGER.info("LonelyBiome configured with Biome: {}, Id: {}", resLoc, biomeId); if (config.hasChanged()) { config.save(); } } @@ -163,9 +163,6 @@ public static final class LBGuiConfigFactory implements IModGuiFactory { @Override public void initialize(Minecraft mc) {} @Override public boolean hasConfigGui() { return true; } @Override public GuiScreen createConfigGui(GuiScreen parentScreen) { return new LBGuiConfig(parentScreen); } - @Override public Class mainConfigGuiClass() { return LBGuiConfig.class; } @Override public Set runtimeGuiCategories() { return null; } - @SuppressWarnings("deprecation") - @Override public RuntimeOptionGuiHandler getHandlerFor(RuntimeOptionCategoryElement element) { return null; } } }