Class MaterialTags

java.lang.Object
com.destroystokyo.paper.MaterialTags

public class MaterialTags extends Object
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 Details

    • ARROWS

      public static final MaterialSetTag ARROWS
    • BEDS

      public static final MaterialSetTag BEDS
      Covers all colors of beds.
    • BUCKETS

      public static final MaterialSetTag BUCKETS
      Covers all bucket items.
    • COALS

      public static final MaterialSetTag COALS
      Covers coal and charcoal.
    • COBBLESTONE_WALLS

      public static final MaterialSetTag COBBLESTONE_WALLS
      Covers both cobblestone wall variants.
    • COBBLESTONES

      public static final MaterialSetTag COBBLESTONES
      Covers both cobblestone and mossy Cobblestone.
    • CONCRETES

      public static final MaterialSetTag CONCRETES
      Covers all colors of concrete.
    • CONCRETE_POWDER

      public static final MaterialSetTag CONCRETE_POWDER
      Covers all colors of concrete powder.
    • COOKED_FISH

      public static final MaterialSetTag COOKED_FISH
      Covers the two types of cooked fish.
    • DOORS

      public static final MaterialSetTag DOORS
      Covers all variants of doors.
    • DYES

      public static final MaterialSetTag DYES
      Covers all dyes.
    • FENCE_GATES

      public static final MaterialSetTag FENCE_GATES
      Covers all variants of gates.
    • FENCES

      public static final MaterialSetTag FENCES
      Covers all variants of fences.
    • FISH_BUCKETS

      public static final MaterialSetTag FISH_BUCKETS
      Covers all variants of fish buckets.
    • GLASS

      public static final MaterialSetTag GLASS
      Covers the non-colored glass and 16 stained glass (not panes).
    • GLASS_PANES

      public static final MaterialSetTag GLASS_PANES
      Covers the non-colored glass panes and stained glass panes (panes only).
    • GLAZED_TERRACOTTA

      public static final MaterialSetTag GLAZED_TERRACOTTA
      Covers all glazed terracotta blocks.
    • STAINED_TERRACOTTA

      public static final MaterialSetTag STAINED_TERRACOTTA
      Covers the colors of stained terracotta.
    • TERRACOTTA

      public static final MaterialSetTag TERRACOTTA
      Covers terracotta along with the stained variants.
    • GOLDEN_APPLES

      public static final MaterialSetTag GOLDEN_APPLES
      Covers both golden apples.
    • HORSE_ARMORS

      public static final MaterialSetTag HORSE_ARMORS
      Covers the variants of horse armor.
    • INFESTED_BLOCKS

      public static final MaterialSetTag INFESTED_BLOCKS
      Covers the variants of infested blocks.
    • MUSHROOM_BLOCKS

      public static final MaterialSetTag MUSHROOM_BLOCKS
      Covers the variants of mushroom blocks.
    • MUSHROOMS

      public static final MaterialSetTag MUSHROOMS
      Covers all mushrooms.
    • MUSIC_DISCS

      public static final MaterialSetTag MUSIC_DISCS
      Covers all music disc items.
    • ORES

      public static final MaterialSetTag ORES
      Covers all ores.
    • PISTONS

      public static final MaterialSetTag PISTONS
      Covers all piston typed items and blocks including the piston head and moving piston.
    • POTATOES

      public static final MaterialSetTag POTATOES
      Covers all potato items.
    • PRESSURE_PLATES

      public static final MaterialSetTag PRESSURE_PLATES
      Covers all wooden pressure plates and the weighted pressure plates and the stone pressure plate.
    • PRISMARINE

      public static final MaterialSetTag PRISMARINE
      Covers the variants of prismarine blocks.
    • PRISMARINE_SLABS

      public static final MaterialSetTag PRISMARINE_SLABS
      Covers the variants of prismarine slabs.
    • PRISMARINE_STAIRS

      public static final MaterialSetTag PRISMARINE_STAIRS
      Covers the variants of prismarine stairs.
    • PUMPKINS

      public static final MaterialSetTag PUMPKINS
      Covers the variants of pumpkins.
    • QUARTZ_BLOCKS

      public static final MaterialSetTag QUARTZ_BLOCKS
      Covers the variants of quartz blocks.
    • RAW_FISH

      public static final MaterialSetTag RAW_FISH
      Covers all uncooked fish items.
    • RED_SANDSTONES

      public static final MaterialSetTag RED_SANDSTONES
      Covers the variants of red sandstone blocks.
    • SANDSTONES

      public static final MaterialSetTag SANDSTONES
      Covers the variants of sandstone blocks.
    • SPONGES

      public static final MaterialSetTag SPONGES
      Covers sponge and wet sponge.
    • SHULKER_BOXES

      public static final MaterialSetTag SHULKER_BOXES
      Covers the non-colored and colored shulker boxes.
    • SKULLS

      public static final MaterialSetTag SKULLS
      Covers zombie, creeper, skeleton, dragon, and player heads.
    • SPAWN_EGGS

      public static final MaterialSetTag SPAWN_EGGS
      Covers all spawn egg items.
    • STAINED_GLASS

      public static final MaterialSetTag STAINED_GLASS
      Covers all colors of stained glass.
    • STAINED_GLASS_PANES

      public static final MaterialSetTag STAINED_GLASS_PANES
      Covers all colors of stained glass panes.
    • TRAPDOORS

      public static final MaterialSetTag TRAPDOORS
      Covers all variants of trapdoors.
    • WOODEN_DOORS

      public static final MaterialSetTag WOODEN_DOORS
      Covers all wood variants of doors.
    • WOODEN_FENCES

      public static final MaterialSetTag WOODEN_FENCES
      Covers all wood variants of fences.
    • WOODEN_TRAPDOORS

      public static final MaterialSetTag WOODEN_TRAPDOORS
      Covers all wood variants of trapdoors.
    • WOODEN_GATES

      public static final MaterialSetTag WOODEN_GATES
      Covers the wood variants of gates.
    • PURPUR

      public static final MaterialSetTag PURPUR
      Covers the variants of purpur.
    • SIGNS

      public static final MaterialSetTag SIGNS
      Covers the variants of signs.
    • TORCH

      public static final MaterialSetTag TORCH
      Covers the variants of a regular torch.
    • REDSTONE_TORCH

      public static final MaterialSetTag REDSTONE_TORCH
      Covers the variants of a redstone torch.
    • SOUL_TORCH

      public static final MaterialSetTag SOUL_TORCH
      Covers the variants of a soul torch.
    • TORCHES

      public static final MaterialSetTag TORCHES
      Covers the variants of torches.
    • LANTERNS

      public static final MaterialSetTag LANTERNS
      Covers the variants of lanterns.
    • RAILS

      public static final MaterialSetTag RAILS
      Covers the variants of rails.
    • SWORDS

      public static final MaterialSetTag SWORDS
      Covers the variants of swords.
    • SHOVELS

      public static final MaterialSetTag SHOVELS
      Covers the variants of shovels.
    • PICKAXES

      public static final MaterialSetTag PICKAXES
      Covers the variants of pickaxes.
    • AXES

      public static final MaterialSetTag AXES
      Covers the variants of axes.
    • HOES

      public static final MaterialSetTag HOES
      Covers the variants of hoes.
    • HELMETS

      public static final MaterialSetTag HELMETS
      Covers the variants of helmets.
    • HEAD_EQUIPPABLE

      public static final MaterialSetTag HEAD_EQUIPPABLE
      Covers the variants of items that can be equipped in the helmet slot.
    • CHESTPLATES

      public static final MaterialSetTag CHESTPLATES
      Covers the variants of chestplate.
    • CHEST_EQUIPPABLE

      public static final MaterialSetTag CHEST_EQUIPPABLE
      Covers the variants of items that can be equipped in the chest slot.
    • LEGGINGS

      public static final MaterialSetTag LEGGINGS
      Covers the variants of leggings.
    • BOOTS

      public static final MaterialSetTag BOOTS
      Covers the variants of boots.
    • ARMOR

      public static final MaterialSetTag ARMOR
      Covers all variants of armor.
    • BOWS

      public static final MaterialSetTag BOWS
      Covers the variants of bows.
    • THROWABLE_PROJECTILES

      public static final MaterialSetTag THROWABLE_PROJECTILES
      Covers the variants of player-throwable projectiles (not requiring a bow or any other "assistance").
    • COLORABLE

      public static final MaterialSetTag COLORABLE
      Covers materials that can be colored, such as wool, shulker boxes, stained glass etc.
    • CORAL

      public static final MaterialSetTag CORAL
      Covers the variants of coral.
    • CORAL_FANS

      public static final MaterialSetTag CORAL_FANS
      Covers the variants of coral fans.
    • CORAL_BLOCKS

      public static final MaterialSetTag CORAL_BLOCKS
      Covers the variants of coral blocks.
    • ENCHANTABLE

      public static final MaterialSetTag ENCHANTABLE
      Covers all items that can be enchanted from the enchantment table or anvil.
    • RAW_ORES

      public static final MaterialSetTag RAW_ORES
      Covers the variants of raw ores.
    • DEEPSLATE_ORES

      public static final MaterialSetTag DEEPSLATE_ORES
      Covers the variants of deepslate ores.
    • RAW_ORE_BLOCKS

      public static final MaterialSetTag RAW_ORE_BLOCKS
      Covers the variants of raw ore blocks.
    • OXIDIZED_COPPER_BLOCKS

      public static final MaterialSetTag OXIDIZED_COPPER_BLOCKS
      Covers all oxidized copper blocks.
    • WEATHERED_COPPER_BLOCKS

      public static final MaterialSetTag WEATHERED_COPPER_BLOCKS
      Covers all weathered copper blocks.
    • EXPOSED_COPPER_BLOCKS

      public static final MaterialSetTag EXPOSED_COPPER_BLOCKS
      Covers all exposed copper blocks.
    • UNAFFECTED_COPPER_BLOCKS

      public static final MaterialSetTag UNAFFECTED_COPPER_BLOCKS
      Covers all un-weathered copper blocks.
    • WAXED_COPPER_BLOCKS

      public static final MaterialSetTag WAXED_COPPER_BLOCKS
      Covers all waxed copper blocks.

      Combine with other copper-related tags to filter is-waxed or not.

    • UNWAXED_COPPER_BLOCKS

      public static final MaterialSetTag UNWAXED_COPPER_BLOCKS
      Covers all un-waxed copper blocks.

      Combine with other copper-related tags to filter is-un-waxed or not.

    • COPPER_BLOCKS

      public static final MaterialSetTag COPPER_BLOCKS
      Covers all copper block variants.
    • FULL_COPPER_BLOCKS

      public static final MaterialSetTag FULL_COPPER_BLOCKS
      Covers all weathering/waxed states of the plain copper block.
    • CUT_COPPER_BLOCKS

      public static final MaterialSetTag CUT_COPPER_BLOCKS
      Covers all weathering/waxed states of the cut copper block.
    • CUT_COPPER_STAIRS

      public static final MaterialSetTag CUT_COPPER_STAIRS
      Covers all weathering/waxed states of the cut copper stairs.
    • CUT_COPPER_SLABS

      public static final MaterialSetTag CUT_COPPER_SLABS
      Covers all weathering/waxed states of the cut copper slab.
  • Constructor Details

    • MaterialTags

      public MaterialTags()