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