mirror of
https://github.com/Creators-of-Create/Create.git
synced 2024-12-29 08:27:03 +01:00
Make FluidTransportBehaviour fields public
This commit is contained in:
parent
cff90d6211
commit
a2043bebc5
2 changed files with 4 additions and 4 deletions
|
@ -29,14 +29,14 @@ public abstract class FluidTransportBehaviour extends TileEntityBehaviour {
|
||||||
|
|
||||||
public static BehaviourType<FluidTransportBehaviour> TYPE = new BehaviourType<>();
|
public static BehaviourType<FluidTransportBehaviour> TYPE = new BehaviourType<>();
|
||||||
|
|
||||||
enum UpdatePhase {
|
public enum UpdatePhase {
|
||||||
WAIT_FOR_PUMPS, // Do not run Layer II logic while pumps could still be distributing pressure
|
WAIT_FOR_PUMPS, // Do not run Layer II logic while pumps could still be distributing pressure
|
||||||
FLIP_FLOWS, // Do not cut any flows until all pipes had a chance to reverse them
|
FLIP_FLOWS, // Do not cut any flows until all pipes had a chance to reverse them
|
||||||
IDLE; // Operate normally
|
IDLE; // Operate normally
|
||||||
}
|
}
|
||||||
|
|
||||||
Map<Direction, PipeConnection> interfaces;
|
public Map<Direction, PipeConnection> interfaces;
|
||||||
UpdatePhase phase;
|
public UpdatePhase phase;
|
||||||
|
|
||||||
public FluidTransportBehaviour(SmartTileEntity te) {
|
public FluidTransportBehaviour(SmartTileEntity te) {
|
||||||
super(te);
|
super(te);
|
||||||
|
|
|
@ -32,7 +32,7 @@ import net.minecraftforge.fml.DistExecutor;
|
||||||
|
|
||||||
public class PipeConnection {
|
public class PipeConnection {
|
||||||
|
|
||||||
Direction side;
|
public Direction side;
|
||||||
|
|
||||||
// Layer I
|
// Layer I
|
||||||
Couple<Float> pressure; // [inbound, outward]
|
Couple<Float> pressure; // [inbound, outward]
|
||||||
|
|
Loading…
Reference in a new issue