Uses of Class
net.minecraft.tags.Tag
Packages that use Tag
Package
Description
-
Uses of Tag in net.minecraft.commands.arguments.item
Methods in net.minecraft.commands.arguments.item that return TagModifier and TypeMethodDescription(package private) static Tag<CommandFunction>
FunctionArgument.getFunctionTag
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> p_120932_, ResourceLocation p_120933_) Methods in net.minecraft.commands.arguments.item that return types with arguments of type TagModifier 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.server
Fields in net.minecraft.server with type parameters of type TagModifier and TypeFieldDescriptionprivate Map<ResourceLocation,
Tag<CommandFunction>> ServerFunctionLibrary.tags
Methods in net.minecraft.server that return TagModifier and TypeMethodDescriptionServerFunctionLibrary.getTag
(ResourceLocation p_136098_) ServerFunctionManager.getTag
(ResourceLocation p_136124_) -
Uses of Tag in net.minecraft.server.commands
Method parameters in net.minecraft.server.commands with type arguments of type TagModifier 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
Fields in net.minecraft.tags declared as TagFields in net.minecraft.tags with type parameters of type TagModifier and TypeFieldDescriptionprivate final Map<ResourceLocation,
Tag<Holder<T>>> TagManager.LoadResult.tags
The field for thetags
record component.Methods in net.minecraft.tags that return TagMethods in net.minecraft.tags that return types with arguments of type TagModifier 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_) TagLoader.build
(Map<ResourceLocation, Tag.Builder> p_203899_) TagLoader.loadAndBuild
(ResourceManager p_203901_) TagManager.LoadResult.tags()
Returns the value of thetags
record component.Method parameters in net.minecraft.tags with type arguments of type TagModifier 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_) Constructor parameters in net.minecraft.tags with type arguments of type TagModifierConstructorDescriptionLoadResult
(ResourceKey<? extends Registry<T>> key, Map<ResourceLocation, Tag<Holder<T>>> tags) Creates an instance of aLoadResult
record class. -
Uses of Tag in net.minecraftforge.common.crafting.conditions
Fields in net.minecraftforge.common.crafting.conditions with type parameters of type TagModifier and TypeFieldDescriptionprivate Map<ResourceKey<?>,
Map<ResourceLocation, Tag<Holder<?>>>> ConditionContext.loadedTags
Methods in net.minecraftforge.common.crafting.conditions that return TagModifier and TypeMethodDescriptionReturn the requested tag if available, or an empty tag otherwise.Methods in net.minecraftforge.common.crafting.conditions that return types with arguments of type TagModifier and TypeMethodDescription<T> Map<ResourceLocation,
Tag<Holder<T>>> ConditionContext.getAllTags
(ResourceKey<? extends Registry<T>> registry) <T> Map<ResourceLocation,
Tag<Holder<T>>> ICondition.IContext.getAllTags
(ResourceKey<? extends Registry<T>> registry) Return all the loaded tags for the passed registry, or an empty map if none is available.