Package net.minecraft.block
Class HorizontalConnectingBlock
java.lang.Object
net.minecraft.block.AbstractBlock
net.minecraft.block.Block
net.minecraft.block.HorizontalConnectingBlock
- All Implemented Interfaces:
- FluidDrainable,- FluidFillable,- Waterloggable,- ItemConvertible,- ToggleableFeature
- Direct Known Subclasses:
- FenceBlock,- PaneBlock
- Mappings:
- Namespace - Name - named - net/minecraft/block/HorizontalConnectingBlock- intermediary - net/minecraft/class_2310- official - dgx
- 
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 TypeFieldDescriptionprotected final VoxelShape[]protected final VoxelShape[]static final BooleanPropertyprotected static final Map<Direction, BooleanProperty> static final BooleanPropertyprivate final Object2IntMap<BlockState> static 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, lootTableKey, randomTicks, requiredFeatures, resistance, settings, slipperiness, soundGroup, velocityMultiplierFields inherited from interface net.minecraft.resource.featuretoggle.ToggleableFeatureFEATURE_ENABLED_REGISTRY_KEYS
- 
Constructor SummaryConstructorsModifierConstructorDescriptionprotectedHorizontalConnectingBlock(float radius1, float radius2, float boundingHeight1, float boundingHeight2, float collisionHeight, AbstractBlock.Settings settings) 
- 
Method SummaryModifier and TypeMethodDescriptionprotected booleancanPathfindThrough(BlockState state, NavigationType type) Returns if an entity using navigation typetypecan navigate through this block.protected VoxelShape[]createShapes(float radius1, float radius2, float height1, float offset2, float height2) protected abstract com.mojang.serialization.MapCodec<? extends HorizontalConnectingBlock> getCodec()protected VoxelShapegetCollisionShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context) private static intprotected FluidStategetFluidState(BlockState state) Returns the state's associated fluid state.protected VoxelShapegetOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected intgetShapeIndex(BlockState state) protected booleanisTransparent(BlockState state, BlockView world, BlockPos pos) protected BlockStatemirror(BlockState state, BlockMirror mirror) Returnsstatemirrored bymirror.protected BlockStaterotate(BlockState state, BlockRotation rotation) Returnsstaterotated byrotation.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, getStateFromRawId, getStateManager, getStateWithProperties, getTranslationKey, getVelocityMultiplier, hasDynamicBounds, 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, canPlaceAt, canReplace, createCodec, createScreenHandlerFactory, createSettingsCodec, emitsRedstonePower, getAmbientOcclusionLightLevel, getCameraCollisionShape, getComparatorOutput, getCullingShape, getDefaultMapColor, getDroppedStacks, getHardness, getLootTableKey, getMaxHorizontalModelOffset, getOpacity, getRaycastShape, getRenderingSeed, getRenderType, getRequiredFeatures, getSettings, getSidesShape, getSoundGroup, getStateForNeighborUpdate, getStrongRedstonePower, getVerticalModelOffsetMultiplier, getWeakRedstonePower, hasComparatorOutput, hasRandomTicks, hasSidedTransparency, isCullingShapeFullCube, isShapeFullCube, isSideInvisible, neighborUpdate, onBlockAdded, onBlockBreakStart, onEntityCollision, onExploded, onProjectileHit, onStacksDropped, onStateReplaced, onSyncedBlockEvent, onUse, onUseWithItem, prepare, randomTick, scheduledTickMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface net.minecraft.resource.featuretoggle.ToggleableFeatureisEnabledMethods inherited from interface net.minecraft.block.WaterloggablecanFillWithFluid, getBucketFillSound, tryDrainFluid, tryFillWithFluid
- 
Field Details- 
NORTH- Mappings:
- Namespace - Name - Mixin selector - named - NORTH- Lnet/minecraft/block/HorizontalConnectingBlock;NORTH:Lnet/minecraft/state/property/BooleanProperty;- intermediary - field_10905- Lnet/minecraft/class_2310;field_10905:Lnet/minecraft/class_2746;- official - a- Ldgx;a:Ldsv;
 
- 
EAST- Mappings:
- Namespace - Name - Mixin selector - named - EAST- Lnet/minecraft/block/HorizontalConnectingBlock;EAST:Lnet/minecraft/state/property/BooleanProperty;- intermediary - field_10907- Lnet/minecraft/class_2310;field_10907:Lnet/minecraft/class_2746;- official - b- Ldgx;b:Ldsv;
 
- 
SOUTH- Mappings:
- Namespace - Name - Mixin selector - named - SOUTH- Lnet/minecraft/block/HorizontalConnectingBlock;SOUTH:Lnet/minecraft/state/property/BooleanProperty;- intermediary - field_10904- Lnet/minecraft/class_2310;field_10904:Lnet/minecraft/class_2746;- official - c- Ldgx;c:Ldsv;
 
- 
WEST- Mappings:
- Namespace - Name - Mixin selector - named - WEST- Lnet/minecraft/block/HorizontalConnectingBlock;WEST:Lnet/minecraft/state/property/BooleanProperty;- intermediary - field_10903- Lnet/minecraft/class_2310;field_10903:Lnet/minecraft/class_2746;- official - d- Ldgx;d:Ldsv;
 
- 
WATERLOGGED- Mappings:
- Namespace - Name - Mixin selector - named - WATERLOGGED- Lnet/minecraft/block/HorizontalConnectingBlock;WATERLOGGED:Lnet/minecraft/state/property/BooleanProperty;- intermediary - field_10900- Lnet/minecraft/class_2310;field_10900:Lnet/minecraft/class_2746;- official - e- Ldgx;e:Ldsv;
 
- 
FACING_PROPERTIES- Mappings:
- Namespace - Name - Mixin selector - named - FACING_PROPERTIES- Lnet/minecraft/block/HorizontalConnectingBlock;FACING_PROPERTIES:Ljava/util/Map;- intermediary - field_10902- Lnet/minecraft/class_2310;field_10902:Ljava/util/Map;- official - f- Ldgx;f:Ljava/util/Map;
 
- 
collisionShapes- Mappings:
- Namespace - Name - Mixin selector - named - collisionShapes- Lnet/minecraft/block/HorizontalConnectingBlock;collisionShapes:[Lnet/minecraft/util/shape/VoxelShape;- intermediary - field_10901- Lnet/minecraft/class_2310;field_10901:[Lnet/minecraft/class_265;- official - g- Ldgx;g:[Lewm;
 
- 
boundingShapes- Mappings:
- Namespace - Name - Mixin selector - named - boundingShapes- Lnet/minecraft/block/HorizontalConnectingBlock;boundingShapes:[Lnet/minecraft/util/shape/VoxelShape;- intermediary - field_10906- Lnet/minecraft/class_2310;field_10906:[Lnet/minecraft/class_265;- official - h- Ldgx;h:[Lewm;
 
- 
SHAPE_INDEX_CACHE- Mappings:
- Namespace - Name - Mixin selector - named - SHAPE_INDEX_CACHE- Lnet/minecraft/block/HorizontalConnectingBlock;SHAPE_INDEX_CACHE:Lit/unimi/dsi/fastutil/objects/Object2IntMap;- intermediary - field_19313- Lnet/minecraft/class_2310;field_19313:Lit/unimi/dsi/fastutil/objects/Object2IntMap;- official - i- Ldgx;i:Lit/unimi/dsi/fastutil/objects/Object2IntMap;
 
 
- 
- 
Constructor Details- 
HorizontalConnectingBlockprotected HorizontalConnectingBlock(float radius1, float radius2, float boundingHeight1, float boundingHeight2, float collisionHeight, AbstractBlock.Settings settings) - Mappings:
- Namespace - Name - Mixin selector - named - <init>- Lnet/minecraft/block/HorizontalConnectingBlock;<init>(FFFFFLnet/minecraft/block/AbstractBlock$Settings;)V- intermediary - <init>- Lnet/minecraft/class_2310;<init>(FFFFFLnet/minecraft/class_4970$class_2251;)V- official - <init>- Ldgx;<init>(FFFFFLdsd$d;)V
 
 
- 
- 
Method Details- 
getCodecprotected abstract com.mojang.serialization.MapCodec<? extends HorizontalConnectingBlock> getCodec()- Overrides:
- getCodecin 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- Ldsd;a()Lcom/mojang/serialization/MapCodec;
 
- 
createShapesprotected VoxelShape[] createShapes(float radius1, float radius2, float height1, float offset2, float height2) - Mappings:
- Namespace - Name - Mixin selector - named - createShapes- Lnet/minecraft/block/HorizontalConnectingBlock;createShapes(FFFFF)[Lnet/minecraft/util/shape/VoxelShape;- intermediary - method_9984- Lnet/minecraft/class_2310;method_9984(FFFFF)[Lnet/minecraft/class_265;- official - a- Ldgx;a(FFFFF)[Lewm;
 
- 
isTransparent- Overrides:
- isTransparentin 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_- Ldsd;a_(Ldse;Ldbg;Liz;)Z
 
- 
getOutlineShapeprotected VoxelShape getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context) - Overrides:
- getOutlineShapein 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- Ldsd;a(Ldse;Ldbg;Liz;Levy;)Lewm;
 
- 
getCollisionShapeprotected VoxelShape getCollisionShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context) - Overrides:
- getCollisionShapein class- AbstractBlock
- See Also:
- Mappings:
- Namespace - Name - Mixin selector - named - getCollisionShape- Lnet/minecraft/block/AbstractBlock;getCollisionShape(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/BlockView;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/ShapeContext;)Lnet/minecraft/util/shape/VoxelShape;- intermediary - method_9549- Lnet/minecraft/class_4970;method_9549(Lnet/minecraft/class_2680;Lnet/minecraft/class_1922;Lnet/minecraft/class_2338;Lnet/minecraft/class_3726;)Lnet/minecraft/class_265;- official - b- Ldsd;b(Ldse;Ldbg;Liz;Levy;)Lewm;
 
- 
getDirectionMask- Mappings:
- Namespace - Name - Mixin selector - named - getDirectionMask- Lnet/minecraft/block/HorizontalConnectingBlock;getDirectionMask(Lnet/minecraft/util/math/Direction;)I- intermediary - method_9985- Lnet/minecraft/class_2310;method_9985(Lnet/minecraft/class_2350;)I- official - a- Ldgx;a(Lje;)I
 
- 
getShapeIndex- Mappings:
- Namespace - Name - Mixin selector - named - getShapeIndex- Lnet/minecraft/block/HorizontalConnectingBlock;getShapeIndex(Lnet/minecraft/block/BlockState;)I- intermediary - method_9987- Lnet/minecraft/class_2310;method_9987(Lnet/minecraft/class_2680;)I- official - g- Ldgx;g(Ldse;)I
 
- 
getFluidStateReturns the state's associated fluid state.Waterloggable blocks must override this to return Fluids.WATER.getStill(false)when waterlogged.- Overrides:
- getFluidStatein class- AbstractBlock
- Returns:
- the state's associated fluid state
- See Also:
- Mappings:
- Namespace - Name - Mixin selector - named - getFluidState- Lnet/minecraft/block/AbstractBlock;getFluidState(Lnet/minecraft/block/BlockState;)Lnet/minecraft/fluid/FluidState;- intermediary - method_9545- Lnet/minecraft/class_4970;method_9545(Lnet/minecraft/class_2680;)Lnet/minecraft/class_3610;- official - b_- Ldsd;b_(Ldse;)Lenx;
 
- 
rotateReturnsstaterotated byrotation.By default, this returns the provided block state. - Overrides:
- rotatein class- AbstractBlock
- Returns:
- staterotated by- rotation
- See Also:
- Mappings:
- Namespace - Name - Mixin selector - named - rotate- Lnet/minecraft/block/AbstractBlock;rotate(Lnet/minecraft/block/BlockState;Lnet/minecraft/util/BlockRotation;)Lnet/minecraft/block/BlockState;- intermediary - method_9598- Lnet/minecraft/class_4970;method_9598(Lnet/minecraft/class_2680;Lnet/minecraft/class_2470;)Lnet/minecraft/class_2680;- official - a- Ldsd;a(Ldse;Ldlo;)Ldse;
 
- 
mirrorReturnsstatemirrored bymirror.By default, this returns the provided block state. - Overrides:
- mirrorin class- AbstractBlock
- Returns:
- statemirrored by- mirror
- See Also:
- Mappings:
- Namespace - Name - Mixin selector - named - mirror- Lnet/minecraft/block/AbstractBlock;mirror(Lnet/minecraft/block/BlockState;Lnet/minecraft/util/BlockMirror;)Lnet/minecraft/block/BlockState;- intermediary - method_9569- Lnet/minecraft/class_4970;method_9569(Lnet/minecraft/class_2680;Lnet/minecraft/class_2415;)Lnet/minecraft/class_2680;- official - a- Ldsd;a(Ldse;Ldjy;)Ldse;
 
 
-