Created GuiEntryListEntry interface for GuiEntryList contained classes to avoid toString() methods from having to be abused

Created GuiFileChooser and according Listeners
Added (non-functional) GuiAssetAdder for CustomImageObjects
This commit is contained in:
CrushedPixel
2015-07-06 13:44:50 +02:00
parent 013d5963ff
commit a5eadd2d01
16 changed files with 278 additions and 25 deletions

View File

@@ -22,6 +22,7 @@ public class KeybindRegistry {
public static final String KEY_PLAY_PAUSE = "replaymod.input.playpause";
public static final String KEY_ADD_MARKER = "replaymod.input.marker";
public static final String KEY_PATH_PREVIEW = "replaymod.input.pathpreview";
public static final String KEY_ADD_ASSETS = "replaymod.input.addassets";
private static Minecraft mc = Minecraft.getMinecraft();
public static void initialize() {
@@ -39,6 +40,7 @@ public class KeybindRegistry {
bindings.add(new KeyBinding(KEY_ROLL_COUNTERCLOCKWISE, Keyboard.KEY_J, "replaymod.title"));
bindings.add(new KeyBinding(KEY_PLAY_PAUSE, Keyboard.KEY_P, "replaymod.title"));
bindings.add(new KeyBinding(KEY_PATH_PREVIEW, Keyboard.KEY_H, "replaymod.title"));
bindings.add(new KeyBinding(KEY_ADD_ASSETS, Keyboard.KEY_G, "replaymod.title"));
mc.gameSettings.keyBindings = bindings.toArray(new KeyBinding[bindings.size()]);