List of usage examples for io.netty.buffer ByteBufOutputStream writeFloat
@Override public void writeFloat(float v) throws IOException
From source file:de.sanandrew.mods.particledeco.util.ParticleBoxData.java
License:Creative Commons License
public void writeDataToByteBuf(ByteBufOutputStream stream) throws IOException { stream.writeInt(this.particleColor); stream.writeFloat(this.particleHeight); stream.writeFloat(this.particleSpeed); stream.writeInt(this.particleType.ordinal()); stream.writeInt(this.particleSpread.ordinal()); }