Uses of Record Class
net.minecraft.registry.tag.TagKey
Package
Description
-
Uses of TagKey in net.minecraft.block
-
Uses of TagKey in net.minecraft.block.entity
Modifier and TypeMethodDescriptionSculkSpreadManager.getReplaceableTag()
SculkShriekerBlockEntity.VibrationCallback.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<WorldCreator.WorldType>>
WorldCreator.getWorldPresetList
(Registry<WorldPreset> registry, 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.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.recipe
Modifier and TypeMethodDescriptionprotected static AdvancementCriterion<InventoryChangedCriterion.Conditions>
RecipeProvider.conditionsFromTag
(TagKey<Item> tag) protected static void
RecipeProvider.offerPlanksRecipe
(RecipeExporter exporter, ItemConvertible output, TagKey<Item> input, int count) protected static void
RecipeProvider.offerPlanksRecipe2
(RecipeExporter exporter, ItemConvertible output, TagKey<Item> input, int count) protected static void
RecipeProvider.offerSmithingTemplateCopyingRecipe
(RecipeExporter exporter, ItemConvertible template, TagKey<Item> resource) -
Uses of TagKey in net.minecraft.data.server.tag
Modifier and TypeMethodDescriptiondefault boolean
protected void
protected TagProvider.ProvidedTagBuilder<T>
TagProvider.getOrCreateTagBuilder
(TagKey<T> tag) protected ValueLookupTagProvider.ObjectBuilder<T>
ValueLookupTagProvider.getOrCreateTagBuilder
(TagKey<T> tagKey) protected TagBuilder
TagProvider.getTagBuilder
(TagKey<T> tag) -
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, BiPredicate<E, BlockPos> jumpToPredicate) -
Uses of TagKey in net.minecraft.entity.damage
-
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 final 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 TypeMethodDescriptionprivate static void
ItemGroups.addInstruments
(ItemGroup.Entries entries, RegistryWrapper<Instrument> registryWrapper, Item item, TagKey<Instrument> instrumentTag, ItemGroup.StackVisibility visibility) boolean
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) ModifierConstructorDescriptionprivate
TagEntry
(TagKey<Item> name, boolean expand, int weight, int quality, List<LootCondition> conditions, List<LootFunction> functions) -
Uses of TagKey in net.minecraft.loot.function
Modifier and TypeFieldDescriptionExplorationMapLootFunction.DEFAULT_DESTINATION
ExplorationMapLootFunction.Builder.destination
ExplorationMapLootFunction.destination
private final TagKey<Instrument>
SetInstrumentLootFunction.options
Modifier and TypeMethodDescriptionstatic ConditionalLootFunction.Builder<?>
SetInstrumentLootFunction.builder
(TagKey<Instrument> options) ExplorationMapLootFunction.Builder.withDestination
(TagKey<Structure> destination) ModifierConstructorDescription(package private)
ExplorationMapLootFunction
(List<LootCondition> conditions, TagKey<Structure> destination, MapIcon.Type decoration, byte zoom, int searchRadius, boolean skipExistingChunks) private
SetInstrumentLootFunction
(List<LootCondition> conditions, TagKey<Instrument> options) -
Uses of TagKey in net.minecraft.predicate
Modifier and TypeFieldDescriptionBlockPredicate.Builder.tag
BlockPredicate.tag
The field for thetag
record component.FluidPredicate.Builder.tag
FluidPredicate.tag
The field for thetag
record component.Modifier and TypeMethodDescriptionTagPredicate.tag()
Returns the value of thetag
record component.Modifier and TypeMethodDescriptionBlockPredicate.tag()
Returns the value of thetag
record component.FluidPredicate.tag()
Returns the value of thetag
record component.Modifier and TypeMethodDescriptionstatic <T> TagPredicate<T>
static <T> TagPredicate<T>
TagPredicate.unexpected
(TagKey<T> tag) ModifierConstructorDescriptionTagPredicate
(TagKey<T> tag, boolean expected) Creates an instance of aTagPredicate
record class.ModifierConstructorDescriptionBlockPredicate
(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
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 TypeFieldDescriptionItemPredicate.Builder.tag
ItemPredicate.tag
The field for thetag
record component.Modifier and TypeMethodDescriptionItemPredicate.tag()
Returns the value of thetag
record component.Modifier and TypeMethodDescriptionModifierConstructorDescriptionItemPredicate
(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
-
Uses of TagKey in net.minecraft.registry
Modifier and TypeFieldDescriptionprivate Map<TagKey<T>,
RegistryEntryList.Named<T>> SimpleRegistry.tagToEntryList
Modifier 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()
Modifier 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.Modifier and TypeMethodDescriptionvoid
Registry.populateTags
(Map<TagKey<T>, List<RegistryEntry<T>>> tagEntries) void
SimpleRegistry.populateTags
(Map<TagKey<T>, List<RegistryEntry<T>>> tagEntries) -
Uses of TagKey in net.minecraft.registry.entry
Modifier and TypeFieldDescriptionprivate final com.mojang.serialization.Codec<com.mojang.datafixers.util.Either<TagKey<E>,
List<RegistryEntry<E>>>> RegistryEntryListCodec.entryListStorageCodec
RegistryEntry.Reference.tags
Modifier and TypeMethodDescriptionRegistryEntryList.Named.getTag()
Returns the tag key that this list references.Modifier 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.Modifier and TypeMethodDescriptionboolean
Returns whether this entry is intag
.boolean
Returns whether this entry is intag
.boolean
Returns whether this entry is intag
.static <T> RegistryEntryList.Named<T>
RegistryEntryList.of
(RegistryEntryOwner<T> owner, TagKey<T> tagKey) Deprecated.Modifier and TypeMethodDescription(package private) void
RegistryEntry.Reference.setTags
(Collection<TagKey<T>> tags) ModifierConstructorDescription(package private)
Named
(RegistryEntryOwner<T> owner, TagKey<T> tag) -
Uses of TagKey in net.minecraft.registry.tag
Modifier and TypeFieldDescriptionBlockTags.ACACIA_LOGS
ItemTags.ACACIA_LOGS
static final TagKey<PointOfInterestType>
PointOfInterestTypeTags.ACQUIRABLE_JOB_SITE
BlockTags.ALL_HANGING_SIGNS
BlockTags.ALL_SIGNS
GameEventTags.ALLAY_CAN_LISTEN
BiomeTags.ALLOWS_SURFACE_SLIME_SPAWNS
static final TagKey<DamageType>
DamageTypeTags.ALWAYS_HURTS_ENDER_DRAGONS
static final TagKey<DamageType>
DamageTypeTags.ALWAYS_KILLS_ARMOR_STANDS
static final TagKey<DamageType>
DamageTypeTags.ALWAYS_MOST_SIGNIFICANT_FALL
static final TagKey<DamageType>
DamageTypeTags.ALWAYS_TRIGGERS_SILVERFISH
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
static final TagKey<DamageType>
DamageTypeTags.AVOIDS_GUARDIAN_THORNS
BlockTags.AXE_MINEABLE
ItemTags.AXES
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_BLOCKS
ItemTags.BAMBOO_BLOCKS
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
ItemTags.BOOKSHELF_BOOKS
ItemTags.BREAKS_DECORATED_POTS
static final TagKey<DamageType>
DamageTypeTags.BREEZE_IMMUNE_TO
BiomeTags.BURIED_TREASURE_HAS_STRUCTURE
static final TagKey<DamageType>
DamageTypeTags.BURNS_ARMOR_STANDS
BlockTags.BUTTONS
ItemTags.BUTTONS
static final TagKey<DamageType>
DamageTypeTags.BYPASSES_ARMOR
static final TagKey<DamageType>
DamageTypeTags.BYPASSES_COOLDOWN
static final TagKey<DamageType>
DamageTypeTags.BYPASSES_EFFECTS
static final TagKey<DamageType>
DamageTypeTags.BYPASSES_ENCHANTMENTS
static final TagKey<DamageType>
DamageTypeTags.BYPASSES_INVULNERABILITY
static final TagKey<DamageType>
DamageTypeTags.BYPASSES_RESISTANCE
static final TagKey<DamageType>
DamageTypeTags.BYPASSES_SHIELD
BlockTags.CAMEL_SAND_STEP_SOUND_BLOCKS
BlockTags.CAMPFIRES
static final TagKey<DamageType>
DamageTypeTags.CAN_BREAK_ARMOR_STAND
static final TagKey<EntityType<?>>
EntityTypeTags.CAN_BREATHE_UNDER_WATER
static final TagKey<EntityType<?>>
EntityTypeTags.CAN_TURN_IN_BOATS
BlockTags.CANDLE_CAKES
BlockTags.CANDLES
ItemTags.CANDLES
StructureTags.CATS_SPAWN_AS_BLACK
StructureTags.CATS_SPAWN_IN
BlockTags.CAULDRONS
BlockTags.CAVE_VINES
BlockTags.CEILING_HANGING_SIGNS
BlockTags.CHERRY_LOGS
ItemTags.CHERRY_LOGS
ItemTags.CHEST_BOATS
BlockTags.CLIMBABLE
ItemTags.CLUSTER_MAX_HARVESTABLES
BlockTags.COAL_ORES
ItemTags.COAL_ORES
ItemTags.COALS
BlockTags.COMBINATION_STEP_SOUND_BLOCKS
ItemTags.COMPASSES
BlockTags.COMPLETES_FIND_TREE_TUTORIAL
ItemTags.COMPLETES_FIND_TREE_TUTORIAL
BlockTags.CONCRETE_POWDER
BlockTags.CONVERTABLE_TO_MUD
BlockTags.COPPER_ORES
ItemTags.COPPER_ORES
BlockTags.CORAL_BLOCKS
BlockTags.CORAL_PLANTS
BlockTags.CORALS
ItemTags.CREEPER_DROP_MUSIC_DISCS
ItemTags.CREEPER_IGNITERS
static final TagKey<BannerPattern>
BannerPatternTags.CREEPER_PATTERN_ITEM
BlockTags.CRIMSON_STEMS
ItemTags.CRIMSON_STEMS
BlockTags.CROPS
BlockTags.CRYSTAL_SOUND_BLOCKS
static final TagKey<DamageType>
DamageTypeTags.DAMAGES_HELMET
BlockTags.DAMPENS_VIBRATIONS
ItemTags.DAMPENS_VIBRATIONS
BlockTags.DARK_OAK_LOGS
ItemTags.DARK_OAK_LOGS
BlockTags.DEAD_BUSH_MAY_PLACE_ON
ItemTags.DECORATED_POT_INGREDIENTS
ItemTags.DECORATED_POT_SHERDS
BlockTags.DEEPSLATE_ORE_REPLACEABLES
static final TagKey<CatVariant>
CatVariantTags.DEFAULT_SPAWNS
static final TagKey<EntityType<?>>
EntityTypeTags.DEFLECTS_ARROWS
static final TagKey<EntityType<?>>
EntityTypeTags.DEFLECTS_TRIDENTS
BiomeTags.DESERT_PYRAMID_HAS_STRUCTURE
BlockTags.DIAMOND_ORES
ItemTags.DIAMOND_ORES
BlockTags.DIRT
ItemTags.DIRT
static final TagKey<EntityType<?>>
EntityTypeTags.DISMOUNTS_UNDERWATER
StructureTags.DOLPHIN_LOCATED
BlockTags.DOORS
ItemTags.DOORS
BlockTags.DRAGON_IMMUNE
BlockTags.DRAGON_TRANSPARENT
BlockTags.DRIPSTONE_REPLACEABLE_BLOCKS
BlockTags.EMERALD_ORES
ItemTags.EMERALD_ORES
BlockTags.ENCHANTMENT_POWER_PROVIDER
BlockTags.ENCHANTMENT_POWER_TRANSMITTER
BiomeTags.END_CITY_HAS_STRUCTURE
BlockTags.ENDERMAN_HOLDABLE
static final TagKey<WorldPreset>
WorldPresetTags.EXTENDED
StructureTags.EYE_OF_ENDER_LOCATED
static final TagKey<EntityType<?>>
EntityTypeTags.FALL_DAMAGE_IMMUNE
BlockTags.FALL_DAMAGE_RESETTING
BlockTags.FEATURES_CANNOT_REPLACE
BlockTags.FENCE_GATES
ItemTags.FENCE_GATES
BlockTags.FENCES
ItemTags.FENCES
BlockTags.FIRE
ItemTags.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
ItemTags.HANGING_SIGNS
BiomeTags.HAS_CLOSER_WATER_FOG
BlockTags.HOE_MINEABLE
ItemTags.HOES
BlockTags.HOGLIN_REPELLENTS
BlockTags.ICE
BiomeTags.IGLOO_HAS_STRUCTURE
static final TagKey<DamageType>
DamageTypeTags.IGNITES_ARMOR_STANDS
GameEventTags.IGNORE_VIBRATIONS_SNEAKING
ItemTags.IGNORED_BY_PIGLIN_BABIES
static final TagKey<EntityType<?>>
EntityTypeTags.IMPACT_PROJECTILES
BlockTags.IMPERMEABLE
BiomeTags.INCREASED_FIRE_BURNOUT
BlockTags.INFINIBURN_END
BlockTags.INFINIBURN_NETHER
BlockTags.INFINIBURN_OVERWORLD
BlockTags.INSIDE_STEP_SOUND_BLOCKS
BlockTags.INVALID_SPAWN_INSIDE
BlockTags.IRON_ORES
ItemTags.IRON_ORES
BiomeTags.IS_BADLANDS
BiomeTags.IS_BEACH
BiomeTags.IS_DEEP_OCEAN
static final TagKey<DamageType>
DamageTypeTags.IS_DROWNING
BiomeTags.IS_END
static final TagKey<DamageType>
DamageTypeTags.IS_EXPLOSION
static final TagKey<DamageType>
DamageTypeTags.IS_FALL
static final TagKey<DamageType>
DamageTypeTags.IS_FIRE
BiomeTags.IS_FOREST
static final TagKey<DamageType>
DamageTypeTags.IS_FREEZING
BiomeTags.IS_HILL
BiomeTags.IS_JUNGLE
static final TagKey<DamageType>
DamageTypeTags.IS_LIGHTNING
BiomeTags.IS_MOUNTAIN
BiomeTags.IS_NETHER
BiomeTags.IS_OCEAN
BiomeTags.IS_OVERWORLD
static final TagKey<DamageType>
DamageTypeTags.IS_PROJECTILE
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.MAINTAINS_FARMLAND
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<DamageType>
DamageTypeTags.NO_ANGER
static final TagKey<DamageType>
DamageTypeTags.NO_IMPACT
static final TagKey<BannerPattern>
BannerPatternTags.NO_ITEM_REQUIRED
static final TagKey<DamageType>
DamageTypeTags.NO_KNOCKBACK
static final TagKey<EntityType<?>>
EntityTypeTags.NON_CONTROLLING_RIDER
ItemTags.NON_FLAMMABLE_WOOD
static final TagKey<WorldPreset>
WorldPresetTags.NORMAL
ItemTags.NOTEBLOCK_TOP_INSTRUMENTS
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_DESERT_VILLAGE_MAPS
StructureTags.ON_JUNGLE_EXPLORER_MAPS
StructureTags.ON_OCEAN_EXPLORER_MAPS
StructureTags.ON_PLAINS_VILLAGE_MAPS
StructureTags.ON_SAVANNA_VILLAGE_MAPS
StructureTags.ON_SNOWY_VILLAGE_MAPS
StructureTags.ON_SWAMP_EXPLORER_MAPS
StructureTags.ON_TAIGA_VILLAGE_MAPS
StructureTags.ON_TREASURE_MAPS
StructureTags.ON_WOODLAND_EXPLORER_MAPS
BlockTags.OVERWORLD_CARVER_REPLACEABLES
BlockTags.OVERWORLD_NATURAL_LOGS
BlockTags.PARROTS_SPAWNABLE_ON
BlockTags.PICKAXE_MINEABLE
ItemTags.PICKAXES
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
BlockTags.REPLACEABLE_BY_TREES
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
ItemTags.SHOVELS
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.SMELTS_TO_GLASS
ItemTags.SMELTS_TO_GLASS
BlockTags.SNAPS_GOAT_HORN
BlockTags.SNIFFER_DIGGABLE_BLOCK
BlockTags.SNIFFER_EGG_HATCH_BOOST
ItemTags.SNIFFER_FOOD
BlockTags.SNOW
BiomeTags.SNOW_GOLEM_MELTS
BlockTags.SNOW_LAYER_CAN_SURVIVE_ON
BlockTags.SNOW_LAYER_CANNOT_SURVIVE_ON
BlockTags.SOUL_FIRE_BASE_BLOCKS
ItemTags.SOUL_FIRE_BASE_BLOCKS
BlockTags.SOUL_SPEED_BLOCKS
BiomeTags.SPAWNS_COLD_VARIANT_FROGS
BiomeTags.SPAWNS_GOLD_RABBITS
BiomeTags.SPAWNS_SNOW_FOXES
BiomeTags.SPAWNS_WARM_VARIANT_FROGS
BiomeTags.SPAWNS_WHITE_RABBITS
BlockTags.SPRUCE_LOGS
ItemTags.SPRUCE_LOGS
BlockTags.STAIRS
ItemTags.STAIRS
BlockTags.STANDING_SIGNS
BlockTags.STONE_BRICKS
ItemTags.STONE_BRICKS
BlockTags.STONE_BUTTONS
ItemTags.STONE_BUTTONS
ItemTags.STONE_CRAFTING_MATERIALS
BlockTags.STONE_ORE_REPLACEABLES
BlockTags.STONE_PRESSURE_PLATES
ItemTags.STONE_TOOL_MATERIALS
BlockTags.STRIDER_WARM_BLOCKS
BiomeTags.STRONGHOLD_BIASED_TO
BiomeTags.STRONGHOLD_HAS_STRUCTURE
BiomeTags.SWAMP_HUT_HAS_STRUCTURE
BlockTags.SWORD_EFFICIENT
ItemTags.SWORDS
BlockTags.TALL_FLOWERS
ItemTags.TALL_FLOWERS
BlockTags.TERRACOTTA
ItemTags.TERRACOTTA
ItemTags.TOOLS
BiomeTags.TRAIL_RUINS_HAS_STRUCTURE
BlockTags.TRAIL_RUINS_REPLACEABLE
BlockTags.TRAPDOORS
ItemTags.TRAPDOORS
BiomeTags.TRIAL_CHAMBERS_HAS_STRUCTURE
ItemTags.TRIM_MATERIALS
ItemTags.TRIM_TEMPLATES
ItemTags.TRIMMABLE_ARMOR
static final TagKey<EntityType<?>>
EntityTypeTags.UNDEAD
BlockTags.UNDERWATER_BONEMEALS
BlockTags.UNSTABLE_BOTTOM_CENTER
BlockTags.VALID_SPAWN
BlockTags.VIBRATION_RESONATORS
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
ItemTags.VILLAGER_PLANTABLE_SEEDS
static final TagKey<FlatLevelGeneratorPreset>
FlatLevelGeneratorPresetTags.VISIBLE
BlockTags.WALL_CORALS
BlockTags.WALL_HANGING_SIGNS
BlockTags.WALL_POST_OVERRIDE
BlockTags.WALL_SIGNS
BlockTags.WALLS
ItemTags.WALLS
GameEventTags.WARDEN_CAN_LISTEN
BlockTags.WARPED_STEMS
ItemTags.WARPED_STEMS
BlockTags.WART_BLOCKS
ItemTags.WART_BLOCKS
FluidTags.WATER
BiomeTags.WATER_ON_MAP_OUTLINES
static final TagKey<DamageType>
DamageTypeTags.WITCH_RESISTANT_TO
BlockTags.WITHER_IMMUNE
static final TagKey<DamageType>
DamageTypeTags.WITHER_IMMUNE_TO
BlockTags.WITHER_SUMMON_BASE_BLOCKS
BiomeTags.WITHOUT_PATROL_SPAWNS
BiomeTags.WITHOUT_WANDERING_TRADER_SPAWNS
BiomeTags.WITHOUT_ZOMBIE_SIEGES
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
static final TagKey<EntityType<?>>
EntityTypeTags.ZOMBIES
Modifier 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>
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.server.world
-
Uses of TagKey in net.minecraft.structure.processor
ModifierConstructorDescriptionProtectedBlocksStructureProcessor
(TagKey<Block> protectedBlocksTag) -
Uses of TagKey in net.minecraft.structure.rule
-
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.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)