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
@@ -132,6 +132,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'
@@ -142,6 +143,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
@@ -154,6 +156,7 @@ cauldron:
lore:
- An example for a Base Potion
- This is how it comes out of a Cauldron
customModelData: 545
# -- One Ingredient: --
wheat:
@@ -350,10 +353,12 @@ cauldron:
# alcohol: Absolute amount of alcohol 0-100 in a perfect potion (will be added directly to the player, where 100 means fainting)
# 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: List of effect/level/duration Special potion-effect when drinking, duration in sek.
# Possible Effects: https://hub.spigotmc.org/javadocs/spigot/org/bukkit/potion/PotionEffectType.html
# Level or Duration ranges may be specified with a "-", ex. 'SPEED/1-2/30-40' = lvl 1 and 30 sec at worst and lvl 2 and 40 sec at best
@@ -392,6 +397,7 @@ recipes:
- homes
drinkmessage: Tastes good
drinktitle: Warms you from inside
customModelData: 556/557/557
effects:
- FIRE_RESISTANCE/20
- HEAL/1
@@ -800,6 +806,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
# -- Chat Distortion Settings --