net.minecraft.tags

public class Tag<T>

aaz
net.minecraft.tags.Tag
net.minecraft.class_3494
net.minecraft.unmapped.C_mokekhxv
net.minecraft.tag.Tag
net.minecraft.tags.Tag
net.minecraft.server.v1_15_R1.Tag

Field summary

Modifier and TypeField
private final ResourceLocation
a
id
field_15580
f_jnywxnwh
id
field_199888_a
private final Set<T>
b
values
field_15579
f_ekafhxon
values
field_199889_b
private final Collection<Tag$Entry<T>>
c
source
field_15578
f_hksubxyb
entries
field_200150_c

Constructor summary

ModifierConstructor
public (ResourceLocation id)
public (ResourceLocation id, Collection<Tag$Entry<T>> entries, boolean ordered)

Method summary

Modifier and TypeMethod
public com.google.gson.JsonObject
a(Function<T, sm> arg0)
serializeToJson(Function<T, ResourceLocation> arg0)
method_15140(Function<T, class_2960> arg0)
m_sriobvpf(Function<T, C_ncpywfca> arg0)
toJson(Function<T, Identifier> arg0)
func_200571_a(Function<T, ResourceLocation> arg0)
public boolean
a(T arg0)
contains(T arg0)
method_15141(T arg0)
m_kuwmdggx(T arg0)
contains(T entry)
func_199685_a_(T arg0)
isTagged(T arg0)
public Collection<T>
a()
getValues()
method_15138()
m_ttvcggxd()
values()
func_199885_a()
public Collection<Tag$Entry<T>>
b()
getSource()
method_15139()
m_pnddclsh()
entries()
func_200570_b()
public T
a(Random arg0)
getRandomElement(Random arg0)
method_15142(Random arg0)
m_heabrpiw(Random arg0)
getRandom(Random arg0)
func_205596_a(Random arg0)
public ResourceLocation
c()
getId()
method_15143()
m_sggsnekb()
getId()
func_199886_b()