Translations:Map Display/API/17/en

From BergerHealer Wiki
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