Uses of Record Class
net.minecraft.tag.TagKey
Package
Description
-
Uses of TagKey in net.minecraft.block
-
Uses of TagKey in net.minecraft.block.entity
Modifier and TypeMethodDescriptionSculkSpreadManager.getReplaceableTag()
SculkShriekerBlockEntity.getTag()
Modifier and TypeMethodDescriptionprivate static void
ModifierConstructorDescriptionSculkSpreadManager
(boolean worldGen, TagKey<Block> replaceableTag, int extraBlockChance, int maxDistance, int spreadChance, int decayChance) -
Uses of TagKey in net.minecraft.client.gui.screen.ingame
-
Uses of TagKey in net.minecraft.client.gui.screen.world
Modifier and TypeMethodDescriptionprivate static Optional<List<RegistryEntry<WorldPreset>>>
MoreOptionsDialog.collectPresets
(Registry<WorldPreset> presetRegistry, TagKey<WorldPreset> tag) -
Uses of TagKey in net.minecraft.client.tutorial
Modifier and TypeMethodDescriptionstatic boolean
CraftPlanksTutorialStepHandler.hasCrafted
(ClientPlayerEntity player, TagKey<Item> tag) -
Uses of TagKey in net.minecraft.command
Modifier and TypeMethodDescriptionCommandRegistryWrapper.Impl.streamTags()
CommandRegistryWrapper.streamTags()
Modifier 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
Modifier and TypeFieldDescriptionRegistryPredicateArgumentType.TagBased.key
The field for thekey
record component.Modifier and TypeMethodDescriptionRegistryPredicateArgumentType.TagBased.key()
Returns the value of thekey
record component.Modifier 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()
-
Uses of TagKey in net.minecraft.data.server
Modifier and TypeFieldDescriptionprivate final Function<TagKey<Block>,
TagBuilder> ItemTagProvider.blockTags
Modifier 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
Modifier and TypeMethodDescription -
Uses of TagKey in net.minecraft.entity
Modifier and TypeFieldDescriptionprotected Object2DoubleMap<TagKey<Fluid>>
Entity.fluidHeight
Entity.submergedFluidTag
Modifier 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
ModifierConstructorDescriptionBiasedLongJumpTask
(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
Modifier and TypeMethodDescriptionprotected void
MagmaCubeEntity.swimUpward
(TagKey<Fluid> fluid) protected void
MobEntity.swimUpward
(TagKey<Fluid> fluid) -
Uses of TagKey in net.minecraft.entity.passive
-
Uses of TagKey in net.minecraft.entity.player
-
Uses of TagKey in net.minecraft.fluid
-
Uses of TagKey in net.minecraft.item
Modifier and TypeFieldDescriptionMiningToolItem.effectiveBlocks
private TagKey<Instrument>
GoatHornItem.instrumentTag
private final TagKey<BannerPattern>
BannerPatternItem.patternItemTag
Modifier and TypeMethodDescriptionItemStack.streamTags()
Returns a stream of all tags the item is in.Modifier and TypeMethodDescriptionboolean
Returns whether the item is intag
.static void
GoatHornItem.setRandomInstrumentFromTag
(ItemStack stack, TagKey<Instrument> instrumentTag, Random random) ModifierConstructorDescriptionBannerPatternItem
(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
Modifier and TypeMethodDescriptionstatic LeafEntry.Builder<?>
static LeafEntry.Builder<?>
TagEntry.expandBuilder
(TagKey<Item> name) ModifierConstructorDescription(package private)
TagEntry
(TagKey<Item> name, boolean expand, int weight, int quality, LootCondition[] conditions, LootFunction[] functions) -
Uses of TagKey in net.minecraft.loot.function
Modifier and TypeFieldDescriptionExplorationMapLootFunction.DEFAULT_DESTINATION
ExplorationMapLootFunction.Builder.destination
ExplorationMapLootFunction.destination
(package private) final TagKey<Instrument>
SetGoatHornSoundLootFunction.field_39184
Modifier and TypeMethodDescriptionExplorationMapLootFunction.Serializer.getDestination
(JsonObject json) Modifier and TypeMethodDescriptionstatic ConditionalLootFunction.Builder<?>
SetGoatHornSoundLootFunction.builder
(TagKey<Instrument> tagKey) ExplorationMapLootFunction.Builder.withDestination
(TagKey<Structure> destination) ModifierConstructorDescription(package private)
ExplorationMapLootFunction
(LootCondition[] conditions, TagKey<Structure> destination, MapIcon.Type decoration, byte zoom, int searchRadius, boolean skipExistingChunks) (package private)
SetGoatHornSoundLootFunction
(LootCondition[] lootCondition, TagKey<Instrument> tagKey) -
Uses of TagKey in net.minecraft.predicate
Modifier and TypeFieldDescriptionBlockPredicate.Builder.tag
BlockPredicate.tag
FluidPredicate.Builder.tag
FluidPredicate.tag
Modifier and TypeMethodDescriptionModifierConstructorDescriptionBlockPredicate
(@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
Modifier and TypeFieldDescriptionprivate final TagKey<EntityType<?>>
EntityTypePredicate.Tagged.tag
Modifier and TypeMethodDescriptionstatic EntityTypePredicate
EntityTypePredicate.create
(TagKey<EntityType<?>> tag) EntityPredicate.Builder.type
(TagKey<EntityType<?>> tag) -
Uses of TagKey in net.minecraft.predicate.item
Modifier and TypeMethodDescriptionModifierConstructorDescriptionItemPredicate
(@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
-
Uses of TagKey in net.minecraft.server.world
-
Uses of TagKey in net.minecraft.structure.processor
ModifierConstructorDescriptionBlockRotStructureProcessor
(TagKey<Block> rottableBlocks, float integrity) ProtectedBlocksStructureProcessor
(TagKey<Block> protectedBlocksTag) -
Uses of TagKey in net.minecraft.structure.rule
-
Uses of TagKey in net.minecraft.tag
Modifier 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
Modifier 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>
Modifier 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) -
Uses of TagKey in net.minecraft.util.registry
Modifier 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
Modifier 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()
Modifier 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) Modifier 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) -
Uses of TagKey in net.minecraft.village
ModifierConstructorDescriptionSellMapFactory
(int price, TagKey<Structure> structure, String nameKey, MapIcon.Type iconType, int maxUses, int experience) -
Uses of TagKey in net.minecraft.world.dimension
Modifier and TypeFieldDescriptionDimensionType.infiniburn
The field for theinfiniburn
record component.Modifier and TypeMethodDescriptionDimensionType.infiniburn()
Returns the value of theinfiniburn
record component.ModifierConstructorDescriptionDimensionType
(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
-
Uses of TagKey in net.minecraft.world.event.listener
-
Uses of TagKey in net.minecraft.world.gen
Modifier and TypeMethodDescriptionStructureAccessor.getStructureContaining
(BlockPos pos, TagKey<Structure> structureTag) -
Uses of TagKey in net.minecraft.world.gen.blockpredicate
Modifier and TypeMethodDescriptionstatic BlockPredicate
BlockPredicate.matchingBlockTag
(TagKey<Block> offset) static BlockPredicate
BlockPredicate.matchingBlockTag
(Vec3i offset, TagKey<Block> tag) ModifierConstructorDescriptionprotected
MatchingBlockTagPredicate
(Vec3i offset, TagKey<Block> tag) -
Uses of TagKey in net.minecraft.world.gen.feature
Modifier and TypeFieldDescriptionGeodeLayerConfig.cannotReplace
GeodeLayerConfig.invalidBlocks
VegetationPatchFeatureConfig.replaceable
RootSystemFeatureConfig.rootReplaceable
Modifier and TypeMethodDescriptionstatic Predicate<BlockState>
Feature.notInBlockTagPredicate
(TagKey<Block> tag) ModifierConstructorDescriptionGeodeLayerConfig
(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
Modifier 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)