net.minecraft.block

public class CactusFlowerBlock

extends PlantBlock

All mapped superinterfaces:

ToggleableFeature, ItemConvertible

net.minecraft.world.level.block.CactusFlowerBlock
net.minecraft.class_10760
net.minecraft.block.CactusFlowerBlock

Field summary

Modifier and TypeField
public static final com.mojang.serialization.MapCodec<CactusFlowerBlock>
CODEC
field_56569
CODEC
private static final VoxelShape
SHAPE
field_56570
SHAPE

Constructor summary

ModifierConstructor
public (AbstractBlock$Settings properties)

Method summary

Modifier and TypeMethod
public com.mojang.serialization.MapCodec<? extends CactusFlowerBlock>
codec()
method_53969()
getCodec()
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)
protected boolean
mayPlaceOn(BlockState state, BlockGetter level, BlockPos pos)
method_9695(class_2680 arg0, class_1922 arg1, class_2338 arg2)
canPlantOnTop(BlockState arg0, BlockView arg1, BlockPos arg2)