2D Icon

The icon property

You have just to set the icon property to a valid texture path. You are done!

Example

info:
  namespace: test
items:
  obsidian_trident:
    name: Obsidian Trident
    resource:
      generate: false
      model_path: item/obsidian_trident
      material: TRIDENT
      icon: item/obsidian_trident

NOTE:

Both the model item/obsidian_trident and the texture item/obsidian_trident have the same name, but they are a different file.

They have the same name just to make things more organized.

In this example:

  • item/obsidian_trident is contents/test/models/item/obsidian_trident.json

  • item/obsidian_trident is contents/test/textures/item/obsidian_trident.png

Last updated

Was this helpful?