Package dev.jaims.hololib.gson

Types

HologramAdapter
Link copied to clipboard
class HologramAdapter : JsonDeserializer<Hologram> , JsonSerializer<Hologram>
A Serializer/Deserializer for a Hologram
LocationAdapter
Link copied to clipboard
class LocationAdapter : JsonSerializer<Location> , JsonDeserializer<Location>
A JsonSerializer and JsonDeserializer for a Location.
LocationHolder
Link copied to clipboard
data class LocationHolder(world: String, x: Double, y: Double, z: Double, yaw: Float, pitch: Float)

Properties

hololibGsonBuilder
Link copied to clipboard
val hololibGsonBuilder: GsonBuilder
A GsonBuilder with a built in TypeAdapter for Locations and Holograms