Uses of Interface
net.minecraft.tags.Tag
Package
Description
-
Uses of Tag in net.minecraft.advancements.critereon
Modifier and TypeFieldDescriptionFluidPredicate.Builder.fluids
BlockPredicate.Builder.tag
BlockPredicate.tag
private Tag<EntityType<?>>
EntityTypePredicate.TagPredicate.tag
FluidPredicate.tag
ItemPredicate.Builder.tag
ItemPredicate.tag
Modifier and TypeMethodDescriptionEntityPredicate.Builder.of(Tag<EntityType<?>> p_36635_)
static EntityTypePredicate
EntityTypePredicate.of(Tag<EntityType<?>> p_37641_)
ModifierConstructorDescriptionBlockPredicate(Tag<Block> p_146712_, Set<Block> p_146713_, StatePropertiesPredicate p_146714_, NbtPredicate p_146715_)
FluidPredicate(Tag<Fluid> p_41100_, Fluid p_41101_, StatePropertiesPredicate p_41102_)
ItemPredicate(Tag<Item> p_151429_, Set<Item> p_151430_, MinMaxBounds.Ints p_151431_, MinMaxBounds.Ints p_151432_, EnchantmentPredicate[] p_151433_, EnchantmentPredicate[] p_151434_, Potion p_151435_, NbtPredicate p_151436_)
TagPredicate(Tag<EntityType<?>> p_37655_)
-
Uses of Tag in net.minecraft.client.gui.screens.inventory
Modifier and TypeFieldDescriptionprivate Map<ResourceLocation,Tag<Item>>
CreativeModeInventoryScreen.visibleTags
-
Uses of Tag in net.minecraft.client.tutorial
Modifier and TypeMethodDescriptionstatic boolean
CraftPlanksTutorialStep.hasCraftedPlanksPreviously(LocalPlayer p_120472_, Tag<Item> p_120473_)
-
Uses of Tag in net.minecraft.commands.arguments.blocks
ModifierConstructorDescription(package private)
TagPredicate(Tag<Block> p_115608_, Map<String,String> p_115609_, CompoundTag p_115610_)
-
Uses of Tag in net.minecraft.commands.arguments.item
Modifier and TypeMethodDescription(package private) static Tag<CommandFunction>
FunctionArgument.getFunctionTag(com.mojang.brigadier.context.CommandContext<CommandSourceStack> p_120932_, ResourceLocation p_120933_)
Modifier and TypeMethodDescriptionstatic com.mojang.datafixers.util.Pair<ResourceLocation,com.mojang.datafixers.util.Either<CommandFunction,Tag<CommandFunction>>>
FunctionArgument.getFunctionOrTag(com.mojang.brigadier.context.CommandContext<CommandSourceStack> p_120921_, String p_120922_)
com.mojang.datafixers.util.Pair<ResourceLocation,com.mojang.datafixers.util.Either<CommandFunction,Tag<CommandFunction>>>
FunctionArgument.Result.unwrap(com.mojang.brigadier.context.CommandContext<CommandSourceStack> p_120956_)
-
Uses of Tag in net.minecraft.data.recipes
Modifier and TypeMethodDescriptionprotected static InventoryChangeTrigger.TriggerInstance
private static void
RecipeProvider.planksFromLog(Consumer<FinishedRecipe> p_125999_, ItemLike p_126000_, Tag<Item> p_126001_)
private static void
RecipeProvider.planksFromLogs(Consumer<FinishedRecipe> p_126018_, ItemLike p_126019_, Tag<Item> p_126020_)
-
Uses of Tag in net.minecraft.server
Modifier and TypeMethodDescriptionServerFunctionLibrary.getTag(ResourceLocation p_136098_)
ServerFunctionManager.getTag(ResourceLocation p_136124_)
-
Uses of Tag in net.minecraft.server.commands
Modifier and TypeMethodDescriptionprivate static int
ScheduleCommand.schedule(CommandSourceStack p_138429_, com.mojang.datafixers.util.Pair<ResourceLocation,com.mojang.datafixers.util.Either<CommandFunction,Tag<CommandFunction>>> p_138430_, int p_138431_, boolean p_138432_)
-
Uses of Tag in net.minecraft.tags
Modifier and TypeClassDescriptionclass
SetTag<T>
private static class
(package private) static class
Modifier and TypeMethodDescriptionstatic <T> Tag<T>
TagCollection.getTag(ResourceLocation p_13405_)
TagCollection.getTagOrEmpty(ResourceLocation p_13409_)
TagContainer.getTagOrThrow(ResourceKey<? extends Registry<T>> p_144459_, ResourceLocation p_144460_, Function<ResourceLocation,E> p_144461_)
StaticTagHelper.Wrapper.resolve()
Modifier and TypeMethodDescription<T> com.mojang.datafixers.util.Either<Collection<Tag.BuilderEntry>,Tag<T>>
Tag.Builder.build(Function<ResourceLocation,Tag<T>> p_144372_, Function<ResourceLocation,T> p_144373_)
static <T> com.mojang.serialization.Codec<Tag<T>>
Tag.codec(Supplier<TagCollection<T>> p_13291_)
Map<ResourceLocation,Tag<T>>
TagCollection.getAllTags()
FluidTags.getStaticTags()
Deprecated.Modifier and TypeMethodDescription<T, E extends Exception>
ResourceLocationTagContainer.getIdOrThrow(ResourceKey<? extends Registry<T>> p_144455_, Tag<T> p_144456_, Supplier<E> p_144457_)
Modifier and TypeMethodDescription<T> com.mojang.datafixers.util.Either<Collection<Tag.BuilderEntry>,Tag<T>>
Tag.Builder.build(Function<ResourceLocation,Tag<T>> p_144372_, Function<ResourceLocation,T> p_144373_)
<T> boolean
Tag.ElementEntry.build(Function<ResourceLocation,Tag<T>> p_13355_, Function<ResourceLocation,T> p_13356_, Consumer<T> p_13357_)
<T> boolean
Tag.Entry.build(Function<ResourceLocation,Tag<T>> p_13360_, Function<ResourceLocation,T> p_13361_, Consumer<T> p_13362_)
<T> boolean
Tag.OptionalElementEntry.build(Function<ResourceLocation,Tag<T>> p_13369_, Function<ResourceLocation,T> p_13370_, Consumer<T> p_13371_)
<T> boolean
Tag.OptionalTagEntry.build(Function<ResourceLocation,Tag<T>> p_13379_, Function<ResourceLocation,T> p_13380_, Consumer<T> p_13381_)
<T> boolean
Tag.TagEntry.build(Function<ResourceLocation,Tag<T>> p_13389_, Function<ResourceLocation,T> p_13390_, Consumer<T> p_13391_)
static <T> TagCollection<T>
TagCollection.of(Map<ResourceLocation,Tag<T>> p_13397_)
(package private) void
StaticTagHelper.Wrapper.rebind(Function<ResourceLocation,Tag<T>> p_13261_)
-
Uses of Tag in net.minecraft.world.entity
Modifier and TypeMethodDescriptiondouble
Entity.getFluidHeight(Tag<Fluid> p_20121_)
boolean
EntityType.is(Tag<EntityType<?>> p_20610_)
boolean
Entity.isEyeInFluid(Tag<Fluid> p_19942_)
protected void
LivingEntity.jumpInLiquid(Tag<Fluid> p_21158_)
protected void
Mob.jumpInLiquid(Tag<Fluid> p_21491_)
boolean
Entity.updateFluidHeightAndDoFluidPushing(Tag<Fluid> p_19944_, double p_19945_)
-
Uses of Tag in net.minecraft.world.entity.ai.behavior
ModifierConstructorDescriptionSetEntityLookTarget(Tag<EntityType<?>> p_147885_, float p_147886_)
-
Uses of Tag in net.minecraft.world.entity.animal
-
Uses of Tag in net.minecraft.world.entity.monster
-
Uses of Tag in net.minecraft.world.entity.player
-
Uses of Tag in net.minecraft.world.item
ModifierConstructorDescriptionDiggerItem(float p_150810_, float p_150811_, Tier p_150812_, Tag<Block> p_150813_, Item.Properties p_150814_)
-
Uses of Tag in net.minecraft.world.item.alchemy
-
Uses of Tag in net.minecraft.world.item.crafting
-
Uses of Tag in net.minecraft.world.item.enchantment
-
Uses of Tag in net.minecraft.world.level.block.entity
-
Uses of Tag in net.minecraft.world.level.block.state
-
Uses of Tag in net.minecraft.world.level.dimension
-
Uses of Tag in net.minecraft.world.level.levelgen.structure.templatesystem
-
Uses of Tag in net.minecraft.world.level.material
-
Uses of Tag in net.minecraft.world.level.storage.loot.entries
Modifier and TypeMethodDescriptionstatic LootPoolSingletonContainer.Builder<?>
static LootPoolSingletonContainer.Builder<?>
TagEntry.tagContents(Tag<Item> p_165163_)
ModifierConstructorDescription(package private)
TagEntry(Tag<Item> p_79824_, boolean p_79825_, int p_79826_, int p_79827_, LootItemCondition[] p_79828_, LootItemFunction[] p_79829_)
-
Uses of Tag in net.minecraftforge.common
Modifier and TypeMethodDescriptionForgeTier.getTag()
ForgeHooks.getTagFromVanillaTier(Tiers tier)
ModifierConstructorDescriptionForgeTier(int level, int uses, float speed, float attackDamageBonus, int enchantmentValue, Tag<Block> tag, Supplier<Ingredient> repairIngredient)
-
Uses of Tag in net.minecraftforge.common.data
-
Uses of Tag in net.minecraftforge.common.util
Modifier and TypeFieldDescriptionprivate Map<ResourceLocation,Tag<T>>
ReverseTagWrapper.colCache