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 TypeFieldDescriptionstatic final com.mojang.serialization.Codec
<AdvancementRequirements> AdvancementRequirements.CODEC
private Optional
<AdvancementRequirements> Advancement.Builder.requirements
Modifier and TypeMethodDescriptionstatic AdvancementRequirements
AdvancementRequirements.allOf
(Collection<String> p_301049_) static AdvancementRequirements
AdvancementRequirements.anyOf
(Collection<String> p_301268_) AdvancementRequirements.Strategy.create
(Collection<String> p_301043_) Advancement.requirements()
Returns the value of therequirements
record component.Modifier and TypeMethodDescriptionAdvancement.Builder.requirements
(AdvancementRequirements p_301103_) void
AdvancementProgress.update
(AdvancementRequirements p_301278_) ModifierConstructorDescriptionAdvancement
(Optional<ResourceLocation> p_300893_, Optional<DisplayInfo> p_301147_, AdvancementRewards p_286389_, Map<String, Criterion<?>> p_286635_, AdvancementRequirements p_301002_, 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.