net.minecraft.advancements

public record AdvancementRewards

al
net.minecraft.advancements.AdvancementRewards
net.minecraft.class_170
net.minecraft.advancement.AdvancementRewards
net.minecraft.advancements.AdvancementRewards

Field summary

Modifier and TypeField
private final int
c
experience
comp_2025
experience
private final List<ResourceKey<LootTable>>
d
loot
comp_2026
loot
private final List<ResourceKey<Recipe<?>>>
e
recipes
comp_2027
recipes
private final Optional<CacheableFunction>
f
function
comp_2028
function
public static final com.mojang.serialization.Codec<AdvancementRewards>
a
CODEC
field_47185
CODEC
public static final AdvancementRewards
b
EMPTY
field_1167
NONE

Constructor summary

ModifierConstructor
public (int experience, List<ResourceKey<LootTable>> arg1, List<ResourceKey<Recipe<?>>> arg2, Optional<CacheableFunction> arg3)

Method summary

Modifier and TypeMethod
public void
a(asi arg0)
grant(ServerPlayer arg0)
method_748(class_3222 arg0)
apply(ServerPlayerEntity player)
public int
a()
experience()
comp_2025()
experience()
public List<ResourceKey<LootTable>>
b()
loot()
comp_2026()
loot()
public List<ResourceKey<Recipe<?>>>
c()
recipes()
comp_2027()
recipes()
public Optional<CacheableFunction>
d()
function()
comp_2028()
function()