net.minecraft.advancements

public record AdvancementRequirements

ai
net.minecraft.advancements.AdvancementRequirements
net.minecraft.class_8782
net.minecraft.advancement.AdvancementRequirements
net.minecraft.src.C_290174_
net.minecraft.advancements.AdvancementRequirements

Field summary

Modifier and TypeField
private final String[][]
b
requirements
comp_1922
requirements
f_291804_
public static final AdvancementRequirements
a
EMPTY
field_46084
EMPTY
f_291378_

Constructor summary

ModifierConstructor
public (FriendlyByteBuf buf)
public (String[][] arg0)

Method summary

Modifier and TypeMethod
private static String[][]
b(so arg0)
read(FriendlyByteBuf arg0)
method_53676(class_2540 arg0)
readRequirements(PacketByteBuf buf)
m_292670_(C_4983_ p_298812_)
public void
a(so arg0)
write(FriendlyByteBuf arg0)
method_53670(class_2540 arg0)
writeRequirements(PacketByteBuf buf)
m_292869_(C_4983_ arg0)
public static AdvancementRequirements
a(Collection<String> arg0)
allOf(Collection<String> arg0)
method_53668(Collection<String> arg0)
allOf(Collection<String> requirements)
m_295902_(Collection<String> p_300431_)
public static AdvancementRequirements
b(Collection<String> arg0)
anyOf(Collection<String> arg0)
method_53674(Collection<String> arg0)
anyOf(Collection<String> requirements)
m_292608_(Collection<String> p_297776_)
public int
a()
size()
method_53664()
getLength()
m_294969_()
public boolean
a(Predicate<String> arg0)
test(Predicate<String> arg0)
method_53669(Predicate<String> arg0)
matches(Predicate<String> predicate)
m_295452_(Predicate<String> arg0)
public int
b(Predicate<String> arg0)
count(Predicate<String> arg0)
method_53675(Predicate<String> arg0)
countMatches(Predicate<String> predicate)
m_292826_(Predicate<String> arg0)
private static boolean
a(String[] arg0, Predicate<String> arg1)
anyMatch(String[] arg0, Predicate<String> arg1)
method_53671(String[] arg0, Predicate<String> arg1)
anyMatch(String[] requirements, Predicate<String> predicate)
m_292769_(String[] p_299779_, Predicate<String> p_299134_)
public static AdvancementRequirements
a(com.google.gson.JsonArray arg0, Set<String> arg1)
fromJson(com.google.gson.JsonArray arg0, Set<String> arg1)
method_53666(com.google.gson.JsonArray arg0, Set<String> arg1)
fromJson(com.google.gson.JsonArray json, Set<String> criteria)
m_293244_(com.google.gson.JsonArray p_297416_, Set<String> p_298134_)
public com.google.gson.JsonArray
b()
toJson()
method_53672()
toJson()
m_292918_()
public boolean
c()
isEmpty()
method_53677()
isEmpty()
m_293044_()
public Set<String>
d()
names()
method_53678()
getNames()
m_294727_()
public String[][]
e()
requirements()
comp_1922()
requirements()
f_291804_()