net.minecraft.block

public class TallPlantBlock

extends PlantBlock

All mapped superinterfaces:

ToggleableFeature, ItemConvertible

net.minecraft.world.level.block.DoublePlantBlock
net.minecraft.world.level.block.DoublePlantBlock
net.minecraft.class_2320
net.minecraft.block.TallPlantBlock

Field summary

Modifier and TypeField
public static final com.mojang.serialization.MapCodec<TallPlantBlock>
CODEC
CODEC
field_46338
CODEC
public static final EnumProperty<DoubleBlockHalf>
HALF
HALF
field_10929
HALF

Constructor summary

ModifierConstructor
public (AbstractBlock$Settings properties)

Method summary

Modifier and TypeMethod
public com.mojang.serialization.MapCodec<? extends TallPlantBlock>
codec()
codec()
method_53969()
getCodec()
protected BlockState
updateShape(BlockState state, LevelReader level, ScheduledTickAccess ticks, BlockPos pos, Direction directionToNeighbour, BlockPos neighbourPos, BlockState neighbourState, RandomSource random)
updateShape(BlockState state, LevelReader level, ScheduledTickAccess ticks, BlockPos pos, Direction directionToNeighbour, BlockPos neighbourPos, BlockState neighbourState, RandomSource random)
method_9559(class_2680 arg0, class_4538 arg1, class_10225 arg2, class_2338 arg3, class_2350 arg4, class_2338 arg5, class_2680 arg6, class_5819 arg7)
getStateForNeighborUpdate(BlockState arg0, WorldView arg1, ScheduledTickView arg2, BlockPos arg3, Direction arg4, BlockPos arg5, BlockState arg6, Random arg7)
public BlockState
getStateForPlacement(BlockPlaceContext context)
getStateForPlacement(BlockPlaceContext context)
method_9605(class_1750 arg0)
getPlacementState(ItemPlacementContext arg0)
public void
setPlacedBy(Level level, BlockPos pos, BlockState state, LivingEntity by, ItemStack itemStack)
setPlacedBy(Level level, BlockPos pos, BlockState state, LivingEntity by, ItemStack itemStack)
method_9567(class_1937 arg0, class_2338 arg1, class_2680 arg2, class_1309 arg3, class_1799 arg4)
onPlaced(World arg0, BlockPos arg1, BlockState arg2, LivingEntity arg3, ItemStack arg4)
protected boolean
canSurvive(BlockState state, LevelReader level, BlockPos pos)
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)
public static void
placeAt(LevelAccessor level, BlockState state, BlockPos lowerPos, int updateType)
placeAt(LevelAccessor level, BlockState state, BlockPos lowerPos, int updateType)
method_10021(class_1936 arg0, class_2680 arg1, class_2338 arg2, int arg3)
placeAt(WorldAccess world, BlockState state, BlockPos pos, int flags)
public static BlockState
copyWaterloggedFrom(LevelReader level, BlockPos pos, BlockState state)
copyWaterloggedFrom(LevelReader level, BlockPos pos, BlockState state)
method_37458(class_4538 arg0, class_2338 arg1, class_2680 arg2)
withWaterloggedState(WorldView world, BlockPos pos, BlockState state)
public BlockState
playerWillDestroy(Level level, BlockPos pos, BlockState state, Player player)
playerWillDestroy(Level level, BlockPos pos, BlockState state, Player player)
method_9576(class_1937 arg0, class_2338 arg1, class_2680 arg2, class_1657 arg3)
onBreak(World arg0, BlockPos arg1, BlockState arg2, PlayerEntity arg3)
public void
playerDestroy(Level level, Player player, BlockPos pos, BlockState state, BlockEntity blockEntity, ItemStack destroyedWith)
playerDestroy(Level level, Player player, BlockPos pos, BlockState state, BlockEntity blockEntity, ItemStack destroyedWith)
method_9556(class_1937 arg0, class_1657 arg1, class_2338 arg2, class_2680 arg3, class_2586 arg4, class_1799 arg5)
afterBreak(World arg0, PlayerEntity arg1, BlockPos arg2, BlockState arg3, BlockEntity arg4, ItemStack arg5)
protected static void
preventDropFromBottomPart(Level level, BlockPos pos, BlockState state, Player player)
preventDropFromBottomPart(Level level, BlockPos pos, BlockState state, Player player)
method_30036(class_1937 arg0, class_2338 arg1, class_2680 arg2, class_1657 arg3)
onBreakInCreative(World world, BlockPos pos, BlockState state, PlayerEntity player)
protected void
createBlockStateDefinition(StateDefinition$Builder<Block, BlockState> builder)
createBlockStateDefinition(StateDefinition$Builder<Block, BlockState> builder)
method_9515(class_2689$class_2690<class_2248, class_2680> arg0)
appendProperties(StateManager$Builder<Block, BlockState> arg0)
protected long
getSeed(BlockState state, BlockPos pos)
getSeed(BlockState state, BlockPos pos)
method_9535(class_2680 arg0, class_2338 arg1)
getRenderingSeed(BlockState arg0, BlockPos arg1)