9
0
mirror of https://github.com/Xiao-MoMi/Custom-Crops.git synced 2025-12-29 11:59:15 +00:00
Files
Custom-Crops/src/main/resources/crops_oraxen.yml
Xiao-MoMi ba9ead0c1e 2.2.3
2023-01-30 21:43:54 +08:00

227 lines
4.0 KiB
YAML

# Crop Name
# Your seeds should end with "_seeds" and stage model should end with "_stage_x"
tomato:
max-stage: 4
quality-loots:
amount: 1~4
quality:
1: tomato
2: tomato_silver_star
3: tomato_golden_star
other-loots:
loot_1:
item: tomato_seeds
min_amount: 1
max_amount: 2
chance: 0.8
loot_2:
item: tomato
min_amount: 1
max_amount: 2
chance: 0.8
gigantic-crop:
block: gigantic_tomato
# furniture: gigantic_tomato (If you want gigantic crop to be a furniture)
chance: 0.01
harvest-actions:
# https://docs.adventure.kyori.net/minimessage/format.html
messages:
- 'Hello, {player}! <u><click:open_url:https://www.yuque.com/docs/share/3e23f953-ccf0-4de5-bfe6-23868380c599>Click here to read the CustomCrops wiki'
commands:
- 'say {player} harvested a tomato! lol'
xp: 10
#skill-xp: 100
# When you harvest with a single right click, the crop would return to a certain stage
return: tomato_stage_1
season:
- Spring
plant-requirements:
condition_1:
# Condition System:
type: permission
# Mode: && / ||
mode: '&&'
value:
- crops.plant.tomato
# The message to be shown when player doesn't fit the requirement
message: 'You don''t have permission to plant this seed!'
harvest-requirements:
condition_1:
type: permission
mode: '&&'
value:
- crops.harvest.tomato
message: 'You don''t have permission to harvest tomato!'
grape:
max-stage: 6
quality-loots:
amount: 3~4
quality:
1: grape
2: grape_silver_star
3: grape_golden_star
return: grape_stage_4
season:
- Spring
- Summer
- Autumn
garlic:
max-stage: 4
quality-loots:
amount: 1~4
quality:
1: garlic
2: garlic_silver_star
3: garlic_golden_star
season:
- Autumn
- Winter
redpacket:
max-stage: 6
other-loots:
loot_1:
item: redpacket
min_amount: 1
max_amount: 2
chance: 1
loot_2:
item: redpacket
min_amount: 1
max_amount: 4
chance: 0.8
loot_3:
item: redpacket
min_amount: 1
max_amount: 2
chance: 0.4
cabbage:
max-stage: 4
quality-loots:
amount: 1~1
quality:
1: cabbage
2: cabbage_silver_star
3: cabbage_golden_star
season:
- Spring
- Summer
gigantic-crop:
block: gigantic_cabbage
chance: 0.02
pepper:
max-stage: 5
quality-loots:
amount: 3~6
quality:
1: pepper
2: pepper_silver_star
3: pepper_golden_star
return: pepper_stage_3
season:
- Spring
- Autumn
corn:
max-stage: 4
quality-loots:
amount: 1~3
quality:
1: corn
2: corn_silver_star
3: corn_golden_star
season:
- Summer
- Autumn
apple:
max-stage: 6
other-loots:
loot_1:
item: APPLE
min_amount: 1
max_amount: 2
chance: 0.8
loot_2:
item: APPLE
min_amount: 1
max_amount: 2
chance: 1
return: apple_stage_4
pineapple:
max-stage: 4
quality-loots:
amount: 1~1
quality:
1: pineapple
2: pineapple_silver_star
3: pineapple_golden_star
gigantic-crop:
block: gigantic_pineapple
chance: 0.01
season:
- Summer
pitaya:
max-stage: 6
quality-loots:
amount: 2~5
quality:
1: pitaya
2: pitaya_silver_star
3: pitaya_golden_star
return: pitaya_stage_4
eggplant:
max-stage: 4
quality-loots:
amount: 3~7
quality:
1: eggplant
2: eggplant_silver_star
3: eggplant_golden_star
season:
- Summer
chinesecabbage:
max-stage: 4
quality-loots:
amount: 1~1
quality:
1: chinese_cabbage
2: chinese_cabbage_silver_star
3: chinese_cabbage_golden_star
season:
- Autumn
- Winter
hop:
max-stage: 4
quality-loots:
amount: 2~5
quality:
1: hop
2: hop_silver_star
3: hop_golden_star
return: hop_stage_1
season:
- Summer