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 ebn$a
intermediary net/minecraft/class_159$class_160
named net/minecraft/loot/function/SetNbtLootFunction$Serializer
-
Constructor Summary
-
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
Lebn$a;a(Lcom/google/gson/JsonObject;Lebn;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
Lebn$a;a(Lcom/google/gson/JsonObject;Lcom/google/gson/JsonDeserializationContext;[Leck;)Lebn;
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;
-