MCPcopy Create free account
hub / github.com/DGVPSH/SlackOpen / getBlockAt

Method getBlockAt

src/main/java/net/optifine/BetterGrass.java:299–304  ·  view source on GitHub ↗
(BlockPos blockPos, EnumFacing facing, IBlockAccess blockAccess)

Source from the content-addressed store, hash-verified

297 }
298
299 private static Block getBlockAt(BlockPos blockPos, EnumFacing facing, IBlockAccess blockAccess)
300 {
301 BlockPos blockpos = blockPos.offset(facing);
302 Block block = blockAccess.getBlockState(blockpos).getBlock();
303 return block;
304 }
305
306 private static boolean getBoolean(Properties props, String key, boolean def)
307 {

Callers 3

getFaceQuadsMyceliumMethod · 0.95
getFaceQuadsDirtMethod · 0.95
getFaceQuadsGrassMethod · 0.95

Calls 3

getBlockMethod · 0.65
getBlockStateMethod · 0.65
offsetMethod · 0.45

Tested by

no test coverage detected