public Object getValue() {
        return value;
    }
Creates a new <code>UserData</code> with the given
type and value.

@param type
           Type of data, should be between 0 and 8.
@param value
           Value of the data
jme3-core/src/main/java/com/jme3/scene/UserData.java