Package net.minecraft.loot.function
Class ApplyBonusLootFunction.Serializer
java.lang.Object
net.minecraft.loot.function.ConditionalLootFunction.Serializer<ApplyBonusLootFunction>
net.minecraft.loot.function.ApplyBonusLootFunction.Serializer
- All Implemented Interfaces:
JsonSerializer<ApplyBonusLootFunction>
- Enclosing class:
- ApplyBonusLootFunction
public static class ApplyBonusLootFunction.Serializer
extends ConditionalLootFunction.Serializer<ApplyBonusLootFunction>
- Mappings:
Namespace Name official dkz$e
intermediary net/minecraft/class_94$class_99
named net/minecraft/loot/function/ApplyBonusLootFunction$Serializer
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionfromJson
(JsonObject jsonObject, JsonDeserializationContext jsonDeserializationContext, LootCondition[] lootCondition) void
toJson
(JsonObject jsonObject, ApplyBonusLootFunction applyBonusLootFunction, JsonSerializationContext jsonSerializationContext) Methods inherited from class net.minecraft.loot.function.ConditionalLootFunction.Serializer
fromJson
-
Constructor Details
-
Serializer
public Serializer()
-
-
Method Details
-
toJson
public void toJson(JsonObject jsonObject, ApplyBonusLootFunction applyBonusLootFunction, JsonSerializationContext jsonSerializationContext) - Specified by:
toJson
in interfaceJsonSerializer<ApplyBonusLootFunction>
- Overrides:
toJson
in classConditionalLootFunction.Serializer<ApplyBonusLootFunction>
- Mappings:
Namespace Name Mixin selector official a
Ldkz$e;a(Lcom/google/gson/JsonObject;Ldkz;Lcom/google/gson/JsonSerializationContext;)V
intermediary method_469
Lnet/minecraft/class_94$class_99;method_469(Lcom/google/gson/JsonObject;Lnet/minecraft/class_94;Lcom/google/gson/JsonSerializationContext;)V
named toJson
Lnet/minecraft/loot/function/ApplyBonusLootFunction$Serializer;toJson(Lcom/google/gson/JsonObject;Lnet/minecraft/loot/function/ApplyBonusLootFunction;Lcom/google/gson/JsonSerializationContext;)V
-
fromJson
public ApplyBonusLootFunction fromJson(JsonObject jsonObject, JsonDeserializationContext jsonDeserializationContext, LootCondition[] lootCondition) - Specified by:
fromJson
in classConditionalLootFunction.Serializer<ApplyBonusLootFunction>
- Mappings:
Namespace Name Mixin selector official a
Ldkz$e;a(Lcom/google/gson/JsonObject;Lcom/google/gson/JsonDeserializationContext;[Ldmt;)Ldkz;
intermediary method_470
Lnet/minecraft/class_94$class_99;method_470(Lcom/google/gson/JsonObject;Lcom/google/gson/JsonDeserializationContext;[Lnet/minecraft/class_5341;)Lnet/minecraft/class_94;
named fromJson
Lnet/minecraft/loot/function/ApplyBonusLootFunction$Serializer;fromJson(Lcom/google/gson/JsonObject;Lcom/google/gson/JsonDeserializationContext;[Lnet/minecraft/loot/condition/LootCondition;)Lnet/minecraft/loot/function/ApplyBonusLootFunction;
-