MCPcopy Create free account
hub / github.com/BuildCraft/BuildCraft / getFluid

Method getFluid

common/buildcraft/lib/misc/BlockUtil.java:225–227  ·  view source on GitHub ↗
(Block block)

Source from the content-addressed store, hash-verified

223 }
224
225 public static Fluid getFluid(Block block) {
226 return FluidRegistry.lookupFluidForBlock(block);
227 }
228
229 public static Fluid getFluidWithFlowing(Block block) {
230 Fluid fluid = null;

Callers 15

rebuildQueueMethod · 0.95
tryAddToQueueMethod · 0.95
mineMethod · 0.95
rebuildQueueMethod · 0.95
queueForPumpingMethod · 0.95
isPumpableFluidMethod · 0.95
queueForFillingMethod · 0.95
updateMethod · 0.45
canDrainBlockMethod · 0.45
updateMethod · 0.45
isFullyConnectedMethod · 0.45
renderFluidMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected