Skip to content

Cover Icon

Mowmaster edited this page Nov 23, 2022 · 1 revision

This Effects the Color of the 'Books' Cover Icon

image

  • Requires an Integer Value for the variant.

Since variants are defined in the model json, these can be modified by the dev. At which point the dev can define any number of custom varients and then use those by supplying the correct associating value.

{
  "type": "minecraft:crafting_shapeless",
  "ingredients": [
    {
      "item": "minecraft:book"
    },
    {
      "tag": "forge:dyes/white"
    }
  ],
  "result": {
    "item": "focusedbooks:focusbook",
    "type": "forge:nbt",
    "nbt": {
      "focusedbooks_bookcovervariant": 0
    }
  }
}

These are the supplied default variants

  • 0 - default cover_default
  • 1 - anchor cover_anchor
  • 2 - animal cover_animal
  • 3 - armor cover_armor
  • 4 - bow cover_bow
  • 5 - breakable cover_breakable
  • 6 - chest cover_chest
  • 7 - crossbow cover_crossbow
  • 8 - digger cover_digger
  • 9 - feet cover_feet
  • 10 - fish cover_fish
  • 11 - gun cover_gun
  • 12 - hammer cover_hammer
  • 13 - helm cover_helm
  • 14 - hoe cover_hoe
  • 15 - knife cover_knife
  • 16 - legs cover_legs
  • 17 - pedestal cover_pedestal
  • 18 - trident cover_trident
  • 19 - weapon cover_weapon
  • 20 - wearable cover_wearable

Clone this wiki locally