Fixed armbot not starting on area load
Also increased the speed of rotation from 1.3f to 2.0f. Later i'll be making tiered version of the arm starting with a wooden prototype version.
This commit is contained in:
parent
7d9c674271
commit
8149be82bf
2 changed files with 13 additions and 1 deletions
|
@ -73,7 +73,7 @@ public class TileEntityArmbot extends TileEntityAssemblyNetwork implements IMult
|
|||
public float renderPitch = 0;
|
||||
public float renderYaw = 0;
|
||||
private int ticksSincePower = 0;
|
||||
public final float ROTATION_SPEED = 1.3f;
|
||||
public final float ROTATION_SPEED = 2.0f;
|
||||
|
||||
private String displayText = "";
|
||||
|
||||
|
@ -90,6 +90,16 @@ public class TileEntityArmbot extends TileEntityAssemblyNetwork implements IMult
|
|||
*/
|
||||
public EntityItem renderEntityItem = null;
|
||||
|
||||
@Override
|
||||
public void initiate()
|
||||
{
|
||||
super.initiate();
|
||||
if(!this.commandManager.hasTasks())
|
||||
{
|
||||
this.onInventoryChanged();
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onUpdate()
|
||||
{
|
||||
|
|
|
@ -32,6 +32,8 @@ import com.google.common.io.ByteArrayDataInput;
|
|||
|
||||
import dark.library.helpers.Pair;
|
||||
import dark.library.inv.ISlotPickResult;
|
||||
import dark.library.machine.crafting.AutoCraftingManager;
|
||||
import dark.library.machine.crafting.IAutoCrafter;
|
||||
|
||||
public class TileEntityImprinter extends TileEntityAdvanced implements ISidedInventory, IArmbotUseable, IPacketReceiver, ISlotPickResult, IAutoCrafter
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue