@Override
    public void deserialize(Buffer buf) {
        livingUID = buf.readInt();
        if (livingUID < 0)
            throw new RuntimeException("Forbidden value on livingUID = " + livingUID + ", it doesn't respect the following condition : livingUID < 0");
        livingPosition = buf.readUByte();
        if (livingPosition < 0 || livingPosition > 255)
            throw new RuntimeException("Forbidden value on livingPosition = " + livingPosition + ", it doesn't respect the following condition : livingPosition < 0 || livingPosition > 255");
        skinId = buf.readInt();
        if (skinId < 0)
            throw new RuntimeException("Forbidden value on skinId = " + skinId + ", it doesn't respect the following condition : skinId < 0");
    }