net.minecraft.tags

public class Tag$Builder

ahr$a
net.minecraft.tags.Tag$Builder
net.minecraft.class_3494$class_3495
net.minecraft.tag.Tag$Builder
net.minecraft.src.C_147_$C_149_
net.minecraft.tags.Tag$a

Field summary

Modifier and TypeField
private final List<Tag$BuilderEntry>
a
entries
field_23688
entries
f_13302_

Constructor summary

ModifierConstructor
public ()

Method summary

Modifier and TypeMethod
public static Tag$Builder
a()
tag()
method_26778()
create()
m_13304_()
public Tag$Builder
a(ahr$b arg0)
add(Tag$BuilderEntry arg0)
method_27064(class_3494$class_5145 arg0)
add(Tag$TrackedEntry trackedEntry)
m_13305_(C_147_$C_150_ arg0)
public Tag$Builder
a(ahr$d arg0, String arg1)
add(Tag$Entry arg0, String arg1)
method_27065(class_3494$class_3496 arg0, String arg1)
add(Tag$Entry entry, String source)
m_13307_(C_147_$C_152_ p_13309_, String arg1)
public Tag$Builder
a(yh arg0, String arg1)
addElement(ResourceLocation arg0, String arg1)
method_26784(class_2960 arg0, String arg1)
add(Identifier id, String source)
m_13327_(C_5265_ p_13329_, String arg1)
public Tag$Builder
b(yh arg0, String arg1)
addOptionalElement(ResourceLocation arg0, String arg1)
method_34891(class_2960 arg0, String arg1)
addOptional(Identifier id, String source)
m_144379_(C_5265_ p_144381_, String arg1)
public Tag$Builder
c(yh arg0, String arg1)
addTag(ResourceLocation arg0, String arg1)
method_26787(class_2960 arg0, String arg1)
addTag(Identifier id, String source)
m_13335_(C_5265_ p_13337_, String arg1)
public Tag$Builder
d(yh arg0, String arg1)
addOptionalTag(ResourceLocation arg0, String arg1)
method_34892(class_2960 arg0, String arg1)
addOptionalTag(Identifier id, String source)
m_144382_(C_5265_ p_144384_, String arg1)
public <T> com.mojang.datafixers.util.Either<Collection<Tag$BuilderEntry>, Tag<T>>
a(Function<yh, ahr<T>> arg0, Function<yh, T> arg1)
build(Function<ResourceLocation, Tag<T>> arg0, Function<ResourceLocation, T> arg1)
method_26782(Function<class_2960, class_3494<T>> arg0, Function<class_2960, T> arg1)
build(Function<Identifier, Tag<T>> tagGetter, Function<Identifier, T> objectGetter)
m_144371_(Function<C_5265_, C_147_<T>> p_144373_, Function<C_5265_, T> arg1)
public Stream<Tag$BuilderEntry>
b()
getEntries()
method_26785()
streamEntries()
m_13330_()
public void
a(Consumer<yh> arg0)
visitRequiredDependencies(Consumer<ResourceLocation> arg0)
method_32826(Consumer<class_2960> arg0)
forEachTagId(Consumer<Identifier> consumer)
m_144366_(Consumer<C_5265_> arg0)
public void
b(Consumer<yh> arg0)
visitOptionalDependencies(Consumer<ResourceLocation> arg0)
method_32828(Consumer<class_2960> arg0)
forEachGroupId(Consumer<Identifier> consumer)
m_144374_(Consumer<C_5265_> arg0)
public Tag$Builder
a(com.google.gson.JsonObject arg0, String arg1)
addFromJson(com.google.gson.JsonObject arg0, String arg1)
method_26780(com.google.gson.JsonObject arg0, String arg1)
read(com.google.gson.JsonObject json, String source)
m_13312_(com.google.gson.JsonObject p_13314_, String arg1)
private static Tag$Entry
a(com.google.gson.JsonElement arg0)
parseEntry(com.google.gson.JsonElement arg0)
method_30740(com.google.gson.JsonElement arg0)
resolveEntry(com.google.gson.JsonElement json)
m_13310_(com.google.gson.JsonElement p_13311_)
public com.google.gson.JsonObject
c()
serializeToJson()
method_26788()
toJson()
m_13334_()