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

Method getActualState

src/main/java/net/minecraft/block/BlockVine.java:47–50  ·  view source on GitHub ↗

Get the actual Block state of this Block at the given position. This applies properties not visible in the metadata, such as fence connections.

(IBlockState state, IBlockAccess worldIn, BlockPos pos)

Source from the content-addressed store, hash-verified

45 * metadata, such as fence connections.
46 */
47 public IBlockState getActualState(IBlockState state, IBlockAccess worldIn, BlockPos pos)
48 {
49 return state.withProperty(UP, worldIn.getBlockState(pos.up()).getBlock().isBlockNormalCube());
50 }
51
52 /**
53 * Sets the block's bounds for rendering it as an item

Callers

nothing calls this directly

Calls 5

upMethod · 0.80
withPropertyMethod · 0.65
getBlockMethod · 0.65
getBlockStateMethod · 0.65
isBlockNormalCubeMethod · 0.45

Tested by

no test coverage detected