Merged with master

This commit is contained in:
Anuken
2020-02-09 12:27:44 -05:00
84 changed files with 488 additions and 413 deletions
+1 -1
View File
@@ -222,4 +222,4 @@ public class Floor extends Block{
return block.edges()[x][2 - y];
}
}
}
@@ -378,4 +378,4 @@ public class Conveyor extends Block implements Autotiler{
}
}
}
}
}
@@ -23,7 +23,6 @@ public class Junction extends Block{
super(name);
update = true;
solid = true;
instantTransfer = true;
group = BlockGroup.transportation;
unloadable = false;
entityType = JunctionEntity::new;
@@ -39,7 +39,6 @@ public class LiquidExtendingBridge extends ExtendingItemBridge{
}
if(entity.uptime >= 0.5f){
if(tryMoveLiquid(tile, other, false, entity.liquids().current()) > 0.1f){
entity.cycleSpeed = Mathf.lerpDelta(entity.cycleSpeed, 4f, 0.05f);
}else{
@@ -137,7 +137,7 @@ public class GenericCrafter extends Block{
if(outputItem != null && tile.entity.items().get(outputItem.item) >= itemCapacity){
return false;
}
return outputLiquid == null || !(tile.entity.liquids().get(outputLiquid.liquid) >= liquidCapacity);
return outputLiquid == null || !(tile.entity.liquids().get(outputLiquid.liquid) >= liquidCapacity - 0.001f);
}
@Override
@@ -18,4 +18,4 @@ public class FloorValue implements StatValue{
table.add(new Image(floor.icon(Cicon.small))).padRight(3);
table.add(floor.localizedName).padRight(3);
}
}
}