#Model won't properly render

6 messages · Page 1 of 1 (latest)

past cape
#

Please keep in mind that I'm new to Minecraft modding and understand basic Java.

I'm trying to make a custom item by following the wiki, but I'm constantly getting the same error:

[21:40:24] [Worker-Main-74/WARN] (Minecraft) Missing block model: 'more-weapons:item/katana.json'

The name loads fine, but the item shows up with the missing model and texture.

My assets/more-weapons folder is structured like so:

  • items
    • katana.json
  • lang
    • en_us.json
  • models
    • item
      • katana.json
  • textures
    • item
      • katana.png
  • fabric.mod.json
  • more-weapons.mixins.json

items/katana.json:

{
  "model": {
    "type": "minecraft:model",
    "model": "more-weapons:item/katana.json"
  }
}

models/item/katana.json:

{
  "parent": "minecraft:item/handheld",
  "textures": {
    "layer0": "more-weapons:item/katana.png"
  }
}

Any help is appreciated!

rugged forge
#

mc doesn't specify file extensions in jsons

past cape
#

I'll try to load it without the extension

rugged forge
past cape
#

Worked, guess I didn't read thoroughly enough

#

Thanks for your help!