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
Modifier and TypeMethodDescriptionAdvancementNode.advancement()
static Advancement
Advancement.read
(FriendlyByteBuf p_300670_) AdvancementHolder.value()
Returns the value of thevalue
record component.Modifier and TypeMethodDescriptionprivate static com.mojang.serialization.DataResult<Advancement>
Advancement.validate
(Advancement p_312373_) Modifier and TypeMethodDescriptionprivate static com.mojang.serialization.DataResult<Advancement>
Advancement.validate
(Advancement p_312373_) 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_309906_, Advancement p_310937_) -
Uses of Advancement in net.minecraft.server.advancements
Modifier and TypeMethodDescriptionprivate static AdvancementVisibilityEvaluator.VisibilityRule
AdvancementVisibilityEvaluator.evaluateVisibilityRule
(Advancement p_265736_, boolean p_265426_) -
Uses of Advancement in net.minecraftforge.common.crafting
Modifier and TypeFieldDescriptionprivate final Advancement
ConditionalAdvancement.Pair.adv
The field for theadv
record component.Modifier and TypeMethodDescriptionConditionalAdvancement.Pair.adv()
Returns the value of theadv
record component.Modifier and TypeMethodDescriptionprivate ConditionalAdvancement.Builder
ConditionalAdvancement.Builder.advancement
(Advancement value) ModifierConstructorDescriptionprivate
Pair
(ICondition condition, Advancement adv) Creates an instance of aPair
record class.