Implemented Custom Model Data

issue #246
This commit is contained in:
Sn0wStorm
2020-04-12 22:21:17 +02:00
parent ef868fc7eb
commit 8f7696cdb5
14 changed files with 172 additions and 19 deletions
+11 -2
View File
@@ -134,6 +134,7 @@ customItems:
# -- Ingredients in the Cauldron --
# Which Ingredients are accepted by the Cauldron and the base potion resulting from them
# You only need to add something here if you want to specify a custom name or color for the base potion
# name: Name of the base potion coming out of the Cauldron (Formatting codes possible: such as &6)
# ingredients: List of 'material/amount'
@@ -144,6 +145,7 @@ customItems:
# Usable Colors: DARK_RED, RED, BRIGHT_RED, ORANGE, YELLOW, PINK, PURPLE, BLUE, CYAN, WATER, TEAL, OLIVE, GREEN, LIME, BLACK, GREY, BRIGHT_GREY, WHITE
# Or RGB colors (hex: for example '99FF33') (with '') (search for "HTML color" on the internet)
# lore: List of additional text on the base potion. (Formatting codes possible: such as &6)
# customModelData: Custom Model Data Tag. This is a number that can be used to add custom textures to the item.
cauldron:
# Example with all possible entries
@@ -156,6 +158,7 @@ cauldron:
lore:
- An example for a Base Potion
- This is how it comes out of a Cauldron
customModelData: 545
# -- One Ingredient: --
wheat:
@@ -353,10 +356,12 @@ cauldron:
# alcohol: 完美质量的饮品所含有的酒精度(百分数, 会被直接添加到玩家身上, 100意为直接昏迷)
# lore: List of additional text on the finished brew. (Formatting codes possible: such as &6)
# Specific lore for quality possible, using + bad, ++ normal, +++ good, added to the front of the line.
# servercommands: List of Commands executed by the Server when drinking the brew
# playercommands: List of Commands executed by the Player when drinking the brew
# servercommands: List of Commands executed by the -Server- when drinking the brew (Can use %player_name%)
# playercommands: List of Commands executed by the -Player- when drinking the brew (Can use %player_name%)
# drinkmessage: Chat-message to the Player when drinking the Brew
# drinktitle: Title on Screen to the Player when drinking the Brew
# customModelData: Custom Model Data Tag. This is a number that can be used to add custom textures to the item.
# Can specify one for all, or one for each quality, separated by /
# effects: 饮用后能够获得的药效的列表. 格式为"药效/强度/时长(秒)".
# 药效列表: https://hub.spigotmc.org/javadocs/spigot/org/bukkit/potion/PotionEffectType.html
# 药效强度与时长可以用"-"划分区间, 如: "SPEED/1-2/30-40" = 最劣质情况下的饮品会给予速度1三十秒, 最优质则会给予速度2四十秒.
@@ -396,6 +401,7 @@ recipes:
- homes
drinkmessage: Tastes good
drinktitle: Warms you from inside
customModelData: 556/557/557
effects:
- FIRE_RESISTANCE/20
- HEAL/1
@@ -804,6 +810,9 @@ multiServerDB:
# If items in Offhand should be added to the cauldron as well [false]
useOffhandForCauldron: false
# If Barrel and Cauldron data can be loaded Async/in the Background [true]
loadDataAsync: true
# -- 口糊设置 --