-
Notifications
You must be signed in to change notification settings - Fork 1
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
Showing
234 changed files
with
913 additions
and
944 deletions.
There are no files selected for viewing
7 changes: 7 additions & 0 deletions
7
acacia_gum/1_21_1/data/zz.dnv.vegancraft/function/find_acacia_bark.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,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 |
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
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: 1 addition & 1 deletion
2
acacia_gum/data/zz.dnv.vegancraft/function/find_acacia_bark.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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
5 changes: 4 additions & 1 deletion
5
ethical_textiles/data/zz.dnv.vegancraft/function/load_ethical_textiles.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 |
---|---|---|
@@ -1 +1,4 @@ | ||
scoreboard objectives add dnv.success dummy | ||
scoreboard objectives add dnv.count.crafted_faux_leather_3to1 dummy | ||
scoreboard objectives add dnv.success dummy | ||
scoreboard objectives add dnv.count.crafted_faux_leather_6to1 dummy | ||
scoreboard objectives add dnv.count.crafted_synthetic_cobweb dummy |
3 changes: 2 additions & 1 deletion
3
...al_textiles/data/zz.dnv.vegancraft/function/slots/on_crafted_faux_leather_3to1.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 |
---|---|---|
@@ -1,3 +1,4 @@ | ||
advancement revoke @s only zz.dnv.vegancraft:triggers/crafted_faux_leather_3to1 | ||
tag @s add dnv.subject.crafted_faux_leather_3to1 | ||
schedule function zz.dnv.vegancraft:slots/on_crafted_faux_leather_3to1_delayed 1t replace | ||
scoreboard players add @s dnv.count.crafted_faux_leather_3to1 3 | ||
schedule function zz.dnv.vegancraft:slots/on_crafted_faux_leather_3to1_delayed 1t append |
7 changes: 5 additions & 2 deletions
7
...a/zz.dnv.vegancraft/function/slots/on_crafted_faux_leather_3to1_delayed_player.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 |
---|---|---|
@@ -1,8 +1,11 @@ | ||
tag @s remove dnv.subject.crafted_faux_leather_3to1 | ||
execute store success score @s dnv.success run tag @s remove dnv.crafted_vegan | ||
execute if score @s dnv.success matches 1 run scoreboard players set @s dnv.count.crafted_faux_leather_3to1 0 | ||
execute if score @s dnv.success matches 1 run return 0 | ||
execute if items entity @s player.cursor leather run scoreboard players set @s dnv.success 1 | ||
execute unless score @s dnv.success matches 0 run item modify entity @s player.cursor {"function":"set_components","components":{"custom_data":{"dnv.vegan":false},"custom_model_data":9261006,"item_name":"{\"translate\":\"dnv.ethical_textiles.item.faux_leather\",\"fallback\":\"Faux Leather\",\"italic\":false}","lore":["{\"translate\":\"dnv.vegancraft.contains_animal_products\",\"fallback\":\"(Contains animal products)\",\"color\":\"red\",\"italic\":false}","{\"text\":\"Daenvil's Ethical Textiles\",\"color\":\"#954535\",\"italic\":true}"]}} | ||
execute unless score @s dnv.success matches 0 run scoreboard players set @s dnv.count.crafted_faux_leather_3to1 0 | ||
execute unless score @s dnv.success matches 0 run return 0 | ||
execute store success score @s dnv.success run clear @s leather[custom_data~{dnv.vegan:true}] 3 | ||
execute unless score @s dnv.success matches 0 run give @s leather[item_name="{\"translate\":\"dnv.ethical_textiles.item.faux_leather\",\"fallback\":\"Faux Leather\",\"italic\":false}",lore=["{\"translate\":\"dnv.vegancraft.contains_animal_products\",\"fallback\":\"(Contains animal products)\",\"color\":\"red\",\"italic\":false}","{\"text\":\"Daenvil's Ethical Textiles\",\"color\":\"#954535\",\"italic\":true}"],custom_model_data=9261006,custom_data={"dnv.vegan":false}] 3 | ||
execute store result storage dnv.vegancraft:craft_count faux_leather_3to1.count int 1 run scoreboard players get @s dnv.count.crafted_faux_leather_3to1 | ||
function zz.dnv.vegancraft:slots/on_crafted_faux_leather_3to1_replace_output with storage dnv.vegancraft:craft_count faux_leather_3to1 | ||
scoreboard players set @s dnv.count.crafted_faux_leather_3to1 0 |
2 changes: 2 additions & 0 deletions
2
...a/zz.dnv.vegancraft/function/slots/on_crafted_faux_leather_3to1_replace_output.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 @@ | ||
$execute store success score @s dnv.success run clear @s leather[custom_data~{dnv.vegan:true}] $(count) | ||
$execute unless score @s dnv.success matches 0 run give @s leather[item_name="{\"translate\":\"dnv.ethical_textiles.item.faux_leather\",\"fallback\":\"Faux Leather\",\"italic\":false}",lore=["{\"translate\":\"dnv.vegancraft.contains_animal_products\",\"fallback\":\"(Contains animal products)\",\"color\":\"red\",\"italic\":false}","{\"text\":\"Daenvil's Ethical Textiles\",\"color\":\"#954535\",\"italic\":true}"],custom_model_data=9261006,custom_data={"dnv.vegan":false}] $(count) |
1 change: 1 addition & 0 deletions
1
...tiles/data/zz.dnv.vegancraft/function/slots/on_crafted_faux_leather_3to1_vegan.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 |
---|---|---|
@@ -1,2 +1,3 @@ | ||
advancement revoke @s only zz.dnv.vegancraft:triggers/crafted_faux_leather_3to1_vegan | ||
|
||
tag @s add dnv.crafted_vegan |
3 changes: 2 additions & 1 deletion
3
...al_textiles/data/zz.dnv.vegancraft/function/slots/on_crafted_faux_leather_6to1.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 |
---|---|---|
@@ -1,3 +1,4 @@ | ||
advancement revoke @s only zz.dnv.vegancraft:triggers/crafted_faux_leather_6to1 | ||
tag @s add dnv.subject.crafted_faux_leather_6to1 | ||
schedule function zz.dnv.vegancraft:slots/on_crafted_faux_leather_6to1_delayed 1t replace | ||
scoreboard players add @s dnv.count.crafted_faux_leather_6to1 3 | ||
schedule function zz.dnv.vegancraft:slots/on_crafted_faux_leather_6to1_delayed 1t append |
7 changes: 5 additions & 2 deletions
7
...a/zz.dnv.vegancraft/function/slots/on_crafted_faux_leather_6to1_delayed_player.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 |
---|---|---|
@@ -1,8 +1,11 @@ | ||
tag @s remove dnv.subject.crafted_faux_leather_6to1 | ||
execute store success score @s dnv.success run tag @s remove dnv.crafted_vegan | ||
execute if score @s dnv.success matches 1 run scoreboard players set @s dnv.count.crafted_faux_leather_6to1 0 | ||
execute if score @s dnv.success matches 1 run return 0 | ||
execute if items entity @s player.cursor leather run scoreboard players set @s dnv.success 1 | ||
execute unless score @s dnv.success matches 0 run item modify entity @s player.cursor {"function":"set_components","components":{"custom_data":{"dnv.vegan":false},"custom_model_data":9261006,"item_name":"{\"translate\":\"dnv.ethical_textiles.item.faux_leather\",\"fallback\":\"Faux Leather\",\"italic\":false}","lore":["{\"translate\":\"dnv.vegancraft.contains_animal_products\",\"fallback\":\"(Contains animal products)\",\"color\":\"red\",\"italic\":false}","{\"text\":\"Daenvil's Ethical Textiles\",\"color\":\"#954535\",\"italic\":true}"]}} | ||
execute unless score @s dnv.success matches 0 run scoreboard players set @s dnv.count.crafted_faux_leather_6to1 0 | ||
execute unless score @s dnv.success matches 0 run return 0 | ||
execute store success score @s dnv.success run clear @s leather[custom_data~{dnv.vegan:true}] 3 | ||
execute unless score @s dnv.success matches 0 run give @s leather[item_name="{\"translate\":\"dnv.ethical_textiles.item.faux_leather\",\"fallback\":\"Faux Leather\",\"italic\":false}",lore=["{\"translate\":\"dnv.vegancraft.contains_animal_products\",\"fallback\":\"(Contains animal products)\",\"color\":\"red\",\"italic\":false}","{\"text\":\"Daenvil's Ethical Textiles\",\"color\":\"#954535\",\"italic\":true}"],custom_model_data=9261006,custom_data={"dnv.vegan":false}] 3 | ||
execute store result storage dnv.vegancraft:craft_count faux_leather_6to1.count int 1 run scoreboard players get @s dnv.count.crafted_faux_leather_6to1 | ||
function zz.dnv.vegancraft:slots/on_crafted_faux_leather_6to1_replace_output with storage dnv.vegancraft:craft_count faux_leather_6to1 | ||
scoreboard players set @s dnv.count.crafted_faux_leather_6to1 0 |
2 changes: 2 additions & 0 deletions
2
...a/zz.dnv.vegancraft/function/slots/on_crafted_faux_leather_6to1_replace_output.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 @@ | ||
$execute store success score @s dnv.success run clear @s leather[custom_data~{dnv.vegan:true}] $(count) | ||
$execute unless score @s dnv.success matches 0 run give @s leather[item_name="{\"translate\":\"dnv.ethical_textiles.item.faux_leather\",\"fallback\":\"Faux Leather\",\"italic\":false}",lore=["{\"translate\":\"dnv.vegancraft.contains_animal_products\",\"fallback\":\"(Contains animal products)\",\"color\":\"red\",\"italic\":false}","{\"text\":\"Daenvil's Ethical Textiles\",\"color\":\"#954535\",\"italic\":true}"],custom_model_data=9261006,custom_data={"dnv.vegan":false}] $(count) |
1 change: 1 addition & 0 deletions
1
...tiles/data/zz.dnv.vegancraft/function/slots/on_crafted_faux_leather_6to1_vegan.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 |
---|---|---|
@@ -1,2 +1,3 @@ | ||
advancement revoke @s only zz.dnv.vegancraft:triggers/crafted_faux_leather_6to1_vegan | ||
|
||
tag @s add dnv.crafted_vegan |
3 changes: 2 additions & 1 deletion
3
...cal_textiles/data/zz.dnv.vegancraft/function/slots/on_crafted_synthetic_cobweb.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 |
---|---|---|
@@ -1,3 +1,4 @@ | ||
advancement revoke @s only zz.dnv.vegancraft:triggers/crafted_synthetic_cobweb | ||
tag @s add dnv.subject.crafted_synthetic_cobweb | ||
schedule function zz.dnv.vegancraft:slots/on_crafted_synthetic_cobweb_delayed 1t replace | ||
scoreboard players add @s dnv.count.crafted_synthetic_cobweb 2 | ||
schedule function zz.dnv.vegancraft:slots/on_crafted_synthetic_cobweb_delayed 1t append |
7 changes: 5 additions & 2 deletions
7
...ta/zz.dnv.vegancraft/function/slots/on_crafted_synthetic_cobweb_delayed_player.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 |
---|---|---|
@@ -1,8 +1,11 @@ | ||
tag @s remove dnv.subject.crafted_synthetic_cobweb | ||
execute store success score @s dnv.success run tag @s remove dnv.crafted_vegan | ||
execute if score @s dnv.success matches 1 run scoreboard players set @s dnv.count.crafted_synthetic_cobweb 0 | ||
execute if score @s dnv.success matches 1 run return 0 | ||
execute if items entity @s player.cursor cobweb run scoreboard players set @s dnv.success 1 | ||
execute unless score @s dnv.success matches 0 run item modify entity @s player.cursor {"function":"set_components","components":{"custom_data":{"dnv.vegan":false},"item_name":"{\"translate\":\"dnv.ethical_textiles.item.synthetic_cobweb\",\"fallback\":\"Synthetic Cobweb\",\"italic\":false}","lore":["{\"translate\":\"dnv.vegancraft.contains_animal_products\",\"fallback\":\"(Contains animal products)\",\"color\":\"red\",\"italic\":false}","{\"text\":\"Daenvil's Ethical Textiles\",\"color\":\"#954535\",\"italic\":true}"]}} | ||
execute unless score @s dnv.success matches 0 run scoreboard players set @s dnv.count.crafted_synthetic_cobweb 0 | ||
execute unless score @s dnv.success matches 0 run return 0 | ||
execute store success score @s dnv.success run clear @s cobweb[custom_data~{dnv.vegan:true}] 2 | ||
execute unless score @s dnv.success matches 0 run give @s cobweb[item_name="{\"translate\":\"dnv.ethical_textiles.item.synthetic_cobweb\",\"fallback\":\"Synthetic Cobweb\",\"italic\":false}",lore=["{\"translate\":\"dnv.vegancraft.contains_animal_products\",\"fallback\":\"(Contains animal products)\",\"color\":\"red\",\"italic\":false}","{\"text\":\"Daenvil's Ethical Textiles\",\"color\":\"#954535\",\"italic\":true}"],custom_data={"dnv.vegan":false}] 2 | ||
execute store result storage dnv.vegancraft:craft_count synthetic_cobweb.count int 1 run scoreboard players get @s dnv.count.crafted_synthetic_cobweb | ||
function zz.dnv.vegancraft:slots/on_crafted_synthetic_cobweb_replace_output with storage dnv.vegancraft:craft_count synthetic_cobweb | ||
scoreboard players set @s dnv.count.crafted_synthetic_cobweb 0 |
2 changes: 2 additions & 0 deletions
2
...ta/zz.dnv.vegancraft/function/slots/on_crafted_synthetic_cobweb_replace_output.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 @@ | ||
$execute store success score @s dnv.success run clear @s cobweb[custom_data~{dnv.vegan:true}] $(count) | ||
$execute unless score @s dnv.success matches 0 run give @s cobweb[item_name="{\"translate\":\"dnv.ethical_textiles.item.synthetic_cobweb\",\"fallback\":\"Synthetic Cobweb\",\"italic\":false}",lore=["{\"translate\":\"dnv.vegancraft.contains_animal_products\",\"fallback\":\"(Contains animal products)\",\"color\":\"red\",\"italic\":false}","{\"text\":\"Daenvil's Ethical Textiles\",\"color\":\"#954535\",\"italic\":true}"],custom_data={"dnv.vegan":false}] $(count) |
1 change: 1 addition & 0 deletions
1
...xtiles/data/zz.dnv.vegancraft/function/slots/on_crafted_synthetic_cobweb_vegan.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 |
---|---|---|
@@ -1,2 +1,3 @@ | ||
advancement revoke @s only zz.dnv.vegancraft:triggers/crafted_synthetic_cobweb_vegan | ||
|
||
tag @s add dnv.crafted_vegan |
Oops, something went wrong.