net.minecraft.advancements

public record AdvancementRewards

aj
net.minecraft.advancements.AdvancementRewards
net.minecraft.class_170
net.minecraft.advancement.AdvancementRewards
net.minecraft.src.C_35_
net.minecraft.advancements.AdvancementRewards

Field summary

Modifier and TypeField
private final int
c
experience
comp_2025
experience
f_9979_
private final List<ResourceLocation>
d
loot
comp_2026
loot
f_9980_
private final List<ResourceLocation>
e
recipes
comp_2027
recipes
f_9981_
private final Optional<CacheableFunction>
f
function
comp_2028
function
f_9982_
public static final com.mojang.serialization.Codec<AdvancementRewards>
a
CODEC
field_47185
CODEC
f_303002_
public static final AdvancementRewards
b
EMPTY
field_1167
NONE
f_9978_

Constructor summary

ModifierConstructor
public (int experience, List<ResourceLocation> f_9981_, List<ResourceLocation> f_9982_, Optional<CacheableFunction> arg3)

Method summary

Modifier and TypeMethod
public void
a(ane arg0)
grant(ServerPlayer arg0)
method_748(class_3222 arg0)
apply(ServerPlayerEntity player)
m_9989_(C_13_ arg0)
public int
a()
experience()
comp_2025()
experience()
f_9979_()
public List<ResourceLocation>
b()
loot()
comp_2026()
loot()
f_9980_()
public List<ResourceLocation>
c()
recipes()
comp_2027()
recipes()
f_9981_()
public Optional<CacheableFunction>
d()
function()
comp_2028()
function()
f_9982_()