Class ItemMaterialTag.Data
java.lang.Object
com.saicone.rtag.util.ItemMaterialTag.Data
- Enclosing class:
ItemMaterialTag
Data class that represent an item ID.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet bukkit material representation of this material.damage()Get the item damage value.static @NotNull ItemMaterialTag.Dataempty()entity()Get the entity id (for legacy spawn eggs).final booleanGet the formatted item id.inthashCode()id()Get the item id.booleanisEmpty()toString()static @NotNull ItemMaterialTag.DatawithDamage(@Nullable Short damage) withEntity(@Nullable String entity)
-
Constructor Details
-
Data
-
-
Method Details
-
empty
-
valueOf
-
isEmpty
public boolean isEmpty() -
id
-
damage
-
entity
-
formatted
-
bukkitMaterial
-
withDamage
-
withEntity
-
toString
-
equals
-
hashCode
-