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,- ToggleableFeature
- Direct Known Subclasses:
- ChorusPlantBlock
- Mappings:
- Namespace - Name - official - dcd- intermediary - net/minecraft/class_2429- named - net/minecraft/block/ConnectingBlock
- 
Nested Class SummaryNested classes/interfaces inherited from class net.minecraft.block.BlockBlock.NeighborGroupNested classes/interfaces inherited from class net.minecraft.block.AbstractBlockAbstractBlock.AbstractBlockState, AbstractBlock.ContextPredicate, AbstractBlock.Offsetter, AbstractBlock.OffsetType, AbstractBlock.Settings, AbstractBlock.TypedContextPredicate<A>
- 
Field SummaryFieldsModifier and TypeFieldDescriptionstatic final BooleanPropertystatic final BooleanPropertystatic final Map<Direction,BooleanProperty> private static final Direction[]protected final VoxelShape[]static final BooleanPropertystatic final BooleanPropertystatic final BooleanPropertystatic final BooleanPropertyFields inherited from class net.minecraft.block.BlockCODEC, field_31023, field_31024, field_31025, field_31035, FORCE_STATE, MOVED, NO_REDRAW, NOTIFY_ALL, NOTIFY_ALL_AND_REDRAW, NOTIFY_LISTENERS, NOTIFY_NEIGHBORS, REDRAW_ON_MAIN_THREAD, SKIP_DROPS, STATE_IDS, stateManagerFields inherited from class net.minecraft.block.AbstractBlockcollidable, DIRECTIONS, dynamicBounds, jumpVelocityMultiplier, lootTableId, randomTicks, requiredFeatures, resistance, settings, slipperiness, soundGroup, velocityMultiplierFields inherited from interface net.minecraft.resource.featuretoggle.ToggleableFeatureFEATURE_ENABLED_REGISTRY_KEYS
- 
Constructor SummaryConstructorsModifierConstructorDescriptionprotectedConnectingBlock(float radius, AbstractBlock.Settings settings) 
- 
Method SummaryModifier and TypeMethodDescriptionprivate VoxelShape[]generateFacingsToShapeMap(float radius) protected abstract com.mojang.serialization.MapCodec<? extends ConnectingBlock>getCodec()protected intgetConnectionMask(BlockState state) getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context) booleanisTransparent(BlockState state, BlockView world, BlockPos pos) Methods inherited from class net.minecraft.block.BlockafterBreak, appendProperties, appendTooltip, asBlock, asItem, canMobSpawnInside, cannotConnect, createCuboidShape, dropExperience, dropExperienceWhenMined, dropStack, dropStack, dropStacks, dropStacks, dropStacks, getBlastResistance, getBlockFromItem, getDefaultState, getDroppedStacks, getDroppedStacks, getJumpVelocityMultiplier, getName, getPickStack, getPlacementState, getRawIdFromState, getRegistryEntry, getShapesForStates, getSlipperiness, getSoundGroup, getStateFromRawId, getStateManager, getStateWithProperties, getTranslationKey, getVelocityMultiplier, hasDynamicBounds, hasRandomTicks, hasTopRim, isFaceFullSquare, isShapeFullCube, onBreak, onBroken, onDestroyedByExplosion, onEntityLand, onLandedUpon, onPlaced, onSteppedOn, postProcessState, precipitationTick, pushEntitiesUpBeforeBlockChange, randomDisplayTick, replace, replace, setDefaultState, shouldDrawSide, shouldDropItemsOnExplosion, sideCoversSmallSquare, spawnBreakParticles, toStringMethods inherited from class net.minecraft.block.AbstractBlockcalcBlockBreakingDelta, canBucketPlace, canPathfindThrough, canPlaceAt, canReplace, createCodec, createScreenHandlerFactory, createSettingsCodec, emitsRedstonePower, getAmbientOcclusionLightLevel, getCameraCollisionShape, getCollisionShape, getComparatorOutput, getCullingShape, getDefaultMapColor, getDroppedStacks, getFluidState, getHardness, getLootTableId, getMaxHorizontalModelOffset, getOpacity, getRaycastShape, getRenderingSeed, getRenderType, getRequiredFeatures, getSettings, getSidesShape, getStateForNeighborUpdate, getStrongRedstonePower, getVerticalModelOffsetMultiplier, getWeakRedstonePower, hasComparatorOutput, hasSidedTransparency, isCullingShapeFullCube, isShapeFullCube, isSideInvisible, mirror, neighborUpdate, onBlockAdded, onBlockBreakStart, onEntityCollision, onExploded, onProjectileHit, onStacksDropped, onStateReplaced, onSyncedBlockEvent, onUse, prepare, randomTick, rotate, scheduledTickMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface net.minecraft.resource.featuretoggle.ToggleableFeatureisEnabled
- 
Field Details- 
FACINGS- Mappings:
- Namespace - Name - Mixin selector - official - a- Ldcd;a:[Lic;- 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 - b- Ldcd;b:Ldjy;- 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 - c- Ldcd;c:Ldjy;- 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 - d- Ldcd;d:Ldjy;- 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 - e- Ldcd;e:Ldjy;- 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 - f- Ldcd;f:Ldjy;- 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 - g- Ldcd;g:Ldjy;- 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 - h- Ldcd;h: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;
 
- 
facingsToShape- Mappings:
- Namespace - Name - Mixin selector - official - i- Ldcd;i:[Lemm;- intermediary - field_11333- Lnet/minecraft/class_2429;field_11333:[Lnet/minecraft/class_265;- named - facingsToShape- Lnet/minecraft/block/ConnectingBlock;facingsToShape:[Lnet/minecraft/util/shape/VoxelShape;
 
 
- 
- 
Constructor Details- 
ConnectingBlock- Mappings:
- Namespace - Name - Mixin selector - official - <init>- Ldcd;<init>(FLdjg$d;)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- 
getCodec- Overrides:
- getCodecin class- Block
- Mappings:
- Namespace - Name - Mixin selector - official - a- Ldjg;a()Lcom/mojang/serialization/MapCodec;- intermediary - method_53969- Lnet/minecraft/class_4970;method_53969()Lcom/mojang/serialization/MapCodec;- named - getCodec- Lnet/minecraft/block/AbstractBlock;getCodec()Lcom/mojang/serialization/MapCodec;
 
- 
generateFacingsToShapeMap- Mappings:
- Namespace - Name - Mixin selector - official - a- Ldcd;a(F)[Lemm;- 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;
 
- 
isTransparent- Overrides:
- isTransparentin class- Block
- Mappings:
- Namespace - Name - Mixin selector - official - a_- Lcwq;a_(Ldjh;Lcsv;Lhx;)Z- intermediary - method_9579- Lnet/minecraft/class_2248;method_9579(Lnet/minecraft/class_2680;Lnet/minecraft/class_1922;Lnet/minecraft/class_2338;)Z- named - isTransparent- Lnet/minecraft/block/Block;isTransparent(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/BlockView;Lnet/minecraft/util/math/BlockPos;)Z
 
- 
getOutlineShapepublic VoxelShape getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context) - Overrides:
- getOutlineShapein class- AbstractBlock
- Mappings:
- Namespace - Name - Mixin selector - official - a- Ldjg;a(Ldjh;Lcsv;Lhx;Lely;)Lemm;- 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- Ldcd;h(Ldjh;)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
 
 
-