net.minecraft.world.level.block

public class CocoaBlock

extends HorizontalDirectionalBlock implements BonemealableBlock

All mapped superinterfaces:

FeatureElement, ItemLike, BonemealableBlock

dgi
net.minecraft.world.level.block.CocoaBlock
net.minecraft.class_2282
net.minecraft.unmapped.C_voaxbqpr
net.minecraft.block.CocoaBlock
net.minecraft.block.CocoaBlock
net.minecraft.src.C_1736_
net.minecraft.world.level.block.BlockCocoa

Field summary

Modifier and TypeField
public static final com.mojang.serialization.MapCodec<CocoaBlock>
a
CODEC
field_46315
f_bppqotqe
CODEC
CODEC
f_302917_
public static final int
b
MAX_AGE
field_31061
f_cetcjzod
MAX_AGE
MAX_AGE
f_153068_
public static final IntegerProperty
c
AGE
field_10779
f_mqzxnevk
AGE
AGE
f_51736_
protected static final int
d
AGE_0_WIDTH
field_31062
f_ctmzsjpu
field_31062
AGE_0_WIDTH
f_153069_
protected static final int
e
AGE_0_HEIGHT
field_31063
f_sxmekzyg
field_31063
AGE_0_HEIGHT
f_153070_
protected static final int
f
AGE_0_HALFWIDTH
field_31064
f_dhfkwaha
field_31064
AGE_0_HALFWIDTH
f_153071_
protected static final int
g
AGE_1_WIDTH
field_31065
f_ojlucmcf
field_31065
AGE_1_WIDTH
f_153072_
protected static final int
h
AGE_1_HEIGHT
field_31066
f_oahwigyj
field_31066
AGE_1_HEIGHT
f_153073_
protected static final int
i
AGE_1_HALFWIDTH
field_31067
f_ckobnfgw
field_31067
AGE_1_HALFWIDTH
f_153074_
protected static final int
j
AGE_2_WIDTH
field_31068
f_scmnbueg
field_31068
AGE_2_WIDTH
f_153075_
protected static final int
k
AGE_2_HEIGHT
field_31069
f_hfykykvd
field_31069
AGE_2_HEIGHT
f_153076_
protected static final int
l
AGE_2_HALFWIDTH
field_31070
f_ousgijgj
field_31070
AGE_2_HALFWIDTH
f_153077_
protected static final VoxelShape[]
m
EAST_AABB
field_10778
f_yezxtaok
AGE_TO_EAST_SHAPE
AGE_TO_EAST_SHAPE
f_51737_
protected static final VoxelShape[]
n
WEST_AABB
field_10776
f_lekysuss
AGE_TO_WEST_SHAPE
AGE_TO_WEST_SHAPE
f_51738_
protected static final VoxelShape[]
o
NORTH_AABB
field_10777
f_zuqnzybd
AGE_TO_NORTH_SHAPE
AGE_TO_NORTH_SHAPE
f_51739_
protected static final VoxelShape[]
F
SOUTH_AABB
field_10780
f_ppthxlkb
AGE_TO_SOUTH_SHAPE
AGE_TO_SOUTH_SHAPE
f_51740_

Constructor summary

ModifierConstructor
public (BlockBehaviour$Properties settings)

Method summary

Modifier and TypeMethod
public com.mojang.serialization.MapCodec<CocoaBlock>
a()
codec()
method_53969()
m_wrnxumjr()
getCodec()
getCodec()
m_304657_()
protected boolean
d_(dse arg0)
isRandomlyTicking(BlockState arg0)
method_9542(class_2680 arg0)
m_rmjjhoiz(C_txtbiemp arg0)
hasRandomTicks(BlockState arg0)
getRandomTicks(BlockState arg0)
m_51695_(C_2064_ arg0)
protected void
b(dse arg0, arf arg1, iz 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)
m_sdymngiw(C_txtbiemp arg0, C_bdwnwhiu arg1, C_hynzadkk arg2, C_rlomrsco arg3)
randomTick(BlockState arg0, ServerWorld arg1, BlockPos arg2, Random arg3)
randomTick(BlockState arg0, ServerWorld arg1, BlockPos arg2, RandomGenerator arg3)
m_213898_(C_2064_ p_221001_, C_12_ p_221002_, C_4675_ p_221003_, C_212974_ arg3)
protected boolean
a(dse arg0, dcd arg1, iz arg2)
canSurvive(BlockState arg0, LevelReader arg1, BlockPos arg2)
method_9558(class_2680 arg0, class_4538 arg1, class_2338 arg2)
m_qixajhot(C_txtbiemp arg0, C_eemzphbi arg1, C_hynzadkk arg2)
canPlaceAt(BlockState arg0, WorldView arg1, BlockPos arg2)
canPlaceAt(BlockState arg0, WorldView arg1, BlockPos arg2)
m_7898_(C_2064_ p_51768_, C_1599_ p_51769_, C_4675_ arg2)
protected VoxelShape
a(dse arg0, dbg arg1, iz arg2, evy arg3)
getShape(BlockState arg0, BlockGetter arg1, BlockPos arg2, CollisionContext arg3)
method_9530(class_2680 arg0, class_1922 arg1, class_2338 arg2, class_3726 arg3)
m_fqngyjtr(C_txtbiemp arg0, C_peaveboq arg1, C_hynzadkk arg2, C_pbfjvesm arg3)
getOutlineShape(BlockState arg0, BlockView arg1, BlockPos arg2, ShapeContext arg3)
getOutlineShape(BlockState arg0, BlockView arg1, BlockPos arg2, ShapeContext arg3)
m_5940_(C_2064_ p_51788_, C_1559_ p_51789_, C_4675_ p_51790_, C_3051_ arg3)
public BlockState
a(cyc arg0)
getStateForPlacement(BlockPlaceContext arg0)
method_9605(class_1750 arg0)
m_iwedynhy(C_aiootljq arg0)
getPlacementState(ItemPlacementContext arg0)
getPlacementState(ItemPlacementContext arg0)
m_5573_(C_1445_ arg0)
protected BlockState
a(dse arg0, je arg1, dse arg2, dcb arg3, iz arg4, iz arg5)
updateShape(BlockState arg0, Direction arg1, BlockState arg2, LevelAccessor arg3, BlockPos arg4, BlockPos arg5)
method_9559(class_2680 arg0, class_2350 arg1, class_2680 arg2, class_1936 arg3, class_2338 arg4, class_2338 arg5)
m_yvunqpeq(C_txtbiemp arg0, C_xpuuihxf arg1, C_txtbiemp arg2, C_vdvbsyle arg3, C_hynzadkk arg4, C_hynzadkk arg5)
getStateForNeighborUpdate(BlockState arg0, Direction arg1, BlockState arg2, WorldAccess arg3, BlockPos arg4, BlockPos arg5)
getStateForNeighborUpdate(BlockState arg0, Direction arg1, BlockState arg2, WorldAccess arg3, BlockPos arg4, BlockPos arg5)
m_7417_(C_2064_ p_51772_, C_4687_ p_51773_, C_2064_ p_51774_, C_1598_ p_51775_, C_4675_ p_51776_, C_4675_ arg5)
public boolean
b(dcd arg0, iz arg1, dse arg2)
isValidBonemealTarget(LevelReader arg0, BlockPos arg1, BlockState arg2)
method_9651(class_4538 arg0, class_2338 arg1, class_2680 arg2)
m_lqjmmujl(C_eemzphbi arg0, C_hynzadkk arg1, C_txtbiemp arg2)
isFertilizable(WorldView arg0, BlockPos arg1, BlockState arg2)
isFertilizable(WorldView arg0, BlockPos arg1, BlockState arg2)
m_7370_(C_1599_ p_51753_, C_4675_ p_51754_, C_2064_ arg2)
public boolean
a(dca arg0, azh arg1, iz arg2, dse arg3)
isBonemealSuccess(Level arg0, RandomSource arg1, BlockPos arg2, BlockState arg3)
method_9650(class_1937 arg0, class_5819 arg1, class_2338 arg2, class_2680 arg3)
m_mxdrxjjx(C_cdctfzbn arg0, C_rlomrsco arg1, C_hynzadkk arg2, C_txtbiemp arg3)
canGrow(World arg0, Random arg1, BlockPos arg2, BlockState arg3)
canFertilize(World arg0, RandomGenerator arg1, BlockPos arg2, BlockState arg3)
m_214167_(C_1596_ p_220996_, C_212974_ p_220997_, C_4675_ p_220998_, C_2064_ arg3)
public void
a(arf arg0, azh arg1, iz arg2, dse arg3)
performBonemeal(ServerLevel arg0, RandomSource arg1, BlockPos arg2, BlockState arg3)
method_9652(class_3218 arg0, class_5819 arg1, class_2338 arg2, class_2680 arg3)
m_tbosypih(C_bdwnwhiu arg0, C_rlomrsco arg1, C_hynzadkk arg2, C_txtbiemp arg3)
grow(ServerWorld arg0, Random arg1, BlockPos arg2, BlockState arg3)
fertilize(ServerWorld arg0, RandomGenerator arg1, BlockPos arg2, BlockState arg3)
m_214148_(C_12_ p_220991_, C_212974_ p_220992_, C_4675_ p_220993_, C_2064_ arg3)
protected void
a(dsf$a<dfb, dse> arg0)
createBlockStateDefinition(StateDefinition$Builder<Block, BlockState> arg0)
method_9515(class_2689$class_2690<class_2248, class_2680> arg0)
m_yujtcnah(C_ezfeikaq$C_mfnsmxhw<C_mmxmpdoq, C_txtbiemp> arg0)
appendProperties(StateManager$Builder<Block, BlockState> arg0)
appendProperties(StateManager$Builder<Block, BlockState> arg0)
m_7926_(C_2065_$C_2066_<C_1706_, C_2064_> arg0)
protected boolean
a(dse arg0, eom arg1)
isPathfindable(BlockState arg0, PathComputationType arg1)
method_9516(class_2680 arg0, class_10 arg1)
m_rwctfady(C_txtbiemp arg0, C_kjwlgpfr arg1)
canPathfindThrough(BlockState arg0, NavigationType arg1)
canPathfindThrough(BlockState arg0, NavigationType arg1)
m_7357_(C_2064_ p_51765_, C_2754_ arg1)