Package net.minecraft.block
Class KelpPlantBlock
java.lang.Object
net.minecraft.block.AbstractBlock
net.minecraft.block.Block
net.minecraft.block.AbstractPlantPartBlock
net.minecraft.block.AbstractPlantBlock
net.minecraft.block.KelpPlantBlock
- All Implemented Interfaces:
- Fertilizable,- FluidFillable,- ItemConvertible,- ToggleableFeature
- Mappings:
- Namespace - Name - named - net/minecraft/block/KelpPlantBlock- intermediary - net/minecraft/class_2391- official - dnu
- 
Nested Class SummaryNested classes/interfaces inherited from class net.minecraft.block.AbstractBlockAbstractBlock.AbstractBlockState, AbstractBlock.ContextPredicate, AbstractBlock.Offsetter, AbstractBlock.OffsetType, AbstractBlock.Settings, AbstractBlock.TypedContextPredicate<A>Nested classes/interfaces inherited from interface net.minecraft.block.FertilizableFertilizable.FertilizableType
- 
Field SummaryFieldsFields inherited from class net.minecraft.block.AbstractPlantPartBlockgrowthDirection, outlineShape, tickWaterFields inherited from class net.minecraft.block.Blockfield_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, SKIP_REDSTONE_WIRE_STATE_REPLACEMENT, STATE_IDS, stateManagerFields inherited from class net.minecraft.block.AbstractBlockcollidable, DIRECTIONS, dynamicBounds, jumpVelocityMultiplier, lootTableKey, randomTicks, requiredFeatures, resistance, settings, slipperiness, soundGroup, translationKey, velocityMultiplierFields inherited from interface net.minecraft.resource.featuretoggle.ToggleableFeatureFEATURE_ENABLED_REGISTRY_KEYS
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionprotected booleancanAttachTo(BlockState state) booleancanFillWithFluid(@Nullable PlayerEntity player, BlockView world, BlockPos pos, BlockState state, Fluid fluid) com.mojang.serialization.MapCodec<KelpPlantBlock> getCodec()protected FluidStategetFluidState(BlockState state) Returns the state's associated fluid state.protected AbstractPlantStemBlockgetStem()booleantryFillWithFluid(WorldAccess world, BlockPos pos, BlockState state, FluidState fluidState) Methods inherited from class net.minecraft.block.AbstractPlantBlockcanGrow, canReplace, copyState, getPickStack, getPlant, getStateForNeighborUpdate, grow, isFertilizableMethods inherited from class net.minecraft.block.AbstractPlantPartBlockcanPlaceAt, getOutlineShape, getPlacementState, getRandomGrowthState, scheduledTickMethods 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, getRawIdFromState, getRegistryEntry, getShapesForStates, 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.AbstractBlockcalcBlockBreakingDelta, canBucketPlace, canPathfindThrough, createCodec, createScreenHandlerFactory, createSettingsCodec, emitsRedstonePower, getAmbientOcclusionLightLevel, getCameraCollisionShape, getCollisionShape, getComparatorOutput, getCullingShape, getDefaultMapColor, getDroppedStacks, getHardness, getInsideCollisionShape, getLootTableKey, getMaxHorizontalModelOffset, getOpacity, getRaycastShape, getRenderingSeed, getRenderType, getRequiredFeatures, getSettings, getSidesShape, getSoundGroup, getStrongRedstonePower, getTranslationKey, getVerticalModelOffsetMultiplier, getWeakRedstonePower, hasComparatorOutput, hasRandomTicks, hasSidedTransparency, isShapeFullCube, isSideInvisible, isTransparent, mirror, neighborUpdate, onBlockAdded, onBlockBreakStart, onEntityCollision, onExploded, onProjectileHit, onStacksDropped, onStateReplaced, onSyncedBlockEvent, onUse, onUseWithItem, prepare, randomTick, rotateMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface net.minecraft.block.FertilizablegetFertilizableType, getFertilizeParticlePosMethods inherited from interface net.minecraft.resource.featuretoggle.ToggleableFeatureisEnabled
- 
Field Details- 
CODEC- Mappings:
- Namespace - Name - Mixin selector - named - CODEC- Lnet/minecraft/block/KelpPlantBlock;CODEC:Lcom/mojang/serialization/MapCodec;- intermediary - field_46379- Lnet/minecraft/class_2391;field_46379:Lcom/mojang/serialization/MapCodec;- official - c- Ldnu;c:Lcom/mojang/serialization/MapCodec;
 
 
- 
- 
Constructor Details- 
KelpPlantBlock- Mappings:
- Namespace - Name - Mixin selector - named - <init>- Lnet/minecraft/block/AbstractBlock;<init>(Lnet/minecraft/block/AbstractBlock$Settings;)V- intermediary - <init>- Lnet/minecraft/class_4970;<init>(Lnet/minecraft/class_4970$class_2251;)V- official - <init>- Ldwx;<init>(Ldwx$d;)V
 
 
- 
- 
Method Details- 
getCodec- Specified by:
- getCodecin class- AbstractPlantBlock
- 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- Ldwx;a()Lcom/mojang/serialization/MapCodec;
 
- 
getStem- Specified by:
- getStemin class- AbstractPlantPartBlock
- Mappings:
- Namespace - Name - Mixin selector - named - getStem- Lnet/minecraft/block/AbstractPlantPartBlock;getStem()Lnet/minecraft/block/AbstractPlantStemBlock;- intermediary - method_24945- Lnet/minecraft/class_4863;method_24945()Lnet/minecraft/class_4865;- official - c- Ldnb;c()Ldnd;
 
- 
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_- Ldwx;b_(Ldwy;)Leta;
 
- 
canAttachTo- Overrides:
- canAttachToin class- AbstractPlantPartBlock
- Mappings:
- Namespace - Name - Mixin selector - named - canAttachTo- Lnet/minecraft/block/AbstractPlantPartBlock;canAttachTo(Lnet/minecraft/block/BlockState;)Z- intermediary - method_24947- Lnet/minecraft/class_4863;method_24947(Lnet/minecraft/class_2680;)Z- official - o- Ldnb;o(Ldwy;)Z
 
- 
canFillWithFluidpublic boolean canFillWithFluid(@Nullable @Nullable PlayerEntity player, BlockView world, BlockPos pos, BlockState state, Fluid fluid) - Specified by:
- canFillWithFluidin interface- FluidFillable
- Mappings:
- Namespace - Name - Mixin selector - named - canFillWithFluid- Lnet/minecraft/block/FluidFillable;canFillWithFluid(Lnet/minecraft/entity/player/PlayerEntity;Lnet/minecraft/world/BlockView;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;Lnet/minecraft/fluid/Fluid;)Z- intermediary - method_10310- Lnet/minecraft/class_2402;method_10310(Lnet/minecraft/class_1657;Lnet/minecraft/class_1922;Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;Lnet/minecraft/class_3611;)Z- official - a- Ldog;a(Lcoy;Ldfo;Lji;Ldwy;Lesz;)Z
 
- 
tryFillWithFluidpublic boolean tryFillWithFluid(WorldAccess world, BlockPos pos, BlockState state, FluidState fluidState) - Specified by:
- tryFillWithFluidin interface- FluidFillable
- Mappings:
- Namespace - Name - Mixin selector - named - tryFillWithFluid- Lnet/minecraft/block/FluidFillable;tryFillWithFluid(Lnet/minecraft/world/WorldAccess;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;Lnet/minecraft/fluid/FluidState;)Z- intermediary - method_10311- Lnet/minecraft/class_2402;method_10311(Lnet/minecraft/class_1936;Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;Lnet/minecraft/class_3610;)Z- official - a- Ldog;a(Ldgk;Lji;Ldwy;Leta;)Z
 
 
-