public void setMaxNumWeights(int maxNumWeights) {
        this.maxNumWeights = maxNumWeights;
    }
Set the maximum number of weights per vertex on this mesh.
Only relevant if this mesh has bone index/weight buffers.
This value should be between 0 and 4.

@param maxNumWeights the desired number (between 0 and 4, inclusive)
jme3-core/src/main/java/com/jme3/scene/Mesh.java