some fixes

This commit is contained in:
Progwml6 committed 2014-02-05 08:59:16 -05:00
1 parent b8cf7cdc5e
commit 5585d680a3
14 files changed
+110 -7

No files matched your search

@@ -105,4 +105,10 @@ public class CraftingStationBlock extends InventoryBlock
public TileEntity createNewTileEntity(World arg0, int arg1) {
return new CraftingStationLogic();
}
@Override
public TileEntity func_149915_a (World arg0, int arg1)
{
return new CraftingStationLogic();
}
}
@@ -431,4 +431,18 @@ public class CastingBasinLogic extends InventoryLogic implements IFluidTank, IFl
{
return false;
}
@Override
public void closeInventory ()
{
// TODO Auto-generated method stub
}
@Override
public void openInventory ()
{
// TODO Auto-generated method stub
}
}
@@ -429,4 +429,18 @@ public class CastingTableLogic extends InventoryLogic implements IFluidTank, IFl
{
return false;
}
@Override
public void closeInventory ()
{
// TODO Auto-generated method stub
}
@Override
public void openInventory ()
{
// TODO Auto-generated method stub
}
}
@@ -115,4 +115,18 @@ public class CraftingStationLogic extends InventoryLogic implements ISidedInvent
{
return true;
}
@Override
public void closeInventory ()
{
// TODO Auto-generated method stub
}
@Override
public void openInventory ()
{
// TODO Auto-generated method stub
}
}
@@ -134,4 +134,18 @@ public class DryingRackLogic extends InventoryLogic
{
return false;
}
@Override
public void closeInventory ()
{
// TODO Auto-generated method stub
}
@Override
public void openInventory ()
{
// TODO Auto-generated method stub
}
}
@@ -253,7 +253,7 @@ public class FrypanLogic extends EquipLogic implements IActiveLogic
return 200;
if (item instanceof ItemSword && ((ItemSword) item).getToolMaterialName().equals("WOOD"))
return 200;
if (item instanceof ItemHoe && ((ItemHoe) item).getMaterialName().equals("WOOD"))
if (item instanceof ItemHoe && ((ItemHoe) item).getToolMaterialName().equals("WOOD"))
return 200;
if (item == Items.stick)
return 100;
@@ -230,7 +230,7 @@ public class FurnaceLogic extends InventoryLogic implements IActiveLogic, IFacin
return 200;
if (item instanceof ItemSword && ((ItemSword) item).getToolMaterialName().equals("WOOD"))
return 200;
if (item instanceof ItemHoe && ((ItemHoe) item).getMaterialName().equals("WOOD"))
if (item instanceof ItemHoe && ((ItemHoe) item).getToolMaterialName().equals("WOOD"))
return 200;
if (item == Items.stick)
return 100;
@@ -1168,4 +1168,14 @@ public class SmelteryLogic extends InventoryLogic implements IActiveLogic, IFaci
{
return true;
}
@Override
public void closeInventory ()
{
}
@Override
public void openInventory ()
{
}
}
@@ -133,4 +133,14 @@ public class StencilTableLogic extends InventoryLogic implements ISidedInventory
{
return true;
}
@Override
public void closeInventory ()
{
}
@Override
public void openInventory ()
{
}
}
@@ -198,5 +198,15 @@ public class TankAirLogic extends InventoryLogic implements IServantLogic, ISide
return false;
}
@Override
public void closeInventory ()
{
}
@Override
public void openInventory ()
{
}
}
@@ -211,12 +211,12 @@ public class TileEntityLandmine extends TileEntity implements IInventory
}
@Override
public void openChest ()
public void openInventory ()
{
}
@Override
public void closeChest ()
public void closeInventory ()
{
}
@@ -263,4 +263,5 @@ public class TileEntityLandmine extends TileEntity implements IInventory
}
}
}
@@ -121,4 +121,14 @@ public class ToolStationLogic extends InventoryLogic implements ISidedInventory
{
return true;
}
@Override
public void closeInventory ()
{
}
@Override
public void openInventory ()
{
}
}
@@ -29,9 +29,9 @@ public class FurnaceGui extends GuiContainer
*/
protected void drawGuiContainerForegroundLayer (int par1, int par2)
{
String s = this.logic.isInvNameLocalized() ? this.logic.getInvName() : I18n.getStringParams(this.logic.getInvName());
String s = this.logic.isInvNameLocalized() ? this.logic.getInvName() : I18n.format(this.logic.getInvName());
this.fontRendererObj.drawString(s, this.xSize / 2 - this.fontRendererObj.getStringWidth(s) / 2, 6, 4210752);
this.fontRendererObj.drawString(I18n.getStringParams("container.inventory"), 8, this.ySize - 96 + 2, 4210752);
this.fontRendererObj.drawString(I18n.format("container.inventory"), 8, this.ySize - 96 + 2, 4210752);
}
/**
@@ -322,7 +322,7 @@ public class CartEntity extends Entity implements IInventory, IEntityAdditionalS
if (!this.worldObj.isRemote && this.worldObj instanceof WorldServer)
{
this.worldObj.theProfiler.startSection("portal");
MinecraftServer var1 = ((WorldServer) this.worldObj).getMinecraftServer();
MinecraftServer var1 = ((WorldServer) this.worldObj).func_73046_m();
var2 = this.getMaxInPortalTime();
if (this.inPortal)