net.minecraft.world.level.block

public class SeagrassBlock

extends BushBlock implements BonemealableBlock, LiquidBlockContainer

All mapped superinterfaces:

ItemLike, BonemealableBlock, LiquidBlockContainer

cpl
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(cur arg0, cfg arg1, gt arg2, dvy 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(cur arg0, cfg arg1, gt 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(cca arg0)
getStateForPlacement(BlockPlaceContext arg0)
method_9605(class_1750 arg0)
getPlacementState(ItemPlacementContext arg0)
m_5573_(C_1445_ arg0)
public BlockState
a(cur arg0, gy arg1, cur arg2, cgb arg3, gt arg4, gt 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)
public boolean
a(cfg arg0, gt arg1, cur 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(cga arg0, alu arg1, gt arg2, cur arg3)
isBonemealSuccess(Level arg0, RandomSource arg1, BlockPos arg2, BlockState arg3)
method_9650(class_1937 arg0, class_5819 arg1, class_2338 arg2, class_2680 arg3)
canGrow(World arg0, Random arg1, BlockPos arg2, BlockState arg3)
m_214167_(C_1596_ p_222429_, C_212974_ p_222430_, C_4675_ p_222431_, C_2064_ arg3)
public FluidState
c_(cur arg0)
getFluidState(BlockState arg0)
method_9545(class_2680 arg0)
getFluidState(BlockState arg0)
m_5888_(C_2064_ arg0)
public void
a(afo arg0, alu arg1, gt arg2, cur arg3)
performBonemeal(ServerLevel arg0, RandomSource arg1, BlockPos arg2, BlockState arg3)
method_9652(class_3218 arg0, class_5819 arg1, class_2338 arg2, class_2680 arg3)
grow(ServerWorld arg0, Random 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(cfg arg0, gt arg1, cur arg2, dox 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)
public boolean
a(cgb arg0, gt arg1, cur arg2, doy 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)