default int getWeight() {
        return queryWeight().result();
    }
Gets the weight.

<p>If the there is no defined weight, {@code 0} is returned.</p>

@return the weight
@since 5.5
api/src/main/java/net/luckperms/api/cacheddata/CachedMetaData.java