Skip to content

Commit

Permalink
simplifying the creation of new food items
Browse files Browse the repository at this point in the history
  • Loading branch information
MEGATREX4 committed Jan 28, 2025
1 parent eca6af3 commit deac976
Show file tree
Hide file tree
Showing 35 changed files with 292 additions and 177 deletions.
Binary file added projectfiles/Kyiv_cutlet.aseprite
Binary file not shown.
Binary file added projectfiles/Sauerkraut_soup/cooking_pot_bottom.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added projectfiles/Sauerkraut_soup/cooking_pot_parts.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added projectfiles/Sauerkraut_soup/cooking_pot_side.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added projectfiles/Sauerkraut_soup/cooking_pot_top.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added projectfiles/Sauerkraut_soup/inside.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions projectfiles/Sauerkraut_soup/sauerkraut_soup.bbmodel
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"meta":{"format_version":"4.10","model_format":"java_block","box_uv":false},"name":"sauerkraut_soup","parent":"block/block","ambientocclusion":true,"front_gui_light":false,"visible_box":[1,1,0],"variable_placeholders":"","variable_placeholder_buttons":[],"unhandled_root_fields":{},"resolution":{"width":32,"height":32},"elements":[{"name":"pot","box_uv":false,"rescale":false,"locked":false,"light_emission":0,"render_order":"default","allow_mirror_modeling":true,"from":[13,0,2],"to":[14,10,14],"autouv":0,"color":5,"origin":[0,0,0],"faces":{"north":{"uv":[4,12,6,32],"texture":1},"east":{"uv":[4,12,28,32],"texture":1},"south":{"uv":[4,12,6,32],"texture":1},"west":{"uv":[4,12,28,32],"texture":1},"up":{"uv":[4,4,6,28],"texture":0},"down":{"uv":[4,4,6.000000000000001,28],"cullface":"down","texture":3}},"type":"cube","uuid":"8be76f88-772a-6d5c-943b-66dfb9bddf17"},{"name":"spoon","box_uv":false,"rescale":false,"locked":false,"light_emission":0,"render_order":"default","allow_mirror_modeling":true,"from":[10,6,7],"to":[12,18,9],"autouv":0,"color":8,"rotation":[0,0,-22.5],"origin":[11,8,8],"faces":{"north":{"uv":[4,4,0,28],"texture":2},"east":{"uv":[0,4,4,28],"texture":2},"south":{"uv":[4,4,0,28],"texture":2},"west":{"uv":[0,4,4,28],"texture":2},"up":{"uv":[0,0,4,4],"texture":2},"down":{"uv":[0,0,4,4],"texture":2}},"type":"cube","uuid":"0e64fbf1-10e5-da0c-0515-eafe21ed537c"},{"name":"right handle","box_uv":false,"rescale":false,"locked":false,"light_emission":0,"render_order":"default","allow_mirror_modeling":true,"from":[14,7,5],"to":[16,9,11],"autouv":0,"color":2,"origin":[0,0,0],"faces":{"north":{"uv":[20,0,24,4],"texture":2},"east":{"uv":[8,4,20,8],"texture":2},"south":{"uv":[4,0,8,4],"texture":2},"west":{"uv":[0,0,0,0],"texture":null},"up":{"uv":[8,0,20,4],"rotation":90,"texture":2},"down":{"uv":[8,4,20,8],"rotation":90,"texture":2}},"type":"cube","uuid":"1ad64fa2-1fd8-5f2e-24f6-f998508df2b7"},{"name":"left handle","box_uv":false,"rescale":false,"locked":false,"light_emission":0,"render_order":"default","allow_mirror_modeling":true,"from":[0,7,5],"to":[2,9,11],"autouv":0,"color":4,"origin":[0,0,0],"faces":{"north":{"uv":[4,0,8,4],"texture":2},"east":{"uv":[0,0,0,0],"texture":null},"south":{"uv":[20,0,24,4],"texture":2},"west":{"uv":[8,4,20,8],"texture":2},"up":{"uv":[8,0,20,4],"rotation":270,"texture":2},"down":{"uv":[8,4,20,8],"rotation":270,"texture":2}},"type":"cube","uuid":"142e2a2e-f57a-bc65-30ba-664b65bf44aa"},{"name":"pot","box_uv":false,"rescale":false,"locked":false,"light_emission":0,"render_order":"default","allow_mirror_modeling":true,"from":[2,0,2],"to":[3,10,14],"autouv":0,"color":5,"origin":[0,0,0],"faces":{"north":{"uv":[4,12,8,32],"texture":1},"east":{"uv":[4,12,28,32],"texture":1},"south":{"uv":[4,12,6,32],"texture":1},"west":{"uv":[4,12,28,32],"texture":1},"up":{"uv":[4,4,6,28],"texture":0},"down":{"uv":[4,4,6,28],"cullface":"down","texture":3}},"type":"cube","uuid":"82b75b78-cccc-2029-d4d9-7584fb2ff762"},{"name":"pot","box_uv":false,"rescale":false,"locked":false,"light_emission":0,"render_order":"default","allow_mirror_modeling":true,"from":[3,0,2],"to":[13,10,3],"autouv":0,"color":5,"origin":[0,0,0],"faces":{"north":{"uv":[6,12,26,32],"texture":1},"east":{"uv":[4,12,28,32],"texture":1},"south":{"uv":[6,12,26,32],"texture":1},"west":{"uv":[4,12,28,32],"texture":1},"up":{"uv":[6,4,26,6],"texture":0},"down":{"uv":[6,26,26,28],"cullface":"down","texture":3}},"type":"cube","uuid":"1ca988ee-13bf-01ef-ac9e-926f62bef950"},{"name":"pot","box_uv":false,"rescale":false,"locked":false,"light_emission":0,"render_order":"default","allow_mirror_modeling":true,"from":[3,0,13],"to":[13,10,14],"autouv":0,"color":5,"origin":[0,0,0],"faces":{"north":{"uv":[6,12,26,32],"texture":1},"east":{"uv":[4,12,28,32],"texture":1},"south":{"uv":[6,12,26,32],"texture":1},"west":{"uv":[4,12,28,32],"texture":1},"up":{"uv":[4,4,28,6],"texture":0},"down":{"uv":[4,4,28,6],"cullface":"down","texture":3}},"type":"cube","uuid":"a6769449-8e32-8904-06ac-6240a108747d"},{"name":"pot","box_uv":false,"rescale":false,"locked":false,"light_emission":0,"render_order":"default","allow_mirror_modeling":true,"from":[3,0,3],"to":[13,1,13],"autouv":0,"color":5,"origin":[0,0,0],"faces":{"north":{"uv":[4,12,28,32],"texture":1},"east":{"uv":[4,12,28,32],"texture":1},"south":{"uv":[4,12,28,32],"texture":1},"west":{"uv":[4,12,28,32],"texture":1},"up":{"uv":[4,4,28,28],"texture":3},"down":{"uv":[6,6,26,26],"cullface":"down","texture":3}},"type":"cube","uuid":"e5aa36b3-24d2-fb21-1e30-6df02313e05e"},{"name":"spoon","box_uv":false,"rescale":false,"locked":false,"light_emission":0,"render_order":"default","allow_mirror_modeling":true,"from":[10,2,6],"to":[12,6,10],"autouv":0,"color":8,"rotation":[0,0,-22.5],"origin":[11,8,8],"faces":{"north":{"uv":[8,8,4,16],"texture":2},"east":{"uv":[8,16,16,24],"texture":2},"south":{"uv":[8,8,4,16],"texture":2},"west":{"uv":[8,8,16,16],"texture":2},"up":{"uv":[20,8,16,16],"texture":2},"down":{"uv":[16,8,20,16],"texture":2}},"type":"cube","uuid":"7da65fa2-5088-a0fd-a7ea-ac9a68100877"},{"name":"inside","box_uv":false,"rescale":false,"locked":false,"light_emission":0,"render_order":"default","allow_mirror_modeling":true,"from":[3,3,3],"to":[13,5,13],"autouv":0,"color":6,"origin":[3,3,3],"faces":{"north":{"uv":[10,0,20,2],"texture":4},"east":{"uv":[10,2,20,4],"texture":4},"south":{"uv":[0,10,10,12],"texture":4},"west":{"uv":[10,6,20,8],"texture":4},"up":{"uv":[29.333333333333332,29.333333333333332,2.6666666666666665,2.6666666666666665],"texture":4},"down":{"uv":[10,10,0,20],"texture":4}},"type":"cube","uuid":"bb303f39-13a9-4fe9-0679-df649aafbfc6"}],"outliner":[{"name":"cooking pot","origin":[8,8,8],"color":0,"uuid":"ae5661c6-0643-f77e-c384-0dec1ec8a86c","export":true,"mirror_uv":false,"isOpen":true,"locked":false,"visibility":true,"autouv":0,"children":["8be76f88-772a-6d5c-943b-66dfb9bddf17","1ca988ee-13bf-01ef-ac9e-926f62bef950","a6769449-8e32-8904-06ac-6240a108747d","e5aa36b3-24d2-fb21-1e30-6df02313e05e","82b75b78-cccc-2029-d4d9-7584fb2ff762",{"name":"spoon","origin":[9,3,8],"color":0,"uuid":"781931b8-5264-ef6e-9654-1c2f8b75c0d5","export":true,"mirror_uv":false,"isOpen":false,"locked":false,"visibility":true,"autouv":0,"children":["0e64fbf1-10e5-da0c-0515-eafe21ed537c","7da65fa2-5088-a0fd-a7ea-ac9a68100877"]},"1ad64fa2-1fd8-5f2e-24f6-f998508df2b7","142e2a2e-f57a-bc65-30ba-664b65bf44aa","bb303f39-13a9-4fe9-0679-df649aafbfc6"]}],"textures":[{"path":"D:\\Users\\EUGENE\\Desktop\\Sauerkraut_soup\\cooking_pot_top.png","name":"cooking_pot_top.png","folder":"Sauerkraut_soup","namespace":"farmersdelight","id":"top","group":"","width":16,"height":16,"uv_width":16,"uv_height":16,"particle":false,"use_as_default":false,"layers_enabled":false,"sync_to_project":"","render_mode":"default","render_sides":"auto","frame_time":1,"frame_order_type":"loop","frame_order":"","frame_interpolate":false,"visible":true,"internal":true,"saved":true,"uuid":"0c7b4bc2-f0b4-b443-469d-0f9de050ce33","relative_path":"cooking_pot_top.png","source":"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAANdJREFUOE9jZKAQMFKonwFugL+//3+QYVycnGAz+aA0iP3p+3e4Pd+g7I0bN4L1ohhw795jBnZ2NgZuLi6whq/fvsE1/vz5C85WUpJlwGnAp0/v8fpKVFScQVpaHNOAyIiI/7fvPGB4/folXgMU5BUZBAR5MQ1IT0z8f+PuQ4YHD+8TNEBKSoxh+YoVqGFAigEayvIMM+fPp7IBoDB49uwVQS+AAlFVRQHTC8QGIs5YACWkp09fEowFvAYgJyRQIgIlKGyJCWdCQk7KyMmZqKRMbqaiODcCAGw0gRF+y2viAAAAAElFTkSuQmCC"},{"path":"D:\\Users\\EUGENE\\Desktop\\Sauerkraut_soup\\cooking_pot_side.png","name":"cooking_pot_side.png","folder":"Sauerkraut_soup","namespace":"farmersdelight","id":"side","group":"","width":16,"height":16,"uv_width":16,"uv_height":16,"particle":true,"use_as_default":false,"layers_enabled":false,"sync_to_project":"","render_mode":"default","render_sides":"auto","frame_time":1,"frame_order_type":"loop","frame_order":"","frame_interpolate":false,"visible":true,"internal":true,"saved":true,"uuid":"686eecd1-a46a-4fe2-fe08-a9a39cd722cb","relative_path":"cooking_pot_side.png","source":"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAANVJREFUOE/tkzESgjAQRUNDhhTehMYD6IwVVmnxhNJSSeWMHsCGS1hRWMCEJs4GP25CrGhNk7DL/8l/kESsHMlKvfgbiC8DrbVVWTYz3bA1FV/D4Hr9Z67r2vGbIeb51kItZeqWxoxuxjOvte3DN9jvDlapSeh26icxRti73a++wbEobCqloBg4ZviPoDcaIy5N4xucytJFIDG9SAwoN1iAAUzPVeUbcIih+Nl1niltsoDII/CThDFIHI3AIYIFF0MIwAuIZEBNTjt20fB1fhrERLEaDN7Oim0RO7azFgAAAABJRU5ErkJggg=="},{"path":"D:\\Users\\EUGENE\\Desktop\\Sauerkraut_soup\\cooking_pot_parts.png","name":"cooking_pot_parts.png","folder":"Sauerkraut_soup","namespace":"farmersdelight","id":"parts","group":"","width":16,"height":16,"uv_width":16,"uv_height":16,"particle":false,"use_as_default":false,"layers_enabled":false,"sync_to_project":"","render_mode":"default","render_sides":"auto","frame_time":1,"frame_order_type":"loop","frame_order":"","frame_interpolate":false,"visible":true,"internal":true,"saved":true,"uuid":"ad6d87f3-d240-e822-ffa4-f31a4d72c5c5","relative_path":"cooking_pot_parts.png","source":"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAghJREFUOE+dkk9oE1EQxr/dTXfZNqlpRaKxtCKtlQiCUDzYmgTPQo4eBVERoVV79uAfKHpQK9aDiIp4EqEYFSwIYj2I6KoYW2m0Jk2NaWIlbpPN5o+bjuxT1qwkBZ3bezPzm2++97iRQwMUTRbw1fDA7XajVZbRV5jHlvZWmDGdzUFp6USuWISqqng4McGxxO/g9u7eRr0dLRhXDHbV070B3oUoNnva2Xkmk0VqXS8+zs6xs6I8twPOD/npXTyPG/ffsEQoFKIgp8IpOliDVjHwhNwIh8O2RkvBhSN+ep8o4OrdV6wg4N9Ffdz3WpVQqA2TTx/XB1weDtKLD0vYutGFaFKH1MSz5lzhB0QHD4EH1q+REYnl2P2dRxH7CucG/RSJ5+HrciGjlmBUge61zShWqphN6WhzNaFjtYSh0cn6Ck7s76d4Woev04kv30ogjsMmbzOWlwlTCQ2+LifS2TLO3rKbZ3lw8kA/JRdLDDDzWYMoCky+GbIksPvphIYr40p9BSYgtqDj5oNfrzC4Zzsx93UDDoGzzLW5WvsPLh0LUCSuWYXH9+0gzyoRermKWLrYcLK1wthwkN7G8hbAVNDjlSHwHDJqBaeuPasr3QKcObyTPqV0G8BMlspVSBKPsdsvVwZcPBqgqbk/KzTataEHpw8OsGe8fu/1ipMaAv514t/1/zW1FvITE+PTEaQsXXsAAAAASUVORK5CYII="},{"path":"D:\\Users\\EUGENE\\Desktop\\Sauerkraut_soup\\cooking_pot_bottom.png","name":"cooking_pot_bottom.png","folder":"Sauerkraut_soup","namespace":"farmersdelight","id":"bottom","group":"","width":16,"height":16,"uv_width":16,"uv_height":16,"particle":false,"use_as_default":false,"layers_enabled":false,"sync_to_project":"","render_mode":"default","render_sides":"auto","frame_time":1,"frame_order_type":"loop","frame_order":"","frame_interpolate":false,"visible":true,"internal":true,"saved":true,"uuid":"a0562b9c-8968-ab35-1026-5ad7af33628d","relative_path":"cooking_pot_bottom.png","source":"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAALdJREFUOE+lk8EKhDAMROulBfd3PHjaBT9ccE978G+KQnvZZQoj2aZVsLmkKvNMJmlnGqNr1JsD8HpO3xy27Xt69eh79Z/lPSetAlCEjyFE45z9ExNWBEAMEQNiPvOMDIgCDMOYWoAgxmCsdSkjcEawmlOA977oKyDNAFZRrYDl10bLKooAjJEmsncJyn1Y148eIwDwgAbKfGkiK+AkKKjtwuUilYRyK6sA2bfcynydFeDupWq+jT8eYoERXNyz5wAAAABJRU5ErkJggg=="},{"path":"D:\\Users\\EUGENE\\Desktop\\Sauerkraut_soup\\inside.png","name":"inside.png","folder":"Sauerkraut_soup","namespace":"","id":"4","group":"","width":12,"height":12,"uv_width":32,"uv_height":32,"particle":false,"use_as_default":false,"layers_enabled":false,"sync_to_project":"","render_mode":"default","render_sides":"auto","frame_time":1,"frame_order_type":"loop","frame_order":"","frame_interpolate":false,"visible":true,"internal":true,"saved":true,"uuid":"90d28c99-51bd-c046-9667-82896572fb10","relative_path":"inside.png","source":"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAwAAAAMCAYAAABWdVznAAAAAXNSR0IArs4c6QAAATNJREFUKFNjZCARMILUn5hu9V/DTAGsdVXHMoYASzGGtW2sDJoKLAzCZu8YdFT+gOUYi74zgjVMF5H+b9gszwDSdOPUA4bztQ/BiuUUlBj2MO5nSLXkZJjRJsSQ+eYpQgNII0gRCFx/8IfB3UGN4dGDe2BNILDzwC2EhgMm8v9BgjDrDy4TYzCYaQ1WeCH9KJgGaVRasx9iA0gDyNSMqncMs49/Z/i7X5ohcqc92HmX9h0D80G2O5x5CNFwL8TxP8x6ZFor6jvDtWWccGfC/QCzAdkfMLfDDEDxw/8+zv9X7rAwHH/9GWw9zMMgAziSpcGhBwrutNUMECddzuL9D1IMAmr35cH0LcWHDHpOVmDFsPiBa5gVygAOJZgGUAAwOz4F80GaQGDS1GsMy658gNhACgAAWdGODViWursAAAAASUVORK5CYII="}],"display":{"thirdperson_righthand":{"rotation":[63,0,0],"translation":[0,3.75,1],"scale":[0.5,0.5,0.5]},"thirdperson_lefthand":{"rotation":[63,-180,0],"translation":[0,2.5,1],"scale":[0.5,0.5,0.5]},"firstperson_lefthand":{"rotation":[0,-180,0]},"ground":{"translation":[-0.5,2.5,0],"scale":[0.55,0.55,0.55]},"head":{"translation":[0,7.5,0]}},"tint_color":[1,0.705,0.294]}
Binary file added projectfiles/fishball.aseprite
Binary file not shown.
Binary file added projectfiles/fishball_atlas.aseprite
Binary file not shown.
Binary file modified projectfiles/holubtsi.aseprite
Binary file not shown.
Binary file added projectfiles/kyiv_cake/bowl.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added projectfiles/kyiv_cake/kyiv_cake_block.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
24 changes: 24 additions & 0 deletions projectfiles/kyiv_cake/kyiv_cake_block_leftover.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
{
"credit": "Made with Blockbench",
"parent": "block/block",
"textures": {
"tray_side": "ukrainian_delight:tray_bottom",
"particle": "ukrainian_delight:tray_kyiv_cake_leftover",
"tray_top": "ukrainian_delight:tray_kyiv_cake_leftover"
},
"elements": [
{
"name": "plate",
"from": [1, 0, 1],
"to": [15, 2, 15],
"faces": {
"north": {"uv": [1, 11, 15, 13], "texture": "#tray_side"},
"east": {"uv": [1, 11, 15, 13], "texture": "#tray_side"},
"south": {"uv": [1, 11, 15, 13], "texture": "#tray_side"},
"west": {"uv": [1, 11, 15, 13], "texture": "#tray_side"},
"up": {"uv": [1, 1, 15, 15], "texture": "#tray_top"},
"down": {"uv": [1, 1, 15, 15], "texture": "#tray_side", "cullface": "down"}
}
}
]
}
38 changes: 38 additions & 0 deletions projectfiles/kyiv_cake/kyiv_cake_block_stage0.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
{
"credit": "Made with Blockbench",
"parent": "block/block",
"textures": {
"particle": "ukrainian_delight:kyiv_cake_top",
"top": "ukrainian_delight:kyiv_cake_top",
"side": "ukrainian_delight:kyiv_cake_side",
"tray_top": "ukrainian_delight:tray_top",
"tray_side": "ukrainian_delight:tray_bottom"
},
"elements": [
{
"name": "plate",
"from": [1, 0, 1],
"to": [15, 2, 15],
"faces": {
"north": {"uv": [1, 11, 15, 13], "texture": "#tray_side"},
"east": {"uv": [1, 11, 15, 13], "texture": "#tray_side"},
"south": {"uv": [1, 11, 15, 13], "texture": "#tray_side"},
"west": {"uv": [1, 11, 15, 13], "texture": "#tray_side"},
"up": {"uv": [1, 1, 15, 15], "texture": "#tray_top"},
"down": {"uv": [1, 1, 15, 15], "texture": "#tray_side", "cullface": "down"}
}
},
{
"name": "pie",
"from": [2, 2, 2],
"to": [14, 8, 14],
"faces": {
"north": {"uv": [2, 10, 14, 16], "texture": "#side"},
"east": {"uv": [2, 10, 14, 16], "texture": "#side"},
"south": {"uv": [2, 10, 14, 16], "texture": "#side"},
"west": {"uv": [2, 10, 14, 16], "texture": "#side"},
"up": {"uv": [2, 2, 14, 14], "texture": "#top"}
}
}
]
}
51 changes: 51 additions & 0 deletions projectfiles/kyiv_cake/kyiv_cake_block_stage1.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
{
"credit": "Made with Blockbench",
"parent": "block/block",
"textures": {
"particle": "ukrainian_delight:kyiv_cake_top",
"top": "ukrainian_delight:kyiv_cake_top",
"side": "ukrainian_delight:kyiv_cake_side",
"tray_side": "ukrainian_delight:tray_bottom",
"inner": "ukrainian_delight:kyiv_cake_inner",
"tray_top": "ukrainian_delight:tray_kyiv_cake_leftover"
},
"elements": [
{
"name": "plate",
"from": [1, 0, 1],
"to": [15, 2, 15],
"faces": {
"north": {"uv": [1, 11, 15, 13], "texture": "#tray_side"},
"east": {"uv": [1, 11, 15, 13], "texture": "#tray_side"},
"south": {"uv": [1, 11, 15, 13], "texture": "#tray_side"},
"west": {"uv": [1, 11, 15, 13], "texture": "#tray_side"},
"up": {"uv": [1, 1, 15, 15], "texture": "#tray_top"},
"down": {"uv": [1, 1, 15, 15], "texture": "#tray_side", "cullface": "down"}
}
},
{
"name": "pie",
"from": [8, 2, 2],
"to": [14, 8, 8],
"faces": {
"north": {"uv": [2, 10, 8, 16], "texture": "#side"},
"east": {"uv": [8, 10, 14, 16], "texture": "#side"},
"south": {"uv": [2, 10, 14, 16], "texture": "#side"},
"west": {"uv": [2, 10, 8, 16], "texture": "#inner"},
"up": {"uv": [8, 2, 14, 8], "texture": "#top"}
}
},
{
"name": "pie",
"from": [2, 2, 8],
"to": [14, 8, 14],
"faces": {
"north": {"uv": [2, 10, 14, 16], "texture": "#inner"},
"east": {"uv": [2, 10, 8, 16], "texture": "#side"},
"south": {"uv": [2, 10, 14, 16], "texture": "#side"},
"west": {"uv": [8, 10, 14, 16], "texture": "#side"},
"up": {"uv": [2, 8, 14, 14], "texture": "#top"}
}
}
]
}
39 changes: 39 additions & 0 deletions projectfiles/kyiv_cake/kyiv_cake_block_stage2.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
{
"credit": "Made with Blockbench",
"parent": "block/block",
"textures": {
"particle": "ukrainian_delight:kyiv_cake_top",
"top": "ukrainian_delight:kyiv_cake_top",
"side": "ukrainian_delight:kyiv_cake_side",
"tray_side": "ukrainian_delight:tray_bottom",
"inner": "ukrainian_delight:kyiv_cake_inner",
"tray_top": "ukrainian_delight:tray_kyiv_cake_leftover"
},
"elements": [
{
"name": "plate",
"from": [1, 0, 1],
"to": [15, 2, 15],
"faces": {
"north": {"uv": [1, 11, 15, 13], "texture": "#tray_side"},
"east": {"uv": [1, 11, 15, 13], "texture": "#tray_side"},
"south": {"uv": [1, 11, 15, 13], "texture": "#tray_side"},
"west": {"uv": [1, 11, 15, 13], "texture": "#tray_side"},
"up": {"uv": [1, 1, 15, 15], "texture": "#tray_top"},
"down": {"uv": [1, 1, 15, 15], "texture": "#tray_side", "cullface": "down"}
}
},
{
"name": "pie",
"from": [2, 2, 8],
"to": [14, 8, 14],
"faces": {
"north": {"uv": [2, 10, 14, 16], "texture": "#inner"},
"east": {"uv": [2, 10, 8, 16], "texture": "#side"},
"south": {"uv": [2, 10, 14, 16], "texture": "#side"},
"west": {"uv": [8, 10, 14, 16], "texture": "#side"},
"up": {"uv": [2, 8, 14, 14], "texture": "#top"}
}
}
]
}
39 changes: 39 additions & 0 deletions projectfiles/kyiv_cake/kyiv_cake_block_stage3.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
{
"credit": "Made with Blockbench",
"parent": "block/block",
"textures": {
"particle": "ukrainian_delight:kyiv_cake_top",
"top": "ukrainian_delight:kyiv_cake_top",
"side": "ukrainian_delight:kyiv_cake_side",
"tray_side": "ukrainian_delight:tray_bottom",
"inner": "ukrainian_delight:kyiv_cake_inner",
"tray_top": "ukrainian_delight:tray_kyiv_cake_leftover"
},
"elements": [
{
"name": "plate",
"from": [1, 0, 1],
"to": [15, 2, 15],
"faces": {
"north": {"uv": [1, 11, 15, 13], "texture": "#tray_side"},
"east": {"uv": [1, 11, 15, 13], "texture": "#tray_side"},
"south": {"uv": [1, 11, 15, 13], "texture": "#tray_side"},
"west": {"uv": [1, 11, 15, 13], "texture": "#tray_side"},
"up": {"uv": [1, 1, 15, 15], "texture": "#tray_top"},
"down": {"uv": [1, 1, 15, 15], "texture": "#tray_side", "cullface": "down"}
}
},
{
"name": "pie",
"from": [2, 2, 8],
"to": [8, 8, 14],
"faces": {
"north": {"uv": [8, 10, 14, 16], "texture": "#inner"},
"east": {"uv": [2, 10, 8, 16], "texture": "#inner"},
"south": {"uv": [2, 10, 8, 16], "texture": "#side"},
"west": {"uv": [8, 10, 14, 16], "texture": "#side"},
"up": {"uv": [2, 8, 8, 14], "texture": "#top"}
}
}
]
}
Binary file added projectfiles/kyiv_cake/kyiv_cake_inner.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added projectfiles/kyiv_cake/kyiv_cake_side.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added projectfiles/kyiv_cake/kyiv_cake_slice.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added projectfiles/kyiv_cake/kyiv_cake_top.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added projectfiles/kyiv_cake/tray_bottom.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added projectfiles/kyiv_cake/tray_kyiv_cake_leftover.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added projectfiles/kyiv_cake/tray_top.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.megatrex4.ukrainian_dlight.compat;
//package com.megatrex4.ukrainian_dlight.compat;

//import me.shedaniel.rei.api.client.plugins.REIClientPlugin;
//import net.minecraft.client.resource.language.I18n;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,17 @@
import net.minecraft.entity.LivingEntity;
import net.minecraft.entity.player.PlayerEntity;
import net.minecraft.item.ItemStack;
import net.minecraft.item.Items;
import net.minecraft.item.Item;
import net.minecraft.registry.Registries;
import net.minecraft.world.World;
import net.minecraft.util.Identifier;

public class BowlReturningFoodItem extends ToolTipHelper {
private final Identifier bowlId; // Store the bowl identifier

public BowlReturningFoodItem(Settings settings) {
public BowlReturningFoodItem(Settings settings, Identifier bowlId) {
super(settings);
this.bowlId = bowlId; // Initialize with the bowl identifier
}

@Override
Expand All @@ -18,7 +22,8 @@ public ItemStack finishUsing(ItemStack stack, World world, LivingEntity user) {

if (user instanceof PlayerEntity) {
PlayerEntity player = (PlayerEntity) user;
ItemStack bowlStack = new ItemStack(Items.BOWL);
Item bowlItem = Registries.ITEM.get(bowlId); // Retrieve the bowl item based on the identifier
ItemStack bowlStack = new ItemStack(bowlItem);

boolean addedToInventory = player.getInventory().insertStack(bowlStack);

Expand Down
Loading

0 comments on commit deac976

Please sign in to comment.