net.minecraft.tags

public interface TagCollection<T>

agb
net.minecraft.tags.TagCollection
net.minecraft.class_5414
net.minecraft.tag.TagGroup
net.minecraft.src.C_157_
net.minecraft.tags.Tags

Method summary

Modifier and TypeMethod
Map<ResourceLocation, Tag<T>>
a()
getAllTags()
method_30204()
getTags()
m_5643_()
default Tag<T>
a(ww arg0)
getTag(ResourceLocation arg0)
method_30210(class_2960 arg0)
getTag(Identifier id)
m_13404_(C_5265_ arg0)
Tag<T>
b(ww arg0)
getTagOrEmpty(ResourceLocation arg0)
method_30213(class_2960 arg0)
getTagOrEmpty(Identifier id)
m_7689_(C_5265_ arg0)
default ResourceLocation
a(aga$e<T> arg0)
getId(Tag$Named<T> arg0)
method_34894(class_3494$class_5123<T> arg0)
getId(Tag$Identified<T> tag)
m_144406_(C_147_$C_153_<T> arg0)
ResourceLocation
a(aga<T> arg0)
getId(Tag<T> arg0)
method_30205(class_3494<T> arg0)
getUncheckedTagId(Tag<T> tag)
m_7473_(C_147_<T> arg0)
default boolean
c(ww arg0)
hasTag(ResourceLocation arg0)
method_34895(class_2960 arg0)
contains(Identifier id)
m_144423_(C_5265_ arg0)
default Collection<ResourceLocation>
b()
getAvailableTags()
method_30211()
getTagIds()
m_13406_()
default Collection<ResourceLocation>
a(T arg0)
getMatchingTags(T arg0)
method_30206(T arg0)
getTagsFor(T object)
m_13394_(T arg0)
default TagCollection$NetworkPayload
a(gw<T> arg0)
serializeToNetwork(Registry<T> arg0)
method_30208(class_2378<T> arg0)
serialize(Registry<T> registry)
m_144411_(C_4705_<T> arg0)
static <T> TagCollection<T>
a(agb$a arg0, gw<? extends T> arg1)
createFromNetwork(TagCollection$NetworkPayload arg0, Registry<? extends T> arg1)
method_33155(class_5414$class_5748 arg0, class_2378<? extends T> arg1)
deserialize(TagGroup$Serialized serialized, Registry<? extends T> registry)
m_144408_(C_157_$C_140983_ p_144409_, C_4705_<? extends T> p_144410_)
static <T> TagCollection<T>
c()
empty()
method_30214()
createEmpty()
m_13410_()
static <T> TagCollection<T>
a(Map<ww, aga<T>> arg0)
of(Map<ResourceLocation, Tag<T>> arg0)
method_30207(Map<class_2960, class_3494<T>> arg0)
create(Map<Identifier, Tag<T>> tags)
m_13396_(Map<C_5265_, C_147_<T>> p_13397_)