net.minecraft.world.level.block

public class SeagrassBlock

extends BushBlock implements BonemealableBlock, LiquidBlockContainer

All mapped superinterfaces:

ItemLike, BonemealableBlock, LiquidBlockContainer

cfr
net.minecraft.world.level.block.SeagrassBlock
net.minecraft.class_2476
net.minecraft.block.SeagrassBlock
net.minecraft.src.C_141227_
net.minecraft.world.level.block.SeagrassBlock

Field summary

Modifier and TypeField
protected static final float
a
AABB_OFFSET
field_31242
field_31242
f_154492_
protected static final VoxelShape
b
SHAPE
field_11485
SHAPE
f_154493_

Constructor summary

ModifierConstructor
protected (BlockBehaviour$Properties arg0)

Method summary

Modifier and TypeMethod
public VoxelShape
a(ckt arg0, bvu arg1, gg arg2, dnf arg3)
getShape(BlockState arg0, BlockGetter arg1, BlockPos arg2, CollisionContext arg3)
method_9530(class_2680 arg0, class_1922 arg1, class_2338 arg2, class_3726 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
d(ckt arg0, bvu arg1, gg arg2)
mayPlaceOn(BlockState arg0, BlockGetter arg1, BlockPos arg2)
method_9695(class_2680 arg0, class_1922 arg1, class_2338 arg2)
canPlantOnTop(BlockState arg0, BlockView arg1, BlockPos arg2)
m_6266_(C_2064_ p_154540_, C_1559_ p_154541_, C_4675_ arg2)
public BlockState
a(bsq arg0)
getStateForPlacement(BlockPlaceContext arg0)
method_9605(class_1750 arg0)
getPlacementState(ItemPlacementContext arg0)
m_5573_(C_1445_ arg0)
getPlacedState(BlockActionContext arg0)
public BlockState
a(ckt arg0, gl arg1, ckt arg2, bwr arg3, gg arg4, gg arg5)
updateShape(BlockState arg0, Direction arg1, BlockState arg2, LevelAccessor arg3, BlockPos arg4, BlockPos arg5)
method_9559(class_2680 arg0, class_2350 arg1, class_2680 arg2, class_1936 arg3, class_2338 arg4, class_2338 arg5)
getStateForNeighborUpdate(BlockState arg0, Direction arg1, BlockState arg2, WorldAccess arg3, BlockPos arg4, BlockPos arg5)
m_7417_(C_2064_ p_154531_, C_4687_ p_154532_, C_2064_ p_154533_, C_1598_ p_154534_, C_4675_ p_154535_, C_4675_ arg5)
updateState(IBlockData arg0, EnumDirection arg1, IBlockData arg2, GeneratorAccess arg3, BlockPosition arg4, BlockPosition arg5)
public boolean
a(bvu arg0, gg arg1, ckt arg2, boolean arg3)
isValidBonemealTarget(BlockGetter arg0, BlockPos arg1, BlockState arg2, boolean arg3)
method_9651(class_1922 arg0, class_2338 arg1, class_2680 arg2, boolean arg3)
isFertilizable(BlockView arg0, BlockPos arg1, BlockState arg2, boolean arg3)
m_7370_(C_1559_ p_154511_, C_4675_ p_154512_, C_2064_ p_154513_, boolean arg3)
public boolean
a(bwq arg0, Random arg1, gg arg2, ckt arg3)
isBonemealSuccess(Level arg0, Random arg1, BlockPos arg2, BlockState arg3)
method_9650(class_1937 arg0, Random arg1, class_2338 arg2, class_2680 arg3)
canGrow(World arg0, Random arg1, BlockPos arg2, BlockState arg3)
m_5491_(C_1596_ p_154516_, Random p_154517_, C_4675_ p_154518_, C_2064_ arg3)
public FluidState
c_(ckt arg0)
getFluidState(BlockState arg0)
method_9545(class_2680 arg0)
getFluidState(BlockState arg0)
m_5888_(C_2064_ arg0)
public void
a(abr arg0, Random arg1, gg arg2, ckt arg3)
performBonemeal(ServerLevel arg0, Random arg1, BlockPos arg2, BlockState arg3)
method_9652(class_3218 arg0, Random arg1, class_2338 arg2, class_2680 arg3)
grow(ServerWorld arg0, Random arg1, BlockPos arg2, BlockState arg3)
m_7719_(C_12_ p_154499_, Random p_154500_, C_4675_ p_154501_, C_2064_ arg3)
public boolean
a(bvu arg0, gg arg1, ckt arg2, der 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_154506_, C_4675_ p_154507_, C_2064_ p_154508_, C_2690_ arg3)
canPlace(IBlockAccess arg0, BlockPosition arg1, IBlockData arg2, FluidType arg3)
public boolean
a(bwr arg0, gg arg1, ckt arg2, des 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_154521_, C_4675_ p_154522_, C_2064_ p_154523_, C_2691_ arg3)
place(GeneratorAccess arg0, BlockPosition arg1, IBlockData arg2, Fluid arg3)