Uses of Interface
io.papermc.paper.registry.tag.TagKey
Package
Description
The root package of the Bukkit API, contains generalized API classes.
-
Uses of TagKey in io.papermc.paper.registry.event
Modifier and TypeMethodDescriptionRegistryEntryAddEvent.getOrCreateTag
(@NonNull TagKey<V> tagKey) Gets or creates a tag for the given tag key.RegistryFreezeEvent.getOrCreateTag
(@NonNull TagKey<V> tagKey) Gets or creates a tag for the given tag key. -
Uses of TagKey in io.papermc.paper.registry.keys.tags
Modifier and TypeFieldDescriptionItemTypeTagKeys.ACACIA_LOGS
#minecraft:acacia_logs
ItemTypeTagKeys.ANVIL
#minecraft:anvil
ItemTypeTagKeys.ARMADILLO_FOOD
#minecraft:armadillo_food
ItemTypeTagKeys.ARROWS
#minecraft:arrows
ItemTypeTagKeys.AXES
#minecraft:axes
ItemTypeTagKeys.AXOLOTL_FOOD
#minecraft:axolotl_food
ItemTypeTagKeys.BAMBOO_BLOCKS
#minecraft:bamboo_blocks
ItemTypeTagKeys.BANNERS
#minecraft:banners
ItemTypeTagKeys.BEACON_PAYMENT_ITEMS
#minecraft:beacon_payment_items
ItemTypeTagKeys.BEDS
#minecraft:beds
ItemTypeTagKeys.BEE_FOOD
#minecraft:bee_food
ItemTypeTagKeys.BIRCH_LOGS
#minecraft:birch_logs
ItemTypeTagKeys.BOATS
#minecraft:boats
ItemTypeTagKeys.BOOKSHELF_BOOKS
#minecraft:bookshelf_books
ItemTypeTagKeys.BREAKS_DECORATED_POTS
#minecraft:breaks_decorated_pots
ItemTypeTagKeys.BUTTONS
#minecraft:buttons
ItemTypeTagKeys.CAMEL_FOOD
#minecraft:camel_food
ItemTypeTagKeys.CANDLES
#minecraft:candles
ItemTypeTagKeys.CAT_FOOD
#minecraft:cat_food
ItemTypeTagKeys.CHERRY_LOGS
#minecraft:cherry_logs
ItemTypeTagKeys.CHEST_ARMOR
#minecraft:chest_armor
ItemTypeTagKeys.CHEST_BOATS
#minecraft:chest_boats
ItemTypeTagKeys.CHICKEN_FOOD
#minecraft:chicken_food
ItemTypeTagKeys.CLUSTER_MAX_HARVESTABLES
#minecraft:cluster_max_harvestables
ItemTypeTagKeys.COAL_ORES
#minecraft:coal_ores
ItemTypeTagKeys.COALS
#minecraft:coals
ItemTypeTagKeys.COMPASSES
#minecraft:compasses
ItemTypeTagKeys.COMPLETES_FIND_TREE_TUTORIAL
#minecraft:completes_find_tree_tutorial
ItemTypeTagKeys.COPPER_ORES
#minecraft:copper_ores
ItemTypeTagKeys.COW_FOOD
#minecraft:cow_food
ItemTypeTagKeys.CREEPER_DROP_MUSIC_DISCS
#minecraft:creeper_drop_music_discs
ItemTypeTagKeys.CREEPER_IGNITERS
#minecraft:creeper_igniters
ItemTypeTagKeys.CRIMSON_STEMS
#minecraft:crimson_stems
static final TagKey
<Enchantment> EnchantmentTagKeys.CURSE
#minecraft:curse
ItemTypeTagKeys.DAMPENS_VIBRATIONS
#minecraft:dampens_vibrations
ItemTypeTagKeys.DARK_OAK_LOGS
#minecraft:dark_oak_logs
ItemTypeTagKeys.DECORATED_POT_INGREDIENTS
#minecraft:decorated_pot_ingredients
ItemTypeTagKeys.DECORATED_POT_SHERDS
#minecraft:decorated_pot_sherds
ItemTypeTagKeys.DIAMOND_ORES
#minecraft:diamond_ores
ItemTypeTagKeys.DIRT
#minecraft:dirt
ItemTypeTagKeys.DOORS
#minecraft:doors
static final TagKey
<Enchantment> EnchantmentTagKeys.DOUBLE_TRADE_PRICE
#minecraft:double_trade_price
ItemTypeTagKeys.DYEABLE
#minecraft:dyeable
ItemTypeTagKeys.EMERALD_ORES
#minecraft:emerald_ores
ItemTypeTagKeys.ENCHANTABLE_ARMOR
#minecraft:enchantable/armor
ItemTypeTagKeys.ENCHANTABLE_BOW
#minecraft:enchantable/bow
ItemTypeTagKeys.ENCHANTABLE_CHEST_ARMOR
#minecraft:enchantable/chest_armor
ItemTypeTagKeys.ENCHANTABLE_CROSSBOW
#minecraft:enchantable/crossbow
ItemTypeTagKeys.ENCHANTABLE_DURABILITY
#minecraft:enchantable/durability
ItemTypeTagKeys.ENCHANTABLE_EQUIPPABLE
#minecraft:enchantable/equippable
ItemTypeTagKeys.ENCHANTABLE_FIRE_ASPECT
#minecraft:enchantable/fire_aspect
ItemTypeTagKeys.ENCHANTABLE_FISHING
#minecraft:enchantable/fishing
ItemTypeTagKeys.ENCHANTABLE_FOOT_ARMOR
#minecraft:enchantable/foot_armor
ItemTypeTagKeys.ENCHANTABLE_HEAD_ARMOR
#minecraft:enchantable/head_armor
ItemTypeTagKeys.ENCHANTABLE_LEG_ARMOR
#minecraft:enchantable/leg_armor
ItemTypeTagKeys.ENCHANTABLE_MACE
#minecraft:enchantable/mace
ItemTypeTagKeys.ENCHANTABLE_MINING
#minecraft:enchantable/mining
ItemTypeTagKeys.ENCHANTABLE_MINING_LOOT
#minecraft:enchantable/mining_loot
ItemTypeTagKeys.ENCHANTABLE_SHARP_WEAPON
#minecraft:enchantable/sharp_weapon
ItemTypeTagKeys.ENCHANTABLE_SWORD
#minecraft:enchantable/sword
ItemTypeTagKeys.ENCHANTABLE_TRIDENT
#minecraft:enchantable/trident
ItemTypeTagKeys.ENCHANTABLE_VANISHING
#minecraft:enchantable/vanishing
ItemTypeTagKeys.ENCHANTABLE_WEAPON
#minecraft:enchantable/weapon
static final TagKey
<Enchantment> EnchantmentTagKeys.EXCLUSIVE_SET_ARMOR
#minecraft:exclusive_set/armor
static final TagKey
<Enchantment> EnchantmentTagKeys.EXCLUSIVE_SET_BOOTS
#minecraft:exclusive_set/boots
static final TagKey
<Enchantment> EnchantmentTagKeys.EXCLUSIVE_SET_BOW
#minecraft:exclusive_set/bow
static final TagKey
<Enchantment> EnchantmentTagKeys.EXCLUSIVE_SET_CROSSBOW
#minecraft:exclusive_set/crossbow
static final TagKey
<Enchantment> EnchantmentTagKeys.EXCLUSIVE_SET_DAMAGE
#minecraft:exclusive_set/damage
static final TagKey
<Enchantment> EnchantmentTagKeys.EXCLUSIVE_SET_MINING
#minecraft:exclusive_set/mining
static final TagKey
<Enchantment> EnchantmentTagKeys.EXCLUSIVE_SET_RIPTIDE
#minecraft:exclusive_set/riptide
ItemTypeTagKeys.FENCE_GATES
#minecraft:fence_gates
ItemTypeTagKeys.FENCES
#minecraft:fences
ItemTypeTagKeys.FISHES
#minecraft:fishes
ItemTypeTagKeys.FLOWERS
#minecraft:flowers
ItemTypeTagKeys.FOOT_ARMOR
#minecraft:foot_armor
ItemTypeTagKeys.FOX_FOOD
#minecraft:fox_food
ItemTypeTagKeys.FREEZE_IMMUNE_WEARABLES
#minecraft:freeze_immune_wearables
ItemTypeTagKeys.FROG_FOOD
#minecraft:frog_food
ItemTypeTagKeys.GOAT_FOOD
#minecraft:goat_food
ItemTypeTagKeys.GOLD_ORES
#minecraft:gold_ores
ItemTypeTagKeys.HANGING_SIGNS
#minecraft:hanging_signs
ItemTypeTagKeys.HEAD_ARMOR
#minecraft:head_armor
ItemTypeTagKeys.HOES
#minecraft:hoes
ItemTypeTagKeys.HOGLIN_FOOD
#minecraft:hoglin_food
ItemTypeTagKeys.HORSE_FOOD
#minecraft:horse_food
ItemTypeTagKeys.HORSE_TEMPT_ITEMS
#minecraft:horse_tempt_items
ItemTypeTagKeys.IGNORED_BY_PIGLIN_BABIES
#minecraft:ignored_by_piglin_babies
static final TagKey
<Enchantment> EnchantmentTagKeys.IN_ENCHANTING_TABLE
#minecraft:in_enchanting_table
ItemTypeTagKeys.IRON_ORES
#minecraft:iron_ores
ItemTypeTagKeys.JUNGLE_LOGS
#minecraft:jungle_logs
ItemTypeTagKeys.LAPIS_ORES
#minecraft:lapis_ores
ItemTypeTagKeys.LEAVES
#minecraft:leaves
ItemTypeTagKeys.LECTERN_BOOKS
#minecraft:lectern_books
ItemTypeTagKeys.LEG_ARMOR
#minecraft:leg_armor
ItemTypeTagKeys.LLAMA_FOOD
#minecraft:llama_food
ItemTypeTagKeys.LLAMA_TEMPT_ITEMS
#minecraft:llama_tempt_items
ItemTypeTagKeys.LOGS
#minecraft:logs
ItemTypeTagKeys.LOGS_THAT_BURN
#minecraft:logs_that_burn
ItemTypeTagKeys.MANGROVE_LOGS
#minecraft:mangrove_logs
ItemTypeTagKeys.MEAT
#minecraft:meat
ItemTypeTagKeys.NON_FLAMMABLE_WOOD
#minecraft:non_flammable_wood
static final TagKey
<Enchantment> EnchantmentTagKeys.NON_TREASURE
#minecraft:non_treasure
ItemTypeTagKeys.NOTEBLOCK_TOP_INSTRUMENTS
#minecraft:noteblock_top_instruments
ItemTypeTagKeys.OAK_LOGS
#minecraft:oak_logs
ItemTypeTagKeys.OCELOT_FOOD
#minecraft:ocelot_food
static final TagKey
<Enchantment> EnchantmentTagKeys.ON_MOB_SPAWN_EQUIPMENT
#minecraft:on_mob_spawn_equipment
static final TagKey
<Enchantment> EnchantmentTagKeys.ON_RANDOM_LOOT
#minecraft:on_random_loot
static final TagKey
<Enchantment> EnchantmentTagKeys.ON_TRADED_EQUIPMENT
#minecraft:on_traded_equipment
ItemTypeTagKeys.PANDA_FOOD
#minecraft:panda_food
ItemTypeTagKeys.PARROT_FOOD
#minecraft:parrot_food
ItemTypeTagKeys.PARROT_POISONOUS_FOOD
#minecraft:parrot_poisonous_food
ItemTypeTagKeys.PICKAXES
#minecraft:pickaxes
ItemTypeTagKeys.PIG_FOOD
#minecraft:pig_food
ItemTypeTagKeys.PIGLIN_FOOD
#minecraft:piglin_food
ItemTypeTagKeys.PIGLIN_LOVED
#minecraft:piglin_loved
ItemTypeTagKeys.PIGLIN_REPELLENTS
#minecraft:piglin_repellents
ItemTypeTagKeys.PLANKS
#minecraft:planks
static final TagKey
<Enchantment> EnchantmentTagKeys.PREVENTS_BEE_SPAWNS_WHEN_MINING
#minecraft:prevents_bee_spawns_when_mining
static final TagKey
<Enchantment> EnchantmentTagKeys.PREVENTS_DECORATED_POT_SHATTERING
#minecraft:prevents_decorated_pot_shattering
static final TagKey
<Enchantment> EnchantmentTagKeys.PREVENTS_ICE_MELTING
#minecraft:prevents_ice_melting
static final TagKey
<Enchantment> EnchantmentTagKeys.PREVENTS_INFESTED_SPAWNS
#minecraft:prevents_infested_spawns
ItemTypeTagKeys.RABBIT_FOOD
#minecraft:rabbit_food
ItemTypeTagKeys.RAILS
#minecraft:rails
ItemTypeTagKeys.REDSTONE_ORES
#minecraft:redstone_ores
ItemTypeTagKeys.SAND
#minecraft:sand
ItemTypeTagKeys.SAPLINGS
#minecraft:saplings
ItemTypeTagKeys.SHEEP_FOOD
#minecraft:sheep_food
ItemTypeTagKeys.SHOVELS
#minecraft:shovels
ItemTypeTagKeys.SIGNS
#minecraft:signs
ItemTypeTagKeys.SKULLS
#minecraft:skulls
ItemTypeTagKeys.SLABS
#minecraft:slabs
ItemTypeTagKeys.SMALL_FLOWERS
#minecraft:small_flowers
static final TagKey
<Enchantment> EnchantmentTagKeys.SMELTS_LOOT
#minecraft:smelts_loot
ItemTypeTagKeys.SMELTS_TO_GLASS
#minecraft:smelts_to_glass
ItemTypeTagKeys.SNIFFER_FOOD
#minecraft:sniffer_food
ItemTypeTagKeys.SOUL_FIRE_BASE_BLOCKS
#minecraft:soul_fire_base_blocks
ItemTypeTagKeys.SPRUCE_LOGS
#minecraft:spruce_logs
ItemTypeTagKeys.STAIRS
#minecraft:stairs
ItemTypeTagKeys.STONE_BRICKS
#minecraft:stone_bricks
ItemTypeTagKeys.STONE_BUTTONS
#minecraft:stone_buttons
ItemTypeTagKeys.STONE_CRAFTING_MATERIALS
#minecraft:stone_crafting_materials
ItemTypeTagKeys.STONE_TOOL_MATERIALS
#minecraft:stone_tool_materials
ItemTypeTagKeys.STRIDER_FOOD
#minecraft:strider_food
ItemTypeTagKeys.STRIDER_TEMPT_ITEMS
#minecraft:strider_tempt_items
ItemTypeTagKeys.SWORDS
#minecraft:swords
ItemTypeTagKeys.TALL_FLOWERS
#minecraft:tall_flowers
ItemTypeTagKeys.TERRACOTTA
#minecraft:terracotta
static final TagKey
<Enchantment> EnchantmentTagKeys.TOOLTIP_ORDER
#minecraft:tooltip_order
static final TagKey
<Enchantment> EnchantmentTagKeys.TRADEABLE
#minecraft:tradeable
static final TagKey
<Enchantment> EnchantmentTagKeys.TRADES_DESERT_COMMON
#minecraft:trades/desert_common
static final TagKey
<Enchantment> EnchantmentTagKeys.TRADES_DESERT_SPECIAL
#minecraft:trades/desert_special
static final TagKey
<Enchantment> EnchantmentTagKeys.TRADES_JUNGLE_COMMON
#minecraft:trades/jungle_common
static final TagKey
<Enchantment> EnchantmentTagKeys.TRADES_JUNGLE_SPECIAL
#minecraft:trades/jungle_special
static final TagKey
<Enchantment> EnchantmentTagKeys.TRADES_PLAINS_COMMON
#minecraft:trades/plains_common
static final TagKey
<Enchantment> EnchantmentTagKeys.TRADES_PLAINS_SPECIAL
#minecraft:trades/plains_special
static final TagKey
<Enchantment> EnchantmentTagKeys.TRADES_SAVANNA_COMMON
#minecraft:trades/savanna_common
static final TagKey
<Enchantment> EnchantmentTagKeys.TRADES_SAVANNA_SPECIAL
#minecraft:trades/savanna_special
static final TagKey
<Enchantment> EnchantmentTagKeys.TRADES_SNOW_COMMON
#minecraft:trades/snow_common
static final TagKey
<Enchantment> EnchantmentTagKeys.TRADES_SNOW_SPECIAL
#minecraft:trades/snow_special
static final TagKey
<Enchantment> EnchantmentTagKeys.TRADES_SWAMP_COMMON
#minecraft:trades/swamp_common
static final TagKey
<Enchantment> EnchantmentTagKeys.TRADES_SWAMP_SPECIAL
#minecraft:trades/swamp_special
static final TagKey
<Enchantment> EnchantmentTagKeys.TRADES_TAIGA_COMMON
#minecraft:trades/taiga_common
static final TagKey
<Enchantment> EnchantmentTagKeys.TRADES_TAIGA_SPECIAL
#minecraft:trades/taiga_special
ItemTypeTagKeys.TRAPDOORS
#minecraft:trapdoors
static final TagKey
<Enchantment> EnchantmentTagKeys.TREASURE
#minecraft:treasure
ItemTypeTagKeys.TRIM_MATERIALS
#minecraft:trim_materials
ItemTypeTagKeys.TRIM_TEMPLATES
#minecraft:trim_templates
ItemTypeTagKeys.TRIMMABLE_ARMOR
#minecraft:trimmable_armor
ItemTypeTagKeys.TURTLE_FOOD
#minecraft:turtle_food
ItemTypeTagKeys.VILLAGER_PLANTABLE_SEEDS
#minecraft:villager_plantable_seeds
ItemTypeTagKeys.WALLS
#minecraft:walls
ItemTypeTagKeys.WARPED_STEMS
#minecraft:warped_stems
ItemTypeTagKeys.WART_BLOCKS
#minecraft:wart_blocks
ItemTypeTagKeys.WOLF_FOOD
#minecraft:wolf_food
ItemTypeTagKeys.WOODEN_BUTTONS
#minecraft:wooden_buttons
ItemTypeTagKeys.WOODEN_DOORS
#minecraft:wooden_doors
ItemTypeTagKeys.WOODEN_FENCES
#minecraft:wooden_fences
ItemTypeTagKeys.WOODEN_PRESSURE_PLATES
#minecraft:wooden_pressure_plates
ItemTypeTagKeys.WOODEN_SLABS
#minecraft:wooden_slabs
ItemTypeTagKeys.WOODEN_STAIRS
#minecraft:wooden_stairs
ItemTypeTagKeys.WOODEN_TRAPDOORS
#minecraft:wooden_trapdoors
ItemTypeTagKeys.WOOL
#minecraft:wool
ItemTypeTagKeys.WOOL_CARPETS
#minecraft:wool_carpets
Modifier and TypeMethodDescriptionstatic @NonNull TagKey
<Enchantment> Creates a tag key forEnchantment
in the registryminecraft:enchantment
.Creates a tag key forItemType
in the registryminecraft:item
. -
Uses of TagKey in io.papermc.paper.registry.tag
-
Uses of TagKey in io.papermc.paper.tag
Modifier and TypeMethodDescription@Unmodifiable @NonNull Map
<TagKey<T>, Collection<TypedKey<T>>> PostFlattenTagRegistrar.getAllTags()
Get a copy of all tags currently held in this registrar.@Unmodifiable @NonNull Map
<TagKey<T>, Collection<TagEntry<T>>> PreFlattenTagRegistrar.getAllTags()
Get a copy of all tags currently held in this registrar.Modifier and TypeMethodDescriptionvoid
PostFlattenTagRegistrar.addToTag
(@NonNull TagKey<T> tagKey, @NonNull Collection<TypedKey<T>> values) Adds values to the given tag.void
PreFlattenTagRegistrar.addToTag
(@NonNull TagKey<T> tagKey, @NonNull Collection<TagEntry<T>> entries) Adds entries to the given tag.@Unmodifiable @NonNull Collection
<TypedKey<T>> Get the tag with the given key.@Unmodifiable @NonNull List
<TagEntry<T>> Get the tag with the given key.boolean
Checks if this registrar has a tag with the given key.boolean
Checks if this registrar has a tag with the given key.void
Sets the values of the given tag.void
Sets the entries of the given tag.static <T> @NonNull TagEntry
<T> Create a required tag entry for a nested tag.static <T> @NonNull TagEntry
<T> Create a tag entry for a nested tag. -
Uses of TagKey in org.bukkit
Modifier and TypeMethodDescriptionGets the named registry set (tag) for the given key.Deprecated.default boolean
Checks if this registry has a tag with the given key.boolean