Skip to content

Commit

Permalink
New magma gelatin
Browse files Browse the repository at this point in the history
  • Loading branch information
atomic-junky committed Apr 21, 2024
1 parent 4b184a5 commit 812df3d
Show file tree
Hide file tree
Showing 8 changed files with 115 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
{ "predicate": { "custom_model_data": 2750019 }, "model": "tasty_supplies:item/melon_popsicle" },
{ "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": 2750029 }, "model": "tasty_supplies:item/mushroom_skewer" },
{ "predicate": { "custom_model_data": 2750034 }, "model": "tasty_supplies:item/magma_gelatin" }
]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"parent": "minecraft:item/generated",
"textures": {
"layer0": "tasty_supplies:item/magma_gelatin"
}
}
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
@@ -0,0 +1,38 @@
{
"display": {
"icon": {
"id": "minecraft:bucket",
"count": 1
},
"title": "_consume_bucket_drink",
"description": "_trigger_when_drinking_anything_in_a_bucket",
"background": "minecraft:textures/gui/advancements/backgrounds/husbandry.png",
"frame": "task",
"show_toast": false,
"announce_to_chat": false,
"hidden": true
},
"criteria": {
"magma_gelatin": {
"trigger": "minecraft:consume_item",
"conditions": {
"item": {
"items": "minecraft:golden_carrot",
"components": {
"minecraft:custom_model_data": 2750034
}
}
}
}
},
"requirements": [
[
"magma_gelatin"
]
],
"rewards": {
"function": "tasty_supplies:bucket_drink"
},
"sends_telemetry_event": true
}

Original file line number Diff line number Diff line change
Expand Up @@ -29,13 +29,27 @@
"conditions": {
"recipe_id": "tasty_supplies:fungus_skewer_reversed"
}
},
"magma_gelatin": {
"trigger": "minecraft:recipe_crafted",
"conditions": {
"recipe_id": "tasty_supplies:magma_gelatin"
}
},
"warped_mutton": {
"trigger": "minecraft:recipe_crafted",
"conditions": {
"recipe_id": "tasty_supplies:warped_mutton"
}
}
},
"requirements": [
[
"nether_salad",
"fungus_skewer",
"fungus_skewer_reversed"
"fungus_skewer_reversed",
"magma_gelatin",
"warped_mutton"
]
],
"sends_telemetry_event": true
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
advancement revoke @s only tasty_supplies:_consume_bucket_drink
execute as @s run schedule function tasty_supplies:bucket_drink_core 2t
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
give @p minecraft:bucket 1
51 changes: 51 additions & 0 deletions tasty_supplies/src/data/tasty_supplies/recipes/magma_gelatin.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
{
"type": "minecraft:crafting_shapeless",
"ingredients": [
{
"item": "minecraft:bucket"
},
{
"item": "minecraft:magma_cream"
},
{
"item": "minecraft:magma_cream"
},
{
"item": "minecraft:magma_cream"
},
{
"item": "minecraft:blaze_powder"
},
{
"item": "minecraft:blaze_powder"
}
],
"result": {
"id": "minecraft:golden_carrot",
"components": {
"custom_name": "{\"text\": \"Magma Gelatin\", \"italic\": false}",
"custom_model_data": 2750034,
"max_stack_size": 1,
"food": {
"nutrition": 1,
"saturation": 6,
"can_always_eat": true,
"effects": [
{
"effect": {
"id": "minecraft:nausea",
"duration": 300
}
},
{
"effect": {
"id": "minecraft:fire_resistance",
"duration": 6000
}
}
]
}
},
"count": 1
}
}

0 comments on commit 812df3d

Please sign in to comment.