net.minecraft.world.level.block

public class SeagrassBlock

extends BushBlock implements BonemealableBlock, LiquidBlockContainer

All mapped superinterfaces:

FeatureElement, ItemLike, BonemealableBlock, LiquidBlockContainer

drn
net.minecraft.world.level.block.SeagrassBlock
net.minecraft.class_2476
net.minecraft.unmapped.C_drblcmxi
net.minecraft.block.SeagrassBlock
net.minecraft.block.SeagrassBlock
net.minecraft.src.C_141227_
net.minecraft.world.level.block.SeagrassBlock

Field summary

Modifier and TypeField
public static final com.mojang.serialization.MapCodec<SeagrassBlock>
a
CODEC
field_46439
f_btqpcvmt
CODEC
CODEC
f_303240_
protected static final float
b
AABB_OFFSET
field_31242
f_xquhdrtj
field_31242
SHAPE_OFFSET
f_154492_
protected static final VoxelShape
c
SHAPE
field_11485
f_timfdcxv
SHAPE
SHAPE
f_154493_

Constructor summary

ModifierConstructor
protected (BlockBehaviour$Properties settings)

Method summary

Modifier and TypeMethod
public com.mojang.serialization.MapCodec<SeagrassBlock>
a()
codec()
method_53969()
m_wrnxumjr()
getCodec()
getCodec()
m_304657_()
protected VoxelShape
a(dxv arg0, dgn arg1, jh arg2, fcd arg3)
getShape(BlockState arg0, BlockGetter arg1, BlockPos arg2, CollisionContext arg3)
method_9530(class_2680 arg0, class_1922 arg1, class_2338 arg2, class_3726 arg3)
m_fqngyjtr(C_txtbiemp arg0, C_peaveboq arg1, C_hynzadkk arg2, C_pbfjvesm arg3)
getOutlineShape(BlockState arg0, BlockView arg1, BlockPos arg2, ShapeContext arg3)
getOutlineShape(BlockState arg0, BlockView arg1, BlockPos arg2, ShapeContext arg3)
m_5940_(C_2064_ p_154526_, C_1559_ p_154527_, C_4675_ p_154528_, C_3051_ arg3)
protected boolean
b(dxv arg0, dgn arg1, jh arg2)
mayPlaceOn(BlockState arg0, BlockGetter arg1, BlockPos arg2)
method_9695(class_2680 arg0, class_1922 arg1, class_2338 arg2)
m_hjbkfomn(C_txtbiemp arg0, C_peaveboq arg1, C_hynzadkk arg2)
canPlantOnTop(BlockState arg0, BlockView arg1, BlockPos arg2)
canPlantOnTop(BlockState arg0, BlockView arg1, BlockPos arg2)
m_6266_(C_2064_ p_154540_, C_1559_ p_154541_, C_4675_ arg2)
public BlockState
a(dbg arg0)
getStateForPlacement(BlockPlaceContext arg0)
method_9605(class_1750 arg0)
m_iwedynhy(C_aiootljq arg0)
getPlacementState(ItemPlacementContext arg0)
getPlacementState(ItemPlacementContext arg0)
m_5573_(C_1445_ arg0)
protected BlockState
a(dxv arg0, dhl arg1, dhx arg2, jh arg3, jm arg4, jh arg5, dxv arg6, bam arg7)
updateShape(BlockState arg0, LevelReader arg1, ScheduledTickAccess arg2, BlockPos arg3, Direction arg4, BlockPos arg5, BlockState arg6, RandomSource arg7)
method_9559(class_2680 arg0, class_4538 arg1, class_10225 arg2, class_2338 arg3, class_2350 arg4, class_2338 arg5, class_2680 arg6, class_5819 arg7)
m_yvunqpeq(C_txtbiemp arg0, C_eemzphbi arg1, C_adoatlrf arg2, C_hynzadkk arg3, C_xpuuihxf arg4, C_hynzadkk arg5, C_txtbiemp arg6, C_rlomrsco arg7)
getStateForNeighborUpdate(BlockState arg0, WorldView arg1, ScheduledTickView arg2, BlockPos arg3, Direction arg4, BlockPos arg5, BlockState arg6, Random arg7)
getStateForNeighborUpdate(BlockState arg0, WorldView arg1, TickSchedulerAccess arg2, BlockPos arg3, Direction arg4, BlockPos arg5, BlockState arg6, RandomGenerator arg7)
m_7417_(C_2064_ p_364898_, C_1599_ p_361517_, C_346056_ p_154534_, C_4675_ p_154531_, C_4687_ p_154535_, C_4675_ p_154532_, C_2064_ p_362464_, C_212974_ arg7)
public boolean
b(dhl arg0, jh arg1, dxv arg2)
isValidBonemealTarget(LevelReader arg0, BlockPos arg1, BlockState arg2)
method_9651(class_4538 arg0, class_2338 arg1, class_2680 arg2)
m_lqjmmujl(C_eemzphbi arg0, C_hynzadkk arg1, C_txtbiemp arg2)
isFertilizable(WorldView arg0, BlockPos arg1, BlockState arg2)
isFertilizable(WorldView arg0, BlockPos arg1, BlockState arg2)
m_7370_(C_1599_ p_154506_, C_4675_ p_154507_, C_2064_ arg2)
public boolean
a(dhi arg0, bam arg1, jh arg2, dxv arg3)
isBonemealSuccess(Level arg0, RandomSource arg1, BlockPos arg2, BlockState arg3)
method_9650(class_1937 arg0, class_5819 arg1, class_2338 arg2, class_2680 arg3)
m_mxdrxjjx(C_cdctfzbn arg0, C_rlomrsco arg1, C_hynzadkk arg2, C_txtbiemp arg3)
canGrow(World arg0, Random arg1, BlockPos arg2, BlockState arg3)
canFertilize(World arg0, RandomGenerator arg1, BlockPos arg2, BlockState arg3)
m_214167_(C_1596_ p_222429_, C_212974_ p_222430_, C_4675_ p_222431_, C_2064_ arg3)
protected FluidState
b_(dxv arg0)
getFluidState(BlockState arg0)
method_9545(class_2680 arg0)
m_nlstkjhl(C_txtbiemp arg0)
getFluidState(BlockState arg0)
getFluidState(BlockState arg0)
m_5888_(C_2064_ arg0)
public void
a(ash arg0, bam arg1, jh arg2, dxv arg3)
performBonemeal(ServerLevel arg0, RandomSource arg1, BlockPos arg2, BlockState arg3)
method_9652(class_3218 arg0, class_5819 arg1, class_2338 arg2, class_2680 arg3)
m_tbosypih(C_bdwnwhiu arg0, C_rlomrsco arg1, C_hynzadkk arg2, C_txtbiemp arg3)
grow(ServerWorld arg0, Random arg1, BlockPos arg2, BlockState arg3)
fertilize(ServerWorld arg0, RandomGenerator arg1, BlockPos arg2, BlockState arg3)
m_214148_(C_12_ p_222424_, C_212974_ p_222425_, C_4675_ p_222426_, C_2064_ arg3)
public boolean
a(cpx arg0, dgn arg1, jh arg2, dxv arg3, etw 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)
m_wguzozcn(C_jzrpycqo arg0, C_peaveboq arg1, C_hynzadkk arg2, C_txtbiemp arg3, C_rxhyurmy arg4)
canFillWithFluid(PlayerEntity arg0, BlockView arg1, BlockPos arg2, BlockState arg3, Fluid arg4)
canFillWithFluid(PlayerEntity arg0, BlockView arg1, BlockPos arg2, BlockState arg3, Fluid arg4)
m_6044_(C_1141_ p_299850_, C_1559_ p_154511_, C_4675_ p_154512_, C_2064_ p_299663_, C_2690_ arg4)
public boolean
a(dhj arg0, jh arg1, dxv arg2, etx arg3)
placeLiquid(LevelAccessor arg0, BlockPos arg1, BlockState arg2, FluidState arg3)
method_10311(class_1936 arg0, class_2338 arg1, class_2680 arg2, class_3610 arg3)
m_ymsxgqxp(C_vdvbsyle arg0, C_hynzadkk arg1, C_txtbiemp arg2, C_xqketiuf arg3)
tryFillWithFluid(WorldAccess arg0, BlockPos arg1, BlockState arg2, FluidState arg3)
tryFillWithFluid(WorldAccess arg0, BlockPos arg1, BlockState arg2, FluidState arg3)
m_7361_(C_1598_ p_154521_, C_4675_ p_154522_, C_2064_ p_154523_, C_2691_ arg3)