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 List<List<String>>
c
requirements
comp_1922
requirements
f_291804_
public static final com.mojang.serialization.Codec<AdvancementRequirements>
a
CODEC
field_47184
CODEC
f_302300_
public static final AdvancementRequirements
b
EMPTY
field_46084
EMPTY
f_291378_

Constructor summary

ModifierConstructor
public (FriendlyByteBuf buf)
public (List<List<String>> arg0)

Method summary

Modifier and TypeMethod
public void
a(ui 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(List<String> arg0, Predicate<String> arg1)
anyMatch(List<String> arg0, Predicate<String> arg1)
method_53671(List<String> arg0, Predicate<String> arg1)
anyMatch(List<String> requirements, Predicate<String> predicate)
m_292769_(List<String> p_309914_, Predicate<String> p_299134_)
public com.mojang.serialization.DataResult<AdvancementRequirements>
a(Set<String> arg0)
validate(Set<String> arg0)
method_54925(Set<String> arg0)
validate(Set<String> requirements)
m_305436_(Set<String> arg0)
public boolean
b()
isEmpty()
method_53677()
isEmpty()
m_293044_()
public Set<String>
c()
names()
method_53678()
getNames()
m_294727_()
public List<List<String>>
d()
requirements()
comp_1922()
requirements()
f_291804_()