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 intermediary net/minecraft/class_2429official cuwnamed 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.Offsetter, AbstractBlock.OffsetType, AbstractBlock.Settings, AbstractBlock.TypedContextPredicate<A> -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final VoxelShape[]static final BooleanPropertystatic final BooleanPropertystatic final Map<Direction,BooleanProperty> private static final Direction[]static final BooleanPropertystatic final BooleanPropertystatic final BooleanPropertystatic final BooleanPropertyFields inherited from class net.minecraft.block.Block
field_31022, field_31023, field_31024, field_31025, field_31035, FORCE_STATE, MOVED, NO_REDRAW, NOTIFY_ALL, NOTIFY_LISTENERS, NOTIFY_NEIGHBORS, REDRAW_ON_MAIN_THREAD, SKIP_DROPS, STATE_IDS, stateManagerFields inherited from class net.minecraft.block.AbstractBlock
collidable, DIRECTIONS, dynamicBounds, jumpVelocityMultiplier, lootTableId, randomTicks, requiredFeatures, resistance, settings, slipperiness, soundGroup, 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 VoxelShape[]generateFacingsToShapeMap(float radius) 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.Block
afterBreak, 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.AbstractBlock
calcBlockBreakingDelta, canBucketPlace, canPathfindThrough, canPlaceAt, canReplace, createScreenHandlerFactory, emitsRedstonePower, getAmbientOcclusionLightLevel, getCameraCollisionShape, getCollisionShape, getComparatorOutput, getCullingShape, getDefaultMapColor, getDroppedStacks, getFluidState, getHardness, getLootTableId, getMaxHorizontalModelOffset, getOpacity, getRaycastShape, getRenderingSeed, getRenderType, getRequiredFeatures, getSidesShape, getStateForNeighborUpdate, getStrongRedstonePower, getVerticalModelOffsetMultiplier, getWeakRedstonePower, hasComparatorOutput, hasSidedTransparency, isCullingShapeFullCube, isShapeFullCube, isSideInvisible, mirror, neighborUpdate, onBlockAdded, onBlockBreakStart, onEntityCollision, onProjectileHit, onStacksDropped, onStateReplaced, onSyncedBlockEvent, onUse, 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
-
FACINGS
- Mappings:
Namespace Name Mixin selector intermediary field_11334Lnet/minecraft/class_2429;field_11334:[Lnet/minecraft/class_2350;official iLcuw;i:[Lha;named FACINGSLnet/minecraft/block/ConnectingBlock;FACINGS:[Lnet/minecraft/util/math/Direction;
-
NORTH
- Mappings:
Namespace Name Mixin selector intermediary field_11332Lnet/minecraft/class_2429;field_11332:Lnet/minecraft/class_2746;official aLcuw;a:Ldcp;named NORTHLnet/minecraft/block/ConnectingBlock;NORTH:Lnet/minecraft/state/property/BooleanProperty;
-
EAST
- Mappings:
Namespace Name Mixin selector intermediary field_11335Lnet/minecraft/class_2429;field_11335:Lnet/minecraft/class_2746;official bLcuw;b:Ldcp;named EASTLnet/minecraft/block/ConnectingBlock;EAST:Lnet/minecraft/state/property/BooleanProperty;
-
SOUTH
- Mappings:
Namespace Name Mixin selector intermediary field_11331Lnet/minecraft/class_2429;field_11331:Lnet/minecraft/class_2746;official cLcuw;c:Ldcp;named SOUTHLnet/minecraft/block/ConnectingBlock;SOUTH:Lnet/minecraft/state/property/BooleanProperty;
-
WEST
- Mappings:
Namespace Name Mixin selector intermediary field_11328Lnet/minecraft/class_2429;field_11328:Lnet/minecraft/class_2746;official dLcuw;d:Ldcp;named WESTLnet/minecraft/block/ConnectingBlock;WEST:Lnet/minecraft/state/property/BooleanProperty;
-
UP
- Mappings:
Namespace Name Mixin selector intermediary field_11327Lnet/minecraft/class_2429;field_11327:Lnet/minecraft/class_2746;official eLcuw;e:Ldcp;named UPLnet/minecraft/block/ConnectingBlock;UP:Lnet/minecraft/state/property/BooleanProperty;
-
DOWN
- Mappings:
Namespace Name Mixin selector intermediary field_11330Lnet/minecraft/class_2429;field_11330:Lnet/minecraft/class_2746;official fLcuw;f:Ldcp;named DOWNLnet/minecraft/block/ConnectingBlock;DOWN:Lnet/minecraft/state/property/BooleanProperty;
-
FACING_PROPERTIES
- Mappings:
Namespace Name Mixin selector intermediary field_11329Lnet/minecraft/class_2429;field_11329:Ljava/util/Map;official gLcuw;g:Ljava/util/Map;named FACING_PROPERTIESLnet/minecraft/block/ConnectingBlock;FACING_PROPERTIES:Ljava/util/Map;
-
connectionsToShape
- Mappings:
Namespace Name Mixin selector intermediary field_11333Lnet/minecraft/class_2429;field_11333:[Lnet/minecraft/class_265;official hLcuw;h:[Leet;named connectionsToShapeLnet/minecraft/block/ConnectingBlock;connectionsToShape:[Lnet/minecraft/util/shape/VoxelShape;
-
-
Constructor Details
-
ConnectingBlock
- Mappings:
Namespace Name Mixin selector intermediary <init>Lnet/minecraft/class_2429;<init>(FLnet/minecraft/class_4970$class_2251;)Vofficial <init>Lcuw;<init>(FLdbx$d;)Vnamed <init>Lnet/minecraft/block/ConnectingBlock;<init>(FLnet/minecraft/block/AbstractBlock$Settings;)V
-
-
Method Details
-
generateFacingsToShapeMap
- Mappings:
Namespace Name Mixin selector intermediary method_10370Lnet/minecraft/class_2429;method_10370(F)[Lnet/minecraft/class_265;official aLcuw;a(F)[Leet;named generateFacingsToShapeMapLnet/minecraft/block/ConnectingBlock;generateFacingsToShapeMap(F)[Lnet/minecraft/util/shape/VoxelShape;
-
isTransparent
- Overrides:
isTransparentin classBlock- Mappings:
Namespace Name Mixin selector intermediary method_9579Lnet/minecraft/class_2248;method_9579(Lnet/minecraft/class_2680;Lnet/minecraft/class_1922;Lnet/minecraft/class_2338;)Zofficial cLcpl;c(Ldby;Lclq;Lgu;)Znamed isTransparentLnet/minecraft/block/Block;isTransparent(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 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 aLdbx;a(Ldby;Lclq;Lgu;Leef;)Leet;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 intermediary method_10368Lnet/minecraft/class_2429;method_10368(Lnet/minecraft/class_2680;)Iofficial hLcuw;h(Ldby;)Inamed getConnectionMaskLnet/minecraft/block/ConnectingBlock;getConnectionMask(Lnet/minecraft/block/BlockState;)I
-