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>,CodecWriter<T>
- Direct Known Subclasses:
ParticleType
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionfinal classstatic interfacefinal class -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final it.unimi.dsi.fastutil.ints.Int2ObjectMap<DynamicType.DataReader<T>> -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedDynamicType(it.unimi.dsi.fastutil.ints.Int2ObjectMap<DynamicType.DataReader<T>> readers, Class<T> outputClass) protectedDynamicType(Class<T> outputClass) -
Method Summary
Methods inherited from class com.viaversion.viaversion.api.type.Type
getBaseClass, getOutputClass, getTypeName, toString, writeMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.viaversion.viaversion.api.type.ByteBufReader
readMethods 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
-