Class DynamicType<T extends IdHolder>
java.lang.Object
com.viaversion.viaversion.api.type.Type<T>
com.viaversion.viaversion.api.type.types.misc.DynamicType<T>
- All Implemented Interfaces:
ByteBufReader<T>
,ByteBufWriter<T>
- Direct Known Subclasses:
ParticleType
-
Nested Class Summary
Modifier and TypeClassDescriptionfinal class
static interface
final class
-
Field Summary
Modifier and TypeFieldDescriptionprotected final it.unimi.dsi.fastutil.ints.Int2ObjectMap<DynamicType.DataReader<T>>
-
Constructor Summary
ModifierConstructorDescriptionprotected
DynamicType
(it.unimi.dsi.fastutil.ints.Int2ObjectMap<DynamicType.DataReader<T>> readers, Class<T> outputClass) protected
DynamicType
(Class<T> outputClass) -
Method Summary
Methods inherited from class com.viaversion.viaversion.api.type.Type
getBaseClass, getOutputClass, getTypeName, readEither, toString, writeEither
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.viaversion.viaversion.api.type.ByteBufReader
read
Methods inherited from interface com.viaversion.viaversion.api.type.ByteBufWriter
write
-
Field Details
-
readers
protected final it.unimi.dsi.fastutil.ints.Int2ObjectMap<DynamicType.DataReader<T extends IdHolder>> readers
-
-
Constructor Details
-
DynamicType
protected DynamicType(it.unimi.dsi.fastutil.ints.Int2ObjectMap<DynamicType.DataReader<T>> readers, Class<T> outputClass) -
DynamicType
-
-
Method Details
-
filler
-
filler
-
readData
-
rawFiller
-
mappings
-