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

Method water

src/main/java/gregapi/util/WD.java:660–660  ·  view source on GitHub ↗
(IBlockAccess aWorld, int aX, int aY, int aZ)

Source from the content-addressed store, hash-verified

658 public static boolean lava(Block aBlock) {return aBlock == Blocks.lava || aBlock == Blocks.flowing_lava;}
659
660 public static boolean water(IBlockAccess aWorld, int aX, int aY, int aZ) {return water(aWorld, aX, aY, aZ, aWorld.getBlock(aX, aY, aZ));}
661 public static boolean water(IBlockAccess aWorld, int aX, int aY, int aZ, Block aBlock) {return aBlock == Blocks.water || aBlock == Blocks.flowing_water;}
662 public static boolean water(Block aBlock) {return aBlock == Blocks.water || aBlock == Blocks.flowing_water;}
663

Callers 6

anywaterMethod · 0.95
canDisplaceMethod · 0.95
displaceIfPossibleMethod · 0.95
scanForFluidMethod · 0.95
drainFluidMethod · 0.95
updateTickMethod · 0.95

Calls 1

getBlockMethod · 0.65

Tested by

no test coverage detected