net.minecraft.world.level.block

public class ChorusFlowerBlock

extends Block

All mapped superinterfaces:

ItemLike

cjv
net.minecraft.world.level.block.ChorusFlowerBlock
net.minecraft.class_2279
net.minecraft.block.ChorusFlowerBlock
net.minecraft.src.C_1734_
net.minecraft.world.level.block.BlockChorusFlower

Field summary

Modifier and TypeField
public static final int
a
DEAD_AGE
field_31060
MAX_AGE
f_153067_
public static final IntegerProperty
b
AGE
field_10762
AGE
f_51647_
private final ChorusPlantBlock
c
plant
field_10763
plantBlock
f_51648_

Constructor summary

ModifierConstructor
protected (ChorusPlantBlock plantBlock, BlockBehaviour$Properties settings)

Method summary

Modifier and TypeMethod
public void
a(cur arg0, afo arg1, gt arg2, alu 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_220976_, C_12_ p_220977_, C_4675_ p_220978_, C_212974_ arg3)
public boolean
e_(cur arg0)
isRandomlyTicking(BlockState arg0)
method_9542(class_2680 arg0)
hasRandomTicks(BlockState arg0)
m_6724_(C_2064_ arg0)
public void
b(cur arg0, afo arg1, gt arg2, alu arg3)
randomTick(BlockState arg0, ServerLevel arg1, BlockPos arg2, RandomSource arg3)
method_9514(class_2680 arg0, class_3218 arg1, class_2338 arg2, class_5819 arg3)
randomTick(BlockState arg0, ServerWorld arg1, BlockPos arg2, Random arg3)
m_213898_(C_2064_ p_220981_, C_12_ p_220982_, C_4675_ p_220983_, C_212974_ arg3)
private void
a(cga arg0, gt arg1, int arg2)
placeGrownFlower(Level arg0, BlockPos arg1, int arg2)
method_9745(class_1937 arg0, class_2338 arg1, int arg2)
grow(World world, BlockPos pos, int age)
m_51661_(C_1596_ p_51663_, C_4675_ p_51664_, int arg2)
private void
a(cga arg0, gt arg1)
placeDeadFlower(Level arg0, BlockPos arg1)
method_9747(class_1937 arg0, class_2338 arg1)
die(World world, BlockPos pos)
m_51658_(C_1596_ p_51660_, C_4675_ arg1)
private static boolean
b(cgd arg0, gt arg1, gy arg2)
allNeighborsEmpty(LevelReader arg0, BlockPos arg1, Direction arg2)
method_9746(class_4538 arg0, class_2338 arg1, class_2350 arg2)
isSurroundedByAir(WorldView world, BlockPos pos, Direction exceptDirection)
m_51697_(C_1599_ p_51698_, C_4675_ p_51699_, C_4687_ p_51700_)
public BlockState
a(cur arg0, gy arg1, cur arg2, cgb arg3, gt arg4, gt 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_51688_, C_4687_ p_51689_, C_2064_ p_51690_, C_1598_ p_51691_, C_4675_ p_51692_, C_4675_ arg5)
public boolean
a(cur arg0, cgd arg1, gt 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_51684_, C_1599_ p_51685_, C_4675_ arg2)
protected void
a(cus$a<ciw, cur> 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_2066_<C_1706_, C_2064_> arg0)
public static void
a(cgb arg0, gt arg1, alu arg2, int arg3)
generatePlant(LevelAccessor arg0, BlockPos arg1, RandomSource arg2, int arg3)
method_9744(class_1936 arg0, class_2338 arg1, class_5819 arg2, int arg3)
generate(WorldAccess world, BlockPos pos, Random random, int size)
m_220962_(C_1598_ p_220963_, C_4675_ p_220964_, C_212974_ p_220965_, int p_220966_)
private static void
a(cgb arg0, gt arg1, alu arg2, gt arg3, int arg4, int arg5)
growTreeRecursive(LevelAccessor arg0, BlockPos arg1, RandomSource arg2, BlockPos arg3, int arg4, int arg5)
method_9748(class_1936 arg0, class_2338 arg1, class_5819 arg2, class_2338 arg3, int arg4, int arg5)
generate(WorldAccess world, BlockPos pos, Random random, BlockPos rootPos, int size, int layer)
m_220967_(C_1598_ p_220968_, C_4675_ p_220969_, C_212974_ p_220970_, C_4675_ p_220971_, int p_220972_, int p_220973_)
public void
a(cga arg0, cur arg1, dvp arg2, btx 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_51655_, C_2064_ p_51656_, C_3041_ p_51657_, C_1167_ arg3)