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