Uses of Record Class
net.minecraft.advancement.AdvancementRequirements
-
Uses of AdvancementRequirements in net.minecraft.advancement
Modifier and TypeFieldDescriptionstatic final AdvancementRequirements
AdvancementRequirements.EMPTY
private final AdvancementRequirements
Advancement.requirements
The field for therequirements
record component.private AdvancementRequirements
AdvancementProgress.requirements
Modifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<AdvancementRequirements>
AdvancementRequirements.CODEC
private Optional<AdvancementRequirements>
Advancement.Builder.requirements
Modifier and TypeMethodDescriptionstatic AdvancementRequirements
AdvancementRequirements.allOf
(Collection<String> requirements) static AdvancementRequirements
AdvancementRequirements.anyOf
(Collection<String> requirements) AdvancementRequirements.CriterionMerger.create
(Collection<String> requirements) Advancement.requirements()
Returns the value of therequirements
record component.Modifier and TypeMethodDescriptionvoid
AdvancementProgress.init
(AdvancementRequirements requirements) Advancement.Builder.requirements
(AdvancementRequirements requirements) ModifierConstructorDescriptionAdvancement
(Optional<Identifier> parent, Optional<AdvancementDisplay> display, AdvancementRewards rewards, Map<String, AdvancementCriterion<?>> criteria, AdvancementRequirements requirements, boolean sendsTelemetryEvent) Advancement
(Optional<Identifier> optional, Optional<AdvancementDisplay> optional2, AdvancementRewards advancementRewards, Map<String, AdvancementCriterion<?>> map, AdvancementRequirements advancementRequirements, boolean bool, Optional<Text> optional3)