Class Vector3dArrayCodec

java.lang.Object
com.hypixel.hytale.math.codec.Vector3dArrayCodec
All Implemented Interfaces:
Codec<org.joml.Vector3d>, RawJsonCodec<org.joml.Vector3d>, SchemaConvertable<org.joml.Vector3d>

@Deprecated public class Vector3dArrayCodec extends Object implements Codec<org.joml.Vector3d>
Deprecated.
Since:
30/6/17.
Version:
1.0
  • Constructor Details

    • Vector3dArrayCodec

      public Vector3dArrayCodec()
      Deprecated.
  • Method Details

    • decode

      @Nonnull public org.joml.Vector3d decode(@Nonnull org.bson.BsonValue bsonValue, ExtraInfo extraInfo)
      Deprecated.
      Specified by:
      decode in interface Codec<org.joml.Vector3d>
    • encode

      @Nonnull public org.bson.BsonValue encode(@Nonnull org.joml.Vector3d t, ExtraInfo extraInfo)
      Deprecated.
      Specified by:
      encode in interface Codec<org.joml.Vector3d>
    • decodeJson

      @Nonnull public org.joml.Vector3d decodeJson(@Nonnull RawJsonReader reader, ExtraInfo extraInfo) throws IOException
      Deprecated.
      Specified by:
      decodeJson in interface Codec<org.joml.Vector3d>
      Specified by:
      decodeJson in interface RawJsonCodec<org.joml.Vector3d>
      Throws:
      IOException
    • toSchema

      @Nonnull public Schema toSchema(@Nonnull SchemaContext context)
      Deprecated.
      Description copied from interface: SchemaConvertable
      Returns a schema object that represents this codec as JSON Schema.
      Specified by:
      toSchema in interface SchemaConvertable<org.joml.Vector3d>
      Parameters:
      context - A context to use to assist with creating the schema.
      Returns:
      the generated schema.