Package at.petrak.hexcasting.common.loot
Class AmethystReducerFunc.Serializer
java.lang.Object
net.minecraft.world.level.storage.loot.functions.LootItemConditionalFunction.Serializer<AmethystReducerFunc>
at.petrak.hexcasting.common.loot.AmethystReducerFunc.Serializer
- All Implemented Interfaces:
net.minecraft.world.level.storage.loot.Serializer<AmethystReducerFunc>
- Enclosing class:
- AmethystReducerFunc
public static class AmethystReducerFunc.Serializer
extends net.minecraft.world.level.storage.loot.functions.LootItemConditionalFunction.Serializer<AmethystReducerFunc>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondeserialize(com.google.gson.JsonObject object, com.google.gson.JsonDeserializationContext ctx, net.minecraft.world.level.storage.loot.predicates.LootItemCondition[] conditions) voidserialize(com.google.gson.JsonObject json, AmethystReducerFunc value, com.google.gson.JsonSerializationContext ctx) Methods inherited from class net.minecraft.world.level.storage.loot.functions.LootItemConditionalFunction.Serializer
deserialize
-
Constructor Details
-
Serializer
public Serializer()
-
-
Method Details
-
serialize
public void serialize(com.google.gson.JsonObject json, AmethystReducerFunc value, com.google.gson.JsonSerializationContext ctx) - Specified by:
serializein interfacenet.minecraft.world.level.storage.loot.Serializer<AmethystReducerFunc>- Overrides:
serializein classnet.minecraft.world.level.storage.loot.functions.LootItemConditionalFunction.Serializer<AmethystReducerFunc>
-
deserialize
public AmethystReducerFunc deserialize(com.google.gson.JsonObject object, com.google.gson.JsonDeserializationContext ctx, net.minecraft.world.level.storage.loot.predicates.LootItemCondition[] conditions) - Specified by:
deserializein classnet.minecraft.world.level.storage.loot.functions.LootItemConditionalFunction.Serializer<AmethystReducerFunc>
-