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 dfi$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 Ldfi$a$a;e:[Lha;
      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 Ldfi$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 Ldfi$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
    • transparent

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

      final int lightSubtracted
      Mappings:
      Namespace Name Mixin selector
      official h Ldfi$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 Ldfi$a$a;i:[Leig;
      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 Ldfi$a$a;b:Leig;
      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 Ldfi$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 Ldfi$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 Ldfi$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> Ldfi$a$a;<init>(Ldfj;)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 Ldfi$a$a;a(Lha;Ldax;)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 Ldfi$a$a;b(Lha;Ldax;)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