Fix fast fluid valves

- Ensure animated indicators on fluid valves still show up with experimental rendering
This commit is contained in:
simibubi 2021-02-18 18:05:39 +01:00
parent 3ff3992f97
commit cf34b2e96b

View File

@ -79,6 +79,11 @@ public class FluidValveTileEntity extends KineticTileEntity {
behaviours.add(new ValvePipeBehaviour(this)); behaviours.add(new ValvePipeBehaviour(this));
} }
@Override
public boolean shouldRenderAsTE() {
return true;
}
class ValvePipeBehaviour extends StraightPipeFluidTransportBehaviour { class ValvePipeBehaviour extends StraightPipeFluidTransportBehaviour {
public ValvePipeBehaviour(SmartTileEntity te) { public ValvePipeBehaviour(SmartTileEntity te) {