net.minecraft.block

public class BigDripleafBlock

extends HorizontalFacingBlock implements Waterloggable, Fertilizable

All mapped superinterfaces:

ToggleableFeature, ItemConvertible, Waterloggable, FluidDrainable, FluidFillable, Fertilizable

net.minecraft.world.level.block.BigDripleafBlock
net.minecraft.class_5801
net.minecraft.block.BigDripleafBlock

Field summary

Modifier and TypeField
private static final BooleanProperty
WATERLOGGED
field_28660
WATERLOGGED
private static final EnumProperty<Tilt>
TILT
field_28661
TILT
private static final int
NO_TICK
field_31015
field_31015
private static final it.unimi.dsi.fastutil.objects.Object2IntMap<Tilt>
DELAY_UNTIL_NEXT_TILT_STATE
field_28662
NEXT_TILT_DELAYS
private static final int
MAX_GEN_HEIGHT
field_31016
field_31016
private static final int
ENTITY_DETECTION_MIN_Y
field_31018
field_31018
private static final int
LOWEST_LEAF_TOP
field_31019
field_31019
private static final Map<Tilt, VoxelShape>
SHAPE_LEAF
field_55736
SHAPES_BY_TILT
private final Function<BlockState, VoxelShape>
shapes
field_55737
shapeFunction

Constructor summary

ModifierConstructor
protected (AbstractBlock$Settings properties)

Method summary

Modifier and TypeMethod
private Function<BlockState, VoxelShape>
makeShapes()
method_66392()
createShapeFunction()
public static void
placeWithRandomHeight(LevelAccessor level, RandomSource random, BlockPos stemBottomPos, Direction facing)
method_33603(class_1936 arg0, class_5819 arg1, class_2338 arg2, class_2350 arg3)
grow(WorldAccess world, Random random, BlockPos pos, Direction direction)
private static boolean
canReplace(BlockState oldState)
method_33727(class_2680 arg0)
canGrowInto(BlockState state)
protected static boolean
canPlaceAt(LevelReader level, BlockPos pos)
method_33725(class_4538 arg0, class_2338 arg1)
canGrowInto(WorldView world, BlockPos pos)
protected static boolean
canGrowInto(LevelReader level, BlockPos pos)
method_1_2525(class_4538 arg0, class_2338 arg1)
canGrowIntoImpl(WorldView world, BlockPos pos)
protected static boolean
place(LevelAccessor level, BlockPos pos, FluidState fluidState, Direction facing)
method_33726(class_1936 arg0, class_2338 arg1, class_3610 arg2, class_2350 arg3)
placeDripleafAt(WorldAccess world, BlockPos pos, FluidState fluidState, Direction direction)
protected void
onProjectileHit(Level level, BlockState state, BlockHitResult blockHit, Projectile projectile)
method_19286(class_1937 arg0, class_2680 arg1, class_3965 arg2, class_1676 arg3)
onProjectileHit(World arg0, BlockState arg1, BlockHitResult arg2, ProjectileEntity arg3)
protected FluidState
getFluidState(BlockState state)
method_9545(class_2680 arg0)
getFluidState(BlockState 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 BlockState
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 boolean
isValidBonemealTarget(LevelReader level, BlockPos pos, BlockState state)
method_9651(class_4538 arg0, class_2338 arg1, class_2680 arg2)
isFertilizable(WorldView arg0, BlockPos arg1, BlockState arg2)
public boolean
isBonemealSuccess(Level level, RandomSource random, BlockPos pos, BlockState state)
method_9650(class_1937 arg0, class_5819 arg1, class_2338 arg2, class_2680 arg3)
canGrow(World arg0, Random arg1, BlockPos arg2, BlockState arg3)
public void
performBonemeal(ServerLevel level, RandomSource random, BlockPos pos, BlockState state)
method_9652(class_3218 arg0, class_5819 arg1, class_2338 arg2, class_2680 arg3)
grow(ServerWorld arg0, Random arg1, BlockPos arg2, BlockState arg3)
protected void
entityInside(BlockState state, Level level, BlockPos pos, Entity entity, InsideBlockEffectApplier effectApplier, boolean isPrecise)
method_9548(class_2680 arg0, class_1937 arg1, class_2338 arg2, class_1297 arg3, class_10774 arg4, boolean arg5)
onEntityCollision(BlockState arg0, World arg1, BlockPos arg2, Entity arg3, EntityCollisionHandler arg4, boolean arg5)
protected void
tick(BlockState state, ServerLevel level, BlockPos pos, RandomSource random)
method_9588(class_2680 arg0, class_3218 arg1, class_2338 arg2, class_5819 arg3)
scheduledTick(BlockState arg0, ServerWorld arg1, BlockPos arg2, Random arg3)
protected void
neighborChanged(BlockState state, Level level, BlockPos pos, Block block, Orientation orientation, boolean movedByPiston)
method_9612(class_2680 arg0, class_1937 arg1, class_2338 arg2, class_2248 arg3, class_9904 arg4, boolean arg5)
neighborUpdate(BlockState arg0, World arg1, BlockPos arg2, Block arg3, WireOrientation arg4, boolean arg5)
private static void
playTiltSound(Level level, BlockPos pos, SoundEvent tiltSound)
method_33601(class_1937 arg0, class_2338 arg1, class_3414 arg2)
playTiltSound(World world, BlockPos pos, SoundEvent soundEvent)
private static boolean
canEntityTilt(BlockPos pos, Entity entity)
method_33606(class_2338 arg0, class_1297 arg1)
isEntityAbove(BlockPos pos, Entity entity)
private void
setTiltAndScheduleTick(BlockState state, Level level, BlockPos pos, Tilt tilt, SoundEvent sound)
method_33605(class_2680 arg0, class_1937 arg1, class_2338 arg2, class_5816 arg3, class_3414 arg4)
changeTilt(BlockState state, World world, BlockPos pos, Tilt tilt, SoundEvent sound)
private static void
resetTilt(BlockState state, Level level, BlockPos pos)
method_33610(class_2680 arg0, class_1937 arg1, class_2338 arg2)
resetTilt(BlockState state, World world, BlockPos pos)
private static void
setTilt(BlockState state, Level level, BlockPos pos, Tilt tilt)
method_33604(class_2680 arg0, class_1937 arg1, class_2338 arg2, class_5816 arg3)
changeTilt(BlockState state, World world, BlockPos pos, Tilt tilt)
protected VoxelShape
getCollisionShape(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context)
method_9549(class_2680 arg0, class_1922 arg1, class_2338 arg2, class_3726 arg3)
getCollisionShape(BlockState arg0, BlockView arg1, BlockPos arg2, ShapeContext arg3)
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)
public BlockState
getStateForPlacement(BlockPlaceContext context)
method_9605(class_1750 arg0)
getPlacementState(ItemPlacementContext arg0)
protected void
createBlockStateDefinition(StateDefinition$Builder<Block, BlockState> builder)
method_9515(class_2689$class_2690<class_2248, class_2680> arg0)
appendProperties(StateManager$Builder<Block, BlockState> arg0)
private static VoxelShape
lambda$makeShapes$0(Map arg0, BlockState arg1)
method_66391(Map arg0, class_2680 arg1)
method_66391(Map arg0, BlockState state)
private static void
lambda$static$0(it.unimi.dsi.fastutil.objects.Object2IntArrayMap arg0)
method_33609(it.unimi.dsi.fastutil.objects.Object2IntArrayMap arg0)
method_33609(it.unimi.dsi.fastutil.objects.Object2IntArrayMap delays)