Make FluidTransportBehaviour fields public

This commit is contained in:
Stephen Barnes 2021-09-19 01:10:38 -05:00
parent cff90d6211
commit a2043bebc5
2 changed files with 4 additions and 4 deletions

View file

@ -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);

View file

@ -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]