public Image getTexture() { if (defaultmodel != null && texture == null) return defaultmodel.getTexture(); else return texture; }
public String getType() { if (defaultmodel != null && type == null) return defaultmodel.getType(); else return type; }
public String getTexturepath() { if (defaultmodel != null && texturepath == null) return defaultmodel.getTexturepath(); else return texturepath; }
public Model getDefaultmodel() { if (defaultmodel != null && defaultmodel == null) return defaultmodel.getDefaultmodel(); else return defaultmodel; }