net.minecraft.tags

public class Tag<T>

aaz
net.minecraft.tags.Tag
net.minecraft.class_3494
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
id
field_199888_a
private final Set<T>
b
values
field_15579
values
field_199889_b
private final Collection<Tag$Entry<T>>
c
source
field_15578
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)
toJson(Function<T, Identifier> arg0)
func_200571_a(Function<T, ResourceLocation> arg0)
public boolean
a(T arg0)
contains(T arg0)
method_15141(T arg0)
contains(T entry)
func_199685_a_(T arg0)
isTagged(T arg0)
public Collection<T>
a()
getValues()
method_15138()
values()
func_199885_a()
public Collection<Tag$Entry<T>>
b()
getSource()
method_15139()
entries()
func_200570_b()
public T
a(Random arg0)
getRandomElement(Random arg0)
method_15142(Random arg0)
getRandom(Random arg0)
func_205596_a(Random arg0)
public ResourceLocation
c()
getId()
method_15143()
getId()
func_199886_b()