3334353637383940
*/ private float ySizeFloat; public GuiPlayerExpanded(EntityPlayer player) { super(new ContainerPlayerExpanded(player.inventory, !player.worldObj.isRemote, player)); this.allowUserInput = true; }
222324252627282930
} @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; }