Uses of Record Class
net.minecraft.tag.TagKey
Packages that use TagKey
Package
Description
-
Uses of TagKey in net.minecraft.block
Methods in net.minecraft.block that return types with arguments of type TagKeyMethods in net.minecraft.block with parameters of type TagKey -
Uses of TagKey in net.minecraft.block.entity
Fields in net.minecraft.block.entity declared as TagKeyMethods in net.minecraft.block.entity that return TagKeyModifier and TypeMethodDescriptionSculkSpreadManager.getReplaceableTag()
SculkShriekerBlockEntity.getTag()
Methods in net.minecraft.block.entity with parameters of type TagKeyModifier and TypeMethodDescriptionprivate static void
Constructors in net.minecraft.block.entity with parameters of type TagKeyModifierConstructorDescriptionSculkSpreadManager
(boolean worldGen, TagKey<Block> replaceableTag, int extraBlockChance, int maxDistance, int spreadChance, int decayChance) -
Uses of TagKey in net.minecraft.client.gui.screen.ingame
Fields in net.minecraft.client.gui.screen.ingame with type parameters of type TagKey -
Uses of TagKey in net.minecraft.client.gui.screen.world
Methods in net.minecraft.client.gui.screen.world with parameters of type TagKeyModifier and TypeMethodDescriptionprivate static Optional<List<RegistryEntry<WorldPreset>>>
MoreOptionsDialog.collectPresets
(Registry<WorldPreset> presetRegistry, TagKey<WorldPreset> tag) -
Uses of TagKey in net.minecraft.client.tutorial
Methods in net.minecraft.client.tutorial with parameters of type TagKeyModifier and TypeMethodDescriptionstatic boolean
CraftPlanksTutorialStepHandler.hasCrafted
(ClientPlayerEntity player, TagKey<Item> tag) -
Uses of TagKey in net.minecraft.command
Methods in net.minecraft.command that return types with arguments of type TagKeyModifier and TypeMethodDescriptionCommandRegistryWrapper.Impl.streamTags()
CommandRegistryWrapper.streamTags()
Methods in net.minecraft.command with parameters of type TagKeyModifier and TypeMethodDescriptionOptional<? extends RegistryEntryList<T>>
CommandRegistryWrapper.getEntryList
(TagKey<T> tag) Returns the entry list for the provided tag.Optional<? extends RegistryEntryList<T>>
CommandRegistryWrapper.Impl.getEntryList
(TagKey<T> tag) Returns the entry list for the provided tag. -
Uses of TagKey in net.minecraft.command.argument
Fields in net.minecraft.command.argument declared as TagKeyModifier and TypeFieldDescriptionRegistryPredicateArgumentType.TagBased.key
The field for thekey
record component.Methods in net.minecraft.command.argument that return TagKeyModifier and TypeMethodDescriptionRegistryPredicateArgumentType.TagBased.key()
Returns the value of thekey
record component.Methods in net.minecraft.command.argument that return types with arguments of type TagKeyModifier and TypeMethodDescriptioncom.mojang.datafixers.util.Either<RegistryKey<T>,
TagKey<T>> RegistryPredicateArgumentType.RegistryKeyBased.getKey()
com.mojang.datafixers.util.Either<RegistryKey<T>,
TagKey<T>> RegistryPredicateArgumentType.RegistryPredicate.getKey()
com.mojang.datafixers.util.Either<RegistryKey<T>,
TagKey<T>> RegistryPredicateArgumentType.TagBased.getKey()
Constructors in net.minecraft.command.argument with parameters of type TagKey -
Uses of TagKey in net.minecraft.data.server
Fields in net.minecraft.data.server with type parameters of type TagKeyModifier and TypeFieldDescriptionprivate final Function<TagKey<Block>,
TagBuilder> ItemTagProvider.blockTags
Methods in net.minecraft.data.server with parameters of type TagKeyModifier and TypeMethodDescriptionprivate static InventoryChangedCriterion.Conditions
RecipeProvider.conditionsFromTag
(TagKey<Item> tag) protected void
protected AbstractTagProvider.ObjectBuilder<T>
AbstractTagProvider.getOrCreateTagBuilder
(TagKey<T> tag) protected TagBuilder
AbstractTagProvider.getTagBuilder
(TagKey<T> tag) private static void
RecipeProvider.offerPlanksRecipe
(Consumer<RecipeJsonProvider> exporter, ItemConvertible output, TagKey<Item> input) private static void
RecipeProvider.offerPlanksRecipe2
(Consumer<RecipeJsonProvider> exporter, ItemConvertible output, TagKey<Item> input) -
Uses of TagKey in net.minecraft.data.server.recipe
Methods in net.minecraft.data.server.recipe with parameters of type TagKeyModifier and TypeMethodDescription -
Uses of TagKey in net.minecraft.entity
Fields in net.minecraft.entity with type parameters of type TagKeyModifier and TypeFieldDescriptionprotected Object2DoubleMap<TagKey<Fluid>>
Entity.fluidHeight
Entity.submergedFluidTag
Methods in net.minecraft.entity with parameters of type TagKeyModifier and TypeMethodDescriptiondouble
Entity.getFluidHeight
(TagKey<Fluid> fluid) Returns the height of the fluid influid
tag.boolean
EntityType.isIn
(TagKey<EntityType<?>> tag) boolean
Entity.isSubmergedIn
(TagKey<Fluid> fluidTag) Returns whether the entity is submerged in a fluid influidTag
.protected void
LivingEntity.swimUpward
(TagKey<Fluid> fluid) boolean
Entity.updateMovementInFluid
(TagKey<Fluid> tag, double speed) -
Uses of TagKey in net.minecraft.entity.ai.brain.task
Fields in net.minecraft.entity.ai.brain.task declared as TagKeyConstructors in net.minecraft.entity.ai.brain.task with parameters of type TagKeyModifierConstructorDescriptionBiasedLongJumpTask
(UniformIntProvider cooldownRange, int verticalRange, int horizontalRange, float maxRange, Function<E, SoundEvent> entityToSound, TagKey<Block> favoredBlocks, float biasChance, Predicate<BlockState> jumpToPredicate) FollowMobTask
(TagKey<EntityType<?>> entityType, float maxDistance) -
Uses of TagKey in net.minecraft.entity.mob
Methods in net.minecraft.entity.mob that return TagKeyMethods in net.minecraft.entity.mob with parameters of type TagKeyModifier and TypeMethodDescriptionprotected void
MagmaCubeEntity.swimUpward
(TagKey<Fluid> fluid) protected void
MobEntity.swimUpward
(TagKey<Fluid> fluid) -
Uses of TagKey in net.minecraft.entity.passive
Methods in net.minecraft.entity.passive that return TagKeyMethods in net.minecraft.entity.passive with parameters of type TagKey -
Uses of TagKey in net.minecraft.entity.player
Methods in net.minecraft.entity.player with parameters of type TagKey -
Uses of TagKey in net.minecraft.fluid
Methods in net.minecraft.fluid that return types with arguments of type TagKeyMethods in net.minecraft.fluid with parameters of type TagKey -
Uses of TagKey in net.minecraft.item
Fields in net.minecraft.item declared as TagKeyModifier and TypeFieldDescriptionMiningToolItem.effectiveBlocks
private TagKey<Instrument>
GoatHornItem.instrumentTag
private final TagKey<BannerPattern>
BannerPatternItem.patternItemTag
Methods in net.minecraft.item that return TagKeyMethods in net.minecraft.item that return types with arguments of type TagKeyModifier and TypeMethodDescriptionItemStack.streamTags()
Returns a stream of all tags the item is in.Methods in net.minecraft.item with parameters of type TagKeyModifier and TypeMethodDescriptionboolean
Returns whether the item is intag
.static void
GoatHornItem.setRandomInstrumentFromTag
(ItemStack stack, TagKey<Instrument> instrumentTag, Random random) Constructors in net.minecraft.item with parameters of type TagKeyModifierConstructorDescriptionBannerPatternItem
(TagKey<BannerPattern> patternItemTag, Item.Settings settings) GoatHornItem
(Item.Settings settings, TagKey<Instrument> instrumentTag) protected
MiningToolItem
(float attackDamage, float attackSpeed, ToolMaterial material, TagKey<Block> effectiveBlocks, Item.Settings settings) -
Uses of TagKey in net.minecraft.loot.entry
Fields in net.minecraft.loot.entry declared as TagKeyMethods in net.minecraft.loot.entry with parameters of type TagKeyModifier and TypeMethodDescriptionstatic LeafEntry.Builder<?>
static LeafEntry.Builder<?>
TagEntry.expandBuilder
(TagKey<Item> name) Constructors in net.minecraft.loot.entry with parameters of type TagKeyModifierConstructorDescription(package private)
TagEntry
(TagKey<Item> name, boolean expand, int weight, int quality, LootCondition[] conditions, LootFunction[] functions) -
Uses of TagKey in net.minecraft.loot.function
Fields in net.minecraft.loot.function declared as TagKeyModifier and TypeFieldDescriptionExplorationMapLootFunction.DEFAULT_DESTINATION
ExplorationMapLootFunction.Builder.destination
ExplorationMapLootFunction.destination
(package private) final TagKey<Instrument>
SetGoatHornSoundLootFunction.options
Methods in net.minecraft.loot.function that return TagKeyModifier and TypeMethodDescriptionExplorationMapLootFunction.Serializer.getDestination
(JsonObject json) Methods in net.minecraft.loot.function with parameters of type TagKeyModifier and TypeMethodDescriptionstatic ConditionalLootFunction.Builder<?>
SetGoatHornSoundLootFunction.builder
(TagKey<Instrument> options) ExplorationMapLootFunction.Builder.withDestination
(TagKey<Structure> destination) Constructors in net.minecraft.loot.function with parameters of type TagKeyModifierConstructorDescription(package private)
ExplorationMapLootFunction
(LootCondition[] conditions, TagKey<Structure> destination, MapIcon.Type decoration, byte zoom, int searchRadius, boolean skipExistingChunks) (package private)
SetGoatHornSoundLootFunction
(LootCondition[] conditions, TagKey<Instrument> options) -
Uses of TagKey in net.minecraft.predicate
Fields in net.minecraft.predicate declared as TagKeyModifier and TypeFieldDescriptionBlockPredicate.Builder.tag
BlockPredicate.tag
FluidPredicate.Builder.tag
FluidPredicate.tag
Methods in net.minecraft.predicate with parameters of type TagKeyModifier and TypeMethodDescriptionConstructors in net.minecraft.predicate with parameters of type TagKeyModifierConstructorDescriptionBlockPredicate
(@Nullable TagKey<Block> tag, @Nullable Set<Block> blocks, StatePredicate state, NbtPredicate nbt) FluidPredicate
(@Nullable TagKey<Fluid> tag, @Nullable Fluid fluid, StatePredicate state) -
Uses of TagKey in net.minecraft.predicate.entity
Fields in net.minecraft.predicate.entity declared as TagKeyModifier and TypeFieldDescriptionprivate final TagKey<EntityType<?>>
EntityTypePredicate.Tagged.tag
Methods in net.minecraft.predicate.entity with parameters of type TagKeyModifier and TypeMethodDescriptionstatic EntityTypePredicate
EntityTypePredicate.create
(TagKey<EntityType<?>> tag) EntityPredicate.Builder.type
(TagKey<EntityType<?>> tag) Constructors in net.minecraft.predicate.entity with parameters of type TagKey -
Uses of TagKey in net.minecraft.predicate.item
Fields in net.minecraft.predicate.item declared as TagKeyMethods in net.minecraft.predicate.item with parameters of type TagKeyModifier and TypeMethodDescriptionConstructors in net.minecraft.predicate.item with parameters of type TagKeyModifierConstructorDescriptionItemPredicate
(@Nullable TagKey<Item> tag, @Nullable Set<Item> items, NumberRange.IntRange count, NumberRange.IntRange durability, EnchantmentPredicate[] enchantments, EnchantmentPredicate[] storedEnchantments, @Nullable Potion potion, NbtPredicate nbt) -
Uses of TagKey in net.minecraft.recipe
Fields in net.minecraft.recipe declared as TagKeyMethods in net.minecraft.recipe with parameters of type TagKeyConstructors in net.minecraft.recipe with parameters of type TagKey -
Uses of TagKey in net.minecraft.server.world
Methods in net.minecraft.server.world with parameters of type TagKey -
Uses of TagKey in net.minecraft.structure.processor
Fields in net.minecraft.structure.processor declared as TagKeyConstructors in net.minecraft.structure.processor with parameters of type TagKeyModifierConstructorDescriptionBlockRotStructureProcessor
(TagKey<Block> rottableBlocks, float integrity) ProtectedBlocksStructureProcessor
(TagKey<Block> protectedBlocksTag) -
Uses of TagKey in net.minecraft.structure.rule
Fields in net.minecraft.structure.rule declared as TagKeyConstructors in net.minecraft.structure.rule with parameters of type TagKey -
Uses of TagKey in net.minecraft.tag
Fields in net.minecraft.tag declared as TagKeyModifier and TypeFieldDescriptionBlockTags.ACACIA_LOGS
ItemTags.ACACIA_LOGS
static final TagKey<PointOfInterestType>
PointOfInterestTypeTags.ACQUIRABLE_JOB_SITE
GameEventTags.ALLAY_CAN_LISTEN
BiomeTags.ALLOWS_SURFACE_SLIME_SPAWNS
BiomeTags.ANCIENT_CITY_HAS_STRUCTURE
BlockTags.ANCIENT_CITY_REPLACEABLE
BlockTags.ANIMALS_SPAWNABLE_ON
BlockTags.ANVIL
ItemTags.ANVIL
static final TagKey<EntityType<?>>
EntityTypeTags.ARROWS
ItemTags.ARROWS
BlockTags.AXE_MINEABLE
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
BiomeTags.BASTION_REMNANT_HAS_STRUCTURE
BlockTags.BEACON_BASE_BLOCKS
ItemTags.BEACON_PAYMENT_ITEMS
BlockTags.BEDS
ItemTags.BEDS
BlockTags.BEE_GROWABLES
static final TagKey<PointOfInterestType>
PointOfInterestTypeTags.BEE_HOME
static final TagKey<EntityType<?>>
EntityTypeTags.BEEHIVE_INHABITORS
BlockTags.BEEHIVES
BlockTags.BIG_DRIPLEAF_PLACEABLE
BlockTags.BIRCH_LOGS
ItemTags.BIRCH_LOGS
ItemTags.BOATS
BiomeTags.BURIED_TREASURE_HAS_STRUCTURE
BlockTags.BUTTONS
ItemTags.BUTTONS
BlockTags.CAMPFIRES
BlockTags.CANDLE_CAKES
BlockTags.CANDLES
ItemTags.CANDLES
StructureTags.CATS_SPAWN_AS_BLACK
StructureTags.CATS_SPAWN_IN
BlockTags.CAULDRONS
BlockTags.CAVE_VINES
ItemTags.CHEST_BOATS
BlockTags.CLIMBABLE
ItemTags.CLUSTER_MAX_HARVESTABLES
BlockTags.COAL_ORES
ItemTags.COAL_ORES
ItemTags.COALS
ItemTags.COMPASSES
BlockTags.COMPLETES_FIND_TREE_TUTORIAL
ItemTags.COMPLETES_FIND_TREE_TUTORIAL
BlockTags.CONVERTABLE_TO_MUD
BlockTags.COPPER_ORES
ItemTags.COPPER_ORES
BlockTags.CORAL_BLOCKS
BlockTags.CORAL_PLANTS
BlockTags.CORALS
ItemTags.CREEPER_DROP_MUSIC_DISCS
static final TagKey<BannerPattern>
BannerPatternTags.CREEPER_PATTERN_ITEM
BlockTags.CRIMSON_STEMS
ItemTags.CRIMSON_STEMS
BlockTags.CROPS
BlockTags.CRYSTAL_SOUND_BLOCKS
BlockTags.DAMPENS_VIBRATIONS
ItemTags.DAMPENS_VIBRATIONS
BlockTags.DARK_OAK_LOGS
ItemTags.DARK_OAK_LOGS
BlockTags.DEAD_BUSH_MAY_PLACE_ON
BlockTags.DEEPSLATE_ORE_REPLACEABLES
static final TagKey<CatVariant>
CatVariantTags.DEFAULT_SPAWNS
BiomeTags.DESERT_PYRAMID_HAS_STRUCTURE
BlockTags.DIAMOND_ORES
ItemTags.DIAMOND_ORES
BlockTags.DIRT
ItemTags.DIRT
StructureTags.DOLPHIN_LOCATED
BlockTags.DOORS
ItemTags.DOORS
BlockTags.DRAGON_IMMUNE
BlockTags.DRAGON_TRANSPARENT
BlockTags.DRIPSTONE_REPLACEABLE_BLOCKS
BlockTags.EMERALD_ORES
ItemTags.EMERALD_ORES
BiomeTags.END_CITY_HAS_STRUCTURE
BlockTags.ENDERMAN_HOLDABLE
static final TagKey<WorldPreset>
WorldPresetTags.EXTENDED
StructureTags.EYE_OF_ENDER_LOCATED
BlockTags.FALL_DAMAGE_RESETTING
BlockTags.FEATURES_CANNOT_REPLACE
BlockTags.FENCE_GATES
BlockTags.FENCES
ItemTags.FENCES
BlockTags.FIRE
ItemTags.FISHES
static final TagKey<BannerPattern>
BannerPatternTags.FLOWER_PATTERN_ITEM
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
static final TagKey<EntityType<?>>
EntityTypeTags.FROG_FOOD
BlockTags.FROG_PREFER_JUMP_TO
BlockTags.FROGS_SPAWNABLE_ON
static final TagKey<CatVariant>
CatVariantTags.FULL_MOON_SPAWNS
BlockTags.GEODE_INVALID_BLOCKS
static final TagKey<BannerPattern>
BannerPatternTags.GLOBE_PATTERN_ITEM
static final TagKey<Instrument>
InstrumentTags.GOAT_HORNS
BlockTags.GOATS_SPAWNABLE_ON
BlockTags.GOLD_ORES
ItemTags.GOLD_ORES
BlockTags.GUARDED_BY_PIGLINS
BiomeTags.HAS_CLOSER_WATER_FOG
BlockTags.HOE_MINEABLE
BlockTags.HOGLIN_REPELLENTS
BlockTags.ICE
BiomeTags.IGLOO_HAS_STRUCTURE
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_END
BiomeTags.IS_FOREST
BiomeTags.IS_HILL
BiomeTags.IS_JUNGLE
BiomeTags.IS_MOUNTAIN
BiomeTags.IS_NETHER
BiomeTags.IS_OCEAN
BiomeTags.IS_OVERWORLD
BiomeTags.IS_RIVER
BiomeTags.IS_SAVANNA
BiomeTags.IS_TAIGA
BlockTags.JUNGLE_LOGS
ItemTags.JUNGLE_LOGS
BiomeTags.JUNGLE_TEMPLE_HAS_STRUCTURE
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.MANGROVE_LOGS
ItemTags.MANGROVE_LOGS
BlockTags.MANGROVE_LOGS_CAN_GROW_THROUGH
BlockTags.MANGROVE_ROOTS_CAN_GROW_THROUGH
StructureTags.MINESHAFT
BiomeTags.MINESHAFT_BLOCKING
BiomeTags.MINESHAFT_HAS_STRUCTURE
BiomeTags.MINESHAFT_MESA_HAS_STRUCTURE
static final TagKey<BannerPattern>
BannerPatternTags.MOJANG_PATTERN_ITEM
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
BiomeTags.NETHER_FORTRESS_HAS_STRUCTURE
BiomeTags.NETHER_FOSSIL_HAS_STRUCTURE
static final TagKey<BannerPattern>
BannerPatternTags.NO_ITEM_REQUIRED
BlockTags.NON_FLAMMABLE_WOOD
ItemTags.NON_FLAMMABLE_WOOD
static final TagKey<WorldPreset>
WorldPresetTags.NORMAL
BlockTags.NYLIUM
BlockTags.OAK_LOGS
ItemTags.OAK_LOGS
BlockTags.OCCLUDES_VIBRATION_SIGNALS
BiomeTags.OCEAN_MONUMENT_HAS_STRUCTURE
StructureTags.OCEAN_RUIN
BiomeTags.OCEAN_RUIN_COLD_HAS_STRUCTURE
BiomeTags.OCEAN_RUIN_WARM_HAS_STRUCTURE
StructureTags.ON_OCEAN_EXPLORER_MAPS
StructureTags.ON_TREASURE_MAPS
StructureTags.ON_WOODLAND_EXPLORER_MAPS
BiomeTags.ONLY_ALLOWS_SNOW_AND_GOLD_RABBITS
BlockTags.OVERWORLD_CARVER_REPLACEABLES
BlockTags.OVERWORLD_NATURAL_LOGS
ItemTags.OVERWORLD_NATURAL_LOGS
BlockTags.PARROTS_SPAWNABLE_ON
BlockTags.PICKAXE_MINEABLE
ItemTags.PIGLIN_FOOD
ItemTags.PIGLIN_LOVED
static final TagKey<BannerPattern>
BannerPatternTags.PIGLIN_PATTERN_ITEM
BlockTags.PIGLIN_REPELLENTS
ItemTags.PIGLIN_REPELLENTS
BiomeTags.PILLAGER_OUTPOST_HAS_STRUCTURE
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
BlockTags.RABBITS_SPAWNABLE_ON
static final TagKey<EntityType<?>>
EntityTypeTags.RAIDERS
BlockTags.RAILS
ItemTags.RAILS
BlockTags.REDSTONE_ORES
ItemTags.REDSTONE_ORES
BiomeTags.REDUCE_WATER_AMBIENT_SPAWNS
static final TagKey<Instrument>
InstrumentTags.REGULAR_GOAT_HORNS
BlockTags.REPLACEABLE_PLANTS
BiomeTags.REQUIRED_OCEAN_MONUMENT_SURROUNDING
StructureTags.RUINED_PORTAL
BiomeTags.RUINED_PORTAL_DESERT_HAS_STRUCTURE
BiomeTags.RUINED_PORTAL_JUNGLE_HAS_STRUCTURE
BiomeTags.RUINED_PORTAL_MOUNTAIN_HAS_STRUCTURE
BiomeTags.RUINED_PORTAL_NETHER_HAS_STRUCTURE
BiomeTags.RUINED_PORTAL_OCEAN_HAS_STRUCTURE
BiomeTags.RUINED_PORTAL_STANDARD_HAS_STRUCTURE
BiomeTags.RUINED_PORTAL_SWAMP_HAS_STRUCTURE
BlockTags.SAND
ItemTags.SAND
BlockTags.SAPLINGS
ItemTags.SAPLINGS
static final TagKey<Instrument>
InstrumentTags.SCREAMING_GOAT_HORNS
BlockTags.SCULK_REPLACEABLE
BlockTags.SCULK_REPLACEABLE_WORLD_GEN
StructureTags.SHIPWRECK
BiomeTags.SHIPWRECK_BEACHED_HAS_STRUCTURE
BiomeTags.SHIPWRECK_HAS_STRUCTURE
BlockTags.SHOVEL_MINEABLE
GameEventTags.SHRIEKER_CAN_LISTEN
BlockTags.SHULKER_BOXES
BlockTags.SIGNS
ItemTags.SIGNS
static final TagKey<EntityType<?>>
EntityTypeTags.SKELETONS
static final TagKey<BannerPattern>
BannerPatternTags.SKULL_PATTERN_ITEM
BlockTags.SLABS
ItemTags.SLABS
BlockTags.SMALL_DRIPLEAF_PLACEABLE
BlockTags.SMALL_FLOWERS
ItemTags.SMALL_FLOWERS
BlockTags.SNAPS_GOAT_HORN
BlockTags.SNOW
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_WARM_VARIANT_FROGS
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
BiomeTags.STRONGHOLD_BIASED_TO
BiomeTags.STRONGHOLD_HAS_STRUCTURE
BiomeTags.SWAMP_HUT_HAS_STRUCTURE
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<PointOfInterestType>
PointOfInterestTypeTags.VILLAGE
StructureTags.VILLAGE
BiomeTags.VILLAGE_DESERT_HAS_STRUCTURE
BiomeTags.VILLAGE_PLAINS_HAS_STRUCTURE
BiomeTags.VILLAGE_SAVANNA_HAS_STRUCTURE
BiomeTags.VILLAGE_SNOWY_HAS_STRUCTURE
BiomeTags.VILLAGE_TAIGA_HAS_STRUCTURE
static final TagKey<FlatLevelGeneratorPreset>
FlatLevelGeneratorPresetTags.VISIBLE
BlockTags.WALL_CORALS
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
BlockTags.WITHER_IMMUNE
BlockTags.WITHER_SUMMON_BASE_BLOCKS
BiomeTags.WITHOUT_PATROL_SPAWNS
BiomeTags.WITHOUT_WANDERING_TRADER_SPAWNS
BiomeTags.WITHOUT_ZOMBIE_SIEGES
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
BiomeTags.WOODLAND_MANSION_HAS_STRUCTURE
BlockTags.WOOL
ItemTags.WOOL
BlockTags.WOOL_CARPETS
ItemTags.WOOL_CARPETS
Fields in net.minecraft.tag with type parameters of type TagKeyMethods in net.minecraft.tag that return TagKeyModifier and TypeMethodDescriptionprivate static TagKey<BannerPattern>
private static TagKey<CatVariant>
private static TagKey<EntityType<?>>
private static TagKey<FlatLevelGeneratorPreset>
private static TagKey<Instrument>
private static TagKey<PaintingVariant>
private static TagKey<PointOfInterestType>
static <T> TagKey<T>
TagKey.of
(RegistryKey<? extends Registry<T>> registry, Identifier id) private static TagKey<WorldPreset>
Methods in net.minecraft.tag that return types with arguments of type TagKeyModifier and TypeMethodDescriptionstatic <T> com.mojang.serialization.Codec<TagKey<T>>
TagKey.codec
(RegistryKey<? extends Registry<T>> registry) TagKey.tryCast
(RegistryKey<? extends Registry<E>> registryRef) static <T> com.mojang.serialization.Codec<TagKey<T>>
TagKey.unprefixedCodec
(RegistryKey<? extends Registry<T>> registry) Methods in net.minecraft.tag with parameters of type TagKey -
Uses of TagKey in net.minecraft.util.registry
Fields in net.minecraft.util.registry declared as TagKeyFields in net.minecraft.util.registry with type parameters of type TagKeyModifier and TypeFieldDescriptionprivate final com.mojang.serialization.Codec<com.mojang.datafixers.util.Either<TagKey<E>,
List<RegistryEntry<E>>>> RegistryEntryListCodec.entryListStorageCodec
RegistryEntry.Reference.tags
private Map<TagKey<T>,
RegistryEntryList.Named<T>> SimpleRegistry.tagToEntryList
Methods in net.minecraft.util.registry that return TagKeyMethods in net.minecraft.util.registry that return types with arguments of type TagKeyModifier and TypeMethodDescriptioncom.mojang.datafixers.util.Either<TagKey<T>,
List<RegistryEntry<T>>> RegistryEntryList.Direct.getStorage()
com.mojang.datafixers.util.Either<TagKey<T>,
List<RegistryEntry<T>>> RegistryEntryList.getStorage()
com.mojang.datafixers.util.Either<TagKey<T>,
List<RegistryEntry<T>>> RegistryEntryList.Named.getStorage()
Registry.streamTags()
RegistryEntry.Direct.streamTags()
RegistryEntry.Reference.streamTags()
RegistryEntry.streamTags()
SimpleRegistry.streamTags()
abstract Stream<com.mojang.datafixers.util.Pair<TagKey<T>,
RegistryEntryList.Named<T>>> Registry.streamTagsAndEntries()
Stream<com.mojang.datafixers.util.Pair<TagKey<T>,
RegistryEntryList.Named<T>>> SimpleRegistry.streamTagsAndEntries()
Methods in net.minecraft.util.registry with parameters of type TagKeyModifier and TypeMethodDescriptionabstract boolean
Registry.containsTag
(TagKey<T> tag) boolean
SimpleRegistry.containsTag
(TagKey<T> tag) private RegistryEntryList.Named<T>
SimpleRegistry.createNamedEntryList
(TagKey<T> tag) abstract Optional<RegistryEntryList.Named<T>>
Registry.getEntryList
(TagKey<T> tag) SimpleRegistry.getEntryList
(TagKey<T> tag) abstract RegistryEntryList.Named<T>
Registry.getOrCreateEntryList
(TagKey<T> tag) SimpleRegistry.getOrCreateEntryList
(TagKey<T> tag) boolean
boolean
boolean
Registry.iterateEntries
(TagKey<T> tag) Method parameters in net.minecraft.util.registry with type arguments of type TagKeyModifier and TypeMethodDescriptionabstract void
Registry.populateTags
(Map<TagKey<T>, List<RegistryEntry<T>>> tagEntries) void
SimpleRegistry.populateTags
(Map<TagKey<T>, List<RegistryEntry<T>>> tagEntries) (package private) void
RegistryEntry.Reference.setTags
(Collection<TagKey<T>> tags) Constructors in net.minecraft.util.registry with parameters of type TagKey -
Uses of TagKey in net.minecraft.village
Fields in net.minecraft.village declared as TagKeyConstructors in net.minecraft.village with parameters of type TagKeyModifierConstructorDescriptionSellMapFactory
(int price, TagKey<Structure> structure, String nameKey, MapIcon.Type iconType, int maxUses, int experience) -
Uses of TagKey in net.minecraft.world.dimension
Fields in net.minecraft.world.dimension declared as TagKeyModifier and TypeFieldDescriptionDimensionType.infiniburn
The field for theinfiniburn
record component.Methods in net.minecraft.world.dimension that return TagKeyModifier and TypeMethodDescriptionDimensionType.infiniburn()
Returns the value of theinfiniburn
record component.Constructors in net.minecraft.world.dimension with parameters of type TagKeyModifierConstructorDescriptionDimensionType
(OptionalLong fixedTime, boolean hasSkylight, boolean bool, boolean ultrawarm, boolean bool2, double coordinateScale, boolean bool3, boolean piglinSafe, int int2, int int3, int int4, TagKey<Block> tagKey, Identifier identifier, float float2, DimensionType.MonsterSettings monsterSettings) -
Uses of TagKey in net.minecraft.world.event
Methods in net.minecraft.world.event with parameters of type TagKey -
Uses of TagKey in net.minecraft.world.event.listener
Methods in net.minecraft.world.event.listener that return TagKey -
Uses of TagKey in net.minecraft.world.gen
Methods in net.minecraft.world.gen with parameters of type TagKeyModifier and TypeMethodDescriptionStructureAccessor.getStructureContaining
(BlockPos pos, TagKey<Structure> structureTag) -
Uses of TagKey in net.minecraft.world.gen.blockpredicate
Fields in net.minecraft.world.gen.blockpredicate declared as TagKeyMethods in net.minecraft.world.gen.blockpredicate with parameters of type TagKeyModifier and TypeMethodDescriptionstatic BlockPredicate
BlockPredicate.matchingBlockTag
(TagKey<Block> offset) static BlockPredicate
BlockPredicate.matchingBlockTag
(Vec3i offset, TagKey<Block> tag) Constructors in net.minecraft.world.gen.blockpredicate with parameters of type TagKeyModifierConstructorDescriptionprotected
MatchingBlockTagPredicate
(Vec3i offset, TagKey<Block> tag) -
Uses of TagKey in net.minecraft.world.gen.feature
Fields in net.minecraft.world.gen.feature declared as TagKeyModifier and TypeFieldDescriptionGeodeLayerConfig.cannotReplace
GeodeLayerConfig.invalidBlocks
VegetationPatchFeatureConfig.replaceable
RootSystemFeatureConfig.rootReplaceable
Methods in net.minecraft.world.gen.feature with parameters of type TagKeyModifier and TypeMethodDescriptionstatic Predicate<BlockState>
Feature.notInBlockTagPredicate
(TagKey<Block> tag) Constructors in net.minecraft.world.gen.feature with parameters of type TagKeyModifierConstructorDescriptionGeodeLayerConfig
(BlockStateProvider fillingProvider, BlockStateProvider innerLayerProvider, BlockStateProvider alternateInnerLayerProvider, BlockStateProvider middleLayerProvider, BlockStateProvider outerLayerProvider, List<BlockState> innerBlocks, TagKey<Block> cannotReplace, TagKey<Block> invalidBlocks) RootSystemFeatureConfig
(RegistryEntry<PlacedFeature> feature, int requiredVerticalSpaceForTree, int rootRadius, TagKey<Block> rootReplaceable, BlockStateProvider rootStateProvider, int rootPlacementAttempts, int maxRootColumnHeight, int hangingRootRadius, int hangingRootVerticalSpan, BlockStateProvider hangingRootStateProvider, int hangingRootPlacementAttempts, int allowedVerticalWaterForTree, BlockPredicate predicate) VegetationPatchFeatureConfig
(TagKey<Block> replaceable, BlockStateProvider groundState, RegistryEntry<PlacedFeature> vegetationFeature, VerticalSurfaceType surface, IntProvider depth, float extraBottomBlockChance, int verticalRange, float vegetationChance, IntProvider horizontalRadius, float extraEdgeColumnChance) -
Uses of TagKey in net.minecraft.world.gen.structure
Methods in net.minecraft.world.gen.structure with parameters of type TagKeyModifier and TypeMethodDescriptionprivate static Structure.Config
Structures.createConfig
(TagKey<Biome> biomeTag, Map<SpawnGroup, StructureSpawns> spawns, GenerationStep.Feature featureStep, StructureTerrainAdaptation terrainAdaptation) private static Structure.Config
Structures.createConfig
(TagKey<Biome> biomeTag, GenerationStep.Feature featureStep, StructureTerrainAdaptation terrainAdaptation) private static Structure.Config
Structures.createConfig
(TagKey<Biome> biomeTag, StructureTerrainAdaptation terrainAdaptation) private static RegistryEntryList<Biome>
Structures.getOrCreateBiomeTag
(TagKey<Biome> key)