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 dtg$d
intermediary net/minecraft/class_3837$class_3842
named net/minecraft/loot/function/CopyNbtLootFunction$Serializer
-
Constructor Summary
Constructors -
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
Ldtg$d;a(Lcom/google/gson/JsonObject;Ldtg;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
Ldtg$d;a(Lcom/google/gson/JsonObject;Lcom/google/gson/JsonDeserializationContext;[Ldux;)Ldtg;
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;
-