Uses of Record Class
net.minecraft.tags.TagKey
Package
Description
-
Uses of TagKey in net.minecraft.advancements.critereon
Modifier and TypeFieldDescriptionFluidPredicate.Builder.fluids
BlockPredicate.Builder.tag
BlockPredicate.tag
private final TagKey<EntityType<?>>
EntityTypePredicate.TagPredicate.tag
FluidPredicate.tag
ItemPredicate.Builder.tag
ItemPredicate.tag
Modifier and TypeMethodDescriptionEntityPredicate.Builder.of
(TagKey<EntityType<?>> p_204078_) static EntityTypePredicate
EntityTypePredicate.of
(TagKey<EntityType<?>> p_204082_) ModifierConstructorDescriptionBlockPredicate
(TagKey<Block> p_204023_, Set<Block> p_204024_, StatePropertiesPredicate p_204025_, NbtPredicate p_204026_) FluidPredicate
(TagKey<Fluid> p_204102_, Fluid p_204103_, StatePropertiesPredicate p_204104_) ItemPredicate
(TagKey<Item> p_204137_, Set<Item> p_204138_, MinMaxBounds.Ints p_204139_, MinMaxBounds.Ints p_204140_, EnchantmentPredicate[] p_204141_, EnchantmentPredicate[] p_204142_, Potion p_204143_, NbtPredicate p_204144_) TagPredicate
(TagKey<EntityType<?>> p_204084_) -
Uses of TagKey in net.minecraft.client.gui.screens.inventory
-
Uses of TagKey in net.minecraft.client.tutorial
Modifier and TypeMethodDescriptionstatic boolean
CraftPlanksTutorialStep.hasCraftedPlanksPreviously
(LocalPlayer p_205663_, TagKey<Item> p_205664_) -
Uses of TagKey in net.minecraft.commands.arguments
Modifier and TypeFieldDescriptionResourceOrTagLocationArgument.TagResult.key
The field for thekey
record component.Modifier and TypeMethodDescriptionResourceOrTagLocationArgument.TagResult.key()
Returns the value of thekey
record component.Modifier and TypeMethodDescriptioncom.mojang.datafixers.util.Either<ResourceKey<T>,
TagKey<T>> ResourceOrTagLocationArgument.ResourceResult.unwrap()
com.mojang.datafixers.util.Either<ResourceKey<T>,
TagKey<T>> ResourceOrTagLocationArgument.Result.unwrap()
com.mojang.datafixers.util.Either<ResourceKey<T>,
TagKey<T>> ResourceOrTagLocationArgument.TagResult.unwrap()
-
Uses of TagKey in net.minecraft.commands.arguments.blocks
ModifierConstructorDescription(package private)
TagPredicate
(TagKey<Block> p_205591_, Map<String, String> p_205592_, CompoundTag p_205593_) -
Uses of TagKey in net.minecraft.commands.arguments.item
-
Uses of TagKey in net.minecraft.core
Modifier and TypeFieldDescriptionHolder.Reference.tags
private Map<TagKey<T>,
HolderSet.Named<T>> MappedRegistry.tags
Modifier and TypeMethodDescriptionHolder.getTagKeys()
MappedRegistry.getTagNames()
Registry.getTagNames()
Stream<com.mojang.datafixers.util.Pair<TagKey<T>,
HolderSet.Named<T>>> MappedRegistry.getTags()
abstract Stream<com.mojang.datafixers.util.Pair<TagKey<T>,
HolderSet.Named<T>>> Registry.getTags()
Holder.Direct.tags()
Holder.Reference.tags()
Holder.tags()
HolderSet.Direct.unwrap()
HolderSet.Named.unwrap()
HolderSet.unwrap()
Modifier and TypeMethodDescriptiondefault boolean
Holder.containsTag
(TagKey<T> key) private HolderSet.Named<T>
MappedRegistry.getOrCreateTag
(TagKey<T> p_205895_) abstract HolderSet.Named<T>
Registry.getOrCreateTag
(TagKey<T> p_206045_) abstract Optional<HolderSet.Named<T>>
Registry.getTagOrEmpty
(TagKey<T> p_206059_) boolean
boolean
boolean
boolean
MappedRegistry.isKnownTagName
(TagKey<T> p_205864_) abstract boolean
Registry.isKnownTagName
(TagKey<T> p_205983_) Modifier and TypeMethodDescriptionvoid
Holder.Reference.bindTags
(Collection<TagKey<T>> p_205770_) void
abstract void
-
Uses of TagKey in net.minecraft.data.recipes
Modifier and TypeMethodDescriptionprotected static InventoryChangeTrigger.TriggerInstance
protected static void
RecipeProvider.planksFromLog
(Consumer<FinishedRecipe> p_206409_, ItemLike p_206410_, TagKey<Item> p_206411_) protected static void
RecipeProvider.planksFromLogs
(Consumer<FinishedRecipe> p_206413_, ItemLike p_206414_, TagKey<Item> p_206415_) -
Uses of TagKey in net.minecraft.data.tags
Modifier and TypeFieldDescriptionprivate final Function<TagKey<Block>,
Tag.Builder> ItemTagsProvider.blockTags
Modifier and TypeMethodDescriptionprotected void
protected Tag.Builder
TagsProvider.getOrCreateRawBuilder
(TagKey<T> p_206427_) protected TagsProvider.TagAppender<T>
-
Uses of TagKey in net.minecraft.resources
-
Uses of TagKey in net.minecraft.server.level
Modifier and TypeMethodDescriptionServerLevel.findNearestMapFeature
(TagKey<ConfiguredStructureFeature<?, ?>> p_207562_, BlockPos p_207563_, int p_207564_, boolean p_207565_) -
Uses of TagKey in net.minecraft.tags
Modifier and TypeFieldDescriptionBlockTags.ACACIA_LOGS
ItemTags.ACACIA_LOGS
BlockTags.ANIMALS_SPAWNABLE_ON
BlockTags.ANVIL
ItemTags.ANVIL
static final TagKey<EntityType<?>>
EntityTypeTags.ARROWS
ItemTags.ARROWS
static final TagKey<EntityType<?>>
EntityTypeTags.AXOLOTL_ALWAYS_HOSTILES
static final TagKey<EntityType<?>>
EntityTypeTags.AXOLOTL_HUNT_TARGETS
ItemTags.AXOLOTL_TEMPT_ITEMS
BlockTags.AXOLOTLS_SPAWNABLE_ON
BlockTags.AZALEA_GROWS_ON
BlockTags.AZALEA_ROOT_REPLACEABLE
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
BlockTags.BEE_GROWABLES
static final TagKey<EntityType<?>>
EntityTypeTags.BEEHIVE_INHABITORS
BlockTags.BEEHIVES
BlockTags.BIG_DRIPLEAF_PLACEABLE
BlockTags.BIRCH_LOGS
ItemTags.BIRCH_LOGS
ItemTags.BOATS
BlockTags.BUTTONS
ItemTags.BUTTONS
BlockTags.CAMPFIRES
BlockTags.CANDLE_CAKES
BlockTags.CANDLES
ItemTags.CANDLES
BlockTags.CARPETS
ItemTags.CARPETS
BlockTags.CAULDRONS
BlockTags.CAVE_VINES
BlockTags.CLIMBABLE
ItemTags.CLUSTER_MAX_HARVESTABLES
BlockTags.COAL_ORES
ItemTags.COAL_ORES
ItemTags.COALS
BlockTags.COPPER_ORES
ItemTags.COPPER_ORES
BlockTags.CORAL_BLOCKS
BlockTags.CORAL_PLANTS
BlockTags.CORALS
ItemTags.CREEPER_DROP_MUSIC_DISCS
BlockTags.CRIMSON_STEMS
ItemTags.CRIMSON_STEMS
BlockTags.CROPS
BlockTags.CRYSTAL_SOUND_BLOCKS
BlockTags.DARK_OAK_LOGS
ItemTags.DARK_OAK_LOGS
BlockTags.DEEPSLATE_ORE_REPLACEABLES
BlockTags.DIAMOND_ORES
ItemTags.DIAMOND_ORES
BlockTags.DIRT
ItemTags.DIRT
static final TagKey<ConfiguredStructureFeature<?,
?>> ConfiguredStructureTags.DOLPHIN_LOCATED
BlockTags.DOORS
ItemTags.DOORS
BlockTags.DRAGON_IMMUNE
BlockTags.DRIPSTONE_REPLACEABLE
BlockTags.EMERALD_ORES
ItemTags.EMERALD_ORES
BlockTags.ENDERMAN_HOLDABLE
static final TagKey<ConfiguredStructureFeature<?,
?>> ConfiguredStructureTags.EYE_OF_ENDER_LOCATED
BlockTags.FALL_DAMAGE_RESETTING
BlockTags.FEATURES_CANNOT_REPLACE
BlockTags.FENCE_GATES
BlockTags.FENCES
ItemTags.FENCES
BlockTags.FIRE
ItemTags.FISHES
BlockTags.FLOWER_POTS
BlockTags.FLOWERS
ItemTags.FLOWERS
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
BlockTags.GEODE_INVALID_BLOCKS
BlockTags.GOATS_SPAWNABLE_ON
BlockTags.GOLD_ORES
ItemTags.GOLD_ORES
BlockTags.GUARDED_BY_PIGLINS
BiomeTags.HAS_BASTION_REMNANT
BiomeTags.HAS_BURIED_TREASURE
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_VILLAGE_DESERT
BiomeTags.HAS_VILLAGE_PLAINS
BiomeTags.HAS_VILLAGE_SAVANNA
BiomeTags.HAS_VILLAGE_SNOWY
BiomeTags.HAS_VILLAGE_TAIGA
BiomeTags.HAS_WOODLAND_MANSION
BlockTags.HOGLIN_REPELLENTS
BlockTags.ICE
GameEventTags.IGNORE_VIBRATIONS_SNEAKING
ItemTags.IGNORED_BY_PIGLIN_BABIES
static final TagKey<EntityType<?>>
EntityTypeTags.IMPACT_PROJECTILES
BlockTags.IMPERMEABLE
BlockTags.INFINIBURN_END
BlockTags.INFINIBURN_NETHER
BlockTags.INFINIBURN_OVERWORLD
BlockTags.INSIDE_STEP_SOUND_BLOCKS
BlockTags.IRON_ORES
ItemTags.IRON_ORES
BiomeTags.IS_BADLANDS
BiomeTags.IS_BEACH
BiomeTags.IS_DEEP_OCEAN
BiomeTags.IS_FOREST
BiomeTags.IS_HILL
BiomeTags.IS_JUNGLE
BiomeTags.IS_MOUNTAIN
BiomeTags.IS_NETHER
BiomeTags.IS_OCEAN
BiomeTags.IS_RIVER
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
BlockTags.LOGS
ItemTags.LOGS
BlockTags.LOGS_THAT_BURN
ItemTags.LOGS_THAT_BURN
BlockTags.LUSH_GROUND_REPLACEABLE
BlockTags.MINEABLE_WITH_AXE
BlockTags.MINEABLE_WITH_HOE
BlockTags.MINEABLE_WITH_PICKAXE
BlockTags.MINEABLE_WITH_SHOVEL
static final TagKey<ConfiguredStructureFeature<?,
?>> ConfiguredStructureTags.MINESHAFT
BlockTags.MOOSHROOMS_SPAWNABLE_ON
BlockTags.MOSS_REPLACEABLE
BlockTags.MUSHROOM_GROW_BLOCK
ItemTags.MUSIC_DISCS
BlockTags.NEEDS_DIAMOND_TOOL
BlockTags.NEEDS_IRON_TOOL
BlockTags.NEEDS_STONE_TOOL
BlockTags.NON_FLAMMABLE_WOOD
ItemTags.NON_FLAMMABLE_WOOD
BlockTags.NYLIUM
BlockTags.OAK_LOGS
ItemTags.OAK_LOGS
BlockTags.OCCLUDES_VIBRATION_SIGNALS
ItemTags.OCCLUDES_VIBRATION_SIGNALS
static final TagKey<ConfiguredStructureFeature<?,
?>> ConfiguredStructureTags.OCEAN_RUIN
static final TagKey<ConfiguredStructureFeature<?,
?>> ConfiguredStructureTags.ON_OCEAN_EXPLORER_MAPS
static final TagKey<ConfiguredStructureFeature<?,
?>> ConfiguredStructureTags.ON_TREASURE_MAPS
static final TagKey<ConfiguredStructureFeature<?,
?>> ConfiguredStructureTags.ON_WOODLAND_EXPLORER_MAPS
BlockTags.PARROTS_SPAWNABLE_ON
ItemTags.PIGLIN_FOOD
ItemTags.PIGLIN_LOVED
BlockTags.PIGLIN_REPELLENTS
ItemTags.PIGLIN_REPELLENTS
BlockTags.PLANKS
ItemTags.PLANKS
BlockTags.POLAR_BEARS_SPAWNABLE_ON_IN_FROZEN_OCEAN
BlockTags.PORTALS
static final TagKey<EntityType<?>>
EntityTypeTags.POWDER_SNOW_WALKABLE_MOBS
BlockTags.PRESSURE_PLATES
BlockTags.PREVENT_MOB_SPAWNING_INSIDE
BlockTags.RABBITS_SPAWNABLE_ON
static final TagKey<EntityType<?>>
EntityTypeTags.RAIDERS
BlockTags.RAILS
ItemTags.RAILS
BlockTags.REDSTONE_ORES
ItemTags.REDSTONE_ORES
BlockTags.REPLACEABLE_PLANTS
static final TagKey<ConfiguredStructureFeature<?,
?>> ConfiguredStructureTags.RUINED_PORTAL
BlockTags.SAND
ItemTags.SAND
BlockTags.SAPLINGS
ItemTags.SAPLINGS
static final TagKey<ConfiguredStructureFeature<?,
?>> ConfiguredStructureTags.SHIPWRECK
BlockTags.SHULKER_BOXES
BlockTags.SIGNS
ItemTags.SIGNS
static final TagKey<EntityType<?>>
EntityTypeTags.SKELETONS
BlockTags.SLABS
ItemTags.SLABS
BlockTags.SMALL_DRIPLEAF_PLACEABLE
BlockTags.SMALL_FLOWERS
ItemTags.SMALL_FLOWERS
BlockTags.SNOW
BlockTags.SOUL_FIRE_BASE_BLOCKS
ItemTags.SOUL_FIRE_BASE_BLOCKS
BlockTags.SOUL_SPEED_BLOCKS
BlockTags.SPRUCE_LOGS
ItemTags.SPRUCE_LOGS
BlockTags.STAIRS
ItemTags.STAIRS
BlockTags.STANDING_SIGNS
BlockTags.STONE_BRICKS
ItemTags.STONE_BRICKS
ItemTags.STONE_CRAFTING_MATERIALS
BlockTags.STONE_ORE_REPLACEABLES
BlockTags.STONE_PRESSURE_PLATES
ItemTags.STONE_TOOL_MATERIALS
BlockTags.STRIDER_WARM_BLOCKS
BlockTags.TALL_FLOWERS
ItemTags.TALL_FLOWERS
BlockTags.TERRACOTTA
ItemTags.TERRACOTTA
BlockTags.TRAPDOORS
ItemTags.TRAPDOORS
BlockTags.UNDERWATER_BONEMEALS
BlockTags.UNSTABLE_BOTTOM_CENTER
BlockTags.VALID_SPAWN
GameEventTags.VIBRATIONS
static final TagKey<ConfiguredStructureFeature<?,
?>> ConfiguredStructureTags.VILLAGE
BlockTags.WALL_CORALS
BlockTags.WALL_POST_OVERRIDE
BlockTags.WALL_SIGNS
BlockTags.WALLS
ItemTags.WALLS
BlockTags.WARPED_STEMS
ItemTags.WARPED_STEMS
BlockTags.WART_BLOCKS
FluidTags.WATER
BlockTags.WITHER_IMMUNE
BlockTags.WITHER_SUMMON_BASE_BLOCKS
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
Modifier and TypeFieldDescriptionprivate static final com.google.common.collect.Interner<TagKey<?>>
TagKey.VALUES
Modifier and TypeMethodDescriptionBlockTags.create
(ResourceLocation name) private static TagKey<ConfiguredStructureFeature<?,
?>> private static TagKey<EntityType<?>>
FluidTags.create
(ResourceLocation name) ItemTags.create
(ResourceLocation name) static <T> TagKey<T>
TagKey.create
(ResourceKey<? extends Registry<T>> p_203883_, ResourceLocation p_203884_) Modifier 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_) -
Uses of TagKey in net.minecraft.world.entity
Modifier and TypeMethodDescriptiondouble
Entity.getFluidHeight
(TagKey<Fluid> p_204037_) boolean
EntityType.is
(TagKey<EntityType<?>> p_204040_) boolean
Entity.isEyeInFluid
(TagKey<Fluid> p_204030_) protected void
LivingEntity.jumpInLiquid
(TagKey<Fluid> p_204043_) protected void
Mob.jumpInLiquid
(TagKey<Fluid> p_204045_) boolean
Entity.updateFluidHeightAndDoFluidPushing
(TagKey<Fluid> p_204032_, double p_204033_) -
Uses of TagKey in net.minecraft.world.entity.ai.behavior
ModifierConstructorDescriptionSetEntityLookTarget
(TagKey<EntityType<?>> p_204047_, float p_204048_) -
Uses of TagKey in net.minecraft.world.entity.animal
-
Uses of TagKey in net.minecraft.world.entity.monster
-
Uses of TagKey in net.minecraft.world.entity.npc
Modifier and TypeFieldDescriptionprivate final TagKey<ConfiguredStructureFeature<?,
?>> VillagerTrades.TreasureMapForEmeralds.destination
ModifierConstructorDescriptionTreasureMapForEmeralds
(int p_207767_, TagKey<ConfiguredStructureFeature<?, ?>> p_207768_, String p_207769_, MapDecoration.Type p_207770_, int p_207771_, int p_207772_) -
Uses of TagKey in net.minecraft.world.entity.player
-
Uses of TagKey in net.minecraft.world.item
ModifierConstructorDescriptionDiggerItem
(float p_204108_, float p_204109_, Tier p_204110_, TagKey<Block> p_204111_, Item.Properties p_204112_) -
Uses of TagKey in net.minecraft.world.item.crafting
-
Uses of TagKey in net.minecraft.world.level.block.entity
-
Uses of TagKey in net.minecraft.world.level.block.state
-
Uses of TagKey in net.minecraft.world.level.dimension
Modifier and TypeMethodDescriptionstatic DimensionType
DimensionType.create
(OptionalLong p_204498_, boolean p_204499_, boolean p_204500_, boolean p_204501_, boolean p_204502_, double p_204503_, boolean p_204504_, boolean p_204505_, boolean p_204506_, boolean p_204507_, boolean p_204508_, int p_204509_, int p_204510_, int p_204511_, TagKey<Block> p_204512_, ResourceLocation p_204513_, float p_204514_) ModifierConstructorDescriptionprivate
DimensionType
(OptionalLong p_204471_, boolean p_204472_, boolean p_204473_, boolean p_204474_, boolean p_204475_, double p_204476_, boolean p_204477_, boolean p_204478_, boolean p_204479_, boolean p_204480_, boolean p_204481_, int p_204482_, int p_204483_, int p_204484_, TagKey<Block> p_204485_, ResourceLocation p_204486_, float p_204487_) Deprecated.private
DimensionType
(OptionalLong p_204454_, boolean p_204455_, boolean p_204456_, boolean p_204457_, boolean p_204458_, double p_204459_, boolean p_204460_, boolean p_204461_, boolean p_204462_, boolean p_204463_, int p_204464_, int p_204465_, int p_204466_, TagKey<Block> p_204467_, ResourceLocation p_204468_, float p_204469_) -
Uses of TagKey in net.minecraft.world.level.gameevent
-
Uses of TagKey in net.minecraft.world.level.levelgen
Modifier and TypeFieldDescriptionGeodeBlockSettings.cannotReplace
GeodeBlockSettings.invalidBlocks
ModifierConstructorDescriptionGeodeBlockSettings
(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
Modifier and TypeMethodDescriptionstatic BlockPredicate
BlockPredicate.matchesTag
(TagKey<Block> p_204678_) static BlockPredicate
BlockPredicate.matchesTag
(TagKey<Block> p_204680_, Vec3i p_204681_) ModifierConstructorDescriptionprotected
MatchingBlockTagPredicate
(Vec3i p_204683_, TagKey<Block> p_204684_) -
Uses of TagKey in net.minecraft.world.level.levelgen.feature
Modifier and TypeMethodDescriptionConfiguredStructureFeature<C,
? extends StructureFeature<C>> StructureFeature.configured
(C p_209763_, TagKey<Biome> p_209764_) ConfiguredStructureFeature<C,
? extends StructureFeature<C>> StructureFeature.configured
(C p_209770_, TagKey<Biome> p_209771_, boolean p_209772_) ConfiguredStructureFeature<C,
? extends StructureFeature<C>> StructureFeature.configured
(C p_209774_, TagKey<Biome> p_209775_, boolean p_209776_, Map<MobCategory, StructureSpawnOverride> p_209777_) ConfiguredStructureFeature<C,
? extends StructureFeature<C>> StructureFeature.configured
(C p_209766_, TagKey<Biome> p_209767_, Map<MobCategory, StructureSpawnOverride> p_209768_) static Predicate<BlockState>
Feature.isReplaceable
(TagKey<Block> p_204736_) -
Uses of TagKey in net.minecraft.world.level.levelgen.feature.configurations
Modifier and TypeFieldDescriptionVegetationPatchConfiguration.replaceable
RootSystemConfiguration.rootReplaceable
ModifierConstructorDescriptionRootSystemConfiguration
(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
ModifierConstructorDescriptionProtectedBlockProcessor
(TagKey<Block> p_205051_) TagMatchTest
(TagKey<Block> p_205063_) -
Uses of TagKey in net.minecraft.world.level.material
-
Uses of TagKey in net.minecraft.world.level.storage.loot.entries
Modifier and TypeMethodDescriptionstatic LootPoolSingletonContainer.Builder<?>
static LootPoolSingletonContainer.Builder<?>
TagEntry.tagContents
(TagKey<Item> p_205085_) ModifierConstructorDescription(package private)
TagEntry
(TagKey<Item> p_205078_, boolean p_205079_, int p_205080_, int p_205081_, LootItemCondition[] p_205082_, LootItemFunction[] p_205083_) -
Uses of TagKey in net.minecraft.world.level.storage.loot.functions
Modifier and TypeFieldDescriptionstatic final TagKey<ConfiguredStructureFeature<?,
?>> ExplorationMapFunction.DEFAULT_FEATURE
private TagKey<ConfiguredStructureFeature<?,
?>> ExplorationMapFunction.Builder.destination
(package private) final TagKey<ConfiguredStructureFeature<?,
?>> ExplorationMapFunction.destination
Modifier and TypeMethodDescriptionprivate static TagKey<ConfiguredStructureFeature<?,
?>> ExplorationMapFunction.Serializer.readStructure
(com.google.gson.JsonObject p_210661_) Modifier and TypeMethodDescriptionExplorationMapFunction.Builder.setDestination
(TagKey<ConfiguredStructureFeature<?, ?>> p_210659_) ModifierConstructorDescription(package private)
ExplorationMapFunction
(LootItemCondition[] p_210652_, TagKey<ConfiguredStructureFeature<?, ?>> p_210653_, MapDecoration.Type p_210654_, byte p_210655_, int p_210656_, boolean p_210657_) -
Uses of TagKey in net.minecraftforge.common
Modifier and TypeFieldDescriptionTags.Blocks.BARRELS
Tags.Items.BARRELS
Tags.Blocks.BARRELS_WOODEN
Tags.Items.BARRELS_WOODEN
Tags.Items.BONES
Tags.Items.BOOKSHELVES
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.COBBLESTONE
Tags.Items.COBBLESTONE
Tags.Blocks.COBBLESTONE_DEEPSLATE
Tags.Items.COBBLESTONE_DEEPSLATE
Tags.Blocks.COBBLESTONE_INFESTED
Tags.Items.COBBLESTONE_INFESTED
Tags.Blocks.COBBLESTONE_MOSSY
Tags.Items.COBBLESTONE_MOSSY
Tags.Blocks.COBBLESTONE_NORMAL
Tags.Items.COBBLESTONE_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_PRISMARINE
Tags.Items.DUSTS_REDSTONE
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.ENCHANTING_FUELS
This tag defaults toItems.LAPIS_LAZULI
when not present in any datapacks, including forge client on vanilla serverTags.Blocks.END_STONES
Tags.Items.END_STONES
Tags.Items.ENDER_PEARLS
Tags.Blocks.ENDERMAN_PLACE_ON_BLACKLIST
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.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
Tags.Items.GLASS
Tags.Blocks.GLASS_BLACK
Tags.Items.GLASS_BLACK
Tags.Blocks.GLASS_BLUE
Tags.Items.GLASS_BLUE
Tags.Blocks.GLASS_BROWN
Tags.Items.GLASS_BROWN
Tags.Blocks.GLASS_COLORLESS
Tags.Items.GLASS_COLORLESS
Tags.Blocks.GLASS_CYAN
Tags.Items.GLASS_CYAN
Tags.Blocks.GLASS_GRAY
Tags.Items.GLASS_GRAY
Tags.Blocks.GLASS_GREEN
Tags.Items.GLASS_GREEN
Tags.Blocks.GLASS_LIGHT_BLUE
Tags.Items.GLASS_LIGHT_BLUE
Tags.Blocks.GLASS_LIGHT_GRAY
Tags.Items.GLASS_LIGHT_GRAY
Tags.Blocks.GLASS_LIME
Tags.Items.GLASS_LIME
Tags.Blocks.GLASS_MAGENTA
Tags.Items.GLASS_MAGENTA
Tags.Blocks.GLASS_ORANGE
Tags.Items.GLASS_ORANGE
Tags.Blocks.GLASS_PANES
Tags.Items.GLASS_PANES
Tags.Blocks.GLASS_PANES_BLACK
Tags.Items.GLASS_PANES_BLACK
Tags.Blocks.GLASS_PANES_BLUE
Tags.Items.GLASS_PANES_BLUE
Tags.Blocks.GLASS_PANES_BROWN
Tags.Items.GLASS_PANES_BROWN
Tags.Blocks.GLASS_PANES_COLORLESS
Tags.Items.GLASS_PANES_COLORLESS
Tags.Blocks.GLASS_PANES_CYAN
Tags.Items.GLASS_PANES_CYAN
Tags.Blocks.GLASS_PANES_GRAY
Tags.Items.GLASS_PANES_GRAY
Tags.Blocks.GLASS_PANES_GREEN
Tags.Items.GLASS_PANES_GREEN
Tags.Blocks.GLASS_PANES_LIGHT_BLUE
Tags.Items.GLASS_PANES_LIGHT_BLUE
Tags.Blocks.GLASS_PANES_LIGHT_GRAY
Tags.Items.GLASS_PANES_LIGHT_GRAY
Tags.Blocks.GLASS_PANES_LIME
Tags.Items.GLASS_PANES_LIME
Tags.Blocks.GLASS_PANES_MAGENTA
Tags.Items.GLASS_PANES_MAGENTA
Tags.Blocks.GLASS_PANES_ORANGE
Tags.Items.GLASS_PANES_ORANGE
Tags.Blocks.GLASS_PANES_PINK
Tags.Items.GLASS_PANES_PINK
Tags.Blocks.GLASS_PANES_PURPLE
Tags.Items.GLASS_PANES_PURPLE
Tags.Blocks.GLASS_PANES_RED
Tags.Items.GLASS_PANES_RED
Tags.Blocks.GLASS_PANES_WHITE
Tags.Items.GLASS_PANES_WHITE
Tags.Blocks.GLASS_PANES_YELLOW
Tags.Items.GLASS_PANES_YELLOW
Tags.Blocks.GLASS_PINK
Tags.Items.GLASS_PINK
Tags.Blocks.GLASS_PURPLE
Tags.Items.GLASS_PURPLE
Tags.Blocks.GLASS_RED
Tags.Items.GLASS_RED
Tags.Blocks.GLASS_SILICA
Glass which is made from sand and only minor additional ingredients like dyesTags.Items.GLASS_SILICA
Glass which is made from sand and only minor additional ingredients like dyesTags.Blocks.GLASS_TINTED
Tags.Items.GLASS_TINTED
Tags.Blocks.GLASS_WHITE
Tags.Items.GLASS_WHITE
Tags.Blocks.GLASS_YELLOW
Tags.Items.GLASS_YELLOW
Tags.Blocks.GRAVEL
Tags.Items.GRAVEL
Tags.Items.GUNPOWDER
Tags.Items.HEADS
Tags.Items.INGOTS
Tags.Items.INGOTS_BRICK
Tags.Items.INGOTS_COPPER
Tags.Items.INGOTS_GOLD
Tags.Items.INGOTS_IRON
Tags.Items.INGOTS_NETHER_BRICK
Tags.Items.INGOTS_NETHERITE
Tags.Biomes.IS_BEACH
Tags.Biomes.IS_COLD
Tags.Biomes.IS_COLD_END
Tags.Biomes.IS_COLD_NETHER
Tags.Biomes.IS_COLD_OVERWORLD
Tags.Biomes.IS_CONIFEROUS
Tags.Biomes.IS_DEAD
Tags.Biomes.IS_DENSE
Tags.Biomes.IS_DENSE_END
Tags.Biomes.IS_DENSE_NETHER
Tags.Biomes.IS_DENSE_OVERWORLD
Tags.Biomes.IS_DRY
Tags.Biomes.IS_DRY_END
Tags.Biomes.IS_DRY_NETHER
Tags.Biomes.IS_DRY_OVERWORLD
Tags.Biomes.IS_END
Tags.Biomes.IS_HOT
Tags.Biomes.IS_HOT_END
Tags.Biomes.IS_HOT_NETHER
Tags.Biomes.IS_HOT_OVERWORLD
Tags.Biomes.IS_LUSH
Tags.Biomes.IS_MAGICAL
Tags.Biomes.IS_MODIFIED
Tags.Biomes.IS_MUSHROOM
Tags.Biomes.IS_OVERWORLD
Tags.Biomes.IS_PEAK
Tags.Biomes.IS_PLAINS
Tags.Biomes.IS_PLATEAU
Tags.Biomes.IS_RARE
Tags.Biomes.IS_SANDY
Tags.Biomes.IS_SAVANNA
Tags.Biomes.IS_SLOPE
Tags.Biomes.IS_SNOWY
Tags.Biomes.IS_SPARSE
Tags.Biomes.IS_SPARSE_END
Tags.Biomes.IS_SPARSE_NETHER
Tags.Biomes.IS_SPARSE_OVERWORLD
Tags.Biomes.IS_SPOOKY
Tags.Biomes.IS_SWAMP
Tags.Biomes.IS_UNDERGROUND
Tags.Biomes.IS_VOID
Tags.Biomes.IS_WASTELAND
Tags.Biomes.IS_WATER
Tags.Biomes.IS_WET
Tags.Biomes.IS_WET_END
Tags.Biomes.IS_WET_NETHER
Tags.Biomes.IS_WET_OVERWORLD
Tags.Items.LEATHER
Tags.Fluids.MILK
Tags.Items.MUSHROOMS
Tags.Blocks.NEEDS_GOLD_TOOL
Tags.Blocks.NEEDS_NETHERITE_TOOL
Tags.Blocks.NEEDS_WOOD_TOOL
Tags.Items.NETHER_STARS
Tags.Blocks.NETHERRACK
Tags.Items.NETHERRACK
Tags.Items.NUGGETS
Tags.Items.NUGGETS_GOLD
Tags.Items.NUGGETS_IRON
Tags.Blocks.OBSIDIAN
Tags.Items.OBSIDIAN
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.Items.RAW_MATERIALS
Tags.Items.RAW_MATERIALS_COPPER
Tags.Items.RAW_MATERIALS_GOLD
Tags.Items.RAW_MATERIALS_IRON
Tags.Items.RODS
Tags.Items.RODS_BLAZE
Tags.Items.RODS_WOODEN
Tags.Blocks.SAND
Tags.Items.SAND
Tags.Blocks.SAND_COLORLESS
Tags.Items.SAND_COLORLESS
Tags.Blocks.SAND_RED
Tags.Items.SAND_RED
Tags.Blocks.SANDSTONE
Tags.Items.SANDSTONE
Tags.Items.SEEDS
Tags.Items.SEEDS_BEETROOT
Tags.Items.SEEDS_MELON
Tags.Items.SEEDS_PUMPKIN
Tags.Items.SEEDS_WHEAT
Tags.Items.SHEARS
Tags.Items.SLIMEBALLS
Tags.Blocks.STAINED_GLASS
Tags.Items.STAINED_GLASS
Tags.Blocks.STAINED_GLASS_PANES
Tags.Items.STAINED_GLASS_PANES
Tags.Blocks.STONE
Tags.Items.STONE
Tags.Blocks.STORAGE_BLOCKS
Tags.Items.STORAGE_BLOCKS
Tags.Blocks.STORAGE_BLOCKS_AMETHYST
Tags.Items.STORAGE_BLOCKS_AMETHYST
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_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_QUARTZ
Tags.Items.STORAGE_BLOCKS_QUARTZ
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.Items.STRING
ForgeTier.tag
Modifier and TypeMethodDescriptionForgeTier.getTag()
ForgeHooks.getTagFromVanillaTier
(Tiers tier) ModifierConstructorDescriptionForgeTier
(int level, int uses, float speed, float attackDamageBonus, int enchantmentValue, TagKey<Block> tag, Supplier<Ingredient> repairIngredient) -
Uses of TagKey in net.minecraftforge.common.crafting
-
Uses of TagKey in net.minecraftforge.common.crafting.conditions
-
Uses of TagKey in net.minecraftforge.common.data
Modifier and TypeMethodDescriptionForgeItemTagsProvider.getForgeBlockTag
(String name) ForgeItemTagsProvider.getForgeItemTag
(String name) ForgeBlockTagsProvider.getForgeTag
(String name) Modifier and TypeMethodDescriptionprivate void
private void
ForgeItemTagsProvider.addColored
(Consumer<TagKey<Item>> consumer, TagKey<Item> group, String pattern) private void
ForgeItemTagsProvider.copyColored
(TagKey<Block> blockGroup, TagKey<Item> itemGroup) private void
private void
ForgeBiomeTagsProvider.tag
(ResourceKey<Biome> biome, TagKey<Biome>... tags) -
Uses of TagKey in net.minecraftforge.common.extensions
Modifier and TypeMethodDescriptiondefault 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. -
Uses of TagKey in net.minecraftforge.debug
Modifier and TypeFieldDescriptionprivate static final TagKey<DeferredRegistryTest.Custom>
DeferredRegistryTest.CUSTOM_TAG_KEY
DuplicateOptionalTagTest.TAG_A
DuplicateOptionalTagTest.TAG_B
RemoveTagDatagenTest.TEST_TAG
-
Uses of TagKey in net.minecraftforge.debug.block
-
Uses of TagKey in net.minecraftforge.debug.item
Modifier and TypeFieldDescriptionTagBasedToolTypesTest.MINEABLE_TAG
TagBasedToolTypesTest.REQUIRES_TAG
-
Uses of TagKey in net.minecraftforge.registries
Modifier and TypeFieldDescriptionDeferredRegister.optionalTags
NamespacedHolderHelper.optionalTags
ForgeRegistryTagManager.tags
private Map<TagKey<T>,
HolderSet.Named<T>> NamespacedHolderHelper.tags
Modifier and TypeMethodDescriptionDeferredRegister.createOptionalTagKey
(@NotNull String path, @NotNull Set<? extends Supplier<T>> defaults) Creates a tag key with the current modid and provided path that will use the set of defaults if the tag is not loaded from any datapacks.DeferredRegister.createOptionalTagKey
(@NotNull ResourceLocation location, @NotNull Set<? extends Supplier<T>> defaults) Creates a tag key with the provided location that will use the set of defaults if the tag is not loaded from any datapacks.ForgeRegistryTagManager.createOptionalTagKey
(@NotNull ResourceLocation location, @NotNull Set<? extends Supplier<V>> defaults) DeferredRegister.createTagKey
(@NotNull String path) Creates a tag key based on the current modid and provided path as the location and the registry name linked to this DeferredRegister.DeferredRegister.createTagKey
(@NotNull ResourceLocation location) Creates a tag key based on the provided resource location and the registry name linked to this DeferredRegister.ForgeRegistryTagManager.createTagKey
(@NotNull ResourceLocation location) ForgeRegistryTag.getKey()
Modifier and TypeMethodDescriptionForgeRegistryTagManager.getTagNames()
NamespacedDefaultedWrapper.getTagNames()
NamespacedHolderHelper.getTagNames()
NamespacedWrapper.getTagNames()
Stream<com.mojang.datafixers.util.Pair<TagKey<T>,
HolderSet.Named<T>>> NamespacedDefaultedWrapper.getTags()
(package private) Stream<com.mojang.datafixers.util.Pair<TagKey<T>,
HolderSet.Named<T>>> NamespacedHolderHelper.getTags()
Stream<com.mojang.datafixers.util.Pair<TagKey<T>,
HolderSet.Named<T>>> NamespacedWrapper.getTags()
Modifier and TypeMethodDescription(package private) void
void
DeferredRegister.addOptionalTagDefaults
(@NotNull TagKey<T> name, @NotNull Set<? extends Supplier<T>> defaults) Adds defaults to an existing tag key.void
ForgeRegistryTagManager.addOptionalTagDefaults
(@NotNull TagKey<V> name, @NotNull Set<? extends Supplier<V>> defaults) private void
NamespacedHolderHelper.addTagToHolder
(Map<Holder.Reference<T>, List<TagKey<T>>> holderToTag, TagKey<T> name, Holder<T> holder) private HolderSet.Named<T>
NamespacedDefaultedWrapper.getOrCreateTag
(TagKey<T> name) (package private) HolderSet.Named<T>
NamespacedHolderHelper.getOrCreateTag
(TagKey<T> name) NamespacedWrapper.getOrCreateTag
(TagKey<T> name) (package private) Optional<HolderSet.Named<T>>
boolean
ForgeRegistryTagManager.isKnownTagName
(@NotNull TagKey<V> name) boolean
NamespacedDefaultedWrapper.isKnownTagName
(TagKey<T> name) (package private) boolean
NamespacedHolderHelper.isKnownTagName
(TagKey<T> name) boolean
NamespacedWrapper.isKnownTagName
(TagKey<T> name) Modifier and TypeMethodDescriptionprivate void
NamespacedHolderHelper.addTagToHolder
(Map<Holder.Reference<T>, List<TagKey<T>>> holderToTag, TagKey<T> name, Holder<T> holder) (package private) void
ForgeRegistryTagManager.bind
(Map<TagKey<V>, HolderSet.Named<V>> holderTags, Set<TagKey<V>> defaultedTags) (package private) void
ForgeRegistryTagManager.bind
(Map<TagKey<V>, HolderSet.Named<V>> holderTags, Set<TagKey<V>> defaultedTags) void
(package private) void
void
(package private) void
ForgeRegistry.onBindTags
(Map<TagKey<V>, HolderSet.Named<V>> tags, Set<TagKey<V>> defaultedTags) (package private) void
ForgeRegistry.onBindTags
(Map<TagKey<V>, HolderSet.Named<V>> tags, Set<TagKey<V>> defaultedTags) -
Uses of TagKey in net.minecraftforge.registries.tags
Modifier and TypeMethodDescriptionITagManager.createOptionalTagKey
(@NotNull ResourceLocation location, @NotNull Set<? extends Supplier<V>> defaults) Creates a tag key that will use the set of defaults if the tag is not loaded from any datapacks.ITagManager.createTagKey
(@NotNull ResourceLocation location) Creates a tag key based on the location and the forge registry linked to this tag manager.ITag.getKey()
Modifier and TypeMethodDescriptionvoid
ITagManager.addOptionalTagDefaults
(@NotNull TagKey<V> name, @NotNull Set<? extends Supplier<V>> defaults) Adds defaults to an existing tag key.boolean
IReverseTag.containsTag
(TagKey<V> key) Queries this tag manager for a tag with the given tag key.boolean
ITagManager.isKnownTagName
(@NotNull TagKey<V> name) Checks whether the given tag key exists in this tag manager and is bound.
Ingredient.of(TagKey)
(Stream)}