Package org.bukkit

Interface Tag<T extends Keyed>

Type Parameters:
T - the type of things grouped by this tag
All Superinterfaces:
net.kyori.adventure.key.Keyed, Keyed
All Known Implementing Classes:
BaseTag, EntitySetTag, MaterialSetTag

public interface Tag<T extends Keyed> extends Keyed
Represents a tag that may be defined by the server or a resource pack to group like things together. Note that whilst all tags defined within this interface must be present in implementations, their existence is not guaranteed across future versions.

Custom tags defined by Paper are not present (as constants) in this class. To access them please refer to MaterialTags and EntityTags.

  • Field Details

    • REGISTRY_BLOCKS

      static final String REGISTRY_BLOCKS
      Key for the built in block registry.
      See Also:
    • WOOL

      static final Tag<Material> WOOL
      Vanilla block tag representing all colors of wool.
    • PLANKS

      static final Tag<Material> PLANKS
      Vanilla block tag representing all plank variants.
    • STONE_BRICKS

      static final Tag<Material> STONE_BRICKS
      Vanilla block tag representing all regular/mossy/cracked/chiseled stone bricks.
    • WOODEN_BUTTONS

      static final Tag<Material> WOODEN_BUTTONS
      Vanilla block tag representing all wooden buttons.
    • BUTTONS

      static final Tag<Material> BUTTONS
      Vanilla block tag representing all buttons (inherits from WOODEN_BUTTONS.
    • WOOL_CARPETS

      static final Tag<Material> WOOL_CARPETS
      Vanilla block tag representing all colors of carpet.
    • CARPETS

      @Deprecated static final Tag<Material> CARPETS
      Deprecated.
    • WOODEN_DOORS

      static final Tag<Material> WOODEN_DOORS
      Vanilla block tag representing all wooden doors.
    • WOODEN_STAIRS

      static final Tag<Material> WOODEN_STAIRS
      Vanilla block tag representing all wooden stairs.
    • WOODEN_SLABS

      static final Tag<Material> WOODEN_SLABS
      Vanilla block tag representing all wooden slabs.
    • WOODEN_FENCES

      static final Tag<Material> WOODEN_FENCES
      Vanilla block tag representing all wooden fences.
    • PRESSURE_PLATES

      static final Tag<Material> PRESSURE_PLATES
      Vanilla block tag representing all pressure plates.
    • WOODEN_PRESSURE_PLATES

      static final Tag<Material> WOODEN_PRESSURE_PLATES
      Vanilla block tag representing all wooden pressure plates.
    • STONE_PRESSURE_PLATES

      static final Tag<Material> STONE_PRESSURE_PLATES
      Vanilla block tag representing all stone pressure plates.
    • WOODEN_TRAPDOORS

      static final Tag<Material> WOODEN_TRAPDOORS
      Vanilla block tag representing all wooden trapdoors.
    • DOORS

      static final Tag<Material> DOORS
      Vanilla block tag representing all doors (inherits from WOODEN_DOORS.
    • SAPLINGS

      static final Tag<Material> SAPLINGS
      Vanilla block tag representing all sapling variants.
    • LOGS_THAT_BURN

      static final Tag<Material> LOGS_THAT_BURN
      Vanilla block tag representing all log and bark variants that burn.
    • LOGS

      static final Tag<Material> LOGS
      Vanilla block tag representing all log and bark variants.
    • DARK_OAK_LOGS

      static final Tag<Material> DARK_OAK_LOGS
      Vanilla block tag representing all dark oak log and bark variants.
    • OAK_LOGS

      static final Tag<Material> OAK_LOGS
      Vanilla block tag representing all oak log and bark variants.
    • BIRCH_LOGS

      static final Tag<Material> BIRCH_LOGS
      Vanilla block tag representing all birch log and bark variants.
    • ACACIA_LOGS

      static final Tag<Material> ACACIA_LOGS
      Vanilla block tag representing all acacia log and bark variants.
    • JUNGLE_LOGS

      static final Tag<Material> JUNGLE_LOGS
      Vanilla block tag representing all jungle log and bark variants.
    • SPRUCE_LOGS

      static final Tag<Material> SPRUCE_LOGS
      Vanilla block tag representing all spruce log and bark variants.
    • MANGROVE_LOGS

      static final Tag<Material> MANGROVE_LOGS
      Vanilla block tag representing all mangrove log and bark variants.
    • CRIMSON_STEMS

      static final Tag<Material> CRIMSON_STEMS
      Vanilla block tag representing all crimson stems.
    • WARPED_STEMS

      static final Tag<Material> WARPED_STEMS
      Vanilla block tag representing all warped stems.
    • BAMBOO_BLOCKS

      @Experimental static final Tag<Material> BAMBOO_BLOCKS
      Vanilla block tag representing all bamboo blocks.
    • BANNERS

      static final Tag<Material> BANNERS
      Vanilla block tag representing all banner blocks.
    • SAND

      static final Tag<Material> SAND
      Vanilla block tag representing all sand blocks.
    • STAIRS

      static final Tag<Material> STAIRS
      Vanilla block tag representing all stairs.
    • SLABS

      static final Tag<Material> SLABS
      Vanilla block tag representing all slabs.
    • WALLS

      static final Tag<Material> WALLS
      Vanilla block tag representing all walls.
    • ANVIL

      static final Tag<Material> ANVIL
      Vanilla block tag representing all damaged and undamaged anvils.
    • RAILS

      static final Tag<Material> RAILS
      Vanilla block tag representing all Minecart rails.
    • LEAVES

      static final Tag<Material> LEAVES
      Vanilla block tag representing all leaves fans.
    • TRAPDOORS

      static final Tag<Material> TRAPDOORS
      Vanilla block tag representing all trapdoors (inherits from WOODEN_TRAPDOORS.
    • FLOWER_POTS

      static final Tag<Material> FLOWER_POTS
      Vanilla block tag representing all empty and filled flower pots.
    • SMALL_FLOWERS

      static final Tag<Material> SMALL_FLOWERS
      Vanilla block tag representing all small flowers.
    • BEDS

      static final Tag<Material> BEDS
      Vanilla block tag representing all beds.
    • FENCES

      static final Tag<Material> FENCES
      Vanilla block tag representing all fences.
    • TALL_FLOWERS

      static final Tag<Material> TALL_FLOWERS
      Vanilla block tag representing all tall flowers.
    • FLOWERS

      static final Tag<Material> FLOWERS
      Vanilla block tag representing all flowers.
    • PIGLIN_REPELLENTS

      static final Tag<Material> PIGLIN_REPELLENTS
      Vanilla block tag representing all piglin repellents.
    • GOLD_ORES

      static final Tag<Material> GOLD_ORES
      Vanilla block tag representing all gold ores.
    • IRON_ORES

      static final Tag<Material> IRON_ORES
      Vanilla block tag representing all iron ores.
    • DIAMOND_ORES

      static final Tag<Material> DIAMOND_ORES
      Vanilla block tag representing all diamond ores.
    • REDSTONE_ORES

      static final Tag<Material> REDSTONE_ORES
      Vanilla block tag representing all redstone ores.
    • LAPIS_ORES

      static final Tag<Material> LAPIS_ORES
      Vanilla block tag representing all lapis ores.
    • COAL_ORES

      static final Tag<Material> COAL_ORES
      Vanilla block tag representing all coal ores.
    • EMERALD_ORES

      static final Tag<Material> EMERALD_ORES
      Vanilla block tag representing all emerald ores.
    • COPPER_ORES

      static final Tag<Material> COPPER_ORES
      Vanilla block tag representing all copper ores.
    • CANDLES

      static final Tag<Material> CANDLES
      Vanilla block tag representing all candles.
    • DIRT

      static final Tag<Material> DIRT
      Vanilla block tag representing all dirt.
    • TERRACOTTA

      static final Tag<Material> TERRACOTTA
      Vanilla block tag representing all terracotta.
    • COMPLETES_FIND_TREE_TUTORIAL

      static final Tag<Material> COMPLETES_FIND_TREE_TUTORIAL
      Vanilla block tag representing all blocks which complete the find tree tutorial.
    • ENDERMAN_HOLDABLE

      static final Tag<Material> ENDERMAN_HOLDABLE
      Vanilla block tag denoting blocks that enderman may pick up and hold.
    • ICE

      static final Tag<Material> ICE
      Vanilla block tag denoting ice blocks.
    • VALID_SPAWN

      static final Tag<Material> VALID_SPAWN
      Vanilla block tag denoting all valid mob spawn positions.
    • IMPERMEABLE

      static final Tag<Material> IMPERMEABLE
      Vanilla block tag denoting impermeable blocks which do not drip fluids.
    • UNDERWATER_BONEMEALS

      static final Tag<Material> UNDERWATER_BONEMEALS
      Vanilla block tag denoting all underwater blocks which may be bonemealed.
    • CORAL_BLOCKS

      static final Tag<Material> CORAL_BLOCKS
      Vanilla block tag representing all coral blocks.
    • WALL_CORALS

      static final Tag<Material> WALL_CORALS
      Vanilla block tag representing all wall corals.
    • CORAL_PLANTS

      static final Tag<Material> CORAL_PLANTS
      Vanilla block tag representing all coral plants.
    • CORALS

      static final Tag<Material> CORALS
      Vanilla block tag representing all coral.
    • BAMBOO_PLANTABLE_ON

      static final Tag<Material> BAMBOO_PLANTABLE_ON
      Vanilla block tag denoting all blocks bamboo may be planted on.
    • STANDING_SIGNS

      static final Tag<Material> STANDING_SIGNS
      Vanilla block tag representing all standing signs.
    • WALL_SIGNS

      static final Tag<Material> WALL_SIGNS
      Vanilla block tag representing all wall signs.
    • SIGNS

      static final Tag<Material> SIGNS
      Vanilla block tag representing all regular signs.
    • CEILING_HANGING_SIGNS

      @Experimental static final Tag<Material> CEILING_HANGING_SIGNS
      Vanilla block tag representing all ceiling signs.
    • WALL_HANGING_SIGNS

      @Experimental static final Tag<Material> WALL_HANGING_SIGNS
      Vanilla block tag representing all wall hanging signs.
    • ALL_HANGING_SIGNS

      @Experimental static final Tag<Material> ALL_HANGING_SIGNS
      Vanilla block tag representing all hanging signs.
    • ALL_SIGNS

      static final Tag<Material> ALL_SIGNS
      Vanilla block tag representing all signs, regardless of type.
    • DRAGON_IMMUNE

      static final Tag<Material> DRAGON_IMMUNE
      Vanilla block tag representing all blocks immune to dragons.
    • DRAGON_TRANSPARENT

      static final Tag<Material> DRAGON_TRANSPARENT
      Vanilla block tag representing all blocks transparent to the ender dragon.
    • WITHER_IMMUNE

      static final Tag<Material> WITHER_IMMUNE
      Vanilla block tag representing all blocks immune to withers.
    • WITHER_SUMMON_BASE_BLOCKS

      static final Tag<Material> WITHER_SUMMON_BASE_BLOCKS
      Vanilla block tag representing all base blocks used for wither summoning.
    • BEEHIVES

      static final Tag<Material> BEEHIVES
      Vanilla block tag representing all beehives.
    • CROPS

      static final Tag<Material> CROPS
      Vanilla block tag representing all crops.
    • BEE_GROWABLES

      static final Tag<Material> BEE_GROWABLES
      Vanilla block tag representing all bee growables.
    • PORTALS

      static final Tag<Material> PORTALS
      Vanilla block tag representing all portals.
    • FIRE

      static final Tag<Material> FIRE
      Vanilla block tag representing all fire blocks.
    • NYLIUM

      static final Tag<Material> NYLIUM
      Vanilla block tag representing all nylium blocks.
    • WART_BLOCKS

      static final Tag<Material> WART_BLOCKS
      Vanilla block tag representing all wart blocks.
    • BEACON_BASE_BLOCKS

      static final Tag<Material> BEACON_BASE_BLOCKS
      Vanilla block tag representing all beacon base blocks.
    • SOUL_SPEED_BLOCKS

      static final Tag<Material> SOUL_SPEED_BLOCKS
      Vanilla block tag representing all blocks affected by the soul speed enchantment.
    • WALL_POST_OVERRIDE

      static final Tag<Material> WALL_POST_OVERRIDE
      Vanilla block tag representing all wall post overrides.
    • CLIMBABLE

      static final Tag<Material> CLIMBABLE
      Vanilla block tag representing all climbable blocks.
    • FALL_DAMAGE_RESETTING

      static final Tag<Material> FALL_DAMAGE_RESETTING
      Vanilla block tag representing all blocks which reset fall damage.
    • SHULKER_BOXES

      static final Tag<Material> SHULKER_BOXES
      Vanilla block tag representing all shulker boxes.
    • HOGLIN_REPELLENTS

      static final Tag<Material> HOGLIN_REPELLENTS
      Vanilla block tag representing all hoglin repellents.
    • SOUL_FIRE_BASE_BLOCKS

      static final Tag<Material> SOUL_FIRE_BASE_BLOCKS
      Vanilla block tag representing all soul fire base blocks.
    • STRIDER_WARM_BLOCKS

      static final Tag<Material> STRIDER_WARM_BLOCKS
      Vanilla block tag representing all warm strider blocks.
    • CAMPFIRES

      static final Tag<Material> CAMPFIRES
      Vanilla block tag representing all campfires.
    • GUARDED_BY_PIGLINS

      static final Tag<Material> GUARDED_BY_PIGLINS
      Vanilla block tag representing all blocks guarded by piglins.
    • PREVENT_MOB_SPAWNING_INSIDE

      static final Tag<Material> PREVENT_MOB_SPAWNING_INSIDE
      Vanilla block tag representing all blocks that prevent inside mob spawning.
    • FENCE_GATES

      static final Tag<Material> FENCE_GATES
      Vanilla block tag representing all fence gates.
    • UNSTABLE_BOTTOM_CENTER

      static final Tag<Material> UNSTABLE_BOTTOM_CENTER
      Vanilla block tag representing all unstable bottom center blocks.
    • MUSHROOM_GROW_BLOCK

      static final Tag<Material> MUSHROOM_GROW_BLOCK
    • INFINIBURN_OVERWORLD

      static final Tag<Material> INFINIBURN_OVERWORLD
      Vanilla block tag representing all blocks that burn forever in the overworld.
    • INFINIBURN_NETHER

      static final Tag<Material> INFINIBURN_NETHER
      Vanilla block tag representing all blocks that burn forever in the nether.
    • INFINIBURN_END

      static final Tag<Material> INFINIBURN_END
      Vanilla block tag representing all blocks that burn forever in the end.
    • BASE_STONE_OVERWORLD

      static final Tag<Material> BASE_STONE_OVERWORLD
      Vanilla block tag representing the overworld base material.
    • STONE_ORE_REPLACEABLES

      static final Tag<Material> STONE_ORE_REPLACEABLES
      Vanilla block tag representing all blocks that may be replaced by ores.
    • DEEPSLATE_ORE_REPLACEABLES

      static final Tag<Material> DEEPSLATE_ORE_REPLACEABLES
      Vanilla block tag representing all blocks that may be replaced by deepslate ores.
    • BASE_STONE_NETHER

      static final Tag<Material> BASE_STONE_NETHER
      Vanilla block tag representing the nether base material.
    • OVERWORLD_CARVER_REPLACEABLES

      static final Tag<Material> OVERWORLD_CARVER_REPLACEABLES
      Vanilla block tag representing all blocks replaceable by the overworld carver.
    • NETHER_CARVER_REPLACEABLES

      static final Tag<Material> NETHER_CARVER_REPLACEABLES
      Vanilla block tag representing all blocks replaceable by the nether carver.
    • CANDLE_CAKES

      static final Tag<Material> CANDLE_CAKES
      Vanilla block tag representing all candle cakes.
    • CAULDRONS

      static final Tag<Material> CAULDRONS
      Vanilla block tag representing all cauldrons.
    • CRYSTAL_SOUND_BLOCKS

      static final Tag<Material> CRYSTAL_SOUND_BLOCKS
      Vanilla block tag representing all blocks that make crystal sounds.
    • INSIDE_STEP_SOUND_BLOCKS

      static final Tag<Material> INSIDE_STEP_SOUND_BLOCKS
      Vanilla block tag representing all blocks that play muffled step sounds.
    • OCCLUDES_VIBRATION_SIGNALS

      static final Tag<Material> OCCLUDES_VIBRATION_SIGNALS
      Vanilla block tag representing all blocks that block vibration signals.
    • DAMPENS_VIBRATIONS

      static final Tag<Material> DAMPENS_VIBRATIONS
      Vanilla block tag representing all blocks that dampen the propagation of vibration signals.
    • DRIPSTONE_REPLACEABLE

      static final Tag<Material> DRIPSTONE_REPLACEABLE
      Vanilla block tag representing all blocks that are replaceable by dripstone.
    • CAVE_VINES

      static final Tag<Material> CAVE_VINES
      Vanilla block tag representing all cave vines.
    • MOSS_REPLACEABLE

      static final Tag<Material> MOSS_REPLACEABLE
      Vanilla block tag representing all blocks replaceable by moss.
    • LUSH_GROUND_REPLACEABLE

      static final Tag<Material> LUSH_GROUND_REPLACEABLE
      Vanilla block tag representing all blocks replaceable by lush ground.
    • AZALEA_ROOT_REPLACEABLE

      static final Tag<Material> AZALEA_ROOT_REPLACEABLE
      Vanilla block tag representing all blocks replaceable by azalea root.
    • SMALL_DRIPLEAF_PLACEABLE

      static final Tag<Material> SMALL_DRIPLEAF_PLACEABLE
      Vanilla block tag representing all blocks which small dripleaf can be placed on.
    • BIG_DRIPLEAF_PLACEABLE

      static final Tag<Material> BIG_DRIPLEAF_PLACEABLE
      Vanilla block tag representing all blocks which big dripleaf can be placed on.
    • SNOW

      static final Tag<Material> SNOW
      Vanilla block tag representing all snow blocks.
    • MINEABLE_AXE

      static final Tag<Material> MINEABLE_AXE
      Vanilla block tag representing all blocks mineable with an axe.
    • MINEABLE_HOE

      static final Tag<Material> MINEABLE_HOE
      Vanilla block tag representing all blocks mineable with a hoe.
    • MINEABLE_PICKAXE

      static final Tag<Material> MINEABLE_PICKAXE
      Vanilla block tag representing all blocks mineable with a pickaxe.
    • MINEABLE_SHOVEL

      static final Tag<Material> MINEABLE_SHOVEL
      Vanilla block tag representing all blocks mineable with a shovel.
    • NEEDS_DIAMOND_TOOL

      static final Tag<Material> NEEDS_DIAMOND_TOOL
      Vanilla block tag representing all blocks which require a diamond tool.
    • NEEDS_IRON_TOOL

      static final Tag<Material> NEEDS_IRON_TOOL
      Vanilla block tag representing all blocks which require an iron tool.
    • NEEDS_STONE_TOOL

      static final Tag<Material> NEEDS_STONE_TOOL
      Vanilla block tag representing all blocks which require a stone tool.
    • FEATURES_CANNOT_REPLACE

      static final Tag<Material> FEATURES_CANNOT_REPLACE
      Vanilla block tag representing all blocks which will not be replaced by world generation features.
    • LAVA_POOL_STONE_CANNOT_REPLACE

      static final Tag<Material> LAVA_POOL_STONE_CANNOT_REPLACE
      Vanilla block tag representing all blocks which lava pools will not replace.
    • GEODE_INVALID_BLOCKS

      static final Tag<Material> GEODE_INVALID_BLOCKS
      Vanilla block tag representing all blocks which geodes will not spawn in.
    • FROG_PREFER_JUMP_TO

      static final Tag<Material> FROG_PREFER_JUMP_TO
      Vanilla block tag representing all blocks which frogs prefer to jump to.
    • SCULK_REPLACEABLE

      static final Tag<Material> SCULK_REPLACEABLE
      Vanilla block tag representing all blocks which can be replaced by skulk.
    • SCULK_REPLACEABLE_WORLD_GEN

      static final Tag<Material> SCULK_REPLACEABLE_WORLD_GEN
      Vanilla block tag representing all blocks which can be replaced by skulk during world generation.
    • ANCIENT_CITY_REPLACEABLE

      static final Tag<Material> ANCIENT_CITY_REPLACEABLE
      Vanilla block tag representing all blocks which can be replaced by ancient cities.
    • ANIMALS_SPAWNABLE_ON

      static final Tag<Material> ANIMALS_SPAWNABLE_ON
      Vanilla block tag representing all blocks which animals will spawn on.
    • AXOLOTLS_SPAWNABLE_ON

      static final Tag<Material> AXOLOTLS_SPAWNABLE_ON
      Vanilla block tag representing all blocks which axolotls will spawn on.
    • GOATS_SPAWNABLE_ON

      static final Tag<Material> GOATS_SPAWNABLE_ON
      Vanilla block tag representing all blocks which goats will spawn on.
    • MOOSHROOMS_SPAWNABLE_ON

      static final Tag<Material> MOOSHROOMS_SPAWNABLE_ON
      Vanilla block tag representing all blocks which mooshrooms will spawn on.
    • PARROTS_SPAWNABLE_ON

      static final Tag<Material> PARROTS_SPAWNABLE_ON
      Vanilla block tag representing all blocks which parrots will spawn on.
    • POLAR_BEARS_SPAWNABLE_ON_ALTERNATE

      static final Tag<Material> POLAR_BEARS_SPAWNABLE_ON_ALTERNATE
      Vanilla block tag representing all blocks which polar bears will spawn on.
    • POLAR_BEARS_SPAWNABLE_ON_IN_FROZEN_OCEAN

      @Deprecated static final Tag<Material> POLAR_BEARS_SPAWNABLE_ON_IN_FROZEN_OCEAN
    • RABBITS_SPAWNABLE_ON

      static final Tag<Material> RABBITS_SPAWNABLE_ON
      Vanilla block tag representing all blocks which rabbits will spawn on.
    • FOXES_SPAWNABLE_ON

      static final Tag<Material> FOXES_SPAWNABLE_ON
      Vanilla block tag representing all blocks which foxes will spawn on.
    • WOLVES_SPAWNABLE_ON

      static final Tag<Material> WOLVES_SPAWNABLE_ON
      Vanilla block tag representing all blocks which wolves will spawn on.
    • FROGS_SPAWNABLE_ON

      static final Tag<Material> FROGS_SPAWNABLE_ON
      Vanilla block tag representing all blocks which frogs will spawn on.
    • AZALEA_GROWS_ON

      static final Tag<Material> AZALEA_GROWS_ON
      Vanilla block tag representing all blocks which azaleas will grow on.
    • REPLACEABLE_PLANTS

      static final Tag<Material> REPLACEABLE_PLANTS
      Vanilla block tag representing all plant blocks which may be replaced.
    • CONVERTABLE_TO_MUD

      static final Tag<Material> CONVERTABLE_TO_MUD
      Vanilla block tag representing all blocks which may be converted to mud.
    • MANGROVE_LOGS_CAN_GROW_THROUGH

      static final Tag<Material> MANGROVE_LOGS_CAN_GROW_THROUGH
      Vanilla block tag representing all blocks which mangrove logs can grow through.
    • MANGROVE_ROOTS_CAN_GROW_THROUGH

      static final Tag<Material> MANGROVE_ROOTS_CAN_GROW_THROUGH
      Vanilla block tag representing all blocks which mangrove roots can grow through.
    • DEAD_BUSH_MAY_PLACE_ON

      static final Tag<Material> DEAD_BUSH_MAY_PLACE_ON
      Vanilla block tag representing all blocks which dead bushes may be placed on.
    • SNAPS_GOAT_HORN

      static final Tag<Material> SNAPS_GOAT_HORN
      Vanilla block tag representing all blocks which snap dropped goat horns.
    • SNOW_LAYER_CANNOT_SURVIVE_ON

      static final Tag<Material> SNOW_LAYER_CANNOT_SURVIVE_ON
      Vanilla block tag representing blocks which snow cannot survive on.
    • SNOW_LAYER_CAN_SURVIVE_ON

      static final Tag<Material> SNOW_LAYER_CAN_SURVIVE_ON
      Vanilla block tag representing blocks which snow can survive on.
    • INVALID_SPAWN_INSIDE

      static final Tag<Material> INVALID_SPAWN_INSIDE
      Vanilla block tag representing blocks which cannot be dismounted into.
    • REGISTRY_ITEMS

      static final String REGISTRY_ITEMS
      Key for the built in item registry.
      See Also:
    • ITEMS_PIGLIN_LOVED

      static final Tag<Material> ITEMS_PIGLIN_LOVED
      Vanilla item tag representing all items loved by piglins.
    • IGNORED_BY_PIGLIN_BABIES

      static final Tag<Material> IGNORED_BY_PIGLIN_BABIES
      Vanilla item tag representing all items ignored by piglin babies.
    • PIGLIN_FOOD

      static final Tag<Material> PIGLIN_FOOD
      Vanilla item tag representing all piglin food.
    • FOX_FOOD

      static final Tag<Material> FOX_FOOD
      Vanilla item tag representing all fox food.
    • ITEMS_BANNERS

      static final Tag<Material> ITEMS_BANNERS
      Vanilla item tag representing all banner items.
    • ITEMS_BOATS

      static final Tag<Material> ITEMS_BOATS
      Vanilla item tag representing all boat items.
    • ITEMS_CHEST_BOATS

      static final Tag<Material> ITEMS_CHEST_BOATS
      Vanilla item tag representing all chest boat items.
    • ITEMS_NON_FLAMMABLE_WOOD

      static final Tag<Material> ITEMS_NON_FLAMMABLE_WOOD
      Vanilla item tag representing all non-flammable wood items.
    • ITEMS_FISHES

      static final Tag<Material> ITEMS_FISHES
      Vanilla item tag representing all fish items.
    • ITEMS_MUSIC_DISCS

      static final Tag<Material> ITEMS_MUSIC_DISCS
      Vanilla item tag representing all music disc items.
    • ITEMS_CREEPER_DROP_MUSIC_DISCS

      static final Tag<Material> ITEMS_CREEPER_DROP_MUSIC_DISCS
      Vanilla item tag representing all music disc items dropped by creepers.
    • ITEMS_COALS

      static final Tag<Material> ITEMS_COALS
      Vanilla item tag representing all coal items.
    • ITEMS_ARROWS

      static final Tag<Material> ITEMS_ARROWS
      Vanilla item tag representing all arrow items.
    • ITEMS_LECTERN_BOOKS

      static final Tag<Material> ITEMS_LECTERN_BOOKS
      Vanilla item tag representing all books that may be placed on lecterns.
    • ITEMS_BOOKSHELF_BOOKS

      @Experimental static final Tag<Material> ITEMS_BOOKSHELF_BOOKS
      Vanilla item tag representing all books that may be placed on bookshelves.
    • ITEMS_BEACON_PAYMENT_ITEMS

      static final Tag<Material> ITEMS_BEACON_PAYMENT_ITEMS
      Vanilla item tag representing all items that may be placed in beacons.
    • ITEMS_STONE_TOOL_MATERIALS

      static final Tag<Material> ITEMS_STONE_TOOL_MATERIALS
      Vanilla item tag representing all stone tool materials.
    • ITEMS_FURNACE_MATERIALS

      static final Tag<Material> ITEMS_FURNACE_MATERIALS
      Vanilla item tag representing all furnace materials.
    • ITEMS_COMPASSES

      static final Tag<Material> ITEMS_COMPASSES
      Vanilla item tag representing all compasses.
    • ITEMS_HANGING_SIGNS

      @Experimental static final Tag<Material> ITEMS_HANGING_SIGNS
      Vanilla item tag representing all hanging signs.
    • ITEMS_CREEPER_IGNITERS

      static final Tag<Material> ITEMS_CREEPER_IGNITERS
      Vanilla item tag representing all items which will ignite creepers when interacted with.
    • FREEZE_IMMUNE_WEARABLES

      static final Tag<Material> FREEZE_IMMUNE_WEARABLES
      Vanilla item tag representing all items that confer freeze immunity on the wearer.
    • AXOLOTL_TEMPT_ITEMS

      static final Tag<Material> AXOLOTL_TEMPT_ITEMS
      Vanilla item tag representing all items which tempt axolotls.
    • CLUSTER_MAX_HARVESTABLES

      static final Tag<Material> CLUSTER_MAX_HARVESTABLES
      Vanilla item tag representing all items which are preferred for harvesting clusters (unused).
    • REGISTRY_FLUIDS

      static final String REGISTRY_FLUIDS
      Key for the built in fluid registry.
      See Also:
    • FLUIDS_LAVA

      static final Tag<Fluid> FLUIDS_LAVA
      Vanilla fluid tag representing lava and flowing lava.
    • FLUIDS_WATER

      static final Tag<Fluid> FLUIDS_WATER
      Vanilla fluid tag representing water and flowing water.
    • REGISTRY_ENTITY_TYPES

      static final String REGISTRY_ENTITY_TYPES
      Key for the built in entity registry.
      See Also:
    • ENTITY_TYPES_SKELETONS

      static final Tag<EntityType> ENTITY_TYPES_SKELETONS
      Vanilla tag representing skeletons.
    • ENTITY_TYPES_RAIDERS

      static final Tag<EntityType> ENTITY_TYPES_RAIDERS
      Vanilla tag representing raiders.
    • ENTITY_TYPES_BEEHIVE_INHABITORS

      static final Tag<EntityType> ENTITY_TYPES_BEEHIVE_INHABITORS
      Vanilla tag representing entities which can live in beehives.
    • ENTITY_TYPES_ARROWS

      static final Tag<EntityType> ENTITY_TYPES_ARROWS
      Vanilla tag representing arrows.
    • ENTITY_TYPES_IMPACT_PROJECTILES

      static final Tag<EntityType> ENTITY_TYPES_IMPACT_PROJECTILES
      Vanilla tag representing projectiles.
    • ENTITY_TYPES_POWDER_SNOW_WALKABLE_MOBS

      static final Tag<EntityType> ENTITY_TYPES_POWDER_SNOW_WALKABLE_MOBS
      Vanilla tag representing mobs which can walk on powder snow.
    • ENTITY_TYPES_AXOLOTL_ALWAYS_HOSTILES

      static final Tag<EntityType> ENTITY_TYPES_AXOLOTL_ALWAYS_HOSTILES
      Vanilla tag representing which entities axolotls are always hostile to.
    • ENTITY_TYPES_AXOLOTL_HUNT_TARGETS

      static final Tag<EntityType> ENTITY_TYPES_AXOLOTL_HUNT_TARGETS
      Vanilla tag representing axolotl targets.
    • ENTITY_TYPES_FREEZE_IMMUNE_ENTITY_TYPES

      static final Tag<EntityType> ENTITY_TYPES_FREEZE_IMMUNE_ENTITY_TYPES
      Vanilla tag representing entities immune from freezing.
    • ENTITY_TYPES_FREEZE_HURTS_EXTRA_TYPES

      static final Tag<EntityType> ENTITY_TYPES_FREEZE_HURTS_EXTRA_TYPES
      Vanilla tag representing entities extra susceptible to freezing.
    • ENTITY_TYPES_FROG_FOOD

      static final Tag<EntityType> ENTITY_TYPES_FROG_FOOD
      Vanilla tag representing entities which can be eaten by frogs.
    • REGISTRY_ENTITIES

      @Deprecated(forRemoval=true) static final String REGISTRY_ENTITIES
      Deprecated, for removal: This API element is subject to removal in a future version.
      Key for the built-in entity registry
      See Also:
    • ARROWS

      @Deprecated(forRemoval=true) static final Tag<EntityType> ARROWS
      Deprecated, for removal: This API element is subject to removal in a future version.
      Vanilla entity tag representing arrow entities.
    • BEEHIVE_INHABITORS

      @Deprecated(forRemoval=true) static final Tag<EntityType> BEEHIVE_INHABITORS
      Deprecated, for removal: This API element is subject to removal in a future version.
      Vanilla entity tag representing entities that live in beehives
    • IMPACT_PROJECTILES

      @Deprecated(forRemoval=true) static final Tag<EntityType> IMPACT_PROJECTILES
      Deprecated, for removal: This API element is subject to removal in a future version.
      Vanilla entity tag representing projectiles that impact
    • RAIDERS

      @Deprecated(forRemoval=true) static final Tag<EntityType> RAIDERS
      Deprecated, for removal: This API element is subject to removal in a future version.
      Vanilla entity tag for village raiders
    • SKELETONS

      @Deprecated(forRemoval=true) static final Tag<EntityType> SKELETONS
      Deprecated, for removal: This API element is subject to removal in a future version.
      Vanilla entity tag for skeleton types
    • REGISTRY_GAME_EVENTS

      static final String REGISTRY_GAME_EVENTS
      See Also:
    • GAME_EVENT_VIBRATIONS

      static final Tag<GameEvent> GAME_EVENT_VIBRATIONS
      Tag for game events that trigger sculk sensors
    • GAME_EVENT_IGNORE_VIBRATIONS_SNEAKING

      static final Tag<GameEvent> GAME_EVENT_IGNORE_VIBRATIONS_SNEAKING
      Tag for game events that are ignored if the entity is sneaking
  • Method Details

    • isTagged

      boolean isTagged(@NotNull T item)
      Returns whether or not this tag has an entry for the specified item.
      Parameters:
      item - to check
      Returns:
      if it is tagged
    • getValues

      @NotNull @NotNull Set<T> getValues()
      Gets an immutable set of all tagged items.
      Returns:
      set of tagged items