Package com.destroystokyo.paper
Class MaterialTags
java.lang.Object
com.destroystokyo.paper.MaterialTags
Represents a collection tags to identify materials that share common properties.
Will map to minecraft for missing tags, as well as custom ones that may be useful.
All tags in this class are unmodifiable, attempting to modify them will throw an
UnsupportedOperationException
.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final MaterialSetTag
Covers all variants of armor.static final MaterialSetTag
Deprecated.static final MaterialSetTag
Deprecated.in favour ofTag.ITEMS_AXES
static final MaterialSetTag
Deprecated.in favour ofTag.BEDS
static final MaterialSetTag
Deprecated.in favour ofTag.ITEMS_FOOT_ARMOR
static final MaterialSetTag
Covers the variants of bows.static final MaterialSetTag
Covers all bucket items.static final MaterialSetTag
Deprecated.any item can be equippable with the right data component set on itstatic final MaterialSetTag
Deprecated.in favour ofTag.ITEMS_CHEST_ARMOR
static final MaterialSetTag
Deprecated.in favour ofTag.ITEMS_COALS
static final MaterialSetTag
Covers both cobblestone wall variants.static final MaterialSetTag
Covers both cobblestone and mossy Cobblestone.static final MaterialSetTag
Covers materials that can be colored, such as wool, shulker boxes, stained glasses etc.static final MaterialSetTag
Covers all command block types.static final MaterialSetTag
Deprecated.in favour ofTag.CONCRETE_POWDER
static final MaterialSetTag
Covers all colors of concrete.static final MaterialSetTag
Covers the two types of cooked fish.static final MaterialSetTag
Covers all copper block variants.static final MaterialSetTag
Covers the variants of coral.static final MaterialSetTag
Covers the variants of coral blocks.static final MaterialSetTag
Covers the variants of coral fans.static final MaterialSetTag
Covers all weathering/waxed states of the cut copper block.static final MaterialSetTag
Covers all weathering/waxed states of the cut copper slab.static final MaterialSetTag
Covers all weathering/waxed states of the cut copper stairs.static final MaterialSetTag
Covers the variants of deepslate ores.static final MaterialSetTag
Covers all Diamond Tools.static final MaterialSetTag
Deprecated.in favour ofTag.DOORS
static final MaterialSetTag
Covers all dyes.static final MaterialSetTag
Deprecated.in favour ofTag.ITEMS_ENCHANTABLE_VANISHING
and other similar enchantable tagsstatic final MaterialSetTag
Covers all exposed copper blocks.static final MaterialSetTag
Deprecated.in favour ofTag.FENCE_GATES
static final MaterialSetTag
Deprecated.in favour ofTag.FENCES
static final MaterialSetTag
Covers all variants of fish buckets.static final MaterialSetTag
Covers all weathering/waxed states of the plain copper block.static final MaterialSetTag
Covers the non-colored glass and 16 stained glasses (not panes).static final MaterialSetTag
Covers the non-colored glass panes and stained glass panes (panes only).static final MaterialSetTag
Covers all glazed terracotta blocks.static final MaterialSetTag
Covers both golden apples.static final MaterialSetTag
Covers all Gold Tools.static final MaterialSetTag
Deprecated.any item can be equippable with the right data component set on itstatic final MaterialSetTag
Deprecated.in favour ofTag.ITEMS_HEAD_ARMOR
static final MaterialSetTag
Deprecated.in favour ofTag.ITEMS_HOES
static final MaterialSetTag
Covers the variants of horse armor.static final MaterialSetTag
Covers the variants of infested blocks.static final MaterialSetTag
Covers all Iron Tools.static final MaterialSetTag
Covers the variants of lanterns.static final MaterialSetTag
Deprecated.in favour ofTag.ITEMS_LEG_ARMOR
static final MaterialSetTag
Covers the variants of mushroom blocks.static final MaterialSetTag
Covers all mushrooms.static final MaterialSetTag
Covers all music disc items.static final MaterialSetTag
Covers all Netherite Tools.static final MaterialSetTag
Covers all ores.static final MaterialSetTag
Covers all oxidized copper blocks.static final MaterialSetTag
Deprecated.in favour ofTag.ITEMS_PICKAXES
static final MaterialSetTag
Covers all piston typed items and blocks including the piston head and moving piston.static final MaterialSetTag
Covers all potato items.static final MaterialSetTag
Deprecated.in favour ofTag.PRESSURE_PLATES
static final MaterialSetTag
Covers the variants of prismarine blocks.static final MaterialSetTag
Covers the variants of prismarine slabs.static final MaterialSetTag
Covers the variants of prismarine stairs.static final MaterialSetTag
Covers the variants of pumpkins.static final MaterialSetTag
Covers the variants of purpur.static final MaterialSetTag
Covers the variants of quartz blocks.static final MaterialSetTag
Deprecated.in favour ofTag.RAILS
static final MaterialSetTag
Covers all uncooked fish items.static final MaterialSetTag
Covers the variants of raw ore blocks.static final MaterialSetTag
Covers the variants of raw ores.static final MaterialSetTag
Covers the variants of red sandstone blocks.static final MaterialSetTag
Covers the variants of a redstone torch.static final MaterialSetTag
Covers the variants of sandstone blocks.static final MaterialSetTag
Deprecated.in favour ofTag.ITEMS_SHOVELS
static final MaterialSetTag
Deprecated.in favour ofTag.SHULKER_BOXES
static final MaterialSetTag
Deprecated.in favour ofTag.ALL_SIGNS
static final MaterialSetTag
Covers zombie, creeper, skeleton, dragon, and player heads.static final MaterialSetTag
Covers the variants of a soul torch.static final MaterialSetTag
Covers all spawn egg items.static final MaterialSetTag
Covers sponge and wet sponge.static final MaterialSetTag
Covers all colors of stained glass.static final MaterialSetTag
Covers all colors of stained glass panes.static final MaterialSetTag
Covers the colors of stained terracotta.static final MaterialSetTag
Covers all Stone Tools.static final MaterialSetTag
Deprecated.in favour ofTag.ITEMS_SWORDS
static final MaterialSetTag
Covers terracotta along with the stained variants.static final MaterialSetTag
Covers the variants of player-throwable projectiles (not requiring a bow or any other "assistance").static final MaterialSetTag
Covers the variants of a regular torch.static final MaterialSetTag
Covers the variants of torches.static final MaterialSetTag
Deprecated.in favour ofTag.TRAPDOORS
static final MaterialSetTag
Covers all un-weathered copper blocks.static final MaterialSetTag
Covers all un-waxed copper blocks.static final MaterialSetTag
Covers all waxed copper blocks.static final MaterialSetTag
Covers all weathered copper blocks.static final MaterialSetTag
Deprecated.in favour ofTag.WOODEN_DOORS
static final MaterialSetTag
Deprecated.in favour ofTag.WOODEN_FENCES
static final MaterialSetTag
Deprecated.in favour ofTag.FENCE_GATES
static final MaterialSetTag
Covers all Wooden Tools.static final MaterialSetTag
Deprecated.in favour ofTag.WOODEN_TRAPDOORS
-
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
ARROWS
Deprecated.in favour ofTag.ITEMS_ARROWS
-
BEDS
Deprecated.in favour ofTag.BEDS
Covers all colors of beds. -
BUCKETS
Covers all bucket items. -
COALS
Deprecated.in favour ofTag.ITEMS_COALS
Covers coal and charcoal. -
COBBLESTONE_WALLS
Covers both cobblestone wall variants. -
COBBLESTONES
Covers both cobblestone and mossy Cobblestone. -
CONCRETES
Covers all colors of concrete. -
CONCRETE_POWDER
Deprecated.in favour ofTag.CONCRETE_POWDER
Covers all colors of concrete powder. -
COOKED_FISH
Covers the two types of cooked fish. -
DOORS
Deprecated.in favour ofTag.DOORS
Covers all variants of doors. -
DYES
Covers all dyes. -
FENCE_GATES
Deprecated.in favour ofTag.FENCE_GATES
Covers all variants of gates. -
FENCES
Deprecated.in favour ofTag.FENCES
Covers all variants of fences. -
FISH_BUCKETS
Covers all variants of fish buckets. -
GLASS
Covers the non-colored glass and 16 stained glasses (not panes). -
GLASS_PANES
Covers the non-colored glass panes and stained glass panes (panes only). -
GLAZED_TERRACOTTA
Covers all glazed terracotta blocks. -
STAINED_TERRACOTTA
Covers the colors of stained terracotta. -
TERRACOTTA
Covers terracotta along with the stained variants. -
GOLDEN_APPLES
Covers both golden apples. -
HORSE_ARMORS
Covers the variants of horse armor. -
INFESTED_BLOCKS
Covers the variants of infested blocks. -
MUSHROOM_BLOCKS
Covers the variants of mushroom blocks. -
MUSHROOMS
Covers all mushrooms. -
MUSIC_DISCS
Covers all music disc items. -
ORES
Covers all ores. -
PISTONS
Covers all piston typed items and blocks including the piston head and moving piston. -
POTATOES
Covers all potato items. -
PRESSURE_PLATES
Deprecated.in favour ofTag.PRESSURE_PLATES
Covers all wooden pressure plates and the weighted pressure plates and the stone pressure plate. -
PRISMARINE
Covers the variants of prismarine blocks. -
PRISMARINE_SLABS
Covers the variants of prismarine slabs. -
PRISMARINE_STAIRS
Covers the variants of prismarine stairs. -
PUMPKINS
Covers the variants of pumpkins. -
QUARTZ_BLOCKS
Covers the variants of quartz blocks. -
RAW_FISH
Covers all uncooked fish items. -
RED_SANDSTONES
Covers the variants of red sandstone blocks. -
SANDSTONES
Covers the variants of sandstone blocks. -
SPONGES
Covers sponge and wet sponge. -
SHULKER_BOXES
Deprecated.in favour ofTag.SHULKER_BOXES
Covers the non-colored and colored shulker boxes. -
SKULLS
Covers zombie, creeper, skeleton, dragon, and player heads. -
SPAWN_EGGS
Covers all spawn egg items. -
STAINED_GLASS
Covers all colors of stained glass. -
STAINED_GLASS_PANES
Covers all colors of stained glass panes. -
TRAPDOORS
Deprecated.in favour ofTag.TRAPDOORS
Covers all variants of trapdoors. -
WOODEN_DOORS
Deprecated.in favour ofTag.WOODEN_DOORS
Covers all wood variants of doors. -
WOODEN_FENCES
Deprecated.in favour ofTag.WOODEN_FENCES
Covers all wood variants of fences. -
WOODEN_TRAPDOORS
Deprecated.in favour ofTag.WOODEN_TRAPDOORS
Covers all wood variants of trapdoors. -
WOODEN_GATES
Deprecated.in favour ofTag.FENCE_GATES
Covers the wood variants of gates. -
PURPUR
Covers the variants of purpur. -
SIGNS
Deprecated.in favour ofTag.ALL_SIGNS
Covers the variants of signs. -
TORCH
Covers the variants of a regular torch. -
REDSTONE_TORCH
Covers the variants of a redstone torch. -
SOUL_TORCH
Covers the variants of a soul torch. -
TORCHES
Covers the variants of torches. -
LANTERNS
Covers the variants of lanterns. -
RAILS
Deprecated.in favour ofTag.RAILS
Covers the variants of rails. -
SWORDS
Deprecated.in favour ofTag.ITEMS_SWORDS
Covers the variants of swords. -
SHOVELS
Deprecated.in favour ofTag.ITEMS_SHOVELS
Covers the variants of shovels. -
PICKAXES
Deprecated.in favour ofTag.ITEMS_PICKAXES
Covers the variants of pickaxes. -
AXES
Deprecated.in favour ofTag.ITEMS_AXES
Covers the variants of axes. -
HOES
Deprecated.in favour ofTag.ITEMS_HOES
Covers the variants of hoes. -
HELMETS
Deprecated.in favour ofTag.ITEMS_HEAD_ARMOR
Covers the variants of helmets. -
HEAD_EQUIPPABLE
Deprecated.any item can be equippable with the right data component set on itCovers the variants of items that can be equipped in the helmet slot. -
CHESTPLATES
Deprecated.in favour ofTag.ITEMS_CHEST_ARMOR
Covers the variants of chestplate. -
CHEST_EQUIPPABLE
Deprecated.any item can be equippable with the right data component set on itCovers the variants of items that can be equipped in the chest slot. -
LEGGINGS
Deprecated.in favour ofTag.ITEMS_LEG_ARMOR
Covers the variants of leggings. -
BOOTS
Deprecated.in favour ofTag.ITEMS_FOOT_ARMOR
Covers the variants of boots. -
ARMOR
Covers all variants of armor. -
BOWS
Covers the variants of bows. -
THROWABLE_PROJECTILES
Covers the variants of player-throwable projectiles (not requiring a bow or any other "assistance"). -
COLORABLE
Covers materials that can be colored, such as wool, shulker boxes, stained glasses etc. -
CORAL
Covers the variants of coral. -
CORAL_FANS
Covers the variants of coral fans. -
CORAL_BLOCKS
Covers the variants of coral blocks. -
ENCHANTABLE
Deprecated.in favour ofTag.ITEMS_ENCHANTABLE_VANISHING
and other similar enchantable tagsCovers all items that can be enchanted from the enchantment table or anvil. -
RAW_ORES
Covers the variants of raw ores. -
COMMAND_BLOCKS
Covers all command block types. -
DEEPSLATE_ORES
Covers the variants of deepslate ores. -
RAW_ORE_BLOCKS
Covers the variants of raw ore blocks. -
OXIDIZED_COPPER_BLOCKS
Covers all oxidized copper blocks. -
WEATHERED_COPPER_BLOCKS
Covers all weathered copper blocks. -
EXPOSED_COPPER_BLOCKS
Covers all exposed copper blocks. -
UNAFFECTED_COPPER_BLOCKS
Covers all un-weathered copper blocks. -
WAXED_COPPER_BLOCKS
Covers all waxed copper blocks.Combine with other copper-related tags to filter is-waxed or not.
-
UNWAXED_COPPER_BLOCKS
Covers all un-waxed copper blocks.Combine with other copper-related tags to filter is-un-waxed or not.
-
COPPER_BLOCKS
Covers all copper block variants. -
FULL_COPPER_BLOCKS
Covers all weathering/waxed states of the plain copper block. -
CUT_COPPER_BLOCKS
Covers all weathering/waxed states of the cut copper block. -
CUT_COPPER_STAIRS
Covers all weathering/waxed states of the cut copper stairs. -
CUT_COPPER_SLABS
Covers all weathering/waxed states of the cut copper slab. -
WOODEN_TOOLS
Covers all Wooden Tools. -
STONE_TOOLS
Covers all Stone Tools. -
IRON_TOOLS
Covers all Iron Tools. -
GOLDEN_TOOLS
Covers all Gold Tools. -
DIAMOND_TOOLS
Covers all Diamond Tools. -
NETHERITE_TOOLS
Covers all Netherite Tools.
-
-
Constructor Details
-
MaterialTags
public MaterialTags()
-
Tag.ITEMS_ARROWS