Upgraded to 1.7.2. List of currently-known issues are in CURRENT_ISSUES.txt file.

This commit is contained in:
Ken 'Minalien' Murray committed 2014-04-08 12:39:01 -07:00
1 parent 02655f092e
commit 02659b2816
227 files changed
+1350 -1222

No files matched your search

@@ -0,0 +1,37 @@
package magicbees.client.gui;
import magicbees.tileentity.TileEntityEffectJar;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.world.World;
import cpw.mods.fml.common.network.IGuiHandler;
public class GUIHandler implements IGuiHandler
{
@Override
public Object getServerGuiElement(int ID, EntityPlayer player, World world, int x, int y, int z)
{
Object value = null;
if (ID == UIScreens.EFFECT_JAR.ordinal())
{
value = new ContainerEffectJar((TileEntityEffectJar)world.getTileEntity(x, y, z), player);
}
return value;
}
@Override
public Object getClientGuiElement(int ID, EntityPlayer player, World world, int x, int y, int z)
{
Object value = null;
if (ID == UIScreens.EFFECT_JAR.ordinal())
{
value = new GUIEffectJar((TileEntityEffectJar)world.getTileEntity(x, y, z), player);
}
return value;
}
}