Skip to content

Commit

Permalink
Give Lump of Fat food values
Browse files Browse the repository at this point in the history
  • Loading branch information
andantet committed Oct 8, 2024
1 parent 4b3eba1 commit 504915e
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion src/main/java/net/leafenzo/expandedmobdrops/item/EMDItems.java
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,15 @@ public class EMDItems {

/* Misc */

public static final Item FAT = registerMaterial("fat");
public static final Item FAT = registerFood(
"fat",
new FoodComponent.Builder()
.nutrition(2)
.saturationModifier(0.8f)
.alwaysEdible()
.snack()
);

public static final Item FAT_BLOCK = registerBlock("fat_block", EMDBlocks.FAT_BLOCK);

private static Item register(String id, Item item) {
Expand Down

0 comments on commit 504915e

Please sign in to comment.