net.minecraft.world.level.block

public class KelpBlock

extends GrowingPlantHeadBlock implements LiquidBlockContainer

All mapped superinterfaces:

FeatureElement, ItemLike, BonemealableBlock, LiquidBlockContainer

dqb
net.minecraft.world.level.block.KelpBlock
net.minecraft.class_2393
net.minecraft.block.KelpBlock

Field summary

Modifier and TypeField
public static final com.mojang.serialization.MapCodec<KelpBlock>
c
CODEC
field_46378
CODEC
private static final double
g
GROW_PER_TICK_PROBABILITY
field_31105
GROWTH_CHANCE
private static final VoxelShape
h
SHAPE
field_11195
SHAPE

Constructor summary

ModifierConstructor
protected (BlockBehaviour$Properties arg0)

Method summary

Modifier and TypeMethod
public com.mojang.serialization.MapCodec<KelpBlock>
a()
codec()
method_53969()
getCodec()
protected boolean
h(dzo arg0)
canGrowInto(BlockState arg0)
method_24949(class_2680 arg0)
chooseStemState(BlockState arg0)
protected Block
b()
getBodyBlock()
method_24946()
getPlant()
protected boolean
o(dzo arg0)
canAttachTo(BlockState arg0)
method_24947(class_2680 arg0)
canAttachTo(BlockState arg0)
public boolean
a(bwz arg0, dhv arg1, iu arg2, dzo arg3, evu arg4)
canPlaceLiquid(LivingEntity arg0, BlockGetter arg1, BlockPos arg2, BlockState arg3, Fluid arg4)
method_10310(class_1309 arg0, class_1922 arg1, class_2338 arg2, class_2680 arg3, class_3611 arg4)
canFillWithFluid(LivingEntity arg0, BlockView arg1, BlockPos arg2, BlockState arg3, Fluid arg4)
public boolean
a(diq arg0, iu arg1, dzo arg2, evv 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)
protected int
a(azt arg0)
getBlocksToGrowWhenBonemealed(RandomSource arg0)
method_26376(class_5819 arg0)
getGrowthLength(Random arg0)
public BlockState
a(dcl arg0)
getStateForPlacement(BlockPlaceContext arg0)
method_9605(class_1750 arg0)
getPlacementState(ItemPlacementContext arg0)
protected FluidState
b_(dzo arg0)
getFluidState(BlockState arg0)
method_9545(class_2680 arg0)
getFluidState(BlockState arg0)