Skip to content

Commit

Permalink
feat: add pizza, will be player accessable soon
Browse files Browse the repository at this point in the history
  • Loading branch information
Yarden-zamir committed Feb 7, 2024
1 parent eba1539 commit 14ebbf3
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
Binary file added kubejs/assets/ptdye/textures/item/tomato.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
11 changes: 11 additions & 0 deletions kubejs/startup_scripts/custom_items/cooking.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
if (feature("Tomato")) {
StartupEvents.registry("item", (event) => {
event
.create("ptdye:tomato")
.group("food")
.food((food) => {
food.hunger(3).saturation(1);
});
});
}

0 comments on commit 14ebbf3

Please sign in to comment.