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

Method replaceAll

src/main/java/gregapi/util/WD.java:513–515  ·  view source on GitHub ↗
(World aWorld, int aX, int aY, int aZ, Block aReplaceBlock, long aReplaceMeta, Block aTargetBlock, long aTargetMeta)

Source from the content-addressed store, hash-verified

511 return replace(aWorld, aCoords.posX, aCoords.posY, aCoords.posZ, aReplaceBlock, aReplaceMeta, aTargetBlock, aTargetMeta);
512 }
513 public static boolean replaceAll(World aWorld, int aX, int aY, int aZ, Block aReplaceBlock, long aReplaceMeta, Block aTargetBlock, long aTargetMeta) {
514 return replaceAll(aWorld, new ChunkCoordinates(aX, aY, aZ), aReplaceBlock, aReplaceMeta, aTargetBlock, aTargetMeta);
515 }
516 public static boolean replaceAll(World aWorld, ChunkCoordinates aCoords, Block aReplaceBlock, long aReplaceMeta, Block aTargetBlock, long aTargetMeta) {
517 if (!replace(aWorld, aCoords, aReplaceBlock, aReplaceMeta, aTargetBlock, aTargetMeta)) return F;
518 HashSetNoNulls<ChunkCoordinates> tSwap,

Callers 11

onLivingUpdateMethod · 0.95
onItemTooltipMethod · 0.80
GT_BaseCropMethod · 0.80
sanitizeMethod · 0.80
onOreRegistration1Method · 0.80
createPrefixMethod · 0.80
enabledMethod · 0.80
nameMethod · 0.80
createWrittenBookMethod · 0.80
getMethod · 0.80
addIDConfigMethod · 0.80

Calls 5

replaceMethod · 0.95
isEmptyMethod · 0.95
sizeMethod · 0.95
clearMethod · 0.95
addMethod · 0.95

Tested by

no test coverage detected