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

Method set

src/main/java/gregapi/util/WD.java:481–483  ·  view source on GitHub ↗
(World aWorld, int aX, int aY, int aZ, Block aBlock, long aMeta, long aFlags)

Source from the content-addressed store, hash-verified

479 public static byte meta (long aBitAnd, World aWorld, int aX, int aY, int aZ, byte aSide) {return meta(aBitAnd, aWorld, aX+OFFX[aSide], aY+OFFY[aSide], aZ+OFFZ[aSide]);}
480
481 public static boolean set(World aWorld, int aX, int aY, int aZ, Block aBlock, long aMeta, long aFlags) {
482 return set(aWorld, aX, aY, aZ, aBlock, aMeta, aFlags, aBlock.isOpaqueCube());
483 }
484
485 public static boolean set(World aWorld, int aX, int aY, int aZ, Block aBlock, long aMeta, long aFlags, boolean aRemoveGrassBelow) {
486 if (aRemoveGrassBelow) {

Callers 15

tryPlaceStuffMethod · 0.95
generateMethod · 0.95
onServerTickPreMethod · 0.95
onTick2Method · 0.95
onItemUseFirstMethod · 0.95
checkAndSetTargetMethod · 0.95
onToolClickMethod · 0.95
checkGravityMethod · 0.95
onBlockActivatedMethod · 0.95
func_149853_bMethod · 0.95
onItemUseFirstMethod · 0.95
placeBlockMethod · 0.95

Calls 7

bind4Method · 0.95
blockMethod · 0.95
meta_Method · 0.95
getBlockMethod · 0.65
placeBlockMethod · 0.65
isOpaqueCubeMethod · 0.45
setBlockMethod · 0.45

Tested by 1

generateMethod · 0.76