mirror of
https://github.com/GTNewHorizons/Baubles-Expanded.git
synced 2026-11-23 21:39:46 +00:00
Initial commit
This commit is contained in:
commit
e37de23340
41 files changed
+2123
No files matched your search
@@ -0,0 +1,39 @@
|
||||
|
||||
package baubles.common;
|
||||
|
||||
import net.minecraft.entity.player.EntityPlayer;
|
||||
import net.minecraft.world.World;
|
||||
import baubles.common.container.ContainerPlayerExpanded;
|
||||
import baubles.common.event.KeyHandler;
|
||||
import cpw.mods.fml.common.network.IGuiHandler;
|
||||
|
||||
|
||||
|
||||
public class CommonProxy implements IGuiHandler {
|
||||
|
||||
public KeyHandler keyHandler;
|
||||
|
||||
public void registerHandlers() {}
|
||||
|
||||
|
||||
@Override
|
||||
public Object getClientGuiElement(int ID, EntityPlayer player, World world, int x, int y, int z) {
|
||||
return null;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Object getServerGuiElement(int ID, EntityPlayer player, World world, int x, int y, int z) {
|
||||
switch (ID) {
|
||||
case Baubles.GUI: return new ContainerPlayerExpanded(player.inventory, !world.isRemote, player);
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
||||
public World getClientWorld() {
|
||||
return null;
|
||||
}
|
||||
|
||||
|
||||
public void registerKeyBindings() {}
|
||||
|
||||
}
|
||||
Reference in new issue
Block a user