@FunctionalInterface public interface ValueWriter<T>
Modifier and Type | Method and Description |
---|---|
void |
write(PacketWrapper writer,
T inputValue)
Write a value to a packet
|
void write(PacketWrapper writer, T inputValue) throws Exception
writer
- The packet wrapper to write toinputValue
- The value to writeException
- Throws exception if it fails to writeCopyright © 2016–2021. All rights reserved.