update for 1.5.2
This commit is contained in:
parent
5ed8f3dc46
commit
4105242a3e
2 changed files with 4 additions and 4 deletions
|
@ -15,7 +15,7 @@ public abstract class TileEntityProcessMachine extends TileEntityBasicMachine
|
|||
int[] BOTTOM_SLOTS = { 2 };
|
||||
|
||||
@Override
|
||||
public int[] getSizeInventorySide(int side)
|
||||
public int[] getAccessibleSlotsFromSide(int side)
|
||||
{
|
||||
ForgeDirection direction = ForgeDirection.getOrientation(side);
|
||||
switch (direction)
|
||||
|
@ -37,13 +37,13 @@ public abstract class TileEntityProcessMachine extends TileEntityBasicMachine
|
|||
}
|
||||
|
||||
@Override
|
||||
public boolean func_102007_a(int par1, ItemStack par2ItemStack, int par3)
|
||||
public boolean canInsertItem(int par1, ItemStack par2ItemStack, int par3)
|
||||
{
|
||||
return this.isStackValidForSlot(par1, par2ItemStack);
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean func_102008_b(int i, ItemStack itemstack, int j)
|
||||
public boolean canExtractItem(int i, ItemStack itemstack, int j)
|
||||
{
|
||||
return this.isStackValidForSlot(i, itemstack);
|
||||
}
|
||||
|
|
|
@ -99,7 +99,7 @@ public abstract class TileEntityTerminal extends TileEntityUniversalRunnable imp
|
|||
PacketManager.sendPacketToClients(packet, worldObj, new Vector3(this), 10);
|
||||
}
|
||||
|
||||
/** Send a terminal command to the server */
|
||||
/** Send a terminal command Client -> server */
|
||||
public void sendCommandToServer(EntityPlayer entityPlayer, String cmdInput)
|
||||
{
|
||||
if (this.worldObj.isRemote)
|
||||
|
|
Loading…
Reference in a new issue