net.minecraft.world.level.block

public class SeagrassBlock

extends BushBlock implements BonemealableBlock, LiquidBlockContainer

All mapped superinterfaces:

FeatureElement, ItemLike, BonemealableBlock, LiquidBlockContainer

czt
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(dfj arg0, cpb arg1, gw arg2, ehs 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(dfj arg0, cpb arg1, gw 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(cln arg0)
getStateForPlacement(BlockPlaceContext arg0)
method_9605(class_1750 arg0)
getPlacementState(ItemPlacementContext arg0)
m_5573_(C_1445_ arg0)
public BlockState
a(dfj arg0, ha arg1, dfj arg2, cpw arg3, gw arg4, gw 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(cpy arg0, gw arg1, dfj arg2)
isValidBonemealTarget(LevelReader arg0, BlockPos arg1, BlockState arg2)
method_9651(class_4538 arg0, class_2338 arg1, class_2680 arg2)
isFertilizable(WorldView arg0, BlockPos arg1, BlockState arg2)
m_7370_(C_1599_ p_154506_, C_4675_ p_154507_, C_2064_ arg2)
public boolean
a(cpv arg0, asc arg1, gw arg2, dfj 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_(dfj arg0)
getFluidState(BlockState arg0)
method_9545(class_2680 arg0)
getFluidState(BlockState arg0)
m_5888_(C_2064_ arg0)
public void
a(akq arg0, asc arg1, gw arg2, dfj 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(cbu arg0, cpb arg1, gw arg2, dfj arg3, eal 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_299850_, C_1559_ p_154511_, C_4675_ p_154512_, C_2064_ p_299663_, C_2690_ arg4)
public boolean
a(cpw arg0, gw arg1, dfj arg2, eam 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)