Skip to content

Commit dc2364e

Browse files
committed
docs: clarify itemStack in IItemModelDispatcher to be non-empty
1 parent 07ff5f1 commit dc2364e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/main/java/gregtech/api/items/metaitem/stats/IItemModelDispatcher.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,8 @@ public interface IItemModelDispatcher extends IItemComponent {
1212
* The index range will be checked at
1313
* {@link MetaItem#getModelIndex(ItemStack)}.
1414
*
15-
* @param itemStack The specific item stack.
15+
* @param itemStack The specific item stack, which is granted non-empty at
16+
* {@link MetaItem.MetaValueItem#getModelAmount()}
1617
* @param maxIndex The max model index, from
1718
* {@link MetaItem.MetaValueItem#getModelAmount()} - 1.
1819
* @return The model index for the specific stack, should be ranged between

0 commit comments

Comments
 (0)