ItemType

public enum ItemType

Supported item types that can have custom skins. Maps material suffixes to resource pack item type names.

Entries

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Properties

Link copied to clipboard
public final String modelName

Functions

Link copied to clipboard
public static EliteItemSkins.ItemType fromMaterial(Material material)
Finds the ItemType for a given material.
Link copied to clipboard
public String getModelName()
Gets the model name used in resource pack paths.
Link copied to clipboard
public boolean hasEquipmentModel()
Whether this item type uses equipment model for worn appearance.
Link copied to clipboard
public boolean hasItemModel()
Whether this item type has a custom 3D item model.
Link copied to clipboard
public static EliteItemSkins.ItemType valueOf(String name)

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard
public static Array<EliteItemSkins.ItemType> values()

Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants.