Uses of Class
net.minecraft.advancements.AdvancementRewards
-
Uses of AdvancementRewards in net.minecraft.advancements
Modifier and TypeFieldDescriptionstatic final AdvancementRewards
AdvancementRewards.EMPTY
private AdvancementRewards
Advancement.Builder.rewards
private final AdvancementRewards
Advancement.rewards
The field for therewards
record component.Modifier and TypeMethodDescriptionAdvancementRewards.Builder.build()
static AdvancementRewards
AdvancementRewards.deserialize
(com.google.gson.JsonObject p_9992_) Advancement.rewards()
Returns the value of therewards
record component.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.