net.minecraft.advancements

public record AdvancementRequirements

ak
net.minecraft.advancements.AdvancementRequirements
net.minecraft.class_8782
net.minecraft.advancement.AdvancementRequirements
net.minecraft.advancements.AdvancementRequirements

Field summary

Modifier and TypeField
private final List<List<String>>
c
requirements
comp_1922
requirements
public static final com.mojang.serialization.Codec<AdvancementRequirements>
a
CODEC
field_47184
CODEC
public static final AdvancementRequirements
b
EMPTY
field_46084
EMPTY

Constructor summary

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

Method summary

Modifier and TypeMethod
public void
a(ws arg0)
write(FriendlyByteBuf arg0)
method_53670(class_2540 arg0)
writeRequirements(PacketByteBuf buf)
public static AdvancementRequirements
a(Collection<String> arg0)
allOf(Collection<String> arg0)
method_53668(Collection<String> arg0)
allOf(Collection<String> requirements)
public static AdvancementRequirements
b(Collection<String> arg0)
anyOf(Collection<String> arg0)
method_53674(Collection<String> arg0)
anyOf(Collection<String> requirements)
public int
a()
size()
method_53664()
getLength()
public boolean
a(Predicate<String> arg0)
test(Predicate<String> arg0)
method_53669(Predicate<String> arg0)
matches(Predicate<String> predicate)
public int
b(Predicate<String> arg0)
count(Predicate<String> arg0)
method_53675(Predicate<String> arg0)
countMatches(Predicate<String> predicate)
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)
public com.mojang.serialization.DataResult<AdvancementRequirements>
a(Set<String> arg0)
validate(Set<String> arg0)
method_54925(Set<String> arg0)
validate(Set<String> requirements)
public boolean
b()
isEmpty()
method_53677()
isEmpty()
public Set<String>
c()
names()
method_53678()
getNames()
public List<List<String>>
d()
requirements()
comp_1922()
requirements()