Skip to content

Commit

Permalink
Update fabric-item-api-v1/src/main/java/net/fabricmc/fabric/api/item/…
Browse files Browse the repository at this point in the history
…v1/FabricItem.java

Co-authored-by: Juuz <[email protected]>
  • Loading branch information
Phoupraw and Juuxel authored Dec 29, 2023
1 parent 878b6a7 commit f62572c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ default ItemStack getRecipeRemainder(ItemStack stack) {
/**
* This is a stack-aware version of {@link Item#getFoodComponent()}.
* Note that simple food component can also be set via {@link Item.Settings#food(FoodComponent)}.
* If you want to get a food component for a stack, is <b>recommended</b> to use the stack version of this method: {@link FabricItemStack#getFoodComponent()}.
* If you want to get a food component for a stack, is <strong>recommended</strong> to use the stack version of this method: {@link FabricItemStack#getFoodComponent()}.
*
* @return this item's {@link FoodComponent}, or {@code null} if none was set
*/
Expand Down

0 comments on commit f62572c

Please sign in to comment.