Harvesting Crops
Tutorial on how to set up quests for crops harvesting for 1.15 or higher
Crop block types have changed since 1.15. We're going to be explaining how to set up harvest quests using block-break quest.

Crops Names

First off, new crop block names are (find full list of materials here):
Text
Text
States (Min-Max)
Beetroots
BEETROOTS
0-3
Carrots
CARROTS
0-7
Chorus Flower
CHORUS_FLOWER
0-5
Wheat
WHEAT
0-5
Nether Wart
NETHER_WART
0-3
Potatoes
POTATOES
0-7

States

Now, most crops have states. All crops listed above do have grow states.
States: 0-7, 0 being when crop is just planted, 7 is when crop is fully grown. Examples:

State 0 (Just Planted):

State 7 (Fully Grown):

Quest Examples

Example #1

With this example, you are required to break 10 fully grown potato plants
1
quests:
2
1:
3
name: 'Daily - Farmer'
4
type: block-break
5
variable: POTATOES:7
6
required-progress: 10
7
points: 10
8
item:
9
material: diamond_pickaxe:0
10
amount: 1
11
name: '&eFarmer'
12
lore:
13
- '&7Mine &e10 Potatoes'
14
- ''
15
- '&7Progress &e%total_progress%&7/&e%required_progress%'
Copied!

Example #2

In this example, we're harvesting 10 of fully grown nether warts. Since it's maximum age state is 3, for fully grown nether warts we're using nether_wart:3
1
quests:
2
1:
3
name: 'Daily - Farmer'
4
type: block-break
5
variable: nether_wart:3
6
required-progress: 10
7
points: 10
8
item:
9
material: nether_wart:0
10
amount: 1
11
name: '&eFarmer'
12
lore:
13
- '&7Mine &e10 Nether Warts'
14
- ''
15
- '&7Progress &e%total_progress%&7/&e%required_progress%'
Copied!