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

Method replace

common/buildcraft/lib/misc/data/BoxIterator.java:61–64  ·  view source on GitHub ↗
(BlockPos toReplace, EnumFacing facing)

Source from the content-addressed store, hash-verified

59 }
60
61 private BlockPos replace(BlockPos toReplace, EnumFacing facing) {
62 BlockPos with = facing.getAxisDirection() == AxisDirection.POSITIVE ? min : max;
63 return VecUtil.replaceValue(toReplace, facing.getAxis(), VecUtil.getValue(with, facing.getAxis()));
64 }
65
66 public BlockPos getCurrent() {
67 return current;

Callers 15

getStartMethod · 0.95
advanceMethod · 0.95
remapMethod · 0.80
replacePathVariablesMethod · 0.80
setCusomStateMappersMethod · 0.80
storeRequirementsMethod · 0.80
loadMethod · 0.80
getMethod · 0.80
registerItemModelMethod · 0.80

Calls 2

replaceValueMethod · 0.95
getValueMethod · 0.95

Tested by

no test coverage detected