Class ConnectingBlock

All Implemented Interfaces:
ItemConvertible, ToggleableFeature
Direct Known Subclasses:
ChorusPlantBlock

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

    • FACINGS

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

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

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

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

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

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

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

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

      protected final VoxelShape[] facingsToShape
      Mappings:
      Namespace Name Mixin selector
      named facingsToShape Lnet/minecraft/block/ConnectingBlock;facingsToShape:[Lnet/minecraft/util/shape/VoxelShape;
      intermediary field_11333 Lnet/minecraft/class_2429;field_11333:[Lnet/minecraft/class_265;
      official i Ldlk;i:[Lexp;
  • Constructor Details

    • ConnectingBlock

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

    • getCodec

      protected abstract com.mojang.serialization.MapCodec<? extends ConnectingBlock> getCodec()
      Overrides:
      getCodec in class Block
      Mappings:
      Namespace Name Mixin selector
      named getCodec Lnet/minecraft/block/AbstractBlock;getCodec()Lcom/mojang/serialization/MapCodec;
      intermediary method_53969 Lnet/minecraft/class_4970;method_53969()Lcom/mojang/serialization/MapCodec;
      official a Ldsz;a()Lcom/mojang/serialization/MapCodec;
    • generateFacingsToShapeMap

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

      protected boolean isTransparent(BlockState state, BlockView world, BlockPos pos)
      Overrides:
      isTransparent in class AbstractBlock
      Mappings:
      Namespace Name Mixin selector
      named isTransparent Lnet/minecraft/block/AbstractBlock;isTransparent(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/BlockView;Lnet/minecraft/util/math/BlockPos;)Z
      intermediary method_9579 Lnet/minecraft/class_4970;method_9579(Lnet/minecraft/class_2680;Lnet/minecraft/class_1922;Lnet/minecraft/class_2338;)Z
      official a_ Ldsz;a_(Ldta;Ldca;Ljd;)Z
    • getOutlineShape

      protected VoxelShape getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context)
      Overrides:
      getOutlineShape in class AbstractBlock
      See Also:
      Mappings:
      Namespace Name Mixin selector
      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;
      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;
      official a Ldsz;a(Ldta;Ldca;Ljd;Lexb;)Lexp;
    • getConnectionMask

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