Package net.minecraft.loot.function
Class ReferenceLootFunction.Serializer
java.lang.Object
net.minecraft.loot.function.ConditionalLootFunction.Serializer<ReferenceLootFunction>
net.minecraft.loot.function.ReferenceLootFunction.Serializer
- All Implemented Interfaces:
JsonSerializer<ReferenceLootFunction>
- Enclosing class:
ReferenceLootFunction
public static class ReferenceLootFunction.Serializer
extends ConditionalLootFunction.Serializer<ReferenceLootFunction>
- Mappings:
Namespace Name official eav$a
intermediary net/minecraft/class_8492$class_8493
named net/minecraft/loot/function/ReferenceLootFunction$Serializer
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionfromJson
(JsonObject jsonObject, JsonDeserializationContext jsonDeserializationContext, LootCondition[] lootCondition) void
toJson
(JsonObject jsonObject, ReferenceLootFunction referenceLootFunction, 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, ReferenceLootFunction referenceLootFunction, JsonSerializationContext jsonSerializationContext) - Specified by:
toJson
in interfaceJsonSerializer<ReferenceLootFunction>
- Overrides:
toJson
in classConditionalLootFunction.Serializer<ReferenceLootFunction>
- Mappings:
Namespace Name Mixin selector official a
Leav$a;a(Lcom/google/gson/JsonObject;Leav;Lcom/google/gson/JsonSerializationContext;)V
intermediary method_51229
Lnet/minecraft/class_8492$class_8493;method_51229(Lcom/google/gson/JsonObject;Lnet/minecraft/class_8492;Lcom/google/gson/JsonSerializationContext;)V
named toJson
Lnet/minecraft/loot/function/ReferenceLootFunction$Serializer;toJson(Lcom/google/gson/JsonObject;Lnet/minecraft/loot/function/ReferenceLootFunction;Lcom/google/gson/JsonSerializationContext;)V
-
fromJson
public ReferenceLootFunction fromJson(JsonObject jsonObject, JsonDeserializationContext jsonDeserializationContext, LootCondition[] lootCondition) - Specified by:
fromJson
in classConditionalLootFunction.Serializer<ReferenceLootFunction>
- Mappings:
Namespace Name Mixin selector official a
Leav$a;a(Lcom/google/gson/JsonObject;Lcom/google/gson/JsonDeserializationContext;[Leck;)Leav;
intermediary method_51228
Lnet/minecraft/class_8492$class_8493;method_51228(Lcom/google/gson/JsonObject;Lcom/google/gson/JsonDeserializationContext;[Lnet/minecraft/class_5341;)Lnet/minecraft/class_8492;
named fromJson
Lnet/minecraft/loot/function/ReferenceLootFunction$Serializer;fromJson(Lcom/google/gson/JsonObject;Lcom/google/gson/JsonDeserializationContext;[Lnet/minecraft/loot/condition/LootCondition;)Lnet/minecraft/loot/function/ReferenceLootFunction;
-