Skip to content

Commit

Permalink
Add ice cream, ice cream cone, cheese and cheese slice
Browse files Browse the repository at this point in the history
  • Loading branch information
atomic-junky committed Apr 21, 2024
1 parent 812df3d commit dff5abe
Show file tree
Hide file tree
Showing 18 changed files with 117 additions and 4 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -114,4 +114,4 @@ Replace `beet` with `beet -p ./tasty_supplies/` if you want to stay in the root
Like that if you make any changes for the data pack just type `/reload` in minecraft and if you make in any chnages for the resource pack, disable and re-enable the resource pack.

## Credits
All items texture/models come from the [Farmer's Delight](https://github.com/vectorwing/FarmersDelight) mod.
Certain items texture/models come from or are base on [Farmer's Delight](https://github.com/vectorwing/FarmersDelight), [Nether's Delight](https://github.com/Chefs-Delight/NethersDelight_Forge) and [FastFood Delight](https://github.com/akaneoMT/FastFoodDelight).
3 changes: 2 additions & 1 deletion tasty_supplies/src/assets/minecraft/models/item/bread.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
},
"overrides": [
{ "predicate": { "custom_model_data": 2750002 }, "model": "tasty_supplies:item/pie_crust" },
{ "predicate": { "custom_model_data": 2750008 }, "model": "tasty_supplies:item/egg_sandwich" }
{ "predicate": { "custom_model_data": 2750008 }, "model": "tasty_supplies:item/egg_sandwich" },
{ "predicate": { "custom_model_data": 2750036 }, "model": "tasty_supplies:item/ice_cream_cone" }
]
}
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
{ "predicate": { "custom_model_data": 2750027 }, "model": "tasty_supplies:item/beef_skewer" },
{ "predicate": { "custom_model_data": 2750028 }, "model": "tasty_supplies:item/fungus_skewer" },
{ "predicate": { "custom_model_data": 2750029 }, "model": "tasty_supplies:item/mushroom_skewer" },
{ "predicate": { "custom_model_data": 2750034 }, "model": "tasty_supplies:item/magma_gelatin" }
{ "predicate": { "custom_model_data": 2750034 }, "model": "tasty_supplies:item/magma_gelatin" },
{ "predicate": { "custom_model_data": 2750037 }, "model": "tasty_supplies:item/ice_cream" }
]
}
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@
{ "predicate": { "custom_model_data": 2750024 }, "model": "tasty_supplies:item/apple_pie_slice" },
{ "predicate": { "custom_model_data": 2750025 }, "model": "tasty_supplies:item/sweet_berry_cheesecake_slice" },
{ "predicate": { "custom_model_data": 2750026 }, "model": "tasty_supplies:item/chocolate_pie_slice" },
{ "predicate": { "custom_model_data": 2750027 }, "model": "tasty_supplies:item/glow_berry_pie_slice" }
{ "predicate": { "custom_model_data": 2750027 }, "model": "tasty_supplies:item/glow_berry_pie_slice" },
{ "predicate": { "custom_model_data": 2750035 }, "model": "tasty_supplies:item/cheese" },
{ "predicate": { "custom_model_data": 2750038 }, "model": "tasty_supplies:item/cheese_slice" }
]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"parent": "minecraft:item/handheld",
"textures": {
"layer0": "tasty_supplies:item/cheese"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"parent": "minecraft:item/handheld",
"textures": {
"layer0": "tasty_supplies:item/cheese_slice"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"parent": "minecraft:item/handheld",
"textures": {
"layer0": "tasty_supplies:item/ice_cream"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"parent": "minecraft:item/handheld",
"textures": {
"layer0": "tasty_supplies:item/ice_cream_cone"
}
}
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,5 @@ execute if data entity @s item{id: "minecraft:pumpkin_pie", components: {"minecr
execute if data entity @s item{id: "minecraft:pumpkin_pie", components: {"minecraft:custom_model_data": 2750004}} run function tasty_supplies:cutting_board/recipes/sweet_berry_cheesecake_slice
execute if data entity @s item{id: "minecraft:pumpkin_pie", components: {"minecraft:custom_model_data": 2750005}} run function tasty_supplies:cutting_board/recipes/chocolate_pie_slice
execute if data entity @s item{id: "minecraft:pumpkin_pie", components: {"minecraft:custom_model_data": 2750014}} run function tasty_supplies:cutting_board/recipes/glow_berry_pie_slice
execute if data entity @s item{id: "minecraft:pumpkin_pie", components: {"minecraft:custom_model_data": 2750035}} run function tasty_supplies:cutting_board/recipes/cheese_slice
execute if data entity @s item{id: "minecraft:baked_potato"} run function tasty_supplies:cutting_board/recipes/potato_fries
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
summon minecraft:item ~ ~.5 ~ {Item:{id: "minecraft:pumpkin_pie", components:{custom_name: "{\"text\": \"Cheese Slice\", \"italic\": false}",custom_model_data: 2750038,food: {nutrition: 3, saturation: 2.2}}, count: 4}}

kill @s
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
{
"type": "minecraft:smelting",
"ingredient": {
"item": "minecraft:milk_bucket"
},
"result": {
"id": "minecraft:pumpkin_pie",
"components": {
"custom_name": "{\"text\": \"Cheese\", \"italic\": false}",
"custom_model_data": 2750035,
"food": {
"nutrition": 8,
"saturation": 5.6
}
}
},
"experience": 0.5,
"cookingtime": 200
}
19 changes: 19 additions & 0 deletions tasty_supplies/src/data/tasty_supplies/recipes/cheese_smoking.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
{
"type": "minecraft:smoking",
"ingredient": {
"item": "minecraft:milk_bucket"
},
"result": {
"id": "minecraft:pumpkin_pie",
"components": {
"custom_name": "{\"text\": \"Cheese\", \"italic\": false}",
"custom_model_data": 2750035,
"food": {
"nutrition": 8,
"saturation": 5.6
}
}
},
"experience": 0.5,
"cookingtime": 140
}
22 changes: 22 additions & 0 deletions tasty_supplies/src/data/tasty_supplies/recipes/ice_cream.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
{
"type": "minecraft:crafting_shapeless",
"ingredients": [
{
"item": "minecraft:snowball"
},
{
"item": "minecraft:sugar"
},
{
"item": "minecraft:bread"
}
],
"result": {
"id": "minecraft:golden_carrot",
"components": {
"custom_name": "{\"text\": \"Ice Cream Cone\", \"italic\": false}",
"custom_model_data": 2750037
},
"count": 1
}
}
21 changes: 21 additions & 0 deletions tasty_supplies/src/data/tasty_supplies/recipes/ice_cream_cone.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
{
"type": "minecraft:crafting_shaped",
"key": {
"W": {
"item": "minecraft:wheat"
}
},
"pattern": [
"W",
"W",
"W"
],
"result": {
"id": "minecraft:bread",
"components": {
"custom_name": "{\"text\": \"Ice Cream Cone\", \"italic\": false}",
"custom_model_data": 2750036
},
"count": 1
}
}

0 comments on commit dff5abe

Please sign in to comment.