net.minecraft.tags

public class TagContainer

agc
net.minecraft.tags.TagContainer
net.minecraft.class_5415
net.minecraft.tag.TagManager
net.minecraft.src.C_159_
net.minecraft.tags.ITagRegistry

Field summary

Modifier and TypeField
static final org.apache.logging.log4j.Logger
b
LOGGER
field_28305
LOGGER
f_144432_
public static final TagContainer
a
EMPTY
field_25744
EMPTY
f_13420_
private final Map<ResourceKey<? extends Registry<?>>, TagCollection<?>>
c
collections
field_28306
tagGroups
f_144433_

Constructor summary

ModifierConstructor
(Map<ResourceKey<? extends Registry<?>>, TagCollection<?>> tagGroups)

Method summary

Modifier and TypeMethod
private <T> TagCollection<T>
b(wv<? extends gw<T>> arg0)
get(ResourceKey<? extends Registry<T>> arg0)
method_33170(class_5321<? extends class_2378<T>> arg0)
getTagGroup(RegistryKey<? extends Registry<T>> registryKey)
m_144471_(C_5264_<? extends C_4705_<T>> arg0)
public <T> TagCollection<T>
a(wv<? extends gw<T>> arg0)
getOrEmpty(ResourceKey<? extends Registry<T>> arg0)
method_33164(class_5321<? extends class_2378<T>> arg0)
getOrCreateTagGroup(RegistryKey<? extends Registry<T>> registryKey)
m_144452_(C_5264_<? extends C_4705_<T>> arg0)
public <T, E extends Exception> Tag<T>
a(wv<? extends gw<T>> arg0, ww arg1, Function<ww, E> arg2) throws E
getTagOrThrow(ResourceKey<? extends Registry<T>> arg0, ResourceLocation arg1, Function<ResourceLocation, E> arg2) throws E
method_33166(class_5321<? extends class_2378<T>> arg0, class_2960 arg1, Function<class_2960, E> arg2) throws E
getTag(RegistryKey<? extends Registry<T>> registryKey, Identifier id, Function<Identifier, E> exceptionFactory) throws E
m_144458_(C_5264_<? extends C_4705_<T>> p_144460_, C_5265_ p_144461_, Function<C_5265_, E> arg2) throws E
public <T, E extends Exception> ResourceLocation
a(wv<? extends gw<T>> arg0, aga<T> arg1, Supplier<E> arg2) throws E
getIdOrThrow(ResourceKey<? extends Registry<T>> arg0, Tag<T> arg1, Supplier<E> arg2) throws E
method_33165(class_5321<? extends class_2378<T>> arg0, class_3494<T> arg1, Supplier<E> arg2) throws E
getTagId(RegistryKey<? extends Registry<T>> registryKey, Tag<T> tag, Supplier<E> exceptionSupplier) throws E
m_144454_(C_5264_<? extends C_4705_<T>> p_144456_, C_147_<T> p_144457_, Supplier<E> arg2) throws E
public void
a(agc$b arg0)
getAll(TagContainer$CollectionConsumer arg0)
method_33161(class_5415$class_5750 arg0)
accept(TagManager$Visitor visitor)
m_144436_(C_159_$C_140985_ arg0)
private static <T> void
a(agc$b arg0, wv<? extends gw<?>> arg1, agb<?> arg2)
acceptCap(TagContainer$CollectionConsumer arg0, ResourceKey<? extends Registry<?>> arg1, TagCollection<?> arg2)
method_33162(class_5415$class_5750 arg0, class_5321<? extends class_2378<?>> arg1, class_5414<?> arg2)
offerTo(TagManager$Visitor visitor, RegistryKey<? extends Registry<?>> type, TagGroup<?> group)
m_144438_(C_159_$C_140985_ p_144439_, C_5264_<? extends C_4705_<?>> p_144440_, C_157_<?> p_144441_)
public void
a()
bindToGlobal()
method_30222()
apply()
m_13431_()
bind()
public Map<ResourceKey<? extends Registry<?>>, TagCollection$NetworkPayload>
a(gx arg0)
serializeToNetwork(RegistryAccess arg0)
method_30217(class_5455 arg0)
toPacket(DynamicRegistryManager registryManager)
m_144442_(C_4706_ arg0)
public static TagContainer
a(gx arg0, Map<wv<? extends gw<?>>, agb$a> arg1)
deserializeFromNetwork(RegistryAccess arg0, Map<ResourceKey<? extends Registry<?>>, TagCollection$NetworkPayload> arg1)
method_30219(class_5455 arg0, Map<class_5321<? extends class_2378<?>>, class_5414$class_5748> arg1)
fromPacket(DynamicRegistryManager registryManager, Map<RegistryKey<? extends Registry<?>>, TagGroup$Serialized> groups)
m_144449_(C_4706_ p_144450_, Map<C_5264_<? extends C_4705_<?>>, C_157_$C_140983_> p_144451_)
private static <T> void
a(gx arg0, agc$a arg1, wv<? extends gw<? extends T>> arg2, agb$a arg3)
addTagsFromPayload(RegistryAccess arg0, TagContainer$Builder arg1, ResourceKey<? extends Registry<? extends T>> arg2, TagCollection$NetworkPayload arg3)
method_33163(class_5455 arg0, class_5415$class_5749 arg1, class_5321<? extends class_2378<? extends T>> arg2, class_5414$class_5748 arg3)
tryAdd(DynamicRegistryManager registryManager, TagManager$Builder builder, RegistryKey<? extends Registry<? extends T>> type, TagGroup$Serialized group)
m_144444_(C_4706_ p_144445_, C_159_$C_140984_ p_144446_, C_5264_<? extends C_4705_<? extends T>> p_144447_, C_157_$C_140983_ p_144448_)