Class CuboidSerializer

java.lang.Object
sawfowl.regionguard.configure.serializers.CuboidSerializer
All Implemented Interfaces:
org.spongepowered.configurate.serialize.TypeSerializer<Cuboid>

public class CuboidSerializer extends Object implements org.spongepowered.configurate.serialize.TypeSerializer<Cuboid>
  • Constructor Details

    • CuboidSerializer

      public CuboidSerializer()
  • Method Details

    • deserialize

      public Cuboid deserialize(Type type, org.spongepowered.configurate.ConfigurationNode node) throws org.spongepowered.configurate.serialize.SerializationException
      Specified by:
      deserialize in interface org.spongepowered.configurate.serialize.TypeSerializer<Cuboid>
      Throws:
      org.spongepowered.configurate.serialize.SerializationException
    • serialize

      public void serialize(Type type, @Nullable Cuboid cuboid, org.spongepowered.configurate.ConfigurationNode node) throws org.spongepowered.configurate.serialize.SerializationException
      Specified by:
      serialize in interface org.spongepowered.configurate.serialize.TypeSerializer<Cuboid>
      Throws:
      org.spongepowered.configurate.serialize.SerializationException