这是一个非常简单且实用的插件,扩展了 Minecraft 的游戏玩法。
在 Minecraft 引入“体型”(body size)属性后,我迫不及待地创建了这个插件。经过几个月的自行测试与完善,这款插件的最终版本现已呈现给大家。
说了这么多,它具体能做什么呢?
本插件为所有动物引入了体型变换功能。起初,这种体型变化可能并不明显。但你可以通过饲养来繁殖动物,使后代继承父母的体型。经过几代的遗传,你的鸡甚至可以变得比末影龙还要大!是的,这就是真正的“鸡骑士”。
该插件经过高度优化,几乎不会对服务器造成任何负面影响。
与其他类似插件不同,本插件的所有数值均可自定义,并且可以增加掉落物数量、生物生命值等。从多个方面进行了周到的设计与考量。目前未发现任何 Bug。
config.yml
# 请勿修改此项。
version: 3
# 启用插件
enabled: true
animal-spawn:
basic:
# 生成带有体型属性的动物的概率
# 设置为 0 或负数可禁用。最大值为 100
apply: 50.0
# 体型变化值
# 'degree' 可以填写一个范围或多个数值
degree: 0.86-1.16
# 基础上的二次变异
mutant:
# 触发变异时产生的粒子效果
particle:
# 留空则禁用
type: GLOW
# 粒子数量
count: 20
# 变异的概率
# 设置为 0 或负数可禁用。最大值为 100
apply: 3.0
# MULTIPLY:简单乘法
# MORE:自适应。大的更大,小的更小
mode: MORE
# 变化值
# 'degree' 可以填写一个范围或多个数值
degree: 0.77, 1.3
black-list:
# 不受影响的动物
# https://hub.spigotmc.org/javadocs/spigot/org/bukkit/entity/EntityType.html
animal: []
# 不受影响的世界
world: []
# 不受影响的生成原因
# https://hub.spigotmc.org/javadocs/spigot/org/bukkit/event/entity/CreatureSpawnEvent.SpawnReason.html
spawn-reason:
- SPAWNER
breed:
# 动物生育时,幼崽是否继承体型
inheritance:
# 父母对子女体型的影响
# 可以使用复杂公式。留空则禁用
# 可用变量:{father}、{mother} 分别代表父母的体型,{degree} 对应下方的比例
final-scale: ({father} * 1.1 + {mother} * 1.2) / {degree}
# 与前面的 'final-scale' 配合使用
degree: 2.1-2.5
# 启用此选项将使幼崽不受 animal-spawn 中二次体型变化的影响
skip-animal-spawn: false
# 繁殖出幼崽时的提示
# 仅支持 MiniMessage 颜色格式。留空则禁用
# 可用变量:{scale} 幼崽体型,{baby} 幼崽名称,{player} 玩家名称
actionbar: <white>新生命诞生啦! 是体型为<green> {scale} </green>的{baby}宝宝~</white>
# 多胞胎
multiple:
# 多胞胎的概率
# 设置为 0 或负数则禁止。最大值为 100
# 注意不要设置得太高。多胞胎判定在每次繁殖时都会触发。如果太高,会不断生育导致服务器卡顿
apply: 9.0
# 每次分娩之间的间隔
# 单位为刻(ticks),20 刻 = 1 秒
delay: 3
# 启用多胎后,为了限制繁殖,每次繁殖时将扣除以下数量的生命值
# 可以使用复杂公式。留空则禁用
# 可用变量:{health} 当前生命值,{max_health} 最大生命值
hurt: '{health} * 0.05'
# 黑名单
# 授予玩家 varizoo.skip.breed 权限可单独关闭继承功能,以防止某些生物牧场被破坏
black-list:
# 不受影响的动物
animal:
- BEE
# 不受影响的世界
world: []
other:
# 体型对最大生命值的影响。生命值将按比例变化
effect-health: true
# 动物变换形态时是否保留体型。
# 例如,当猪被闪电击中变成猪灵时,体型仍会被继承
transform: true
# 美西螈和鱼在被放入桶中后再释放,会失去原有的体型
# 此功能可以保留体型,并修正装鱼的桶和发射器
bucket-fish-fix: true
# 将动物的掉落物数量乘以以下值
# 可以使用复杂公式。留空则禁用
# 可用变量:{scale} 生物体型
increase-drops: sqrt({scale})
注意:该插件利用了生物的“体型”属性。就像生物的生命值、攻击力和速度一样,这个“体型”属性是游戏原生的。仅仅删除插件并不能逆转已应用的体型变换。
如果您有任何新的想法或建议,我会尽力实现它们。
This is a very simple yet practical plugin that expands the gameplay of Minecraft.
After the introduction of the "scale" (body size) attribute in Minecraft, I couldn't wait to create this plugin. After several months of my own testing and expansion, the final product of this plugin is now presented to you.
Having said so much, what exactly does it do?
This plugin introduces body size transformation for all animals. Initially, this body size change is barely noticeable. However, you can breed animals by raising them, enabling the offspring to inherit the body size. After several generations of inheritance, your chickens can become even larger than the Ender Dragon! Yes, this is the real "Chicken Jockey".
The plugin has been highly optimized and hardly has any negative impact on the server.
Unlike other similar plugins, all values of this plugin can be customized, and it can increase dropped items, mob health, etc. Considered and designed from multiple aspects. Currently, no bugs have been found.
config.yml
# Do not modify this.
version: 3
# enabled the plugin
enabled: true
animal-spawn:
basic:
# The probability of animals being generated with body size attached
# Set to 0 or a negative number to disable. The maximum is 100
apply: 50.0
# Body size change value
# The 'degree' can be filled with a range or multiple numbers
degree: 0.86-1.16
# Secondary mutation on the basis
mutant:
# Particle effects produced when triggering mutation
particle:
# Leave blank to disable
type: GLOW
# Particle Quantity
count: 20
# The probability of mutation
# Set to 0 or a negative number to disable. The maximum is 100
apply: 3.0
# MULTIPLY: Simple multiplication
# MORE: Adaptive. Bigger gets even bigger, smaller gets even smaller
mode: MORE
# Change value
# The 'degree' can be filled with a range or multiple numbers
degree: 0.77, 1.3
black-list:
# Animals Unaffected
# https://hub.spigotmc.org/javadocs/spigot/org/bukkit/entity/EntityType.html
animal: []
# The Worlds Unaffected
world: []
# The Uninfluenced Spawning Reasons
# https://hub.spigotmc.org/javadocs/spigot/org/bukkit/event/entity/CreatureSpawnEvent.SpawnReason.html
spawn-reason:
- SPAWNER
breed:
# Whether animals' babies inherit the body size when giving birth
inheritance:
# The influence of parents on the body size of children
# Complex formulas can be used. Disable when left blank
# Available variables: {father}, {mother} for the body size of parents, {degree} corresponding to the proportion below
final-scale: ({father} * 1.1 + {mother} * 1.2) / {degree}
# Used in conjunction with the previous 'final-scale'
degree: 2.1-2.5
# Enabling this option will make the babies not be affected by the secondary body size change of animal-spawn
skip-animal-spawn: false
# The prompt when breeding a baby
# Only supports MiniMessage color format. Disable when left blank
# Available variables: {scale} baby scale, {baby} baby name, {player} player name
actionbar: <white>新生命诞生啦! 是体型为<green> {scale} </green>的{baby}宝宝~</white>
# Multiple Birth
multiple:
# The probability of multiple births
# Prohibited when set to 0 or a negative number. The maximum is 100
# Note that it should not be too high. The determination of multiple births is triggered every time breeding occurs. If it is too high, it will keep giving birth to children and cause the server to lag
apply: 9.0
# The interval between each childbirth
# The unit is ticks, 20 ticks = 1 second
delay: 3
# When enabling multiple births, in order to limit breeding, the following amount of health will be deducted each time breeding occurs
# Complex formulas can be used. Disable when left blank
# Available variables: {health} current health, {max_health} maximum health
hurt: '{health} * 0.05'
# Blacklist
# Granting players the varizoo.skip.breed permission can separately turn off the inheritance function to prevent some biological pastures from being destroyed
black-list:
# Animals Unaffected
animal:
- BEE
# The Worlds Unaffected
world: []
other:
# The influence of scale on maximum health. Health points will change proportionally
effect-health: true
# Whether the scale is retained when the animal transforms.
# For example, when a pig is struck by lightning and turns into a Piglin, the scale will still be inherited
transform: true
# Axolotls and fish will lose their original body size when released after being put into buckets
# This function can retain the body size and will correct fish buckets and dispensers
bucket-fish-fix: true
# Multiply the number of dropped items of animals by the following value
# Complex formulas can be used. Disable when left blank
# Available variables: {scale} Creature body size
increase-drops: sqrt({scale})
Note: The plugin makes use of the "scale" attribute of mobs. Just like a mob's health, attack, and speed, this "scale" attribute is native to the game. You can't reverse the applied size transformations simply by deleting the plugin.
If you have any new ideas or suggestions, I'll do my best to implement them.
评论 0
登录后参与评分
还没有评论,来抢沙发吧