MCPcopy Create free account
hub / github.com/SplashAni/RandomMeteor / state

Method state

src/main/java/random/meteor/utils/Utils.java:171–173  ·  view source on GitHub ↗
(BlockPos pos)

Source from the content-addressed store, hash-verified

169 }
170
171 public static Block state(BlockPos pos) {
172 return mc.world.getBlockState(pos).getBlock();
173 }
174
175 public static boolean equalsBlock(Block block, BlockPos... poses) {
176 return Arrays.stream(poses).map(Utils::state).allMatch(currentBlock -> currentBlock.equals(block));

Callers 9

isBlockMethod · 0.95
onTickMethod · 0.95
getTargetPosMethod · 0.95
onTickMethod · 0.95
doCrystalMethod · 0.95
onTickMethod · 0.95
isValidMethod · 0.95
doCalcuateMethod · 0.95
onTickMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected