net.minecraft.world.level.block

public class CarrotBlock

extends CropBlock

All mapped superinterfaces:

FeatureElement, ItemLike, BonemealableBlock

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

Field summary

Modifier and TypeField
public static final com.mojang.serialization.MapCodec<CarrotBlock>
a
CODEC
field_46302
CODEC
private static final VoxelShape[]
b
SHAPE_BY_AGE
field_10737
AGE_TO_SHAPE

Constructor summary

ModifierConstructor
public (BlockBehaviour$Properties arg0)

Method summary

Modifier and TypeMethod
public com.mojang.serialization.MapCodec<CarrotBlock>
a()
codec()
method_53969()
getCodec()
protected ItemLike
d()
getBaseSeedId()
method_9832()
getSeedsItem()
protected VoxelShape
a(dwy arg0, dfo arg1, ji arg2, fbg 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)