Package net.minecraft.loot.function
Class SetStewEffectLootFunction.Serializer
java.lang.Object
net.minecraft.loot.function.ConditionalLootFunction.Serializer<SetStewEffectLootFunction>
net.minecraft.loot.function.SetStewEffectLootFunction.Serializer
- All Implemented Interfaces:
JsonSerializer<SetStewEffectLootFunction>
- Enclosing class:
- SetStewEffectLootFunction
public static class SetStewEffectLootFunction.Serializer extends ConditionalLootFunction.Serializer<SetStewEffectLootFunction>
-
Constructor Summary
Constructors Constructor Description Serializer()
-
Method Summary
Modifier and Type Method Description SetStewEffectLootFunction
fromJson(JsonObject jsonObject, JsonDeserializationContext jsonDeserializationContext, LootCondition[] lootCondition)
void
toJson(JsonObject jsonObject, SetStewEffectLootFunction setStewEffectLootFunction, 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, SetStewEffectLootFunction setStewEffectLootFunction, JsonSerializationContext jsonSerializationContext)- Specified by:
toJson
in interfaceJsonSerializer<SetStewEffectLootFunction>
- Overrides:
toJson
in classConditionalLootFunction.Serializer<SetStewEffectLootFunction>
-
fromJson
public SetStewEffectLootFunction fromJson(JsonObject jsonObject, JsonDeserializationContext jsonDeserializationContext, LootCondition[] lootCondition)- Specified by:
fromJson
in classConditionalLootFunction.Serializer<SetStewEffectLootFunction>
-