Class FunctionNumberProvider.Serializer<NP extends FunctionNumberProvider>
java.lang.Object
com.petrolpark.data.loot.numberprovider.FunctionNumberProvider.Serializer<NP>
- All Implemented Interfaces:
net.minecraft.world.level.storage.loot.Serializer<NP>
- Enclosing class:
- FunctionNumberProvider
public static class FunctionNumberProvider.Serializer<NP extends FunctionNumberProvider>
extends Object
implements net.minecraft.world.level.storage.loot.Serializer<NP>
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondeserialize(com.google.gson.JsonObject json, com.google.gson.JsonDeserializationContext serializationContext) voidserialize(com.google.gson.JsonObject json, NP value, com.google.gson.JsonSerializationContext serializationContext)
-
Field Details
-
factory
-
-
Constructor Details
-
Serializer
-
-
Method Details
-
serialize
public void serialize(com.google.gson.JsonObject json, NP value, com.google.gson.JsonSerializationContext serializationContext) - Specified by:
serializein interfacenet.minecraft.world.level.storage.loot.Serializer<NP extends FunctionNumberProvider>
-
deserialize
public NP deserialize(com.google.gson.JsonObject json, com.google.gson.JsonDeserializationContext serializationContext) - Specified by:
deserializein interfacenet.minecraft.world.level.storage.loot.Serializer<NP extends FunctionNumberProvider>
-