net.minecraft.world.level.block

public class CocoaBlock

extends HorizontalDirectionalBlock implements BonemealableBlock

All mapped superinterfaces:

ItemLike, BonemealableBlock

bnn
net.minecraft.world.level.block.CocoaBlock
net.minecraft.class_2282
net.minecraft.block.CocoaBlock
net.minecraft.block.CocoaBlock
net.minecraft.server.v1_14_R1.BlockCocoa

Field summary

Modifier and TypeField
public static final IntegerProperty
a
AGE
field_10779
AGE
field_176501_a
AGE
protected static final VoxelShape[]
b
EAST_AABB
field_10778
AGE_TO_EAST_SHAPE
field_185535_b
protected static final VoxelShape[]
c
WEST_AABB
field_10776
AGE_TO_WEST_SHAPE
field_185536_c
protected static final VoxelShape[]
d
NORTH_AABB
field_10777
AGE_TO_NORTH_SHAPE
field_185537_d
protected static final VoxelShape[]
e
SOUTH_AABB
field_10780
AGE_TO_SOUTH_SHAPE
field_185538_e

Constructor summary

ModifierConstructor
public (Block$Properties settings)

Method summary

Modifier and TypeMethod
public void
b(bvt arg0, bhr arg1, ew arg2, Random arg3)
tick(BlockState arg0, Level arg1, BlockPos arg2, Random arg3)
method_9588(class_2680 arg0, class_1937 arg1, class_2338 arg2, Random arg3)
onScheduledTick(BlockState arg0, World arg1, BlockPos arg2, Random arg3)
func_196267_b(BlockState arg0, World arg1, BlockPos arg2, Random arg3)
tick(IBlockData arg0, World arg1, BlockPosition arg2, Random arg3)
public boolean
a(bvt arg0, bhu arg1, ew arg2)
canSurvive(BlockState arg0, LevelReader arg1, BlockPos arg2)
method_9558(class_2680 arg0, class_1941 arg1, class_2338 arg2)
canPlaceAt(BlockState arg0, CollisionView arg1, BlockPos arg2)
func_196260_a(BlockState arg0, IWorldReader arg1, BlockPos arg2)
canPlace(IBlockData arg0, IWorldReader arg1, BlockPosition arg2)
public VoxelShape
a(bvt arg0, bhb arg1, ew arg2, csn 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, EntityContext arg3)
func_220053_a(BlockState arg0, IBlockReader arg1, BlockPos arg2, ISelectionContext arg3)
public BlockState
a(ban arg0)
getStateForPlacement(BlockPlaceContext arg0)
method_9605(class_1750 arg0)
getPlacementState(ItemPlacementContext arg0)
func_196258_a(BlockItemUseContext arg0)
getPlacedState(BlockActionContext arg0)
public BlockState
a(bvt arg0, fb arg1, bvt arg2, bhs arg3, ew arg4, ew 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)
getStateForNeighborUpdate(BlockState arg0, Direction arg1, BlockState arg2, IWorld arg3, BlockPos arg4, BlockPos arg5)
func_196271_a(BlockState arg0, Direction arg1, BlockState arg2, IWorld arg3, BlockPos arg4, BlockPos arg5)
updateState(IBlockData arg0, EnumDirection arg1, IBlockData arg2, GeneratorAccess arg3, BlockPosition arg4, BlockPosition arg5)
public boolean
a(bhb arg0, ew arg1, bvt 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)
isFertilizable(BlockView arg0, BlockPos arg1, BlockState arg2, boolean arg3)
func_176473_a(IBlockReader arg0, BlockPos arg1, BlockState arg2, boolean arg3)
public boolean
a(bhr arg0, Random arg1, ew arg2, bvt arg3)
isBonemealSuccess(Level arg0, Random arg1, BlockPos arg2, BlockState arg3)
method_9650(class_1937 arg0, Random arg1, class_2338 arg2, class_2680 arg3)
canGrow(World arg0, Random arg1, BlockPos arg2, BlockState arg3)
func_180670_a(World arg0, Random arg1, BlockPos arg2, BlockState arg3)
public void
b(bhr arg0, Random arg1, ew arg2, bvt arg3)
performBonemeal(Level arg0, Random arg1, BlockPos arg2, BlockState arg3)
method_9652(class_1937 arg0, Random arg1, class_2338 arg2, class_2680 arg3)
grow(World arg0, Random arg1, BlockPos arg2, BlockState arg3)
func_176474_b(World arg0, Random arg1, BlockPos arg2, BlockState arg3)
public BlockLayer
c()
getRenderLayer()
method_9551()
getRenderLayer()
func_180664_k()
protected void
a(bvu$a<bmv, bvt> arg0)
createBlockStateDefinition(StateDefinition$Builder<Block, BlockState> arg0)
method_9515(class_2689$class_2690<class_2248, class_2680> arg0)
appendProperties(StateManager$Builder<Block, BlockState> arg0)
func_206840_a(StateContainer$Builder<Block, BlockState> arg0)