net.minecraft.world.level.block

public class SeagrassBlock

extends BushBlock implements BonemealableBlock, LiquidBlockContainer

All mapped superinterfaces:

FeatureElement, ItemLike, BonemealableBlock, LiquidBlockContainer

cwc
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(dbq arg0, clo arg1, gt arg2, edj 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(dbq arg0, clo 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(cic arg0)
getStateForPlacement(BlockPlaceContext arg0)
method_9605(class_1750 arg0)
getPlacementState(ItemPlacementContext arg0)
m_5573_(C_1445_ arg0)
public BlockState
a(dbq arg0, gz arg1, dbq arg2, cmj 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(cml arg0, gt arg1, dbq arg2, boolean arg3)
isValidBonemealTarget(LevelReader arg0, BlockPos arg1, BlockState arg2, boolean arg3)
method_9651(class_4538 arg0, class_2338 arg1, class_2680 arg2, boolean arg3)
isFertilizable(WorldView arg0, BlockPos arg1, BlockState arg2, boolean arg3)
m_7370_(C_1599_ p_154511_, C_4675_ p_154512_, C_2064_ p_154513_, boolean arg3)
public boolean
a(cmi arg0, apo arg1, gt arg2, dbq 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_(dbq arg0)
getFluidState(BlockState arg0)
method_9545(class_2680 arg0)
getFluidState(BlockState arg0)
m_5888_(C_2064_ arg0)
public void
a(aip arg0, apo arg1, gt arg2, dbq 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(clo arg0, gt arg1, dbq arg2, dwi 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(cmj arg0, gt arg1, dbq arg2, dwj 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)