net.minecraft.world.level.block

public class KelpBlock

extends GrowingPlantHeadBlock implements LiquidBlockContainer

All mapped superinterfaces:

FeatureElement, ItemLike, BonemealableBlock, LiquidBlockContainer

cto
net.minecraft.world.level.block.KelpBlock
net.minecraft.class_2393
net.minecraft.block.KelpBlock
net.minecraft.src.C_1821_
net.minecraft.world.level.block.BlockKelp

Field summary

Modifier and TypeField
protected static final VoxelShape
f
SHAPE
field_11195
SHAPE
f_54297_
private static final double
g
GROW_PER_TICK_PROBABILITY
field_31105
GROWTH_CHANCE
f_153453_

Constructor summary

ModifierConstructor
protected (BlockBehaviour$Properties arg0)

Method summary

Modifier and TypeMethod
protected boolean
g(dcb arg0)
canGrowInto(BlockState arg0)
method_24949(class_2680 arg0)
chooseStemState(BlockState arg0)
m_5971_(C_2064_ arg0)
protected Block
a()
getBodyBlock()
method_24946()
getPlant()
m_7777_()
protected boolean
h(dcb arg0)
canAttachTo(BlockState arg0)
method_24947(class_2680 arg0)
canAttachTo(BlockState arg0)
m_142209_(C_2064_ arg0)
public boolean
a(cls arg0, gu arg1, dcb arg2, dxd arg3)
canPlaceLiquid(BlockGetter arg0, BlockPos arg1, BlockState arg2, Fluid arg3)
method_10310(class_1922 arg0, class_2338 arg1, class_2680 arg2, class_3611 arg3)
canFillWithFluid(BlockView arg0, BlockPos arg1, BlockState arg2, Fluid arg3)
m_6044_(C_1559_ p_54305_, C_4675_ p_54306_, C_2064_ p_54307_, C_2690_ arg3)
public boolean
a(cmn arg0, gu arg1, dcb arg2, dxe arg3)
placeLiquid(LevelAccessor arg0, BlockPos arg1, BlockState arg2, FluidState arg3)
method_10311(class_1936 arg0, class_2338 arg1, class_2680 arg2, class_3610 arg3)
tryFillWithFluid(WorldAccess arg0, BlockPos arg1, BlockState arg2, FluidState arg3)
m_7361_(C_1598_ p_54310_, C_4675_ p_54311_, C_2064_ p_54312_, C_2691_ arg3)
protected int
a(apf arg0)
getBlocksToGrowWhenBonemealed(RandomSource arg0)
method_26376(class_5819 arg0)
getGrowthLength(Random arg0)
m_213627_(C_212974_ arg0)
public BlockState
a(cih arg0)
getStateForPlacement(BlockPlaceContext arg0)
method_9605(class_1750 arg0)
getPlacementState(ItemPlacementContext arg0)
m_5573_(C_1445_ arg0)
public FluidState
c_(dcb arg0)
getFluidState(BlockState arg0)
method_9545(class_2680 arg0)
getFluidState(BlockState arg0)
m_5888_(C_2064_ arg0)