Deprecated onUpdate() in the Assembly prefab
This is left over from a long ago time when UE had an onUpdate function. Its finally time for it to be removed in favor of something better.
This commit is contained in:
parent
8be2ac3665
commit
5e3a440ff0
2 changed files with 8 additions and 26 deletions
|
@ -44,7 +44,7 @@ import dark.core.DarkMain;
|
|||
import dark.core.blocks.IMultiBlock;
|
||||
import dark.core.helpers.ItemFindingHelper;
|
||||
|
||||
public class TileEntityArmbot extends TileEntityAssembly implements IMultiBlock, IInventory, IPacketReceiver, IArmbot, IPeripheral
|
||||
public class TileEntityArmbot extends TileEntityAssembly implements IMultiBlock, IPacketReceiver, IArmbot, IPeripheral
|
||||
{
|
||||
private final CommandManager commandManager = new CommandManager();
|
||||
/** The items this container contains. */
|
||||
|
@ -588,7 +588,7 @@ public class TileEntityArmbot extends TileEntityAssembly implements IMultiBlock,
|
|||
{
|
||||
if (DarkMain.blockMulti != null)
|
||||
{
|
||||
DarkMain.blockMulti.makeFakeBlock(this.worldObj, Vector3.add(placedPosition, new Vector3(0, 1, 0)), placedPosition);
|
||||
DarkMain.blockMulti.makeFakeBlock(this.worldObj, Vector3.translate(placedPosition, new Vector3(0, 1, 0)), placedPosition);
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -919,28 +919,6 @@ public class TileEntityArmbot extends TileEntityAssembly implements IMultiBlock,
|
|||
@Override
|
||||
public boolean isItemValidForSlot(int i, ItemStack itemstack)
|
||||
{
|
||||
// TODO Auto-generated method stub
|
||||
return false;
|
||||
}
|
||||
|
||||
@Override
|
||||
public float getCurrentCapacity()
|
||||
{
|
||||
// TODO Auto-generated method stub
|
||||
return 0;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void setNetwork(IElectricityNetwork network)
|
||||
{
|
||||
// TODO Auto-generated method stub
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public void refresh()
|
||||
{
|
||||
// TODO Auto-generated method stub
|
||||
|
||||
return itemstack != null && itemstack.itemID == AssemblyLine.recipeLoader.itemDisk.itemID;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -87,7 +87,11 @@ public abstract class TileEntityAssembly extends TileEntityMachine implements IN
|
|||
}
|
||||
|
||||
/** Same as updateEntity */
|
||||
public abstract void onUpdate();
|
||||
@Deprecated
|
||||
public void onUpdate()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
/** Checks to see if this assembly tile can run using several methods */
|
||||
public boolean isRunning()
|
||||
|
|
Loading…
Reference in a new issue