You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This class enables you to store a Material-ItemMeta state pair for later composition with a Template.
For example, you might have code that produces player heads (items with unique meta). If the item is fairly common and a good candidate for configurability (such as if said heads are navigation buttons in a menu), these classes allow you to store those items to config quite succinctly.
Material and ItemMeta are preserved. Calling MetaTemplate#compose(Template) produces a new ItemStack, applies the MetaTemplate's ItemMeta and then applies any additional styles requested by the given Template.