-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
8456049
commit c6529e9
Showing
10 changed files
with
44 additions
and
49 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
distributionBase=GRADLE_USER_HOME | ||
distributionPath=wrapper/dists | ||
distributionUrl=https\://services.gradle.org/distributions/gradle-4.9-bin.zip | ||
zipStoreBase=GRADLE_USER_HOME | ||
zipStorePath=wrapper/dists | ||
distributionUrl=https\://services.gradle.org/distributions/gradle-4.9-bin.zip |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 0 additions & 2 deletions
2
src/main/java/net/unladenswallow/minecraft/autofish/events/KeyInputHandler.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
53 changes: 23 additions & 30 deletions
53
src/main/java/net/unladenswallow/minecraft/autofish/gui/GuiFactory.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,30 +1,23 @@ | ||
package net.unladenswallow.minecraft.autofish.gui; | ||
|
||
import java.util.Set; | ||
|
||
import net.minecraft.client.Minecraft; | ||
import net.minecraft.client.gui.screen.Screen; | ||
import net.minecraftforge.fml.client.IModGuiFactory; | ||
|
||
public class GuiFactory implements IModGuiFactory { | ||
|
||
@Override | ||
public void initialize(Minecraft minecraftInstance) { | ||
} | ||
|
||
@Override | ||
public Set<RuntimeOptionCategoryElement> runtimeGuiCategories() { | ||
return null; | ||
} | ||
|
||
@Override | ||
public boolean hasConfigGui() { | ||
return true; | ||
} | ||
|
||
@Override | ||
public Screen createConfigGui(Screen parentScreen) { | ||
return new ConfigGui(); | ||
} | ||
|
||
} | ||
/* | ||
* package net.unladenswallow.minecraft.autofish.gui; | ||
* | ||
* import java.util.Set; | ||
* | ||
* import net.minecraft.client.Minecraft; import | ||
* net.minecraft.client.gui.screen.Screen; import | ||
* net.minecraftforge.fml.client.IModGuiFactory; | ||
* | ||
* public class GuiFactory implements IModGuiFactory { | ||
* | ||
* @Override public void initialize(Minecraft minecraftInstance) { } | ||
* | ||
* @Override public Set<RuntimeOptionCategoryElement> runtimeGuiCategories() { | ||
* return null; } | ||
* | ||
* @Override public boolean hasConfigGui() { return true; } | ||
* | ||
* @Override public Screen createConfigGui(Screen parentScreen) { return new | ||
* ConfigGui(); } | ||
* | ||
* } | ||
*/ |