net.minecraft.block

public class CarrotsBlock

extends CropBlock

All mapped superinterfaces:

ToggleableFeature, ItemConvertible, Fertilizable

net.minecraft.world.level.block.CarrotBlock
net.minecraft.class_2271
net.minecraft.block.CarrotsBlock

Field summary

Modifier and TypeField
public static final com.mojang.serialization.MapCodec<CarrotsBlock>
CODEC
field_46302
CODEC
private static final VoxelShape[]
SHAPES
field_10737
SHAPES_BY_AGE

Constructor summary

ModifierConstructor
public (AbstractBlock$Settings properties)

Method summary

Modifier and TypeMethod
public com.mojang.serialization.MapCodec<CarrotsBlock>
codec()
method_53969()
getCodec()
protected ItemConvertible
getBaseSeedId()
method_9832()
getSeedsItem()
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)
private static VoxelShape
lambda$static$0(int arg0)
method_66422(int arg0)
method_66422(int age)