Links
Comment on page

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
Carrot
CARROT
0-7
Chorus Flower
CHORUS_FLOWER
0-5
Wheat
WHEAT
0-7
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
quests:
1:
name: 'Daily - Farmer'
type: block-break
variable: POTATOES:7
required-progress: 10
points: 10
item:
material: diamond_pickaxe:0
amount: 1
name: '&eFarmer'
lore:
- '&7Mine &e10 Potatoes'
- ''
- '&7Progress &e%total_progress%&7/&e%required_progress%'

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
quests:
1:
name: 'Daily - Farmer'
type: block-break
variable: nether_wart:3
required-progress: 10
points: 10
item:
material: nether_wart:0
amount: 1
name: '&eFarmer'
lore:
- '&7Mine &e10 Nether Warts'
- ''
- '&7Progress &e%total_progress%&7/&e%required_progress%'