Class LocationTypeSerializer
java.lang.Object
com.gamersafer.minecraft.auth.paper.command.serializer.LocationTypeSerializer
- All Implemented Interfaces:
org.spongepowered.configurate.serialize.TypeSerializer<org.bukkit.Location>
public class LocationTypeSerializer
extends Object
implements org.spongepowered.configurate.serialize.TypeSerializer<org.bukkit.Location>
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionorg.bukkit.Location
deserialize
(Type type, org.spongepowered.configurate.ConfigurationNode node) void
serialize
(Type type, @Nullable org.bukkit.Location location, org.spongepowered.configurate.ConfigurationNode node) 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
emptyValue
-
Field Details
-
INSTANCE
-
-
Method Details
-
deserialize
public org.bukkit.Location deserialize(Type type, org.spongepowered.configurate.ConfigurationNode node) throws org.spongepowered.configurate.serialize.SerializationException - Specified by:
deserialize
in interfaceorg.spongepowered.configurate.serialize.TypeSerializer<org.bukkit.Location>
- Throws:
org.spongepowered.configurate.serialize.SerializationException
-
serialize
public void serialize(Type type, @Nullable org.bukkit.Location location, org.spongepowered.configurate.ConfigurationNode node) throws org.spongepowered.configurate.serialize.SerializationException - Specified by:
serialize
in interfaceorg.spongepowered.configurate.serialize.TypeSerializer<org.bukkit.Location>
- Throws:
org.spongepowered.configurate.serialize.SerializationException
-