Skip to content

Commit

Permalink
Docs
Browse files Browse the repository at this point in the history
  • Loading branch information
Sollace committed Feb 1, 2019
1 parent 1e6f90f commit 41dfb01
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,16 @@ public interface IMultiItem {
*/
String[] getVariants();

/**
* Returns true if variants should all share the same model as the {0} data value
*/
default boolean variantsAreHidden() {
return false;
}

/**
* Gets the highest metadata value allowed for this item.
*/
default int getMaxMetadata() {
return getVariants().length;
}
Expand Down

0 comments on commit 41dfb01

Please sign in to comment.