net.minecraft.world.level.block

public class CropBlock

extends BushBlock implements BonemealableBlock

All mapped superinterfaces:

ItemLike, BonemealableBlock

bvp
net.minecraft.world.level.block.CropBlock
net.minecraft.class_2302
net.minecraft.unmapped.C_rhzoiqkd
net.minecraft.block.CropBlock
net.minecraft.block.CropsBlock
net.minecraft.server.v1_16_R2.BlockCrops

Field summary

Modifier and TypeField
public static final IntegerProperty
b
AGE
field_10835
f_oitmwsoi
AGE
field_176488_a
AGE
private static final VoxelShape[]
a
SHAPE_BY_AGE
field_10836
f_gawssnbp
AGE_TO_SHAPE
field_196393_a

Constructor summary

ModifierConstructor
protected (BlockBehaviour$Properties arg0)

Method summary

Modifier and TypeMethod
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)
m_fqngyjtr(C_txtbiemp arg0, C_peaveboq arg1, C_hynzadkk arg2, C_pbfjvesm arg3)
getOutlineShape(BlockState arg0, BlockView arg1, BlockPos arg2, ShapeContext arg3)
func_220053_a(BlockState arg0, IBlockReader arg1, BlockPos arg2, ISelectionContext arg3)
protected boolean
c(cee arg0, bqz arg1, fx arg2)
mayPlaceOn(BlockState arg0, BlockGetter arg1, BlockPos arg2)
method_9695(class_2680 arg0, class_1922 arg1, class_2338 arg2)
m_hjbkfomn(C_txtbiemp arg0, C_peaveboq arg1, C_hynzadkk arg2)
canPlantOnTop(BlockState arg0, BlockView arg1, BlockPos arg2)
func_200014_a_(BlockState arg0, IBlockReader arg1, BlockPos arg2)
public IntegerProperty
c()
getAgeProperty()
method_9824()
m_lkntfvxg()
getAgeProperty()
func_185524_e()
public int
d()
getMaxAge()
method_9827()
m_ijrdwbxi()
getMaxAge()
func_185526_g()
protected int
g(cee arg0)
getAge(BlockState arg0)
method_9829(class_2680 arg0)
m_gpssfeqb(C_txtbiemp arg0)
getAge(BlockState state)
func_185527_x(BlockState arg0)
public BlockState
b(int arg0)
getStateForAge(int arg0)
method_9828(int arg0)
m_hzwbhnfv(int arg0)
withAge(int age)
func_185528_e(int arg0)
setAge(int arg0)
public boolean
h(cee arg0)
isMaxAge(BlockState arg0)
method_9825(class_2680 arg0)
m_zqwsxueh(C_txtbiemp arg0)
isMature(BlockState state)
func_185525_y(BlockState arg0)
isRipe(IBlockData arg0)
public boolean
a_(cee arg0)
isRandomlyTicking(BlockState arg0)
method_9542(class_2680 arg0)
m_lluiwoji(C_txtbiemp 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)
m_sdymngiw(C_txtbiemp arg0, C_bdwnwhiu arg1, C_hynzadkk 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 void
a(bru arg0, fx arg1, cee arg2)
growCrops(Level arg0, BlockPos arg1, BlockState arg2)
method_9826(class_1937 arg0, class_2338 arg1, class_2680 arg2)
m_zueyanzo(C_cdctfzbn arg0, C_hynzadkk arg1, C_txtbiemp arg2)
applyGrowth(World world, BlockPos pos, BlockState state)
func_176487_g(World arg0, BlockPos arg1, BlockState arg2)
protected int
a(bru arg0)
getBonemealAgeIncrease(Level arg0)
method_9831(class_1937 arg0)
m_roapqwua(C_cdctfzbn arg0)
getGrowthAmount(World world)
func_185529_b(World arg0)
protected static float
a(bul arg0, bqz arg1, fx arg2)
getGrowthSpeed(Block arg0, BlockGetter arg1, BlockPos arg2)
method_9830(class_2248 arg0, class_1922 arg1, class_2338 arg2)
m_uyeyvlzn(C_mmxmpdoq arg0, C_peaveboq arg1, C_hynzadkk arg2)
getAvailableMoisture(Block block, BlockView world, BlockPos pos)
func_180672_a(Block arg0, IBlockReader arg1, BlockPos arg2)
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)
m_qixajhot(C_txtbiemp arg0, C_eemzphbi arg1, C_hynzadkk 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 void
a(cee arg0, bru arg1, fx arg2, apx arg3)
entityInside(BlockState arg0, Level arg1, BlockPos arg2, Entity arg3)
method_9548(class_2680 arg0, class_1937 arg1, class_2338 arg2, class_1297 arg3)
m_lmjnycyw(C_txtbiemp arg0, C_cdctfzbn arg1, C_hynzadkk arg2, C_astfners arg3)
onEntityCollision(BlockState arg0, World arg1, BlockPos arg2, Entity arg3)
func_196262_a(BlockState arg0, World arg1, BlockPos arg2, Entity arg3)
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)
m_lqjmmujl(C_peaveboq arg0, C_hynzadkk arg1, C_txtbiemp 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)
m_mxdrxjjx(C_cdctfzbn arg0, Random arg1, C_hynzadkk arg2, C_txtbiemp 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)
m_tbosypih(C_bdwnwhiu arg0, Random arg1, C_hynzadkk arg2, C_txtbiemp 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)
m_yujtcnah(C_ezfeikaq$C_mfnsmxhw<C_mmxmpdoq, C_txtbiemp> arg0)
appendProperties(StateManager$Builder<Block, BlockState> arg0)
func_206840_a(StateContainer$Builder<Block, BlockState> arg0)
protected ItemLike
e()
getBaseSeedId()
method_9832()
m_alupcouq()
getSeedsItem()
func_199772_f()
public ItemStack
a(bqz arg0, fx arg1, cee arg2)
getCloneItemStack(BlockGetter arg0, BlockPos arg1, BlockState arg2)
method_9574(class_1922 arg0, class_2338 arg1, class_2680 arg2)
m_jsiqlbgd(C_peaveboq arg0, C_hynzadkk arg1, C_txtbiemp arg2)
getPickStack(BlockView arg0, BlockPos arg1, BlockState arg2)
func_185473_a(IBlockReader arg0, BlockPos arg1, BlockState arg2)