-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
4b184a5
commit 812df3d
Showing
8 changed files
with
115 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 6 additions & 0 deletions
6
tasty_supplies/src/assets/tasty_supplies/models/item/magma_gelatin.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" | ||
} | ||
} |
Binary file added
BIN
+521 Bytes
tasty_supplies/src/assets/tasty_supplies/textures/item/magma_gelatin.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
38 changes: 38 additions & 0 deletions
38
tasty_supplies/src/data/tasty_supplies/advancements/_consume_bucket_drink.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 2 additions & 0 deletions
2
tasty_supplies/src/data/tasty_supplies/functions/bucket_drink.mcfunction
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
1 change: 1 addition & 0 deletions
1
tasty_supplies/src/data/tasty_supplies/functions/bucket_drink_core.mcfunction
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
give @p minecraft:bucket 1 |
51 changes: 51 additions & 0 deletions
51
tasty_supplies/src/data/tasty_supplies/recipes/magma_gelatin.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
} | ||
} |