Skip to content

Commit

Permalink
added vegancraft datapack
Browse files Browse the repository at this point in the history
  • Loading branch information
daenvil committed Jun 1, 2024
1 parent 638e730 commit 500a753
Show file tree
Hide file tree
Showing 424 changed files with 13,619 additions and 0 deletions.
48 changes: 48 additions & 0 deletions vegancraft-DP_v1.1/README.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
# Daenvil's Vegancraft v1.1 (Full Datapack) for Minecraft 1.20.5+

This datapack is a merged version of the following datapacks:

- [Plant-based Foods v2.0](https://daenvil.github.io/MCDatapacks/plant-based_foods.html)
- [Acacia Gum v1.2](https://daenvil.github.io/MCDatapacks/acacia_gum.html)
- [Ethical Textiles v2.0](https://daenvil.github.io/MCDatapacks/ethical_Textiles.html)
- [Plant Wax v2.0](https://daenvil.github.io/MCDatapacks/plant_wax.html)
- [Magnet Fishing v2.0](https://daenvil.github.io/MCDatapacks/magnet_fishing.html)

And also contains additional content not present on those datapacks.

- This datapack was made by Daenvil, its official pages are:

- On my website: https://daenvil.github.io/MCDatapacks/vegancraft.html
- On GitHub: https://www.github.com/daenvil/vegancraft

- This version was published on the 1st of June 2024. Check the webpages above for possible updates.

## Installation

- Drop the datapack zip file inside the "datapacks" folder of your world folder (<your minecraft folder>/saves/<your world>/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 the full info on this page: https://daenvil.github.io/MCDatapacks/vegancraft.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 GitHub repository (https://www.github.com/daenvil/vegancraft) or to its webpage (https://daenvil.github.io/MCDatapacks/vegancraft.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
Original file line number Diff line number Diff line change
@@ -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}]
30 changes: 30 additions & 0 deletions vegancraft-DP_v1.1/data/dnv.acacia_gum/loot_tables/drop.json
Original file line number Diff line number Diff line change
@@ -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"
}
]
}
]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"condition": "random_chance",
"chance": 0.25
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"condition": "random_chance",
"chance": 0.25
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"condition": "random_chance",
"chance": 0.5
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"condition": "random_chance",
"chance": 0.75
}
Original file line number Diff line number Diff line change
@@ -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
}
]
}
}
}
}
}
]
}
Original file line number Diff line number Diff line change
@@ -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
}
]
}
}
}
}
}
]
}
Original file line number Diff line number Diff line change
@@ -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
}
]
}
}
}
}
}
]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@
{
"parent": "minecraft:recipes/root",
"criteria": {
"has_armadillo_scute": {
"trigger": "inventory_changed",
"conditions": {
"items": [
{
"items": "armadillo_scute"
}
]
}
},
"has_the_recipe": {
"trigger": "recipe_unlocked",
"conditions": {
"recipe": "dnv.ethical_textiles:armor_scale"
}
},
"interacted_with_armadillo": {
"trigger": "player_interacted_with_entity",
"conditions": {
"entity": {
"type": "armadillo"
}
}
},
"player_hurt_armadillo": {
"trigger": "player_hurt_entity",
"conditions": {
"entity": {
"type": "armadillo"
}
}
},
"has_acacia_gum": {
"trigger": "inventory_changed",
"conditions": {
"items": [
{
"items": "slime_ball",
"predicates": {
"custom_data": "{dnv.vegan:true}"
}
}
]
}
}
},
"requirements": [
[
"has_armadillo_scute",
"has_the_recipe",
"interacted_with_armadillo",
"player_hurt_armadillo",
"has_acacia_gum"
]
],
"rewards": {
"recipes": [
"dnv.ethical_textiles:armor_scale"
]
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,71 @@
{
"parent": "minecraft:recipes/root",
"criteria": {
"has_brush": {
"trigger": "inventory_changed",
"conditions": {
"items": [
{
"items": "brush"
}
]
}
},
"has_the_recipe": {
"trigger": "recipe_unlocked",
"conditions": {
"recipe": "dnv.ethical_textiles:brush_string"
}
},
"player_hurt_chicken": {
"trigger": "player_hurt_entity",
"conditions": {
"entity": {
"type": "chicken"
}
}
},
"player_hurt_parrot": {
"trigger": "player_hurt_entity",
"conditions": {
"entity": {
"type": "parrot"
}
}
},
"has_plant_string": {
"trigger": "inventory_changed",
"conditions": {
"items": [
{
"items": "string",
"predicates": {
"custom_data": "{dnv.vegan:true}"
}
}
]
}
},
"has_recipe_brush": {
"trigger": "recipe_unlocked",
"conditions": {
"recipe": "brush"
}
}
},
"requirements": [
[
"has_brush",
"has_the_recipe",
"player_hurt_chicken",
"player_hurt_parrot",
"has_plant_string",
"has_recipe_brush"
]
],
"rewards": {
"recipes": [
"dnv.ethical_textiles:brush_string"
]
}
}
Loading

0 comments on commit 500a753

Please sign in to comment.