Reference ItemModel

A Reference, or Model, ItemModel is the simplest form of ItemModel. All it does is reference the path to a Model file to use.

If we want to use this in an example here;

NexoItem Example with pre-made Model file
myitem:
  ItemModel:
    type: model
    model: namespace:mymodel #References assest/namespace/models/mymodel.json
NexoItem Example for a 2D NexoItem with just a Texture provided
myitem:
  Pack:
    texture: namespace:mytexture #References assest/namespace/textures/mytexture.png
  ItemModel:
    type: model
    model: myitem # When only a texture is provided, Nexo generates the Model for <itemid>
circle-exclamation

Last updated