Uses of Record Class
net.minecraft.advancement.AdvancementRewards
-
Uses of AdvancementRewards in net.minecraft.advancement
Modifier and TypeFieldDescriptionstatic final AdvancementRewards
AdvancementRewards.NONE
private AdvancementRewards
Advancement.Builder.rewards
private final AdvancementRewards
Advancement.rewards
The field for therewards
record component.Modifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec
<AdvancementRewards> AdvancementRewards.CODEC
Modifier and TypeMethodDescriptionAdvancementRewards.Builder.build()
Advancement.rewards()
Returns the value of therewards
record component.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)