List of usage examples for io.netty.buffer ByteBuf readBoolean
public abstract boolean readBoolean();
From source file:zeldaswordskills.entity.projectile.EntityMagicSpell.java
License:Open Source License
@Override public void readSpawnData(ByteBuf buffer) { super.readSpawnData(buffer); type = (MagicType.values()[buffer.readInt() % MagicType.values().length]); radius = buffer.readFloat();/*from w w w . ja va 2 s . com*/ spawnParticles = buffer.readBoolean(); }