net.minecraft.block

public class TallSeagrassBlock

extends TallPlantBlock implements FluidFillable

All mapped superinterfaces:

ToggleableFeature, ItemConvertible, FluidFillable

net.minecraft.world.level.block.TallSeagrassBlock
net.minecraft.class_2525
net.minecraft.block.TallSeagrassBlock

Field summary

Modifier and TypeField
public static final com.mojang.serialization.MapCodec<TallSeagrassBlock>
CODEC
field_46471
CODEC
public static final EnumProperty<DoubleBlockHalf>
HALF
field_11616
HALF
private static final VoxelShape
SHAPE
field_11615
SHAPE

Constructor summary

ModifierConstructor
public (AbstractBlock$Settings properties)

Method summary

Modifier and TypeMethod
public com.mojang.serialization.MapCodec<TallSeagrassBlock>
codec()
method_53969()
getCodec()
protected VoxelShape
getShape(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context)
method_9530(class_2680 arg0, class_1922 arg1, class_2338 arg2, class_3726 arg3)
getOutlineShape(BlockState arg0, BlockView arg1, BlockPos arg2, ShapeContext arg3)
protected boolean
mayPlaceOn(BlockState state, BlockGetter level, BlockPos pos)
method_9695(class_2680 arg0, class_1922 arg1, class_2338 arg2)
canPlantOnTop(BlockState arg0, BlockView arg1, BlockPos arg2)
protected ItemStack
getCloneItemStack(LevelReader level, BlockPos pos, BlockState state, boolean includeData)
method_9574(class_4538 arg0, class_2338 arg1, class_2680 arg2, boolean arg3)
getPickStack(WorldView arg0, BlockPos arg1, BlockState arg2, boolean arg3)
public BlockState
getStateForPlacement(BlockPlaceContext context)
method_9605(class_1750 arg0)
getPlacementState(ItemPlacementContext arg0)
protected boolean
canSurvive(BlockState state, LevelReader level, BlockPos pos)
method_9558(class_2680 arg0, class_4538 arg1, class_2338 arg2)
canPlaceAt(BlockState arg0, WorldView arg1, BlockPos arg2)
protected FluidState
getFluidState(BlockState state)
method_9545(class_2680 arg0)
getFluidState(BlockState arg0)
public boolean
canPlaceLiquid(LivingEntity user, BlockGetter level, BlockPos pos, BlockState state, Fluid type)
method_10310(class_1309 arg0, class_1922 arg1, class_2338 arg2, class_2680 arg3, class_3611 arg4)
canFillWithFluid(LivingEntity arg0, BlockView arg1, BlockPos arg2, BlockState arg3, Fluid arg4)
public boolean
placeLiquid(LevelAccessor level, BlockPos pos, BlockState state, FluidState fluidState)
method_10311(class_1936 arg0, class_2338 arg1, class_2680 arg2, class_3610 arg3)
tryFillWithFluid(WorldAccess arg0, BlockPos arg1, BlockState arg2, FluidState arg3)