All translations
Jump to navigation
Jump to search
Enter a message name below to show all available translations.
Found one translation.
Name | Current message text |
---|---|
h English (en) | To include additional metadata for use in the display (''properties'' field) you can also use the ''MapDisplayProperties'' class to build the item: <pre> MapDisplayProperties prop = MapDisplayProperties.createNew(MyCustomDisplay.class); prop.set("creator", player.getName()); prop.set("background", "https://url/to/some/image.png"); ItemStack item = prop.getMapItem(); // Rest is the same </pre> |