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