File tree Expand file tree Collapse file tree 1 file changed +13
-8
lines changed
src/main/java/gregtech/api/items/metaitem/stats Expand file tree Collapse file tree 1 file changed +13
-8
lines changed Original file line number Diff line number Diff line change 11package gregtech .api .items .metaitem .stats ;
22
3+ import gregtech .api .items .metaitem .MetaItem ;
4+
35import net .minecraft .item .ItemStack ;
46
57@ FunctionalInterface
68public interface IItemModelDispatcher extends IItemComponent {
79
8- /// Get the model index for the given item stack.
9- /// The index range will be checked at [gregtech.api.items.metaitem.MetaItem#getModelIndex(ItemStack)]
10- ///
11- /// @param itemStack The specific item stack.
12- /// @param maxIndex The max model index, from [gregtech.api.items.metaitem.MetaItem.MetaValueItem#getModelAmount()]`
13- /// - 1`
14- /// @return The model index for the specific stack, should be ranged between `0` (inclusive) and `maxIndex`
15- /// (inclusive).
10+ /**
11+ * Get the model index for the given item stack. <br>
12+ * The index range will be checked at
13+ * {@link MetaItem#getModelIndex(ItemStack)}.
14+ *
15+ * @param itemStack The specific item stack.
16+ * @param maxIndex The max model index, from
17+ * {@link MetaItem.MetaValueItem#getModelAmount()} - 1.
18+ * @return The model index for the specific stack, should be ranged between
19+ * {@code 0} (inclusive) and {@code maxIndex} (inclusive).
20+ */
1621 int getModelIndex (ItemStack itemStack , int maxIndex );
1722}
You can’t perform that action at this time.
0 commit comments