Uses of Record Class
net.minecraft.advancements.Advancement
-
Uses of Advancement in net.minecraft.advancements
Modifier and TypeFieldDescriptionprivate final Advancement
AdvancementHolder.value
The field for thevalue
record component.Modifier and TypeMethodDescriptionAdvancementNode.advancement()
static Advancement
Advancement.fromJson
(com.google.gson.JsonObject p_300691_, DeserializationContext p_300053_) Deprecated.Forge: use overload with context.static Advancement
Advancement.fromJson
(com.google.gson.JsonObject p_300691_, DeserializationContext p_300053_, ICondition.IContext context) static Advancement
Advancement.read
(FriendlyByteBuf p_300670_) AdvancementHolder.value()
Returns the value of thevalue
record component.ModifierConstructorDescriptionAdvancementHolder
(ResourceLocation id, Advancement value) Creates an instance of aAdvancementHolder
record class. -
Uses of Advancement in net.minecraft.server.advancements
Modifier and TypeMethodDescriptionprivate static AdvancementVisibilityEvaluator.VisibilityRule
AdvancementVisibilityEvaluator.evaluateVisibilityRule
(Advancement p_265736_, boolean p_265426_)