v2.0.0

Changelog

Pack format: 46

v1 can't be directly upgraded to this version.

Changes

  • File structure changes
    • model files are moved from models/item to models/gui_item
    • layer templates and contents are now stored under models/gui_item/(layer name)_layer
  • Remake the template models
    • multi-layer template has been sliced into 7 models, each representing a layer
    • said 7 layers sorted in "depth" from bottom to top are: background, field, pattern, slot, button, icon, foreground
    • the "depth" of the layers has been adjusted
    • the model element and its UV area increased
  • Add item model definition: gui_stack
    • composite layer contents into a stack, with only one content for each layer
    • the first 7 strings in the list of minecraft:custom_model_data is used to assign content to that layer
    • directly use in-game or reproduce or/and improve this implementation under other namespaces

Files

GUItem.zip(110.25 KiB) Primary Download

Project members

OKTW Network

OKTW Network

Organization

bill96012

Member

Details

Licensed MIT
Published a year ago
Updated a month ago