Class ConnectingBlock

All Implemented Interfaces:
ItemConvertible
Direct Known Subclasses:
ChorusPlantBlock

public class ConnectingBlock extends Block
Mappings:
Namespace Name
official cnz
intermediary net/minecraft/class_2429
named net/minecraft/block/ConnectingBlock
  • Field Details

    • FACINGS

      private static final Direction[] FACINGS
      Mappings:
      Namespace Name Mixin selector
      official i Lcnz;i:[Lgy;
      intermediary field_11334 Lnet/minecraft/class_2429;field_11334:[Lnet/minecraft/class_2350;
      named FACINGS Lnet/minecraft/block/ConnectingBlock;FACINGS:[Lnet/minecraft/util/math/Direction;
    • NORTH

      public static final BooleanProperty NORTH
      Mappings:
      Namespace Name Mixin selector
      official a Lcnz;a:Lcvi;
      intermediary field_11332 Lnet/minecraft/class_2429;field_11332:Lnet/minecraft/class_2746;
      named NORTH Lnet/minecraft/block/ConnectingBlock;NORTH:Lnet/minecraft/state/property/BooleanProperty;
    • EAST

      public static final BooleanProperty EAST
      Mappings:
      Namespace Name Mixin selector
      official b Lcnz;b:Lcvi;
      intermediary field_11335 Lnet/minecraft/class_2429;field_11335:Lnet/minecraft/class_2746;
      named EAST Lnet/minecraft/block/ConnectingBlock;EAST:Lnet/minecraft/state/property/BooleanProperty;
    • SOUTH

      public static final BooleanProperty SOUTH
      Mappings:
      Namespace Name Mixin selector
      official c Lcnz;c:Lcvi;
      intermediary field_11331 Lnet/minecraft/class_2429;field_11331:Lnet/minecraft/class_2746;
      named SOUTH Lnet/minecraft/block/ConnectingBlock;SOUTH:Lnet/minecraft/state/property/BooleanProperty;
    • WEST

      public static final BooleanProperty WEST
      Mappings:
      Namespace Name Mixin selector
      official d Lcnz;d:Lcvi;
      intermediary field_11328 Lnet/minecraft/class_2429;field_11328:Lnet/minecraft/class_2746;
      named WEST Lnet/minecraft/block/ConnectingBlock;WEST:Lnet/minecraft/state/property/BooleanProperty;
    • UP

      public static final BooleanProperty UP
      Mappings:
      Namespace Name Mixin selector
      official e Lcnz;e:Lcvi;
      intermediary field_11327 Lnet/minecraft/class_2429;field_11327:Lnet/minecraft/class_2746;
      named UP Lnet/minecraft/block/ConnectingBlock;UP:Lnet/minecraft/state/property/BooleanProperty;
    • DOWN

      public static final BooleanProperty DOWN
      Mappings:
      Namespace Name Mixin selector
      official f Lcnz;f:Lcvi;
      intermediary field_11330 Lnet/minecraft/class_2429;field_11330:Lnet/minecraft/class_2746;
      named DOWN Lnet/minecraft/block/ConnectingBlock;DOWN:Lnet/minecraft/state/property/BooleanProperty;
    • FACING_PROPERTIES

      public static final Map<Direction,BooleanProperty> FACING_PROPERTIES
      Mappings:
      Namespace Name Mixin selector
      official g Lcnz;g:Ljava/util/Map;
      intermediary field_11329 Lnet/minecraft/class_2429;field_11329:Ljava/util/Map;
      named FACING_PROPERTIES Lnet/minecraft/block/ConnectingBlock;FACING_PROPERTIES:Ljava/util/Map;
    • connectionsToShape

      protected final VoxelShape[] connectionsToShape
      Mappings:
      Namespace Name Mixin selector
      official h Lcnz;h:[Ldwl;
      intermediary field_11333 Lnet/minecraft/class_2429;field_11333:[Lnet/minecraft/class_265;
      named connectionsToShape Lnet/minecraft/block/ConnectingBlock;connectionsToShape:[Lnet/minecraft/util/shape/VoxelShape;
  • Constructor Details

    • ConnectingBlock

      protected ConnectingBlock(float radius, AbstractBlock.Settings settings)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lcnz;<init>(FLcuq$c;)V
      intermediary <init> Lnet/minecraft/class_2429;<init>(FLnet/minecraft/class_4970$class_2251;)V
      named <init> Lnet/minecraft/block/ConnectingBlock;<init>(FLnet/minecraft/block/AbstractBlock$Settings;)V
  • Method Details

    • generateFacingsToShapeMap

      private VoxelShape[] generateFacingsToShapeMap(float radius)
      Mappings:
      Namespace Name Mixin selector
      official a Lcnz;a(F)[Ldwl;
      intermediary method_10370 Lnet/minecraft/class_2429;method_10370(F)[Lnet/minecraft/class_265;
      named generateFacingsToShapeMap Lnet/minecraft/block/ConnectingBlock;generateFacingsToShapeMap(F)[Lnet/minecraft/util/shape/VoxelShape;
    • isTranslucent

      public boolean isTranslucent(BlockState state, BlockView world, BlockPos pos)
      Overrides:
      isTranslucent in class Block
      Mappings:
      Namespace Name Mixin selector
      official c Lciw;c(Lcur;Lcfg;Lgt;)Z
      intermediary method_9579 Lnet/minecraft/class_2248;method_9579(Lnet/minecraft/class_2680;Lnet/minecraft/class_1922;Lnet/minecraft/class_2338;)Z
      named isTranslucent Lnet/minecraft/block/Block;isTranslucent(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/BlockView;Lnet/minecraft/util/math/BlockPos;)Z
    • getOutlineShape

      public VoxelShape getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context)
      Overrides:
      getOutlineShape in class AbstractBlock
      Mappings:
      Namespace Name Mixin selector
      official a Lcuq;a(Lcur;Lcfg;Lgt;Ldvx;)Ldwl;
      intermediary method_9530 Lnet/minecraft/class_4970;method_9530(Lnet/minecraft/class_2680;Lnet/minecraft/class_1922;Lnet/minecraft/class_2338;Lnet/minecraft/class_3726;)Lnet/minecraft/class_265;
      named getOutlineShape Lnet/minecraft/block/AbstractBlock;getOutlineShape(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/BlockView;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/ShapeContext;)Lnet/minecraft/util/shape/VoxelShape;
    • getConnectionMask

      protected int getConnectionMask(BlockState state)
      Mappings:
      Namespace Name Mixin selector
      official h Lcnz;h(Lcur;)I
      intermediary method_10368 Lnet/minecraft/class_2429;method_10368(Lnet/minecraft/class_2680;)I
      named getConnectionMask Lnet/minecraft/block/ConnectingBlock;getConnectionMask(Lnet/minecraft/block/BlockState;)I