Uses of Class
net.minecraft.core.HolderSet.Named
Package
Description
-
Uses of HolderSet.Named in net.minecraft.commands.arguments
Modifier and TypeFieldDescriptionprivate final HolderSet.Named<T>
ResourceOrTagArgument.TagResult.tag
The field for thetag
record component.Modifier and TypeMethodDescriptionResourceOrTagArgument.TagResult.tag()
Returns the value of thetag
record component.Modifier and TypeMethodDescriptioncom.mojang.datafixers.util.Either<Holder.Reference<T>,
HolderSet.Named<T>> ResourceOrTagArgument.ResourceResult.unwrap()
com.mojang.datafixers.util.Either<Holder.Reference<T>,
HolderSet.Named<T>> ResourceOrTagArgument.Result.unwrap()
com.mojang.datafixers.util.Either<Holder.Reference<T>,
HolderSet.Named<T>> ResourceOrTagArgument.TagResult.unwrap()
ModifierConstructorDescription(package private)
TagResult
(HolderSet.Named<T> tag) Creates an instance of aTagResult
record class. -
Uses of HolderSet.Named in net.minecraft.core
Modifier and TypeMethodDescriptionprivate HolderSet.Named<T>
static <T> HolderSet.Named<T>
HolderSet.emptyNamed
(HolderOwner<T> p_255858_, TagKey<T> p_256459_) Deprecated.MappedRegistry.getOrCreateTag
(TagKey<T> p_205895_) Registry.getOrCreateTag
(TagKey<T> p_206045_) default HolderSet.Named<T>
HolderGetter.getOrThrow
(TagKey<T> p_256125_) Modifier and TypeMethodDescriptionStream<com.mojang.datafixers.util.Pair<TagKey<T>,
HolderSet.Named<T>>> MappedRegistry.getTags()
Stream<com.mojang.datafixers.util.Pair<TagKey<T>,
HolderSet.Named<T>>> Registry.getTags()
HolderLookup.Delegate.listTags()
HolderLookup.listTags()
HolderLookup.RegistryLookup.Delegate.listTags()
-
Uses of HolderSet.Named in net.minecraftforge.registries
Modifier and TypeFieldDescriptionprivate Map<TagKey<T>,
HolderSet.Named<T>> NamespacedWrapper.tags
Modifier and TypeMethodDescriptionprivate HolderSet.Named<T>
NamespacedWrapper.getOrCreateTag
(TagKey<T> name)