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