net.minecraft.world.level.block

public class CocoaBlock

extends HorizontalDirectionalBlock implements BonemealableBlock

All mapped superinterfaces:

FeatureElement, ItemLike, BonemealableBlock

cqm
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 int
a
MAX_AGE
field_31061
f_cetcjzod
MAX_AGE
MAX_AGE
f_153068_
public static final IntegerProperty
b
AGE
field_10779
f_mqzxnevk
AGE
AGE
f_51736_
protected static final int
c
AGE_0_WIDTH
field_31062
f_ctmzsjpu
field_31062
AGE_0_WIDTH
f_153069_
protected static final int
d
AGE_0_HEIGHT
field_31063
f_sxmekzyg
field_31063
AGE_0_HEIGHT
f_153070_
protected static final int
e
AGE_0_HALFWIDTH
field_31064
f_dhfkwaha
field_31064
AGE_0_HALFWIDTH
f_153071_
protected static final int
f
AGE_1_WIDTH
field_31065
f_ojlucmcf
field_31065
AGE_1_WIDTH
f_153072_
protected static final int
g
AGE_1_HEIGHT
field_31066
f_oahwigyj
field_31066
AGE_1_HEIGHT
f_153073_
protected static final int
h
AGE_1_HALFWIDTH
field_31067
f_ckobnfgw
field_31067
AGE_1_HALFWIDTH
f_153074_
protected static final int
i
AGE_2_WIDTH
field_31068
f_scmnbueg
field_31068
AGE_2_WIDTH
f_153075_
protected static final int
j
AGE_2_HEIGHT
field_31069
f_hfykykvd
field_31069
AGE_2_HEIGHT
f_153076_
protected static final int
k
AGE_2_HALFWIDTH
field_31070
f_ousgijgj
field_31070
AGE_2_HALFWIDTH
f_153077_
protected static final VoxelShape[]
l
EAST_AABB
field_10778
f_yezxtaok
AGE_TO_EAST_SHAPE
AGE_TO_EAST_SHAPE
f_51737_
protected static final VoxelShape[]
m
WEST_AABB
field_10776
f_lekysuss
AGE_TO_WEST_SHAPE
AGE_TO_WEST_SHAPE
f_51738_
protected static final VoxelShape[]
n
NORTH_AABB
field_10777
f_zuqnzybd
AGE_TO_NORTH_SHAPE
AGE_TO_NORTH_SHAPE
f_51739_
protected static final VoxelShape[]
E
SOUTH_AABB
field_10780
f_ppthxlkb
AGE_TO_SOUTH_SHAPE
AGE_TO_SOUTH_SHAPE
f_51740_

Constructor summary

ModifierConstructor
public (BlockBehaviour$Properties arg0)

Method summary

Modifier and TypeMethod
public boolean
e_(dbq arg0)
isRandomlyTicking(BlockState arg0)
method_9542(class_2680 arg0)
m_lluiwoji(C_txtbiemp arg0)
hasRandomTicks(BlockState arg0)
hasRandomTicks(BlockState arg0)
m_6724_(C_2064_ arg0)
public void
b(dbq arg0, aip arg1, gt arg2, apo 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)
public boolean
a(dbq arg0, cml arg1, gt 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)
public VoxelShape
a(dbq arg0, clo arg1, gt arg2, edj 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(cic 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)
public BlockState
a(dbq arg0, gz arg1, dbq arg2, cmj arg3, gt arg4, gt 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
a(cml arg0, gt arg1, dbq arg2, boolean arg3)
isValidBonemealTarget(LevelReader arg0, BlockPos arg1, BlockState arg2, boolean arg3)
method_9651(class_4538 arg0, class_2338 arg1, class_2680 arg2, boolean arg3)
m_lqjmmujl(C_eemzphbi arg0, C_hynzadkk arg1, C_txtbiemp arg2, boolean arg3)
isFertilizable(WorldView arg0, BlockPos arg1, BlockState arg2, boolean arg3)
isFertilizable(WorldView arg0, BlockPos arg1, BlockState arg2, boolean arg3)
m_7370_(C_1599_ p_51753_, C_4675_ p_51754_, C_2064_ p_51755_, boolean arg3)
public boolean
a(cmi arg0, apo arg1, gt arg2, dbq 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)
canGrow(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(aip arg0, apo arg1, gt arg2, dbq 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)
grow(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(dbr$a<cpi, dbq> 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)
public boolean
a(dbq arg0, clo arg1, gt arg2, dxa arg3)
isPathfindable(BlockState arg0, BlockGetter arg1, BlockPos arg2, PathComputationType arg3)
method_9516(class_2680 arg0, class_1922 arg1, class_2338 arg2, class_10 arg3)
m_rwctfady(C_txtbiemp arg0, C_peaveboq arg1, C_hynzadkk arg2, C_kjwlgpfr arg3)
canPathfindThrough(BlockState arg0, BlockView arg1, BlockPos arg2, NavigationType arg3)
canPathfindThrough(BlockState arg0, BlockView arg1, BlockPos arg2, NavigationType arg3)
m_7357_(C_2064_ p_51763_, C_1559_ p_51764_, C_4675_ p_51765_, C_2754_ arg3)