net.minecraft.tags

public class TagCollection<T>

adg
net.minecraft.tags.TagCollection
net.minecraft.class_3503
net.minecraft.unmapped.C_urufctfi
net.minecraft.tag.TagContainer
net.minecraft.tags.TagCollection
net.minecraft.server.v1_16_R1.Tags

Field summary

Modifier and TypeField
private static final org.apache.logging.log4j.Logger
a
LOGGER
field_15607
f_drhyhtrz
LOGGER
field_199918_a
private static final com.google.gson.Gson
b
GSON
field_15608
f_upnrcaxg
GSON
field_199919_b
private static final int
c
PATH_SUFFIX_LENGTH
field_15603
f_oezoswkp
JSON_EXTENSION_LENGTH
field_199920_c
private final Tag<T>
d
empty
field_23691
f_lyjhithu
empty
field_232970_d_
private volatile com.google.common.collect.BiMap<ResourceLocation, Tag<T>>
e
tags
field_15602
f_cxjwbgcy
entries
field_199921_d
private final Function<ResourceLocation, Optional<T>>
f
idToValue
field_15609
f_pufebxfw
getter
field_200040_e
private final String
g
directory
field_15605
f_hqkzroew
dataType
field_199923_f
private final String
h
name
field_15606
f_aehjqltf
entryType
field_200157_i

Constructor summary

ModifierConstructor
public (Function<ResourceLocation, Optional<T>> getter, String dataType, String arg2)

Method summary

Modifier and TypeMethod
public Tag<T>
a(uh arg0)
getTag(ResourceLocation arg0)
method_15193(class_2960 arg0)
m_omhxhpwf(C_ncpywfca arg0)
get(Identifier id)
func_199910_a(ResourceLocation arg0)
public Tag<T>
b(uh arg0)
getTagOrEmpty(ResourceLocation arg0)
method_15188(class_2960 arg0)
m_rvrbcenn(C_ncpywfca arg0)
getOrCreate(Identifier id)
func_199915_b(ResourceLocation arg0)
public ResourceLocation
a(adf<T> arg0)
getId(Tag<T> arg0)
method_26796(class_3494<T> arg0)
m_dzbsmrlr(C_mokekhxv<T> arg0)
getId(Tag<T> tag)
func_232973_a_(ITag<T> arg0)
public ResourceLocation
b(adf<T> arg0)
getIdOrThrow(Tag<T> arg0)
method_26798(class_3494<T> arg0)
m_syfevjuk(C_mokekhxv<T> arg0)
checkId(Tag<T> tag)
func_232975_b_(ITag<T> arg0)
public Collection<ResourceLocation>
a()
getAvailableTags()
method_15189()
m_hjxyregz()
getKeys()
func_199908_a()
public CompletableFuture<Map<ResourceLocation, Tag$Builder>>
a(abc arg0, Executor arg1)
prepare(ResourceManager arg0, Executor arg1)
method_15192(class_3300 arg0, Executor arg1)
m_tspyhdwx(C_tmnrpasf arg0, Executor arg1)
prepareReload(ResourceManager manager, Executor executor)
func_219781_a(IResourceManager arg0, Executor arg1)
public void
a(Map<uh, adf$a> arg0)
load(Map<ResourceLocation, Tag$Builder> arg0)
method_18242(Map<class_2960, class_3494$class_3495> arg0)
m_jvdcmlnv(Map<C_ncpywfca, C_mokekhxv$C_vgqcrhxh> arg0)
applyReload(Map<Identifier, Tag$Builder> arg0)
func_219779_a(Map<ResourceLocation, ITag$Builder> arg0)
protected void
b(Map<uh, adf<T>> arg0)
replace(Map<ResourceLocation, Tag<T>> arg0)
method_20735(Map<class_2960, class_3494<T>> arg0)
m_hrzpxepf(Map<C_ncpywfca, C_mokekhxv<T>> arg0)
setEntries(Map<Identifier, Tag<T>> entries)
func_223507_b(Map<ResourceLocation, ITag<T>> arg0)
public Map<ResourceLocation, Tag<T>>
b()
getAllTags()
method_15196()
m_bhewgcra()
getEntries()
func_200039_c()
public Collection<ResourceLocation>
a(T arg0)
getMatchingTags(T arg0)
method_15191(T arg0)
m_hfbthgwi(T arg0)
getTagsFor(T object)
func_199913_a(T arg0)