net.minecraft.world.level.block

public class ChorusFlowerBlock

extends Block

All mapped superinterfaces:

FeatureElement, ItemLike

dks
net.minecraft.world.level.block.ChorusFlowerBlock
net.minecraft.class_2279
net.minecraft.block.ChorusFlowerBlock
net.minecraft.world.level.block.BlockChorusFlower

Field summary

Modifier and TypeField
public static final com.mojang.serialization.MapCodec<ChorusFlowerBlock>
a
CODEC
field_46313
CODEC
public static final int
b
DEAD_AGE
field_31060
MAX_AGE
public static final IntegerProperty
c
AGE
field_10762
AGE
protected static final VoxelShape
d
BLOCK_SUPPORT_SHAPE
field_45145
SHAPE
private final Block
e
plant
field_10763
plantBlock

Constructor summary

ModifierConstructor
protected (Block plantBlock, BlockBehaviour$Properties settings)

Method summary

Modifier and TypeMethod
public com.mojang.serialization.MapCodec<ChorusFlowerBlock>
a()
codec()
method_53969()
getCodec()
protected void
a(dwy arg0, ard arg1, ji arg2, azh 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)
protected boolean
f(dwy arg0)
isRandomlyTicking(BlockState arg0)
method_9542(class_2680 arg0)
hasRandomTicks(BlockState arg0)
public VoxelShape
b_(dwy arg0, dfo arg1, ji arg2)
getBlockSupportShape(BlockState arg0, BlockGetter arg1, BlockPos arg2)
method_25959(class_2680 arg0, class_1922 arg1, class_2338 arg2)
getSidesShape(BlockState arg0, BlockView arg1, BlockPos arg2)
protected void
b(dwy arg0, ard arg1, ji arg2, azh 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)
private void
a(dgj arg0, ji 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)
private void
a(dgj arg0, ji arg1)
placeDeadFlower(Level arg0, BlockPos arg1)
method_9747(class_1937 arg0, class_2338 arg1)
die(World world, BlockPos pos)
private static boolean
b(dgm arg0, ji arg1, jn 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)
protected BlockState
a(dwy arg0, dgm arg1, dgy arg2, ji arg3, jn arg4, ji arg5, dwy arg6, azh arg7)
updateShape(BlockState arg0, LevelReader arg1, ScheduledTickAccess arg2, BlockPos arg3, Direction arg4, BlockPos arg5, BlockState arg6, RandomSource arg7)
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)
protected boolean
a(dwy arg0, dgm arg1, ji 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)
protected void
a(dwz$a<djn, dwy> arg0)
createBlockStateDefinition(StateDefinition$Builder<Block, BlockState> arg0)
method_9515(class_2689$class_2690<class_2248, class_2680> arg0)
appendProperties(StateManager$Builder<Block, BlockState> arg0)
public static void
a(dgk arg0, ji arg1, azh 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)
private static void
a(dgk arg0, ji arg1, azh arg2, ji 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)
protected void
a(dgj arg0, dwy arg1, fax arg2, cpr 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)