public class AdvancementRewards
extends java.lang.Object
| 修飾子とタイプ | クラスと説明 |
|---|---|
static class |
AdvancementRewards.Builder |
static class |
AdvancementRewards.Deserializer |
| 修飾子とタイプ | フィールドと説明 |
|---|---|
static AdvancementRewards |
EMPTY |
| コンストラクタと説明 |
|---|
AdvancementRewards(int experience,
ResourceLocation[] loot,
ResourceLocation[] recipes,
FunctionObject.CacheableFunction function) |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
void |
apply(ServerPlayerEntity player) |
com.google.gson.JsonElement |
serialize() |
java.lang.String |
toString() |
public static final AdvancementRewards EMPTY
public AdvancementRewards(int experience,
ResourceLocation[] loot,
ResourceLocation[] recipes,
FunctionObject.CacheableFunction function)
public void apply(ServerPlayerEntity player)
public java.lang.String toString()
toString クラス内 java.lang.Objectpublic com.google.gson.JsonElement serialize()