Interface ExportedItemInfo
@Experimental
@NonExtendable
public interface ExportedItemInfo
The data model for item information that was previously exported.
-
Method Summary
Modifier and TypeMethodDescriptionicon()Returns the path of the exported item icon, which can be resolved usingWebRenderingContext.getAssetUrl(String).id()Returns the item id, i.e.minecraft:stick.rarity()Returns the serialized name of the items rarity, i.e.commonorepic.
-
Method Details
-
id
-
icon
String icon()Returns the path of the exported item icon, which can be resolved usingWebRenderingContext.getAssetUrl(String).- Returns:
- the path of the exported item icon, which can be resolved using
WebRenderingContext.getAssetUrl(String)
-
displayName
String displayName() -
rarity
String rarity()Returns the serialized name of the items rarity, i.e.commonorepic.- Returns:
- the serialized name of the items rarity, i.e.
commonorepic
-