mirror of
https://github.com/Sollace/Unicopia.git
synced 2025-02-08 06:26:43 +01:00
Docs
This commit is contained in:
parent
1e6f90fa37
commit
41dfb01d26
1 changed files with 6 additions and 0 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue