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 cbpintermediary net/minecraft/class_2429named net/minecraft/block/ConnectingBlock
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.block.Block
Block.NeighborGroupNested 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_SHAPEstatic BooleanPropertyDOWNstatic BooleanPropertyEASTstatic Map<Direction,BooleanProperty>FACING_PROPERTIESprivate static Direction[]FACINGSstatic BooleanPropertyNORTHstatic BooleanPropertySOUTHstatic BooleanPropertyUPstatic BooleanPropertyWESTFields inherited from class net.minecraft.block.Block
LOGGER, STATE_IDS, stateManagerFields 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 protectedConnectingBlock(float radius, AbstractBlock.Settings settings) -
Method Summary
Modifier and Type Method Description private VoxelShape[]generateFacingsToShapeMap(float radius)protected intgetConnectionMask(BlockState state)VoxelShapegetOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context)booleanisTranslucent(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, toStringMethods 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 iLcbp;i:[Lgc;intermediary field_11334Lnet/minecraft/class_2429;field_11334:[Lnet/minecraft/class_2350;named FACINGSLnet/minecraft/block/ConnectingBlock;FACINGS:[Lnet/minecraft/util/math/Direction;
-
NORTH
- Mappings:
Namespace Name Mixin selector official aLcbp;a:Lcik;intermediary field_11332Lnet/minecraft/class_2429;field_11332:Lnet/minecraft/class_2746;named NORTHLnet/minecraft/block/ConnectingBlock;NORTH:Lnet/minecraft/state/property/BooleanProperty;
-
EAST
- Mappings:
Namespace Name Mixin selector official bLcbp;b:Lcik;intermediary field_11335Lnet/minecraft/class_2429;field_11335:Lnet/minecraft/class_2746;named EASTLnet/minecraft/block/ConnectingBlock;EAST:Lnet/minecraft/state/property/BooleanProperty;
-
SOUTH
- Mappings:
Namespace Name Mixin selector official cLcbp;c:Lcik;intermediary field_11331Lnet/minecraft/class_2429;field_11331:Lnet/minecraft/class_2746;named SOUTHLnet/minecraft/block/ConnectingBlock;SOUTH:Lnet/minecraft/state/property/BooleanProperty;
-
WEST
- Mappings:
Namespace Name Mixin selector official dLcbp;d:Lcik;intermediary field_11328Lnet/minecraft/class_2429;field_11328:Lnet/minecraft/class_2746;named WESTLnet/minecraft/block/ConnectingBlock;WEST:Lnet/minecraft/state/property/BooleanProperty;
-
UP
- Mappings:
Namespace Name Mixin selector official eLcbp;e:Lcik;intermediary field_11327Lnet/minecraft/class_2429;field_11327:Lnet/minecraft/class_2746;named UPLnet/minecraft/block/ConnectingBlock;UP:Lnet/minecraft/state/property/BooleanProperty;
-
DOWN
- Mappings:
Namespace Name Mixin selector official fLcbp;f:Lcik;intermediary field_11330Lnet/minecraft/class_2429;field_11330:Lnet/minecraft/class_2746;named DOWNLnet/minecraft/block/ConnectingBlock;DOWN:Lnet/minecraft/state/property/BooleanProperty;
-
FACING_PROPERTIES
- Mappings:
Namespace Name Mixin selector official gLcbp;g:Ljava/util/Map;intermediary field_11329Lnet/minecraft/class_2429;field_11329:Ljava/util/Map;named FACING_PROPERTIESLnet/minecraft/block/ConnectingBlock;FACING_PROPERTIES:Ljava/util/Map;
-
CONNECTIONS_TO_SHAPE
- Mappings:
Namespace Name Mixin selector official hLcbp;h:[Ldjn;intermediary field_11333Lnet/minecraft/class_2429;field_11333:[Lnet/minecraft/class_265;named CONNECTIONS_TO_SHAPELnet/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;)Vintermediary <init>Lnet/minecraft/class_2429;<init>(FLnet/minecraft/class_4970$class_2251;)Vnamed <init>Lnet/minecraft/block/ConnectingBlock;<init>(FLnet/minecraft/block/AbstractBlock$Settings;)V
-
-
Method Details
-
generateFacingsToShapeMap
- Mappings:
Namespace Name Mixin selector official aLcbp;a(F)[Ldjn;intermediary method_10370Lnet/minecraft/class_2429;method_10370(F)[Lnet/minecraft/class_265;named generateFacingsToShapeMapLnet/minecraft/block/ConnectingBlock;generateFacingsToShapeMap(F)[Lnet/minecraft/util/shape/VoxelShape;
-
isTranslucent
- Overrides:
isTranslucentin classBlock- Mappings:
Namespace Name Mixin selector official cLbwu;c(Lcht;Lbsz;Lfx;)Zintermediary method_9579Lnet/minecraft/class_2248;method_9579(Lnet/minecraft/class_2680;Lnet/minecraft/class_1922;Lnet/minecraft/class_2338;)Znamed isTranslucentLnet/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:
getOutlineShapein classAbstractBlock- Mappings:
Namespace Name Mixin selector official aLchs;a(Lcht;Lbsz;Lfx;Ldiz;)Ldjn;intermediary method_9530Lnet/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 getOutlineShapeLnet/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 hLcbp;h(Lcht;)Iintermediary method_10368Lnet/minecraft/class_2429;method_10368(Lnet/minecraft/class_2680;)Inamed getConnectionMaskLnet/minecraft/block/ConnectingBlock;getConnectionMask(Lnet/minecraft/block/BlockState;)I
-