Translations:Map Display/API/17/en

From BergerHealer Wiki
Revision as of 12:34, 3 September 2024 by TC Bot (talk | contribs) (Importing a new version from external source)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Then to create an ItemStack that when given loads this display, use the following code:

ItemStack item = MapDisplay.createMapItem(MyCustomDisplay.class);
ItemUtil.setDisplayName(item, "My Custom Display"); // Optional