net.minecraft.world.level.block

public class CocoaBlock

extends HorizontalDirectionalBlock implements BonemealableBlock

All mapped superinterfaces:

ItemLike, BonemealableBlock

bve
net.minecraft.world.level.block.CocoaBlock
net.minecraft.class_2282
net.minecraft.block.CocoaBlock
net.minecraft.block.CocoaBlock
net.minecraft.server.v1_16_R2.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 (BlockBehaviour$Properties arg0)

Method summary

Modifier and TypeMethod
public boolean
a_(cee arg0)
isRandomlyTicking(BlockState arg0)
method_9542(class_2680 arg0)
hasRandomTicks(BlockState arg0)
func_149653_t(BlockState arg0)
isTicking(IBlockData arg0)
public void
b(cee arg0, aag arg1, fx 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)
randomTick(BlockState arg0, ServerWorld arg1, BlockPos arg2, Random arg3)
func_225542_b_(BlockState arg0, ServerWorld arg1, BlockPos arg2, Random arg3)
tick(IBlockData arg0, WorldServer arg1, BlockPosition arg2, Random arg3)
public boolean
a(cee arg0, brw arg1, fx arg2)
canSurvive(BlockState arg0, LevelReader arg1, BlockPos arg2)
method_9558(class_2680 arg0, class_4538 arg1, class_2338 arg2)
canPlaceAt(BlockState arg0, WorldView arg1, BlockPos arg2)
func_196260_a(BlockState arg0, IWorldReader arg1, BlockPos arg2)
canPlace(IBlockData arg0, IWorldReader arg1, BlockPosition arg2)
public VoxelShape
b(cee arg0, bqz arg1, fx arg2, dcp 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)
func_220053_a(BlockState arg0, IBlockReader arg1, BlockPos arg2, ISelectionContext arg3)
public BlockState
a(bnv arg0)
getStateForPlacement(BlockPlaceContext arg0)
method_9605(class_1750 arg0)
getPlacementState(ItemPlacementContext arg0)
func_196258_a(BlockItemUseContext arg0)
getPlacedState(BlockActionContext arg0)
public BlockState
a(cee arg0, gc arg1, cee arg2, brv arg3, fx arg4, fx 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, WorldAccess 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(bqz arg0, fx arg1, cee 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(bru arg0, Random arg1, fx arg2, cee 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
a(aag arg0, Random arg1, fx arg2, cee arg3)
performBonemeal(ServerLevel arg0, Random arg1, BlockPos arg2, BlockState arg3)
method_9652(class_3218 arg0, Random arg1, class_2338 arg2, class_2680 arg3)
grow(ServerWorld arg0, Random arg1, BlockPos arg2, BlockState arg3)
func_225535_a_(ServerWorld arg0, Random arg1, BlockPos arg2, BlockState arg3)
protected void
a(cef$a<bul, cee> 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)
public boolean
a(cee arg0, bqz arg1, fx arg2, cxb arg3)
isPathfindable(BlockState arg0, BlockGetter arg1, BlockPos arg2, PathComputationType arg3)
method_9516(class_2680 arg0, class_1922 arg1, class_2338 arg2, class_10 arg3)
canPathfindThrough(BlockState arg0, BlockView arg1, BlockPos arg2, NavigationType arg3)
func_196266_a(BlockState arg0, IBlockReader arg1, BlockPos arg2, PathType arg3)