Package org.bukkit
Interface Tag<T extends Keyed>
- Type Parameters:
T
- the type of things grouped by this tag
- All Superinterfaces:
Keyed
- All Known Implementing Classes:
BaseTag
,EntitySetTag
,MaterialSetTag
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 Summary
Modifier and TypeFieldDescriptionVanilla block tag representing all acacia log and bark variants.Vanilla block tag representing all damaged and undamaged anvils.static Tag<EntityType>
Deprecated, for removal: This API element is subject to removal in a future version.Vanilla item tag representing all items which tempt axolotls.Vanilla block tag denoting all blocks bamboo may be planted on.Vanilla block tag representing all banner blocks.Vanilla block tag representing the nether base material.Vanilla block tag representing the overworld base material.Vanilla block tag representing all beacon base blocks.Vanilla block tag representing all beds.Vanilla block tag representing all bee growables.static Tag<EntityType>
Deprecated, for removal: This API element is subject to removal in a future version.Vanilla block tag representing all beehives.Vanilla block tag representing all birch log and bark variants.Vanilla block tag representing all buttons (inherits fromWOODEN_BUTTONS
.Vanilla block tag representing all campfires.Vanilla block tag representing all candle cakes.Vanilla block tag representing all candles.Vanilla block tag representing all colors of carpet.Vanilla block tag representing all cauldrons.Vanilla block tag representing all cave vines.Vanilla block tag representing all climbable blocks.Vanilla item tag representing all items which are preferred for harvesting clusters (unused).Vanilla block tag representing all coal ores.Vanilla block tag representing all copper ores.Vanilla block tag representing all coral blocks.Vanilla block tag representing all coral plants.Vanilla block tag representing all coral.Vanilla block tag representing all crimson stems.Vanilla block tag representing all crops.Vanilla block tag representing all blocks that make cryustal sounds.Vanilla block tag representing all dark oak log and bark variants.Vanilla block tag representing all blocks that may be replaced by deepslate ores.Vanilla block tag representing all diamond ores.Vanilla block tag representing all dirt.Vanilla block tag representing all doors (inherits fromWOODEN_DOORS
.Vanilla block tag representing all blocks immune to dragons.Vanilla block tag representing all blocks that are replaceable by dripstone.Vanilla block tag representing all emerald ores.Vanilla block tag denoting blocks that enderman may pick up and hold.static Tag<EntityType>
Vanilla tag representing arrows.static Tag<EntityType>
Vanilla tag representing which entities axolotls are always hostile to.static Tag<EntityType>
Vanilla tag representing axolotl targets.static Tag<EntityType>
Vanilla tag representing entities which can live in beehives.static Tag<EntityType>
Vanilla tag representing entities extra susceptible to freezing.static Tag<EntityType>
Vanilla tag representing entities immune from freezing.static Tag<EntityType>
Vanilla tag representing projectiles.static Tag<EntityType>
Vanilla tag representing mobs which can walk on powder snow.static Tag<EntityType>
Vanilla tag representing raiders.static Tag<EntityType>
Vanilla tag representing skeletons.Vanilla block tag representing all blocks which will not be replaced by world generation features.Vanilla block tag representing all fence gates.Vanilla block tag representing all fences.Vanilla block tag representing all fire blocks.Vanilla block tag representing all empty and filled flower pots.Vanilla block tag representing all flowers.Vanilla fluid tag representing lava and flowing lava.Vanilla fluid tag representing water and flowing water.Vanilla item tag representing all fox food.Vanilla item tag representing all items that confer freeze immunity on the wearer.Vanilla block tag representing all blocks which geodes will not spawn in.Vanilla block tag representing all gold ores.Vanilla block tag representing all blocks guarded by piglins.Vanilla block tag representing all hoglin repellents.Vanilla block tag denoting ice blocks.Vanilla item tag representing all items ignored by piglin babies.static Tag<EntityType>
Deprecated, for removal: This API element is subject to removal in a future version.Vanilla block tag denoting impermeable blocks which do not drip fluids.Vanilla block tag representing all blocks that burn forever in the end.Vanilla block tag representing all blocks that burn forever in the nether.Vanilla block tag representing all blocks that burn forever in the overworld.Vanilla block tag representing all blocks that play muffled step sounds.Vanilla block tag representing all iron ores.Vanilla item tag representing all arrow items.Vanilla item tag representing all banner items.Vanilla item tag representing all items that may be placed in beacons.Vanilla item tag representing all boat items.Vanilla item tag representing all coal items.Vanilla item tag representing all music disc items dropped by creepers.Vanilla item tag representing all fish items.Vanilla item tag representing all furnace materials.Vanilla item tag representing all books that may be placed on lecterns.Vanilla item tag representing all music disc items.Vanilla item tag representing all items loved by piglins.Vanilla item tag representing all stone tool materials.Vanilla block tag representing all jungle log and bark variants.Vanilla block tag representing all lapis ores.Vanilla block tag representing all blocks which lava pools will not replace.Vanilla block tag representing all leaves fans.Vanilla block tag representing all log and bark variants.Vanilla block tag representing all log and bark variants that burn.Vanilla block tag representing all blocks replaceable by lush ground.Vanilla block tag representing all blocks mineable with an axe.Vanilla block tag representing all blocks mineable with a hoe.Vanilla block tag representing all blocks mineable with a pickaxe.Vanilla block tag representing all blocks mineable with a shovel.Vanilla block tag representing all blocks replaceable by moss.Vanilla block tag representing all blocks which require a diamond tool.Vanilla block tag representing all blocks which require an iron tool.Vanilla block tag representing all blocks which require a stone tool.Vanilla block tag representing all non flammable wood.Vanilla block tag representing all nylium blocks.Vanilla block tag representing all oak log and bark variants.Vanilla block tag representing all blocks that block vibration signals.Vanilla item tag representing all piglin food.Vanilla block tag representing all piglin repellents.Vanilla block tag representing all plank variants.Vanilla block tag representing all portals.Vanilla block tag representing all pressure plates.Vanilla block tag representing all blocks that prevent inside mob spawning.static Tag<EntityType>
Deprecated, for removal: This API element is subject to removal in a future version.Vanilla block tag representing all Minecart rails.Vanilla block tag representing all redstone ores.static String
Key for the built in block registry.static String
Deprecated, for removal: This API element is subject to removal in a future version.static String
Key for the built in entity registry.static String
Key for the built in fluid registry.static String
Key for the built in item registry.Vanilla block tag representing all sand blocks.Vanilla block tag representing all sapling variants.Vanilla block tag representing all shulker boxes.Vanilla block tag representing all signs.static Tag<EntityType>
Deprecated, for removal: This API element is subject to removal in a future version.Vanilla block tag representing all slabs.Vanilla block tag representing all blocks which small dripleaf can be placed on.Vanilla block tag representing all small flowers.Vanilla block tag representing all snow blocks.Vanilla block tag representing all soul fire base blocks.Vanilla block tag representing all blocks affected by the soul speed enchantment.Vanilla block tag representing all spruce log and bark variants.Vanilla block tag representing all stairs.Vanilla block tag representing all standing signs.Vanilla block tag representing all regular/mossy/cracked/chiseled stone bricks.Vanilla block tag representing all blocks that may be replaced by ores.Vanilla block tag representing all stone pressure plates.Vanilla block tag representing all warm strider blocks.Vanilla block tag representing all tall flowers.Vanilla block tag representing all trapdoors (inherits fromWOODEN_TRAPDOORS
.Vanilla block tag denoting all underwater blocks which may be bonemealed.Vanilla block tag representing all unstable bottom center blocks.Vanilla block tag denoting all valid mob spawn positions.Vanilla block tag representing all wall corals.Vanilla block tag representing all wall post overrides.Vanilla block tag representing all wall signs.Vanilla block tag representing all walls.Vanilla block tag representing all warped stems.Vanilla block tag representing all wart blocks.Vanilla block tag representing all blocks immune to withers.Vanilla block tag representing all base blocks used for wither summoning.Vanilla block tag representing all wooden buttons.Vanilla block tag representing all wooden doors.Vanilla block tag representing all wooden fences.Vanilla block tag representing all wooden pressure plates.Vanilla block tag representing all wooden slabs.Vanilla block tag representing all wooden stairs.Vanilla block tag representing all wooden trapdoors.Vanilla block tag representing all colors of wool. -
Method Summary
-
Field Details
-
REGISTRY_BLOCKS
Key for the built in block registry.- See Also:
- Constant Field Values
-
WOOL
Vanilla block tag representing all colors of wool. -
PLANKS
Vanilla block tag representing all plank variants. -
STONE_BRICKS
Vanilla block tag representing all regular/mossy/cracked/chiseled stone bricks. -
WOODEN_BUTTONS
Vanilla block tag representing all wooden buttons. -
BUTTONS
Vanilla block tag representing all buttons (inherits fromWOODEN_BUTTONS
. -
CARPETS
Vanilla block tag representing all colors of carpet. -
WOODEN_DOORS
Vanilla block tag representing all wooden doors. -
WOODEN_STAIRS
Vanilla block tag representing all wooden stairs. -
WOODEN_SLABS
Vanilla block tag representing all wooden slabs. -
WOODEN_FENCES
Vanilla block tag representing all wooden fences. -
PRESSURE_PLATES
Vanilla block tag representing all pressure plates. -
WOODEN_PRESSURE_PLATES
Vanilla block tag representing all wooden pressure plates. -
STONE_PRESSURE_PLATES
Vanilla block tag representing all stone pressure plates. -
WOODEN_TRAPDOORS
Vanilla block tag representing all wooden trapdoors. -
DOORS
Vanilla block tag representing all doors (inherits fromWOODEN_DOORS
. -
SAPLINGS
Vanilla block tag representing all sapling variants. -
LOGS_THAT_BURN
Vanilla block tag representing all log and bark variants that burn. -
LOGS
Vanilla block tag representing all log and bark variants. -
DARK_OAK_LOGS
Vanilla block tag representing all dark oak log and bark variants. -
OAK_LOGS
Vanilla block tag representing all oak log and bark variants. -
BIRCH_LOGS
Vanilla block tag representing all birch log and bark variants. -
ACACIA_LOGS
Vanilla block tag representing all acacia log and bark variants. -
JUNGLE_LOGS
Vanilla block tag representing all jungle log and bark variants. -
SPRUCE_LOGS
Vanilla block tag representing all spruce log and bark variants. -
CRIMSON_STEMS
Vanilla block tag representing all crimson stems. -
WARPED_STEMS
Vanilla block tag representing all warped stems. -
BANNERS
Vanilla block tag representing all banner blocks. -
SAND
Vanilla block tag representing all sand blocks. -
STAIRS
Vanilla block tag representing all stairs. -
SLABS
Vanilla block tag representing all slabs. -
WALLS
Vanilla block tag representing all walls. -
ANVIL
Vanilla block tag representing all damaged and undamaged anvils. -
RAILS
Vanilla block tag representing all Minecart rails. -
LEAVES
Vanilla block tag representing all leaves fans. -
TRAPDOORS
Vanilla block tag representing all trapdoors (inherits fromWOODEN_TRAPDOORS
. -
FLOWER_POTS
Vanilla block tag representing all empty and filled flower pots. -
SMALL_FLOWERS
Vanilla block tag representing all small flowers. -
BEDS
Vanilla block tag representing all beds. -
FENCES
Vanilla block tag representing all fences. -
TALL_FLOWERS
Vanilla block tag representing all tall flowers. -
FLOWERS
Vanilla block tag representing all flowers. -
PIGLIN_REPELLENTS
Vanilla block tag representing all piglin repellents. -
GOLD_ORES
Vanilla block tag representing all gold ores. -
IRON_ORES
Vanilla block tag representing all iron ores. -
DIAMOND_ORES
Vanilla block tag representing all diamond ores. -
REDSTONE_ORES
Vanilla block tag representing all redstone ores. -
LAPIS_ORES
Vanilla block tag representing all lapis ores. -
COAL_ORES
Vanilla block tag representing all coal ores. -
EMERALD_ORES
Vanilla block tag representing all emerald ores. -
COPPER_ORES
Vanilla block tag representing all copper ores. -
NON_FLAMMABLE_WOOD
Vanilla block tag representing all non flammable wood. -
CANDLES
Vanilla block tag representing all candles. -
DIRT
Vanilla block tag representing all dirt. -
ENDERMAN_HOLDABLE
Vanilla block tag denoting blocks that enderman may pick up and hold. -
ICE
Vanilla block tag denoting ice blocks. -
VALID_SPAWN
Vanilla block tag denoting all valid mob spawn positions. -
IMPERMEABLE
Vanilla block tag denoting impermeable blocks which do not drip fluids. -
UNDERWATER_BONEMEALS
Vanilla block tag denoting all underwater blocks which may be bonemealed. -
CORAL_BLOCKS
Vanilla block tag representing all coral blocks. -
WALL_CORALS
Vanilla block tag representing all wall corals. -
CORAL_PLANTS
Vanilla block tag representing all coral plants. -
CORALS
Vanilla block tag representing all coral. -
BAMBOO_PLANTABLE_ON
Vanilla block tag denoting all blocks bamboo may be planted on. -
STANDING_SIGNS
Vanilla block tag representing all standing signs. -
WALL_SIGNS
Vanilla block tag representing all wall signs. -
SIGNS
Vanilla block tag representing all signs. -
DRAGON_IMMUNE
Vanilla block tag representing all blocks immune to dragons. -
WITHER_IMMUNE
Vanilla block tag representing all blocks immune to withers. -
WITHER_SUMMON_BASE_BLOCKS
Vanilla block tag representing all base blocks used for wither summoning. -
BEEHIVES
Vanilla block tag representing all beehives. -
CROPS
Vanilla block tag representing all crops. -
BEE_GROWABLES
Vanilla block tag representing all bee growables. -
PORTALS
Vanilla block tag representing all portals. -
FIRE
Vanilla block tag representing all fire blocks. -
NYLIUM
Vanilla block tag representing all nylium blocks. -
WART_BLOCKS
Vanilla block tag representing all wart blocks. -
BEACON_BASE_BLOCKS
Vanilla block tag representing all beacon base blocks. -
SOUL_SPEED_BLOCKS
Vanilla block tag representing all blocks affected by the soul speed enchantment. -
WALL_POST_OVERRIDE
Vanilla block tag representing all wall post overrides. -
CLIMBABLE
Vanilla block tag representing all climbable blocks. -
SHULKER_BOXES
Vanilla block tag representing all shulker boxes. -
HOGLIN_REPELLENTS
Vanilla block tag representing all hoglin repellents. -
SOUL_FIRE_BASE_BLOCKS
Vanilla block tag representing all soul fire base blocks. -
STRIDER_WARM_BLOCKS
Vanilla block tag representing all warm strider blocks. -
CAMPFIRES
Vanilla block tag representing all campfires. -
GUARDED_BY_PIGLINS
Vanilla block tag representing all blocks guarded by piglins. -
PREVENT_MOB_SPAWNING_INSIDE
Vanilla block tag representing all blocks that prevent inside mob spawning. -
FENCE_GATES
Vanilla block tag representing all fence gates. -
UNSTABLE_BOTTOM_CENTER
Vanilla block tag representing all unstable bottom center blocks. -
MUSHROOM_GROW_BLOCK
-
INFINIBURN_OVERWORLD
Vanilla block tag representing all blocks that burn forever in the overworld. -
INFINIBURN_NETHER
Vanilla block tag representing all blocks that burn forever in the nether. -
INFINIBURN_END
Vanilla block tag representing all blocks that burn forever in the end. -
BASE_STONE_OVERWORLD
Vanilla block tag representing the overworld base material. -
STONE_ORE_REPLACEABLES
Vanilla block tag representing all blocks that may be replaced by ores. -
DEEPSLATE_ORE_REPLACEABLES
Vanilla block tag representing all blocks that may be replaced by deepslate ores. -
BASE_STONE_NETHER
Vanilla block tag representing the nether base material. -
CANDLE_CAKES
Vanilla block tag representing all candle cakes. -
CAULDRONS
Vanilla block tag representing all cauldrons. -
CRYSTAL_SOUND_BLOCKS
Vanilla block tag representing all blocks that make cryustal sounds. -
INSIDE_STEP_SOUND_BLOCKS
Vanilla block tag representing all blocks that play muffled step sounds. -
OCCLUDES_VIBRATION_SIGNALS
Vanilla block tag representing all blocks that block vibration signals. -
DRIPSTONE_REPLACEABLE
Vanilla block tag representing all blocks that are replaceable by dripstone. -
CAVE_VINES
Vanilla block tag representing all cave vines. -
MOSS_REPLACEABLE
Vanilla block tag representing all blocks replaceable by moss. -
LUSH_GROUND_REPLACEABLE
Vanilla block tag representing all blocks replaceable by lush ground. -
SMALL_DRIPLEAF_PLACEABLE
Vanilla block tag representing all blocks which small dripleaf can be placed on. -
SNOW
Vanilla block tag representing all snow blocks. -
MINEABLE_AXE
Vanilla block tag representing all blocks mineable with an axe. -
MINEABLE_HOE
Vanilla block tag representing all blocks mineable with a hoe. -
MINEABLE_PICKAXE
Vanilla block tag representing all blocks mineable with a pickaxe. -
MINEABLE_SHOVEL
Vanilla block tag representing all blocks mineable with a shovel. -
NEEDS_DIAMOND_TOOL
Vanilla block tag representing all blocks which require a diamond tool. -
NEEDS_IRON_TOOL
Vanilla block tag representing all blocks which require an iron tool. -
NEEDS_STONE_TOOL
Vanilla block tag representing all blocks which require a stone tool. -
FEATURES_CANNOT_REPLACE
Vanilla block tag representing all blocks which will not be replaced by world generation features. -
LAVA_POOL_STONE_CANNOT_REPLACE
Vanilla block tag representing all blocks which lava pools will not replace. -
GEODE_INVALID_BLOCKS
Vanilla block tag representing all blocks which geodes will not spawn in. -
REGISTRY_ITEMS
Key for the built in item registry.- See Also:
- Constant Field Values
-
ITEMS_PIGLIN_LOVED
Vanilla item tag representing all items loved by piglins. -
IGNORED_BY_PIGLIN_BABIES
Vanilla item tag representing all items ignored by piglin babies. -
PIGLIN_FOOD
Vanilla item tag representing all piglin food. -
FOX_FOOD
Vanilla item tag representing all fox food. -
ITEMS_BANNERS
Vanilla item tag representing all banner items. -
ITEMS_BOATS
Vanilla item tag representing all boat items. -
ITEMS_FISHES
Vanilla item tag representing all fish items. -
ITEMS_MUSIC_DISCS
Vanilla item tag representing all music disc items. -
ITEMS_CREEPER_DROP_MUSIC_DISCS
Vanilla item tag representing all music disc items dropped by creepers. -
ITEMS_COALS
Vanilla item tag representing all coal items. -
ITEMS_ARROWS
Vanilla item tag representing all arrow items. -
ITEMS_LECTERN_BOOKS
Vanilla item tag representing all books that may be placed on lecterns. -
ITEMS_BEACON_PAYMENT_ITEMS
Vanilla item tag representing all items that may be placed in beacons. -
ITEMS_STONE_TOOL_MATERIALS
Vanilla item tag representing all stone tool materials. -
ITEMS_FURNACE_MATERIALS
Vanilla item tag representing all furnace materials. -
FREEZE_IMMUNE_WEARABLES
Vanilla item tag representing all items that confer freeze immunity on the wearer. -
AXOLOTL_TEMPT_ITEMS
Vanilla item tag representing all items which tempt axolotls. -
CLUSTER_MAX_HARVESTABLES
Vanilla item tag representing all items which are preferred for harvesting clusters (unused). -
REGISTRY_FLUIDS
Key for the built in fluid registry.- See Also:
- Constant Field Values
-
FLUIDS_LAVA
Vanilla fluid tag representing lava and flowing lava. -
FLUIDS_WATER
Vanilla fluid tag representing water and flowing water. -
REGISTRY_ENTITY_TYPES
Key for the built in entity registry.- See Also:
- Constant Field Values
-
ENTITY_TYPES_SKELETONS
Vanilla tag representing skeletons. -
ENTITY_TYPES_RAIDERS
Vanilla tag representing raiders. -
ENTITY_TYPES_BEEHIVE_INHABITORS
Vanilla tag representing entities which can live in beehives. -
ENTITY_TYPES_ARROWS
Vanilla tag representing arrows. -
ENTITY_TYPES_IMPACT_PROJECTILES
Vanilla tag representing projectiles. -
ENTITY_TYPES_POWDER_SNOW_WALKABLE_MOBS
Vanilla tag representing mobs which can walk on powder snow. -
ENTITY_TYPES_AXOLOTL_ALWAYS_HOSTILES
Vanilla tag representing which entities axolotls are always hostile to. -
ENTITY_TYPES_AXOLOTL_HUNT_TARGETS
Vanilla tag representing axolotl targets. -
ENTITY_TYPES_FREEZE_IMMUNE_ENTITY_TYPES
Vanilla tag representing entities immune from freezing. -
ENTITY_TYPES_FREEZE_HURTS_EXTRA_TYPES
Vanilla tag representing entities extra susceptible to freezing. -
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:
- Constant Field Values
-
ARROWS
Deprecated, for removal: This API element is subject to removal in a future version.Vanilla entity tag representing arrow entities. -
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, for removal: This API element is subject to removal in a future version.Vanilla entity tag representing projectiles that impact -
RAIDERS
Deprecated, for removal: This API element is subject to removal in a future version.Vanilla entity tag for village raiders -
SKELETONS
Deprecated, for removal: This API element is subject to removal in a future version.Vanilla entity tag for skeleton types
-
-
Method Details
-
isTagged
Returns whether or not this tag has an entry for the specified item.- Parameters:
item
- to check- Returns:
- if it is tagged
-
getValues
Gets an immutable set of all tagged items.- Returns:
- set of tagged items
-
ENTITY_TYPES_ARROWS