FIx inconsistencies in the diff
This commit is contained in:
@@ -24,14 +24,16 @@ abstract public class BaseConveyor extends Block implements Autotiler{
|
||||
|
||||
rotate = true;
|
||||
update = true;
|
||||
layer = Layer.overlay;
|
||||
group = BlockGroup.transportation;
|
||||
hasItems = true;
|
||||
itemCapacity = 4;
|
||||
unloadable = false;
|
||||
layer = Layer.overlay;
|
||||
idleSoundVolume = 0.004f;
|
||||
conveyorPlacement = true;
|
||||
entityType = BaseConveyorEntity::new;
|
||||
|
||||
idleSound = Sounds.conveyor;
|
||||
group = BlockGroup.transportation;
|
||||
idleSoundVolume = 0.004f;
|
||||
unloadable = false;
|
||||
}
|
||||
|
||||
@Override
|
||||
@@ -86,7 +88,7 @@ abstract public class BaseConveyor extends Block implements Autotiler{
|
||||
return true;
|
||||
}
|
||||
|
||||
static abstract class BaseConveyorEntity extends TileEntity{
|
||||
static class BaseConveyorEntity extends TileEntity{
|
||||
int blendbits;
|
||||
int blendsclx, blendscly;
|
||||
|
||||
|
||||
@@ -22,6 +22,7 @@ public class CraterConveyor extends BaseConveyor{
|
||||
|
||||
public CraterConveyor(String name){
|
||||
super(name);
|
||||
|
||||
entityType = CraterConveyorEntity::new;
|
||||
}
|
||||
|
||||
@@ -43,8 +44,8 @@ public class CraterConveyor extends BaseConveyor{
|
||||
public void setStats(){
|
||||
super.setStats();
|
||||
|
||||
stats.add(BlockStat.boostEffect, "$blocks.itemcapacity");
|
||||
stats.add(BlockStat.itemsMoved, speed * 60, StatUnit.perSecond);
|
||||
stats.add(BlockStat.boostEffect, "$blocks.itemcapacity");
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
@@ -32,12 +32,14 @@ public class ItemConveyor extends BaseConveyor implements Autotiler{
|
||||
|
||||
protected ItemConveyor(String name){
|
||||
super(name);
|
||||
|
||||
entityType = ItemConveyorEntity::new;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void setStats(){
|
||||
super.setStats();
|
||||
|
||||
//have to add a custom calculated speed, since the actual movement speed is apparently not linear
|
||||
stats.add(BlockStat.itemsMoved, displayedSpeed, StatUnit.itemsSecond);
|
||||
stats.add(BlockStat.boostEffect, "$blocks.itemsmoved");
|
||||
@@ -266,11 +268,6 @@ public class ItemConveyor extends BaseConveyor implements Autotiler{
|
||||
int lastInserted, mid;
|
||||
float minitem = 1;
|
||||
|
||||
int blendbits;
|
||||
int blendsclx, blendscly;
|
||||
|
||||
float clogHeat = 0f;
|
||||
|
||||
final void add(int o){
|
||||
for(int i = Math.max(o + 1, len); i > o; i--){
|
||||
ids[i] = ids[i - 1];
|
||||
|
||||
Reference in New Issue
Block a user