Package net.minecraft.advancements
Class AdvancementRewards
java.lang.Object
net.minecraft.advancements.AdvancementRewards
- 
Nested Class Summary
Nested Classes - 
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final AdvancementRewardsprivate final intprivate final CommandFunction.CacheableFunctionprivate final ResourceLocation[]private final ResourceLocation[] - 
Constructor Summary
ConstructorsConstructorDescriptionAdvancementRewards(int p_9985_, ResourceLocation[] p_9986_, ResourceLocation[] p_9987_, CommandFunction.CacheableFunction p_9988_)  - 
Method Summary
Modifier and TypeMethodDescriptionstatic AdvancementRewardsdeserialize(com.google.gson.JsonObject p_9992_) voidgrant(ServerPlayer p_9990_) com.google.gson.JsonElementtoString() 
- 
Field Details
- 
EMPTY
 - 
experience
private final int experience - 
loot
 - 
recipes
 - 
function
 
 - 
 - 
Constructor Details
- 
AdvancementRewards
public AdvancementRewards(int p_9985_, ResourceLocation[] p_9986_, ResourceLocation[] p_9987_, CommandFunction.CacheableFunction p_9988_)  
 - 
 - 
Method Details
- 
getRecipes
 - 
grant
 - 
toString
 - 
serializeToJson
public com.google.gson.JsonElement serializeToJson() - 
deserialize
public static AdvancementRewards deserialize(com.google.gson.JsonObject p_9992_) throws com.google.gson.JsonParseException - Throws:
 com.google.gson.JsonParseException
 
 -