Package net.minecraft.block
Class ConnectingBlock
java.lang.Object
net.minecraft.block.AbstractBlock
net.minecraft.block.Block
net.minecraft.block.ConnectingBlock
- All Implemented Interfaces:
ItemConvertible
- Direct Known Subclasses:
ChorusPlantBlock
public class ConnectingBlock extends Block
- Mappings:
Namespace Name official cbp
intermediary net/minecraft/class_2429
named net/minecraft/block/ConnectingBlock
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.block.Block
Block.NeighborGroup
Nested classes/interfaces inherited from class net.minecraft.block.AbstractBlock
AbstractBlock.AbstractBlockState, AbstractBlock.ContextPredicate, AbstractBlock.OffsetType, AbstractBlock.Settings, AbstractBlock.TypedContextPredicate<A>
-
Field Summary
Fields Modifier and Type Field Description protected VoxelShape[]
CONNECTIONS_TO_SHAPE
static BooleanProperty
DOWN
static BooleanProperty
EAST
static Map<Direction,BooleanProperty>
FACING_PROPERTIES
private static Direction[]
FACINGS
static BooleanProperty
NORTH
static BooleanProperty
SOUTH
static BooleanProperty
UP
static BooleanProperty
WEST
Fields inherited from class net.minecraft.block.Block
LOGGER, STATE_IDS, stateManager
Fields inherited from class net.minecraft.block.AbstractBlock
collidable, DIRECTIONS, dynamicBounds, jumpVelocityMultiplier, lootTableId, material, randomTicks, resistance, settings, slipperiness, soundGroup, velocityMultiplier
-
Constructor Summary
Constructors Modifier Constructor Description protected
ConnectingBlock(float radius, AbstractBlock.Settings settings)
-
Method Summary
Modifier and Type Method Description private VoxelShape[]
generateFacingsToShapeMap(float radius)
protected int
getConnectionMask(BlockState state)
VoxelShape
getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context)
boolean
isTranslucent(BlockState state, BlockView world, BlockPos pos)
Methods inherited from class net.minecraft.block.Block
addStacksForDisplay, afterBreak, appendProperties, appendTooltip, asBlock, asItem, canMobSpawnInside, cannotConnect, createCuboidShape, dropExperience, dropStack, dropStacks, dropStacks, dropStacks, getBlastResistance, getBlockFromItem, getDefaultState, getDroppedStacks, getDroppedStacks, getJumpVelocityMultiplier, getName, getPickStack, getPlacementState, getRawIdFromState, getShapesForStates, getSlipperiness, getSoundGroup, getStateFromRawId, getStateManager, getTranslationKey, getVelocityMultiplier, hasDynamicBounds, hasRandomTicks, hasTopRim, isFaceFullSquare, isShapeFullCube, method_33614, onBreak, onBroken, onDestroyedByExplosion, onEntityLand, onLandedUpon, onPlaced, onSteppedOn, postProcessState, precipitationTick, pushEntitiesUpBeforeBlockChange, randomDisplayTick, replace, replace, setDefaultState, shouldDrawSide, shouldDropItemsOnExplosion, sideCoversSmallSquare, toString
Methods inherited from class net.minecraft.block.AbstractBlock
calcBlockBreakingDelta, canBucketPlace, canPathfindThrough, canPlaceAt, canReplace, createScreenHandlerFactory, emitsRedstonePower, getAmbientOcclusionLightLevel, getCollisionShape, getComparatorOutput, getCullingShape, getDefaultMapColor, getDroppedStacks, getFluidState, getLootTableId, getMaxModelOffset, getOffsetType, getOpacity, getPistonBehavior, getRaycastShape, getRenderingSeed, getRenderType, getSidesShape, getStateForNeighborUpdate, getStrongRedstonePower, getVisualShape, getWeakRedstonePower, hasComparatorOutput, hasSidedTransparency, isSideInvisible, mirror, neighborUpdate, onBlockAdded, onBlockBreakStart, onEntityCollision, onProjectileHit, onStacksDropped, onStateReplaced, onSyncedBlockEvent, onUse, prepare, randomTick, rotate, scheduledTick
-
Field Details
-
FACINGS
- Mappings:
Namespace Name Mixin selector official i
Lcbp;i:[Lgc;
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
- Mappings:
Namespace Name Mixin selector official a
Lcbp;a:Lcik;
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
- Mappings:
Namespace Name Mixin selector official b
Lcbp;b:Lcik;
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
- Mappings:
Namespace Name Mixin selector official c
Lcbp;c:Lcik;
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
- Mappings:
Namespace Name Mixin selector official d
Lcbp;d:Lcik;
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
- Mappings:
Namespace Name Mixin selector official e
Lcbp;e:Lcik;
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
- Mappings:
Namespace Name Mixin selector official f
Lcbp;f:Lcik;
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
- Mappings:
Namespace Name Mixin selector official g
Lcbp;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;
-
CONNECTIONS_TO_SHAPE
- Mappings:
Namespace Name Mixin selector official h
Lcbp;h:[Ldjn;
intermediary field_11333
Lnet/minecraft/class_2429;field_11333:[Lnet/minecraft/class_265;
named CONNECTIONS_TO_SHAPE
Lnet/minecraft/block/ConnectingBlock;CONNECTIONS_TO_SHAPE:[Lnet/minecraft/util/shape/VoxelShape;
-
-
Constructor Details
-
ConnectingBlock
- Mappings:
Namespace Name Mixin selector official <init>
Lcbp;<init>(FLchs$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
- Mappings:
Namespace Name Mixin selector official a
Lcbp;a(F)[Ldjn;
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
- Overrides:
isTranslucent
in classBlock
- Mappings:
Namespace Name Mixin selector official c
Lbwu;c(Lcht;Lbsz;Lfx;)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 classAbstractBlock
- Mappings:
Namespace Name Mixin selector official a
Lchs;a(Lcht;Lbsz;Lfx;Ldiz;)Ldjn;
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
- Mappings:
Namespace Name Mixin selector official h
Lcbp;h(Lcht;)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
-