11121314151617
@Override public HealthMessage decode(ByteBuf buffer) throws IOException { float health = buffer.readFloat(); int food = ByteBufUtils.readVarInt(buffer); float saturation = buffer.readFloat(); return new HealthMessage(health, food, saturation); }