Class PokeLootRateAdapter
java.lang.Object
org.spongepowered.configurate.serialize.ScalarSerializer<PokeLootRate>
com.pixelmonmod.pixelmon.api.config.adapter.PokeLootRateAdapter
- All Implemented Interfaces:
org.spongepowered.configurate.serialize.TypeSerializer<PokeLootRate>
,org.spongepowered.configurate.serialize.TypeSerializer.Annotated<PokeLootRate>
public class PokeLootRateAdapter
extends org.spongepowered.configurate.serialize.ScalarSerializer<PokeLootRate>
-
Nested Class Summary
Nested classes/interfaces inherited from class org.spongepowered.configurate.serialize.ScalarSerializer
org.spongepowered.configurate.serialize.ScalarSerializer.Annotated<V extends Object>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiondeserialize
(Type type, Object obj) serialize
(PokeLootRate item, Predicate<Class<?>> typeSupported) Methods inherited from class org.spongepowered.configurate.serialize.ScalarSerializer
deserialize, deserialize, deserialize, deserialize, serialize, serialize, serializeToString, tryDeserialize, type
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.spongepowered.configurate.serialize.TypeSerializer.Annotated
emptyValue, emptyValue
-
Constructor Details
-
PokeLootRateAdapter
public PokeLootRateAdapter()
-
-
Method Details
-
deserialize
public PokeLootRate deserialize(Type type, Object obj) throws org.spongepowered.configurate.serialize.SerializationException - Specified by:
deserialize
in classorg.spongepowered.configurate.serialize.ScalarSerializer<PokeLootRate>
- Throws:
org.spongepowered.configurate.serialize.SerializationException
-
serialize
- Specified by:
serialize
in classorg.spongepowered.configurate.serialize.ScalarSerializer<PokeLootRate>
-