KSpigot 1.19 (#50)
* Use new papermc repo url * Update gradle plugins * Update paper dependencies to 1.19 and bump version * Package renames * Update to kotlin 1.7.0 * Update kotlinx-serialization-json to 1.3.3 * Update kotlinx-coroutines to 1.6.2 * Correct version bump * Update versions in gradle_example.md * update some guide stuff Co-authored-by: l4zs <business@l4zs.de>
This commit is contained in:
@@ -11,7 +11,9 @@ val sword = itemStack(Material.GOLDEN_SWORD) {
|
||||
amount = 3
|
||||
addEnchantment(Enchantment.KNOCKBACK, 2)
|
||||
meta {
|
||||
name = "${KColors.GOLD}Magic Sword"
|
||||
name = literalText("Magic Sword") {
|
||||
color = KColors.GOLD
|
||||
}
|
||||
isUnbreakable = true
|
||||
addLore {
|
||||
+"This sword is truly special."
|
||||
@@ -20,7 +22,7 @@ val sword = itemStack(Material.GOLDEN_SWORD) {
|
||||
customModel = 1001
|
||||
flag(ItemFlag.HIDE_UNBREAKABLE)
|
||||
}
|
||||
}
|
||||
}
|
||||
```
|
||||
### This creates the following item
|
||||
|
||||
|
Reference in New Issue
Block a user