net.minecraft.world.level.block

public class CocoaBlock

extends HorizontalDirectionalBlock implements BonemealableBlock

All mapped superinterfaces:

ItemLike, BonemealableBlock

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

Constructor summary

ModifierConstructor
public (BlockBehaviour$Properties arg0)

Method summary

Modifier and TypeMethod
public boolean
e_(coc arg0)
isRandomlyTicking(BlockState arg0)
method_9542(class_2680 arg0)
m_lluiwoji(C_txtbiemp arg0)
hasRandomTicks(BlockState arg0)
m_6724_(C_2064_ arg0)
public void
b(coc arg0, adi arg1, gh arg2, Random arg3)
randomTick(BlockState arg0, ServerLevel arg1, BlockPos arg2, Random arg3)
method_9514(class_2680 arg0, class_3218 arg1, class_2338 arg2, Random arg3)
m_sdymngiw(C_txtbiemp arg0, C_bdwnwhiu arg1, C_hynzadkk arg2, Random arg3)
randomTick(BlockState arg0, ServerWorld arg1, BlockPos arg2, Random arg3)
m_7455_(C_2064_ p_51783_, C_12_ p_51784_, C_4675_ p_51785_, Random arg3)
public boolean
a(coc arg0, cag arg1, gh 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)
m_7898_(C_2064_ p_51768_, C_1599_ p_51769_, C_4675_ arg2)
public VoxelShape
a(coc arg0, bzj arg1, gh arg2, dor 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)
m_5940_(C_2064_ p_51788_, C_1559_ p_51789_, C_4675_ p_51790_, C_3051_ arg3)
public BlockState
a(bwe arg0)
getStateForPlacement(BlockPlaceContext arg0)
method_9605(class_1750 arg0)
m_iwedynhy(C_aiootljq arg0)
getPlacementState(ItemPlacementContext arg0)
m_5573_(C_1445_ arg0)
public BlockState
a(coc arg0, gm arg1, coc arg2, cae arg3, gh arg4, gh 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)
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(bzj arg0, gh arg1, coc arg2, boolean arg3)
isValidBonemealTarget(BlockGetter arg0, BlockPos arg1, BlockState arg2, boolean arg3)
method_9651(class_1922 arg0, class_2338 arg1, class_2680 arg2, boolean arg3)
m_lqjmmujl(C_peaveboq arg0, C_hynzadkk arg1, C_txtbiemp arg2, boolean arg3)
isFertilizable(BlockView arg0, BlockPos arg1, BlockState arg2, boolean arg3)
m_7370_(C_1559_ p_51753_, C_4675_ p_51754_, C_2064_ p_51755_, boolean arg3)
public boolean
a(cad arg0, Random arg1, gh arg2, coc arg3)
isBonemealSuccess(Level arg0, Random arg1, BlockPos arg2, BlockState arg3)
method_9650(class_1937 arg0, Random arg1, class_2338 arg2, class_2680 arg3)
m_mxdrxjjx(C_cdctfzbn arg0, Random arg1, C_hynzadkk arg2, C_txtbiemp arg3)
canGrow(World arg0, Random arg1, BlockPos arg2, BlockState arg3)
m_5491_(C_1596_ p_51758_, Random p_51759_, C_4675_ p_51760_, C_2064_ arg3)
public void
a(adi arg0, Random arg1, gh arg2, coc arg3)
performBonemeal(ServerLevel arg0, Random arg1, BlockPos arg2, BlockState arg3)
method_9652(class_3218 arg0, Random arg1, class_2338 arg2, class_2680 arg3)
m_tbosypih(C_bdwnwhiu arg0, Random arg1, C_hynzadkk arg2, C_txtbiemp arg3)
grow(ServerWorld arg0, Random arg1, BlockPos arg2, BlockState arg3)
m_7719_(C_12_ p_51746_, Random p_51747_, C_4675_ p_51748_, C_2064_ arg3)
protected void
a(cod$a<ccy, coc> 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)
m_7926_(C_2065_$C_2066_<C_1706_, C_2064_> arg0)
public boolean
a(coc arg0, bzj arg1, gh arg2, dim 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)
m_7357_(C_2064_ p_51763_, C_1559_ p_51764_, C_4675_ p_51765_, C_2754_ arg3)