net.minecraft.tags

public class TagCollection<T>

aba
net.minecraft.tags.TagCollection
net.minecraft.class_3503
net.minecraft.tag.TagContainer
net.minecraft.tags.TagCollection
net.minecraft.server.v1_15_R1.Tags

Field summary

Modifier and TypeField
private static final org.apache.logging.log4j.Logger
a
LOGGER
field_15607
LOGGER
field_199918_a
private static final com.google.gson.Gson
b
GSON
field_15608
GSON
field_199919_b
private static final int
c
PATH_SUFFIX_LENGTH
field_15603
JSON_EXTENSION_LENGTH
field_199920_c
private Map<ResourceLocation, Tag<T>>
d
tags
field_15602
entries
field_199921_d
private final Function<ResourceLocation, Optional<T>>
e
idToValue
field_15609
getter
field_200040_e
private final String
f
directory
field_15605
dataType
field_199923_f
private final boolean
g
ordered
field_15601
ordered
field_200041_g
private final String
h
name
field_15606
entryType
field_200157_i

Constructor summary

ModifierConstructor
public (Function<ResourceLocation, Optional<T>> getter, String dataType, boolean ordered, String entryType)

Method summary

Modifier and TypeMethod
public Tag<T>
a(sm arg0)
getTag(ResourceLocation arg0)
method_15193(class_2960 arg0)
get(Identifier id)
func_199910_a(ResourceLocation arg0)
public Tag<T>
b(sm arg0)
getTagOrEmpty(ResourceLocation arg0)
method_15188(class_2960 arg0)
getOrCreate(Identifier id)
func_199915_b(ResourceLocation arg0)
public Collection<ResourceLocation>
a()
getAvailableTags()
method_15189()
getKeys()
func_199908_a()
public CompletableFuture<Map<ResourceLocation, Tag$Builder<T>>>
a(zb arg0, Executor arg1)
prepare(ResourceManager arg0, Executor arg1)
method_15192(class_3300 arg0, Executor arg1)
prepareReload(ResourceManager manager, Executor executor)
func_219781_a(IResourceManager arg0, Executor arg1)
public void
a(Map<sm, aaz$a<T>> arg0)
load(Map<ResourceLocation, Tag$Builder<T>> arg0)
method_18242(Map<class_2960, class_3494$class_3495<T>> arg0)
applyReload(Map<Identifier, Tag$Builder<T>> preparedBuilders)
func_219779_a(Map<ResourceLocation, Tag$Builder<T>> arg0)
protected void
b(Map<sm, aaz<T>> arg0)
replace(Map<ResourceLocation, Tag<T>> arg0)
method_20735(Map<class_2960, class_3494<T>> arg0)
setEntries(Map<Identifier, Tag<T>> entries)
func_223507_b(Map<ResourceLocation, Tag<T>> arg0)
public Map<ResourceLocation, Tag<T>>
b()
getAllTags()
method_15196()
getEntries()
func_200039_c()
public Collection<ResourceLocation>
a(T arg0)
getMatchingTags(T arg0)
method_15191(T arg0)
getTagsFor(T object)
func_199913_a(T arg0)