mirror of
https://github.com/Xiao-MoMi/Custom-Crops.git
synced 2025-12-28 03:19:15 +00:00
3.0.0-beta1
This commit is contained in:
@@ -4,20 +4,6 @@ config-version: '25'
|
||||
metrics: true
|
||||
# Language: english / spanish / chinese / turkish
|
||||
lang: english
|
||||
# AntiGrief
|
||||
integrations:
|
||||
Residence: false
|
||||
WorldGuard: false
|
||||
Kingdoms: false
|
||||
GriefDefender: false
|
||||
PlotSquared: false
|
||||
Towny: false
|
||||
Lands: false
|
||||
GriefPrevention: false
|
||||
CrashClaim: false
|
||||
BentoBox: false
|
||||
IridiumSkyBlock: false
|
||||
SuperiorSkyBlock: false
|
||||
|
||||
worlds:
|
||||
# This is designed for servers that using a separate folder for worlds
|
||||
@@ -84,6 +70,9 @@ mechanics:
|
||||
# effective range (Y axis)
|
||||
# Y轴有效范围
|
||||
range: 5
|
||||
# scarecrow item id
|
||||
# 稻草人物品id
|
||||
scarecrow: customcrops:scarecrow
|
||||
|
||||
other-settings:
|
||||
# This option requires a skill-plugin hook
|
||||
|
||||
@@ -1,20 +1,33 @@
|
||||
# Crop key name
|
||||
# 农作物配置名
|
||||
tomato:
|
||||
# TripWire / Item_Frame / Item_Display (1.19.4+)
|
||||
crop-mode: Item_Frame
|
||||
# Crop mode, make sure that type is consistent with IA/Oraxen configs
|
||||
# Otherwise some unexpected problems would occur
|
||||
# TRIPWIRE / ITEM_FRAME / ITEM_DISPLAY (1.19.4+)
|
||||
# 农作物模式,请确保和你的资源包配置等一致,否则会出现bug
|
||||
type: ITEM_FRAME
|
||||
|
||||
# The crop can only be planted on certain pots
|
||||
# Pot are stored in /CustomCrops/contents/pots
|
||||
# 农作物只能在指定的种植盆中种植
|
||||
pot-whitelist:
|
||||
- default
|
||||
|
||||
# Seed
|
||||
# Crop's seed, if you want to use Vanilla items, just use Capital letters. (Example APPLE)
|
||||
# 农作物的种子,如果你想用原版物品做种子,就使用大写字母
|
||||
seed: customcrops:tomato_seeds
|
||||
|
||||
# break/plant requirements
|
||||
# 破坏/种植农作物的需求
|
||||
requirements:
|
||||
break:
|
||||
requirement_1:
|
||||
# Requirement type, you can get a full list of requirements on wiki page
|
||||
# 需求类型,wiki中有详细的全部需求类型和示范
|
||||
type: permission
|
||||
value: tomato.break
|
||||
# The message to show when not meeting the requirement(Supports multiple lines)
|
||||
# 不满足需求的提示,支持多行
|
||||
message: "You don't have permission to harvest the tomato"
|
||||
plant:
|
||||
requirement_1:
|
||||
@@ -29,8 +42,11 @@ tomato:
|
||||
message: "It's not a good season to plant tomato"
|
||||
|
||||
# plant actions
|
||||
# 种植时发生的动作
|
||||
plant-actions:
|
||||
action_1:
|
||||
# Requirement type, you can get a full list of actions on wiki page
|
||||
# 动作类型,wiki中有详细的全部动作类型和示范
|
||||
type: sound
|
||||
value:
|
||||
source: player
|
||||
@@ -39,11 +55,23 @@ tomato:
|
||||
pitch: 1
|
||||
|
||||
# This decides when the crop data would be removed from cache
|
||||
# 这决定了农作物数据什么时候从缓存中移除
|
||||
max-points: 6
|
||||
# What should a crop do when gaining a certain amount of points
|
||||
# 农作物在获取指定生长点数时候执行的动作
|
||||
points:
|
||||
0:
|
||||
# change the crop's model
|
||||
# 改变农作物的模型
|
||||
model: customcrops:tomato_stage_1
|
||||
# As crop's models are different and have various height
|
||||
# So sometimes the pot information hologram can't show in a proper place
|
||||
# Set "hologram-offset-correction" to a high value would increase the
|
||||
# vertical position of the hologram
|
||||
# 因为不同农作物有不同的模型高度,所以在显示悬浮信息的时候,可能会导致模型遮挡了悬浮信息
|
||||
# 因此设置 "hologram-offset-correction" 为更大值可以提升悬浮字的高度,以免遮挡
|
||||
hologram-offset-correction: 0.2
|
||||
# Available events: break/grow/interact-by-hand/interact-with-item
|
||||
events:
|
||||
break:
|
||||
action_1:
|
||||
@@ -51,9 +79,13 @@ tomato:
|
||||
value:
|
||||
other-items:
|
||||
loot_1:
|
||||
# Other plugin item compatibility(Can also be used in quality-crops)
|
||||
# MMOItems:TYPE:ID
|
||||
# MythicMobs:id
|
||||
item: customcrops:tomato_seeds
|
||||
min: 1
|
||||
max: 1
|
||||
# 0-1
|
||||
chance: 0.3
|
||||
action_2:
|
||||
type: sound
|
||||
@@ -128,9 +160,6 @@ tomato:
|
||||
min: 1
|
||||
max: 4
|
||||
items:
|
||||
# Other plugin item compatibility(Can also be used in other-items)
|
||||
# MMOItems:TYPE:ID
|
||||
# MythicMobs:id
|
||||
1: customcrops:tomato
|
||||
2: customcrops:tomato_silver_star
|
||||
3: customcrops:tomato_golden_star
|
||||
@@ -146,22 +175,31 @@ tomato:
|
||||
value:
|
||||
golden:
|
||||
item: customcrops:tomato_stage_golden
|
||||
type: TripWire
|
||||
type: TRIPWIRE
|
||||
chance: 0.01
|
||||
interact-by-hand:
|
||||
action_1:
|
||||
type: break
|
||||
value: true # whether to trigger break event too 是否触发break事件
|
||||
action_2:
|
||||
type: replant
|
||||
value:
|
||||
point: 0
|
||||
crop: tomato # Replant the crop
|
||||
model: customcrops:tomato_stage_1
|
||||
crop: tomato # Replant the crop 重新种植农作物
|
||||
model: customcrops:tomato_stage_1 # crop model 农作物模型
|
||||
interact-with-item:
|
||||
interact_1:
|
||||
# the item to use
|
||||
# 使用的物品
|
||||
item: customcrops:i_want_overgrown_tomato_right_now
|
||||
# whether to reduce the amount
|
||||
# 是否减少数量
|
||||
reduce-amount: true
|
||||
# the item to return, remove this section if you don't want item back
|
||||
# 返还的物品,如果你不想要返还物品,请删除此项目
|
||||
return: customcrops:returned_item
|
||||
# actions to perform
|
||||
# 执行的动作
|
||||
actions:
|
||||
action_1:
|
||||
type: variation
|
||||
@@ -171,6 +209,13 @@ tomato:
|
||||
type: CHORUS
|
||||
chance: 1
|
||||
6:
|
||||
# In this example, the model is not set, so the crop would not change its model
|
||||
# when reaching this point. But here's a section called variation, which means that
|
||||
# the crop has a little chance to be gigantic when it's already ripe. Since it reaches
|
||||
# "max-points", the crop data would be removed from data and no longer affect server performance
|
||||
# 在这个示范中,model没有被设置,因此,农作物不会在此生长点数时替换模型
|
||||
# 但是这里有一个生长时候触发的变异动作,意味着农作物有小概率在此阶段发生变异
|
||||
# 因为农作物已经达到了最大生长点数,农作物数据将自此从数据中移除,不再对服务器性能造成影响
|
||||
events:
|
||||
grow:
|
||||
action_1:
|
||||
@@ -182,7 +227,9 @@ tomato:
|
||||
chance: 0.02
|
||||
|
||||
# The crop would actually not gain so many points
|
||||
999:
|
||||
# But you can set some special crops' loots here
|
||||
# 农作物实际上并不会获取这么多生长点数,但是你可以在此设置一些特殊掉落物
|
||||
99:
|
||||
model: customcrops:tomato_stage_golden
|
||||
events:
|
||||
break:
|
||||
@@ -205,15 +252,6 @@ tomato:
|
||||
min: 1
|
||||
max: 2
|
||||
chance: 0.3
|
||||
interact-by-hand:
|
||||
action_1:
|
||||
type: break
|
||||
action_2:
|
||||
type: replant
|
||||
value:
|
||||
point: 0
|
||||
crop: tomato # Replant the crop
|
||||
model: customcrops:tomato_stage_1
|
||||
interact-with-item:
|
||||
interact_1:
|
||||
item: GOLDEN_HOE
|
||||
@@ -228,7 +266,13 @@ tomato:
|
||||
crop: tomato
|
||||
model: customcrops:tomato_stage_1
|
||||
|
||||
# grow conditions
|
||||
# Custom grow conditions
|
||||
# You can get a full list of grow conditions on wiki page.
|
||||
# The default config tells that the crop would only grow in Spring and Autumn,
|
||||
# and it requires at least a certain amount of water to grow.
|
||||
# Though it would not grow in Summer, but it would still be alive. If you want
|
||||
# the crop to die, see the "death-conditions" below.
|
||||
# 自定义生长条件,默认配置是:农作物会在春和秋两个季节生长,并且要求种植盆水量大于3
|
||||
grow-conditions:
|
||||
condition_1:
|
||||
type: suitable_season
|
||||
@@ -237,20 +281,27 @@ tomato:
|
||||
- Autumn
|
||||
condition_2:
|
||||
type: water_more_than
|
||||
value: 3
|
||||
value: 2
|
||||
|
||||
# death conditions
|
||||
# Custom death conditions
|
||||
# 自定义死亡条件
|
||||
death-conditions:
|
||||
no_water:
|
||||
# You can customize the dead models according to the reasons
|
||||
# 你可以根据死因设置不同的死亡模型
|
||||
model: customcrops:crop_stage_death
|
||||
conditions:
|
||||
# "&&" represents "And"
|
||||
# "||" represents "Or"
|
||||
# the default config tells that the crop would have 70% chance to die if the pot is dry
|
||||
# 默认配置:农作物有70%概率在种植盆干燥情况下死亡
|
||||
'&&':
|
||||
condition_1:
|
||||
type: water_less_than
|
||||
value: 1
|
||||
condition_2:
|
||||
type: random
|
||||
value: 0.7 # 70% chance to die if the pot is not wet
|
||||
value: 0.7
|
||||
unsuitable_season:
|
||||
model: customcrops:crop_stage_death
|
||||
conditions:
|
||||
@@ -259,7 +310,8 @@ tomato:
|
||||
value:
|
||||
- Winter
|
||||
crow_attack:
|
||||
# crop would be removed if dead-model is not set
|
||||
# Crop would be removed if "model" is not set
|
||||
# 如果没有设置model,农作物会直接被移除,而不是替换模型
|
||||
conditions:
|
||||
condition_1:
|
||||
type: crow_attack
|
||||
@@ -268,12 +320,17 @@ tomato:
|
||||
fly-model: customcrops:crow_fly
|
||||
stand-model: customcrops:crow_stand
|
||||
|
||||
# custom bone meal
|
||||
# Custom bone meal
|
||||
# 自定义骨粉
|
||||
custom-bone-meal:
|
||||
bone_meal_1:
|
||||
item: BONE_MEAL
|
||||
particle: VILLAGER_HAPPY
|
||||
sound: minecraft:item.bone_meal.use
|
||||
# 20% chance to grow 2 points
|
||||
# (100% - 20%) * 60% = 48% chance to grow 1 point
|
||||
# 20%概率获得两个生长点数
|
||||
# (100% - 20%) * 60% = 48% 概率获得一个生长点数
|
||||
chance:
|
||||
2: 0.2
|
||||
1: 0.6
|
||||
|
||||
@@ -3,6 +3,7 @@ quality_1:
|
||||
icon: '뀆'
|
||||
chance: 1
|
||||
times: 28
|
||||
# 70%/20%/10%
|
||||
ratio: 7/2/1
|
||||
item: customcrops:quality_1
|
||||
before-plant: true
|
||||
@@ -15,6 +16,7 @@ quality_2:
|
||||
icon: '뀇'
|
||||
chance: 1
|
||||
times: 28
|
||||
# 55%/30%/15%
|
||||
ratio: 11/6/3
|
||||
item: customcrops:quality_2
|
||||
before-plant: true
|
||||
@@ -27,6 +29,7 @@ quality_3:
|
||||
icon: '뀈'
|
||||
chance: 1
|
||||
times: 28
|
||||
# 40%/40%/20%
|
||||
ratio: 2/2/1
|
||||
item: customcrops:quality_3
|
||||
before-plant: true
|
||||
|
||||
@@ -1,19 +1,29 @@
|
||||
speed_grow_1:
|
||||
type: SPEED_GROW
|
||||
# Fertilizer Hologram display name
|
||||
# Fertilizer Hologram display icon
|
||||
# 肥料在悬浮字中显示的图标
|
||||
icon: '뀌'
|
||||
# How many days can this fertilizer stay in pot
|
||||
# 肥料有效时间(游戏日)
|
||||
times: 14
|
||||
# ItemsAdder item namespacedID
|
||||
# item id
|
||||
# 物品ID
|
||||
item: customcrops:speed_grow_1
|
||||
# Should this fertilizer be used before planting
|
||||
# 肥料是否只能在种植前使用
|
||||
before-plant: true
|
||||
# The particle to be displayed when using fertilizer
|
||||
# 使用肥料的粒子效果
|
||||
# https://hub.spigotmc.org/javadocs/spigot/org/bukkit/Particle.html
|
||||
particle: SPELL_WITCH
|
||||
# The sound to play when using
|
||||
# 使用肥料的声音
|
||||
sound: minecraft:item.hoe.till
|
||||
# Pot whitelist
|
||||
# 种植盆白名单
|
||||
pot-whitelist:
|
||||
- default
|
||||
# 50% chance to gain another 1 points
|
||||
chance:
|
||||
1: 0.5
|
||||
speed_grow_2:
|
||||
@@ -26,8 +36,11 @@ speed_grow_2:
|
||||
sound: minecraft:item.hoe.till
|
||||
pot-whitelist:
|
||||
- default
|
||||
# 10% chance to gain another 2 points
|
||||
# (100% - 10%) * 70% = 63% chance to gain another 1 point
|
||||
chance:
|
||||
1: 0.9
|
||||
2: 0.1
|
||||
1: 0.7
|
||||
speed_grow_3:
|
||||
type: SPEED_GROW
|
||||
icon: '뀎'
|
||||
@@ -38,8 +51,10 @@ speed_grow_3:
|
||||
sound: minecraft:item.hoe.till
|
||||
pot-whitelist:
|
||||
- default
|
||||
# 40% chance to gain another 2 points
|
||||
# 100% chance to gain another 1 point
|
||||
# 10% chance to gain another 3 points
|
||||
# (100% - 10%) * 40% = 36% chance to gain another 2 points
|
||||
# (100% - (36% + 10%)) * 80% = 43.2% chance to gain another 1 point
|
||||
chance:
|
||||
3: 0.1
|
||||
2: 0.4
|
||||
1: 1
|
||||
1: 0.8
|
||||
@@ -3,6 +3,7 @@ variation_1:
|
||||
icon: '뀒'
|
||||
times: 14
|
||||
# If a crop's default variation chance is 0.01, now it's 0.03
|
||||
# 如果农作物的变异概率是0.01,那么使用肥料后变成了0.03
|
||||
chance: 0.02
|
||||
item: customcrops:variation_1
|
||||
before-plant: true
|
||||
|
||||
@@ -8,6 +8,9 @@ yield_increase_1:
|
||||
sound: minecraft:item.hoe.till
|
||||
pot-whitelist:
|
||||
- default
|
||||
# 10% chance to gain another 3 crops
|
||||
# (100% - 10%) * 40% = 36% chance to gain another 2 crops
|
||||
# (100% - (10% + 36%)) * 80% = 43.2% chance to gain another 1 crop
|
||||
chance:
|
||||
3: 0.1
|
||||
2: 0.4
|
||||
@@ -22,6 +25,9 @@ yield_increase_2:
|
||||
sound: minecraft:item.hoe.till
|
||||
pot-whitelist:
|
||||
- default
|
||||
# 20% chance to gain another 3 crops
|
||||
# (100% - 20%) * 60% = 48% chance to gain another 2 crops
|
||||
# (100% - (20% + 48%)) * 80% = 25.6% chance to gain another 1 crop
|
||||
chance:
|
||||
3: 0.2
|
||||
2: 0.6
|
||||
@@ -36,6 +42,8 @@ yield_increase_3:
|
||||
sound: minecraft:item.hoe.till
|
||||
pot-whitelist:
|
||||
- default
|
||||
# 40% chance to gain another 3 crops
|
||||
# (100% - 40%) * 100% = 60% chance to gain another 2 crops
|
||||
chance:
|
||||
3: 0.4
|
||||
2: 1
|
||||
@@ -1,11 +1,16 @@
|
||||
# Pot key name
|
||||
default:
|
||||
max-water-storage: 4
|
||||
# The max water storage
|
||||
# 最大储水量
|
||||
max-water-storage: 5
|
||||
base:
|
||||
# basic models
|
||||
# basic models, use capital letters if you want to use vanilla blocks
|
||||
# Example: FARMLAND
|
||||
# 基础模型,如果你想要使用原版方块请使用大写字母,例如FARMLAND(耕地)
|
||||
dry: customcrops:dry_pot
|
||||
wet: customcrops:wet_pot
|
||||
# If you want fertilized pots to have different looks
|
||||
# Don't forget to set more bottom-block types in crop's config
|
||||
# 如果你想让施肥的种植盆有不同的外观
|
||||
fertilized-pots:
|
||||
enable: false
|
||||
quality:
|
||||
@@ -23,12 +28,22 @@ default:
|
||||
speed-grow:
|
||||
dry: customcrops:dry_pot
|
||||
wet: customcrops:wet_pot
|
||||
# Methods to fill the pot
|
||||
# 浇水的方法
|
||||
fill-method:
|
||||
method_1:
|
||||
# The item to use
|
||||
# 使用的物品
|
||||
item: WATER_BUCKET
|
||||
# The item returned
|
||||
# 返还的物品
|
||||
return: BUCKET
|
||||
# water amount to add
|
||||
# 增加的水量
|
||||
amount: 3
|
||||
# 粒子效果
|
||||
particle: WATER_SPLASH
|
||||
# 声音
|
||||
sound: minecraft:block.water.ambient
|
||||
method_2:
|
||||
item: WATER
|
||||
@@ -42,24 +57,49 @@ default:
|
||||
particle: WATER_SPLASH
|
||||
sound: minecraft:block.water.ambient
|
||||
method_4:
|
||||
# This is just an example
|
||||
# "customcrops:magic_water" actually not exists
|
||||
# 这只是个示例, "customcrops:magic_water"事实上不存在
|
||||
item: customcrops:magic_water
|
||||
amount: 10
|
||||
amount: 5
|
||||
particle: WATER_SPLASH
|
||||
sound: minecraft:block.water.ambient
|
||||
# Pot info hologram
|
||||
# 种植盆悬浮信息
|
||||
hologram:
|
||||
enable: true
|
||||
# ARMOR_STAND / TEXT_DISPLAY (1.19.4+)
|
||||
# 显示载体
|
||||
type: ARMOR_STAND
|
||||
# in seconds
|
||||
# 持续时间
|
||||
duration: 2
|
||||
# remove this if you want players can see the pot info even with empty hands
|
||||
# 如果你想要空手也能查看种植盆信息,那么移除这个项目
|
||||
require-item: customcrops:soil_surveyor
|
||||
# Fertilizer info
|
||||
# 肥料信息
|
||||
fertilizer:
|
||||
enable: true
|
||||
vertical-offset: 0.8
|
||||
text: '<font:customcrops:default>{icon}</font> {left_times}/{max_times}'
|
||||
content: '<font:customcrops:default>{icon}</font> {left_times}/{max_times}'
|
||||
# Water info
|
||||
# 水分信息
|
||||
water:
|
||||
enable: true
|
||||
vertical-offset: 1.05
|
||||
text: '<font:customcrops:default>{water_bar}</font>'
|
||||
#text: '{current}/{storage}'
|
||||
# Available placeholders
|
||||
# {current} current water 当前水量
|
||||
# {storage} max water 最大储水量
|
||||
# {water_bar} water bar image 水条
|
||||
content: '<font:customcrops:default>{water_bar}</font>'
|
||||
water-bar:
|
||||
left: '뀂'
|
||||
full: '뀁뀃'
|
||||
empty: '뀁뀄'
|
||||
right: '뀁뀅'
|
||||
right: '뀁뀅'
|
||||
text-display-options:
|
||||
background-color: 0,0,0,0
|
||||
has-shadow: false
|
||||
is-see-through: false
|
||||
use-default-background-color: false
|
||||
text-opacity: -1
|
||||
@@ -1,20 +1,51 @@
|
||||
# Sprinkler key name
|
||||
sprinkler_1:
|
||||
# This decides the work range
|
||||
# (1+1x2)²=9
|
||||
# 洒水器工作范围 3x3
|
||||
range: 1
|
||||
storage: 5
|
||||
# max water storage
|
||||
# 最大储水量
|
||||
storage: 4
|
||||
# 2/3D物品
|
||||
3D-item: customcrops:sprinkler_1
|
||||
2D-item: customcrops:sprinkler_1_item
|
||||
# Item_Frame / Tripwire / Item_Display (1.19.4+)
|
||||
type: Item_Frame
|
||||
# ITEM_FRAME / TRIPWIRE / ITEM_DISPLAY (1.19.4+)
|
||||
# Sprinkler item type
|
||||
type: ITEM_FRAME
|
||||
# The sprinkler can only add water to certain pots
|
||||
# 洒水器只能对指定种植盆浇水
|
||||
pot-whitelist:
|
||||
- default
|
||||
# see how fill-method works in /CustomCrops/contents/pots/default.yml
|
||||
# 请在CustomCrops/contents/pots/default.yml查看"fill-method"如何使用
|
||||
fill-method:
|
||||
method_1:
|
||||
item: WATER_BUCKET
|
||||
return: BUCKET
|
||||
amount: 3
|
||||
particle: WATER_SPLASH
|
||||
sound: minecraft:block.water.ambient
|
||||
method_2:
|
||||
item: WATER
|
||||
return: GLASS_BOTTLE
|
||||
amount: 1
|
||||
particle: WATER_SPLASH
|
||||
sound: minecraft:block.water.ambient
|
||||
# The sound to play when placing
|
||||
# 放置时候的声音
|
||||
place-sound: minecraft:block.bone_block.place
|
||||
# The hologram to show when interacting
|
||||
# 交互时候产生的悬浮信息
|
||||
hologram:
|
||||
enable: true
|
||||
# ARMOR_STAND / TEXT_DISPLAY (1.19.4+)
|
||||
type: ARMOR_STAND
|
||||
vertical-offset: -0.3
|
||||
# vertical offset(change this according to your model size)
|
||||
# 竖直方向的偏移
|
||||
vertical-offset: -0.1
|
||||
duration: 1
|
||||
# Available variables:
|
||||
# Available placeholders:
|
||||
# {water_bar} water bar image
|
||||
# {current} current water
|
||||
# {storage} max storage
|
||||
@@ -24,29 +55,23 @@ sprinkler_1:
|
||||
full: '뀁뀃'
|
||||
empty: '뀁뀄'
|
||||
right: '뀁뀅'
|
||||
text-display-options:
|
||||
background-color: 0,0,0,0
|
||||
has-shadow: false
|
||||
is-see-through: false
|
||||
use-default-background-color: false
|
||||
text-opacity: -1
|
||||
# Water splash animation when sprinkler works
|
||||
# 洒水器在工作时候的洒水效果
|
||||
animation:
|
||||
enable: true
|
||||
# in seconds
|
||||
# 持续时间
|
||||
duration: 10
|
||||
vertical-offset: 0.4
|
||||
item: customcrops:water_effect
|
||||
# ARMOR_STAND / ITEM_DISPLAY (1.19.4+)
|
||||
type: ARMOR_STAND
|
||||
pot-whitelist:
|
||||
- default
|
||||
fill-method:
|
||||
method_1:
|
||||
item: WATER_BUCKET
|
||||
return: BUCKET
|
||||
amount: 3
|
||||
particle: WATER_SPLASH
|
||||
sound: minecraft:block.water.ambient
|
||||
method_2:
|
||||
item: WATER
|
||||
return: GLASS_BOTTLE
|
||||
amount: 1
|
||||
particle: WATER_SPLASH
|
||||
sound: minecraft:block.water.ambient
|
||||
|
||||
sprinkler_2:
|
||||
# (1+2x2)²=25
|
||||
@@ -54,24 +79,7 @@ sprinkler_2:
|
||||
storage: 5
|
||||
3D-item: customcrops:sprinkler_2
|
||||
2D-item: customcrops:sprinkler_2_item
|
||||
type: Item_Frame
|
||||
place-sound: minecraft:block.bone_block.place
|
||||
hologram:
|
||||
enable: true
|
||||
type: ARMOR_STAND
|
||||
vertical-offset: -0.3
|
||||
duration: 1
|
||||
content: '<font:customcrops:default>{water_bar}</font>'
|
||||
water-bar:
|
||||
left: '뀂'
|
||||
full: '뀁뀃'
|
||||
empty: '뀁뀄'
|
||||
right: '뀁뀅'
|
||||
animation:
|
||||
enable: true
|
||||
vertical-offset: 0.4
|
||||
item: customcrops:water_effect
|
||||
type: ARMOR_STAND
|
||||
type: ITEM_FRAME
|
||||
pot-whitelist:
|
||||
- default
|
||||
fill-method:
|
||||
@@ -87,30 +95,37 @@ sprinkler_2:
|
||||
amount: 1
|
||||
particle: WATER_SPLASH
|
||||
sound: minecraft:block.water.ambient
|
||||
place-sound: minecraft:block.bone_block.place
|
||||
hologram:
|
||||
enable: true
|
||||
type: ARMOR_STAND
|
||||
vertical-offset: -0.1
|
||||
duration: 1
|
||||
content: '<font:customcrops:default>{water_bar}</font>'
|
||||
water-bar:
|
||||
left: '뀂'
|
||||
full: '뀁뀃'
|
||||
empty: '뀁뀄'
|
||||
right: '뀁뀅'
|
||||
text-display-options:
|
||||
background-color: 0,0,0,0
|
||||
has-shadow: false
|
||||
is-see-through: false
|
||||
use-default-background-color: false
|
||||
text-opacity: -1
|
||||
animation:
|
||||
enable: true
|
||||
duration: 10
|
||||
vertical-offset: 0.4
|
||||
item: customcrops:water_effect
|
||||
type: ARMOR_STAND
|
||||
|
||||
sprinkler_3:
|
||||
range: 2
|
||||
storage: 7
|
||||
3D-item: customcrops:sprinkler_3
|
||||
2D-item: customcrops:sprinkler_3_item
|
||||
type: Item_Frame
|
||||
place-sound: minecraft:block.bone_block.place
|
||||
hologram:
|
||||
enable: true
|
||||
type: ARMOR_STAND
|
||||
vertical-offset: -0.3
|
||||
duration: 1
|
||||
content: '<font:customcrops:default>{water_bar}</font>'
|
||||
water-bar:
|
||||
left: '뀂'
|
||||
full: '뀁뀃'
|
||||
empty: '뀁뀄'
|
||||
right: '뀁뀅'
|
||||
animation:
|
||||
enable: true
|
||||
vertical-offset: 0.4
|
||||
item: customcrops:water_effect
|
||||
type: ARMOR_STAND
|
||||
type: ITEM_FRAME
|
||||
pot-whitelist:
|
||||
- default
|
||||
fill-method:
|
||||
@@ -125,4 +140,28 @@ sprinkler_3:
|
||||
return: GLASS_BOTTLE
|
||||
amount: 1
|
||||
particle: WATER_SPLASH
|
||||
sound: minecraft:block.water.ambient
|
||||
sound: minecraft:block.water.ambient
|
||||
place-sound: minecraft:block.bone_block.place
|
||||
hologram:
|
||||
enable: true
|
||||
type: ARMOR_STAND
|
||||
vertical-offset: -0.1
|
||||
duration: 1
|
||||
content: '<font:customcrops:default>{water_bar}</font>'
|
||||
water-bar:
|
||||
left: '뀂'
|
||||
full: '뀁뀃'
|
||||
empty: '뀁뀄'
|
||||
right: '뀁뀅'
|
||||
text-display-options:
|
||||
background-color: 0,0,0,0
|
||||
has-shadow: false
|
||||
is-see-through: false
|
||||
use-default-background-color: false
|
||||
text-opacity: -1
|
||||
animation:
|
||||
enable: true
|
||||
duration: 10
|
||||
vertical-offset: 0.4
|
||||
item: customcrops:water_effect
|
||||
type: ARMOR_STAND
|
||||
@@ -1,22 +1,34 @@
|
||||
watering_can_1:
|
||||
# 物品 id
|
||||
item: customcrops:watering_can_1
|
||||
# 储水量
|
||||
capacity: 3
|
||||
# Effective Range
|
||||
# 有效范围
|
||||
effective-range:
|
||||
width: 1
|
||||
length: 1
|
||||
# 粒子效果
|
||||
particle: WATER_SPLASH
|
||||
# 声音
|
||||
sound: minecraft:block.water.ambient
|
||||
# Methods to fill the watering can
|
||||
fill-method:
|
||||
method_1:
|
||||
# The target block/furniture id
|
||||
# use capital letters for vanilla items
|
||||
target: WATER
|
||||
type: block
|
||||
# water amount to add
|
||||
# 加水量
|
||||
amount: 1
|
||||
particle: WATER_SPLASH
|
||||
sound: minecraft:item.bucket.fill
|
||||
# This decides where the watering can can be used
|
||||
# 这决定了水壶能使用在哪些种植盆上
|
||||
pot-whitelist:
|
||||
- default
|
||||
# allows you to add water to sprinkler by clicking with a watering can
|
||||
# 允许水壶对洒水器加水
|
||||
sprinkler-whitelist:
|
||||
- sprinkler_1
|
||||
- sprinkler_2
|
||||
@@ -25,23 +37,24 @@ watering_can_1:
|
||||
# Should watering-can has dynamic lore according to the water amount
|
||||
# 水壶是否有根据水量变化的动态lore
|
||||
enable: true
|
||||
# Available variables:
|
||||
# Available placeholders:
|
||||
# {water_bar} water bar image
|
||||
# {current} current water
|
||||
# {storage} max storage
|
||||
lore:
|
||||
- '<italic:false><white>{water_bar}'
|
||||
- '<italic:false><white><font:customcrops:default>{water_bar}</font>'
|
||||
- '<italic:false><gray>Right click water to add water to the can.'
|
||||
actionbar:
|
||||
# Should actionbar be sent when using watering-can
|
||||
# 是否发送动作栏信息
|
||||
enable: true
|
||||
# Available variables {current} {storage} {water_bar}
|
||||
content: '{water_bar}'
|
||||
# Available placeholders {current} {storage} {water_bar}
|
||||
content: '<font:customcrops:default>{water_bar}</font>'
|
||||
water-bar:
|
||||
left: '<font:customcrops:default>뀂'
|
||||
left: '뀂'
|
||||
full: '뀁뀃'
|
||||
empty: '뀁뀄'
|
||||
right: '뀁뀅</font>'
|
||||
right: '뀁뀅'
|
||||
|
||||
watering_can_2:
|
||||
item: customcrops:watering_can_2
|
||||
@@ -54,7 +67,6 @@ watering_can_2:
|
||||
fill-method:
|
||||
method_1:
|
||||
target: WATER
|
||||
type: block
|
||||
amount: 1
|
||||
particle: WATER_SPLASH
|
||||
pot-whitelist:
|
||||
@@ -66,16 +78,16 @@ watering_can_2:
|
||||
dynamic-lore:
|
||||
enable: true
|
||||
lore:
|
||||
- '<italic:false><white>{water_bar}'
|
||||
- '<italic:false><white><font:customcrops:default>{water_bar}</font>'
|
||||
- '<italic:false><gray>Right click water to add water to the can.'
|
||||
actionbar:
|
||||
enable: true
|
||||
content: '{water_bar}'
|
||||
content: '<font:customcrops:default>{water_bar}</font>'
|
||||
water-bar:
|
||||
left: '<font:customcrops:default>뀂'
|
||||
left: '뀂'
|
||||
full: '뀁뀃'
|
||||
empty: '뀁뀄'
|
||||
right: '뀁뀅</font>'
|
||||
right: '뀁뀅'
|
||||
|
||||
watering_can_3:
|
||||
item: customcrops:watering_can_3
|
||||
@@ -88,7 +100,6 @@ watering_can_3:
|
||||
fill-method:
|
||||
method_1:
|
||||
target: WATER
|
||||
type: block
|
||||
amount: 1
|
||||
particle: WATER_SPLASH
|
||||
pot-whitelist:
|
||||
@@ -100,16 +111,16 @@ watering_can_3:
|
||||
dynamic-lore:
|
||||
enable: true
|
||||
lore:
|
||||
- '<italic:false><white>{water_bar}'
|
||||
- '<italic:false><white><font:customcrops:default>{water_bar}</font>'
|
||||
- '<italic:false><gray>Right click water to add water to the can.'
|
||||
actionbar:
|
||||
enable: true
|
||||
content: '{water_bar}'
|
||||
content: '<font:customcrops:default>{water_bar}</font>'
|
||||
water-bar:
|
||||
left: '<font:customcrops:default>뀂'
|
||||
left: '뀂'
|
||||
full: '뀁뀃'
|
||||
empty: '뀁뀄'
|
||||
right: '뀁뀅</font>'
|
||||
right: '뀁뀅'
|
||||
|
||||
watering_can_4:
|
||||
item: customcrops:watering_can_4
|
||||
@@ -122,7 +133,6 @@ watering_can_4:
|
||||
fill-method:
|
||||
method_1:
|
||||
target: WATER
|
||||
type: block
|
||||
amount: 1
|
||||
particle: WATER_SPLASH
|
||||
pot-whitelist:
|
||||
@@ -134,13 +144,13 @@ watering_can_4:
|
||||
dynamic-lore:
|
||||
enable: true
|
||||
lore:
|
||||
- '<italic:false><white>{water_bar}'
|
||||
- '<italic:false><white><font:customcrops:default>{water_bar}</font>'
|
||||
- '<italic:false><gray>Right click water to add water to the can.'
|
||||
actionbar:
|
||||
enable: true
|
||||
content: '{water_bar}'
|
||||
content: '<font:customcrops:default>{water_bar}</font>'
|
||||
water-bar:
|
||||
left: '<font:customcrops:default>뀂'
|
||||
left: '뀂'
|
||||
full: '뀁뀃'
|
||||
empty: '뀁뀄'
|
||||
right: '뀁뀅</font>'
|
||||
right: '뀁뀅'
|
||||
|
||||
@@ -19,4 +19,6 @@ messages:
|
||||
set-season: "<white>成功将 {world} 世界的季节设置为 {season}."
|
||||
set-date: "<white>成功将 {world} 世界的日期设置为 {date}."
|
||||
world-not-exist: '<white>世界 {world} 不存在.'
|
||||
season-not-exist: '<white>{season} 不是一个有效的季节.'
|
||||
season-not-exist: '<white>{season} 不是一个有效的季节.'
|
||||
force-sprinkler-work: '<white>已强制世界 {world} 的洒水器进行工作.'
|
||||
force-consume: '<white>已强制世界 {world} 的肥料、水分消耗.'
|
||||
@@ -19,4 +19,6 @@ messages:
|
||||
set-season: "<white>Successfully set {world}'s season to {season}."
|
||||
set-date: "<white>Successfully set {world}'s date to {date}."
|
||||
world-not-exist: '<white>World {world} does not exist.'
|
||||
season-not-exist: '<white>Season {season} does not exist.'
|
||||
season-not-exist: '<white>Season {season} does not exist.'
|
||||
force-sprinkler-work: "<white>Forced {world}'s sprinklers to work"
|
||||
force-consume: "<white>Forced {world}'s pot to reduce water amount and the remaining use of fertilizers"
|
||||
@@ -19,4 +19,6 @@ messages:
|
||||
set-season: "<white>{world} adlı dünyanın mevsimi başarıyla {season} ile değiştirildi."
|
||||
set-date: "<white>{world} adlı dünyanın tarihi başarıyla {date} ile değiştirildi."
|
||||
world-not-exist: '<white>{world} adında bir dünya bulunamadı.'
|
||||
season-not-exist: '<white>{season} adında bir mevsim bulunamadı.'
|
||||
season-not-exist: '<white>{season} adında bir mevsim bulunamadı.'
|
||||
force-sprinkler-work: "<white>{world}'nin sulama sistemlerinin çalışmasını zorladı"
|
||||
force-consume: "<white>{world}'nin tenceresindeki su miktarını azaltmayı ve kalan gübre kullanımını zorladı"
|
||||
@@ -2,6 +2,7 @@ name: CustomCrops
|
||||
version: '${version}'
|
||||
main: net.momirealms.customcrops.CustomCrops
|
||||
api-version: 1.17
|
||||
load: POSTWORLD
|
||||
authors: [ XiaoMoMi ]
|
||||
depend:
|
||||
- ProtocolLib
|
||||
@@ -31,9 +32,30 @@ softdepend:
|
||||
- BattlePass
|
||||
- BetonQuest
|
||||
- ClueScrolls
|
||||
- HuskTowns
|
||||
commands:
|
||||
customcrops:
|
||||
usage: /customcrops <args>
|
||||
permission: customcrops.admin
|
||||
aliases:
|
||||
- ccrops
|
||||
- ccrops
|
||||
permissions :
|
||||
customcrops.*:
|
||||
default: op
|
||||
children:
|
||||
customcrops.admin: true
|
||||
customcrops.reload: true
|
||||
customcrops.help: true
|
||||
customcrops.about: true
|
||||
customcrops.setdate: true
|
||||
customcrops.setseason: true
|
||||
customcrops.reload:
|
||||
default: op
|
||||
customcrops.help:
|
||||
default: op
|
||||
customcrops.about:
|
||||
default: op
|
||||
customcrops.setdate:
|
||||
default: op
|
||||
customcrops.setseason:
|
||||
default: op
|
||||
Reference in New Issue
Block a user