#Custom Model for written book not working

5 messages · Page 1 of 1 (latest)

sage salmon
#

I am currently in 1.20.4
resourcepacks\TEST Resource Pack\assets\minecraft\models\item\written-book.json:

{
  "parent": "minecraft:item/generated",
  "textures": {
    "layer0": "minecraft:item/written_book",
  "overrides": [
      { "predicate": {"custom_model_data": 1}, "model": "custom_model/leather-bound-book"}
  }
}

I have tested with regular books and doesn't seem to work, the model and texture in-game is just the purple-black checkered box.

tropic turtleBOT
#
Welcome to the help forum!

Please make sure to read #1029373817119838218 as it may answer your question!

Once your question has been resolved, please mark the post as closed by using the </close:1163944441741049897> command.

sage salmon
#

I don't think the problem is with the model file in the custom_model folder since I have swapped it for other already working models and it won't work specifically for books, written or not.

#

Alright so it isn't just happening for books but for other items too. Here I have iron_nugget.json:

  "parent": "minecraft:item/handheld",
  "textures": {
    "layer0": "minecraft:item/iron_nugget"
  },
  "overrides": [
      { "predicate": {"custom_model_data": 1}, "model": "custom_model/spiked-club"}
}```
Where `spiked-club` is a different model that already exists in the resource pack and works correctly, but not on the iron nugget for some reason.
#

Okay I figured it out, I was missing a square bracket