Class SoundEventType
java.lang.Object
com.viaversion.viaversion.api.type.Type<Holder<T>>
com.viaversion.viaversion.api.type.types.misc.HolderType<SoundEvent>
com.viaversion.viaversion.api.type.types.misc.SoundEventType
- All Implemented Interfaces:
ByteBufReader<Holder<SoundEvent>>
,ByteBufWriter<Holder<SoundEvent>>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionreadDirect
(io.netty.buffer.ByteBuf buffer) void
writeDirect
(io.netty.buffer.ByteBuf buffer, SoundEvent value) Methods inherited from class com.viaversion.viaversion.api.type.types.misc.HolderType
read, write
Methods inherited from class com.viaversion.viaversion.api.type.Type
getBaseClass, getOutputClass, getTypeName, readEither, toString, writeEither
-
Constructor Details
-
SoundEventType
public SoundEventType()
-
-
Method Details
-
readDirect
- Specified by:
readDirect
in classHolderType<SoundEvent>
-
writeDirect
- Specified by:
writeDirect
in classHolderType<SoundEvent>
-