Uses of Record Class
net.minecraft.registry.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.VibrationCallback.getTag()Methods in net.minecraft.block.entity with parameters of type TagKeyModifier and TypeMethodDescriptionprivate static voidConstructors 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<WorldCreator.WorldType>>WorldCreator.getWorldPresetList(Registry<WorldPreset> registry, TagKey<WorldPreset> tag) -
Uses of TagKey in net.minecraft.client.tutorial
Methods in net.minecraft.client.tutorial with parameters of type TagKeyModifier and TypeMethodDescriptionstatic booleanCraftPlanksTutorialStepHandler.hasCrafted(ClientPlayerEntity player, TagKey<Item> tag) -
Uses of TagKey in net.minecraft.command.argument
Fields in net.minecraft.command.argument declared as TagKeyModifier and TypeFieldDescriptionRegistryPredicateArgumentType.TagBased.keyThe field for thekeyrecord component.Methods in net.minecraft.command.argument that return TagKeyModifier and TypeMethodDescriptionRegistryPredicateArgumentType.TagBased.key()Returns the value of thekeyrecord 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.recipe
Methods in net.minecraft.data.server.recipe with parameters of type TagKeyModifier and TypeMethodDescriptionprotected static AdvancementCriterion<InventoryChangedCriterion.Conditions>RecipeProvider.conditionsFromTag(TagKey<Item> tag) protected static voidRecipeProvider.offerPlanksRecipe(RecipeExporter exporter, ItemConvertible output, TagKey<Item> input, int count) protected static voidRecipeProvider.offerPlanksRecipe2(RecipeExporter exporter, ItemConvertible output, TagKey<Item> input, int count) protected static voidRecipeProvider.offerSmithingTemplateCopyingRecipe(RecipeExporter exporter, ItemConvertible template, TagKey<Item> resource) -
Uses of TagKey in net.minecraft.data.server.tag
Fields in net.minecraft.data.server.tag with type parameters of type TagKeyMethods in net.minecraft.data.server.tag with parameters of type TagKeyModifier and TypeMethodDescriptiondefault booleanprotected voidprotected TagProvider.ProvidedTagBuilder<T>TagProvider.getOrCreateTagBuilder(TagKey<T> tag) protected ValueLookupTagProvider.ObjectBuilder<T>ValueLookupTagProvider.getOrCreateTagBuilder(TagKey<T> tagKey) protected TagBuilderTagProvider.getTagBuilder(TagKey<T> tag) -
Uses of TagKey in net.minecraft.entity
Fields in net.minecraft.entity with type parameters of type TagKeyModifier and TypeFieldDescriptionprotected Object2DoubleMap<TagKey<Fluid>>Entity.fluidHeightEntity.submergedFluidTagMethods in net.minecraft.entity with parameters of type TagKeyModifier and TypeMethodDescriptiondoubleEntity.getFluidHeight(TagKey<Fluid> fluid) Returns the height of the fluid influidtag.booleanEntityType.isIn(TagKey<EntityType<?>> tag) booleanEntity.isSubmergedIn(TagKey<Fluid> fluidTag) Returns whether the entity is submerged in a fluid influidTag.protected voidLivingEntity.swimUpward(TagKey<Fluid> fluid) booleanEntity.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, BiPredicate<E, BlockPos> jumpToPredicate) -
Uses of TagKey in net.minecraft.entity.damage
Methods in net.minecraft.entity.damage with parameters of type TagKey -
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 voidMagmaCubeEntity.swimUpward(TagKey<Fluid> fluid) protected voidMobEntity.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.effectiveBlocksprivate final TagKey<Instrument>GoatHornItem.instrumentTagprivate final TagKey<BannerPattern>BannerPatternItem.patternItemTagMethods 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 TypeMethodDescriptionprivate static voidItemGroups.addInstruments(ItemGroup.Entries entries, RegistryWrapper<Instrument> registryWrapper, Item item, TagKey<Instrument> instrumentTag, ItemGroup.StackVisibility visibility) booleanReturns whether the item is intag.static voidGoatHornItem.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) protectedMiningToolItem(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 TagKeyModifierConstructorDescriptionprivateTagEntry(TagKey<Item> name, boolean expand, int weight, int quality, List<LootCondition> conditions, List<LootFunction> functions) -
Uses of TagKey in net.minecraft.loot.function
Fields in net.minecraft.loot.function declared as TagKeyModifier and TypeFieldDescriptionExplorationMapLootFunction.DEFAULT_DESTINATIONExplorationMapLootFunction.Builder.destinationExplorationMapLootFunction.destinationprivate final TagKey<Instrument>SetInstrumentLootFunction.optionsMethods in net.minecraft.loot.function with parameters of type TagKeyModifier and TypeMethodDescriptionstatic ConditionalLootFunction.Builder<?>SetInstrumentLootFunction.builder(TagKey<Instrument> options) ExplorationMapLootFunction.Builder.withDestination(TagKey<Structure> destination) Constructors in net.minecraft.loot.function with parameters of type TagKeyModifierConstructorDescription(package private)ExplorationMapLootFunction(List<LootCondition> conditions, TagKey<Structure> destination, MapIcon.Type decoration, byte zoom, int searchRadius, boolean skipExistingChunks) privateSetInstrumentLootFunction(List<LootCondition> conditions, TagKey<Instrument> options) -
Uses of TagKey in net.minecraft.predicate
Fields in net.minecraft.predicate declared as TagKeyFields in net.minecraft.predicate with type parameters of type TagKeyModifier and TypeFieldDescriptionBlockPredicate.Builder.tagBlockPredicate.tagThe field for thetagrecord component.FluidPredicate.Builder.tagFluidPredicate.tagThe field for thetagrecord component.Methods in net.minecraft.predicate that return TagKeyModifier and TypeMethodDescriptionTagPredicate.tag()Returns the value of thetagrecord component.Methods in net.minecraft.predicate that return types with arguments of type TagKeyModifier and TypeMethodDescriptionBlockPredicate.tag()Returns the value of thetagrecord component.FluidPredicate.tag()Returns the value of thetagrecord component.Methods in net.minecraft.predicate with parameters of type TagKeyModifier and TypeMethodDescriptionstatic <T> TagPredicate<T>static <T> TagPredicate<T>TagPredicate.unexpected(TagKey<T> tag) Constructors in net.minecraft.predicate with parameters of type TagKeyModifierConstructorDescriptionTagPredicate(TagKey<T> tag, boolean expected) Creates an instance of aTagPredicaterecord class.Constructor parameters in net.minecraft.predicate with type arguments of type TagKeyModifierConstructorDescriptionBlockPredicate(Optional<TagKey<Block>> optional, Optional<RegistryEntryList<Block>> optional2, Optional<StatePredicate> optional3, Optional<NbtPredicate> optional4) FluidPredicate(Optional<TagKey<Fluid>> optional, Optional<RegistryEntry<Fluid>> optional2, Optional<StatePredicate> optional3) -
Uses of TagKey in net.minecraft.predicate.entity
Methods in net.minecraft.predicate.entity with parameters of type TagKeyModifier and TypeMethodDescriptionstatic EntityTypePredicateEntityTypePredicate.create(TagKey<EntityType<?>> tag) EntityPredicate.Builder.type(TagKey<EntityType<?>> tag) -
Uses of TagKey in net.minecraft.predicate.item
Fields in net.minecraft.predicate.item with type parameters of type TagKeyModifier and TypeFieldDescriptionItemPredicate.Builder.tagItemPredicate.tagThe field for thetagrecord component.Methods in net.minecraft.predicate.item that return types with arguments of type TagKeyModifier and TypeMethodDescriptionItemPredicate.tag()Returns the value of thetagrecord component.Methods in net.minecraft.predicate.item with parameters of type TagKeyModifier and TypeMethodDescriptionConstructor parameters in net.minecraft.predicate.item with type arguments of type TagKeyModifierConstructorDescriptionItemPredicate(Optional<TagKey<Item>> optional, Optional<RegistryEntryList<Item>> optional2, NumberRange.IntRange count, NumberRange.IntRange durability, List<EnchantmentPredicate> list, List<EnchantmentPredicate> list2, Optional<RegistryEntry<Potion>> optional3, Optional<NbtPredicate> optional4) -
Uses of TagKey in net.minecraft.recipe
Fields in net.minecraft.recipe declared as TagKeyMethods in net.minecraft.recipe that return TagKeyModifier and TypeMethodDescriptionIngredient.TagEntry.tag()Returns the value of thetagrecord component.Methods in net.minecraft.recipe with parameters of type TagKeyConstructors in net.minecraft.recipe with parameters of type TagKey -
Uses of TagKey in net.minecraft.registry
Fields in net.minecraft.registry with type parameters of type TagKeyModifier and TypeFieldDescriptionprivate Map<TagKey<T>,RegistryEntryList.Named<T>> SimpleRegistry.tagToEntryListMethods in net.minecraft.registry that return types with arguments of type TagKeyModifier and TypeMethodDescriptionRegistryWrapper.streamTagKeys()Registry.streamTags()Returns a stream of all tag keys known to this registry.SimpleRegistry.streamTags()Returns a stream of all tag keys known to this registry.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.registry with parameters of type TagKeyModifier and TypeMethodDescriptionprivate RegistryEntryList.Named<T>SimpleRegistry.createNamedEntryList(TagKey<T> tag) Registry.getEntryList(TagKey<T> tag) Returns the registry entry list of values that are assignedtag, or an empty optional if the tag is not known to the registry.SimpleRegistry.getEntryList(TagKey<T> tag) Returns the registry entry list of values that are assignedtag, or an empty optional if the tag is not known to the registry.RegistryBuilder.EntryListCreatingLookup.getOptional(TagKey<T> tag) RegistryEntryLookup.getOptional(TagKey<T> tag) RegistryWrapper.Delegating.getOptional(TagKey<T> tag) RegistryWrapper.Impl.Delegating.getOptional(TagKey<T> tag) Registry.getOrCreateEntryList(TagKey<T> tag) SimpleRegistry.getOrCreateEntryList(TagKey<T> tag) default RegistryEntryList.Named<T>RegistryEntryLookup.getOrThrow(TagKey<T> tag) default Iterable<RegistryEntry<T>>Registry.iterateEntries(TagKey<T> tag) Returns an iterable of values that are assignedtag, or an empty iterable if the tag is not known to the registry.Method parameters in net.minecraft.registry with type arguments of type TagKeyModifier and TypeMethodDescriptionvoidRegistry.populateTags(Map<TagKey<T>, List<RegistryEntry<T>>> tagEntries) voidSimpleRegistry.populateTags(Map<TagKey<T>, List<RegistryEntry<T>>> tagEntries) -
Uses of TagKey in net.minecraft.registry.entry
Fields in net.minecraft.registry.entry declared as TagKeyFields in net.minecraft.registry.entry with type parameters of type TagKeyModifier and TypeFieldDescriptionprivate final com.mojang.serialization.Codec<com.mojang.datafixers.util.Either<TagKey<E>,List<RegistryEntry<E>>>> RegistryEntryListCodec.entryListStorageCodecRegistryEntry.Reference.tagsMethods in net.minecraft.registry.entry that return TagKeyModifier and TypeMethodDescriptionRegistryEntryList.Named.getTag()Returns the tag key that this list references.Methods in net.minecraft.registry.entry that return types with arguments of type TagKeyModifier and TypeMethodDescriptioncom.mojang.datafixers.util.Either<TagKey<T>,List<RegistryEntry<T>>> RegistryEntryList.Direct.getStorage()Returns the object that identifies this registry entry list.com.mojang.datafixers.util.Either<TagKey<T>,List<RegistryEntry<T>>> RegistryEntryList.getStorage()Returns the object that identifies this registry entry list.com.mojang.datafixers.util.Either<TagKey<T>,List<RegistryEntry<T>>> RegistryEntryList.Named.getStorage()Returns the object that identifies this registry entry list.RegistryEntryList.Direct.getTagKey()RegistryEntryList.getTagKey()RegistryEntryList.Named.getTagKey()RegistryEntry.Direct.streamTags()Returns a stream of the tags of this entry, or an empty stream if this is a direct entry.RegistryEntry.Reference.streamTags()Returns a stream of the tags of this entry, or an empty stream if this is a direct entry.RegistryEntry.streamTags()Returns a stream of the tags of this entry, or an empty stream if this is a direct entry.Methods in net.minecraft.registry.entry with parameters of type TagKeyModifier and TypeMethodDescriptionbooleanReturns whether this entry is intag.booleanReturns whether this entry is intag.booleanReturns whether this entry is intag.static <T> RegistryEntryList.Named<T>RegistryEntryList.of(RegistryEntryOwner<T> owner, TagKey<T> tagKey) Deprecated.Method parameters in net.minecraft.registry.entry with type arguments of type TagKeyModifier and TypeMethodDescription(package private) voidRegistryEntry.Reference.setTags(Collection<TagKey<T>> tags) Constructors in net.minecraft.registry.entry with parameters of type TagKeyModifierConstructorDescription(package private)Named(RegistryEntryOwner<T> owner, TagKey<T> tag) -
Uses of TagKey in net.minecraft.registry.tag
Fields in net.minecraft.registry.tag declared as TagKeyModifier and TypeFieldDescriptionBlockTags.ACACIA_LOGSItemTags.ACACIA_LOGSstatic final TagKey<PointOfInterestType>PointOfInterestTypeTags.ACQUIRABLE_JOB_SITEBlockTags.ALL_HANGING_SIGNSBlockTags.ALL_SIGNSGameEventTags.ALLAY_CAN_LISTENBiomeTags.ALLOWS_SURFACE_SLIME_SPAWNSstatic final TagKey<DamageType>DamageTypeTags.ALWAYS_HURTS_ENDER_DRAGONSstatic final TagKey<DamageType>DamageTypeTags.ALWAYS_KILLS_ARMOR_STANDSstatic final TagKey<DamageType>DamageTypeTags.ALWAYS_MOST_SIGNIFICANT_FALLstatic final TagKey<DamageType>DamageTypeTags.ALWAYS_TRIGGERS_SILVERFISHBiomeTags.ANCIENT_CITY_HAS_STRUCTUREBlockTags.ANCIENT_CITY_REPLACEABLEBlockTags.ANIMALS_SPAWNABLE_ONBlockTags.ANVILItemTags.ANVILstatic final TagKey<EntityType<?>>EntityTypeTags.ARROWSItemTags.ARROWSstatic final TagKey<DamageType>DamageTypeTags.AVOIDS_GUARDIAN_THORNSBlockTags.AXE_MINEABLEItemTags.AXESstatic final TagKey<EntityType<?>>EntityTypeTags.AXOLOTL_ALWAYS_HOSTILESstatic final TagKey<EntityType<?>>EntityTypeTags.AXOLOTL_HUNT_TARGETSItemTags.AXOLOTL_TEMPT_ITEMSBlockTags.AXOLOTLS_SPAWNABLE_ONBlockTags.AZALEA_GROWS_ONBlockTags.AZALEA_ROOT_REPLACEABLEBlockTags.BAMBOO_BLOCKSItemTags.BAMBOO_BLOCKSBlockTags.BAMBOO_PLANTABLE_ONBlockTags.BANNERSItemTags.BANNERSBlockTags.BASE_STONE_NETHERBlockTags.BASE_STONE_OVERWORLDBiomeTags.BASTION_REMNANT_HAS_STRUCTUREBlockTags.BEACON_BASE_BLOCKSItemTags.BEACON_PAYMENT_ITEMSBlockTags.BEDSItemTags.BEDSBlockTags.BEE_GROWABLESstatic final TagKey<PointOfInterestType>PointOfInterestTypeTags.BEE_HOMEstatic final TagKey<EntityType<?>>EntityTypeTags.BEEHIVE_INHABITORSBlockTags.BEEHIVESBlockTags.BIG_DRIPLEAF_PLACEABLEBlockTags.BIRCH_LOGSItemTags.BIRCH_LOGSItemTags.BOATSItemTags.BOOKSHELF_BOOKSItemTags.BREAKS_DECORATED_POTSBiomeTags.BURIED_TREASURE_HAS_STRUCTUREstatic final TagKey<DamageType>DamageTypeTags.BURNS_ARMOR_STANDSBlockTags.BUTTONSItemTags.BUTTONSstatic final TagKey<DamageType>DamageTypeTags.BYPASSES_ARMORstatic final TagKey<DamageType>DamageTypeTags.BYPASSES_COOLDOWNstatic final TagKey<DamageType>DamageTypeTags.BYPASSES_EFFECTSstatic final TagKey<DamageType>DamageTypeTags.BYPASSES_ENCHANTMENTSstatic final TagKey<DamageType>DamageTypeTags.BYPASSES_INVULNERABILITYstatic final TagKey<DamageType>DamageTypeTags.BYPASSES_RESISTANCEstatic final TagKey<DamageType>DamageTypeTags.BYPASSES_SHIELDBlockTags.CAMEL_SAND_STEP_SOUND_BLOCKSBlockTags.CAMPFIRESBlockTags.CANDLE_CAKESBlockTags.CANDLESItemTags.CANDLESStructureTags.CATS_SPAWN_AS_BLACKStructureTags.CATS_SPAWN_INBlockTags.CAULDRONSBlockTags.CAVE_VINESBlockTags.CEILING_HANGING_SIGNSBlockTags.CHERRY_LOGSItemTags.CHERRY_LOGSItemTags.CHEST_BOATSBlockTags.CLIMBABLEItemTags.CLUSTER_MAX_HARVESTABLESBlockTags.COAL_ORESItemTags.COAL_ORESItemTags.COALSBlockTags.COMBINATION_STEP_SOUND_BLOCKSItemTags.COMPASSESBlockTags.COMPLETES_FIND_TREE_TUTORIALItemTags.COMPLETES_FIND_TREE_TUTORIALBlockTags.CONCRETE_POWDERBlockTags.CONVERTABLE_TO_MUDBlockTags.COPPER_ORESItemTags.COPPER_ORESBlockTags.CORAL_BLOCKSBlockTags.CORAL_PLANTSBlockTags.CORALSItemTags.CREEPER_DROP_MUSIC_DISCSItemTags.CREEPER_IGNITERSstatic final TagKey<BannerPattern>BannerPatternTags.CREEPER_PATTERN_ITEMBlockTags.CRIMSON_STEMSItemTags.CRIMSON_STEMSBlockTags.CROPSBlockTags.CRYSTAL_SOUND_BLOCKSstatic final TagKey<DamageType>DamageTypeTags.DAMAGES_HELMETBlockTags.DAMPENS_VIBRATIONSItemTags.DAMPENS_VIBRATIONSBlockTags.DARK_OAK_LOGSItemTags.DARK_OAK_LOGSBlockTags.DEAD_BUSH_MAY_PLACE_ONItemTags.DECORATED_POT_INGREDIENTSItemTags.DECORATED_POT_SHERDSBlockTags.DEEPSLATE_ORE_REPLACEABLESstatic final TagKey<CatVariant>CatVariantTags.DEFAULT_SPAWNSBiomeTags.DESERT_PYRAMID_HAS_STRUCTUREBlockTags.DIAMOND_ORESItemTags.DIAMOND_ORESBlockTags.DIRTItemTags.DIRTstatic final TagKey<EntityType<?>>EntityTypeTags.DISMOUNTS_UNDERWATERStructureTags.DOLPHIN_LOCATEDBlockTags.DOORSItemTags.DOORSBlockTags.DRAGON_IMMUNEBlockTags.DRAGON_TRANSPARENTBlockTags.DRIPSTONE_REPLACEABLE_BLOCKSBlockTags.EMERALD_ORESItemTags.EMERALD_ORESBlockTags.ENCHANTMENT_POWER_PROVIDERBlockTags.ENCHANTMENT_POWER_TRANSMITTERBiomeTags.END_CITY_HAS_STRUCTUREBlockTags.ENDERMAN_HOLDABLEstatic final TagKey<WorldPreset>WorldPresetTags.EXTENDEDStructureTags.EYE_OF_ENDER_LOCATEDstatic final TagKey<EntityType<?>>EntityTypeTags.FALL_DAMAGE_IMMUNEBlockTags.FALL_DAMAGE_RESETTINGBlockTags.FEATURES_CANNOT_REPLACEBlockTags.FENCE_GATESItemTags.FENCE_GATESBlockTags.FENCESItemTags.FENCESBlockTags.FIREItemTags.FISHESstatic final TagKey<BannerPattern>BannerPatternTags.FLOWER_PATTERN_ITEMBlockTags.FLOWER_POTSBlockTags.FLOWERSItemTags.FLOWERSItemTags.FOX_FOODBlockTags.FOXES_SPAWNABLE_ONstatic final TagKey<EntityType<?>>EntityTypeTags.FREEZE_HURTS_EXTRA_TYPESstatic final TagKey<EntityType<?>>EntityTypeTags.FREEZE_IMMUNE_ENTITY_TYPESItemTags.FREEZE_IMMUNE_WEARABLESstatic final TagKey<EntityType<?>>EntityTypeTags.FROG_FOODBlockTags.FROG_PREFER_JUMP_TOBlockTags.FROGS_SPAWNABLE_ONstatic final TagKey<CatVariant>CatVariantTags.FULL_MOON_SPAWNSBlockTags.GEODE_INVALID_BLOCKSstatic final TagKey<BannerPattern>BannerPatternTags.GLOBE_PATTERN_ITEMstatic final TagKey<Instrument>InstrumentTags.GOAT_HORNSBlockTags.GOATS_SPAWNABLE_ONBlockTags.GOLD_ORESItemTags.GOLD_ORESBlockTags.GUARDED_BY_PIGLINSItemTags.HANGING_SIGNSBiomeTags.HAS_CLOSER_WATER_FOGBlockTags.HOE_MINEABLEItemTags.HOESBlockTags.HOGLIN_REPELLENTSBlockTags.ICEBiomeTags.IGLOO_HAS_STRUCTUREstatic final TagKey<DamageType>DamageTypeTags.IGNITES_ARMOR_STANDSGameEventTags.IGNORE_VIBRATIONS_SNEAKINGItemTags.IGNORED_BY_PIGLIN_BABIESstatic final TagKey<EntityType<?>>EntityTypeTags.IMPACT_PROJECTILESBlockTags.IMPERMEABLEBiomeTags.INCREASED_FIRE_BURNOUTBlockTags.INFINIBURN_ENDBlockTags.INFINIBURN_NETHERBlockTags.INFINIBURN_OVERWORLDBlockTags.INSIDE_STEP_SOUND_BLOCKSBlockTags.INVALID_SPAWN_INSIDEBlockTags.IRON_ORESItemTags.IRON_ORESBiomeTags.IS_BADLANDSBiomeTags.IS_BEACHBiomeTags.IS_DEEP_OCEANstatic final TagKey<DamageType>DamageTypeTags.IS_DROWNINGBiomeTags.IS_ENDstatic final TagKey<DamageType>DamageTypeTags.IS_EXPLOSIONstatic final TagKey<DamageType>DamageTypeTags.IS_FALLstatic final TagKey<DamageType>DamageTypeTags.IS_FIREBiomeTags.IS_FORESTstatic final TagKey<DamageType>DamageTypeTags.IS_FREEZINGBiomeTags.IS_HILLBiomeTags.IS_JUNGLEstatic final TagKey<DamageType>DamageTypeTags.IS_LIGHTNINGBiomeTags.IS_MOUNTAINBiomeTags.IS_NETHERBiomeTags.IS_OCEANBiomeTags.IS_OVERWORLDstatic final TagKey<DamageType>DamageTypeTags.IS_PROJECTILEBiomeTags.IS_RIVERBiomeTags.IS_SAVANNABiomeTags.IS_TAIGABlockTags.JUNGLE_LOGSItemTags.JUNGLE_LOGSBiomeTags.JUNGLE_TEMPLE_HAS_STRUCTUREBlockTags.LAPIS_ORESItemTags.LAPIS_ORESFluidTags.LAVABlockTags.LAVA_POOL_STONE_CANNOT_REPLACEBlockTags.LEAVESItemTags.LEAVESItemTags.LECTERN_BOOKSBlockTags.LOGSItemTags.LOGSBlockTags.LOGS_THAT_BURNItemTags.LOGS_THAT_BURNBlockTags.LUSH_GROUND_REPLACEABLEBlockTags.MAINTAINS_FARMLANDBlockTags.MANGROVE_LOGSItemTags.MANGROVE_LOGSBlockTags.MANGROVE_LOGS_CAN_GROW_THROUGHBlockTags.MANGROVE_ROOTS_CAN_GROW_THROUGHStructureTags.MINESHAFTBiomeTags.MINESHAFT_BLOCKINGBiomeTags.MINESHAFT_HAS_STRUCTUREBiomeTags.MINESHAFT_MESA_HAS_STRUCTUREstatic final TagKey<BannerPattern>BannerPatternTags.MOJANG_PATTERN_ITEMBlockTags.MOOSHROOMS_SPAWNABLE_ONBiomeTags.MORE_FREQUENT_DROWNED_SPAWNSBlockTags.MOSS_REPLACEABLEBlockTags.MUSHROOM_GROW_BLOCKItemTags.MUSIC_DISCSBlockTags.NEEDS_DIAMOND_TOOLBlockTags.NEEDS_IRON_TOOLBlockTags.NEEDS_STONE_TOOLBlockTags.NETHER_CARVER_REPLACEABLESBiomeTags.NETHER_FORTRESS_HAS_STRUCTUREBiomeTags.NETHER_FOSSIL_HAS_STRUCTUREstatic final TagKey<DamageType>DamageTypeTags.NO_ANGERstatic final TagKey<DamageType>DamageTypeTags.NO_IMPACTstatic final TagKey<BannerPattern>BannerPatternTags.NO_ITEM_REQUIREDstatic final TagKey<DamageType>DamageTypeTags.NO_KNOCKBACKstatic final TagKey<EntityType<?>>EntityTypeTags.NON_CONTROLLING_RIDERItemTags.NON_FLAMMABLE_WOODstatic final TagKey<WorldPreset>WorldPresetTags.NORMALItemTags.NOTEBLOCK_TOP_INSTRUMENTSBlockTags.NYLIUMBlockTags.OAK_LOGSItemTags.OAK_LOGSBlockTags.OCCLUDES_VIBRATION_SIGNALSBiomeTags.OCEAN_MONUMENT_HAS_STRUCTUREStructureTags.OCEAN_RUINBiomeTags.OCEAN_RUIN_COLD_HAS_STRUCTUREBiomeTags.OCEAN_RUIN_WARM_HAS_STRUCTUREStructureTags.ON_DESERT_VILLAGE_MAPSStructureTags.ON_JUNGLE_EXPLORER_MAPSStructureTags.ON_OCEAN_EXPLORER_MAPSStructureTags.ON_PLAINS_VILLAGE_MAPSStructureTags.ON_SAVANNA_VILLAGE_MAPSStructureTags.ON_SNOWY_VILLAGE_MAPSStructureTags.ON_SWAMP_EXPLORER_MAPSStructureTags.ON_TAIGA_VILLAGE_MAPSStructureTags.ON_TREASURE_MAPSStructureTags.ON_WOODLAND_EXPLORER_MAPSBlockTags.OVERWORLD_CARVER_REPLACEABLESBlockTags.OVERWORLD_NATURAL_LOGSBlockTags.PARROTS_SPAWNABLE_ONBlockTags.PICKAXE_MINEABLEItemTags.PICKAXESItemTags.PIGLIN_FOODItemTags.PIGLIN_LOVEDstatic final TagKey<BannerPattern>BannerPatternTags.PIGLIN_PATTERN_ITEMBlockTags.PIGLIN_REPELLENTSItemTags.PIGLIN_REPELLENTSBiomeTags.PILLAGER_OUTPOST_HAS_STRUCTUREstatic final TagKey<PaintingVariant>PaintingVariantTags.PLACEABLEBlockTags.PLANKSItemTags.PLANKSBiomeTags.PLAYS_UNDERWATER_MUSICBiomeTags.POLAR_BEARS_SPAWN_ON_ALTERNATE_BLOCKSBlockTags.POLAR_BEARS_SPAWNABLE_ON_ALTERNATEBlockTags.PORTALSstatic final TagKey<EntityType<?>>EntityTypeTags.POWDER_SNOW_WALKABLE_MOBSBlockTags.PRESSURE_PLATESBlockTags.PREVENT_MOB_SPAWNING_INSIDEBiomeTags.PRODUCES_CORALS_FROM_BONEMEALBlockTags.RABBITS_SPAWNABLE_ONstatic final TagKey<EntityType<?>>EntityTypeTags.RAIDERSBlockTags.RAILSItemTags.RAILSBlockTags.REDSTONE_ORESItemTags.REDSTONE_ORESBiomeTags.REDUCE_WATER_AMBIENT_SPAWNSstatic final TagKey<Instrument>InstrumentTags.REGULAR_GOAT_HORNSBlockTags.REPLACEABLEBlockTags.REPLACEABLE_BY_TREESBiomeTags.REQUIRED_OCEAN_MONUMENT_SURROUNDINGStructureTags.RUINED_PORTALBiomeTags.RUINED_PORTAL_DESERT_HAS_STRUCTUREBiomeTags.RUINED_PORTAL_JUNGLE_HAS_STRUCTUREBiomeTags.RUINED_PORTAL_MOUNTAIN_HAS_STRUCTUREBiomeTags.RUINED_PORTAL_NETHER_HAS_STRUCTUREBiomeTags.RUINED_PORTAL_OCEAN_HAS_STRUCTUREBiomeTags.RUINED_PORTAL_STANDARD_HAS_STRUCTUREBiomeTags.RUINED_PORTAL_SWAMP_HAS_STRUCTUREBlockTags.SANDItemTags.SANDBlockTags.SAPLINGSItemTags.SAPLINGSstatic final TagKey<Instrument>InstrumentTags.SCREAMING_GOAT_HORNSBlockTags.SCULK_REPLACEABLEBlockTags.SCULK_REPLACEABLE_WORLD_GENStructureTags.SHIPWRECKBiomeTags.SHIPWRECK_BEACHED_HAS_STRUCTUREBiomeTags.SHIPWRECK_HAS_STRUCTUREBlockTags.SHOVEL_MINEABLEItemTags.SHOVELSGameEventTags.SHRIEKER_CAN_LISTENBlockTags.SHULKER_BOXESBlockTags.SIGNSItemTags.SIGNSstatic final TagKey<EntityType<?>>EntityTypeTags.SKELETONSstatic final TagKey<BannerPattern>BannerPatternTags.SKULL_PATTERN_ITEMBlockTags.SLABSItemTags.SLABSBlockTags.SMALL_DRIPLEAF_PLACEABLEBlockTags.SMALL_FLOWERSItemTags.SMALL_FLOWERSBlockTags.SMELTS_TO_GLASSItemTags.SMELTS_TO_GLASSBlockTags.SNAPS_GOAT_HORNBlockTags.SNIFFER_DIGGABLE_BLOCKBlockTags.SNIFFER_EGG_HATCH_BOOSTItemTags.SNIFFER_FOODBlockTags.SNOWBiomeTags.SNOW_GOLEM_MELTSBlockTags.SNOW_LAYER_CAN_SURVIVE_ONBlockTags.SNOW_LAYER_CANNOT_SURVIVE_ONBlockTags.SOUL_FIRE_BASE_BLOCKSItemTags.SOUL_FIRE_BASE_BLOCKSBlockTags.SOUL_SPEED_BLOCKSBiomeTags.SPAWNS_COLD_VARIANT_FROGSBiomeTags.SPAWNS_GOLD_RABBITSBiomeTags.SPAWNS_SNOW_FOXESBiomeTags.SPAWNS_WARM_VARIANT_FROGSBiomeTags.SPAWNS_WHITE_RABBITSBlockTags.SPRUCE_LOGSItemTags.SPRUCE_LOGSBlockTags.STAIRSItemTags.STAIRSBlockTags.STANDING_SIGNSBlockTags.STONE_BRICKSItemTags.STONE_BRICKSBlockTags.STONE_BUTTONSItemTags.STONE_BUTTONSItemTags.STONE_CRAFTING_MATERIALSBlockTags.STONE_ORE_REPLACEABLESBlockTags.STONE_PRESSURE_PLATESItemTags.STONE_TOOL_MATERIALSBlockTags.STRIDER_WARM_BLOCKSBiomeTags.STRONGHOLD_BIASED_TOBiomeTags.STRONGHOLD_HAS_STRUCTUREBiomeTags.SWAMP_HUT_HAS_STRUCTUREBlockTags.SWORD_EFFICIENTItemTags.SWORDSBlockTags.TALL_FLOWERSItemTags.TALL_FLOWERSBlockTags.TERRACOTTAItemTags.TERRACOTTAItemTags.TOOLSBiomeTags.TRAIL_RUINS_HAS_STRUCTUREBlockTags.TRAIL_RUINS_REPLACEABLEBlockTags.TRAPDOORSItemTags.TRAPDOORSItemTags.TRIM_MATERIALSItemTags.TRIM_TEMPLATESItemTags.TRIMMABLE_ARMORBlockTags.UNDERWATER_BONEMEALSBlockTags.UNSTABLE_BOTTOM_CENTERBlockTags.VALID_SPAWNBlockTags.VIBRATION_RESONATORSGameEventTags.VIBRATIONSstatic final TagKey<PointOfInterestType>PointOfInterestTypeTags.VILLAGEStructureTags.VILLAGEBiomeTags.VILLAGE_DESERT_HAS_STRUCTUREBiomeTags.VILLAGE_PLAINS_HAS_STRUCTUREBiomeTags.VILLAGE_SAVANNA_HAS_STRUCTUREBiomeTags.VILLAGE_SNOWY_HAS_STRUCTUREBiomeTags.VILLAGE_TAIGA_HAS_STRUCTUREItemTags.VILLAGER_PLANTABLE_SEEDSstatic final TagKey<FlatLevelGeneratorPreset>FlatLevelGeneratorPresetTags.VISIBLEBlockTags.WALL_CORALSBlockTags.WALL_HANGING_SIGNSBlockTags.WALL_POST_OVERRIDEBlockTags.WALL_SIGNSBlockTags.WALLSItemTags.WALLSGameEventTags.WARDEN_CAN_LISTENBlockTags.WARPED_STEMSItemTags.WARPED_STEMSBlockTags.WART_BLOCKSItemTags.WART_BLOCKSFluidTags.WATERBiomeTags.WATER_ON_MAP_OUTLINESstatic final TagKey<DamageType>DamageTypeTags.WITCH_RESISTANT_TOBlockTags.WITHER_IMMUNEstatic final TagKey<DamageType>DamageTypeTags.WITHER_IMMUNE_TOBlockTags.WITHER_SUMMON_BASE_BLOCKSBiomeTags.WITHOUT_PATROL_SPAWNSBiomeTags.WITHOUT_WANDERING_TRADER_SPAWNSBiomeTags.WITHOUT_ZOMBIE_SIEGESBlockTags.WOLVES_SPAWNABLE_ONBlockTags.WOODEN_BUTTONSItemTags.WOODEN_BUTTONSBlockTags.WOODEN_DOORSItemTags.WOODEN_DOORSBlockTags.WOODEN_FENCESItemTags.WOODEN_FENCESBlockTags.WOODEN_PRESSURE_PLATESItemTags.WOODEN_PRESSURE_PLATESBlockTags.WOODEN_SLABSItemTags.WOODEN_SLABSBlockTags.WOODEN_STAIRSItemTags.WOODEN_STAIRSBlockTags.WOODEN_TRAPDOORSItemTags.WOODEN_TRAPDOORSBiomeTags.WOODLAND_MANSION_HAS_STRUCTUREBlockTags.WOOLItemTags.WOOLBlockTags.WOOL_CARPETSItemTags.WOOL_CARPETSFields in net.minecraft.registry.tag with type parameters of type TagKeyMethods in net.minecraft.registry.tag that return TagKeyModifier and TypeMethodDescriptionprivate static TagKey<BannerPattern>private static TagKey<CatVariant>private static TagKey<DamageType>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.registry.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.registry.tag 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 TagKeyModifierConstructorDescriptionProtectedBlocksStructureProcessor(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.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.infiniburnThe field for theinfiniburnrecord component.Methods in net.minecraft.world.dimension that return TagKeyModifier and TypeMethodDescriptionDimensionType.infiniburn()Returns the value of theinfiniburnrecord 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 that return TagKeyMethods in net.minecraft.world.event with parameters of type 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 BlockPredicateBlockPredicate.matchingBlockTag(TagKey<Block> offset) static BlockPredicateBlockPredicate.matchingBlockTag(Vec3i offset, TagKey<Block> tag) Constructors in net.minecraft.world.gen.blockpredicate with parameters of type TagKeyModifierConstructorDescriptionprotectedMatchingBlockTagPredicate(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.cannotReplaceGeodeLayerConfig.invalidBlocksVegetationPatchFeatureConfig.replaceableRootSystemFeatureConfig.rootReplaceableMethods 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)