PowCreations has released the Minecraft Bannerfall SMP plugin on Patreon, and many have asked for how we had custom swords, shields, and spell books in the game. This tutorial helps teach you how to go from a blockbench model to swinging around your own greatsword, or using a custom model as a spellbook!
Subscribe to our Patreon for access to the Bannerfall SMP, Vampires SMP, and many more plugins to come!: / powcreations
Direct link to the Patreon Post with contains the tutorial resource pack: / bannerfall-and-162501971
=========== Below is text from the tutorial: ===========
== Item Definition - greatsword.json with no icon info ==
{
"model": {
"type": "minecraft:select",
"model": "breakfast:item/greatsword"
}
}
=== Divider ===
== Item Model - greatsword_icon.json: ==
{
"parent": "minecraft:item/generated",
"textures":{
"layer0": "breakfast:item/greatsword_icon"
}
}
=== Divider ===
== Item Definition - greatsword.json with icon info: ==
{
"model": {
"type": "minecraft:select",
"property": "minecraft:display_context",
"cases": [
{
"when": "gui",
"model": {
"type": "minecraft:model",
"model": "breakfast:item/greatsword_icon"
}
},
{
"when": "ground",
"model": {
"type": "minecraft:model",
"model": "breakfast:item/greatsword_icon"
}
},
{
"when": "fixed",
"model": {
"type": "minecraft:model",
"model": "breakfast:item/greatsword_icon"
}
}
],
"fallback": {
"type": "minecraft:model",
"model": "breakfast:item/greatsword"
}
}
}