diff --git a/build.gradle b/build.gradle index 268afe5..e1e0d5c 100644 --- a/build.gradle +++ b/build.gradle @@ -4,18 +4,18 @@ buildscript { maven { url = "http://files.minecraftforge.net/maven" } } dependencies { - classpath 'net.minecraftforge.gradle:ForgeGradle:2.3-SNAPSHOT' + classpath 'net.minecraftforge.gradle:ForgeGradle:2.2-SNAPSHOT' } } apply plugin: 'net.minecraftforge.gradle.forge' //Only edit below this line, the above code adds and enables the necessary things for Forge to be setup. -version = "1.12-1.7" +version = "1.11-1.7" group= "net.unladenswallow.minecraft.autofish" // http://maven.apache.org/guides/mini/guide-naming-conventions.html archivesBaseName = "mod_autofish_forge" minecraft { - version = "1.12-14.21.1.2387" + version = "1.11.2-13.20.1.2386" runDir = "eclipse" // the mappings can be changed at any time, and must be in the following format. @@ -23,7 +23,7 @@ minecraft { // stable_# stables are built at the discretion of the MCP team. // Use non-default mappings at your own risk. they may not allways work. // simply re-run your setup task after changing the mappings to update your workspace. - mappings = "snapshot_20170624" + mappings = "snapshot_20161220" } dependencies { diff --git a/src/main/java/net/unladenswallow/minecraft/autofish/ModAutoFish.java b/src/main/java/net/unladenswallow/minecraft/autofish/ModAutoFish.java index 291c72b..e1f0698 100644 --- a/src/main/java/net/unladenswallow/minecraft/autofish/ModAutoFish.java +++ b/src/main/java/net/unladenswallow/minecraft/autofish/ModAutoFish.java @@ -14,7 +14,7 @@ import net.unladenswallow.minecraft.autofish.proxy.CommonProxy; import net.unladenswallow.minecraft.autofish.util.Logger; -@Mod(modid = ModAutoFish.MODID, useMetadata = true, acceptedMinecraftVersions="[1.12,1.13)", acceptableRemoteVersions="[1.12,1.13)", +@Mod(modid = ModAutoFish.MODID, useMetadata = true, acceptedMinecraftVersions="[1.11,1.12)", acceptableRemoteVersions="[1.11,1.12)", guiFactory = "net.unladenswallow.minecraft.autofish.gui.GuiFactory") public class ModAutoFish { public static final String MODID = "mod_autofish"; diff --git a/src/main/java/net/unladenswallow/minecraft/autofish/gui/GuiFactory.java b/src/main/java/net/unladenswallow/minecraft/autofish/gui/GuiFactory.java index 6c9d101..777ffba 100644 --- a/src/main/java/net/unladenswallow/minecraft/autofish/gui/GuiFactory.java +++ b/src/main/java/net/unladenswallow/minecraft/autofish/gui/GuiFactory.java @@ -10,11 +10,8 @@ public class GuiFactory implements IModGuiFactory { @Override public void initialize(Minecraft minecraftInstance) { - } - - @Override - public Set runtimeGuiCategories() { - return null; + // TODO Auto-generated method stub + } @Override @@ -27,4 +24,22 @@ public GuiScreen createConfigGui(GuiScreen parentScreen) { return new ConfigGui(parentScreen); } + @Override + public Class mainConfigGuiClass() { + return ConfigGui.class; + } + + @Override + public Set runtimeGuiCategories() { + // TODO Auto-generated method stub + return null; + } + + @Override + public RuntimeOptionGuiHandler getHandlerFor(RuntimeOptionCategoryElement element) { + // TODO Auto-generated method stub + return null; + } + + }