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_301286_, DeserializationContext p_300878_) Deprecated.Forge: use overload with context.static Advancement
Advancement.fromJson
(com.google.gson.JsonObject p_301286_, DeserializationContext p_300878_, com.mojang.serialization.DynamicOps<com.google.gson.JsonElement> jsonElementOps) static Advancement
Advancement.read
(FriendlyByteBuf p_301040_) 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_)