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/FabricItemStack.java

Co-authored-by: Juuz <[email protected]>
  • Loading branch information
Phoupraw and Juuxel authored Nov 6, 2023
1 parent 6f4b2f5 commit 57b1715
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ default ItemStack getRecipeRemainder() {
* Stack-aware version of {@link Item#getFoodComponent()}.
* See {@link FabricItem#getFoodComponent(ItemStack)} for a more in depth description.
*
* @return this itemStack's {@link FoodComponent}, or {@code null} if none was set.
* @return this item stack's {@link FoodComponent}, or {@code null} if none was set
*/
default @Nullable FoodComponent getFoodComponent() {
return ((ItemStack) this).getItem().getFoodComponent(((ItemStack) this));
Expand Down

0 comments on commit 57b1715

Please sign in to comment.