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
- Mappings:
Namespace Name official chs$a$a
intermediary net/minecraft/class_4970$class_4971$class_3752
named net/minecraft/block/AbstractBlock$AbstractBlockState$ShapeCache
-
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
- Mappings:
Namespace Name Mixin selector official e
Lchs$a$a;e:[Lgc;
intermediary field_16559
Lnet/minecraft/class_4970$class_4971$class_3752;field_16559:[Lnet/minecraft/class_2350;
named DIRECTIONS
Lnet/minecraft/block/AbstractBlock$AbstractBlockState$ShapeCache;DIRECTIONS:[Lnet/minecraft/util/math/Direction;
-
SHAPE_TYPE_LENGTH
private static final int SHAPE_TYPE_LENGTH- Mappings:
Namespace Name Mixin selector official f
Lchs$a$a;f:I
intermediary field_25830
Lnet/minecraft/class_4970$class_4971$class_3752;field_25830:I
named SHAPE_TYPE_LENGTH
Lnet/minecraft/block/AbstractBlock$AbstractBlockState$ShapeCache;SHAPE_TYPE_LENGTH:I
-
fullOpaque
protected final boolean fullOpaque- Mappings:
Namespace Name Mixin selector official a
Lchs$a$a;a:Z
intermediary field_16557
Lnet/minecraft/class_4970$class_4971$class_3752;field_16557:Z
named fullOpaque
Lnet/minecraft/block/AbstractBlock$AbstractBlockState$ShapeCache;fullOpaque:Z
-
translucent
private final boolean translucent- Mappings:
Namespace Name Mixin selector official g
Lchs$a$a;g:Z
intermediary field_16556
Lnet/minecraft/class_4970$class_4971$class_3752;field_16556:Z
named translucent
Lnet/minecraft/block/AbstractBlock$AbstractBlockState$ShapeCache;translucent:Z
-
lightSubtracted
private final int lightSubtracted- Mappings:
Namespace Name Mixin selector official h
Lchs$a$a;h:I
intermediary field_16555
Lnet/minecraft/class_4970$class_4971$class_3752;field_16555:I
named lightSubtracted
Lnet/minecraft/block/AbstractBlock$AbstractBlockState$ShapeCache;lightSubtracted:I
-
extrudedFaces
- Mappings:
Namespace Name Mixin selector official i
Lchs$a$a;i:[Ldjn;
intermediary field_16560
Lnet/minecraft/class_4970$class_4971$class_3752;field_16560:[Lnet/minecraft/class_265;
named extrudedFaces
Lnet/minecraft/block/AbstractBlock$AbstractBlockState$ShapeCache;extrudedFaces:[Lnet/minecraft/util/shape/VoxelShape;
-
collisionShape
- Mappings:
Namespace Name Mixin selector official b
Lchs$a$a;b:Ldjn;
intermediary field_19360
Lnet/minecraft/class_4970$class_4971$class_3752;field_19360:Lnet/minecraft/class_265;
named collisionShape
Lnet/minecraft/block/AbstractBlock$AbstractBlockState$ShapeCache;collisionShape:Lnet/minecraft/util/shape/VoxelShape;
-
exceedsCube
protected final boolean exceedsCube- Mappings:
Namespace Name Mixin selector official c
Lchs$a$a;c:Z
intermediary field_17651
Lnet/minecraft/class_4970$class_4971$class_3752;field_17651:Z
named exceedsCube
Lnet/minecraft/block/AbstractBlock$AbstractBlockState$ShapeCache;exceedsCube:Z
-
solidSides
private final boolean[] solidSides- Mappings:
Namespace Name Mixin selector official j
Lchs$a$a;j:[Z
intermediary field_19429
Lnet/minecraft/class_4970$class_4971$class_3752;field_19429:[Z
named solidSides
Lnet/minecraft/block/AbstractBlock$AbstractBlockState$ShapeCache;solidSides:[Z
-
isFullCube
protected final boolean isFullCube- Mappings:
Namespace Name Mixin selector official d
Lchs$a$a;d:Z
intermediary field_20337
Lnet/minecraft/class_4970$class_4971$class_3752;field_20337:Z
named isFullCube
Lnet/minecraft/block/AbstractBlock$AbstractBlockState$ShapeCache;isFullCube:Z
-
-
Constructor Details
-
ShapeCache
- Mappings:
Namespace Name Mixin selector official <init>
Lchs$a$a;<init>(Lcht;)V
intermediary <init>
Lnet/minecraft/class_4970$class_4971$class_3752;<init>(Lnet/minecraft/class_2680;)V
named <init>
Lnet/minecraft/block/AbstractBlock$AbstractBlockState$ShapeCache;<init>(Lnet/minecraft/block/BlockState;)V
-
-
Method Details
-
isSideSolid
- Mappings:
Namespace Name Mixin selector official a
Lchs$a$a;a(Lgc;Lcdw;)Z
intermediary method_30369
Lnet/minecraft/class_4970$class_4971$class_3752;method_30369(Lnet/minecraft/class_2350;Lnet/minecraft/class_5431;)Z
named isSideSolid
Lnet/minecraft/block/AbstractBlock$AbstractBlockState$ShapeCache;isSideSolid(Lnet/minecraft/util/math/Direction;Lnet/minecraft/block/SideShapeType;)Z
-
indexSolidSide
- Mappings:
Namespace Name Mixin selector official b
Lchs$a$a;b(Lgc;Lcdw;)I
intermediary method_30370
Lnet/minecraft/class_4970$class_4971$class_3752;method_30370(Lnet/minecraft/class_2350;Lnet/minecraft/class_5431;)I
named indexSolidSide
Lnet/minecraft/block/AbstractBlock$AbstractBlockState$ShapeCache;indexSolidSide(Lnet/minecraft/util/math/Direction;Lnet/minecraft/block/SideShapeType;)I
-