@FunctionalInterface
public static interface ParticleType.ParticleReader
| Modifier and Type | Method and Description |
|---|---|
void |
read(io.netty.buffer.ByteBuf buf,
Particle particle)
Reads particle data from the buffer and adds it to the particle data.
|
void read(io.netty.buffer.ByteBuf buf,
Particle particle)
throws java.lang.Exception
buf - bufferparticle - particlejava.lang.Exception - if an error occurs during buffer reading