PlantNerfer
PlantNerfer 允许对植物行为进行高度自定义配置。
命令 | 权限 | 描述
/pn | plantnerfer.command | 使用 PlantNerfer 命令。
/pn help | plantnerfer.command.help | 链接至 PlantNerfer 文档。
/pn reload | plantnerfer.command.reload | 重新加载插件。
PlantNerfer 与 Surf Hosting 合作。
通过使用代码 PLANTNERFER,支持我并半价获得优质的主机服务:
感谢所有使用 PlantNerfer 的用户!
联系服务器 :) :
植物配置
示例
生物群系组部分
biome-group-list:
TestGroup:
- "PLAINS"
- "SAVANNA"
second-group:
- "FOREST"
创建了两个生物群系组:"TestGroup" 和 "second-group"。"TestGroup" 包含生物群系 "PLAINS" 和 "SAVANNA",而 "second-group" 包含生物群系 "FOREST"。点击此处查看生物群系列表。
植物部分
oak-sapling:
can-place: true
growth-rate: 25
death-rate: 10
growth-rate-dark: 15
death-rate-dark: 20
bone-meal-success-rate: 25
bone-meal-success-rate-dark: 10
needs-hoe-for-drops: true
min-light: 9
max-light: 15
needs-sky: false
transparent-blocks-count-as-sky: false
no-sky-growth-rate: 10
no-sky-death-rate: 25
min-y: 0
max-y: 200
restrict-to-worlds:
- "world"
- "world_nether"
biome-groups:
second-group:
growth-rate: 100
bone-meal-success-rate: 100
bone-meal-success-rate-dark: 100
needs-hoe-for-drops: false
restrict-to-worlds:
- "world"
max-y: 255
needs-sky: false
transparent-blocks-count-as-sky: true
no-sky-growth-rate: 100
no-sky-death-rate: 0
TestGroup:
can-place: false
restrict-to-worlds:
- "world_nether"
橡木树苗原本的特性较差,但在生物群系组 "second-group" 中,其整体生长率为 100。在生物群系组 "TestGroup" 中,它们无法被放置,从而排除了该组中的生物群系。
可放置性 (Can Place)
can-place: true/false
是否允许放置该植物?
生长率 (Growth Rate)
growth-rate: #
数值 100 代表原版生长率。数值 50 意味着每次进入下一个成熟阶段的概率为 50%(抛硬币)。此插件无法使植物生长得更快。
暗处生长率 (Growth Rate Dark)
growth-rate-dark: #
类似于 growth-rate,但适用于光照等级低于 8 的植物。
死亡率 (Death Rate)
death-rate: #
数值 100 意味着每当植物尝试进入下一个成熟阶段时就会消失。数值 5 意味着每 20 次生长尝试中有 1 次会导致植物消失。
暗处死亡率 (Death Rate Dark)
death-rate-dark: #
类似于 death-rate,但适用于光照等级低于 8 的植物。
骨粉成功率 (Bone Meal Success Rate)
bone-meal-success-rate: #
数值 100 意味着每当对该植物使用骨粉时都会尝试生长。数值 50 意味着只有半数的时间会尝试生长。
暗处骨粉成功率 (Bone Meal Success Rate Dark)
bone-meal-success-rate-dark: #
类似于 bone-meal-success-rate,但适用于光照等级低于 8 的植物。
依赖锄头的掉落 (Hoe-Reliant Drops)
needs-hoe-for-drops: true/false
如果为 true,则只有在使用锄头破坏时,植物才会掉落物品。
依赖锄头的耕地保留 (Hoe-Reliant Farmland Retaining)
needs-hoe-for-farmland-retain: true/false
如果为 true,且未使用锄头破坏与该耕地相关的植物,则该耕地将变为泥土。
最低光照 (Minimum Light)
min-light: #
允许放置植物、植物生长和使用骨粉所需的最低光照等级。
最高光照 (Maximum Light)
max-light: #
允许放置植物、植物生长和使用骨粉所需的最高光照等级。
需要天空 (Needs Sky)
needs-sky: true/false
如果为 true,则只有在上方没有方块遮挡的情况下,才能放置、生长或使用骨粉作用于该植物。
透明方块视为天空 (Transparent Blocks Count as Sky)
transparent-blocks-count-as-sky: true/false
如果为 true,当具有 needs-sky 属性的植物检查上方是否有方块时,允许光线通过的透明方块将被忽略(即视为天空)。
无天空生长率 (No Sky Growth Rate)
no-sky-growth-rate: #
类似于 growth-rate,但适用于上方没有天空的植物。它不会替代其他任何生长率,而是为植物不生长的可能性增加另一个判定机会。
无天空死亡率 (No Sky Death Rate)
no-sky-death-rate: #
类似于 death-rate,但适用于上方没有天空的植物。它不会替代其他任何死亡率,而是为植物死亡的可能性增加另一个判定机会。
最低 Y 轴 (Minimum Y)
min-y: #
允许放置植物的最低 Y 轴层级。
最高 Y 轴 (Maximum Y)
max-y: #
允许放置植物的最高 Y 轴层级。
限制于特定世界
restrict-to-worlds:
- "example_world_name"
- "example_world_name_2"
将植物放置限制在特定世界。
生物群系组
请参阅“植物部分”标题下的示例
除本设置外,植物的任何设置也可在此部分中定义,以实现按组的配置。
注意事项
注意 0:PlantNerfer 建立在原版机制之上;它不会替换这些机制。
注意 1:“黑暗”光照等级介于 0 到 7(包含 0 和 7)。
注意 2:不同植物具有不同数量的生长阶段,这意味着相同的速率可能对某些植物的影响大于其他植物。
注意 3:为了成功通过骨粉施肥进行生长,植物必须依次通过骨粉成功率、生长速率以及原版骨粉成功率的检查。
注意 4:以下是用户未定义时的默认值:
can-place: true
growth-rate: 100
growth-rate-dark: 100
death-rate: 0
death-rate-dark: 0
bone-meal-success-rate: 100
bone-meal-success-rate-dark: 100
needs-hoe-for-drops: false
needs-hoe-for-farmland-retain: false
min-light: 0
max-light: 15
needs-sky: false
transparent-blocks-count-as-sky: true
no-sky-growth-rate: 100
no-sky-death-rate: 0
min-y: -64
max-y: 256
restrict-to-worlds: (为空,即任意)
biome-groups: (为空)
配置信息完全为空的植物将使用原版机制。
除非在生物群系组设置中定义了相应值,否则生物群系组设置将从植物设置中继承默认值。
如果一个生物群系属于应用于某植物的多个生物群系组之一,则仅使用该植物最后一个生物群系组的生物群系。
插件消息中的 "*" 字符表示“所有”或“任意”。
PlantNerfer
PlantNerfer allows for very configurable plant behavior.
Command | Permission | Description
/pn | plantnerfer.command | Use PlantNerfer commands.
/pn help | plantnerfer.command.help | Links to PlantNerfer documentation.
/pn reload | plantnerfer.command.reload | Reloads the plugin.
PlantNerfer is partnered with Surf Hosting.
Support me and get a superior host half-off at the same time with code: PLANTNERFER
Thank you to all who use PlantNerfer!
Contact server :):
Plant Configuration
Example
Biome Group Section
biome-group-list:
TestGroup:
- "PLAINS"
- "SAVANNA"
second-group:
- "FOREST"
Two biome groups are created, "TestGroup" and "second-group". "TestGroup" contains the biomes "PLAINS" and "SAVANNA", and "second-group" contains the biome "FOREST". Click here for the list of biomes.
Plant Section
oak-sapling:
can-place: true
growth-rate: 25
death-rate: 10
growth-rate-dark: 15
death-rate-dark: 20
bone-meal-success-rate: 25
bone-meal-success-rate-dark: 10
needs-hoe-for-drops: true
min-light: 9
max-light: 15
needs-sky: false
transparent-blocks-count-as-sky: false
no-sky-growth-rate: 10
no-sky-death-rate: 25
min-y: 0
max-y: 200
restrict-to-worlds:
- "world"
- "world_nether"
biome-groups:
second-group:
growth-rate: 100
bone-meal-success-rate: 100
bone-meal-success-rate-dark: 100
needs-hoe-for-drops: false
restrict-to-worlds:
- "world"
max-y: 255
needs-sky: false
transparent-blocks-count-as-sky: true
no-sky-growth-rate: 100
no-sky-death-rate: 0
TestGroup:
can-place: false
restrict-to-worlds:
- "world_nether"
Oak saplings have poor mechanics normally, but in the biome group "second-group" they have an overall growth rate of 100. In the biome group "TestGroup", they can't be placed, ruling out its biomes.
Can Place
can-place: true/false
Can the plant be placed?
Growth Rate
growth-rate: #
A value of 100 is the vanilla growth rate. A value of 50 would make each progression to the next maturation stage a coin flip. This plugin cannot make plants grow faster.
Growth Rate Dark
growth-rate-dark: #
Similar to growth-rate, but applies to plants in light levels under 8.
Death Rate
death-rate: #
A value of 100 would make the plant disappear whenever it tries to progress to the next maturation stage. A value of 5 would make the plant disappear 1 in 20 growth attempts.
Death Rate Dark
death-rate-dark: #
Similar to death-rate, but applies to plants in light levels under 8.
Bone Meal Success Rate
bone-meal-success-rate: #
A value of 100 would make the plant try to grow whenever bone meal is used on it. A value of 50 would make the plant try to grow half the time.
Bone Meal Success Rate Dark
bone-meal-success-rate-dark: #
Similar to bone-meal-success-rate, but applies to plants in light levels under 8.
Hoe-Reliant Drops
needs-hoe-for-drops: true/false
If true, the plant will only drop its items when broken with a hoe.
Hoe-Reliant Farmland Retaining
needs-hoe-for-farmland-retain: true/false
If true, the Farmland the Farmland-related plant is broken on will turn into Dirt if not broken with a hoe.
Minimum Light
min-light: #
The minimum light level allowed for plant placement, plant growth, and plant bone meal-ing.
Maximum Light
max-light: #
The maximum light level allowed for plant placement, plant growth, and plant bone meal-ing.
Needs Sky
needs-sky: true/false
If true, the plant can only be placed, grown, and bone meal-ed if there are no blocks above it.
Transparent Blocks Count as Sky
transparent-blocks-count-as-sky: true/false
If true, blocks that let light pass through them will not be checked when a needs-sky plant checks for blocks above it.
No Sky Growth Rate
no-sky-growth-rate: #
Similar to growth-rate, but applies to plants with no sky above them. Does not replace any other growth rate, instead adds another chance for the plant to not grow.
No Sky Death Rate
no-sky-death-rate: #
Similar to death-rate, but applies to plants with no sky above them. Does not replace any other death rate, instead adds another chance for the plant to die.
Minimum Y
min-y: #
The minimum y-level allowed for plant placement.
Maximum Y
max-y: #
The maximum y-level allowed for plant placement.
Restrict to Worlds
restrict-to-worlds:
- "example_world_name"
- "example_world_name_2"
Restrict plant placement to certain worlds.
Biome Groups
See example under the "Plant Section" header
Any settings for a plant can also be defined in this section for per-group configuration, except for this setting.
Notes
Note 0: PlantNerfer exists on top of vanilla mechanics; it does not replace them.
Note 1: 'dark' light levels are between and including 0 and 7.
Note 2: different plants have different numbers of growth stages, which means the same rate can affect some plants more than others.
Note 3: for a successful bone meal fertilization growth, the plant must go through bone meal rate, growth rate, and vanilla bone meal chance checks.
Note 4: These are the defaults, for any values not defined by the user:
can-place: true
growth-rate: 100
growth-rate-dark: 100
death-rate: 0
death-rate-dark: 0
bone-meal-success-rate: 100
bone-meal-success-rate-dark: 100
needs-hoe-for-drops: false
needs-hoe-for-farmland-retain: false
min-light: 0
max-light: 15
needs-sky: false
transparent-blocks-count-as-sky: true
no-sky-growth-rate: 100
no-sky-death-rate: 0
min-y: -64
max-y: 256
restrict-to-worlds: (empty, so any)
biome-groups: (empty)
Plants with completely empty config information will use vanilla mechanics.
Biome group settings will inherit default values from the plant settings, unless they are defined in the biome group settings.
If a biome is in multiple biome groups applied to a plant, only the last group's biome will be used for the plant.
The "*" character in plugin messages means "all", or "any".
评论 0
登录后参与评分
还没有评论,来抢沙发吧