net.minecraft.world.level.block

public class KelpPlantBlock

extends GrowingPlantBodyBlock implements LiquidBlockContainer

All mapped superinterfaces:

FeatureElement, ItemLike, BonemealableBlock, LiquidBlockContainer

dkd
net.minecraft.world.level.block.KelpPlantBlock
net.minecraft.class_2391
net.minecraft.block.KelpPlantBlock
net.minecraft.src.C_1822_
net.minecraft.world.level.block.BlockKelpPlant

Field summary

Modifier and TypeField
public static final com.mojang.serialization.MapCodec<KelpPlantBlock>
c
CODEC
field_46379
CODEC
f_303832_

Constructor summary

ModifierConstructor
protected (BlockBehaviour$Properties arg0)

Method summary

Modifier and TypeMethod
public com.mojang.serialization.MapCodec<KelpPlantBlock>
a()
codec()
method_53969()
getCodec()
m_304657_()
protected GrowingPlantHeadBlock
c()
getHeadBlock()
method_24945()
getStem()
m_7272_()
protected FluidState
b_(dtc arg0)
getFluidState(BlockState arg0)
method_9545(class_2680 arg0)
getFluidState(BlockState arg0)
m_5888_(C_2064_ arg0)
protected boolean
m(dtc arg0)
canAttachTo(BlockState arg0)
method_24947(class_2680 arg0)
canAttachTo(BlockState arg0)
m_142209_(C_2064_ arg0)
public boolean
a(cmx arg0, dcc arg1, jd arg2, dtc arg3, epd arg4)
canPlaceLiquid(Player arg0, BlockGetter arg1, BlockPos arg2, BlockState arg3, Fluid arg4)
method_10310(class_1657 arg0, class_1922 arg1, class_2338 arg2, class_2680 arg3, class_3611 arg4)
canFillWithFluid(PlayerEntity arg0, BlockView arg1, BlockPos arg2, BlockState arg3, Fluid arg4)
m_6044_(C_1141_ p_54325_, C_1559_ p_54326_, C_4675_ p_54327_, C_2064_ p_54328_, C_2690_ arg4)
public boolean
a(dcx arg0, jd arg1, dtc arg2, epe 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_54331_, C_4675_ p_54332_, C_2064_ p_54333_, C_2691_ arg3)