Uses of Record Class
net.minecraft.advancements.AdvancementRequirements
-
Uses of AdvancementRequirements in net.minecraft.advancements
Modifier and TypeFieldDescriptionstatic final AdvancementRequirements
AdvancementRequirements.EMPTY
private final AdvancementRequirements
Advancement.requirements
The field for therequirements
record component.private AdvancementRequirements
AdvancementProgress.requirements
Modifier and TypeFieldDescriptionprivate Optional<AdvancementRequirements>
Advancement.Builder.requirements
Modifier and TypeMethodDescriptionstatic AdvancementRequirements
AdvancementRequirements.allOf
(Collection<String> p_300431_) static AdvancementRequirements
AdvancementRequirements.anyOf
(Collection<String> p_297776_) AdvancementRequirements.Strategy.create
(Collection<String> p_297497_) static AdvancementRequirements
Advancement.requirements()
Returns the value of therequirements
record component.Modifier and TypeMethodDescriptionAdvancement.Builder.requirements
(AdvancementRequirements p_300756_) void
AdvancementProgress.update
(AdvancementRequirements p_300626_) ModifierConstructorDescriptionAdvancement
(Optional<ResourceLocation> p_299284_, Optional<DisplayInfo> p_301017_, AdvancementRewards p_286389_, Map<String, Criterion<?>> p_286635_, AdvancementRequirements p_300504_, boolean p_286478_) Advancement
(Optional<ResourceLocation> parent, Optional<DisplayInfo> display, AdvancementRewards rewards, Map<String, Criterion<?>> criteria, AdvancementRequirements requirements, boolean sendsTelemetryEvent, Optional<Component> name) Creates an instance of aAdvancement
record class.