Java Code Examples for net.minecraft.fluid.FluidState#get()
The following examples show how to use
net.minecraft.fluid.FluidState#get() .
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: CrudeOilFluid.java From Galacticraft-Rewoven with MIT License | 4 votes |
@Override public int getLevel(FluidState fluidState) { return fluidState.get(LEVEL); }
Example 2
Source File: FuelFluid.java From Galacticraft-Rewoven with MIT License | 4 votes |
@Override public int getLevel(FluidState fluidState) { return fluidState.get(LEVEL); }
Example 3
Source File: WitchWaterFluid.java From the-hallow with MIT License | 4 votes |
@Override public int getLevel(FluidState fluidState) { return fluidState.get(LEVEL); }
Example 4
Source File: BloodFluid.java From the-hallow with MIT License | 4 votes |
@Override public int getLevel(FluidState fluidState) { return fluidState.get(LEVEL); }
Example 5
Source File: FluidWrapper.java From Sandbox with GNU Lesser General Public License v3.0 | 4 votes |
@Override public int getLevel(FluidState var1) { return isStill(var1) ? 8 : var1.get(LEVEL); }