// Beacon needs to be done manually for some reason to work properly
TileEntityBeacon par1TileEntityBeacon = (TileEntityBeacon) objects[0];
realObj.getNextWindowId();
realObj.playerNetServerHandler.sendPacket(new S2DPacketOpenWindow(realObj.currentWindowId, 7, par1TileEntityBeacon.getInventoryName(),
par1TileEntityBeacon.getSizeInventory(), true));
realObj.openContainer = new ContainerBeacon(realObj.inventory, par1TileEntityBeacon) {
@Override
public boolean canInteractWith(EntityPlayer par1EntityPlayer) {
return true;
}
};
realObj.openContainer.windowId = realObj.currentWindowId;
realObj.openContainer.addCraftingToCrafters(realObj);
return null;
} else if(anvilNames.contains(method.getName())) {
realObj.getNextWindowId();
realObj.playerNetServerHandler.sendPacket(new S2DPacketOpenWindow(realObj.currentWindowId, 8, "Repairing", 9, true));
realObj.openContainer = new ContainerRepair(realObj.inventory, realObj.worldObj, ((Integer) objects[0]).intValue(), ((Integer) objects[1]).intValue(),
((Integer) objects[2]).intValue(), realObj) {
@Override