Started working on the new config GUI. Looks pretty nice!

This commit is contained in:
0xSeb
2015-11-03 18:31:37 +01:00
parent 3a73cef7b3
commit 441f632294
5 changed files with 91 additions and 13 deletions
@@ -0,0 +1,22 @@
package de.skate702.craftingkeys.config;
import cpw.mods.fml.common.network.IGuiHandler;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.world.World;
public class GuiConfigHandler implements IGuiHandler {
@Override
public Object getServerGuiElement(int ID, EntityPlayer player, World world, int x, int y, int z) {
return null;
}
@Override
public Object getClientGuiElement(int ID, EntityPlayer player, World world, int x, int y, int z) {
if (ID == GuiConfig.GuiID) {
return new GuiConfig();
}
return null;
}
}