Note: There's a file called example.yml in /loots folder which contains a detailed example of a rainbow fish
注意:在/loots文件夹下有一个example.yml包含了一个带有全部物品属性的物品示例
Enable
是否启用
enable: false
Nick is what to show in fish finder and titles
昵称将在标题和找鱼器中显示
nick: 'Example Fish'
Should it be displayed in fish finder?
是否能被找鱼器发现
show-in-fishfinder: false
Disable bar mechanic for a certain loot
为某个战利品关闭捕鱼条机制
disable-bar-mechanic: true
Disable statistics for a certain loot
关闭此物品的数据记录
disable-stats: true
Is this loot only available when player fish in lava
是否为岩浆鱼
in-lava: false
The weight(relative chance) of getting this fish
钓到这种鱼的相对概率(权重)
weight: 10
Fish group, it's optional and unlimited.
[Note] Group and category are different. Group receives a weight bonus while category is just for collections.
鱼的组
group: normal
The score to get in competition
比赛中获得的分数
score: 10
Specify the fishing game
指定钓鱼游戏类型
mini-game
- rainbow
Basic elements of an item, it's recommened to use MiniMessage format
# Base item
material: COD
# Compatibility with other plugins
# 与其他插件物品库的兼容
# material: ItemsAdder:namespace:id
# material: Oraxen:id
# material: MythicMobs:id
# material: MMOItems:TYPE:ID
# material: NeigeItems:id
# If you want players to fish nothing but something like a "command", you can just set material: AIR
# Item amount
amount: 1
# Custom Model Data 模型值
custom-model-data: 1
display:
name: '<rainbow>✖Example Rainbow Fish✖</rainbow>'
lore:
- '<gray>This is a <font:uniform>rainbow fish!'
- '<gray>It is {size}cm long!'
[Note] Available placeholders:
{size} : The size of the fish
{player} : The fisherman's name
{date} : The date when the fish caught
{worth} : The price of the fish
# Only works when material is player_head (PLAYER_HEAD)
# 头颅物品
# get head64 here https://minecraft-heads.com/
head64: eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvNWRlYTkyZjhmZWZkMGMwMDE3MTliNDQ1MjUxMjAxNmFiN2Q1NzkzODg0Nzg5MDEyYjU1NTExYWYzYzdkMDMzYiJ9fX0=
# Can the head be stacked
# 头颅是否可以堆叠
head-stackable: true
Is the item unbreakable
物品是否不可破坏
unbreakable: false
Optional size, would be useful if want to make each fish unique
If you don't need this feature, just remove this section.
鱼的尺寸
size: 10~200
Optional price, would be useful to be used in price formula which can be find at sell-fish.yml.
If you don't need this feature, just remove this section.