net.minecraft.world.level.block

public class CarrotBlock

extends CropBlock

All mapped superinterfaces:

FeatureElement, ItemLike, BonemealableBlock

dgq
net.minecraft.world.level.block.CarrotBlock
net.minecraft.class_2271
net.minecraft.block.CarrotsBlock
net.minecraft.src.C_1721_
net.minecraft.world.level.block.BlockCarrots

Field summary

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

Constructor summary

ModifierConstructor
public (BlockBehaviour$Properties arg0)

Method summary

Modifier and TypeMethod
public com.mojang.serialization.MapCodec<CarrotBlock>
a()
codec()
method_53969()
getCodec()
m_304657_()
protected ItemLike
d()
getBaseSeedId()
method_9832()
getSeedsItem()
m_6404_()
protected VoxelShape
a(dtc arg0, dcc arg1, jd arg2, exh 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)
m_5940_(C_2064_ p_51331_, C_1559_ p_51332_, C_4675_ p_51333_, C_3051_ arg3)