net.minecraft.tags

public interface TagCollection<T>

aem
net.minecraft.tags.TagCollection
net.minecraft.class_5414
net.minecraft.tag.TagGroup
net.minecraft.tags.ITagCollection
net.minecraft.server.v1_16_R3.Tags

Method summary

Modifier and TypeMethod
Map<ResourceLocation, Tag<T>>
a()
getAllTags()
method_30204()
getTags()
func_241833_a()
default Tag<T>
a(vk arg0)
getTag(ResourceLocation arg0)
method_30210(class_2960 arg0)
getTag(Identifier id)
func_199910_a(ResourceLocation arg0)
Tag<T>
b(vk arg0)
getTagOrEmpty(ResourceLocation arg0)
method_30213(class_2960 arg0)
getTagOrEmpty(Identifier id)
func_241834_b(ResourceLocation arg0)
ResourceLocation
a(ael<T> arg0)
getId(Tag<T> arg0)
method_30205(class_3494<T> arg0)
getUncheckedTagId(Tag<T> tag)
func_232973_a_(ITag<T> arg0)
default ResourceLocation
b(ael<T> arg0)
getIdOrThrow(Tag<T> arg0)
method_30212(class_3494<T> arg0)
getTagId(Tag<T> tag)
func_232975_b_(ITag<T> arg0)
default Collection<ResourceLocation>
b()
getAvailableTags()
method_30211()
getTagIds()
func_199908_a()
default void
a(nf arg0, gb<T> arg1)
serializeToNetwork(FriendlyByteBuf arg0, DefaultedRegistry<T> arg1)
method_30208(class_2540 arg0, class_2348<T> arg1)
toPacket(PacketByteBuf buf, DefaultedRegistry<T> registry)
func_242203_a(PacketBuffer arg0, DefaultedRegistry<T> arg1)
static <T> TagCollection<T>
a(nf arg0, gm<T> arg1)
loadFromNetwork(FriendlyByteBuf arg0, Registry<T> arg1)
method_30209(class_2540 arg0, class_2378<T> arg1)
fromPacket(PacketByteBuf buf, Registry<T> registry)
func_242204_a(PacketBuffer arg0, Registry<T> arg1)
static <T> TagCollection<T>
c()
empty()
method_30214()
createEmpty()
func_242205_c()
static <T> TagCollection<T>
a(Map<vk, ael<T>> arg0)
of(Map<ResourceLocation, Tag<T>> arg0)
method_30207(Map<class_2960, class_3494<T>> arg0)
create(Map<Identifier, Tag<T>> tags)
func_242202_a(Map<ResourceLocation, ITag<T>> arg0)
default Collection<ResourceLocation>
a(T arg0)
getMatchingTags(T arg0)
method_30206(T arg0)
getTagsFor(T object)
func_199913_a(T arg0)