Skip to content

Commit 1a662d9

Browse files
committed
format: use html javadoc
1 parent 1fda086 commit 1a662d9

File tree

1 file changed

+13
-8
lines changed

1 file changed

+13
-8
lines changed
Lines changed: 13 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,22 @@
11
package gregtech.api.items.metaitem.stats;
22

3+
import gregtech.api.items.metaitem.MetaItem;
4+
35
import net.minecraft.item.ItemStack;
46

57
@FunctionalInterface
68
public 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
}

0 commit comments

Comments
 (0)