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 named net/minecraft/block/ConnectingBlockintermediary net/minecraft/class_2429official dti
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.block.AbstractBlock
AbstractBlock.AbstractBlockState, AbstractBlock.ContextPredicate, AbstractBlock.Offsetter, AbstractBlock.OffsetType, AbstractBlock.Settings, AbstractBlock.TypedContextPredicate<A> -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final BooleanPropertystatic final BooleanPropertystatic final Map<Direction, BooleanProperty> static final BooleanPropertyprivate final Function<BlockState, VoxelShape> static final BooleanPropertystatic final BooleanPropertystatic final BooleanPropertyFields inherited from class net.minecraft.block.Block
CODEC, field_31023, field_31024, field_31025, FORCE_STATE, FORCE_STATE_AND_SKIP_CALLBACKS_AND_DROPS, MOVED, NO_REDRAW, NOTIFY_ALL, NOTIFY_ALL_AND_REDRAW, NOTIFY_LISTENERS, NOTIFY_NEIGHBORS, REDRAW_ON_MAIN_THREAD, SKIP_BLOCK_ADDED_CALLBACK, SKIP_BLOCK_ENTITY_REPLACED_CALLBACK, SKIP_DROPS, SKIP_REDRAW_AND_BLOCK_ENTITY_REPLACED_CALLBACK, SKIP_REDSTONE_WIRE_STATE_REPLACEMENT, STATE_IDS, stateManagerFields inherited from class net.minecraft.block.AbstractBlock
collidable, DIRECTIONS, dynamicBounds, jumpVelocityMultiplier, lootTableKey, randomTicks, requiredFeatures, resistance, settings, slipperiness, soundGroup, translationKey, velocityMultiplierFields inherited from interface net.minecraft.resource.featuretoggle.ToggleableFeature
FEATURE_ENABLED_REGISTRY_KEYS -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedConnectingBlock(float radius, AbstractBlock.Settings settings) -
Method Summary
Modifier and TypeMethodDescriptionprivate Function<BlockState, VoxelShape> createShapeFunction(float radius) protected abstract com.mojang.serialization.MapCodec<? extends ConnectingBlock> getCodec()protected VoxelShapegetOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context) protected booleanisTransparent(BlockState state) Methods inherited from class net.minecraft.block.Block
afterBreak, appendProperties, asBlock, asItem, canMobSpawnInside, cannotConnect, createColumnShape, createColumnShape, createCubeShape, createCuboidShape, createCuboidShape, createCuboidZShape, createCuboidZShape, createCuboidZShape, createShapeArray, createShapeFunction, createShapeFunction, dropExperience, dropExperienceWhenMined, dropStack, dropStack, dropStacks, dropStacks, dropStacks, getBlastResistance, getBlockFromItem, getDefaultState, getDroppedStacks, getDroppedStacks, getJumpVelocityMultiplier, getName, getPlacementState, getRawIdFromState, getRegistryEntry, getSlipperiness, getStateFromRawId, getStateManager, getStateWithProperties, 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.AbstractBlock
calcBlockBreakingDelta, canBucketPlace, canPathfindThrough, canPlaceAt, canReplace, createCodec, createScreenHandlerFactory, createSettingsCodec, emitsRedstonePower, getAmbientOcclusionLightLevel, getCameraCollisionShape, getCollisionShape, getComparatorOutput, getCullingShape, getDefaultMapColor, getDroppedStacks, getFluidState, getHardness, getInsideCollisionShape, getLootTableKey, getMaxHorizontalModelOffset, getOpacity, getPickStack, getRaycastShape, getRenderingSeed, getRenderType, getRequiredFeatures, getSettings, getSidesShape, getSoundGroup, getStateForNeighborUpdate, getStrongRedstonePower, getTranslationKey, getVerticalModelOffsetMultiplier, getWeakRedstonePower, hasComparatorOutput, hasRandomTicks, hasSidedTransparency, isShapeFullCube, isSideInvisible, mirror, neighborUpdate, onBlockAdded, onBlockBreakStart, onEntityCollision, onExploded, onProjectileHit, onStacksDropped, onStateReplaced, onSyncedBlockEvent, onUse, onUseWithItem, prepare, randomTick, rotate, scheduledTickMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface net.minecraft.resource.featuretoggle.ToggleableFeature
isEnabled
-
Field Details
-
NORTH
- Mappings:
Namespace Name Mixin selector named NORTHLnet/minecraft/block/ConnectingBlock;NORTH:Lnet/minecraft/state/property/BooleanProperty;intermediary field_11332Lnet/minecraft/class_2429;field_11332:Lnet/minecraft/class_2746;official bLdti;b:Lech;
-
EAST
- Mappings:
Namespace Name Mixin selector named EASTLnet/minecraft/block/ConnectingBlock;EAST:Lnet/minecraft/state/property/BooleanProperty;intermediary field_11335Lnet/minecraft/class_2429;field_11335:Lnet/minecraft/class_2746;official cLdti;c:Lech;
-
SOUTH
- Mappings:
Namespace Name Mixin selector named SOUTHLnet/minecraft/block/ConnectingBlock;SOUTH:Lnet/minecraft/state/property/BooleanProperty;intermediary field_11331Lnet/minecraft/class_2429;field_11331:Lnet/minecraft/class_2746;official dLdti;d:Lech;
-
WEST
- Mappings:
Namespace Name Mixin selector named WESTLnet/minecraft/block/ConnectingBlock;WEST:Lnet/minecraft/state/property/BooleanProperty;intermediary field_11328Lnet/minecraft/class_2429;field_11328:Lnet/minecraft/class_2746;official eLdti;e:Lech;
-
UP
- Mappings:
Namespace Name Mixin selector named UPLnet/minecraft/block/ConnectingBlock;UP:Lnet/minecraft/state/property/BooleanProperty;intermediary field_11327Lnet/minecraft/class_2429;field_11327:Lnet/minecraft/class_2746;official fLdti;f:Lech;
-
DOWN
- Mappings:
Namespace Name Mixin selector named DOWNLnet/minecraft/block/ConnectingBlock;DOWN:Lnet/minecraft/state/property/BooleanProperty;intermediary field_11330Lnet/minecraft/class_2429;field_11330:Lnet/minecraft/class_2746;official gLdti;g:Lech;
-
FACING_PROPERTIES
- Mappings:
Namespace Name Mixin selector named FACING_PROPERTIESLnet/minecraft/block/ConnectingBlock;FACING_PROPERTIES:Ljava/util/Map;intermediary field_11329Lnet/minecraft/class_2429;field_11329:Ljava/util/Map;official hLdti;h:Ljava/util/Map;
-
shapeFunction
- Mappings:
Namespace Name Mixin selector named shapeFunctionLnet/minecraft/block/ConnectingBlock;shapeFunction:Ljava/util/function/Function;intermediary field_55782Lnet/minecraft/class_2429;field_55782:Ljava/util/function/Function;official aLdti;a:Ljava/util/function/Function;
-
-
Constructor Details
-
ConnectingBlock
- Mappings:
Namespace Name Mixin selector named <init>Lnet/minecraft/block/ConnectingBlock;<init>(FLnet/minecraft/block/AbstractBlock$Settings;)Vintermediary <init>Lnet/minecraft/class_2429;<init>(FLnet/minecraft/class_4970$class_2251;)Vofficial <init>Ldti;<init>(FLebp$d;)V
-
-
Method Details
-
getCodec
- Overrides:
getCodecin classBlock- Mappings:
Namespace Name Mixin selector named getCodecLnet/minecraft/block/AbstractBlock;getCodec()Lcom/mojang/serialization/MapCodec;intermediary method_53969Lnet/minecraft/class_4970;method_53969()Lcom/mojang/serialization/MapCodec;official aLebp;a()Lcom/mojang/serialization/MapCodec;
-
createShapeFunction
- Mappings:
Namespace Name Mixin selector named createShapeFunctionLnet/minecraft/block/ConnectingBlock;createShapeFunction(F)Ljava/util/function/Function;intermediary method_10370Lnet/minecraft/class_2429;method_10370(F)Ljava/util/function/Function;official aLdti;a(F)Ljava/util/function/Function;
-
isTransparent
- Overrides:
isTransparentin classAbstractBlock- Mappings:
Namespace Name Mixin selector named isTransparentLnet/minecraft/block/AbstractBlock;isTransparent(Lnet/minecraft/block/BlockState;)Zintermediary method_9579Lnet/minecraft/class_4970;method_9579(Lnet/minecraft/class_2680;)Zofficial e_Lebp;e_(Lebq;)Z
-
getOutlineShape
protected VoxelShape getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context) - Overrides:
getOutlineShapein classAbstractBlock- See Also:
- Mappings:
Namespace Name Mixin selector 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;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;official aLebp;a(Lebq;Ldjn;Liw;Lfgh;)Lfgw;
-