diff --git a/acacia_gum/README.txt b/acacia_gum/README.txt new file mode 100644 index 0000000..a99cf11 --- /dev/null +++ b/acacia_gum/README.txt @@ -0,0 +1,40 @@ +# Acacia Gum (v1.2, for Minecraft 1.20.5+) + +This datapack adds the item "Acacia Gumball" (a retextured Slimeball), which is obtained by stripping acacia logs. + +- This datapack was made by Daenvil, its official pages are: + + - On PlanetMinecraft: https://www.planetminecraft.com/data-pack/acacia-gum-slime-from-stripping-acacias/ + - On my website: https://daenvil.github.io/MCDatapacks/acacia_gum.html + +- This version was published on the 21st of May 2024. Check the webpages above for possible updates. + +## Installation + +- Drop the datapack zip file inside the "datapacks" folder of your world folder (/saves//datapacks/). +- Drop the resourcepack zip file ("vegancraft-RP_v1.1.zip") inside the "resourcepacks" folder of your minecraft folder. If you don't have the resourcepack, download it from one of the webpages above. + +## Features + +Strip acacia logs/wood to get acacia gum. Use the acacia gum as you would use regular slime balls. You can see more info on this page: https://daenvil.github.io/MCDatapacks/acacia_gum.html + +## Legal terms + +You are allowed to: + +- Download, use, and edit this datapack* for personal use. +- Use this datapack or variations of it in a Minecraft server. +- Publish audiovisual content that uses this datapack or variations of it (e.g. gameplay videos on online platforms), as long as you acknowledge me (Daenvil) as the author of this datapack and provide a link to its page on PlanetMinecraft (https://www.planetminecraft.com/data-pack/acacia-gum-slime-from-stripping-acacias/) or to its webpage (https://daenvil.github.io/MCDatapacks/acacia_gum.html). +- Share this datapack or variations of it privately (e.g. transferring the files to friends), as long as there is no financial profit involved, the files are not publicly available, and this text file is included with the files you share. + +You are not allowed to: + +- Publish this datapack or variations of it without explicit permission from me. + +*For all legal purposes, "this datapack" refers to all the files (source code, images, and any other) that you downloaded along with this text file, and that are downloadable from its official pages listed above. + +-- + +-Daenvil + +https://daenvil.github.io/MCDatapacks/contact.html diff --git a/acacia_gum/data/dnv.acacia_gum/functions/give/acacia_gum_ball.mcfunction b/acacia_gum/data/dnv.acacia_gum/functions/give/acacia_gum_ball.mcfunction new file mode 100644 index 0000000..cf64d2d --- /dev/null +++ b/acacia_gum/data/dnv.acacia_gum/functions/give/acacia_gum_ball.mcfunction @@ -0,0 +1 @@ +give @s slime_ball[item_name="{\"translate\":\"dnv.acacia_gum.item.acacia_gum_ball\",\"fallback\":\"Acacia Gum\",\"italic\":false}",lore=["{\"text\":\"Daenvil's Acacia Gum\",\"color\":\"gold\",\"italic\":true}"],custom_model_data=9261005,custom_data={"dnv.vegan":true}] \ No newline at end of file diff --git a/acacia_gum/data/dnv.acacia_gum/loot_tables/drop.json b/acacia_gum/data/dnv.acacia_gum/loot_tables/drop.json new file mode 100644 index 0000000..c969c6b --- /dev/null +++ b/acacia_gum/data/dnv.acacia_gum/loot_tables/drop.json @@ -0,0 +1,30 @@ +{ + "type": "command", + "pools": [ + { + "rolls": 1, + "entries": [ + { + "type": "item", + "weight": 1, + "functions": [ + { + "function": "set_components", + "components": { + "item_name": "{\"translate\":\"dnv.acacia_gum.item.acacia_gum_ball\",\"fallback\":\"Acacia Gum\",\"italic\":false}", + "lore": [ + "{\"text\":\"Daenvil's Acacia Gum\",\"color\":\"gold\",\"italic\":true}" + ], + "custom_model_data": 9261005, + "custom_data": { + "dnv.vegan": true + } + } + } + ], + "name": "slime_ball" + } + ] + } + ] +} \ No newline at end of file diff --git a/acacia_gum/data/dnv.acacia_gum/predicates/drop_chance_no_fortune.json b/acacia_gum/data/dnv.acacia_gum/predicates/drop_chance_no_fortune.json new file mode 100644 index 0000000..bd77c87 --- /dev/null +++ b/acacia_gum/data/dnv.acacia_gum/predicates/drop_chance_no_fortune.json @@ -0,0 +1,4 @@ +{ + "condition": "random_chance", + "chance": 0.25 +} \ No newline at end of file diff --git a/acacia_gum/data/dnv.acacia_gum/predicates/extra_drop_chance_fortune_1.json b/acacia_gum/data/dnv.acacia_gum/predicates/extra_drop_chance_fortune_1.json new file mode 100644 index 0000000..bd77c87 --- /dev/null +++ b/acacia_gum/data/dnv.acacia_gum/predicates/extra_drop_chance_fortune_1.json @@ -0,0 +1,4 @@ +{ + "condition": "random_chance", + "chance": 0.25 +} \ No newline at end of file diff --git a/acacia_gum/data/dnv.acacia_gum/predicates/extra_drop_chance_fortune_2.json b/acacia_gum/data/dnv.acacia_gum/predicates/extra_drop_chance_fortune_2.json new file mode 100644 index 0000000..d2c7227 --- /dev/null +++ b/acacia_gum/data/dnv.acacia_gum/predicates/extra_drop_chance_fortune_2.json @@ -0,0 +1,4 @@ +{ + "condition": "random_chance", + "chance": 0.5 +} \ No newline at end of file diff --git a/acacia_gum/data/dnv.acacia_gum/predicates/extra_drop_chance_fortune_3.json b/acacia_gum/data/dnv.acacia_gum/predicates/extra_drop_chance_fortune_3.json new file mode 100644 index 0000000..7064d64 --- /dev/null +++ b/acacia_gum/data/dnv.acacia_gum/predicates/extra_drop_chance_fortune_3.json @@ -0,0 +1,4 @@ +{ + "condition": "random_chance", + "chance": 0.75 +} \ No newline at end of file diff --git a/acacia_gum/data/dnv.acacia_gum/predicates/holding_axe_fortune_1.json b/acacia_gum/data/dnv.acacia_gum/predicates/holding_axe_fortune_1.json new file mode 100644 index 0000000..bfc3dfb --- /dev/null +++ b/acacia_gum/data/dnv.acacia_gum/predicates/holding_axe_fortune_1.json @@ -0,0 +1,43 @@ +{ + "condition": "any_of", + "terms": [ + { + "condition": "entity_properties", + "entity": "this", + "predicate": { + "slots": { + "weapon.mainhand": { + "items": "#axes", + "predicates": { + "enchantments": [ + { + "enchantment": "minecraft:fortune", + "levels": 1 + } + ] + } + } + } + } + }, + { + "condition": "entity_properties", + "entity": "this", + "predicate": { + "slots": { + "weapon.offhand": { + "items": "#axes", + "predicates": { + "enchantments": [ + { + "enchantment": "minecraft:fortune", + "levels": 1 + } + ] + } + } + } + } + } + ] +} \ No newline at end of file diff --git a/acacia_gum/data/dnv.acacia_gum/predicates/holding_axe_fortune_2.json b/acacia_gum/data/dnv.acacia_gum/predicates/holding_axe_fortune_2.json new file mode 100644 index 0000000..1707e1e --- /dev/null +++ b/acacia_gum/data/dnv.acacia_gum/predicates/holding_axe_fortune_2.json @@ -0,0 +1,43 @@ +{ + "condition": "any_of", + "terms": [ + { + "condition": "entity_properties", + "entity": "this", + "predicate": { + "slots": { + "weapon.mainhand": { + "items": "#axes", + "predicates": { + "enchantments": [ + { + "enchantment": "minecraft:fortune", + "levels": 2 + } + ] + } + } + } + } + }, + { + "condition": "entity_properties", + "entity": "this", + "predicate": { + "slots": { + "weapon.offhand": { + "items": "#axes", + "predicates": { + "enchantments": [ + { + "enchantment": "minecraft:fortune", + "levels": 2 + } + ] + } + } + } + } + } + ] +} \ No newline at end of file diff --git a/acacia_gum/data/dnv.acacia_gum/predicates/holding_axe_fortune_3.json b/acacia_gum/data/dnv.acacia_gum/predicates/holding_axe_fortune_3.json new file mode 100644 index 0000000..dcf80a3 --- /dev/null +++ b/acacia_gum/data/dnv.acacia_gum/predicates/holding_axe_fortune_3.json @@ -0,0 +1,43 @@ +{ + "condition": "any_of", + "terms": [ + { + "condition": "entity_properties", + "entity": "this", + "predicate": { + "slots": { + "weapon.mainhand": { + "items": "#axes", + "predicates": { + "enchantments": [ + { + "enchantment": "minecraft:fortune", + "levels": 3 + } + ] + } + } + } + } + }, + { + "condition": "entity_properties", + "entity": "this", + "predicate": { + "slots": { + "weapon.offhand": { + "items": "#axes", + "predicates": { + "enchantments": [ + { + "enchantment": "minecraft:fortune", + "levels": 3 + } + ] + } + } + } + } + } + ] +} \ No newline at end of file diff --git a/acacia_gum/data/global/advancements/dnv.acacia_gum.json b/acacia_gum/data/global/advancements/dnv.acacia_gum.json new file mode 100644 index 0000000..34c7f55 --- /dev/null +++ b/acacia_gum/data/global/advancements/dnv.acacia_gum.json @@ -0,0 +1,26 @@ +{ + "parent": "global:dnv.vegancraft", + "display": { + "title": { + "text": "Acacia Gum", + "italic": false + }, + "description": { + "text": "Daenvil's Acacia Gum 1.2 (for MC1.20.5+)", + "italic": false + }, + "icon": { + "id": "slime_ball", + "components": { + "custom_model_data": 9261005 + } + }, + "show_toast": false, + "announce_to_chat": false + }, + "criteria": { + "tick": { + "trigger": "tick" + } + } +} \ No newline at end of file diff --git a/acacia_gum/data/global/advancements/dnv.vegancraft.json b/acacia_gum/data/global/advancements/dnv.vegancraft.json new file mode 100644 index 0000000..be378c4 --- /dev/null +++ b/acacia_gum/data/global/advancements/dnv.vegancraft.json @@ -0,0 +1,23 @@ +{ + "parent": "global:root", + "display": { + "title": { + "text": "Vegancraft", + "italic": false + }, + "description": { + "text": "Daenvil's Vegancraft datapacks", + "italic": false + }, + "icon": { + "id": "kelp" + }, + "show_toast": false, + "announce_to_chat": false + }, + "criteria": { + "tick": { + "trigger": "tick" + } + } +} \ No newline at end of file diff --git a/acacia_gum/data/global/advancements/root.json b/acacia_gum/data/global/advancements/root.json new file mode 100644 index 0000000..4ff914f --- /dev/null +++ b/acacia_gum/data/global/advancements/root.json @@ -0,0 +1,20 @@ +{ + "display": { + "title": { + "text": "Installed Datapacks", + "italic": false + }, + "description": "", + "icon": { + "id": "knowledge_book" + }, + "background": "minecraft:textures/block/gray_concrete.png", + "show_toast": false, + "announce_to_chat": false + }, + "criteria": { + "tick": { + "trigger": "tick" + } + } +} \ No newline at end of file diff --git a/acacia_gum/data/minecraft/tags/functions/load.json b/acacia_gum/data/minecraft/tags/functions/load.json new file mode 100644 index 0000000..1eed4f9 --- /dev/null +++ b/acacia_gum/data/minecraft/tags/functions/load.json @@ -0,0 +1,5 @@ +{ + "values": [ + "zz.dnv.vegancraft:load_acacia_gum" + ] +} \ No newline at end of file diff --git a/acacia_gum/data/zz.dnv.core/tags/blocks/acacia_bark.json b/acacia_gum/data/zz.dnv.core/tags/blocks/acacia_bark.json new file mode 100644 index 0000000..4acca72 --- /dev/null +++ b/acacia_gum/data/zz.dnv.core/tags/blocks/acacia_bark.json @@ -0,0 +1,6 @@ +{ + "values": [ + "acacia_log", + "acacia_wood" + ] +} \ No newline at end of file diff --git a/acacia_gum/data/zz.dnv.vegancraft/advancements/triggers/used_axe_on_acacia_bark.json b/acacia_gum/data/zz.dnv.vegancraft/advancements/triggers/used_axe_on_acacia_bark.json new file mode 100644 index 0000000..5d40051 --- /dev/null +++ b/acacia_gum/data/zz.dnv.vegancraft/advancements/triggers/used_axe_on_acacia_bark.json @@ -0,0 +1,28 @@ +{ + "criteria": { + "#axes_used_on_#zz.dnv.core:acacia_bark": { + "trigger": "item_used_on_block", + "conditions": { + "location": [ + { + "condition": "minecraft:match_tool", + "predicate": { + "items": "#axes" + } + }, + { + "condition": "minecraft:location_check", + "predicate": { + "block": { + "blocks": "#zz.dnv.core:acacia_bark" + } + } + } + ] + } + } + }, + "rewards": { + "function": "zz.dnv.vegancraft:slots/on_used_axe_on_acacia_bark" + } +} \ No newline at end of file diff --git a/acacia_gum/data/zz.dnv.vegancraft/functions/find_acacia_bark.mcfunction b/acacia_gum/data/zz.dnv.vegancraft/functions/find_acacia_bark.mcfunction new file mode 100644 index 0000000..f54232a --- /dev/null +++ b/acacia_gum/data/zz.dnv.vegancraft/functions/find_acacia_bark.mcfunction @@ -0,0 +1,7 @@ +execute store result score @s dnv.acacia_gum.raycast_range run attribute @s player.block_interaction_range get -10 +scoreboard players operation @s dnv.acacia_gum.raycast_range_doubled = @s dnv.acacia_gum.raycast_range +scoreboard players operation @s dnv.acacia_gum.raycast_range_doubled *= #dnv dnv.2 +scoreboard players set @s dnv.acacia_gum.found_acacia 0 +execute anchored eyes positioned ^ ^ ^ anchored feet run function zz.dnv.vegancraft:find_acacia_bark_line +execute if score @s dnv.acacia_gum.found_acacia < @s dnv.acacia_gum.raycast_range anchored eyes positioned ^ ^ ^1 anchored feet run function zz.dnv.vegancraft:find_acacia_bark_wide +execute if score @s dnv.acacia_gum.found_acacia < @s dnv.acacia_gum.raycast_range_doubled run function zz.dnv.vegancraft:summon_acacia_gum_ball \ No newline at end of file diff --git a/acacia_gum/data/zz.dnv.vegancraft/functions/find_acacia_bark_line.mcfunction b/acacia_gum/data/zz.dnv.vegancraft/functions/find_acacia_bark_line.mcfunction new file mode 100644 index 0000000..88bcb69 --- /dev/null +++ b/acacia_gum/data/zz.dnv.vegancraft/functions/find_acacia_bark_line.mcfunction @@ -0,0 +1,3 @@ +execute if block ~ ~ ~ #zz.dnv.core:acacia_bark run function zz.dnv.vegancraft:summon_acacia_gum_ball +execute if score @s dnv.acacia_gum.found_acacia matches ..0 if score @s dnv.acacia_gum.found_acacia >= @s dnv.acacia_gum.raycast_range run scoreboard players remove @s dnv.acacia_gum.found_acacia 1 +execute if score @s dnv.acacia_gum.found_acacia matches ..0 if score @s dnv.acacia_gum.found_acacia >= @s dnv.acacia_gum.raycast_range positioned ^ ^ ^.1 run function zz.dnv.vegancraft:find_acacia_bark_line \ No newline at end of file diff --git a/acacia_gum/data/zz.dnv.vegancraft/functions/find_acacia_bark_wide.mcfunction b/acacia_gum/data/zz.dnv.vegancraft/functions/find_acacia_bark_wide.mcfunction new file mode 100644 index 0000000..80c2947 --- /dev/null +++ b/acacia_gum/data/zz.dnv.vegancraft/functions/find_acacia_bark_wide.mcfunction @@ -0,0 +1,10 @@ +execute if block ^1 ^ ^ #zz.dnv.core:acacia_bark positioned ^1 ^ ^ run function zz.dnv.vegancraft:summon_acacia_gum_ball +execute if score @s dnv.acacia_gum.found_acacia >= @s dnv.acacia_gum.raycast_range_doubled if score @s dnv.acacia_gum.found_acacia < @s dnv.acacia_gum.raycast_range positioned ^-1 ^ ^ if block ~ ~ ~ #zz.dnv.core:acacia_bark run function zz.dnv.vegancraft:summon_acacia_gum_ball +execute if score @s dnv.acacia_gum.found_acacia >= @s dnv.acacia_gum.raycast_range_doubled if score @s dnv.acacia_gum.found_acacia < @s dnv.acacia_gum.raycast_range positioned ^ ^1 ^ if block ~ ~ ~ #zz.dnv.core:acacia_bark run function zz.dnv.vegancraft:summon_acacia_gum_ball +execute if score @s dnv.acacia_gum.found_acacia >= @s dnv.acacia_gum.raycast_range_doubled if score @s dnv.acacia_gum.found_acacia < @s dnv.acacia_gum.raycast_range positioned ^ ^-1 ^ if block ~ ~ ~ #zz.dnv.core:acacia_bark run function zz.dnv.vegancraft:summon_acacia_gum_ball +execute if score @s dnv.acacia_gum.found_acacia >= @s dnv.acacia_gum.raycast_range_doubled if score @s dnv.acacia_gum.found_acacia < @s dnv.acacia_gum.raycast_range positioned ^1 ^1 ^ if block ~ ~ ~ #zz.dnv.core:acacia_bark run function zz.dnv.vegancraft:summon_acacia_gum_ball +execute if score @s dnv.acacia_gum.found_acacia >= @s dnv.acacia_gum.raycast_range_doubled if score @s dnv.acacia_gum.found_acacia < @s dnv.acacia_gum.raycast_range positioned ^1 ^-1 ^ if block ~ ~ ~ #zz.dnv.core:acacia_bark run function zz.dnv.vegancraft:summon_acacia_gum_ball +execute if score @s dnv.acacia_gum.found_acacia >= @s dnv.acacia_gum.raycast_range_doubled if score @s dnv.acacia_gum.found_acacia < @s dnv.acacia_gum.raycast_range positioned ^-1 ^1 ^ if block ~ ~ ~ #zz.dnv.core:acacia_bark run function zz.dnv.vegancraft:summon_acacia_gum_ball +execute if score @s dnv.acacia_gum.found_acacia >= @s dnv.acacia_gum.raycast_range_doubled if score @s dnv.acacia_gum.found_acacia < @s dnv.acacia_gum.raycast_range positioned ^-1 ^-1 ^ if block ~ ~ ~ #zz.dnv.core:acacia_bark run function zz.dnv.vegancraft:summon_acacia_gum_ball +execute if score @s dnv.acacia_gum.found_acacia >= @s dnv.acacia_gum.raycast_range_doubled if score @s dnv.acacia_gum.found_acacia < @s dnv.acacia_gum.raycast_range run scoreboard players remove @s dnv.acacia_gum.found_acacia 1 +execute if score @s dnv.acacia_gum.found_acacia >= @s dnv.acacia_gum.raycast_range_doubled if score @s dnv.acacia_gum.found_acacia < @s dnv.acacia_gum.raycast_range positioned ^ ^ ^.1 run function zz.dnv.vegancraft:find_acacia_bark_wide \ No newline at end of file diff --git a/acacia_gum/data/zz.dnv.vegancraft/functions/load_acacia_gum.mcfunction b/acacia_gum/data/zz.dnv.vegancraft/functions/load_acacia_gum.mcfunction new file mode 100644 index 0000000..8791850 --- /dev/null +++ b/acacia_gum/data/zz.dnv.vegancraft/functions/load_acacia_gum.mcfunction @@ -0,0 +1,6 @@ +scoreboard objectives add dnv.acacia_gum.found_acacia dummy +scoreboard objectives add dnv.acacia_gum.n_drops dummy +scoreboard objectives add dnv.acacia_gum.raycast_range dummy +scoreboard objectives add dnv.acacia_gum.raycast_range_doubled dummy +scoreboard objectives add dnv.2 dummy +scoreboard players set #dnv dnv.2 2 \ No newline at end of file diff --git a/acacia_gum/data/zz.dnv.vegancraft/functions/slots/on_used_axe_on_acacia_bark.mcfunction b/acacia_gum/data/zz.dnv.vegancraft/functions/slots/on_used_axe_on_acacia_bark.mcfunction new file mode 100644 index 0000000..19c730a --- /dev/null +++ b/acacia_gum/data/zz.dnv.vegancraft/functions/slots/on_used_axe_on_acacia_bark.mcfunction @@ -0,0 +1,7 @@ +advancement revoke @s only zz.dnv.vegancraft:triggers/used_axe_on_acacia_bark +scoreboard players set @s dnv.acacia_gum.n_drops 0 +execute if predicate dnv.acacia_gum:extra_drop_chance_fortune_3 if predicate dnv.acacia_gum:holding_axe_fortune_3 run scoreboard players set @s dnv.acacia_gum.n_drops 1 +execute unless score @s dnv.acacia_gum.n_drops matches 1 if predicate dnv.acacia_gum:extra_drop_chance_fortune_2 if predicate dnv.acacia_gum:holding_axe_fortune_2 run scoreboard players set @s dnv.acacia_gum.n_drops 1 +execute unless score @s dnv.acacia_gum.n_drops matches 1 if predicate dnv.acacia_gum:extra_drop_chance_fortune_1 if predicate dnv.acacia_gum:holding_axe_fortune_1 run scoreboard players set @s dnv.acacia_gum.n_drops 1 +execute if predicate dnv.acacia_gum:drop_chance_no_fortune run scoreboard players add @s dnv.acacia_gum.n_drops 1 +execute if score @s dnv.acacia_gum.n_drops matches 1.. run function zz.dnv.vegancraft:find_acacia_bark \ No newline at end of file diff --git a/acacia_gum/data/zz.dnv.vegancraft/functions/summon_acacia_gum_ball.mcfunction b/acacia_gum/data/zz.dnv.vegancraft/functions/summon_acacia_gum_ball.mcfunction new file mode 100644 index 0000000..0cad744 --- /dev/null +++ b/acacia_gum/data/zz.dnv.vegancraft/functions/summon_acacia_gum_ball.mcfunction @@ -0,0 +1,4 @@ +scoreboard players set @s dnv.acacia_gum.found_acacia 1 +loot spawn ~ ~ ~ loot dnv.acacia_gum:drop +execute if score @s dnv.acacia_gum.n_drops matches 2.. run loot spawn ~ ~ ~ loot dnv.acacia_gum:drop +function zz.dnv.vegancraft:award_xp {xp:40} \ No newline at end of file diff --git a/acacia_gum/pack.mcmeta b/acacia_gum/pack.mcmeta new file mode 100644 index 0000000..ec5899a --- /dev/null +++ b/acacia_gum/pack.mcmeta @@ -0,0 +1,32 @@ +{ + "pack": { + "description": { + "text": "Daenvil", + "extra": [ + { + "text": "'s ", + "color": "white", + "italic": false + }, + { + "text": "Acacia Gum", + "color": "white", + "italic": false, + "underlined": true + }, + { + "text": "\nv1.2, for MC1.20.5+", + "color": "gray", + "italic": false + } + ], + "color": "green", + "italic": false + }, + "pack_format": 41, + "supported_formats": { + "min_inclusive": 41, + "max_inclusive": 42 + } + } +} \ No newline at end of file diff --git a/acacia_gum/pack.png b/acacia_gum/pack.png new file mode 100644 index 0000000..b51df99 Binary files /dev/null and b/acacia_gum/pack.png differ diff --git a/plant_wax/README.txt b/plant_wax/README.txt new file mode 100644 index 0000000..bcaf836 --- /dev/null +++ b/plant_wax/README.txt @@ -0,0 +1,40 @@ +# Plant Wax (v2.0, for Minecraft 1.20.5+) + +A datapack that adds Plant Wax (a retextured Honeycomb). Obtained by smelting dead bushes or jungle leaves. + +- This datapack was made by Daenvil, its official pages are: + + - On PlanetMinecraft: https://www.planetminecraft.com/data-pack/plant-wax/ + - On my website: https://daenvil.github.io/MCDatapacks/plant_wax.html + +- This version was published on the 21st of May 2024. Check the webpages above for possible updates. + +## Installation + +- Drop the datapack zip file inside the "datapacks" folder of your world folder (/saves//datapacks/). +- Drop the resourcepack zip file ("vegancraft-RP_v1.1.zip") inside the "resourcepacks" folder of your minecraft folder. If you don't have the resourcepack, download it from one of the webpages above. + +## Features + +You can find all the info on this page: https://daenvil.github.io/MCDatapacks/plant_wax.html + +## Legal terms + +You are allowed to: + +- Download, use, and edit this datapack* for personal use. +- Use this datapack or variations of it in a Minecraft server. +- Publish audiovisual content that uses this datapack or variations of it (e.g. gameplay videos on online platforms), as long as you acknowledge me (Daenvil) as the author of this datapack and provide a link to its page on PlanetMinecraft (https://www.planetminecraft.com/data-pack/plant-wax/) or to its webpage (https://daenvil.github.io/MCDatapacks/plant_wax.html). +- Share this datapack or variations of it privately (e.g. transferring the files to friends), as long as there is no financial profit involved, the files are not publicly available, and this text file is included with the files you share. + +You are not allowed to: + +- Publish this datapack or variations of it without explicit permission from me. + +*For all legal purposes, "this datapack" refers to all the files (source code, images, and any other) that you downloaded along with this text file, and that are downloadable from its official pages listed above. + +-- + +-Daenvil + +https://daenvil.github.io/MCDatapacks/contact.html diff --git a/plant_wax/data/dnv.plant_wax/advancements/recipes/plant_wax_dead_bush.json b/plant_wax/data/dnv.plant_wax/advancements/recipes/plant_wax_dead_bush.json new file mode 100644 index 0000000..13529fa --- /dev/null +++ b/plant_wax/data/dnv.plant_wax/advancements/recipes/plant_wax_dead_bush.json @@ -0,0 +1,43 @@ +{ + "parent": "minecraft:recipes/root", + "criteria": { + "has_dead_bush": { + "trigger": "inventory_changed", + "conditions": { + "items": [ + { + "items": "dead_bush" + } + ] + } + }, + "has_honeycomb": { + "trigger": "inventory_changed", + "conditions": { + "items": [ + { + "items": "honeycomb" + } + ] + } + }, + "has_the_recipe": { + "trigger": "recipe_unlocked", + "conditions": { + "recipe": "dnv.plant_wax:plant_wax_dead_bush" + } + } + }, + "requirements": [ + [ + "has_dead_bush", + "has_honeycomb", + "has_the_recipe" + ] + ], + "rewards": { + "recipes": [ + "dnv.plant_wax:plant_wax_dead_bush" + ] + } +} \ No newline at end of file diff --git a/plant_wax/data/dnv.plant_wax/advancements/recipes/plant_wax_jungle_leaves.json b/plant_wax/data/dnv.plant_wax/advancements/recipes/plant_wax_jungle_leaves.json new file mode 100644 index 0000000..7ad0d9c --- /dev/null +++ b/plant_wax/data/dnv.plant_wax/advancements/recipes/plant_wax_jungle_leaves.json @@ -0,0 +1,43 @@ +{ + "parent": "minecraft:recipes/root", + "criteria": { + "has_jungle_leaves": { + "trigger": "inventory_changed", + "conditions": { + "items": [ + { + "items": "jungle_leaves" + } + ] + } + }, + "has_honeycomb": { + "trigger": "inventory_changed", + "conditions": { + "items": [ + { + "items": "honeycomb" + } + ] + } + }, + "has_the_recipe": { + "trigger": "recipe_unlocked", + "conditions": { + "recipe": "dnv.plant_wax:plant_wax_jungle_leaves" + } + } + }, + "requirements": [ + [ + "has_jungle_leaves", + "has_honeycomb", + "has_the_recipe" + ] + ], + "rewards": { + "recipes": [ + "dnv.plant_wax:plant_wax_jungle_leaves" + ] + } +} \ No newline at end of file diff --git a/plant_wax/data/dnv.plant_wax/functions/give/plant_wax.mcfunction b/plant_wax/data/dnv.plant_wax/functions/give/plant_wax.mcfunction new file mode 100644 index 0000000..d6e2bd1 --- /dev/null +++ b/plant_wax/data/dnv.plant_wax/functions/give/plant_wax.mcfunction @@ -0,0 +1 @@ +give @s honeycomb[item_name="{\"translate\":\"dnv.plant_wax.item.plant_wax\",\"fallback\":\"Plant Wax\",\"italic\":false}",lore=["{\"text\":\"Daenvil's Plant Wax\",\"color\":\"#FAFAB0\",\"italic\":true}"],custom_model_data=9261008,custom_data={"dnv.vegan":true}] \ No newline at end of file diff --git a/plant_wax/data/dnv.plant_wax/recipes/plant_wax_dead_bush.json b/plant_wax/data/dnv.plant_wax/recipes/plant_wax_dead_bush.json new file mode 100644 index 0000000..1e8eb2c --- /dev/null +++ b/plant_wax/data/dnv.plant_wax/recipes/plant_wax_dead_bush.json @@ -0,0 +1,22 @@ +{ + "type": "smelting", + "category": "misc", + "cookingtime": 200, + "experience": 0.1, + "ingredient": { + "item": "dead_bush" + }, + "result": { + "id": "honeycomb", + "components": { + "item_name": "{\"translate\":\"dnv.plant_wax.item.plant_wax\",\"fallback\":\"Plant Wax\",\"italic\":false}", + "lore": [ + "{\"text\":\"Daenvil's Plant Wax\",\"color\":\"#FAFAB0\",\"italic\":true}" + ], + "custom_model_data": 9261008, + "custom_data": { + "dnv.vegan": true + } + } + } +} \ No newline at end of file diff --git a/plant_wax/data/dnv.plant_wax/recipes/plant_wax_jungle_leaves.json b/plant_wax/data/dnv.plant_wax/recipes/plant_wax_jungle_leaves.json new file mode 100644 index 0000000..b731563 --- /dev/null +++ b/plant_wax/data/dnv.plant_wax/recipes/plant_wax_jungle_leaves.json @@ -0,0 +1,22 @@ +{ + "type": "smelting", + "category": "misc", + "cookingtime": 200, + "experience": 0.1, + "ingredient": { + "item": "jungle_leaves" + }, + "result": { + "id": "honeycomb", + "components": { + "item_name": "{\"translate\":\"dnv.plant_wax.item.plant_wax\",\"fallback\":\"Plant Wax\",\"italic\":false}", + "lore": [ + "{\"text\":\"Daenvil's Plant Wax\",\"color\":\"#FAFAB0\",\"italic\":true}" + ], + "custom_model_data": 9261008, + "custom_data": { + "dnv.vegan": true + } + } + } +} \ No newline at end of file diff --git a/plant_wax/data/global/advancements/dnv.plant_wax.json b/plant_wax/data/global/advancements/dnv.plant_wax.json new file mode 100644 index 0000000..c53fdc5 --- /dev/null +++ b/plant_wax/data/global/advancements/dnv.plant_wax.json @@ -0,0 +1,26 @@ +{ + "parent": "global:dnv.vegancraft", + "display": { + "title": { + "text": "Plant Wax", + "italic": false + }, + "description": { + "text": "Daenvil's Plant Wax 2.0 (for MC1.20.5+)", + "italic": false + }, + "icon": { + "id": "honeycomb", + "components": { + "custom_model_data": 9261008 + } + }, + "show_toast": false, + "announce_to_chat": false + }, + "criteria": { + "tick": { + "trigger": "tick" + } + } +} \ No newline at end of file diff --git a/plant_wax/data/global/advancements/dnv.vegancraft.json b/plant_wax/data/global/advancements/dnv.vegancraft.json new file mode 100644 index 0000000..be378c4 --- /dev/null +++ b/plant_wax/data/global/advancements/dnv.vegancraft.json @@ -0,0 +1,23 @@ +{ + "parent": "global:root", + "display": { + "title": { + "text": "Vegancraft", + "italic": false + }, + "description": { + "text": "Daenvil's Vegancraft datapacks", + "italic": false + }, + "icon": { + "id": "kelp" + }, + "show_toast": false, + "announce_to_chat": false + }, + "criteria": { + "tick": { + "trigger": "tick" + } + } +} \ No newline at end of file diff --git a/plant_wax/data/global/advancements/root.json b/plant_wax/data/global/advancements/root.json new file mode 100644 index 0000000..4ff914f --- /dev/null +++ b/plant_wax/data/global/advancements/root.json @@ -0,0 +1,20 @@ +{ + "display": { + "title": { + "text": "Installed Datapacks", + "italic": false + }, + "description": "", + "icon": { + "id": "knowledge_book" + }, + "background": "minecraft:textures/block/gray_concrete.png", + "show_toast": false, + "announce_to_chat": false + }, + "criteria": { + "tick": { + "trigger": "tick" + } + } +} \ No newline at end of file diff --git a/plant_wax/pack.mcmeta b/plant_wax/pack.mcmeta new file mode 100644 index 0000000..0c202e6 --- /dev/null +++ b/plant_wax/pack.mcmeta @@ -0,0 +1,32 @@ +{ + "pack": { + "description": { + "text": "Daenvil", + "extra": [ + { + "text": "'s ", + "color": "white", + "italic": false + }, + { + "text": "Plant Wax", + "color": "white", + "italic": false, + "underlined": true + }, + { + "text": "\nv2.0, for MC1.20.5+", + "color": "gray", + "italic": false + } + ], + "color": "green", + "italic": false + }, + "pack_format": 41, + "supported_formats": { + "min_inclusive": 41, + "max_inclusive": 42 + } + } +} \ No newline at end of file diff --git a/plant_wax/pack.png b/plant_wax/pack.png new file mode 100644 index 0000000..f4a27f0 Binary files /dev/null and b/plant_wax/pack.png differ