net.minecraft.world.level.block

public class BigDripleafBlock

extends HorizontalDirectionalBlock implements BonemealableBlock, SimpleWaterloggedBlock

All mapped superinterfaces:

FeatureElement, ItemLike, BonemealableBlock, SimpleWaterloggedBlock, BucketPickup, LiquidBlockContainer

dfv
net.minecraft.world.level.block.BigDripleafBlock
net.minecraft.class_5801
net.minecraft.block.BigDripleafBlock
net.minecraft.src.C_141191_
net.minecraft.world.level.block.BigDripleafBlock

Field summary

Modifier and TypeField
public static final com.mojang.serialization.MapCodec<BigDripleafBlock>
a
CODEC
field_46277
CODEC
f_302896_
private static final BooleanProperty
b
WATERLOGGED
field_28660
WATERLOGGED
f_152200_
private static final EnumProperty<Tilt>
c
TILT
field_28661
TILT
f_152201_
private static final int
d
NO_TICK
field_31015
field_31015
f_152202_
private static final it.unimi.dsi.fastutil.objects.Object2IntMap<Tilt>
e
DELAY_UNTIL_NEXT_TILT_STATE
field_28662
NEXT_TILT_DELAYS
f_152203_
private static final int
f
MAX_GEN_HEIGHT
field_31016
field_31016
f_152204_
private static final int
g
STEM_WIDTH
field_31017
field_31017
f_152205_
private static final int
h
ENTITY_DETECTION_MIN_Y
field_31018
field_31018
f_152206_
private static final int
i
LOWEST_LEAF_TOP
field_31019
field_31019
f_152207_
private static final Map<Tilt, VoxelShape>
j
LEAF_SHAPES
field_28664
SHAPES_FOR_TILT
f_152208_
private static final VoxelShape
k
STEM_SLICER
field_31020
BASE_SHAPE
f_152209_
private static final Map<Direction, VoxelShape>
l
STEM_SHAPES
field_28665
SHAPES_FOR_DIRECTION
f_152210_
private final Map<BlockState, VoxelShape>
m
shapesCache
field_28666
shapes
f_152211_

Constructor summary

ModifierConstructor
protected (BlockBehaviour$Properties arg0)

Method summary

Modifier and TypeMethod
public com.mojang.serialization.MapCodec<BigDripleafBlock>
a()
codec()
method_53969()
getCodec()
m_304657_()
private static VoxelShape
m(dtc arg0)
calculateShape(BlockState arg0)
method_33611(class_2680 arg0)
getShapeForState(BlockState state)
m_152317_(C_2064_ p_152318_)
public static void
a(dcx arg0, ayw arg1, jd arg2, ji arg3)
placeWithRandomHeight(LevelAccessor arg0, RandomSource arg1, BlockPos arg2, Direction arg3)
method_33603(class_1936 arg0, class_5819 arg1, class_2338 arg2, class_2350 arg3)
grow(WorldAccess world, Random random, BlockPos pos, Direction direction)
m_220792_(C_1598_ p_220793_, C_212974_ p_220794_, C_4675_ p_220795_, C_4687_ p_220796_)
private static boolean
n(dtc arg0)
canReplace(BlockState arg0)
method_33727(class_2680 arg0)
canGrowInto(BlockState state)
m_152319_(C_2064_ p_152320_)
protected static boolean
a(dcy arg0, jd arg1, dtc arg2)
canPlaceAt(LevelHeightAccessor arg0, BlockPos arg1, BlockState arg2)
method_33725(class_5539 arg0, class_2338 arg1, class_2680 arg2)
canGrowInto(HeightLimitView world, BlockPos pos, BlockState state)
m_152251_(C_141183_ p_152252_, C_4675_ p_152253_, C_2064_ p_152254_)
protected static boolean
a(dcx arg0, jd arg1, epe arg2, ji arg3)
place(LevelAccessor arg0, BlockPos arg1, FluidState arg2, Direction arg3)
method_33726(class_1936 arg0, class_2338 arg1, class_3610 arg2, class_2350 arg3)
placeDripleafAt(WorldAccess world, BlockPos pos, FluidState fluidState, Direction direction)
m_152241_(C_1598_ p_152242_, C_4675_ p_152243_, C_2691_ p_152244_, C_4687_ p_152245_)
protected void
a(dcw arg0, dtc arg1, ewy arg2, cnp arg3)
onProjectileHit(Level arg0, BlockState arg1, BlockHitResult arg2, Projectile arg3)
method_19286(class_1937 arg0, class_2680 arg1, class_3965 arg2, class_1676 arg3)
onProjectileHit(World arg0, BlockState arg1, BlockHitResult arg2, ProjectileEntity arg3)
m_5581_(C_1596_ p_152229_, C_2064_ p_152230_, C_3041_ p_152231_, C_1167_ arg3)
protected FluidState
b_(dtc arg0)
getFluidState(BlockState arg0)
method_9545(class_2680 arg0)
getFluidState(BlockState arg0)
m_5888_(C_2064_ arg0)
protected boolean
a(dtc arg0, dcz arg1, jd arg2)
canSurvive(BlockState arg0, LevelReader arg1, BlockPos arg2)
method_9558(class_2680 arg0, class_4538 arg1, class_2338 arg2)
canPlaceAt(BlockState arg0, WorldView arg1, BlockPos arg2)
m_7898_(C_2064_ p_152290_, C_1599_ p_152291_, C_4675_ arg2)
protected BlockState
a(dtc arg0, ji arg1, dtc arg2, dcx arg3, jd arg4, jd 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_152294_, C_4687_ p_152295_, C_2064_ p_152296_, C_1598_ p_152297_, C_4675_ p_152298_, C_4675_ arg5)
public boolean
b(dcz arg0, jd arg1, dtc 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_256302_, C_4675_ p_255648_, C_2064_ arg2)
public boolean
a(dcw arg0, ayw arg1, jd arg2, dtc 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_220789_, C_212974_ p_220790_, C_4675_ p_220791_, C_2064_ arg3)
public void
a(aqu arg0, ayw arg1, jd arg2, dtc 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_220784_, C_212974_ p_220785_, C_4675_ p_220786_, C_2064_ arg3)
protected void
a(dtc arg0, dcw arg1, jd arg2, bsr arg3)
entityInside(BlockState arg0, Level arg1, BlockPos arg2, Entity arg3)
method_9548(class_2680 arg0, class_1937 arg1, class_2338 arg2, class_1297 arg3)
onEntityCollision(BlockState arg0, World arg1, BlockPos arg2, Entity arg3)
m_7892_(C_2064_ p_152267_, C_1596_ p_152268_, C_4675_ p_152269_, C_507_ arg3)
protected void
a(dtc arg0, aqu arg1, jd arg2, ayw arg3)
tick(BlockState arg0, ServerLevel arg1, BlockPos arg2, RandomSource arg3)
method_9588(class_2680 arg0, class_3218 arg1, class_2338 arg2, class_5819 arg3)
scheduledTick(BlockState arg0, ServerWorld arg1, BlockPos arg2, Random arg3)
m_213897_(C_2064_ p_220799_, C_12_ p_220800_, C_4675_ p_220801_, C_212974_ arg3)
protected void
a(dtc arg0, dcw arg1, jd arg2, dfy arg3, jd arg4, boolean arg5)
neighborChanged(BlockState arg0, Level arg1, BlockPos arg2, Block arg3, BlockPos arg4, boolean arg5)
method_9612(class_2680 arg0, class_1937 arg1, class_2338 arg2, class_2248 arg3, class_2338 arg4, boolean arg5)
neighborUpdate(BlockState arg0, World arg1, BlockPos arg2, Block arg3, BlockPos arg4, boolean arg5)
m_6861_(C_2064_ p_152272_, C_1596_ p_152273_, C_4675_ p_152274_, C_1706_ p_152275_, C_4675_ p_152276_, boolean arg5)
private static void
a(dcw arg0, jd arg1, avo arg2)
playTiltSound(Level arg0, BlockPos arg1, SoundEvent arg2)
method_33601(class_1937 arg0, class_2338 arg1, class_3414 arg2)
playTiltSound(World world, BlockPos pos, SoundEvent soundEvent)
m_152232_(C_1596_ p_152233_, C_4675_ p_152234_, C_123_ p_152235_)
private static boolean
a(jd arg0, bsr arg1)
canEntityTilt(BlockPos arg0, Entity arg1)
method_33606(class_2338 arg0, class_1297 arg1)
isEntityAbove(BlockPos pos, Entity entity)
m_152301_(C_4675_ p_152302_, C_507_ p_152303_)
private void
a(dtc arg0, dcw arg1, jd arg2, dun arg3, avo arg4)
setTiltAndScheduleTick(BlockState arg0, Level arg1, BlockPos arg2, Tilt arg3, SoundEvent arg4)
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)
m_152282_(C_2064_ p_152284_, C_1596_ p_152285_, C_4675_ p_152286_, C_141262_ p_152287_, C_123_ arg4)
private static void
d(dtc arg0, dcw arg1, jd arg2)
resetTilt(BlockState arg0, Level arg1, BlockPos arg2)
method_33610(class_2680 arg0, class_1937 arg1, class_2338 arg2)
resetTilt(BlockState state, World world, BlockPos pos)
m_152313_(C_2064_ p_152314_, C_1596_ p_152315_, C_4675_ p_152316_)
private static void
a(dtc arg0, dcw arg1, jd arg2, dun arg3)
setTilt(BlockState arg0, Level arg1, BlockPos arg2, Tilt arg3)
method_33604(class_2680 arg0, class_1937 arg1, class_2338 arg2, class_5816 arg3)
changeTilt(BlockState state, World world, BlockPos pos, Tilt tilt)
m_152277_(C_2064_ p_152278_, C_1596_ p_152279_, C_4675_ p_152280_, C_141262_ p_152281_)
protected VoxelShape
b(dtc arg0, dcc arg1, jd arg2, exh arg3)
getCollisionShape(BlockState arg0, BlockGetter arg1, BlockPos arg2, CollisionContext arg3)
method_9549(class_2680 arg0, class_1922 arg1, class_2338 arg2, class_3726 arg3)
getCollisionShape(BlockState arg0, BlockView arg1, BlockPos arg2, ShapeContext arg3)
m_5939_(C_2064_ p_152308_, C_1559_ p_152309_, C_4675_ p_152310_, C_3051_ arg3)
protected VoxelShape
a(dtc arg0, dcc arg1, jd arg2, exh 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_152262_, C_1559_ p_152263_, C_4675_ p_152264_, C_3051_ arg3)
public BlockState
a(cyd arg0)
getStateForPlacement(BlockPlaceContext arg0)
method_9605(class_1750 arg0)
getPlacementState(ItemPlacementContext arg0)
m_5573_(C_1445_ arg0)
protected void
a(dtd$a<dfy, dtc> arg0)
createBlockStateDefinition(StateDefinition$Builder<Block, BlockState> arg0)
method_9515(class_2689$class_2690<class_2248, class_2680> arg0)
appendProperties(StateManager$Builder<Block, BlockState> arg0)
m_7926_(C_2065_$C_2066_<C_1706_, C_2064_> arg0)