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
named net/minecraft/block/AbstractBlock$AbstractBlockState$ShapeCache
intermediary net/minecraft/class_4970$class_4971$class_3752
official dsz$a$a
  • Field Details

    • DIRECTIONS

      private static final Direction[] DIRECTIONS
      Mappings:
      Namespace Name Mixin selector
      named DIRECTIONS Lnet/minecraft/block/AbstractBlock$AbstractBlockState$ShapeCache;DIRECTIONS:[Lnet/minecraft/util/math/Direction;
      intermediary field_16559 Lnet/minecraft/class_4970$class_4971$class_3752;field_16559:[Lnet/minecraft/class_2350;
      official e Ldsz$a$a;e:[Lji;
    • SHAPE_TYPE_LENGTH

      private static final int SHAPE_TYPE_LENGTH
      Mappings:
      Namespace Name Mixin selector
      named SHAPE_TYPE_LENGTH Lnet/minecraft/block/AbstractBlock$AbstractBlockState$ShapeCache;SHAPE_TYPE_LENGTH:I
      intermediary field_25830 Lnet/minecraft/class_4970$class_4971$class_3752;field_25830:I
      official f Ldsz$a$a;f:I
    • fullOpaque

      protected final boolean fullOpaque
      Mappings:
      Namespace Name Mixin selector
      named fullOpaque Lnet/minecraft/block/AbstractBlock$AbstractBlockState$ShapeCache;fullOpaque:Z
      intermediary field_16557 Lnet/minecraft/class_4970$class_4971$class_3752;field_16557:Z
      official a Ldsz$a$a;a:Z
    • transparent

      final boolean transparent
      Mappings:
      Namespace Name Mixin selector
      named transparent Lnet/minecraft/block/AbstractBlock$AbstractBlockState$ShapeCache;transparent:Z
      intermediary field_16556 Lnet/minecraft/class_4970$class_4971$class_3752;field_16556:Z
      official g Ldsz$a$a;g:Z
    • lightSubtracted

      final int lightSubtracted
      Mappings:
      Namespace Name Mixin selector
      named lightSubtracted Lnet/minecraft/block/AbstractBlock$AbstractBlockState$ShapeCache;lightSubtracted:I
      intermediary field_16555 Lnet/minecraft/class_4970$class_4971$class_3752;field_16555:I
      official h Ldsz$a$a;h:I
    • extrudedFaces

      @Nullable final @Nullable VoxelShape[] extrudedFaces
      Mappings:
      Namespace Name Mixin selector
      named extrudedFaces Lnet/minecraft/block/AbstractBlock$AbstractBlockState$ShapeCache;extrudedFaces:[Lnet/minecraft/util/shape/VoxelShape;
      intermediary field_16560 Lnet/minecraft/class_4970$class_4971$class_3752;field_16560:[Lnet/minecraft/class_265;
      official i Ldsz$a$a;i:[Lexp;
    • collisionShape

      protected final VoxelShape collisionShape
      Mappings:
      Namespace Name Mixin selector
      named collisionShape Lnet/minecraft/block/AbstractBlock$AbstractBlockState$ShapeCache;collisionShape:Lnet/minecraft/util/shape/VoxelShape;
      intermediary field_19360 Lnet/minecraft/class_4970$class_4971$class_3752;field_19360:Lnet/minecraft/class_265;
      official b Ldsz$a$a;b:Lexp;
    • exceedsCube

      protected final boolean exceedsCube
      Mappings:
      Namespace Name Mixin selector
      named exceedsCube Lnet/minecraft/block/AbstractBlock$AbstractBlockState$ShapeCache;exceedsCube:Z
      intermediary field_17651 Lnet/minecraft/class_4970$class_4971$class_3752;field_17651:Z
      official c Ldsz$a$a;c:Z
    • solidSides

      private final boolean[] solidSides
      Mappings:
      Namespace Name Mixin selector
      named solidSides Lnet/minecraft/block/AbstractBlock$AbstractBlockState$ShapeCache;solidSides:[Z
      intermediary field_19429 Lnet/minecraft/class_4970$class_4971$class_3752;field_19429:[Z
      official j Ldsz$a$a;j:[Z
    • isFullCube

      protected final boolean isFullCube
      Mappings:
      Namespace Name Mixin selector
      named isFullCube Lnet/minecraft/block/AbstractBlock$AbstractBlockState$ShapeCache;isFullCube:Z
      intermediary field_20337 Lnet/minecraft/class_4970$class_4971$class_3752;field_20337:Z
      official d Ldsz$a$a;d:Z
  • Constructor Details

    • ShapeCache

      ShapeCache(BlockState state)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/block/AbstractBlock$AbstractBlockState$ShapeCache;<init>(Lnet/minecraft/block/BlockState;)V
      intermediary <init> Lnet/minecraft/class_4970$class_4971$class_3752;<init>(Lnet/minecraft/class_2680;)V
      official <init> Ldsz$a$a;<init>(Ldta;)V
  • Method Details

    • isSideSolid

      public boolean isSideSolid(Direction direction, SideShapeType shapeType)
      Mappings:
      Namespace Name Mixin selector
      named isSideSolid Lnet/minecraft/block/AbstractBlock$AbstractBlockState$ShapeCache;isSideSolid(Lnet/minecraft/util/math/Direction;Lnet/minecraft/block/SideShapeType;)Z
      intermediary method_30369 Lnet/minecraft/class_4970$class_4971$class_3752;method_30369(Lnet/minecraft/class_2350;Lnet/minecraft/class_5431;)Z
      official a Ldsz$a$a;a(Lji;Ldny;)Z
    • indexSolidSide

      private static int indexSolidSide(Direction direction, SideShapeType shapeType)
      Mappings:
      Namespace Name Mixin selector
      named indexSolidSide Lnet/minecraft/block/AbstractBlock$AbstractBlockState$ShapeCache;indexSolidSide(Lnet/minecraft/util/math/Direction;Lnet/minecraft/block/SideShapeType;)I
      intermediary method_30370 Lnet/minecraft/class_4970$class_4971$class_3752;method_30370(Lnet/minecraft/class_2350;Lnet/minecraft/class_5431;)I
      official b Ldsz$a$a;b(Lji;Ldny;)I