| Package | Description |
|---|---|
| me.lucko.helper.config.typeserializers | |
| me.lucko.helper.cooldown | |
| me.lucko.helper.gson | |
| me.lucko.helper.hologram | |
| me.lucko.helper.serialize | |
| me.lucko.helper.utils |
| Modifier and Type | Method and Description |
|---|---|
GsonSerializable |
HelperTypeSerializer.deserialize(com.google.common.reflect.TypeToken<?> type,
ninja.leaping.configurate.ConfigurationNode node) |
| Modifier and Type | Method and Description |
|---|---|
void |
HelperTypeSerializer.serialize(com.google.common.reflect.TypeToken<?> type,
GsonSerializable s,
ninja.leaping.configurate.ConfigurationNode node) |
| Modifier and Type | Interface and Description |
|---|---|
interface |
Cooldown
A simple cooldown abstraction
|
| Modifier and Type | Method and Description |
|---|---|
default <T extends GsonSerializable> |
JsonBuilder.JsonObjectBuilder.addAllSerializables(Iterable<Map.Entry<String,T>> iterable) |
default <T extends GsonSerializable> |
JsonBuilder.JsonObjectBuilder.addAllSerializablesIfAbsent(Iterable<Map.Entry<String,T>> iterable) |
default <T extends GsonSerializable> |
JsonBuilder.JsonArrayBuilder.addSerializables(Iterable<T> iterable) |
static <T extends GsonSerializable> |
GsonSerializable.deserialize(Class<T> clazz,
com.google.gson.JsonElement element)
Deserializes a JsonElement to a GsonSerializable object.
|
| Modifier and Type | Method and Description |
|---|---|
static GsonSerializable |
GsonSerializable.deserializeRaw(Class<?> clazz,
com.google.gson.JsonElement element)
Deserializes a JsonElement to a GsonSerializable object.
|
| Modifier and Type | Method and Description |
|---|---|
static Collector<GsonSerializable,JsonBuilder.JsonArrayBuilder,com.google.gson.JsonArray> |
JsonBuilder.collectSerializablesToArray()
Returns a collector which forms a JsonArray from GsonSerializables
|
| Modifier and Type | Method and Description |
|---|---|
default JsonBuilder.JsonArrayBuilder |
JsonBuilder.JsonArrayBuilder.add(GsonSerializable serializable) |
default JsonBuilder.JsonObjectBuilder |
JsonBuilder.JsonObjectBuilder.add(String property,
GsonSerializable serializable) |
default JsonBuilder.JsonObjectBuilder |
JsonBuilder.JsonObjectBuilder.addIfAbsent(String property,
GsonSerializable serializable) |
| Modifier and Type | Interface and Description |
|---|---|
interface |
Hologram
A simple hologram utility.
|
| Modifier and Type | Class and Description |
|---|---|
class |
BlockPosition
An immutable and serializable block location object
|
class |
BlockRegion
An immutable and serializable block region object
|
class |
ChunkPosition
An immutable and serializable chuck location object
|
class |
ChunkRegion
An immutable and serializable chunk region object
|
class |
CircularRegion |
class |
Direction
An immutable and serializable direction object
|
class |
Point
An immutable and serializable position + direction object
|
class |
Position
An immutable and serializable location object
|
class |
Region
An immutable and serializable region object
|
class |
VectorPoint
An immutable and serializable vector + direction object
|
| Modifier and Type | Class and Description |
|---|---|
class |
Tps
Encapsulates the servers "ticks per second" (TPS) reading.
|
Copyright © 2022. All rights reserved.