9
0
mirror of https://github.com/Xiao-MoMi/Custom-Crops.git synced 2025-12-27 02:49:11 +00:00
This commit is contained in:
Xiao-MoMi
2022-08-02 16:02:53 +08:00
parent 3b02acf333
commit f3a09d94e0
18 changed files with 800 additions and 492 deletions

View File

@@ -1,3 +1,4 @@
#=============================================================#
#ItemsAdder items namespacedID
basic:
pot: customcrops:pot
@@ -5,7 +6,7 @@ basic:
greenhouse-glass: customcrops:greenhouse_glass
dead-crop: customcrops:crop_stage_death
soil-detector: customcrops:soil_detector
#=============================================================#
water-can:
watering_can_1:
item: customcrops:watering_can_1
@@ -29,7 +30,7 @@ water-can:
max: 6
width: 3
length: 5
#=============================================================#
lore:
#Should lore be changed when using watering-can
watering-can:
@@ -45,7 +46,7 @@ lore:
full: '뀁뀃'
empty: '뀁뀄'
right: '뀁뀅</font>'
#=============================================================#
sprinkler:
sprinkler_1:
range: 1
@@ -58,3 +59,4 @@ sprinkler:
max-water: 7
3Ditem: customcrops:sprinkler_2
2Ditem: customcrops:sprinkler_2_item
#=============================================================#

View File

@@ -1,7 +1,8 @@
config:
#=============================================================#
#english spanish chinese
lang: english
#=============================================================#
integration:
#integration to prevent other players' grief
Residence: false
@@ -16,31 +17,46 @@ config:
AureliumSkills: false
mcMMO: false
MMOCore: false
#=============================================================#
#Mode 1:
# Crops in loaded chunks will grow
#Mode 2:
# Online players' crops will grow
#Mode 3:
# Mode 1 + Mode 2
#Mode 4:
# No support in this mode!
# All the crops will grow (May cause lag)
grow-mode: 3
#The time to start growing(ticks)
#1000ticks is 7am in game. (0-23999)
#Sprinklers will work after all crops finish growing
grow-time:
- 1000
#Time in random a single crop need to growseconds
#This prevents a large amount of crops grow at the same time
#Large amount of block replacement would cause lag.
time-to-grow: 60
#Similar to "time-to-grow", this prevent all sprinklers work at the same time
time-to-work: 30
#Async Time Check (requires restart)
#Crops might not grow when using async.
#It is not really necessary to be Async
async-time-check: false
#Worlds where crops would grow
whitelist-worlds:
- world
#Should all the worlds' crops grow?
#This is useful for per player per world server.
#In this mode, whitelist world can only have one as the standard of time & season judgment.
all-world-grow: false
#=============================================================#
quality:
#If disabled, you need to configurate the loot in ItemsAdder config
enable: true
#Default ratio
default-ratio: 17/2/1
#Async Time Check (requires restart)
#Crops might not grow when using async.
#It is not really necessary to be Async
async-time-check: false
#=============================================================#
#Water Amount to refill when using water bucket
sprinkler-refill: 2
#Water Amount to refill with a sigle click to water block
@@ -49,11 +65,13 @@ config:
water-can-add-water-to-sprinkler: true
#Should particles be displayed when using watering can?
water-particles: true
#Worlds where crops would grow
whitelist-worlds:
- world
#=============================================================#
#Will bone meal accelerate the growth of crop
bone-meal:
enable: true
chance: 0.5
success-particle: VILLAGER_HAPPY
#=============================================================#
#Should we limit the max amount of crops and sprinkler in one chunk
#Recommended to enable because ItemsAdder might throw StackOverFlow
#when there are too many custom blocks in one chunk
@@ -61,38 +79,15 @@ config:
enable: true
crop: 64
sprinkler: 8
#Test performance
log-time-consume: false
#Defaultly crops will only grow in loaded chunks.
#If you want a mechanic similar to OriginRealms just DISABLE SEASON and REPEATED HARVESTING.
#In this way crops data will be removed from file when it comes to its final stage.
#In other words, plugin will only record the crops still on growing.
#NEVER SET "only-grow-in-loaded-chunks" FALSE IF YOU ARE USING THE FEATURES MENTIONED ABOVE.
#Otherwise it would be laggy because too many data in cache.
only-grow-in-loaded-chunks: true
#Should all the worlds' crops grow?
#This is useful for per player per world server.
#In this mode, whitelist world can only have one as the standard of time & season judgment.
all-world-grow: false
#=============================================================#
#can player harvest crops with right click?
#if set "false" crops can't be harvested repeatedly
right-click-harvest: true
#If "right-click-harvest" is true
#Should player be allowed to harvest with items in hand
harvest-with-empty-hand: true
#Should player be prevented from planting if wrong season
prevent-plant-if-wrong-season: true
#Should notify player of the wrong season?
should-notify-if-wrong-season: true
#Will bone meal accelerate the growth of crop
bone-meal:
enable: true
chance: 0.5
success-particle: VILLAGER_HAPPY
#=============================================================#

View File

@@ -27,7 +27,7 @@ speed:
times: 14
item: customcrops:speed_3
before-plant: true
#=============================================================#
#Pot have a small chance to retain its water after crops grow
retaining:
retaining_1:
@@ -50,7 +50,7 @@ retaining:
times: 28
item: customcrops:retaining_3
before-plant: false
#=============================================================#
#When haveresting, players have a higher chance to get high quality crops.
quality:
quality_1:
@@ -72,4 +72,5 @@ quality:
times: 28
chance: 2/2/1
item: customcrops:quality_3
before-plant: true
before-plant: true
#=============================================================#

View File

@@ -1,5 +1,6 @@
season:
#require a restart to apply
enable: true
auto-season-change:

View File

@@ -61,15 +61,16 @@ config:
#记录生长判断和洒水所需的时间(测试性能用)
log-time-consume: false
#是否只有加载中的区块农作物才会生长
#如果你不使用季节、可重复收获特性
#插件data只会记录正在生长中某个阶段的农作物数据
#生长到最后一阶段农作物生长数据就会清除
#那么可以尝试设置此值为false来让数据内全部农作物生长
#如果你使用上述特性中的任意一个请不要设置为false
#否则农作物生长到最后一阶段不会从数据中清除,过大的数据量
#可能会导致服务器严重卡顿
only-grow-in-loaded-chunks: true
#Mode 1:
# 加载中区块的农作物生长
#Mode 2:
# 在线玩家的农作物生长
#Mode 3:
# Mode 1 + Mode 2
#Mode 4:
# 所有农作物生长
# 可能会造成卡顿!不建议使用此模式
grow-mode: 3
#是否所有加载中的世界都要进行生长判断
#本选项适用于使用玩家独立世界的服务器