Enum Class MinecraftTag
- All Implemented Interfaces:
Serializable,Comparable<MinecraftTag>,Constable
This enum contains some useful tags that
Tag does not have.- Author:
- ybw0014, haiman233
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThis includes any armorThis includes all types of axesThis include all types of bootsThis includes all types of bowThis includes all types of chestplatesThis includes all types of fishing rodThis includes all types of helmetsThis includes all types of hoeThis includes all types of horse armorThis includes all types of leggingsThis includes all types of pickaxesThis includes all types of potionsThis includes all types of potions and tipped arrowThis includes all types of shovelThis includes all types of skullThis includes all types of swords -
Method Summary
Modifier and TypeMethodDescriptionbooleanThis method returns if givenItemStackis tagged.abstract booleanThis method returns if givenMaterialis tagged.static MinecraftTagReturns the enum constant of this class with the specified name.static MinecraftTag[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
HELMET
This includes all types of helmets -
CHESTPLATE
This includes all types of chestplates -
LEGGINGS
This includes all types of leggings -
BOOTS
This include all types of boots -
ARMOR
This includes any armor -
SWORD
This includes all types of swords -
AXE
This includes all types of axes -
PICKAXE
This includes all types of pickaxes -
SHOVEL
This includes all types of shovel -
HOE
This includes all types of hoe -
SKULL
This includes all types of skull -
HORSE_ARMOR
This includes all types of horse armor -
BOW
This includes all types of bow -
FISHING_ROD
This includes all types of fishing rod -
POTION
This includes all types of potions -
POTION_WITH_TIPPED_ARROW
This includes all types of potions and tipped arrow
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-
isTagged
This method returns if givenMaterialis tagged. -
isTagged
This method returns if givenItemStackis tagged.
-