Package net.minecraft.block
Class AbstractBlock.AbstractBlockState.ShapeCache
java.lang.Object
net.minecraft.block.AbstractBlock.AbstractBlockState.ShapeCache
- Enclosing class:
- AbstractBlock.AbstractBlockState
static final class AbstractBlock.AbstractBlockState.ShapeCache extends Object
-
Field Summary
Fields Modifier and Type Field Description protected VoxelShape
collisionShape
private static Direction[]
DIRECTIONS
protected boolean
exceedsCube
private VoxelShape[]
extrudedFaces
protected boolean
fullOpaque
protected boolean
isFullCube
private int
lightSubtracted
private static int
SHAPE_TYPE_LENGTH
private boolean[]
solidSides
private boolean
translucent
-
Constructor Summary
Constructors Modifier Constructor Description private
ShapeCache(BlockState state)
-
Method Summary
Modifier and Type Method Description private static int
indexSolidSide(Direction direction, SideShapeType shapeType)
boolean
isSideSolid(Direction direction, SideShapeType shapeType)
-
Field Details
-
DIRECTIONS
-
SHAPE_TYPE_LENGTH
private static final int SHAPE_TYPE_LENGTH -
fullOpaque
protected final boolean fullOpaque -
translucent
private final boolean translucent -
lightSubtracted
private final int lightSubtracted -
extrudedFaces
-
collisionShape
-
exceedsCube
protected final boolean exceedsCube -
solidSides
private final boolean[] solidSides -
isFullCube
protected final boolean isFullCube
-
-
Constructor Details
-
ShapeCache
-
-
Method Details
-
isSideSolid
-
indexSolidSide
-