# 接口的使用
org.bukkit.Tag

使用Tag的程序包
程序包
说明
org.bukkit
Bukkit API的顶级程序包, 包含通用的API类和接口.
org.bukkit.inventory
参与操作玩家物品栏和物品交互的类.
org.bukkit.inventory.meta.components
Isolated components which may form part of item meta.

- ## org.bukkit中Tag的使用

  声明为Tag的org.bukkit中的字段
  修饰符和类型
  字段
  说明
  `static final Tag<Material>`
  Tag.`ACACIA_LOGS`
  Vanilla block tag representing all acacia log and bark variants.
  `static final Tag<Material>`
  Tag.`AIR`
  Vanilla block tag representing all blocks that resemble air.
  `static final Tag<Material>`
  Tag.`ALL_HANGING_SIGNS`
  Vanilla block tag representing all hanging signs.
  `static final Tag<Material>`
  Tag.`ALL_SIGNS`
  Vanilla block tag representing all signs, regardless of type.
  `static final Tag<Material>`
  Tag.`ANCIENT_CITY_REPLACEABLE`
  Vanilla block tag representing all blocks which can be replaced by ancient cities.
  `static final Tag<Material>`
  Tag.`ANIMALS_SPAWNABLE_ON`
  Vanilla block tag representing all blocks which animals will spawn on.
  `static final Tag<Material>`
  Tag.`ANVIL`
  Vanilla block tag representing all damaged and undamaged anvils.
  `static final Tag<Material>`
  Tag.`ARMADILLO_SPAWNABLE_ON`
  Vanilla block tag representing all blocks which armadillos will spawn on.
  `static final Tag<Material>`
  Tag.`AXOLOTL_TEMPT_ITEMS`
  已过时。
  use `ITEMS_AXOLOTL_FOOD`
  `static final Tag<Material>`
  Tag.`AXOLOTLS_SPAWNABLE_ON`
  Vanilla block tag representing all blocks which axolotls will spawn on.
  `static final Tag<Material>`
  Tag.`AZALEA_GROWS_ON`
  Vanilla block tag representing all blocks which azaleas will grow on.
  `static final Tag<Material>`
  Tag.`AZALEA_ROOT_REPLACEABLE`
  Vanilla block tag representing all blocks replaceable by azalea root.
  `static final Tag<Material>`
  Tag.`BADLANDS_TERRACOTTA`
  Vanilla block tag representing all badlands terracotta.
  `static final Tag<Material>`
  Tag.`BAMBOO_BLOCKS`
  Vanilla block tag representing all bamboo blocks.
  `static final Tag<Material>`
  Tag.`BAMBOO_PLANTABLE_ON`
  Vanilla block tag denoting all blocks bamboo may be planted on.
  `static final Tag<Material>`
  Tag.`BANNERS`
  Vanilla block tag representing all banner blocks.
  `static final Tag<Material>`
  Tag.`BASE_STONE_NETHER`
  Vanilla block tag representing the nether base material.
  `static final Tag<Material>`
  Tag.`BASE_STONE_OVERWORLD`
  Vanilla block tag representing the overworld base material.
  `static final Tag<Material>`
  Tag.`BEACON_BASE_BLOCKS`
  Vanilla block tag representing all beacon base blocks.
  `static final Tag<Material>`
  Tag.`BEDS`
  Vanilla block tag representing all beds.
  `static final Tag<Material>`
  Tag.`BEE_GROWABLES`
  Vanilla block tag representing all bee growables.
  `static final Tag<Material>`
  Tag.`BEEHIVES`
  Vanilla block tag representing all beehives.
  `static final Tag<Material>`
  Tag.`BIG_DRIPLEAF_PLACEABLE`
  Vanilla block tag representing all blocks which big dripleaf can be placed on.
  `static final Tag<Material>`
  Tag.`BIRCH_LOGS`
  Vanilla block tag representing all birch log and bark variants.
  `static final Tag<Material>`
  Tag.`BLOCKS_WIND_CHARGE_EXPLOSIONS`
  Vanilla block tag representing all blocks which block wind charge explosions.
  `static final Tag<Material>`
  Tag.`BUTTONS`
  Vanilla block tag representing all buttons (inherits from `WOODEN_BUTTONS`.
  `static final Tag<Material>`
  Tag.`CAMEL_SAND_STEP_SOUND_BLOCKS`
  Vanilla block tag representing all blocks that play step sounds with camels on sand.
  `static final Tag<Material>`
  Tag.`CAMPFIRES`
  Vanilla block tag representing all campfires.
  `static final Tag<Material>`
  Tag.`CANDLE_CAKES`
  Vanilla block tag representing all candle cakes.
  `static final Tag<Material>`
  Tag.`CANDLES`
  Vanilla block tag representing all candles.
  `static final Tag<Material>`
  Tag.`CARPETS`
  已过时。
  `WOOL_CARPETS`.
  `static final Tag<Material>`
  Tag.`CAULDRONS`
  Vanilla block tag representing all cauldrons.
  `static final Tag<Material>`
  Tag.`CAVE_VINES`
  Vanilla block tag representing all cave vines.
  `static final Tag<Material>`
  Tag.`CEILING_HANGING_SIGNS`
  Vanilla block tag representing all ceiling signs.
  `static final Tag<Material>`
  Tag.`CHERRY_LOGS`
  Vanilla block tag representing all cherry log and bark variants.
  `static final Tag<Material>`
  Tag.`CLIMBABLE`
  Vanilla block tag representing all climbable blocks.
  `static final Tag<Material>`
  Tag.`CLUSTER_MAX_HARVESTABLES`
  Vanilla item tag representing all items which are preferred for harvesting clusters (unused).
  `static final Tag<Material>`
  Tag.`COAL_ORES`
  Vanilla block tag representing all coal ores.
  `static final Tag<Material>`
  Tag.`COMBINATION_STEP_SOUND_BLOCKS`
  Vanilla block tag representing all blocks that play combination step sounds.
  `static final Tag<Material>`
  Tag.`COMPLETES_FIND_TREE_TUTORIAL`
  Vanilla block tag representing all blocks which complete the find tree tutorial.
  `static final Tag<Material>`
  Tag.`CONCRETE_POWDER`
  Vanilla block tag representing all concrete powder.
  `static final Tag<Material>`
  Tag.`CONVERTABLE_TO_MUD`
  Vanilla block tag representing all blocks which may be converted to mud.
  `static final Tag<Material>`
  Tag.`COPPER_ORES`
  Vanilla block tag representing all copper ores.
  `static final Tag<Material>`
  Tag.`CORAL_BLOCKS`
  Vanilla block tag representing all coral blocks.
  `static final Tag<Material>`
  Tag.`CORAL_PLANTS`
  Vanilla block tag representing all coral plants.
  `static final Tag<Material>`
  Tag.`CORALS`
  Vanilla block tag representing all coral.
  `static final Tag<Material>`
  Tag.`CRIMSON_STEMS`
  Vanilla block tag representing all crimson stems.
  `static final Tag<Material>`
  Tag.`CROPS`
  Vanilla block tag representing all crops.
  `static final Tag<Material>`
  Tag.`CRYSTAL_SOUND_BLOCKS`
  Vanilla block tag representing all blocks that make crystal sounds.
  `static final Tag<Material>`
  Tag.`DAMPENS_VIBRATIONS`
  Vanilla block tag representing all blocks that dampen the propagation of vibration signals.
  `static final Tag<Material>`
  Tag.`DARK_OAK_LOGS`
  Vanilla block tag representing all dark oak log and bark variants.
  `static final Tag<Material>`
  Tag.`DEAD_BUSH_MAY_PLACE_ON`
  Vanilla block tag representing all blocks which dead bushes may be placed on.
  `static final Tag<Material>`
  Tag.`DEEPSLATE_ORE_REPLACEABLES`
  Vanilla block tag representing all blocks that may be replaced by deepslate ores.
  `static final Tag<Material>`
  Tag.`DIAMOND_ORES`
  Vanilla block tag representing all diamond ores.
  `static final Tag<Material>`
  Tag.`DIRT`
  Vanilla block tag representing all dirt.
  `static final Tag<Material>`
  Tag.`DOES_NOT_BLOCK_HOPPERS`
  Vanilla block tag representing solid blocks which do not block hopper operation.
  `static final Tag<Material>`
  Tag.`DOORS`
  Vanilla block tag representing all doors (inherits from `WOODEN_DOORS`.
  `static final Tag<Material>`
  Tag.`DRAGON_IMMUNE`
  Vanilla block tag representing all blocks immune to dragons.
  `static final Tag<Material>`
  Tag.`DRAGON_TRANSPARENT`
  Vanilla block tag representing all blocks transparent to the ender dragon.
  `static final Tag<Material>`
  Tag.`DRIPSTONE_REPLACEABLE`
  Vanilla block tag representing all blocks that are replaceable by dripstone.
  `static final Tag<Material>`
  Tag.`EMERALD_ORES`
  Vanilla block tag representing all emerald ores.
  `static final Tag<Material>`
  Tag.`ENCHANTMENT_POWER_PROVIDER`
  Vanilla block tag representing all blocks which provide enchantment power.
  `static final Tag<Material>`
  Tag.`ENCHANTMENT_POWER_TRANSMITTER`
  Vanilla block tag representing all blocks which transmit enchantment power.
  `static final Tag<Material>`
  Tag.`ENDERMAN_HOLDABLE`
  Vanilla block tag denoting blocks that enderman may pick up and hold.
  `static final Tag<EntityType>`
  Tag.`ENTITY_TYPES_AQUATIC`
  Vanilla tag representing all entities sensitive to aquatic enchantments..
  `static final Tag<EntityType>`
  Tag.`ENTITY_TYPES_ARROWS`
  Vanilla tag representing arrows.
  `static final Tag<EntityType>`
  Tag.`ENTITY_TYPES_ARTHROPOD`
  Vanilla tag representing all entities sensitive to arthropod enchantments..
  `static final Tag<EntityType>`
  Tag.`ENTITY_TYPES_AXOLOTL_ALWAYS_HOSTILES`
  Vanilla tag representing which entities axolotls are always hostile to.
  `static final Tag<EntityType>`
  Tag.`ENTITY_TYPES_AXOLOTL_HUNT_TARGETS`
  Vanilla tag representing axolotl targets.
  `static final Tag<EntityType>`
  Tag.`ENTITY_TYPES_BEEHIVE_INHABITORS`
  Vanilla tag representing entities which can live in beehives.
  `static final Tag<EntityType>`
  Tag.`ENTITY_TYPES_CAN_TURN_IN_BOATS`
  Vanilla tag representing entities which can turn in boats.
  `static final Tag<EntityType>`
  Tag.`ENTITY_TYPES_DEFLECTS_ARROWS`
  已过时。
  use `ENTITY_TYPES_DEFLECTS_PROJECTILES`
  `static final Tag<EntityType>`
  Tag.`ENTITY_TYPES_DEFLECTS_PROJECTILES`
  Vanilla tag representing entities which deflect projectiles.
  `static final Tag<EntityType>`
  Tag.`ENTITY_TYPES_DISMOUNTS_UNDERWATER`
  Vanilla tag representing entities which are dismounted when underwater.
  `static final Tag<EntityType>`
  Tag.`ENTITY_TYPES_FALL_DAMAGE_IMMUNE`
  Vanilla tag representing entities which are immune from fall damage.
  `static final Tag<EntityType>`
  Tag.`ENTITY_TYPES_FREEZE_HURTS_EXTRA_TYPES`
  Vanilla tag representing entities extra susceptible to freezing.
  `static final Tag<EntityType>`
  Tag.`ENTITY_TYPES_FREEZE_IMMUNE_ENTITY_TYPES`
  Vanilla tag representing entities immune from freezing.
  `static final Tag<EntityType>`
  Tag.`ENTITY_TYPES_FROG_FOOD`
  Vanilla tag representing entities which can be eaten by frogs.
  `static final Tag<EntityType>`
  Tag.`ENTITY_TYPES_IGNORES_POISON_AND_REGEN`
  Vanilla tag representing all entities which ignores poison and regeneration effects.
  `static final Tag<EntityType>`
  Tag.`ENTITY_TYPES_ILLAGER`
  Vanilla tag representing all entities sensitive to illager enchantments.
  `static final Tag<EntityType>`
  Tag.`ENTITY_TYPES_ILLAGER_FRIENDS`
  Vanilla tag representing all entities which are friendly with illagers.
  `static final Tag<EntityType>`
  Tag.`ENTITY_TYPES_IMMUNE_TO_INFESTED`
  Vanilla tag representing all entities which are immune from the infested effect.
  `static final Tag<EntityType>`
  Tag.`ENTITY_TYPES_IMMUNE_TO_OOZING`
  Vanilla tag representing all entities which are immune from the oozing effect.
  `static final Tag<EntityType>`
  Tag.`ENTITY_TYPES_IMPACT_PROJECTILES`
  Vanilla tag representing projectiles.
  `static final Tag<EntityType>`
  Tag.`ENTITY_TYPES_INVERTED_HEALING_AND_HARM`
  Vanilla tag representing all entities which are sensitive to inverted healing and harm potion effects.
  `static final Tag<EntityType>`
  Tag.`ENTITY_TYPES_NO_ANGER_FROM_WIND_CHARGE`
  Vanilla tag representing all entities which do not receive anger from wind charges.
  `static final Tag<EntityType>`
  Tag.`ENTITY_TYPES_NON_CONTROLLING_RIDER`
  Vanilla tag representing entities which are not controlled by their mount.
  `static final Tag<EntityType>`
  Tag.`ENTITY_TYPES_NOT_SCARY_FOR_PUFFERFISH`
  Vanilla tag representing all entities which are not scary for pufferfish.
  `static final Tag<EntityType>`
  Tag.`ENTITY_TYPES_POWDER_SNOW_WALKABLE_MOBS`
  Vanilla tag representing mobs which can walk on powder snow.
  `static final Tag<EntityType>`
  Tag.`ENTITY_TYPES_RAIDERS`
  Vanilla tag representing raiders.
  `static final Tag<EntityType>`
  Tag.`ENTITY_TYPES_REDIRECTABLE_PROJECTILE`
  Vanilla tag representing all projectiles which can be punched back.
  `static final Tag<EntityType>`
  Tag.`ENTITY_TYPES_SENSITIVE_TO_BANE_OF_ARTHROPODS`
  Vanilla tag representing all entities which are sensitive to the bane_of_arthropods enchantment.
  `static final Tag<EntityType>`
  Tag.`ENTITY_TYPES_SENSITIVE_TO_IMPALING`
  Vanilla tag representing all entities which are sensitive to impaling.
  `static final Tag<EntityType>`
  Tag.`ENTITY_TYPES_SENSITIVE_TO_SMITE`
  Vanilla tag representing all entities which are sensitive to the smite enchantment.
  `static final Tag<EntityType>`
  Tag.`ENTITY_TYPES_SKELETONS`
  Vanilla tag representing skeletons.
  `static final Tag<EntityType>`
  Tag.`ENTITY_TYPES_WITHER_FRIENDS`
  Vanilla tag representing all entities which are friendly with withers.
  `static final Tag<Material>`
  Tag.`FALL_DAMAGE_RESETTING`
  Vanilla block tag representing all blocks which reset fall damage.
  `static final Tag<Material>`
  Tag.`FEATURES_CANNOT_REPLACE`
  Vanilla block tag representing all blocks which will not be replaced by world generation features.
  `static final Tag<Material>`
  Tag.`FENCE_GATES`
  Vanilla block tag representing all fence gates.
  `static final Tag<Material>`
  Tag.`FENCES`
  Vanilla block tag representing all fences.
  `static final Tag<Material>`
  Tag.`FIRE`
  Vanilla block tag representing all fire blocks.
  `static final Tag<Material>`
  Tag.`FLOWER_POTS`
  Vanilla block tag representing all empty and filled flower pots.
  `static final Tag<Material>`
  Tag.`FLOWERS`
  Vanilla block tag representing all flowers.
  `static final Tag<Fluid>`
  Tag.`FLUIDS_LAVA`
  Vanilla fluid tag representing lava and flowing lava.
  `static final Tag<Fluid>`
  Tag.`FLUIDS_WATER`
  Vanilla fluid tag representing water and flowing water.
  `static final Tag<Material>`
  Tag.`FOX_FOOD`
  已过时。
  use `ITEMS_FOX_FOOD`
  `static final Tag<Material>`
  Tag.`FOXES_SPAWNABLE_ON`
  Vanilla block tag representing all blocks which foxes will spawn on.
  `static final Tag<Material>`
  Tag.`FREEZE_IMMUNE_WEARABLES`
  Vanilla item tag representing all items that confer freeze immunity on the wearer.
  `static final Tag<Material>`
  Tag.`FROG_PREFER_JUMP_TO`
  Vanilla block tag representing all blocks which frogs prefer to jump to.
  `static final Tag<Material>`
  Tag.`FROGS_SPAWNABLE_ON`
  Vanilla block tag representing all blocks which frogs will spawn on.
  `static final Tag<Material>`
  Tag.`GEODE_INVALID_BLOCKS`
  Vanilla block tag representing all blocks which geodes will not spawn in.
  `static final Tag<Material>`
  Tag.`GOATS_SPAWNABLE_ON`
  Vanilla block tag representing all blocks which goats will spawn on.
  `static final Tag<Material>`
  Tag.`GOLD_ORES`
  Vanilla block tag representing all gold ores.
  `static final Tag<Material>`
  Tag.`GUARDED_BY_PIGLINS`
  Vanilla block tag representing all blocks guarded by piglins.
  `static final Tag<Material>`
  Tag.`HOGLIN_REPELLENTS`
  Vanilla block tag representing all hoglin repellents.
  `static final Tag<Material>`
  Tag.`ICE`
  Vanilla block tag denoting ice blocks.
  `static final Tag<Material>`
  Tag.`IGNORED_BY_PIGLIN_BABIES`
  Vanilla item tag representing all items ignored by piglin babies.
  `static final Tag<Material>`
  Tag.`IMPERMEABLE`
  Vanilla block tag denoting impermeable blocks which do not drip fluids.
  `static final Tag<Material>`
  Tag.`INCORRECT_FOR_DIAMOND_TOOL`
  Vanilla block tag representing all blocks which will not drop items with a diamond tool.
  `static final Tag<Material>`
  Tag.`INCORRECT_FOR_GOLD_TOOL`
  Vanilla block tag representing all blocks which will not drop items with a gold tool.
  `static final Tag<Material>`
  Tag.`INCORRECT_FOR_IRON_TOOL`
  Vanilla block tag representing all blocks which will not drop items with a iron tool.
  `static final Tag<Material>`
  Tag.`INCORRECT_FOR_NETHERITE_TOOL`
  Vanilla block tag representing all blocks which will not drop items with a netherite tool.
  `static final Tag<Material>`
  Tag.`INCORRECT_FOR_STONE_TOOL`
  Vanilla block tag representing all blocks which will not drop items with a stone tool.
  `static final Tag<Material>`
  Tag.`INCORRECT_FOR_WOODEN_TOOL`
  Vanilla block tag representing all blocks which will not drop items with a wooden tool.
  `static final Tag<Material>`
  Tag.`INFINIBURN_END`
  Vanilla block tag representing all blocks that burn forever in the end.
  `static final Tag<Material>`
  Tag.`INFINIBURN_NETHER`
  Vanilla block tag representing all blocks that burn forever in the nether.
  `static final Tag<Material>`
  Tag.`INFINIBURN_OVERWORLD`
  Vanilla block tag representing all blocks that burn forever in the overworld.
  `static final Tag<Material>`
  Tag.`INSIDE_STEP_SOUND_BLOCKS`
  Vanilla block tag representing all blocks that play muffled step sounds.
  `static final Tag<Material>`
  Tag.`INVALID_SPAWN_INSIDE`
  Vanilla block tag representing blocks which cannot be dismounted into.
  `static final Tag<Material>`
  Tag.`IRON_ORES`
  Vanilla block tag representing all iron ores.
  `static final Tag<Material>`
  Tag.`ITEMS_ARMADILLO_FOOD`
  Vanilla item tag representing all armadillo food.
  `static final Tag<Material>`
  Tag.`ITEMS_ARROWS`
  Vanilla item tag representing all arrow items.
  `static final Tag<Material>`
  Tag.`ITEMS_AXES`
  Vanilla item tag representing all axes.
  `static final Tag<Material>`
  Tag.`ITEMS_AXOLOTL_FOOD`
  Vanilla item tag representing all axolotl food.
  `static final Tag<Material>`
  Tag.`ITEMS_BANNERS`
  Vanilla item tag representing all banner items.
  `static final Tag<Material>`
  Tag.`ITEMS_BEACON_PAYMENT_ITEMS`
  Vanilla item tag representing all items that may be placed in beacons.
  `static final Tag<Material>`
  Tag.`ITEMS_BEE_FOOD`
  Vanilla item tag representing all bee food.
  `static final Tag<Material>`
  Tag.`ITEMS_BOATS`
  Vanilla item tag representing all boat items.
  `static final Tag<Material>`
  Tag.`ITEMS_BOOKSHELF_BOOKS`
  Vanilla item tag representing all books that may be placed on bookshelves.
  `static final Tag<Material>`
  Tag.`ITEMS_BREAKS_DECORATED_POTS`
  Vanilla item tag representing all items which break decorated pots.
  `static final Tag<Material>`
  Tag.`ITEMS_CAMEL_FOOD`
  Vanilla item tag representing all camel food.
  `static final Tag<Material>`
  Tag.`ITEMS_CAT_FOOD`
  Vanilla item tag representing all cat food.
  `static final Tag<Material>`
  Tag.`ITEMS_CHEST_ARMOR`
  Vanilla item tag representing all chest armor.
  `static final Tag<Material>`
  Tag.`ITEMS_CHEST_BOATS`
  Vanilla item tag representing all chest boat items.
  `static final Tag<Material>`
  Tag.`ITEMS_CHICKEN_FOOD`
  Vanilla item tag representing all chicken food.
  `static final Tag<Material>`
  Tag.`ITEMS_COALS`
  Vanilla item tag representing all coal items.
  `static final Tag<Material>`
  Tag.`ITEMS_COMPASSES`
  Vanilla item tag representing all compasses.
  `static final Tag<Material>`
  Tag.`ITEMS_COW_FOOD`
  Vanilla item tag representing all cow food.
  `static final Tag<Material>`
  Tag.`ITEMS_CREEPER_DROP_MUSIC_DISCS`
  Vanilla item tag representing all music disc items dropped by creepers.
  `static final Tag<Material>`
  Tag.`ITEMS_CREEPER_IGNITERS`
  Vanilla item tag representing all items which will ignite creepers when interacted with.
  `static final Tag<Material>`
  Tag.`ITEMS_DECORATED_POT_INGREDIENTS`
  Vanilla item tag representing all decorated pot ingredients.
  `static final Tag<Material>`
  Tag.`ITEMS_DECORATED_POT_SHERDS`
  Vanilla item tag representing all decorated pot sherds.
  `static final Tag<Material>`
  Tag.`ITEMS_DYEABLE`
  Vanilla item tag representing all dyeable items.
  `static final Tag<Material>`
  Tag.`ITEMS_ENCHANTABLE_ARMOR`
  Vanilla item tag representing all enchantable armor.
  `static final Tag<Material>`
  Tag.`ITEMS_ENCHANTABLE_BOW`
  Vanilla item tag representing all items enchantable with bow enchantments.
  `static final Tag<Material>`
  Tag.`ITEMS_ENCHANTABLE_CHEST_ARMOR`
  Vanilla item tag representing all enchantable chest armor.
  `static final Tag<Material>`
  Tag.`ITEMS_ENCHANTABLE_CROSSBOW`
  Vanilla item tag representing all items enchantable with crossbow enchantments.
  `static final Tag<Material>`
  Tag.`ITEMS_ENCHANTABLE_DURABILITY`
  Vanilla item tag representing all items enchantable with durability enchantments.
  `static final Tag<Material>`
  Tag.`ITEMS_ENCHANTABLE_EQUIPPABLE`
  Vanilla item tag representing all items enchantable with the binding enchantment.
  `static final Tag<Material>`
  Tag.`ITEMS_ENCHANTABLE_FIRE_ASPECT`
  Vanilla item tag representing all items enchantable with the fire aspect enchantment.
  `static final Tag<Material>`
  Tag.`ITEMS_ENCHANTABLE_FISHING`
  Vanilla item tag representing all items enchantable with fishing enchantments.
  `static final Tag<Material>`
  Tag.`ITEMS_ENCHANTABLE_FOOT_ARMOR`
  Vanilla item tag representing all enchantable foot armor.
  `static final Tag<Material>`
  Tag.`ITEMS_ENCHANTABLE_HEAD_ARMOR`
  Vanilla item tag representing all enchantable head armor.
  `static final Tag<Material>`
  Tag.`ITEMS_ENCHANTABLE_LEG_ARMOR`
  Vanilla item tag representing all enchantable leg armor.
  `static final Tag<Material>`
  Tag.`ITEMS_ENCHANTABLE_MACE`
  Vanilla item tag representing all items enchantable with mace enchantments.
  `static final Tag<Material>`
  Tag.`ITEMS_ENCHANTABLE_MINING`
  Vanilla item tag representing all enchantable mining tools.
  `static final Tag<Material>`
  Tag.`ITEMS_ENCHANTABLE_MINING_LOOT`
  Vanilla item tag representing all items enchantable with the mining_loot enchantment.
  `static final Tag<Material>`
  Tag.`ITEMS_ENCHANTABLE_SHARP_WEAPON`
  Vanilla item tag representing all items enchantable with the sharpness enchantment.
  `static final Tag<Material>`
  Tag.`ITEMS_ENCHANTABLE_SWORD`
  Vanilla item tag representing all enchantable swords.
  `static final Tag<Material>`
  Tag.`ITEMS_ENCHANTABLE_TRIDENT`
  Vanilla item tag representing all items enchantable with trident enchantments.
  `static final Tag<Material>`
  Tag.`ITEMS_ENCHANTABLE_VANISHING`
  Vanilla item tag representing all items enchantable with the vanishing enchantment.
  `static final Tag<Material>`
  Tag.`ITEMS_ENCHANTABLE_WEAPON`
  Vanilla item tag representing all enchantable weapons.
  `static final Tag<Material>`
  Tag.`ITEMS_FISHES`
  Vanilla item tag representing all fish items.
  `static final Tag<Material>`
  Tag.`ITEMS_FOOT_ARMOR`
  Vanilla item tag representing all foot armor.
  `static final Tag<Material>`
  Tag.`ITEMS_FOX_FOOD`
  Vanilla item tag representing all fox food.
  `static final Tag<Material>`
  Tag.`ITEMS_FROG_FOOD`
  Vanilla item tag representing all frog food.
  `static final Tag<Material>`
  Tag.`ITEMS_FURNACE_MATERIALS`
  Vanilla item tag representing all furnace materials.
  `static final Tag<Material>`
  Tag.`ITEMS_GOAT_FOOD`
  Vanilla item tag representing all goat food.
  `static final Tag<Material>`
  Tag.`ITEMS_HANGING_SIGNS`
  Vanilla item tag representing all hanging signs.
  `static final Tag<Material>`
  Tag.`ITEMS_HEAD_ARMOR`
  Vanilla item tag representing all head armor.
  `static final Tag<Material>`
  Tag.`ITEMS_HOES`
  Vanilla item tag representing all hoes.
  `static final Tag<Material>`
  Tag.`ITEMS_HOGLIN_FOOD`
  Vanilla item tag representing all hoglin food.
  `static final Tag<Material>`
  Tag.`ITEMS_HORSE_FOOD`
  Vanilla item tag representing all horse food.
  `static final Tag<Material>`
  Tag.`ITEMS_HORSE_TEMPT_ITEMS`
  Vanilla item tag representing all horse tempt items.
  `static final Tag<Material>`
  Tag.`ITEMS_LECTERN_BOOKS`
  Vanilla item tag representing all books that may be placed on lecterns.
  `static final Tag<Material>`
  Tag.`ITEMS_LEG_ARMOR`
  Vanilla item tag representing all leg armor.
  `static final Tag<Material>`
  Tag.`ITEMS_LLAMA_FOOD`
  Vanilla item tag representing all llama food.
  `static final Tag<Material>`
  Tag.`ITEMS_LLAMA_TEMPT_ITEMS`
  Vanilla item tag representing all llama tempt items.
  `static final Tag<Material>`
  Tag.`ITEMS_MEAT`
  Vanilla item tag representing all meat.
  `static final Tag<Material>`
  Tag.`ITEMS_NON_FLAMMABLE_WOOD`
  Vanilla item tag representing all non flammable wood items.
  `static final Tag<Material>`
  Tag.`ITEMS_NOTE_BLOCK_TOP_INSTRUMENTS`
  Vanilla item tag representing all items which modify note block sounds when placed on top.
  `static final Tag<Material>`
  Tag.`ITEMS_OCELOT_FOOD`
  Vanilla item tag representing all ocelot food.
  `static final Tag<Material>`
  Tag.`ITEMS_PANDA_FOOD`
  Vanilla item tag representing all panda food.
  `static final Tag<Material>`
  Tag.`ITEMS_PARROT_FOOD`
  Vanilla item tag representing all parrot food.
  `static final Tag<Material>`
  Tag.`ITEMS_PARROT_POISONOUS_FOOD`
  Vanilla item tag representing all parrot poisonous food.
  `static final Tag<Material>`
  Tag.`ITEMS_PICKAXES`
  Vanilla item tag representing all pickaxes.
  `static final Tag<Material>`
  Tag.`ITEMS_PIG_FOOD`
  Vanilla item tag representing all pig food.
  `static final Tag<Material>`
  Tag.`ITEMS_PIGLIN_FOOD`
  Vanilla item tag representing all piglin food.
  `static final Tag<Material>`
  Tag.`ITEMS_PIGLIN_LOVED`
  Vanilla item tag representing all items loved by piglins.
  `static final Tag<Material>`
  Tag.`ITEMS_RABBIT_FOOD`
  Vanilla item tag representing all rabbit food.
  `static final Tag<Material>`
  Tag.`ITEMS_SHEEP_FOOD`
  Vanilla item tag representing all sheep food.
  `static final Tag<Material>`
  Tag.`ITEMS_SHOVELS`
  Vanilla item tag representing all shovels.
  `static final Tag<Material>`
  Tag.`ITEMS_SKULLS`
  Vanilla item tag representing all skulls.
  `static final Tag<Material>`
  Tag.`ITEMS_SNIFFER_FOOD`
  Vanilla item tag representing all sniffer food.
  `static final Tag<Material>`
  Tag.`ITEMS_STONE_TOOL_MATERIALS`
  Vanilla item tag representing all stone tool materials.
  `static final Tag<Material>`
  Tag.`ITEMS_STRIDER_FOOD`
  Vanilla item tag representing all strider food.
  `static final Tag<Material>`
  Tag.`ITEMS_STRIDER_TEMPT_ITEMS`
  Vanilla item tag representing all strider tempt items.
  `static final Tag<Material>`
  Tag.`ITEMS_SWORDS`
  Vanilla item tag representing all swords.
  `static final Tag<Material>`
  Tag.`ITEMS_TOOLS`
  已过时, 待删除: 此 API 元素将从以后的版本中删除。
  removed in Minecraft 1.20.5.
  `static final Tag<Material>`
  Tag.`ITEMS_TRIM_MATERIALS`
  Vanilla item tag representing all materials which can be used for trimming armor.
  `static final Tag<Material>`
  Tag.`ITEMS_TRIM_TEMPLATES`
  Vanilla item tag representing all trimming templates.
  `static final Tag<Material>`
  Tag.`ITEMS_TRIMMABLE_ARMOR`
  Vanilla item tag representing all trimmable armor items.
  `static final Tag<Material>`
  Tag.`ITEMS_TURTLE_FOOD`
  Vanilla item tag representing all turtle food.
  `static final Tag<Material>`
  Tag.`ITEMS_VILLAGER_PLANTABLE_SEEDS`
  Vanilla item tag representing all seeds planteable by villagers.
  `static final Tag<Material>`
  Tag.`ITEMS_WOLF_FOOD`
  Vanilla item tag representing all wolf food.
  `static final Tag<Material>`
  Tag.`JUNGLE_LOGS`
  Vanilla block tag representing all jungle log and bark variants.
  `static final Tag<Material>`
  Tag.`LAPIS_ORES`
  Vanilla block tag representing all lapis ores.
  `static final Tag<Material>`
  Tag.`LAVA_POOL_STONE_CANNOT_REPLACE`
  Vanilla block tag representing all blocks which lava pools will not replace.
  `static final Tag<Material>`
  Tag.`LEAVES`
  Vanilla block tag representing all leaves fans.
  `static final Tag<Material>`
  Tag.`LOGS`
  Vanilla block tag representing all log and bark variants.
  `static final Tag<Material>`
  Tag.`LOGS_THAT_BURN`
  Vanilla block tag representing all log and bark variants that burn.
  `static final Tag<Material>`
  Tag.`LUSH_GROUND_REPLACEABLE`
  Vanilla block tag representing all blocks replaceable by lush ground.
  `static final Tag<Material>`
  Tag.`MAINTAINS_FARMLAND`
  Vanilla block tag representing all blocks which do not destroy farmland when placed.
  `static final Tag<Material>`
  Tag.`MANGROVE_LOGS`
  Vanilla block tag representing all mangrove log and bark variants.
  `static final Tag<Material>`
  Tag.`MANGROVE_LOGS_CAN_GROW_THROUGH`
  Vanilla block tag representing all blocks which mangrove logs can grow through.
  `static final Tag<Material>`
  Tag.`MANGROVE_ROOTS_CAN_GROW_THROUGH`
  Vanilla block tag representing all blocks which mangrove roots can grow through.
  `static final Tag<Material>`
  Tag.`MINEABLE_AXE`
  Vanilla block tag representing all blocks mineable with an axe.
  `static final Tag<Material>`
  Tag.`MINEABLE_HOE`
  Vanilla block tag representing all blocks mineable with a hoe.
  `static final Tag<Material>`
  Tag.`MINEABLE_PICKAXE`
  Vanilla block tag representing all blocks mineable with a pickaxe.
  `static final Tag<Material>`
  Tag.`MINEABLE_SHOVEL`
  Vanilla block tag representing all blocks mineable with a shovel.
  `static final Tag<Material>`
  Tag.`MOB_INTERACTABLE_DOORS`
  Vanilla block tag representing all doors which can be opened by mobs.
  `static final Tag<Material>`
  Tag.`MOOSHROOMS_SPAWNABLE_ON`
  Vanilla block tag representing all blocks which mooshrooms will spawn on.
  `static final Tag<Material>`
  Tag.`MOSS_REPLACEABLE`
  Vanilla block tag representing all blocks replaceable by moss.
  `static final Tag<Material>`
  Tag.`MUSHROOM_GROW_BLOCK`
  `static final Tag<Material>`
  Tag.`NEEDS_DIAMOND_TOOL`
  Vanilla block tag representing all blocks which require a diamond tool.
  `static final Tag<Material>`
  Tag.`NEEDS_IRON_TOOL`
  Vanilla block tag representing all blocks which require an iron tool.
  `static final Tag<Material>`
  Tag.`NEEDS_STONE_TOOL`
  Vanilla block tag representing all blocks which require a stone tool.
  `static final Tag<Material>`
  Tag.`NETHER_CARVER_REPLACEABLES`
  Vanilla block tag representing all blocks replaceable by the nether carver.
  `static final Tag<Material>`
  Tag.`NYLIUM`
  Vanilla block tag representing all nylium blocks.
  `static final Tag<Material>`
  Tag.`OAK_LOGS`
  Vanilla block tag representing all oak log and bark variants.
  `static final Tag<Material>`
  Tag.`OCCLUDES_VIBRATION_SIGNALS`
  Vanilla block tag representing all blocks that block vibration signals.
  `static final Tag<Material>`
  Tag.`OVERWORLD_CARVER_REPLACEABLES`
  Vanilla block tag representing all blocks replaceable by the overworld carver.
  `static final Tag<Material>`
  Tag.`PARROTS_SPAWNABLE_ON`
  Vanilla block tag representing all blocks which parrots will spawn on.
  `static final Tag<Material>`
  Tag.`PIGLIN_FOOD`
  已过时。
  use `ITEMS_PIGLIN_FOOD`
  `static final Tag<Material>`
  Tag.`PIGLIN_REPELLENTS`
  Vanilla block tag representing all piglin repellents.
  `static final Tag<Material>`
  Tag.`PLANKS`
  Vanilla block tag representing all plank variants.
  `static final Tag<Material>`
  Tag.`POLAR_BEARS_SPAWNABLE_ON_ALTERNATE`
  Vanilla block tag representing all blocks which polar bears will spawn on.
  `static final Tag<Material>`
  Tag.`PORTALS`
  Vanilla block tag representing all portals.
  `static final Tag<Material>`
  Tag.`PRESSURE_PLATES`
  Vanilla block tag representing all pressure plates.
  `static final Tag<Material>`
  Tag.`PREVENT_MOB_SPAWNING_INSIDE`
  Vanilla block tag representing all blocks that prevent inside mob spawning.
  `static final Tag<Material>`
  Tag.`RABBITS_SPAWNABLE_ON`
  Vanilla block tag representing all blocks which rabbits will spawn on.
  `static final Tag<Material>`
  Tag.`RAILS`
  Vanilla block tag representing all Minecart rails.
  `static final Tag<Material>`
  Tag.`REDSTONE_ORES`
  Vanilla block tag representing all redstone ores.
  `static final Tag<Material>`
  Tag.`REPLACEABLE`
  Vanilla block tag representing all blocks which are replaceable.
  `static final Tag<Material>`
  Tag.`REPLACEABLE_BY_TREES`
  Vanilla block tag representing all blocks replaceable by growing trees.
  `static final Tag<Material>`
  Tag.`SAND`
  Vanilla block tag representing all sand blocks.
  `static final Tag<Material>`
  Tag.`SAPLINGS`
  Vanilla block tag representing all sapling variants.
  `static final Tag<Material>`
  Tag.`SCULK_REPLACEABLE`
  Vanilla block tag representing all blocks which can be replaced by skulk.
  `static final Tag<Material>`
  Tag.`SCULK_REPLACEABLE_WORLD_GEN`
  Vanilla block tag representing all blocks which can be replaced by skulk during world generation.
  `static final Tag<Material>`
  Tag.`SHULKER_BOXES`
  Vanilla block tag representing all shulker boxes.
  `static final Tag<Material>`
  Tag.`SIGNS`
  Vanilla block tag representing all regular signs.
  `static final Tag<Material>`
  Tag.`SLABS`
  Vanilla block tag representing all slabs.
  `static final Tag<Material>`
  Tag.`SMALL_DRIPLEAF_PLACEABLE`
  Vanilla block tag representing all blocks which small dripleaf can be placed on.
  `static final Tag<Material>`
  Tag.`SMALL_FLOWERS`
  Vanilla block tag representing all small flowers.
  `static final Tag<Material>`
  Tag.`SMELTS_TO_GLASS`
  Vanilla block tag representing all blocks which smelt to glass in a furnace.
  `static final Tag<Material>`
  Tag.`SNAPS_GOAT_HORN`
  Vanilla block tag representing all blocks which snap dropped goat horns.
  `static final Tag<Material>`
  Tag.`SNIFFER_DIGGABLE_BLOCK`
  Vanilla block tag representing blocks which can be dug by sniffers.
  `static final Tag<Material>`
  Tag.`SNIFFER_EGG_HATCH_BOOST`
  Vanilla block tag representing all blocks which booster sniffer egg hatching.
  `static final Tag<Material>`
  Tag.`SNOW`
  Vanilla block tag representing all snow blocks.
  `static final Tag<Material>`
  Tag.`SNOW_LAYER_CAN_SURVIVE_ON`
  Vanilla block tag representing blocks which snow can survive on.
  `static final Tag<Material>`
  Tag.`SNOW_LAYER_CANNOT_SURVIVE_ON`
  Vanilla block tag representing blocks which snow cannot survive on.
  `static final Tag<Material>`
  Tag.`SOUL_FIRE_BASE_BLOCKS`
  Vanilla block tag representing all soul fire base blocks.
  `static final Tag<Material>`
  Tag.`SOUL_SPEED_BLOCKS`
  Vanilla block tag representing all blocks affected by the soul speed enchantment.
  `static final Tag<Material>`
  Tag.`SPRUCE_LOGS`
  Vanilla block tag representing all spruce log and bark variants.
  `static final Tag<Material>`
  Tag.`STAIRS`
  Vanilla block tag representing all stairs.
  `static final Tag<Material>`
  Tag.`STANDING_SIGNS`
  Vanilla block tag representing all standing signs.
  `static final Tag<Material>`
  Tag.`STONE_BRICKS`
  Vanilla block tag representing all regular/mossy/cracked/chiseled stone bricks.
  `static final Tag<Material>`
  Tag.`STONE_BUTTONS`
  Vanilla block tag representing all stone buttons.
  `static final Tag<Material>`
  Tag.`STONE_ORE_REPLACEABLES`
  Vanilla block tag representing all blocks that may be replaced by ores.
  `static final Tag<Material>`
  Tag.`STONE_PRESSURE_PLATES`
  Vanilla block tag representing all stone pressure plates.
  `static final Tag<Material>`
  Tag.`STRIDER_WARM_BLOCKS`
  Vanilla block tag representing all warm strider blocks.
  `static final Tag<Material>`
  Tag.`SWORD_EFFICIENT`
  Vanilla block tag representing all blocks that can be efficiently mined with a sword.
  `static final Tag<Material>`
  Tag.`TALL_FLOWERS`
  Vanilla block tag representing all tall flowers.
  `static final Tag<Material>`
  Tag.`TERRACOTTA`
  Vanilla block tag representing all terracotta.
  `static final Tag<Material>`
  Tag.`TRAIL_RUINS_REPLACEABLE`
  Vanilla block tag representing all blocks which can be replaced by trail ruins.
  `static final Tag<Material>`
  Tag.`TRAPDOORS`
  Vanilla block tag representing all trapdoors (inherits from `WOODEN_TRAPDOORS`.
  `static final Tag<Material>`
  Tag.`UNDERWATER_BONEMEALS`
  Vanilla block tag denoting all underwater blocks which may be bonemealed.
  `static final Tag<Material>`
  Tag.`UNSTABLE_BOTTOM_CENTER`
  Vanilla block tag representing all unstable bottom center blocks.
  `static final Tag<Material>`
  Tag.`VALID_SPAWN`
  Vanilla block tag denoting all valid mob spawn positions.
  `static final Tag<Material>`
  Tag.`VIBRATION_RESONATORS`
  Vanilla block tag representing all blocks which resonate vibrations.
  `static final Tag<Material>`
  Tag.`WALL_CORALS`
  Vanilla block tag representing all wall corals.
  `static final Tag<Material>`
  Tag.`WALL_HANGING_SIGNS`
  Vanilla block tag representing all wall hanging signs.
  `static final Tag<Material>`
  Tag.`WALL_POST_OVERRIDE`
  Vanilla block tag representing all wall post overrides.
  `static final Tag<Material>`
  Tag.`WALL_SIGNS`
  Vanilla block tag representing all wall signs.
  `static final Tag<Material>`
  Tag.`WALLS`
  Vanilla block tag representing all walls.
  `static final Tag<Material>`
  Tag.`WARPED_STEMS`
  Vanilla block tag representing all warped stems.
  `static final Tag<Material>`
  Tag.`WART_BLOCKS`
  Vanilla block tag representing all wart blocks.
  `static final Tag<Material>`
  Tag.`WITHER_IMMUNE`
  Vanilla block tag representing all blocks immune to withers.
  `static final Tag<Material>`
  Tag.`WITHER_SUMMON_BASE_BLOCKS`
  Vanilla block tag representing all base blocks used for wither summoning.
  `static final Tag<Material>`
  Tag.`WOLVES_SPAWNABLE_ON`
  Vanilla block tag representing all blocks which wolves will spawn on.
  `static final Tag<Material>`
  Tag.`WOODEN_BUTTONS`
  Vanilla block tag representing all wooden buttons.
  `static final Tag<Material>`
  Tag.`WOODEN_DOORS`
  Vanilla block tag representing all wooden doors.
  `static final Tag<Material>`
  Tag.`WOODEN_FENCES`
  Vanilla block tag representing all wooden fences.
  `static final Tag<Material>`
  Tag.`WOODEN_PRESSURE_PLATES`
  Vanilla block tag representing all wooden pressure plates.
  `static final Tag<Material>`
  Tag.`WOODEN_SLABS`
  Vanilla block tag representing all wooden slabs.
  `static final Tag<Material>`
  Tag.`WOODEN_STAIRS`
  Vanilla block tag representing all wooden stairs.
  `static final Tag<Material>`
  Tag.`WOODEN_TRAPDOORS`
  Vanilla block tag representing all wooden trapdoors.
  `static final Tag<Material>`
  Tag.`WOOL`
  Vanilla block tag representing all colors of wool.
  `static final Tag<Material>`
  Tag.`WOOL_CARPETS`
  Vanilla block tag representing all colors of carpet.
  返回Tag的org.bukkit中的方法
  修饰符和类型
  方法
  说明
  `static <T extends Keyed>
  @Nullable Tag<T>`
  Bukkit.`getTag(@NotNull String registry, @NotNull NamespacedKey tag, @NotNull Class<T> clazz)`
  Gets a tag which has already been defined within the server.
  `<T extends Keyed>
  @Nullable Tag<T>`
  Server.`getTag(@NotNull String registry, @NotNull NamespacedKey tag, @NotNull Class<T> clazz)`
  Gets a tag which has already been defined within the server.
  返回变量类型为Tag的类型的org.bukkit中的方法
  修饰符和类型
  方法
  说明
  `static <T extends Keyed>
  @NotNull Iterable<Tag<T>>`
  Bukkit.`getTags(@NotNull String registry, @NotNull Class<T> clazz)`
  获取服务器定义的所有标签.
  `<T extends Keyed>
  @NotNull Iterable<Tag<T>>`
  Server.`getTags(@NotNull String registry, @NotNull Class<T> clazz)`
  获取服务器定义的所有标签.

- ## org.bukkit.inventory中Tag的使用

  参数类型为Tag的org.bukkit.inventory中的构造器
  限定符
  构造器
  说明
  ``
  `MaterialChoice(@NotNull Tag<Material> choices)`
  Constructs a MaterialChoice with the current values of the specified tag.

- ## org.bukkit.inventory.meta.components中Tag的使用

  参数类型为Tag的org.bukkit.inventory.meta.components中的方法
  修饰符和类型
  方法
  说明
  `@NotNull ToolComponent.ToolRule`
  ToolComponent.`addRule(@NotNull Tag<Material> tag, @Nullable Float speed, @Nullable Boolean correctForDrops)`
  Add a new rule to this tool component, which provides further information about a collection of block types represented by a block `Tag`.
  `void`
  ToolComponent.ToolRule.`setBlocks(@NotNull Tag<Material> tag)`
  Set the block types (represented as a block `Tag`) to which this rule applies.