Uses of Record Class
net.minecraft.tags.TagKey
Packages that use TagKey
Package
Description
Classes for NeoForge's own data generation.
-
Uses of TagKey in net.minecraft.advancements.critereon
Fields in net.minecraft.advancements.critereon declared as TagKeyMethods in net.minecraft.advancements.critereon that return TagKeyModifier and TypeMethodDescriptionTagPredicate.tag()
Returns the value of thetag
record component.Methods in net.minecraft.advancements.critereon with parameters of type TagKeyModifier and TypeMethodDescriptionstatic <T> TagPredicate
<T> static <T> TagPredicate
<T> EntityPredicate.Builder.of
(TagKey<EntityType<?>> p_204078_) static EntityTypePredicate
EntityTypePredicate.of
(TagKey<EntityType<?>> p_204082_) Constructors in net.minecraft.advancements.critereon with parameters of type TagKeyModifierConstructorDescriptionTagPredicate
(TagKey<T> tag, boolean expected) Creates an instance of aTagPredicate
record class. -
Uses of TagKey in net.minecraft.client.gui.screens.inventory
Fields in net.minecraft.client.gui.screens.inventory with type parameters of type TagKey -
Uses of TagKey in net.minecraft.client.gui.screens.worldselection
Methods in net.minecraft.client.gui.screens.worldselection with parameters of type TagKeyModifier and TypeMethodDescriptionprivate static Optional
<List<WorldCreationUiState.WorldTypeEntry>> WorldCreationUiState.getNonEmptyList
(Registry<WorldPreset> p_268296_, TagKey<WorldPreset> p_268097_) -
Uses of TagKey in net.minecraft.client.tutorial
Methods in net.minecraft.client.tutorial with parameters of type TagKeyModifier and TypeMethodDescriptionstatic boolean
CraftPlanksTutorialStep.hasCraftedPlanksPreviously
(LocalPlayer p_205663_, TagKey<Item> p_205664_) -
Uses of TagKey in net.minecraft.commands.arguments
Fields in net.minecraft.commands.arguments declared as TagKeyModifier and TypeFieldDescriptionResourceOrTagKeyArgument.TagResult.key
The field for thekey
record component.Methods in net.minecraft.commands.arguments that return TagKeyModifier and TypeMethodDescriptionResourceOrTagKeyArgument.TagResult.key()
Returns the value of thekey
record component.Methods in net.minecraft.commands.arguments that return types with arguments of type TagKeyModifier and TypeMethodDescriptioncom.mojang.datafixers.util.Either
<ResourceKey<T>, TagKey<T>> ResourceOrTagKeyArgument.ResourceResult.unwrap()
com.mojang.datafixers.util.Either
<ResourceKey<T>, TagKey<T>> ResourceOrTagKeyArgument.Result.unwrap()
com.mojang.datafixers.util.Either
<ResourceKey<T>, TagKey<T>> ResourceOrTagKeyArgument.TagResult.unwrap()
Constructors in net.minecraft.commands.arguments with parameters of type TagKey -
Uses of TagKey in net.minecraft.core
Fields in net.minecraft.core declared as TagKeyFields in net.minecraft.core with type parameters of type TagKeyModifier and TypeFieldDescriptionHolder.Reference.tags
private Map
<TagKey<T>, HolderSet.Named<T>> MappedRegistry.tags
Methods in net.minecraft.core that return TagKeyMethods in net.minecraft.core that return types with arguments of type TagKeyModifier and TypeMethodDescriptionMappedRegistry.getTagNames()
Registry.getTagNames()
Stream
<com.mojang.datafixers.util.Pair<TagKey<T>, HolderSet.Named<T>>> MappedRegistry.getTags()
Stream
<com.mojang.datafixers.util.Pair<TagKey<T>, HolderSet.Named<T>>> Registry.getTags()
HolderLookup.listTagIds()
Holder.Direct.tags()
Holder.Reference.tags()
Holder.tags()
HolderSet.Direct.unwrap()
HolderSet.Named.unwrap()
HolderSet.unwrap()
HolderSet.Direct.unwrapKey()
HolderSet.Named.unwrapKey()
HolderSet.unwrapKey()
Methods in net.minecraft.core with parameters of type TagKeyModifier and TypeMethodDescriptionprivate HolderSet.Named
<T> static <T> HolderSet.Named
<T> HolderSet.emptyNamed
(HolderOwner<T> p_255858_, TagKey<T> p_256459_) Deprecated.default Optional
<HolderSet.Named<T>> MappedRegistry.getOrCreateTag
(TagKey<T> p_205895_) Registry.getOrCreateTag
(TagKey<T> p_206045_) default HolderSet.Named
<T> HolderGetter.getOrThrow
(TagKey<T> p_256125_) Registry.getRandomElementOf
(TagKey<T> p_320357_, RandomSource p_320935_) Registry.getTagOrEmpty
(TagKey<T> p_206059_) boolean
boolean
boolean
Method parameters in net.minecraft.core with type arguments of type TagKeyModifier and TypeMethodDescriptionvoid
Holder.Reference.bindTags
(Collection<TagKey<T>> p_205770_) void
void
Constructors in net.minecraft.core with parameters of type TagKeyModifierConstructorDescription(package private)
Named
(HolderOwner<T> p_256118_, TagKey<T> p_256597_) -
Uses of TagKey in net.minecraft.data.recipes
Methods in net.minecraft.data.recipes with parameters of type TagKeyModifier and TypeMethodDescriptionprotected static void
RecipeProvider.copySmithingTemplate
(RecipeOutput p_300986_, ItemLike p_266974_, TagKey<Item> p_267283_) protected static Criterion
<InventoryChangeTrigger.TriggerInstance> protected static void
RecipeProvider.planksFromLog
(RecipeOutput p_301020_, ItemLike p_259052_, TagKey<Item> p_259045_, int p_259471_) protected static void
RecipeProvider.planksFromLogs
(RecipeOutput p_301221_, ItemLike p_259193_, TagKey<Item> p_259818_, int p_259807_) -
Uses of TagKey in net.minecraft.data.tags
Fields in net.minecraft.data.tags with type parameters of type TagKeyMethods in net.minecraft.data.tags with parameters of type TagKeyModifier and TypeMethodDescriptiondefault boolean
protected void
protected TagBuilder
TagsProvider.getOrCreateRawBuilder
(TagKey<T> p_236452_) protected TagsProvider.TagAppender
<T> -
Uses of TagKey in net.minecraft.resources
Fields in net.minecraft.resources with type parameters of type TagKeyModifier and TypeFieldDescriptionprivate final com.mojang.serialization.Codec
<com.mojang.datafixers.util.Either<ICustomHolderSet<E>, com.mojang.datafixers.util.Either<TagKey<E>, List<Holder<E>>>>> HolderSetCodec.combinedCodec
private final com.mojang.serialization.Codec
<com.mojang.datafixers.util.Either<TagKey<E>, List<Holder<E>>>> HolderSetCodec.registryAwareCodec
Methods in net.minecraft.resources with parameters of type TagKeyModifier and TypeMethodDescriptionprivate static <E> com.mojang.serialization.DataResult
<HolderSet<E>> HolderSetCodec.lookupTag
(HolderGetter<E> p_332757_, TagKey<E> p_332743_) -
Uses of TagKey in net.minecraft.server.level
Methods in net.minecraft.server.level with parameters of type TagKeyModifier and TypeMethodDescriptionServerLevel.findNearestMapStructure
(TagKey<Structure> p_215012_, BlockPos p_215013_, int p_215014_, boolean p_215015_) -
Uses of TagKey in net.minecraft.tags
Fields in net.minecraft.tags declared as TagKeyModifier and TypeFieldDescriptionBlockTags.ACACIA_LOGS
ItemTags.ACACIA_LOGS
PoiTypeTags.ACQUIRABLE_JOB_SITE
BlockTags.ALL_HANGING_SIGNS
BlockTags.ALL_SIGNS
GameEventTags.ALLAY_CAN_LISTEN
BiomeTags.ALLOWS_SURFACE_SLIME_SPAWNS
static final TagKey
<DamageType> DamageTypeTags.ALWAYS_HURTS_ENDER_DRAGONS
static final TagKey
<DamageType> DamageTypeTags.ALWAYS_KILLS_ARMOR_STANDS
static final TagKey
<DamageType> DamageTypeTags.ALWAYS_MOST_SIGNIFICANT_FALL
static final TagKey
<DamageType> DamageTypeTags.ALWAYS_TRIGGERS_SILVERFISH
BlockTags.ANCIENT_CITY_REPLACEABLE
BlockTags.ANIMALS_SPAWNABLE_ON
BlockTags.ANVIL
ItemTags.ANVIL
static final TagKey
<EntityType<?>> EntityTypeTags.AQUATIC
ItemTags.ARMADILLO_FOOD
BlockTags.ARMADILLO_SPAWNABLE_ON
ItemTags.ARMOR_ENCHANTABLE
static final TagKey
<EntityType<?>> EntityTypeTags.ARROWS
ItemTags.ARROWS
static final TagKey
<EntityType<?>> EntityTypeTags.ARTHROPOD
static final TagKey
<DamageType> DamageTypeTags.AVOIDS_GUARDIAN_THORNS
ItemTags.AXES
static final TagKey
<EntityType<?>> EntityTypeTags.AXOLOTL_ALWAYS_HOSTILES
ItemTags.AXOLOTL_FOOD
static final TagKey
<EntityType<?>> EntityTypeTags.AXOLOTL_HUNT_TARGETS
BlockTags.AXOLOTLS_SPAWNABLE_ON
BlockTags.AZALEA_GROWS_ON
BlockTags.AZALEA_ROOT_REPLACEABLE
BlockTags.BADLANDS_TERRACOTTA
BlockTags.BAMBOO_BLOCKS
ItemTags.BAMBOO_BLOCKS
BlockTags.BAMBOO_PLANTABLE_ON
BlockTags.BANNERS
ItemTags.BANNERS
BlockTags.BASE_STONE_NETHER
BlockTags.BASE_STONE_OVERWORLD
BlockTags.BEACON_BASE_BLOCKS
ItemTags.BEACON_PAYMENT_ITEMS
BlockTags.BEDS
ItemTags.BEDS
ItemTags.BEE_FOOD
BlockTags.BEE_GROWABLES
PoiTypeTags.BEE_HOME
static final TagKey
<EntityType<?>> EntityTypeTags.BEEHIVE_INHABITORS
BlockTags.BEEHIVES
BlockTags.BIG_DRIPLEAF_PLACEABLE
BlockTags.BIRCH_LOGS
ItemTags.BIRCH_LOGS
BlockTags.BLOCKS_WIND_CHARGE_EXPLOSIONS
ItemTags.BOATS
ItemTags.BOOKSHELF_BOOKS
ItemTags.BOW_ENCHANTABLE
ItemTags.BREAKS_DECORATED_POTS
static final TagKey
<DamageType> DamageTypeTags.BREEZE_IMMUNE_TO
static final TagKey
<DamageType> DamageTypeTags.BURNS_ARMOR_STANDS
BlockTags.BUTTONS
ItemTags.BUTTONS
static final TagKey
<DamageType> DamageTypeTags.BYPASSES_ARMOR
static final TagKey
<DamageType> DamageTypeTags.BYPASSES_COOLDOWN
static final TagKey
<DamageType> DamageTypeTags.BYPASSES_EFFECTS
static final TagKey
<DamageType> DamageTypeTags.BYPASSES_ENCHANTMENTS
static final TagKey
<DamageType> DamageTypeTags.BYPASSES_INVULNERABILITY
static final TagKey
<DamageType> DamageTypeTags.BYPASSES_RESISTANCE
static final TagKey
<DamageType> DamageTypeTags.BYPASSES_SHIELD
static final TagKey
<DamageType> DamageTypeTags.BYPASSES_WOLF_ARMOR
ItemTags.CAMEL_FOOD
BlockTags.CAMEL_SAND_STEP_SOUND_BLOCKS
BlockTags.CAMPFIRES
static final TagKey
<DamageType> DamageTypeTags.CAN_BREAK_ARMOR_STAND
static final TagKey
<EntityType<?>> EntityTypeTags.CAN_BREATHE_UNDER_WATER
static final TagKey
<EntityType<?>> EntityTypeTags.CAN_TURN_IN_BOATS
BlockTags.CANDLE_CAKES
BlockTags.CANDLES
ItemTags.CANDLES
ItemTags.CAT_FOOD
StructureTags.CATS_SPAWN_AS_BLACK
StructureTags.CATS_SPAWN_IN
BlockTags.CAULDRONS
BlockTags.CAVE_VINES
BlockTags.CEILING_HANGING_SIGNS
BlockTags.CHERRY_LOGS
ItemTags.CHERRY_LOGS
ItemTags.CHEST_ARMOR
ItemTags.CHEST_ARMOR_ENCHANTABLE
ItemTags.CHEST_BOATS
ItemTags.CHICKEN_FOOD
BlockTags.CLIMBABLE
ItemTags.CLUSTER_MAX_HARVESTABLES
BlockTags.COAL_ORES
ItemTags.COAL_ORES
ItemTags.COALS
BlockTags.COMBINATION_STEP_SOUND_BLOCKS
ItemTags.COMPASSES
BlockTags.COMPLETES_FIND_TREE_TUTORIAL
ItemTags.COMPLETES_FIND_TREE_TUTORIAL
BlockTags.CONCRETE_POWDER
BlockTags.CONVERTABLE_TO_MUD
BlockTags.COPPER_ORES
ItemTags.COPPER_ORES
BlockTags.CORAL_BLOCKS
BlockTags.CORAL_PLANTS
BlockTags.CORALS
ItemTags.COW_FOOD
ItemTags.CREEPER_DROP_MUSIC_DISCS
ItemTags.CREEPER_IGNITERS
BlockTags.CRIMSON_STEMS
ItemTags.CRIMSON_STEMS
BlockTags.CROPS
ItemTags.CROSSBOW_ENCHANTABLE
BlockTags.CRYSTAL_SOUND_BLOCKS
static final TagKey
<DamageType> DamageTypeTags.DAMAGES_HELMET
BlockTags.DAMPENS_VIBRATIONS
ItemTags.DAMPENS_VIBRATIONS
BlockTags.DARK_OAK_LOGS
ItemTags.DARK_OAK_LOGS
BlockTags.DEAD_BUSH_MAY_PLACE_ON
ItemTags.DECORATED_POT_INGREDIENTS
ItemTags.DECORATED_POT_SHERDS
BlockTags.DEEPSLATE_ORE_REPLACEABLES
static final TagKey
<CatVariant> CatVariantTags.DEFAULT_SPAWNS
static final TagKey
<EntityType<?>> EntityTypeTags.DEFLECTS_PROJECTILES
BlockTags.DIAMOND_ORES
ItemTags.DIAMOND_ORES
BlockTags.DIRT
ItemTags.DIRT
static final TagKey
<EntityType<?>> EntityTypeTags.DISMOUNTS_UNDERWATER
BlockTags.DOES_NOT_BLOCK_HOPPERS
StructureTags.DOLPHIN_LOCATED
BlockTags.DOORS
ItemTags.DOORS
BlockTags.DRAGON_IMMUNE
BlockTags.DRAGON_TRANSPARENT
BlockTags.DRIPSTONE_REPLACEABLE
ItemTags.DURABILITY_ENCHANTABLE
ItemTags.DYEABLE
BlockTags.EMERALD_ORES
ItemTags.EMERALD_ORES
BlockTags.ENCHANTMENT_POWER_PROVIDER
BlockTags.ENCHANTMENT_POWER_TRANSMITTER
BlockTags.ENDERMAN_HOLDABLE
ItemTags.EQUIPPABLE_ENCHANTABLE
static final TagKey
<WorldPreset> WorldPresetTags.EXTENDED
StructureTags.EYE_OF_ENDER_LOCATED
static final TagKey
<EntityType<?>> EntityTypeTags.FALL_DAMAGE_IMMUNE
BlockTags.FALL_DAMAGE_RESETTING
BlockTags.FEATURES_CANNOT_REPLACE
BlockTags.FENCE_GATES
ItemTags.FENCE_GATES
BlockTags.FENCES
ItemTags.FENCES
BlockTags.FIRE
ItemTags.FIRE_ASPECT_ENCHANTABLE
ItemTags.FISHES
ItemTags.FISHING_ENCHANTABLE
BlockTags.FLOWER_POTS
BlockTags.FLOWERS
ItemTags.FLOWERS
ItemTags.FOOT_ARMOR
ItemTags.FOOT_ARMOR_ENCHANTABLE
ItemTags.FOX_FOOD
BlockTags.FOXES_SPAWNABLE_ON
static final TagKey
<EntityType<?>> EntityTypeTags.FREEZE_HURTS_EXTRA_TYPES
static final TagKey
<EntityType<?>> EntityTypeTags.FREEZE_IMMUNE_ENTITY_TYPES
ItemTags.FREEZE_IMMUNE_WEARABLES
static final TagKey
<EntityType<?>> EntityTypeTags.FROG_FOOD
ItemTags.FROG_FOOD
BlockTags.FROG_PREFER_JUMP_TO
BlockTags.FROGS_SPAWNABLE_ON
static final TagKey
<CatVariant> CatVariantTags.FULL_MOON_SPAWNS
BlockTags.GEODE_INVALID_BLOCKS
ItemTags.GOAT_FOOD
static final TagKey
<Instrument> InstrumentTags.GOAT_HORNS
BlockTags.GOATS_SPAWNABLE_ON
BlockTags.GOLD_ORES
ItemTags.GOLD_ORES
BlockTags.GUARDED_BY_PIGLINS
ItemTags.HANGING_SIGNS
BiomeTags.HAS_ANCIENT_CITY
BiomeTags.HAS_BASTION_REMNANT
BiomeTags.HAS_BURIED_TREASURE
BiomeTags.HAS_CLOSER_WATER_FOG
BiomeTags.HAS_DESERT_PYRAMID
BiomeTags.HAS_END_CITY
BiomeTags.HAS_IGLOO
BiomeTags.HAS_JUNGLE_TEMPLE
BiomeTags.HAS_MINESHAFT
BiomeTags.HAS_MINESHAFT_MESA
BiomeTags.HAS_NETHER_FORTRESS
BiomeTags.HAS_NETHER_FOSSIL
BiomeTags.HAS_OCEAN_MONUMENT
BiomeTags.HAS_OCEAN_RUIN_COLD
BiomeTags.HAS_OCEAN_RUIN_WARM
BiomeTags.HAS_PILLAGER_OUTPOST
BiomeTags.HAS_RUINED_PORTAL_DESERT
BiomeTags.HAS_RUINED_PORTAL_JUNGLE
BiomeTags.HAS_RUINED_PORTAL_MOUNTAIN
BiomeTags.HAS_RUINED_PORTAL_NETHER
BiomeTags.HAS_RUINED_PORTAL_OCEAN
BiomeTags.HAS_RUINED_PORTAL_STANDARD
BiomeTags.HAS_RUINED_PORTAL_SWAMP
BiomeTags.HAS_SHIPWRECK
BiomeTags.HAS_SHIPWRECK_BEACHED
BiomeTags.HAS_STRONGHOLD
BiomeTags.HAS_SWAMP_HUT
BiomeTags.HAS_TRAIL_RUINS
BiomeTags.HAS_TRIAL_CHAMBERS
BiomeTags.HAS_VILLAGE_DESERT
BiomeTags.HAS_VILLAGE_PLAINS
BiomeTags.HAS_VILLAGE_SAVANNA
BiomeTags.HAS_VILLAGE_SNOWY
BiomeTags.HAS_VILLAGE_TAIGA
BiomeTags.HAS_WOODLAND_MANSION
ItemTags.HEAD_ARMOR
ItemTags.HEAD_ARMOR_ENCHANTABLE
ItemTags.HOES
ItemTags.HOGLIN_FOOD
BlockTags.HOGLIN_REPELLENTS
ItemTags.HORSE_FOOD
ItemTags.HORSE_TEMPT_ITEMS
BlockTags.ICE
static final TagKey
<DamageType> DamageTypeTags.IGNITES_ARMOR_STANDS
GameEventTags.IGNORE_VIBRATIONS_SNEAKING
ItemTags.IGNORED_BY_PIGLIN_BABIES
static final TagKey
<EntityType<?>> EntityTypeTags.IGNORES_POISON_AND_REGEN
static final TagKey
<EntityType<?>> EntityTypeTags.ILLAGER
static final TagKey
<EntityType<?>> EntityTypeTags.ILLAGER_FRIENDS
static final TagKey
<EntityType<?>> EntityTypeTags.IMMUNE_TO_INFESTED
static final TagKey
<EntityType<?>> EntityTypeTags.IMMUNE_TO_OOZING
static final TagKey
<EntityType<?>> EntityTypeTags.IMPACT_PROJECTILES
BlockTags.IMPERMEABLE
BlockTags.INCORRECT_FOR_DIAMOND_TOOL
BlockTags.INCORRECT_FOR_GOLD_TOOL
BlockTags.INCORRECT_FOR_IRON_TOOL
BlockTags.INCORRECT_FOR_NETHERITE_TOOL
BlockTags.INCORRECT_FOR_STONE_TOOL
BlockTags.INCORRECT_FOR_WOODEN_TOOL
BiomeTags.INCREASED_FIRE_BURNOUT
BlockTags.INFINIBURN_END
BlockTags.INFINIBURN_NETHER
BlockTags.INFINIBURN_OVERWORLD
BlockTags.INSIDE_STEP_SOUND_BLOCKS
BlockTags.INVALID_SPAWN_INSIDE
static final TagKey
<EntityType<?>> EntityTypeTags.INVERTED_HEALING_AND_HARM
BlockTags.IRON_ORES
ItemTags.IRON_ORES
BiomeTags.IS_BADLANDS
BiomeTags.IS_BEACH
BiomeTags.IS_DEEP_OCEAN
static final TagKey
<DamageType> DamageTypeTags.IS_DROWNING
BiomeTags.IS_END
static final TagKey
<DamageType> DamageTypeTags.IS_EXPLOSION
static final TagKey
<DamageType> DamageTypeTags.IS_FALL
static final TagKey
<DamageType> DamageTypeTags.IS_FIRE
BiomeTags.IS_FOREST
static final TagKey
<DamageType> DamageTypeTags.IS_FREEZING
BiomeTags.IS_HILL
BiomeTags.IS_JUNGLE
static final TagKey
<DamageType> DamageTypeTags.IS_LIGHTNING
BiomeTags.IS_MOUNTAIN
BiomeTags.IS_NETHER
BiomeTags.IS_OCEAN
BiomeTags.IS_OVERWORLD
static final TagKey
<DamageType> DamageTypeTags.IS_PLAYER_ATTACK
static final TagKey
<DamageType> DamageTypeTags.IS_PROJECTILE
BiomeTags.IS_RIVER
BiomeTags.IS_SAVANNA
BiomeTags.IS_TAIGA
BlockTags.JUNGLE_LOGS
ItemTags.JUNGLE_LOGS
BlockTags.LAPIS_ORES
ItemTags.LAPIS_ORES
FluidTags.LAVA
BlockTags.LAVA_POOL_STONE_CANNOT_REPLACE
BlockTags.LEAVES
ItemTags.LEAVES
ItemTags.LECTERN_BOOKS
ItemTags.LEG_ARMOR
ItemTags.LEG_ARMOR_ENCHANTABLE
ItemTags.LLAMA_FOOD
ItemTags.LLAMA_TEMPT_ITEMS
BlockTags.LOGS
ItemTags.LOGS
BlockTags.LOGS_THAT_BURN
ItemTags.LOGS_THAT_BURN
BlockTags.LUSH_GROUND_REPLACEABLE
ItemTags.MACE_ENCHANTABLE
BlockTags.MAINTAINS_FARMLAND
BlockTags.MANGROVE_LOGS
ItemTags.MANGROVE_LOGS
BlockTags.MANGROVE_LOGS_CAN_GROW_THROUGH
BlockTags.MANGROVE_ROOTS_CAN_GROW_THROUGH
ItemTags.MEAT
BlockTags.MINEABLE_WITH_AXE
BlockTags.MINEABLE_WITH_HOE
BlockTags.MINEABLE_WITH_PICKAXE
BlockTags.MINEABLE_WITH_SHOVEL
StructureTags.MINESHAFT
BiomeTags.MINESHAFT_BLOCKING
ItemTags.MINING_ENCHANTABLE
ItemTags.MINING_LOOT_ENCHANTABLE
BlockTags.MOOSHROOMS_SPAWNABLE_ON
BiomeTags.MORE_FREQUENT_DROWNED_SPAWNS
BlockTags.MOSS_REPLACEABLE
BlockTags.MUSHROOM_GROW_BLOCK
ItemTags.MUSIC_DISCS
BlockTags.NEEDS_DIAMOND_TOOL
BlockTags.NEEDS_IRON_TOOL
BlockTags.NEEDS_STONE_TOOL
BlockTags.NETHER_CARVER_REPLACEABLES
static final TagKey
<DamageType> DamageTypeTags.NO_ANGER
static final TagKey
<EntityType<?>> EntityTypeTags.NO_ANGER_FROM_WIND_CHARGE
static final TagKey
<DamageType> DamageTypeTags.NO_IMPACT
static final TagKey
<BannerPattern> BannerPatternTags.NO_ITEM_REQUIRED
static final TagKey
<DamageType> DamageTypeTags.NO_KNOCKBACK
static final TagKey
<EntityType<?>> EntityTypeTags.NON_CONTROLLING_RIDER
ItemTags.NON_FLAMMABLE_WOOD
static final TagKey
<WorldPreset> WorldPresetTags.NORMAL
static final TagKey
<EntityType<?>> EntityTypeTags.NOT_SCARY_FOR_PUFFERFISH
ItemTags.NOTE_BLOCK_TOP_INSTRUMENTS
BlockTags.NYLIUM
BlockTags.OAK_LOGS
ItemTags.OAK_LOGS
BlockTags.OCCLUDES_VIBRATION_SIGNALS
StructureTags.OCEAN_RUIN
ItemTags.OCELOT_FOOD
StructureTags.ON_DESERT_VILLAGE_MAPS
StructureTags.ON_JUNGLE_EXPLORER_MAPS
StructureTags.ON_OCEAN_EXPLORER_MAPS
StructureTags.ON_PLAINS_VILLAGE_MAPS
StructureTags.ON_SAVANNA_VILLAGE_MAPS
StructureTags.ON_SNOWY_VILLAGE_MAPS
StructureTags.ON_SWAMP_EXPLORER_MAPS
StructureTags.ON_TAIGA_VILLAGE_MAPS
StructureTags.ON_TREASURE_MAPS
StructureTags.ON_TRIAL_CHAMBERS_MAPS
StructureTags.ON_WOODLAND_EXPLORER_MAPS
BlockTags.OVERWORLD_CARVER_REPLACEABLES
BlockTags.OVERWORLD_NATURAL_LOGS
ItemTags.PANDA_FOOD
ItemTags.PARROT_FOOD
ItemTags.PARROT_POISONOUS_FOOD
BlockTags.PARROTS_SPAWNABLE_ON
static final TagKey
<BannerPattern> BannerPatternTags.PATTERN_ITEM_CREEPER
static final TagKey
<BannerPattern> BannerPatternTags.PATTERN_ITEM_FLOW
static final TagKey
<BannerPattern> BannerPatternTags.PATTERN_ITEM_FLOWER
static final TagKey
<BannerPattern> BannerPatternTags.PATTERN_ITEM_GLOBE
static final TagKey
<BannerPattern> BannerPatternTags.PATTERN_ITEM_GUSTER
static final TagKey
<BannerPattern> BannerPatternTags.PATTERN_ITEM_MOJANG
static final TagKey
<BannerPattern> BannerPatternTags.PATTERN_ITEM_PIGLIN
static final TagKey
<BannerPattern> BannerPatternTags.PATTERN_ITEM_SKULL
ItemTags.PICKAXES
ItemTags.PIG_FOOD
ItemTags.PIGLIN_FOOD
ItemTags.PIGLIN_LOVED
BlockTags.PIGLIN_REPELLENTS
ItemTags.PIGLIN_REPELLENTS
static final TagKey
<PaintingVariant> PaintingVariantTags.PLACEABLE
BlockTags.PLANKS
ItemTags.PLANKS
BiomeTags.PLAYS_UNDERWATER_MUSIC
BiomeTags.POLAR_BEARS_SPAWN_ON_ALTERNATE_BLOCKS
BlockTags.POLAR_BEARS_SPAWNABLE_ON_ALTERNATE
BlockTags.PORTALS
static final TagKey
<EntityType<?>> EntityTypeTags.POWDER_SNOW_WALKABLE_MOBS
BlockTags.PRESSURE_PLATES
BlockTags.PREVENT_MOB_SPAWNING_INSIDE
BiomeTags.PRODUCES_CORALS_FROM_BONEMEAL
ItemTags.RABBIT_FOOD
BlockTags.RABBITS_SPAWNABLE_ON
static final TagKey
<EntityType<?>> EntityTypeTags.RAIDERS
BlockTags.RAILS
ItemTags.RAILS
static final TagKey
<EntityType<?>> EntityTypeTags.REDIRECTABLE_PROJECTILE
BlockTags.REDSTONE_ORES
ItemTags.REDSTONE_ORES
BiomeTags.REDUCED_WATER_AMBIENT_SPAWNS
static final TagKey
<Instrument> InstrumentTags.REGULAR_GOAT_HORNS
BlockTags.REPLACEABLE
BlockTags.REPLACEABLE_BY_TREES
BiomeTags.REQUIRED_OCEAN_MONUMENT_SURROUNDING
StructureTags.RUINED_PORTAL
BlockTags.SAND
ItemTags.SAND
BlockTags.SAPLINGS
ItemTags.SAPLINGS
static final TagKey
<Instrument> InstrumentTags.SCREAMING_GOAT_HORNS
BlockTags.SCULK_REPLACEABLE
BlockTags.SCULK_REPLACEABLE_WORLD_GEN
static final TagKey
<EntityType<?>> EntityTypeTags.SENSITIVE_TO_BANE_OF_ARTHROPODS
static final TagKey
<EntityType<?>> EntityTypeTags.SENSITIVE_TO_IMPALING
static final TagKey
<EntityType<?>> EntityTypeTags.SENSITIVE_TO_SMITE
ItemTags.SHARP_WEAPON_ENCHANTABLE
ItemTags.SHEEP_FOOD
StructureTags.SHIPWRECK
ItemTags.SHOVELS
GameEventTags.SHRIEKER_CAN_LISTEN
BlockTags.SHULKER_BOXES
BlockTags.SIGNS
ItemTags.SIGNS
static final TagKey
<EntityType<?>> EntityTypeTags.SKELETONS
ItemTags.SKULLS
BlockTags.SLABS
ItemTags.SLABS
BlockTags.SMALL_DRIPLEAF_PLACEABLE
BlockTags.SMALL_FLOWERS
ItemTags.SMALL_FLOWERS
BlockTags.SMELTS_TO_GLASS
ItemTags.SMELTS_TO_GLASS
BlockTags.SNAPS_GOAT_HORN
BlockTags.SNIFFER_DIGGABLE_BLOCK
BlockTags.SNIFFER_EGG_HATCH_BOOST
ItemTags.SNIFFER_FOOD
BlockTags.SNOW
BiomeTags.SNOW_GOLEM_MELTS
BlockTags.SNOW_LAYER_CAN_SURVIVE_ON
BlockTags.SNOW_LAYER_CANNOT_SURVIVE_ON
BlockTags.SOUL_FIRE_BASE_BLOCKS
ItemTags.SOUL_FIRE_BASE_BLOCKS
BlockTags.SOUL_SPEED_BLOCKS
BiomeTags.SPAWNS_COLD_VARIANT_FROGS
BiomeTags.SPAWNS_GOLD_RABBITS
BiomeTags.SPAWNS_SNOW_FOXES
BiomeTags.SPAWNS_WARM_VARIANT_FROGS
BiomeTags.SPAWNS_WHITE_RABBITS
BlockTags.SPRUCE_LOGS
ItemTags.SPRUCE_LOGS
BlockTags.STAIRS
ItemTags.STAIRS
BlockTags.STANDING_SIGNS
BlockTags.STONE_BRICKS
ItemTags.STONE_BRICKS
BlockTags.STONE_BUTTONS
ItemTags.STONE_BUTTONS
ItemTags.STONE_CRAFTING_MATERIALS
BlockTags.STONE_ORE_REPLACEABLES
BlockTags.STONE_PRESSURE_PLATES
ItemTags.STONE_TOOL_MATERIALS
ItemTags.STRIDER_FOOD
ItemTags.STRIDER_TEMPT_ITEMS
BlockTags.STRIDER_WARM_BLOCKS
BiomeTags.STRONGHOLD_BIASED_TO
BlockTags.SWORD_EFFICIENT
ItemTags.SWORD_ENCHANTABLE
ItemTags.SWORDS
BlockTags.TALL_FLOWERS
ItemTags.TALL_FLOWERS
BlockTags.TERRACOTTA
ItemTags.TERRACOTTA
static final TagKey
<Enchantment> EnchantmentTags.TOOLTIP_ORDER
BlockTags.TRAIL_RUINS_REPLACEABLE
BlockTags.TRAPDOORS
ItemTags.TRAPDOORS
ItemTags.TRIDENT_ENCHANTABLE
ItemTags.TRIM_MATERIALS
ItemTags.TRIM_TEMPLATES
ItemTags.TRIMMABLE_ARMOR
ItemTags.TURTLE_FOOD
static final TagKey
<EntityType<?>> EntityTypeTags.UNDEAD
BlockTags.UNDERWATER_BONEMEALS
BlockTags.UNSTABLE_BOTTOM_CENTER
BlockTags.VALID_SPAWN
ItemTags.VANISHING_ENCHANTABLE
BlockTags.VIBRATION_RESONATORS
GameEventTags.VIBRATIONS
PoiTypeTags.VILLAGE
StructureTags.VILLAGE
ItemTags.VILLAGER_PLANTABLE_SEEDS
static final TagKey
<FlatLevelGeneratorPreset> FlatLevelGeneratorPresetTags.VISIBLE
BlockTags.WALL_CORALS
BlockTags.WALL_HANGING_SIGNS
BlockTags.WALL_POST_OVERRIDE
BlockTags.WALL_SIGNS
BlockTags.WALLS
ItemTags.WALLS
GameEventTags.WARDEN_CAN_LISTEN
BlockTags.WARPED_STEMS
ItemTags.WARPED_STEMS
BlockTags.WART_BLOCKS
ItemTags.WART_BLOCKS
FluidTags.WATER
BiomeTags.WATER_ON_MAP_OUTLINES
ItemTags.WEAPON_ENCHANTABLE
static final TagKey
<DamageType> DamageTypeTags.WITCH_RESISTANT_TO
static final TagKey
<EntityType<?>> EntityTypeTags.WITHER_FRIENDS
BlockTags.WITHER_IMMUNE
static final TagKey
<DamageType> DamageTypeTags.WITHER_IMMUNE_TO
BlockTags.WITHER_SUMMON_BASE_BLOCKS
BiomeTags.WITHOUT_PATROL_SPAWNS
BiomeTags.WITHOUT_WANDERING_TRADER_SPAWNS
BiomeTags.WITHOUT_ZOMBIE_SIEGES
ItemTags.WOLF_FOOD
BlockTags.WOLVES_SPAWNABLE_ON
BlockTags.WOODEN_BUTTONS
ItemTags.WOODEN_BUTTONS
BlockTags.WOODEN_DOORS
ItemTags.WOODEN_DOORS
BlockTags.WOODEN_FENCES
ItemTags.WOODEN_FENCES
BlockTags.WOODEN_PRESSURE_PLATES
ItemTags.WOODEN_PRESSURE_PLATES
BlockTags.WOODEN_SLABS
ItemTags.WOODEN_SLABS
BlockTags.WOODEN_STAIRS
ItemTags.WOODEN_STAIRS
BlockTags.WOODEN_TRAPDOORS
ItemTags.WOODEN_TRAPDOORS
BlockTags.WOOL
ItemTags.WOOL
BlockTags.WOOL_CARPETS
ItemTags.WOOL_CARPETS
static final TagKey
<EntityType<?>> EntityTypeTags.ZOMBIES
Fields in net.minecraft.tags with type parameters of type TagKeyModifier and TypeFieldDescriptionprivate static final com.google.common.collect.Interner
<TagKey<?>> TagKey.VALUES
Methods in net.minecraft.tags that return TagKeyModifier and TypeMethodDescriptionprivate static TagKey
<BannerPattern> BlockTags.create
(ResourceLocation name) private static TagKey
<CatVariant> private static TagKey
<DamageType> private static TagKey
<Enchantment> private static TagKey
<EntityType<?>> private static TagKey
<FlatLevelGeneratorPreset> FluidTags.create
(ResourceLocation name) private static TagKey
<Instrument> ItemTags.create
(ResourceLocation name) private static TagKey
<PaintingVariant> static <T> TagKey
<T> TagKey.create
(ResourceKey<? extends Registry<T>> p_203883_, ResourceLocation p_203884_) private static TagKey
<WorldPreset> Methods in net.minecraft.tags that return types with arguments of type TagKeyModifier and TypeMethodDescriptionTagKey.cast
(ResourceKey<? extends Registry<E>> p_207648_) static <T> com.mojang.serialization.Codec
<TagKey<T>> TagKey.codec
(ResourceKey<? extends Registry<T>> p_203878_) static <T> com.mojang.serialization.Codec
<TagKey<T>> TagKey.hashedCodec
(ResourceKey<? extends Registry<T>> p_203887_) Methods in net.minecraft.tags with parameters of type TagKey -
Uses of TagKey in net.minecraft.world.damagesource
Methods in net.minecraft.world.damagesource with parameters of type TagKey -
Uses of TagKey in net.minecraft.world.entity
Fields in net.minecraft.world.entity with type parameters of type TagKeyMethods in net.minecraft.world.entity that return types with arguments of type TagKeyMethods in net.minecraft.world.entity with parameters of type TagKeyModifier and TypeMethodDescriptiondouble
Entity.getFluidHeight
(TagKey<Fluid> p_204037_) Deprecated.boolean
EntityType.is
(TagKey<EntityType<?>> p_204040_) boolean
Entity.isEyeInFluid
(TagKey<Fluid> p_204030_) Deprecated.protected void
LivingEntity.jumpInLiquid
(TagKey<Fluid> p_204043_) Deprecated.protected void
Mob.jumpInLiquid
(TagKey<Fluid> p_204045_) Deprecated.boolean
Entity.updateFluidHeightAndDoFluidPushing
(TagKey<Fluid> p_204032_, double p_204033_) Deprecated. -
Uses of TagKey in net.minecraft.world.entity.ai.behavior
Fields in net.minecraft.world.entity.ai.behavior declared as TagKeyConstructors in net.minecraft.world.entity.ai.behavior with parameters of type TagKeyModifierConstructorDescriptionLongJumpToPreferredBlock
(UniformInt p_250024_, int p_249524_, int p_250434_, float p_252307_, Function<E, SoundEvent> p_248661_, TagKey<Block> p_251760_, float p_249002_, BiPredicate<E, BlockPos> p_251818_) -
Uses of TagKey in net.minecraft.world.entity.animal
Methods in net.minecraft.world.entity.animal with parameters of type TagKeyModifier and TypeMethodDescriptionprotected void
Bee.jumpInLiquid
(TagKey<Fluid> p_204061_) Deprecated.(package private) static void
WolfVariants.register
(BootstrapContext<WolfVariant> p_333957_, ResourceKey<WolfVariant> p_334052_, String p_333903_, TagKey<Biome> p_333877_) -
Uses of TagKey in net.minecraft.world.entity.animal.allay
Methods in net.minecraft.world.entity.animal.allay that return TagKey -
Uses of TagKey in net.minecraft.world.entity.monster
Methods in net.minecraft.world.entity.monster with parameters of type TagKeyModifier and TypeMethodDescriptionprotected void
MagmaCube.jumpInLiquid
(TagKey<Fluid> p_204065_) Deprecated. -
Uses of TagKey in net.minecraft.world.entity.monster.warden
Methods in net.minecraft.world.entity.monster.warden that return TagKey -
Uses of TagKey in net.minecraft.world.entity.npc
Fields in net.minecraft.world.entity.npc declared as TagKeyConstructors in net.minecraft.world.entity.npc with parameters of type TagKeyModifierConstructorDescriptionTreasureMapForEmeralds
(int p_207767_, TagKey<Structure> p_207768_, String p_207769_, Holder<MapDecorationType> p_335969_, int p_207771_, int p_207772_) -
Uses of TagKey in net.minecraft.world.entity.player
Methods in net.minecraft.world.entity.player with parameters of type TagKey -
Uses of TagKey in net.minecraft.world.item
Fields in net.minecraft.world.item declared as TagKeyModifier and TypeFieldDescriptionprivate final TagKey
<BannerPattern> BannerPatternItem.bannerPattern
Tiers.incorrectBlocksForDrops
private final TagKey
<Instrument> InstrumentItem.instruments
DyeColor.tag
Methods in net.minecraft.world.item that return TagKeyModifier and TypeMethodDescriptionBannerPatternItem.getBannerPattern()
Tier.getIncorrectBlocksForDrops()
Tiers.getIncorrectBlocksForDrops()
DyeColor.getTag()
Tiers.getTag()
Methods in net.minecraft.world.item that return types with arguments of type TagKeyMethods in net.minecraft.world.item with parameters of type TagKeyModifier and TypeMethodDescriptiondefault Tool
Tier.createToolProperties
(TagKey<Block> p_335416_) private static void
CreativeModeTabs.generateInstrumentTypes
(CreativeModeTab.Output p_270699_, HolderLookup<Instrument> p_270948_, Item p_270421_, TagKey<Instrument> p_270798_, CreativeModeTab.TabVisibility p_270817_) boolean
static void
InstrumentItem.setRandom
(ItemStack p_220111_, TagKey<Instrument> p_220112_, RandomSource p_220113_) Method parameters in net.minecraft.world.item with type arguments of type TagKeyModifier and TypeMethodDescriptionprivate static void
CreativeModeTabs.generateEnchantmentBookTypesAllLevels
(CreativeModeTab.Output p_270961_, HolderLookup<Enchantment> p_270628_, Set<TagKey<Item>> p_271024_, CreativeModeTab.TabVisibility p_270805_, FeatureFlagSet p_338625_) private static void
CreativeModeTabs.generateEnchantmentBookTypesOnlyMaxLevel
(CreativeModeTab.Output p_270868_, HolderLookup<Enchantment> p_270903_, Set<TagKey<Item>> p_270380_, CreativeModeTab.TabVisibility p_270407_, FeatureFlagSet p_338678_) Constructors in net.minecraft.world.item with parameters of type TagKeyModifierConstructorDescriptionBannerPatternItem
(TagKey<BannerPattern> p_220008_, Item.Properties p_220009_) protected
DiggerItem
(Tier p_204110_, TagKey<Block> p_204111_, Item.Properties p_204112_) InstrumentItem
(Item.Properties p_220099_, TagKey<Instrument> p_220100_) private
Tiers
(TagKey<Block> p_336171_, int p_43332_, float p_43334_, float p_43335_, int p_43333_, Supplier<Ingredient> p_43337_) -
Uses of TagKey in net.minecraft.world.item.component
Methods in net.minecraft.world.item.component with parameters of type TagKeyModifier and TypeMethodDescriptionstatic Tool.Rule
Tool.Rule.deniesDrops
(TagKey<Block> p_335654_) private static Tool.Rule
static Tool.Rule
Tool.Rule.minesAndDrops
(TagKey<Block> p_335441_, float p_336060_) static Tool.Rule
Tool.Rule.overrideSpeed
(TagKey<Block> p_335580_, float p_335857_) -
Uses of TagKey in net.minecraft.world.item.crafting
Fields in net.minecraft.world.item.crafting declared as TagKeyMethods in net.minecraft.world.item.crafting that return TagKeyModifier and TypeMethodDescriptionIngredient.TagValue.tag()
Returns the value of thetag
record component.Methods in net.minecraft.world.item.crafting with parameters of type TagKeyConstructors in net.minecraft.world.item.crafting with parameters of type TagKey -
Uses of TagKey in net.minecraft.world.item.enchantment
Fields in net.minecraft.world.item.enchantment declared as TagKeyModifier and TypeFieldDescriptionEnchantment.EnchantmentDefinition.supportedItems
The field for thesupportedItems
record component.Fields in net.minecraft.world.item.enchantment with type parameters of type TagKeyModifier and TypeFieldDescriptionEnchantment.EnchantmentDefinition.primaryItems
The field for theprimaryItems
record component.private final Optional
<TagKey<EntityType<?>>> DamageEnchantment.targets
Methods in net.minecraft.world.item.enchantment that return TagKeyModifier and TypeMethodDescriptionEnchantment.getSupportedItems()
Enchantment.EnchantmentDefinition.supportedItems()
Returns the value of thesupportedItems
record component.Methods in net.minecraft.world.item.enchantment that return types with arguments of type TagKeyModifier and TypeMethodDescriptionEnchantment.EnchantmentDefinition.primaryItems()
Returns the value of theprimaryItems
record component.Methods in net.minecraft.world.item.enchantment with parameters of type TagKeyModifier and TypeMethodDescriptionEnchantment.definition
(TagKey<Item> p_335812_, int p_335506_, int p_335598_, Enchantment.Cost p_336185_, Enchantment.Cost p_335768_, int p_335409_, EquipmentSlot... p_335583_) Enchantment.definition
(TagKey<Item> p_338699_, int p_338488_, int p_338497_, Enchantment.Cost p_338563_, Enchantment.Cost p_338689_, int p_338253_, FeatureFlagSet p_338531_, EquipmentSlot... p_338705_) Enchantment.definition
(TagKey<Item> p_335552_, TagKey<Item> p_336174_, int p_335557_, int p_336051_, Enchantment.Cost p_336176_, Enchantment.Cost p_335380_, int p_335569_, EquipmentSlot... p_335470_) private static <T> HolderSet
<T> ItemEnchantments.getTagOrEmpty
(HolderLookup.Provider p_341186_, ResourceKey<Registry<T>> p_341113_, TagKey<T> p_341409_) Constructors in net.minecraft.world.item.enchantment with parameters of type TagKeyModifierConstructorDescriptionEnchantmentDefinition
(TagKey<Item> supportedItems, Optional<TagKey<Item>> primaryItems, int weight, int maxLevel, Enchantment.Cost minCost, Enchantment.Cost maxCost, int anvilCost, FeatureFlagSet requiredFeatures, EquipmentSlot[] slots) Creates an instance of aEnchantmentDefinition
record class.Constructor parameters in net.minecraft.world.item.enchantment with type arguments of type TagKeyModifierConstructorDescriptionDamageEnchantment
(Enchantment.EnchantmentDefinition p_336160_, Optional<TagKey<EntityType<?>>> p_319895_) EnchantmentDefinition
(TagKey<Item> supportedItems, Optional<TagKey<Item>> primaryItems, int weight, int maxLevel, Enchantment.Cost minCost, Enchantment.Cost maxCost, int anvilCost, FeatureFlagSet requiredFeatures, EquipmentSlot[] slots) Creates an instance of aEnchantmentDefinition
record class. -
Uses of TagKey in net.minecraft.world.level
Methods in net.minecraft.world.level with parameters of type TagKeyModifier and TypeMethodDescriptionStructureManager.getStructureWithPieceAt
(BlockPos p_220492_, TagKey<Structure> p_220493_) -
Uses of TagKey in net.minecraft.world.level.block
Fields in net.minecraft.world.level.block declared as TagKeyMethods in net.minecraft.world.level.block that return TagKeyConstructors in net.minecraft.world.level.block with parameters of type TagKeyModifierConstructorDescriptionSculkSpreader
(boolean p_222248_, TagKey<Block> p_222249_, int p_222250_, int p_222251_, int p_222252_, int p_222253_) -
Uses of TagKey in net.minecraft.world.level.block.entity
Methods in net.minecraft.world.level.block.entity that return TagKeyMethods in net.minecraft.world.level.block.entity with parameters of type TagKeyModifier and TypeMethodDescriptionprivate static void
AbstractFurnaceBlockEntity.add
(ObjIntConsumer<com.mojang.datafixers.util.Either<Item, TagKey<Item>>> consumer, TagKey<Item> tag, int time) private static void
Method parameters in net.minecraft.world.level.block.entity with type arguments of type TagKeyModifier and TypeMethodDescriptionprivate static void
AbstractFurnaceBlockEntity.add
(ObjIntConsumer<com.mojang.datafixers.util.Either<Item, TagKey<Item>>> consumer, TagKey<Item> tag, int time) private static void
AbstractFurnaceBlockEntity.add
(ObjIntConsumer<com.mojang.datafixers.util.Either<Item, TagKey<Item>>> consumer, ItemLike item, int time) static void
AbstractFurnaceBlockEntity.buildFuels
(ObjIntConsumer<com.mojang.datafixers.util.Either<Item, TagKey<Item>>> map1) -
Uses of TagKey in net.minecraft.world.level.block.state
Methods in net.minecraft.world.level.block.state that return types with arguments of type TagKeyMethods in net.minecraft.world.level.block.state with parameters of type TagKey -
Uses of TagKey in net.minecraft.world.level.dimension
Fields in net.minecraft.world.level.dimension declared as TagKeyModifier and TypeFieldDescriptionDimensionType.infiniburn
The field for theinfiniburn
record component.Methods in net.minecraft.world.level.dimension that return TagKeyModifier and TypeMethodDescriptionDimensionType.infiniburn()
Returns the value of theinfiniburn
record component.Constructors in net.minecraft.world.level.dimension with parameters of type TagKeyModifierConstructorDescriptionDimensionType
(OptionalLong fixedTime, boolean hasSkyLight, boolean hasCeiling, boolean ultraWarm, boolean natural, double coordinateScale, boolean bedWorks, boolean respawnAnchorWorks, int minY, int height, int logicalHeight, TagKey<Block> infiniburn, ResourceLocation effectsLocation, float ambientLight, DimensionType.MonsterSettings monsterSettings) Creates an instance of aDimensionType
record class. -
Uses of TagKey in net.minecraft.world.level.gameevent.vibrations
Methods in net.minecraft.world.level.gameevent.vibrations that return TagKey -
Uses of TagKey in net.minecraft.world.level.levelgen
Fields in net.minecraft.world.level.levelgen declared as TagKeyModifier and TypeFieldDescriptionGeodeBlockSettings.cannotReplace
GeodeBlockSettings.invalidBlocks
Constructors in net.minecraft.world.level.levelgen with parameters of type TagKeyModifierConstructorDescriptionGeodeBlockSettings
(BlockStateProvider p_204555_, BlockStateProvider p_204556_, BlockStateProvider p_204557_, BlockStateProvider p_204558_, BlockStateProvider p_204559_, List<BlockState> p_204560_, TagKey<Block> p_204561_, TagKey<Block> p_204562_) -
Uses of TagKey in net.minecraft.world.level.levelgen.blockpredicates
Fields in net.minecraft.world.level.levelgen.blockpredicates declared as TagKeyMethods in net.minecraft.world.level.levelgen.blockpredicates with parameters of type TagKeyModifier and TypeMethodDescriptionstatic BlockPredicate
BlockPredicate.matchesTag
(Vec3i p_224769_, TagKey<Block> p_224770_) static BlockPredicate
BlockPredicate.matchesTag
(TagKey<Block> p_204678_) Constructors in net.minecraft.world.level.levelgen.blockpredicates with parameters of type TagKeyModifierConstructorDescriptionprotected
MatchingBlockTagPredicate
(Vec3i p_204683_, TagKey<Block> p_204684_) -
Uses of TagKey in net.minecraft.world.level.levelgen.feature
Methods in net.minecraft.world.level.levelgen.feature with parameters of type TagKeyModifier and TypeMethodDescriptionstatic Predicate
<BlockState> Feature.isReplaceable
(TagKey<Block> p_204736_) -
Uses of TagKey in net.minecraft.world.level.levelgen.feature.configurations
Fields in net.minecraft.world.level.levelgen.feature.configurations declared as TagKeyModifier and TypeFieldDescriptionVegetationPatchConfiguration.replaceable
RootSystemConfiguration.rootReplaceable
Constructors in net.minecraft.world.level.levelgen.feature.configurations with parameters of type TagKeyModifierConstructorDescriptionRootSystemConfiguration
(Holder<PlacedFeature> p_204824_, int p_204825_, int p_204826_, TagKey<Block> p_204827_, BlockStateProvider p_204828_, int p_204829_, int p_204830_, int p_204831_, int p_204832_, BlockStateProvider p_204833_, int p_204834_, int p_204835_, BlockPredicate p_204836_) VegetationPatchConfiguration
(TagKey<Block> p_204856_, BlockStateProvider p_204857_, Holder<PlacedFeature> p_204858_, CaveSurface p_204859_, IntProvider p_204860_, float p_204861_, int p_204862_, float p_204863_, IntProvider p_204864_, float p_204865_) -
Uses of TagKey in net.minecraft.world.level.levelgen.structure.templatesystem
Fields in net.minecraft.world.level.levelgen.structure.templatesystem declared as TagKeyConstructors in net.minecraft.world.level.levelgen.structure.templatesystem with parameters of type TagKeyModifierConstructorDescriptionProtectedBlockProcessor
(TagKey<Block> p_205051_) TagMatchTest
(TagKey<Block> p_205063_) -
Uses of TagKey in net.minecraft.world.level.material
Methods in net.minecraft.world.level.material that return types with arguments of type TagKeyMethods in net.minecraft.world.level.material with parameters of type TagKey -
Uses of TagKey in net.minecraft.world.level.storage.loot.entries
Fields in net.minecraft.world.level.storage.loot.entries declared as TagKeyMethods in net.minecraft.world.level.storage.loot.entries with parameters of type TagKeyModifier and TypeMethodDescriptionstatic LootPoolSingletonContainer.Builder
<?> static LootPoolSingletonContainer.Builder
<?> TagEntry.tagContents
(TagKey<Item> p_205085_) Constructors in net.minecraft.world.level.storage.loot.entries with parameters of type TagKeyModifierConstructorDescriptionprivate
TagEntry
(TagKey<Item> p_205078_, boolean p_205079_, int p_205080_, int p_205081_, List<LootItemCondition> p_298985_, List<LootItemFunction> p_299088_) -
Uses of TagKey in net.minecraft.world.level.storage.loot.functions
Fields in net.minecraft.world.level.storage.loot.functions declared as TagKeyModifier and TypeFieldDescriptionExplorationMapFunction.DEFAULT_DESTINATION
ExplorationMapFunction.Builder.destination
ExplorationMapFunction.destination
private final TagKey
<Instrument> SetInstrumentFunction.options
Methods in net.minecraft.world.level.storage.loot.functions with parameters of type TagKeyModifier and TypeMethodDescriptionExplorationMapFunction.Builder.setDestination
(TagKey<Structure> p_210659_) static LootItemConditionalFunction.Builder
<?> SetInstrumentFunction.setInstrumentOptions
(TagKey<Instrument> p_231012_) Constructors in net.minecraft.world.level.storage.loot.functions with parameters of type TagKeyModifierConstructorDescription(package private)
ExplorationMapFunction
(List<LootItemCondition> p_298451_, TagKey<Structure> p_210653_, Holder<MapDecorationType> p_336106_, byte p_210655_, int p_210656_, boolean p_210657_) private
SetInstrumentFunction
(List<LootItemCondition> p_298993_, TagKey<Instrument> p_231009_) -
Uses of TagKey in net.neoforged.neoforge.client
Method parameters in net.neoforged.neoforge.client with type arguments of type TagKeyModifier and TypeMethodDescriptionprivate static void
TagConventionLogWarningClient.extractUnregisteredModdedTags
(Registry<?> registry, List<TagKey<?>> untranslatedTags) -
Uses of TagKey in net.neoforged.neoforge.common
Fields in net.neoforged.neoforge.common declared as TagKeyModifier and TypeFieldDescriptionTags.Items.ARMORS
Collects the 4 vanilla armor tags into one parent collection for ease.Tags.Blocks.BARRELS
Tags.Items.BARRELS
Tags.Blocks.BARRELS_WOODEN
Tags.Items.BARRELS_WOODEN
Tags.Fluids.BEETROOT_SOUP
Holds all fluids related to Beetroot Soup.
(Standard unit for beetroot soup is 250mb per bowl)static final TagKey
<EntityType<?>> Tags.EntityTypes.BOATS
Tags.Items.BONES
Tags.Blocks.BOOKSHELVES
Tags.Items.BOOKSHELVES
static final TagKey
<EntityType<?>> Tags.EntityTypes.BOSSES
Tags.Items.BRICKS
Tags.Items.BRICKS_NETHER
Tags.Items.BRICKS_NORMAL
Tags.Items.BUCKETS
Tags.Items.BUCKETS_EMPTY
Tags.Items.BUCKETS_ENTITY_WATER
Tags.Items.BUCKETS_LAVA
If checking for the fluid this bucket holds in code, please useFluidBucketWrapper.getFluid()
instead.Tags.Items.BUCKETS_MILK
Tags.Items.BUCKETS_POWDER_SNOW
Tags.Items.BUCKETS_WATER
Does not include entity water buckets.Tags.Blocks.BUDDING_BLOCKS
For blocks that are similar to amethyst where their budding block produces buds and cluster blocksTags.Items.BUDDING_BLOCKS
For blocks that are similar to amethyst where their budding block produces buds and cluster blocksTags.Blocks.BUDS
For blocks that are similar to amethyst where they have buddings forming from budding blocksTags.Items.BUDS
For blocks that are similar to amethyst where they have buddings forming from budding blocksstatic final TagKey
<EntityType<?>> Tags.EntityTypes.CAPTURING_NOT_SUPPORTED
Entities should be included in this tag if they are not allowed to be picked up by items or grabbed in a way that a player can easily move the entity to anywhere they want.Tags.Blocks.CHAINS
Tags.Items.CHAINS
Tags.Blocks.CHESTS
Tags.Items.CHESTS
Tags.Blocks.CHESTS_ENDER
Tags.Items.CHESTS_ENDER
Tags.Blocks.CHESTS_TRAPPED
Tags.Items.CHESTS_TRAPPED
Tags.Blocks.CHESTS_WOODEN
Tags.Items.CHESTS_WOODEN
Tags.Blocks.CLUSTERS
For blocks that are similar to amethyst where they have clusters forming from budding blocksTags.Items.CLUSTERS
For blocks that are similar to amethyst where they have clusters forming from budding blocksTags.Blocks.COBBLESTONES
Tags.Items.COBBLESTONES
Tags.Blocks.COBBLESTONES_DEEPSLATE
Tags.Items.COBBLESTONES_DEEPSLATE
Tags.Blocks.COBBLESTONES_INFESTED
Tags.Items.COBBLESTONES_INFESTED
Tags.Blocks.COBBLESTONES_MOSSY
Tags.Items.COBBLESTONES_MOSSY
Tags.Blocks.COBBLESTONES_NORMAL
Tags.Items.COBBLESTONES_NORMAL
Tags.Items.CROPS
Tags.Items.CROPS_BEETROOT
Tags.Items.CROPS_CARROT
Tags.Items.CROPS_NETHER_WART
Tags.Items.CROPS_POTATO
Tags.Items.CROPS_WHEAT
Tags.Items.DUSTS
Tags.Items.DUSTS_GLOWSTONE
Tags.Items.DUSTS_REDSTONE
Tags.Blocks.DYED
Tag that holds all blocks that can be dyed a specific color.Tags.Items.DYED
Tag that holds all blocks and items that can be dyed a specific color.Tags.Blocks.DYED_BLACK
Tags.Items.DYED_BLACK
Tags.Blocks.DYED_BLUE
Tags.Items.DYED_BLUE
Tags.Blocks.DYED_BROWN
Tags.Items.DYED_BROWN
Tags.Blocks.DYED_CYAN
Tags.Items.DYED_CYAN
Tags.Blocks.DYED_GRAY
Tags.Items.DYED_GRAY
Tags.Blocks.DYED_GREEN
Tags.Items.DYED_GREEN
Tags.Blocks.DYED_LIGHT_BLUE
Tags.Items.DYED_LIGHT_BLUE
Tags.Blocks.DYED_LIGHT_GRAY
Tags.Items.DYED_LIGHT_GRAY
Tags.Blocks.DYED_LIME
Tags.Items.DYED_LIME
Tags.Blocks.DYED_MAGENTA
Tags.Items.DYED_MAGENTA
Tags.Blocks.DYED_ORANGE
Tags.Items.DYED_ORANGE
Tags.Blocks.DYED_PINK
Tags.Items.DYED_PINK
Tags.Blocks.DYED_PURPLE
Tags.Items.DYED_PURPLE
Tags.Blocks.DYED_RED
Tags.Items.DYED_RED
Tags.Blocks.DYED_WHITE
Tags.Items.DYED_WHITE
Tags.Blocks.DYED_YELLOW
Tags.Items.DYED_YELLOW
Tags.Items.DYES
Tags.Items.DYES_BLACK
Tags.Items.DYES_BLUE
Tags.Items.DYES_BROWN
Tags.Items.DYES_CYAN
Tags.Items.DYES_GRAY
Tags.Items.DYES_GREEN
Tags.Items.DYES_LIGHT_BLUE
Tags.Items.DYES_LIGHT_GRAY
Tags.Items.DYES_LIME
Tags.Items.DYES_MAGENTA
Tags.Items.DYES_ORANGE
Tags.Items.DYES_PINK
Tags.Items.DYES_PURPLE
Tags.Items.DYES_RED
Tags.Items.DYES_WHITE
Tags.Items.DYES_YELLOW
Tags.Items.EGGS
Tags.Items.ENCHANTABLES
Collects the many enchantable tags into one parent collection for ease.Tags.Items.ENCHANTING_FUELS
Controls what items can be consumed for enchanting such as Enchanting Tables.Tags.Blocks.END_STONES
Tags.Items.END_STONES
Tags.Items.ENDER_PEARLS
Tags.Blocks.ENDERMAN_PLACE_ON_BLACKLIST
Controls what blocks Endermen cannot place blocks onto.static final TagKey
<Enchantment> Tags.Enchantments.ENTITY_AUXILIARY_MOVEMENT_ENHANCEMENTS
For enchantments that applies movement-based benefits unrelated to speed for the entity wearing armor enchanted with it.static final TagKey
<Enchantment> Tags.Enchantments.ENTITY_DEFENSE_ENHANCEMENTS
For enchantments that decrease damage taken or otherwise benefit, in regard to damage, the entity wearing armor enchanted with it.static final TagKey
<Enchantment> Tags.Enchantments.ENTITY_SPEED_ENHANCEMENTS
For enchantments that increase movement speed for entity wearing armor enchanted with it.Tags.Items.FEATHERS
Tags.Blocks.FENCE_GATES
Tags.Items.FENCE_GATES
Tags.Blocks.FENCE_GATES_WOODEN
Tags.Items.FENCE_GATES_WOODEN
Tags.Blocks.FENCES
Tags.Items.FENCES
Tags.Blocks.FENCES_NETHER_BRICK
Tags.Items.FENCES_NETHER_BRICK
Tags.Blocks.FENCES_WOODEN
Tags.Items.FENCES_WOODEN
Tags.Items.FOODS
Tags.Items.FOODS_BERRIES
Strawberries, raspberries, and other berry foods belong in this tag.Tags.Items.FOODS_BREADS
Tags.Items.FOODS_CANDIES
Sweets and candies like lollipops or chocolate belong in this tag.Tags.Items.FOODS_COOKED_FISHES
Tags.Items.FOODS_COOKED_MEATS
Tags.Items.FOODS_COOKIES
Tags.Items.FOODS_EDIBLE_WHEN_PLACED
Foods like cake that can be eaten when placed in the world belong in this tag.Tags.Items.FOODS_FOOD_POISONING
For foods that inflict food poisoning-like effects.Tags.Items.FOODS_FRUITS
Apples and other foods that are considered fruits in the culinary field belong in this tag.Tags.Items.FOODS_RAW_FISHES
Tags.Items.FOODS_RAW_MEATS
Tags.Items.FOODS_SOUPS
Soups, stews, and other liquid food in bowls belongs in this tag.Tags.Items.FOODS_VEGETABLES
Tomatoes and other foods that are considered vegetables in the culinary field belong in this tag.Tags.Fluids.GASEOUS
Holds all fluids that are gaseous at room temperature.Tags.Items.GEMS
Tags.Items.GEMS_AMETHYST
Tags.Items.GEMS_DIAMOND
Tags.Items.GEMS_EMERALD
Tags.Items.GEMS_LAPIS
Tags.Items.GEMS_PRISMARINE
Tags.Items.GEMS_QUARTZ
Tags.Blocks.GLASS_BLOCKS
Tags.Items.GLASS_BLOCKS
Tags.Blocks.GLASS_BLOCKS_CHEAP
Glass which is made from cheap resources like sand and only minor additional ingredients like dyesTags.Items.GLASS_BLOCKS_CHEAP
Glass which is made from cheap resources like sand and only minor additional ingredients like dyesTags.Blocks.GLASS_BLOCKS_COLORLESS
Tags.Items.GLASS_BLOCKS_COLORLESS
Tags.Blocks.GLASS_BLOCKS_TINTED
Tags.Items.GLASS_BLOCKS_TINTED
Tags.Blocks.GLASS_PANES
Tags.Items.GLASS_PANES
Tags.Blocks.GLASS_PANES_COLORLESS
Tags.Items.GLASS_PANES_COLORLESS
Tags.Blocks.GRAVELS
Tags.Items.GRAVELS
Tags.Items.GUNPOWDERS
Tags.Structures.HIDDEN_FROM_DISPLAYERS
Structures that should not show up on minimaps or world map views from mods/sites.Tags.Biomes.HIDDEN_FROM_LOCATOR_SELECTION
Biomes that should not be locatable/selectable by modded biome-locating items or abilities.Tags.Structures.HIDDEN_FROM_LOCATOR_SELECTION
Structures that should not be locatable/selectable by modded structure-locating items or abilities.Tags.Blocks.HIDDEN_FROM_RECIPE_VIEWERS
Tag that holds all blocks that recipe viewers should not show to users.Tags.Fluids.HIDDEN_FROM_RECIPE_VIEWERS
Tag that holds all fluids that recipe viewers should not show to users.Tags.Items.HIDDEN_FROM_RECIPE_VIEWERS
Tag that holds all items that recipe viewers should not show to users.Tags.Fluids.HONEY
Holds all fluids related to honey.
(Standard unit for honey bottle is 250mb per bottle)SimpleTier.incorrectBlocksForDrops
static final TagKey
<Enchantment> Tags.Enchantments.INCREASE_BLOCK_DROPS
A tag containing enchantments that increase the amount or quality of drops from blocks, such asEnchantments.FORTUNE
.static final TagKey
<Enchantment> Tags.Enchantments.INCREASE_ENTITY_DROPS
A tag containing enchantments that increase the amount or quality of drops from entities, such asEnchantments.LOOTING
.Tags.Items.INGOTS
Tags.Items.INGOTS_COPPER
Tags.Items.INGOTS_GOLD
Tags.Items.INGOTS_IRON
Tags.Items.INGOTS_NETHERITE
Tags.Biomes.IS_AQUATIC
Biomes consisting primarily of water.Tags.Biomes.IS_AQUATIC_ICY
For water biomes where ice naturally spawns.Tags.Biomes.IS_BADLANDS
Biomes that spawn as a badlands.Tags.Biomes.IS_BEACH
Biomes that are dedicated to spawning on the shoreline of a body of water.Tags.Biomes.IS_BIRCH_FOREST
Tags.Biomes.IS_CAVE
Tags.Biomes.IS_COLD
Tags.Biomes.IS_COLD_END
Tags.Biomes.IS_COLD_NETHER
Tags.Biomes.IS_COLD_OVERWORLD
Tags.Biomes.IS_CONIFEROUS_TREE
Tags.Biomes.IS_DEAD
Biomes whose flora primarily consists of dead or decaying vegetation.Tags.Biomes.IS_DECIDUOUS_TREE
Tags.Biomes.IS_DEEP_OCEAN
Biomes that spawn as part of the world's oceans that have low depth.Tags.Biomes.IS_DENSE_VEGETATION
Tags.Biomes.IS_DENSE_VEGETATION_END
Tags.Biomes.IS_DENSE_VEGETATION_NETHER
Tags.Biomes.IS_DENSE_VEGETATION_OVERWORLD
Tags.Biomes.IS_DESERT
Tags.Biomes.IS_DRY
Tags.Biomes.IS_DRY_END
Tags.Biomes.IS_DRY_NETHER
Tags.Biomes.IS_DRY_OVERWORLD
Tags.Biomes.IS_END
Biomes that spawn in the End.static final TagKey
<DamageType> Tags.DamageTypes.IS_ENVIRONMENT
Damage types representing environmental damage, such as fire, lava, magma, cactus, lightning, etc.Tags.Biomes.IS_FLORAL
Biomes with a large amount of flowers.Tags.Biomes.IS_FLOWER_FOREST
Tags.Biomes.IS_FOREST
Biomes densely populated with deciduous trees.Tags.Biomes.IS_HILL
Biomes that spawn as a hills biome.Tags.Biomes.IS_HOT
Tags.Biomes.IS_HOT_END
Tags.Biomes.IS_HOT_NETHER
Tags.Biomes.IS_HOT_OVERWORLD
Tags.Biomes.IS_ICY
For land biomes where ice naturally spawns.Tags.Biomes.IS_JUNGLE
Biomes that spawn as a jungle.Tags.Biomes.IS_JUNGLE_TREE
Tags.Biomes.IS_LUSH
static final TagKey
<DamageType> Tags.DamageTypes.IS_MAGIC
Damage types representing magic damage.Tags.Biomes.IS_MAGICAL
Tags.Biomes.IS_MODIFIED
Tags.Biomes.IS_MOUNTAIN
Biomes that spawn as part of giant mountains.Tags.Biomes.IS_MOUNTAIN_PEAK
Tags.Biomes.IS_MOUNTAIN_SLOPE
Tags.Biomes.IS_MUSHROOM
Tags.Biomes.IS_NETHER
Biomes that spawn in the Nether.Tags.Biomes.IS_NETHER_FOREST
Tags.Biomes.IS_OCEAN
Biomes that spawn as part of the world's oceans.Tags.Biomes.IS_OLD_GROWTH
Tags.Biomes.IS_OUTER_END_ISLAND
Biomes that spawn as part of the large islands outside the center island in The End dimension.Tags.Biomes.IS_OVERWORLD
Biomes that spawn in the Overworld.static final TagKey
<DamageType> Tags.DamageTypes.IS_PHYSICAL
Damage types representing physical damage.
These are types that do not fit other #is_x tags (except #is_fall) and would meet the general definition of physical damage.Tags.Biomes.IS_PLAINS
For temperate or warmer plains-like biomes.Tags.Biomes.IS_PLATEAU
static final TagKey
<DamageType> Tags.DamageTypes.IS_POISON
Damage types representing poison damage.Tags.Biomes.IS_RARE
Tags.Biomes.IS_RIVER
Biomes that spawn as a river.Tags.Biomes.IS_SANDY
Biomes that are able to spawn sand-based blocks on the surface.Tags.Biomes.IS_SAVANNA
Biomes that spawn as a savanna.Tags.Biomes.IS_SAVANNA_TREE
Tags.Biomes.IS_SHALLOW_OCEAN
Tags.Biomes.IS_SNOWY
For biomes that contains lots of naturally spawned snow.Tags.Biomes.IS_SNOWY_PLAINS
For snowy plains-like biomes.Tags.Biomes.IS_SPARSE_VEGETATION
Tags.Biomes.IS_SPARSE_VEGETATION_END
Tags.Biomes.IS_SPARSE_VEGETATION_NETHER
Tags.Biomes.IS_SPARSE_VEGETATION_OVERWORLD
Tags.Biomes.IS_SPOOKY
Tags.Biomes.IS_STONY_SHORES
Tags.Biomes.IS_SWAMP
Tags.Biomes.IS_TAIGA
Biomes that spawn as a taiga.static final TagKey
<DamageType> Tags.DamageTypes.IS_TECHNICAL
Damage types representing damage from commands or other non-gameplay sources.
Damage from these types should not be reduced, and bypasses invulnerability.Tags.Biomes.IS_UNDERGROUND
Tags.Biomes.IS_VOID
Tags.Biomes.IS_WASTELAND
Biomes that lack any natural life or vegetation.Tags.Biomes.IS_WET
Tags.Biomes.IS_WET_END
Tags.Biomes.IS_WET_NETHER
Tags.Biomes.IS_WET_OVERWORLD
Tags.Biomes.IS_WINDSWEPT
static final TagKey
<DamageType> Tags.DamageTypes.IS_WITHER
Damage types representing damage that can be attributed to withering or the wither.Tags.Fluids.LAVA
Holds all fluids related to lava.Tags.Items.LEATHERS
Tags.Fluids.MILK
Holds all fluids related to milk.static final TagKey
<EntityType<?>> Tags.EntityTypes.MINECARTS
Tags.Fluids.MUSHROOM_STEW
Holds all fluids related to Mushroom Stew.
(Standard unit for mushroom stew is 250mb per bowl)Tags.Items.MUSHROOMS
Tags.Blocks.NEEDS_GOLD_TOOL
Tags.Blocks.NEEDS_NETHERITE_TOOL
Tags.Blocks.NEEDS_WOOD_TOOL
Tags.Items.NETHER_STARS
Tags.Blocks.NETHERRACKS
Tags.Items.NETHERRACKS
Tags.Biomes.NO_DEFAULT_MONSTERS
For biomes that should not spawn monsters over time the normal way.static final TagKey
<DamageType> Tags.DamageTypes.NO_FLINCH
Damage types that will not cause the red flashing effect.
This tag is empty by default.Tags.Items.NUGGETS
Tags.Items.NUGGETS_GOLD
Tags.Items.NUGGETS_IRON
Tags.Blocks.OBSIDIANS
Tags.Items.OBSIDIANS
Tags.Blocks.ORE_BEARING_GROUND_DEEPSLATE
Blocks which are often replaced by deepslate ores, i.e.Tags.Items.ORE_BEARING_GROUND_DEEPSLATE
Blocks which are often replaced by deepslate ores, i.e.Tags.Blocks.ORE_BEARING_GROUND_NETHERRACK
Blocks which are often replaced by netherrack ores, i.e.Tags.Items.ORE_BEARING_GROUND_NETHERRACK
Blocks which are often replaced by netherrack ores, i.e.Tags.Blocks.ORE_BEARING_GROUND_STONE
Blocks which are often replaced by stone ores, i.e.Tags.Items.ORE_BEARING_GROUND_STONE
Blocks which are often replaced by stone ores, i.e.Tags.Blocks.ORE_RATES_DENSE
Ores which on average result in more than one resource worth of materialsTags.Items.ORE_RATES_DENSE
Ores which on average result in more than one resource worth of materialsTags.Blocks.ORE_RATES_SINGULAR
Ores which on average result in one resource worth of materialsTags.Items.ORE_RATES_SINGULAR
Ores which on average result in one resource worth of materialsTags.Blocks.ORE_RATES_SPARSE
Ores which on average result in less than one resource worth of materialsTags.Items.ORE_RATES_SPARSE
Ores which on average result in less than one resource worth of materialsTags.Blocks.ORES
Tags.Items.ORES
Tags.Blocks.ORES_COAL
Tags.Items.ORES_COAL
Tags.Blocks.ORES_COPPER
Tags.Items.ORES_COPPER
Tags.Blocks.ORES_DIAMOND
Tags.Items.ORES_DIAMOND
Tags.Blocks.ORES_EMERALD
Tags.Items.ORES_EMERALD
Tags.Blocks.ORES_GOLD
Tags.Items.ORES_GOLD
Tags.Blocks.ORES_IN_GROUND_DEEPSLATE
Ores in deepslate (or in equivalent blocks in the tagTags.Blocks.ORE_BEARING_GROUND_DEEPSLATE
) which could logically use deepslate as recipe input or outputTags.Items.ORES_IN_GROUND_DEEPSLATE
Ores in deepslate (or in equivalent blocks in the tagTags.Items.ORE_BEARING_GROUND_DEEPSLATE
) which could logically use deepslate as recipe input or outputTags.Blocks.ORES_IN_GROUND_NETHERRACK
Ores in netherrack (or in equivalent blocks in the tagTags.Blocks.ORE_BEARING_GROUND_NETHERRACK
) which could logically use netherrack as recipe input or outputTags.Items.ORES_IN_GROUND_NETHERRACK
Ores in netherrack (or in equivalent blocks in the tagTags.Items.ORE_BEARING_GROUND_NETHERRACK
) which could logically use netherrack as recipe input or outputTags.Blocks.ORES_IN_GROUND_STONE
Ores in stone (or in equivalent blocks in the tagTags.Blocks.ORE_BEARING_GROUND_STONE
) which could logically use stone as recipe input or outputTags.Items.ORES_IN_GROUND_STONE
Ores in stone (or in equivalent blocks in the tagTags.Items.ORE_BEARING_GROUND_STONE
) which could logically use stone as recipe input or outputTags.Blocks.ORES_IRON
Tags.Items.ORES_IRON
Tags.Blocks.ORES_LAPIS
Tags.Items.ORES_LAPIS
Tags.Blocks.ORES_NETHERITE_SCRAP
Tags.Items.ORES_NETHERITE_SCRAP
Tags.Blocks.ORES_QUARTZ
Tags.Items.ORES_QUARTZ
Tags.Blocks.ORES_REDSTONE
Tags.Items.ORES_REDSTONE
Tags.Blocks.PLAYER_WORKSTATIONS_CRAFTING_TABLES
Tags.Items.PLAYER_WORKSTATIONS_CRAFTING_TABLES
Tags.Blocks.PLAYER_WORKSTATIONS_FURNACES
Tags.Items.PLAYER_WORKSTATIONS_FURNACES
Tags.Fluids.POTION
Holds all fluids related to potions.Tags.Fluids.RABBIT_STEW
Holds all fluids related to Rabbit Stew.
(Standard unit for rabbit stew is 250mb per bowl)Tags.Items.RAW_BLOCKS
Tags.Items.RAW_BLOCKS_COPPER
Tags.Items.RAW_BLOCKS_GOLD
Tags.Items.RAW_BLOCKS_IRON
Tags.Items.RAW_MATERIALS
Tags.Items.RAW_MATERIALS_COPPER
Tags.Items.RAW_MATERIALS_GOLD
Tags.Items.RAW_MATERIALS_IRON
Tags.Blocks.RELOCATION_NOT_SUPPORTED
Blocks should be included in this tag if their movement/relocation can cause serious issues such as world corruption upon being moved or for balance reason where the block should not be able to be relocated.Tags.Items.RODS
For rod-like materials to be used in recipes.Tags.Items.RODS_BLAZE
Tags.Items.RODS_BREEZE
Tags.Items.RODS_WOODEN
For stick-like materials to be used in recipes.Tags.Blocks.ROPES
Tags.Items.ROPES
Tags.Blocks.SANDS
Tags.Items.SANDS
Tags.Blocks.SANDS_COLORLESS
Tags.Items.SANDS_COLORLESS
Tags.Blocks.SANDS_RED
Tags.Items.SANDS_RED
Tags.Blocks.SANDSTONE_BLOCKS
Tags.Items.SANDSTONE_BLOCKS
Tags.Blocks.SANDSTONE_RED_BLOCKS
Tags.Items.SANDSTONE_RED_BLOCKS
Tags.Blocks.SANDSTONE_RED_SLABS
Tags.Items.SANDSTONE_RED_SLABS
Tags.Blocks.SANDSTONE_RED_STAIRS
Tags.Items.SANDSTONE_RED_STAIRS
Tags.Blocks.SANDSTONE_SLABS
Tags.Items.SANDSTONE_SLABS
Tags.Blocks.SANDSTONE_STAIRS
Tags.Items.SANDSTONE_STAIRS
Tags.Blocks.SANDSTONE_UNCOLORED_BLOCKS
Tags.Items.SANDSTONE_UNCOLORED_BLOCKS
Tags.Blocks.SANDSTONE_UNCOLORED_SLABS
Tags.Items.SANDSTONE_UNCOLORED_SLABS
Tags.Blocks.SANDSTONE_UNCOLORED_STAIRS
Tags.Items.SANDSTONE_UNCOLORED_STAIRS
Tags.Items.SEEDS
Tags.Items.SEEDS_BEETROOT
Tags.Items.SEEDS_MELON
Tags.Items.SEEDS_PUMPKIN
Tags.Items.SEEDS_WHEAT
Tags.Blocks.SKULLS
Tag that holds all head based blocks such as Skeleton Skull or Player Head.Tags.Items.SLIMEBALLS
Tags.Blocks.STONES
Natural stone-like blocks that can be used as a base ingredient in recipes that takes stone.Tags.Items.STONES
Natural stone-like blocks that can be used as a base ingredient in recipes that takes stone.Tags.Blocks.STORAGE_BLOCKS
A storage block is generally a block that has a recipe to craft a bulk of 1 kind of resource to a block and has a mirror recipe to reverse the crafting with no loss in resources.Tags.Items.STORAGE_BLOCKS
A storage block is generally a block that has a recipe to craft a bulk of 1 kind of resource to a block and has a mirror recipe to reverse the crafting with no loss in resources.Tags.Blocks.STORAGE_BLOCKS_BONE_MEAL
Tags.Items.STORAGE_BLOCKS_BONE_MEAL
Tags.Blocks.STORAGE_BLOCKS_COAL
Tags.Items.STORAGE_BLOCKS_COAL
Tags.Blocks.STORAGE_BLOCKS_COPPER
Tags.Items.STORAGE_BLOCKS_COPPER
Tags.Blocks.STORAGE_BLOCKS_DIAMOND
Tags.Items.STORAGE_BLOCKS_DIAMOND
Tags.Blocks.STORAGE_BLOCKS_DRIED_KELP
Tags.Items.STORAGE_BLOCKS_DRIED_KELP
Tags.Blocks.STORAGE_BLOCKS_EMERALD
Tags.Items.STORAGE_BLOCKS_EMERALD
Tags.Blocks.STORAGE_BLOCKS_GOLD
Tags.Items.STORAGE_BLOCKS_GOLD
Tags.Blocks.STORAGE_BLOCKS_IRON
Tags.Items.STORAGE_BLOCKS_IRON
Tags.Blocks.STORAGE_BLOCKS_LAPIS
Tags.Items.STORAGE_BLOCKS_LAPIS
Tags.Blocks.STORAGE_BLOCKS_NETHERITE
Tags.Items.STORAGE_BLOCKS_NETHERITE
Tags.Blocks.STORAGE_BLOCKS_RAW_COPPER
Tags.Items.STORAGE_BLOCKS_RAW_COPPER
Tags.Blocks.STORAGE_BLOCKS_RAW_GOLD
Tags.Items.STORAGE_BLOCKS_RAW_GOLD
Tags.Blocks.STORAGE_BLOCKS_RAW_IRON
Tags.Items.STORAGE_BLOCKS_RAW_IRON
Tags.Blocks.STORAGE_BLOCKS_REDSTONE
Tags.Items.STORAGE_BLOCKS_REDSTONE
Tags.Blocks.STORAGE_BLOCKS_SLIME
Tags.Items.STORAGE_BLOCKS_SLIME
Tags.Blocks.STORAGE_BLOCKS_WHEAT
Tags.Items.STORAGE_BLOCKS_WHEAT
Tags.Items.STRINGS
Tags.Fluids.SUSPICIOUS_STEW
Holds all fluids related to Suspicious Stew.static final TagKey
<EntityType<?>> Tags.EntityTypes.TELEPORTING_NOT_SUPPORTED
Entities should be included in this tag if they are not allowed to be teleported in any way.Tags.Items.TOOLS
A tag containing all existing tools.Tags.Items.TOOLS_BOWS
A tag containing all existing bows.Tags.Items.TOOLS_BRUSHES
A tag containing all existing brushes.Tags.Items.TOOLS_CROSSBOWS
A tag containing all existing crossbows.Tags.Items.TOOLS_FISHING_RODS
A tag containing all existing fishing rods.Tags.Items.TOOLS_SHEARS
A tag containing all existing shears.Tags.Items.TOOLS_SHIELDS
A tag containing all existing shields.Tags.Items.TOOLS_SPEARS
A tag containing all existing spears.Tags.Blocks.VILLAGER_JOB_SITES
Tags.Items.VILLAGER_JOB_SITES
Tags.Fluids.WATER
Holds all fluids related to water.static final TagKey
<Enchantment> Tags.Enchantments.WEAPON_DAMAGE_ENHANCEMENTS
For enchantments that increase the damage dealt by an item.Fields in net.neoforged.neoforge.common with type parameters of type TagKeyModifier and TypeFieldDescriptionTagConventionLogWarning.LEGACY_FORGE_TAGS
Old `forge` tags that we migrated to a new tag under a new convention.Methods in net.neoforged.neoforge.common that return TagKeyModifier and TypeMethodDescriptionprivate static <T> TagKey
<T> TagConventionLogWarning.createTagKey
(ResourceKey<Registry<T>> registryKey, String namespace, String tagId) SimpleTier.getIncorrectBlocksForDrops()
CommonHooks.getTagFromVanillaTier
(Tiers tier) Tags.Blocks.neoforgeTag
(String name) private static TagKey
<DamageType> Tags.DamageTypes.neoforgeTag
(String name) Tags.Items.neoforgeTag
(String name) private static TagKey
<Enchantment> private static TagKey
<EntityType<?>> Methods in net.neoforged.neoforge.common that return types with arguments of type TagKeyModifier and TypeMethodDescriptionprivate static <T> AbstractMap.SimpleEntry
<TagKey<T>, String> TagConventionLogWarning.createForgeMapEntry
(ResourceKey<Registry<T>> registryKey, String tagId1, String tagId2) private static <T,
R> AbstractMap.SimpleEntry <TagKey<T>, String> TagConventionLogWarning.createForgeMapEntry
(ResourceKey<Registry<T>> registryKey, String tagId1, TagKey<R> tag2) private static <T,
R> AbstractMap.SimpleEntry <TagKey<T>, String> TagConventionLogWarning.createMapEntry
(ResourceKey<Registry<T>> registryKey, String tagNamespace1, String tagId1, TagKey<R> tag2) private static <T,
R> AbstractMap.SimpleEntry <TagKey<T>, String> TagConventionLogWarning.createMapEntry
(ResourceKey<Registry<T>> registryKey, String tagNamespace1, String tagId1, TagKey<R>... replacementTags) Methods in net.neoforged.neoforge.common with parameters of type TagKeyModifier and TypeMethodDescriptionprivate static <T,
R> AbstractMap.SimpleEntry <TagKey<T>, String> TagConventionLogWarning.createForgeMapEntry
(ResourceKey<Registry<T>> registryKey, String tagId1, TagKey<R> tag2) private static <T,
R> AbstractMap.SimpleEntry <TagKey<T>, String> TagConventionLogWarning.createMapEntry
(ResourceKey<Registry<T>> registryKey, String tagNamespace1, String tagId1, TagKey<R> tag2) private static <T,
R> AbstractMap.SimpleEntry <TagKey<T>, String> TagConventionLogWarning.createMapEntry
(ResourceKey<Registry<T>> registryKey, String tagNamespace1, String tagId1, TagKey<R>... replacementTags) static String
Tags.getTagTranslationKey
(TagKey<?> tagKey) Use this to get a TagKey's translation key safely on any side.Constructors in net.neoforged.neoforge.common with parameters of type TagKeyModifierConstructorDescriptionSimpleTier
(TagKey<Block> incorrectBlocksForDrops, int uses, float speed, float attackDamageBonus, int enchantmentValue, Supplier<Ingredient> repairIngredient) -
Uses of TagKey in net.neoforged.neoforge.common.conditions
Fields in net.neoforged.neoforge.common.conditions declared as TagKeyMethods in net.neoforged.neoforge.common.conditions that return TagKeyModifier and TypeMethodDescriptionTagEmptyCondition.tag()
Returns the value of thetag
record component.Methods in net.neoforged.neoforge.common.conditions with parameters of type TagKeyModifier and TypeMethodDescriptiondefault <T> Collection
<Holder<T>> Return the requested tag if available, or an empty tag otherwise.default ICondition
Constructors in net.neoforged.neoforge.common.conditions with parameters of type TagKeyModifierConstructorDescriptionTagEmptyCondition
(TagKey<Item> tag) Creates an instance of aTagEmptyCondition
record class. -
Uses of TagKey in net.neoforged.neoforge.common.crafting
Fields in net.neoforged.neoforge.common.crafting declared as TagKeyMethods in net.neoforged.neoforge.common.crafting that return TagKeyMethods in net.neoforged.neoforge.common.crafting with parameters of type TagKeyModifier and TypeMethodDescriptionstatic SizedIngredient
Helper method to create a simple sized ingredient that matches items in a tag.Constructors in net.neoforged.neoforge.common.crafting with parameters of type TagKey -
Uses of TagKey in net.neoforged.neoforge.common.data
Fields in net.neoforged.neoforge.common.data with type parameters of type TagKeyModifier and TypeFieldDescriptionprivate final Map
<com.mojang.datafixers.util.Either<TagKey<R>, ResourceKey<R>>, Optional<WithConditions<DataMapEntry<T>>>> DataMapProvider.Builder.values
Methods in net.neoforged.neoforge.common.data with parameters of type TagKeyModifier and TypeMethodDescriptionDataMapProvider.Builder.add
(TagKey<R> tag, T value, boolean replace, ICondition... conditions) void
private void
NeoForgeDamageTypeTagsProvider.tag
(ResourceKey<DamageType> type, TagKey<DamageType>... tags) private TagsProvider.TagAppender
<DamageType> NeoForgeDamageTypeTagsProvider.tagWithOptionalLegacy
(TagKey<DamageType> tag) Method parameters in net.neoforged.neoforge.common.data with type arguments of type TagKey -
Uses of TagKey in net.neoforged.neoforge.common.data.internal
Fields in net.neoforged.neoforge.common.data.internal with type parameters of type TagKeyMethods in net.neoforged.neoforge.common.data.internal that return TagKeyModifier and TypeMethodDescriptionNeoForgeItemTagsProvider.getForgeBlockTag
(String name) NeoForgeItemTagsProvider.getForgeItemTag
(String name) NeoForgeBlockTagsProvider.getForgeTag
(String name) Methods in net.neoforged.neoforge.common.data.internal with parameters of type TagKeyModifier and TypeMethodDescriptionprivate void
NeoForgeBlockTagsProvider.addColored
(TagKey<Block> group, String pattern) private void
NeoForgeItemTagsProvider.addColored
(TagKey<Item> group, String pattern) private <T> void
NeoForgeLanguageProvider.addColored
(TagKey<T> baseTagKey, String pattern) private void
private void
private void
private void
NeoForgeBiomeTagsProvider.tag
(ResourceKey<Biome> biome, TagKey<Biome>... tags) private void
NeoForgeItemTagsProvider.tagColoredWithOptionalLegacy
(TagKey<Item> group) private TagsProvider.TagAppender
<Biome> NeoForgeBiomeTagsProvider.tagWithOptionalLegacy
(TagKey<Biome> tag) NeoForgeBlockTagsProvider.tagWithOptionalLegacy
(TagKey<Block> tag) NeoForgeFluidTagsProvider.tagWithOptionalLegacy
(TagKey<Fluid> tag) NeoForgeItemTagsProvider.tagWithOptionalLegacy
(TagKey<Item> tag) Method parameters in net.neoforged.neoforge.common.data.internal with type arguments of type TagKey -
Uses of TagKey in net.neoforged.neoforge.common.extensions
Methods in net.neoforged.neoforge.common.extensions with parameters of type TagKeyModifier and TypeMethodDescriptiondefault TagsProvider.TagAppender
<T> ITagAppenderExtension.addOptionalTag
(TagKey<T> value) default TagsProvider.TagAppender
<T> ITagAppenderExtension.addOptionalTags
(TagKey<T>... values) default TagsProvider.TagAppender
<T> default TagsProvider.TagAppender
<T> Adds a tag to the tag json's remove list.default TagsProvider.TagAppender
<T> Adds multiple tags to the tag json's remove list.Method parameters in net.neoforged.neoforge.common.extensions with type arguments of type TagKeyModifier and TypeMethodDescriptiondefault boolean
IEnchantmentExtension.allowedInCreativeTab
(Item book, Set<TagKey<Item>> allowedCategories) Determines whether item variants of this enchantment can be added to a given creative tab with the allowed categories. -
Uses of TagKey in net.neoforged.neoforge.fluids
Methods in net.neoforged.neoforge.fluids that return types with arguments of type TagKeyMethods in net.neoforged.neoforge.fluids with parameters of type TagKey -
Uses of TagKey in net.neoforged.neoforge.fluids.crafting
Fields in net.neoforged.neoforge.fluids.crafting declared as TagKeyMethods in net.neoforged.neoforge.fluids.crafting that return TagKeyMethods in net.neoforged.neoforge.fluids.crafting with parameters of type TagKeyModifier and TypeMethodDescriptionstatic SizedFluidIngredient
Helper method to create a simple sized ingredient that matches fluids in a tag.static FluidIngredient
Constructors in net.neoforged.neoforge.fluids.crafting with parameters of type TagKey -
Uses of TagKey in net.neoforged.neoforge.oldtest
Fields in net.neoforged.neoforge.oldtest declared as TagKey -
Uses of TagKey in net.neoforged.neoforge.oldtest.block
Fields in net.neoforged.neoforge.oldtest.block declared as TagKey -
Uses of TagKey in net.neoforged.neoforge.registries
Methods in net.neoforged.neoforge.registries that return TagKeyModifier and TypeMethodDescriptionDeferredRegister.createTagKey
(String path) Creates a tag key based on the current namespace and provided path as the location and the registry name linked to this DeferredRegister.DeferredRegister.createTagKey
(ResourceLocation location) Creates a tag key based on the provided resource location and the registry name linked to this DeferredRegister.Methods in net.neoforged.neoforge.registries that return types with arguments of type TagKeyModifier and TypeMethodDescriptionDeferredHolder.tags()
Returns all tags present on the underlying object.Methods in net.neoforged.neoforge.registries with parameters of type TagKey -
Uses of TagKey in net.neoforged.neoforge.registries.datamaps
Fields in net.neoforged.neoforge.registries.datamaps with type parameters of type TagKeyModifier and TypeFieldDescriptionprivate final com.mojang.datafixers.util.Either
<TagKey<R>, ResourceKey<R>> DataMapEntry.Removal.key
The field for thekey
record component.private final Map
<com.mojang.datafixers.util.Either<TagKey<R>, ResourceKey<R>>, Optional<WithConditions<DataMapEntry<T>>>> DataMapFile.values
The field for thevalues
record component.Methods in net.neoforged.neoforge.registries.datamaps that return types with arguments of type TagKeyModifier and TypeMethodDescriptioncom.mojang.datafixers.util.Either
<TagKey<R>, ResourceKey<R>> DataMapEntry.Removal.key()
Returns the value of thekey
record component.Map
<com.mojang.datafixers.util.Either<TagKey<R>, ResourceKey<R>>, Optional<WithConditions<DataMapEntry<T>>>> DataMapFile.values()
Returns the value of thevalues
record component.Method parameters in net.neoforged.neoforge.registries.datamaps with type arguments of type TagKeyModifier and TypeMethodDescriptionstatic <T,
R> com.mojang.serialization.Codec <DataMapEntry.Removal<T, R>> DataMapEntry.Removal.codec
(com.mojang.serialization.Codec<com.mojang.datafixers.util.Either<TagKey<R>, ResourceKey<R>>> tagOrValue, DataMapType<R, T> attachment) DataMapValueMerger.merge
(Registry<R> registry, com.mojang.datafixers.util.Either<TagKey<R>, ResourceKey<R>> first, T firstValue, com.mojang.datafixers.util.Either<TagKey<R>, ResourceKey<R>> second, T secondValue) Merge two conflicting data map values.DataMapValueRemover.Default.remove
(T value, Registry<R> registry, com.mojang.datafixers.util.Either<TagKey<R>, ResourceKey<R>> source, R object) DataMapValueRemover.remove
(T value, Registry<R> registry, com.mojang.datafixers.util.Either<TagKey<R>, ResourceKey<R>> source, R object) Remove the entry specified in this remover from thevalue
.Constructor parameters in net.neoforged.neoforge.registries.datamaps with type arguments of type TagKeyModifierConstructorDescriptionDataMapFile
(boolean replace, Map<com.mojang.datafixers.util.Either<TagKey<R>, ResourceKey<R>>, Optional<WithConditions<DataMapEntry<T>>>> values, List<DataMapEntry.Removal<T, R>> removals) Creates an instance of aDataMapFile
record class.private
Removal
(com.mojang.datafixers.util.Either<TagKey<R>, ResourceKey<R>> key) Removal
(com.mojang.datafixers.util.Either<TagKey<R>, ResourceKey<R>> key, Optional<DataMapValueRemover<R, T>> remover) Creates an instance of aRemoval
record class. -
Uses of TagKey in net.neoforged.neoforge.registries.holdersets
Methods in net.neoforged.neoforge.registries.holdersets that return types with arguments of type TagKey -
Uses of TagKey in net.neoforged.neoforge.unittest
Fields in net.neoforged.neoforge.unittest with type parameters of type TagKey