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>
-
Constructor Summary
Constructors Constructor Description Serializer()
-
Method Summary
Modifier and Type Method Description SetLoreLootFunction
fromJson(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>
-
fromJson
public SetLoreLootFunction fromJson(JsonObject jsonObject, JsonDeserializationContext jsonDeserializationContext, LootCondition[] lootCondition)- Specified by:
fromJson
in classConditionalLootFunction.Serializer<SetLoreLootFunction>
-