MCPcopy Index your code
hub / github.com/GregTech6/gregtech6 / block

Method block

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

Source from the content-addressed store, hash-verified

466 }
467
468 public static Block block(IBlockAccess aWorld, int aX, int aY, int aZ) {return aWorld.getBlock(aX, aY, aZ);}
469 public static Block block(World aWorld, int aX, int aY, int aZ, boolean aLoadUnloadedChunks) {return aLoadUnloadedChunks || aWorld.blockExists(aX, aY, aZ) ? aWorld.getBlock(aX, aY, aZ) : NB;}
470 public static Block block(World aWorld, int aX, int aY, int aZ, byte aSide, boolean aLoadUnloadedChunks) {return block(aWorld, aX+OFFX[aSide], aY+OFFY[aSide], aZ+OFFZ[aSide], aLoadUnloadedChunks);}
471 public static Block block(World aWorld, int aX, int aY, int aZ, byte aSide) {return block(aWorld, aX+OFFX[aSide], aY+OFFY[aSide], aZ+OFFZ[aSide]);}

Callers 15

onPlayerInteractionMethod · 0.95
onItemUseFirstMethod · 0.95
onItemUseMethod · 0.95
onItemUseMethod · 0.95
onItemUseMethod · 0.95
onItemUseMethod · 0.95
generateVeinMethod · 0.95
generateMethod · 0.95
onToolClickMethod · 0.95
func_149853_bMethod · 0.95
onItemUseFirstMethod · 0.95
getRailMaxSpeedMethod · 0.95

Calls 1

getBlockMethod · 0.65

Tested by

no test coverage detected