Class AbstractBlock.AbstractBlockState.ShapeCache

java.lang.Object
net.minecraft.block.AbstractBlock.AbstractBlockState.ShapeCache
Enclosing class:
AbstractBlock.AbstractBlockState

private static final class AbstractBlock.AbstractBlockState.ShapeCache extends Object
Mappings:
Namespace Name
official cnu$a$a
intermediary net/minecraft/class_4970$class_4971$class_3752
named net/minecraft/block/AbstractBlock$AbstractBlockState$ShapeCache
  • Field Details

    • DIRECTIONS

      private static final Direction[] DIRECTIONS
      Mappings:
      Namespace Name Mixin selector
      official e Lcnu$a$a;e:[Lgm;
      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 Lcnu$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 Lcnu$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

      final boolean translucent
      Mappings:
      Namespace Name Mixin selector
      official g Lcnu$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

      final int lightSubtracted
      Mappings:
      Namespace Name Mixin selector
      official h Lcnu$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

      @Nullable final @Nullable VoxelShape[] extrudedFaces
      Mappings:
      Namespace Name Mixin selector
      official i Lcnu$a$a;i:[Ldos;
      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

      protected final VoxelShape collisionShape
      Mappings:
      Namespace Name Mixin selector
      official b Lcnu$a$a;b:Ldos;
      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 Lcnu$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 Lcnu$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 Lcnu$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

      ShapeCache(BlockState state)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lcnu$a$a;<init>(Lcnv;)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

      public boolean isSideSolid(Direction direction, SideShapeType shapeType)
      Mappings:
      Namespace Name Mixin selector
      official a Lcnu$a$a;a(Lgm;Lcjx;)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

      private static int indexSolidSide(Direction direction, SideShapeType shapeType)
      Mappings:
      Namespace Name Mixin selector
      official b Lcnu$a$a;b(Lgm;Lcjx;)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