9
0
mirror of https://github.com/Xiao-MoMi/Custom-Crops.git synced 2025-12-26 10:29:10 +00:00
This commit is contained in:
Xiao-MoMi
2022-10-04 02:51:03 +08:00
parent e185bff763
commit a21ae65ea0
19 changed files with 346 additions and 76 deletions

View File

@@ -3,6 +3,7 @@ wet-pot: customcrops:watered_pot
greenhouse-glass: customcrops:greenhouse_glass
dead-crop: customcrops:crop_stage_death
soil-surveyor: customcrops:soil_surveyor
crow: customcrops:crow
crow-fly: customcrops:crow_fly
crow-land: customcrops:crow_land
scarecow: customcrops:scarecow
water-effect: customcrops:water_effect

View File

@@ -3,6 +3,7 @@ wet-pot: watered_pot
greenhouse-glass: greenhouse_glass
dead-crop: crop_stage_death
soil-surveyor: soil_surveyor
crow: crow
crow-fly: crow_fly
crow-land: crow_land
scarecow: scarecow
water-effect: water_effect

View File

@@ -29,20 +29,12 @@ integration:
# Season
RealisticSeasons: false
worlds:
# Mode: whitelist/blacklist
mode: whitelist
list:
- world
optimization:
# Recommend enabling this to prevent large quantities of crops/itemframes lagging the server
limitation:
@@ -55,7 +47,6 @@ optimization:
# Disable the animation when sprinkler works
disable-sprinkler-animation: false
mechanics:
# Mode: tripwire/item_frame
@@ -90,7 +81,7 @@ mechanics:
prevent-plant-if-wrong-season: true
# Should player be notified of the wrong season?
should-notify-if-wrong-season: true
#
fill:
watering-can-to-sprinkler: 1
water-bucket-to-sprinkler: 3

View File

@@ -1,5 +1,7 @@
# Crop Name
# Your seeds should end with "_seeds" and stage model should end with "_stage_x"
tomato:
# If you don't need quality-loots just delete them
quality-loots:
amount: 1~4
quality:
@@ -21,32 +23,110 @@ tomato:
gigantic-crop:
block: customcrops:gigantic_tomato
#furniture: customcrops:gigantic_tomato(If you want gigantic crop to be a furniture)
# furniture: customcrops:gigantic_tomato (If you want gigantic crop to be a furniture)
chance: 0.01
harvest-actions:
messages:
- 'Test Message'
- 'Hello, {player}! <u><click:open_url:xxx.xxx>Click here to read the CustomCrops wiki'
- '<u>This plugin uses MiniMessage Format, check it here</u><click:open_url:https://docs.adventure.kyori.net/minimessage/format.html> <gold>[Click Me]'
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: customcrops:tomato_stage_1
#optional
season:
- summer
- autumn
- Spring
requirements:
condition_1:
# available types:
# permission/biome/time/weather/world/yPos
# 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!'
message: 'You don''t have permission to plant this seed!'
grape:
quality-loots:
amount: 3~4
quality:
1: customcrops:grape
2: customcrops:grape_silver_star
3: customcrops:grape_golden_star
return: customcrops:grape_stage_4
season:
- Spring
- Summer
- Autumn
garlic:
quality-loots:
amount: 1~4
quality:
1: customcrops:garlic
2: customcrops:garlic_silver_star
3: customcrops:garlic_golden_star
season:
- Autumn
- Winter
redpacket:
other-loots:
loot_1:
item: customcrops:redpacket
min_amount: 1
max_amount: 2
chance: 1
loot_2:
item: customcrops:redpacket
min_amount: 1
max_amount: 4
chance: 0.8
loot_3:
item: customcrops:redpacket
min_amount: 1
max_amount: 2
chance: 0.4
cabbage:
quality-loots:
amount: 1~1
quality:
1: customcrops:cabbage
2: customcrops:cabbage_silver_star
3: customcrops:cabbage_golden_star
season:
- Spring
- Summer
gigantic-crop:
block: customcrops:gigantic_cabbage
chance: 0.02
pepper:
quality-loots:
amount: 3~6
quality:
1: customcrops:pepper
2: customcrops:pepper_silver_star
3: customcrops:pepper_golden_star
return: customcrops:pepper_stage_4
season:
- Spring
- Autumn
corn:
quality-loots:
amount: 1~3
quality:
1: customcrops:corn
2: customcrops:corn_silver_star
3: customcrops:corn_golden_star
season:
- Summer
- Autumn

View File

@@ -86,7 +86,7 @@ quality:
#When haveresting, players have a higher chance to get more crops.
quantity:
quantity_1:
name: ''
name: ''
times: 14
chance: 0.5
bonus: 1
@@ -114,23 +114,24 @@ quantity:
#Crops have a higher chance to be gigantic
gigantic:
gigantic_1:
name: ''
name: ''
times: 14
chance: 0.5
# If a crop's default gigantic chance is 0.01, now it's 0.03
chance: 0.02
item: customcrops:gigantic_1
before-plant: true
particle: SPELL_MOB
particle: SOUL
gigantic_2:
name: ''
name: ''
times: 14
chance: 0.5
chance: 0.04
item: customcrops:gigantic_2
before-plant: true
particle: SPELL_MOB
particle: SOUL
gigantic_3:
name: ''
name: ''
times: 14
chance: 0.8
chance: 0.08
item: customcrops:gigantic_3
before-plant: true
particle: SPELL_MOB
particle: SOUL

View File

@@ -120,18 +120,18 @@ gigantic:
chance: 0.02
item: gigantic_1
before-plant: true
particle: SPELL_MOB
particle: SOUL
gigantic_2:
name: '뀐'
times: 14
chance: 0.04
item: gigantic_2
before-plant: true
particle: SPELL_MOB
particle: SOUL
gigantic_3:
name: '뀑'
times: 14
chance: 0.08
item: gigantic_3
before-plant: true
particle: SPELL_MOB
particle: SOUL

View File

@@ -5,6 +5,11 @@ sprinkler_1:
2Ditem: customcrops:sprinkler_1_item
sprinkler_2:
range: 2
max-water-storage: 7
max-water-storage: 6
3Ditem: customcrops:sprinkler_2
2Ditem: customcrops:sprinkler_2_item
2Ditem: customcrops:sprinkler_2_item
sprinkler_3:
range: 3
max-water-storage: 7
3Ditem: customcrops:sprinkler_3
2Ditem: customcrops:sprinkler_3_item

View File

@@ -5,6 +5,11 @@ sprinkler_1:
2Ditem: sprinkler_1_item
sprinkler_2:
range: 2
max-water-storage: 7
max-water-storage: 6
3Ditem: sprinkler_2
2Ditem: sprinkler_2_item
2Ditem: sprinkler_2_item
sprinkler_3:
range: 3
max-water-storage: 7
3Ditem: sprinkler_3
2Ditem: sprinkler_3_item