Improve model handling

This commit is contained in:
Nicholas Ignoffo 2017-10-09 12:29:43 -07:00
parent a0cd54969b
commit 2a1911ea07
75 changed files with 283 additions and 547 deletions

View file

@ -22,11 +22,9 @@ public interface IMeshProvider {
ItemMeshDefinition getMeshDefinition();
/**
* Gets all possible variants for this item
*
* @return - All possible variants for this item
* Populates a list of all possible variants for this item
*/
List<String> getVariants();
void populateVariants(List<String> variants);
/**
* If a custom ResourceLocation is required, return it here.
@ -36,5 +34,7 @@ public interface IMeshProvider {
* @return - The custom ResourceLocation
*/
@Nullable
ResourceLocation getCustomLocation();
default ResourceLocation getCustomLocation() {
return null;
}
}