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 dbp$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 Ldbp$a$a;e:[Lgz;
      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 Ldbp$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 Ldbp$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 Ldbp$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 Ldbp$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 Ldbp$a$a;i:[Ledx;
      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 Ldbp$a$a;b:Ledx;
      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 Ldbp$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 Ldbp$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 Ldbp$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> Ldbp$a$a;<init>(Ldbq;)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 Ldbp$a$a;a(Lgz;Lcxf;)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 Ldbp$a$a;b(Lgz;Lcxf;)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