Uses of Record Class
net.minecraft.advancements.Advancement
Package
Description
-
Uses of Advancement in net.minecraft.advancements
Modifier and TypeFieldDescriptionprivate final Advancement
AdvancementHolder.value
The field for thevalue
record component.Modifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<Advancement>
Advancement.CODEC
static final com.mojang.serialization.Codec<Optional<WithConditions<Advancement>>>
Advancement.CONDITIONAL_CODEC
Modifier and TypeMethodDescriptionAdvancementNode.advancement()
static Advancement
Advancement.read
(FriendlyByteBuf p_301040_) AdvancementHolder.value()
Returns the value of thevalue
record component.Modifier and TypeMethodDescriptionprivate static com.mojang.serialization.DataResult<Advancement>
Advancement.validate
(Advancement p_312433_) Modifier and TypeMethodDescriptionprivate static com.mojang.serialization.DataResult<Advancement>
Advancement.validate
(Advancement p_312433_) ModifierConstructorDescriptionAdvancementHolder
(ResourceLocation id, Advancement value) Creates an instance of aAdvancementHolder
record class. -
Uses of Advancement in net.minecraft.server
Modifier and TypeMethodDescriptionprivate void
ServerAdvancementManager.validate
(ResourceLocation p_312696_, Advancement p_312110_) -
Uses of Advancement in net.minecraft.server.advancements
Modifier and TypeMethodDescriptionprivate static AdvancementVisibilityEvaluator.VisibilityRule
AdvancementVisibilityEvaluator.evaluateVisibilityRule
(Advancement p_265736_, boolean p_265426_)