MCPcopy Create free account
hub / github.com/GregTech6/gregtech6 / dir

Method dir

src/main/java/gregapi/data/FL.java:783–783  ·  view source on GitHub ↗
(BlockFluidBase aFluid)

Source from the content-addressed store, hash-verified

781 public static boolean heavier(Fluid aFluid) {return aFluid != null && aFluid.getDensity(make(aFluid, 1000)) > 0;}
782
783 public static int dir(BlockFluidBase aFluid) {return lighter(aFluid) ? +1 : -1;}
784 public static int dir(IFluidTank aFluid) {return lighter(aFluid) ? +1 : -1;}
785 public static int dir(FluidStack aFluid) {return lighter(aFluid) ? +1 : -1;}
786 public static int dir(Fluid aFluid) {return lighter(aFluid) ? +1 : -1;}

Callers 2

renderWorldBlockMethod · 0.95

Calls 1

lighterMethod · 0.95

Tested by

no test coverage detected