Package net.minecraft.block
Class AbstractBlock.AbstractBlockState.Cache
- java.lang.Object
-
- net.minecraft.block.AbstractBlock.AbstractBlockState.Cache
-
- Enclosing class:
- AbstractBlock.AbstractBlockState
static final class AbstractBlock.AbstractBlockState.Cache extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description protected VoxelShape
collisionShape
private static Direction[]
DIRECTIONS
private boolean[]
faceSturdy
protected boolean
isCollisionShapeFullBlock
protected boolean
largeCollisionShape
private int
lightBlock
private VoxelShape[]
occlusionShapes
private boolean
propagatesSkylightDown
protected boolean
solidRender
private static int
SUPPORT_TYPE_COUNT
-
Constructor Summary
Constructors Modifier Constructor Description private
Cache(BlockState p_i50627_1_)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description private static int
getFaceSupportIndex(Direction p_242701_0_, BlockVoxelShape p_242701_1_)
boolean
isFaceSturdy(Direction p_242700_1_, BlockVoxelShape p_242700_2_)
-
-
-
Field Detail
-
DIRECTIONS
private static final Direction[] DIRECTIONS
-
SUPPORT_TYPE_COUNT
private static final int SUPPORT_TYPE_COUNT
-
solidRender
protected final boolean solidRender
-
propagatesSkylightDown
private final boolean propagatesSkylightDown
-
lightBlock
private final int lightBlock
-
occlusionShapes
@Nullable private final VoxelShape[] occlusionShapes
-
collisionShape
protected final VoxelShape collisionShape
-
largeCollisionShape
protected final boolean largeCollisionShape
-
faceSturdy
private final boolean[] faceSturdy
-
isCollisionShapeFullBlock
protected final boolean isCollisionShapeFullBlock
-
-
Constructor Detail
-
Cache
private Cache(BlockState p_i50627_1_)
-
-
Method Detail
-
isFaceSturdy
public boolean isFaceSturdy(Direction p_242700_1_, BlockVoxelShape p_242700_2_)
-
getFaceSupportIndex
private static int getFaceSupportIndex(Direction p_242701_0_, BlockVoxelShape p_242701_1_)
-
-