Uses of Class
net.minecraft.tag.Tag
Package
Description
-
Uses of Tag in net.minecraft.command.argument
Modifier and TypeMethodDescription(package private) static Tag<CommandFunction>
CommandFunctionArgumentType.getFunctionTag
(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, Identifier id) Modifier and TypeMethodDescriptioncom.mojang.datafixers.util.Pair<Identifier,
com.mojang.datafixers.util.Either<CommandFunction, Tag<CommandFunction>>> CommandFunctionArgumentType.FunctionArgument.getFunctionOrTag
(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context) static com.mojang.datafixers.util.Pair<Identifier,
com.mojang.datafixers.util.Either<CommandFunction, Tag<CommandFunction>>> CommandFunctionArgumentType.getFunctionOrTag
(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String name) -
Uses of Tag in net.minecraft.server.command
Modifier and TypeMethodDescriptionprivate static int
ScheduleCommand.execute
(ServerCommandSource source, com.mojang.datafixers.util.Pair<Identifier, com.mojang.datafixers.util.Either<CommandFunction, Tag<CommandFunction>>> function, int time, boolean replace) -
Uses of Tag in net.minecraft.server.function
Modifier and TypeFieldDescriptionprivate Map<Identifier,
Tag<CommandFunction>> FunctionLoader.tags
Modifier and TypeMethodDescriptionCommandFunctionManager.getTag
(Identifier id) FunctionLoader.getTagOrEmpty
(Identifier id) -
Uses of Tag in net.minecraft.tag
Modifier and TypeFieldDescriptionprivate final Map<Identifier,
Tag<RegistryEntry<T>>> TagManagerLoader.RegistryTags.tags
The field for thetags
record component.Modifier and TypeMethodDescription<T> com.mojang.datafixers.util.Either<Collection<Tag.TrackedEntry>,
Tag<T>> Tag.Builder.build
(Function<Identifier, Tag<T>> tagGetter, Function<Identifier, T> objectGetter) Map<Identifier,
Tag<T>> TagGroupLoader.buildGroup
(Map<Identifier, Tag.Builder> tags) Map<Identifier,
Tag<T>> TagGroupLoader.load
(ResourceManager manager) TagManagerLoader.RegistryTags.tags()
Returns the value of thetags
record component.Modifier and TypeMethodDescription<T> com.mojang.datafixers.util.Either<Collection<Tag.TrackedEntry>,
Tag<T>> Tag.Builder.build
(Function<Identifier, Tag<T>> tagGetter, Function<Identifier, T> objectGetter) <T> boolean
Tag.Entry.resolve
(Function<Identifier, Tag<T>> tagGetter, Function<Identifier, T> objectGetter, Consumer<T> collector) <T> boolean
Tag.ObjectEntry.resolve
(Function<Identifier, Tag<T>> tagGetter, Function<Identifier, T> objectGetter, Consumer<T> collector) <T> boolean
Tag.OptionalObjectEntry.resolve
(Function<Identifier, Tag<T>> tagGetter, Function<Identifier, T> objectGetter, Consumer<T> collector) <T> boolean
Tag.OptionalTagEntry.resolve
(Function<Identifier, Tag<T>> tagGetter, Function<Identifier, T> objectGetter, Consumer<T> collector) <T> boolean
Tag.TagEntry.resolve
(Function<Identifier, Tag<T>> tagGetter, Function<Identifier, T> objectGetter, Consumer<T> collector) ModifierConstructorDescriptionRegistryTags
(RegistryKey<? extends Registry<T>> registryKey, Map<Identifier, Tag<RegistryEntry<T>>> map)