Skip to content

Commit df1e94b

Browse files
authored
Merge pull request #7 from amcocan/dev
Bug Fixes ~ Version 1.0.0 Beta Release 2
2 parents 99d8ea6 + 7fbae01 commit df1e94b

File tree

389 files changed

+2447
-449
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

389 files changed

+2447
-449
lines changed

README.md

Lines changed: 1 addition & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -32,20 +32,14 @@ Armor Statues allows the player to manipulate armorstands for decoration purpose
3232
Armor Statues was built by [Phssthpok](https://x.com/MCPhssthpok), [MukiTanuki](https://twitter.com/mukitanuki), and [MSpaceDev](https://github.com/MSpaceDev). Check out the rest of [MukiTanuki's](https://github.com/MukiTanuki) and [MSpaceDev's](https://github.com/MSpaceDev) work!
3333

3434
Maintained by [Vanilla Tweeks](https://vanillatweaks.net/about/).
35-
> Learn about the details of this datapack on [vanillatweaks.net](https://vanillatweaks.net/picker/datapacks/) & [github](https://github.com/MukiTanuki/armor-statues#).
36-
<!-- Might remove some of the features in this datapack. -->
35+
> Learn about the details of this datapack on [vanillatweaks.net](https://vanillatweaks.net/picker/datapacks/) & [github](https://github.com/MukiTanuki/armor-statues#). Also, I removed the itemframe features from this datapack since I added my own [here](#invframe).
3736
3837

3938
## cleanup
4039
This feature adds tha ability to bring items within 16 blocks of the player to the players location using the following `trigger` command.
4140
- `/trigger clean_up` ~ _Brings all droped items within 16 blocks to the players location._
4241

4342

44-
<!-- ## combatswitch
45-
I will explain this feature when I successfully add it into the datapack.
46-
A way to toggle pvp. -->
47-
48-
4943
## deathcords
5044
Will show you the cords of your last death using the following `trigger` command.
5145
- `/trigger death_cords` ~ _This will show you the cords and dimention of your last death._
@@ -118,12 +112,6 @@ This feature uses the `tellraw` command to provide information on the datapack e
118112
This feature adds the ability to sit anywhere the player wants using the following `trigger` command.
119113
- `/trigger sit` ~ _This makes the player sit in the location they were standing._
120114

121-
<!--
122-
## pocketshulker [Ignored]
123-
Opening shulkers in inventory.
124-
> For the time being, I will _ignore adding this feature_ as there are preblems with the duplication of items and optimization.
125-
-->
126-
127115

128116
## shearheads
129117
This feature adds the ability to collect a `minecraft:blocks/player_head` without having to kill the player in MJE. This feature also extends to other mobs/entities as well.

data/antigrief/function/setup.mcfunction

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22
# Create and store the mobGriefing toggle in a scoreboard.
33
scoreboard objectives add creeper_in_range dummy "Creeper In Range"
44
# Alert everyone that datapack loaded successfully.
5-
tellraw @a[team=!no_alerts] [{"text":"| ", "color":"#ff003c"}, {"text":"Status: ", "color":"#868e96"}, {"text":"Antigrief function initialized successfully.", "color":"#ced4da"}]
5+
tellraw @a[tag=!no_alerts] [{"text":"| ", "color":"#ff003c"}, {"text":"Status: ", "color":"#868e96"}, {"text":"Antigrief function initialized successfully.", "color":"#ced4da"}]

data/armor_statues/function/load.mcfunction

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,4 +33,4 @@ execute unless data storage customizable_armor_stands:settings as_admin.book_cra
3333
execute unless data storage customizable_armor_stands:settings as_admin.book_help run data modify storage customizable_armor_stands:settings as_admin.book_help set value "Disabled"
3434
execute unless data storage customizable_armor_stands:settings as_admin.uuid_lock run data modify storage customizable_armor_stands:settings as_admin.uuid_lock set value "Disabled"
3535
# Alert everyone that datapack loaded successfully.
36-
tellraw @a[team=!no_alerts] [{"text":"| ", "color":"#ff003c"}, {"text":"Status: ", "color":"#868e96"}, {"text":"Armor_statues function initialized successfully.", "color":"#ced4da"}]
36+
tellraw @a[tag=!no_alerts] [{"text":"| ", "color":"#ff003c"}, {"text":"Status: ", "color":"#868e96"}, {"text":"Armor_statues function initialized successfully.", "color":"#ced4da"}]

data/cleanup/function/setup.mcfunction

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22
# Add trigger for players to run the cleanup function.
33
scoreboard objectives add clean_up trigger "Clean Up"
44
# Alert everyone that datapack loaded successfully.
5-
tellraw @a[team=!no_alerts] [{"text":"| ", "color":"#ff003c"}, {"text":"Status: ", "color":"#868e96"}, {"text":"Cleanup function initialized successfully.", "color":"#ced4da"}]
5+
tellraw @a[tag=!no_alerts] [{"text":"| ", "color":"#ff003c"}, {"text":"Status: ", "color":"#868e96"}, {"text":"Cleanup function initialized successfully.", "color":"#ced4da"}]

data/deathcords/function/loop.mcfunction

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
# ======= Deathcords =======
22
# Get the data from entity self.
3-
execute as @a[scores={death_cords=1..}] run data modify storage deathcords:cache Cache.Pos0 set from entity @s LastDeathLocation.pos[0]
4-
execute as @a[scores={death_cords=1..}] run data modify storage deathcords:cache Cache.Pos1 set from entity @s LastDeathLocation.pos[1]
5-
execute as @a[scores={death_cords=1..}] run data modify storage deathcords:cache Cache.Pos2 set from entity @s LastDeathLocation.pos[2]
6-
execute as @a[scores={death_cords=1..}] run data modify storage deathcords:cache Cache.Dimension set from entity @s LastDeathLocation.dimension
3+
execute as @a[scores={death_cords=1..}] run data modify storage deathcords:cache info.Pos0 set from entity @s LastDeathLocation.pos[0]
4+
execute as @a[scores={death_cords=1..}] run data modify storage deathcords:cache info.Pos1 set from entity @s LastDeathLocation.pos[1]
5+
execute as @a[scores={death_cords=1..}] run data modify storage deathcords:cache info.Pos2 set from entity @s LastDeathLocation.pos[2]
6+
execute as @a[scores={death_cords=1..}] run data modify storage deathcords:cache info.Dimension set from entity @s LastDeathLocation.dimension
77
# Reset the timing of the title display message.
88
execute as @a[scores={death_cords=1..}] run title @s reset
99
# Set the timing of the title display message in ticks (20t == 1s).
@@ -13,12 +13,12 @@ execute as @a[scores={death_cords=1..}] run playsound minecraft:ui.toast.in mast
1313
# Show the title to entity self.
1414
execute as @a[scores={death_cords=1..}] run title @s title [{"text":"Last Death Cords", "color":"#ff003c"}]
1515
# Show the subtitle to entity self.
16-
execute as @a[scores={death_cords=1..}] run title @s subtitle [{"text":"| ", "color":"#ff003c"}, {"text":"Dimension: ", "color":"#868e96"}, {"storage":"deathcords:cache", "nbt":"Cache.Dimension", "color":"#ced4da"}, {"text":" | ", "color":"#ff003c"}, {"text":"X: ", "color":"#868e96"}, {"storage":"deathcords:cache", "nbt":"Cache.Pos0", "color":"#ced4da"}, {"text":" | ", "color":"#ff003c"}, {"text":"Y: ", "color":"#868e96"},{"storage":"deathcords:cache", "nbt":"Cache.Pos1", "color":"#ced4da"}, {"text":" | ", "color":"#ff003c"}, {"text":"Z: ", "color":"#868e96"}, {"storage":"deathcords:cache", "nbt":"Cache.Pos2", "color":"#ced4da"}, {"text":" |", "color":"#ff003c"}]
16+
execute as @a[scores={death_cords=1..}] run title @s subtitle [{"text":"| ", "color":"#ff003c"}, {"text":"Dimension: ", "color":"#868e96"}, {"storage":"deathcords:cache", "nbt":"info.Dimension", "color":"#ced4da"}, {"text":" | ", "color":"#ff003c"}, {"text":"X: ", "color":"#868e96"}, {"storage":"deathcords:cache", "nbt":"info.Pos0", "color":"#ced4da"}, {"text":" | ", "color":"#ff003c"}, {"text":"Y: ", "color":"#868e96"},{"storage":"deathcords:cache", "nbt":"info.Pos1", "color":"#ced4da"}, {"text":" | ", "color":"#ff003c"}, {"text":"Z: ", "color":"#868e96"}, {"storage":"deathcords:cache", "nbt":"info.Pos2", "color":"#ced4da"}, {"text":" |", "color":"#ff003c"}]
1717
# Show the title to entity self in chat.
1818
execute as @a[scores={death_cords=1..}] run tellraw @s [{"text":"\n", "color":"#ff003c"}, {"text":"Last Death Cords", "color":"#ff003c", "bold":true}]
1919
# Show the cords to entity self in chat.
20-
execute as @a[scores={death_cords=1..}] run tellraw @s [{"text":"| ", "color":"#ff003c"}, {"text":"Dimension: ", "color":"#868e96"}, {"storage":"deathcords:cache", "nbt":"Cache.Dimension", "color":"#ced4da"}]
21-
execute as @a[scores={death_cords=1..}] run tellraw @s [{"text":"| ", "color":"#ff003c"}, {"text":"X: ", "color":"#868e96"}, {"storage":"deathcords:cache", "nbt":"Cache.Pos0", "color":"#ced4da"}, {"text":" ", "color":"#ff003c"}, {"text":"Y: ", "color":"#868e96"},{"storage":"deathcords:cache", "nbt":"Cache.Pos1", "color":"#ced4da"}, {"text":" ", "color":"#ff003c"}, {"text":"Z: ", "color":"#868e96"}, {"storage":"deathcords:cache", "nbt":"Cache.Pos2", "color":"#ced4da"}, {"text":"\n", "color":"#ff003c"}]
20+
execute as @a[scores={death_cords=1..}] run tellraw @s [{"text":"| ", "color":"#ff003c"}, {"text":"Dimension: ", "color":"#868e96"}, {"storage":"deathcords:cache", "nbt":"info.Dimension", "color":"#ced4da"}]
21+
execute as @a[scores={death_cords=1..}] run tellraw @s [{"text":"| ", "color":"#ff003c"}, {"text":"X: ", "color":"#868e96"}, {"storage":"deathcords:cache", "nbt":"info.Pos0", "color":"#ced4da"}, {"text":" ", "color":"#ff003c"}, {"text":"Y: ", "color":"#868e96"},{"storage":"deathcords:cache", "nbt":"info.Pos1", "color":"#ced4da"}, {"text":" ", "color":"#ff003c"}, {"text":"Z: ", "color":"#868e96"}, {"storage":"deathcords:cache", "nbt":"info.Pos2", "color":"#ced4da"}, {"text":"\n", "color":"#ff003c"}]
2222
# Reset and enable the trigger.
2323
execute as @a[scores={death_cords=1..}] run scoreboard players reset @s death_cords
2424
scoreboard players enable @a death_cords

data/deathcords/function/setup.mcfunction

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22
# Setup the scoreboard objective of type trigger.
33
scoreboard objectives add death_cords trigger "Deathcords"
44
# Alert everyone that datapack loaded successfully.
5-
tellraw @a[team=!no_alerts] [{"text":"| ", "color":"#ff003c"}, {"text":"Status: ", "color":"#868e96"}, {"text":"Deathcords function initialized successfully.", "color":"#ced4da"}]
5+
tellraw @a[tag=!no_alerts] [{"text":"| ", "color":"#ff003c"}, {"text":"Status: ", "color":"#868e96"}, {"text":"Deathcords function initialized successfully.", "color":"#ced4da"}]

data/durability_ping/function/load.mcfunction

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,4 +72,4 @@ advancement revoke @a only durability_ping:damage/elytra
7272
advancement revoke @a only durability_ping:damage/trident
7373
advancement revoke @a only durability_ping:damage/crossbow
7474
# Alert everyone that datapack loaded successfully.
75-
tellraw @a[team=!no_alerts] [{"text":"| ", "color":"#ff003c"}, {"text":"Status: ", "color":"#868e96"}, {"text":"Durability_ping function initialized successfully.", "color":"#ced4da"}]
75+
tellraw @a[tag=!no_alerts] [{"text":"| ", "color":"#ff003c"}, {"text":"Status: ", "color":"#868e96"}, {"text":"Durability_ping function initialized successfully.", "color":"#ced4da"}]
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
# ======= Extra Shell =======
22
# Alert everyone that datapack loaded successfully.
3-
tellraw @a[team=!no_alerts] [{"text":"| ", "color":"#ff003c"}, {"text":"Status: ", "color":"#868e96"}, {"text":"Extrashell function initialized successfully.", "color":"#ced4da"}]
3+
tellraw @a[tag=!no_alerts] [{"text":"| ", "color":"#ff003c"}, {"text":"Status: ", "color":"#868e96"}, {"text":"Extrashell function initialized successfully.", "color":"#ced4da"}]

data/fast_leaf_decay/function/load.mcfunction

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,4 +38,4 @@ scoreboard players reset * leafDec.paleS
3838

3939
# ======= Fast Leaf Decay =======
4040
# Alert everyone that datapack loaded successfully.
41-
tellraw @a[team=!no_alerts] [{"text":"| ", "color":"#ff003c"}, {"text":"Status: ", "color":"#868e96"}, {"text":"Fast_leaf_decay function initialized successfully.", "color":"#ced4da"}]
41+
tellraw @a[tag=!no_alerts] [{"text":"| ", "color":"#ff003c"}, {"text":"Status: ", "color":"#868e96"}, {"text":"Fast_leaf_decay function initialized successfully.", "color":"#ced4da"}]

data/invframe/function/setup.mcfunction

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,4 @@ scoreboard objectives add show_frame trigger "Show Frame"
55
scoreboard objectives add find_frame trigger "Find Frame"
66
# scoreboard objectives add debug_frame trigger "Debug Frame"
77
# Alert everyone that datapack loaded successfully.
8-
tellraw @a[team=!no_alerts] [{"text":"| ", "color":"#ff003c"}, {"text":"Status: ", "color":"#868e96"}, {"text":"Invframe function initialized successfully.", "color":"#ced4da"}]
8+
tellraw @a[tag=!no_alerts] [{"text":"| ", "color":"#ff003c"}, {"text":"Status: ", "color":"#868e96"}, {"text":"Invframe function initialized successfully.", "color":"#ced4da"}]
Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
{
2+
"parent": "mini_blocks:recipes/root",
3+
"criteria": {
4+
"has_the_recipe": {
5+
"trigger": "minecraft:recipe_unlocked",
6+
"conditions": {
7+
"recipe": "mini_blocks:black_shulker_box"
8+
}
9+
},
10+
"has_item": {
11+
"trigger": "minecraft:inventory_changed",
12+
"conditions": {
13+
"items": [
14+
{
15+
"items": "minecraft:black_shulker_box"
16+
}
17+
]
18+
}
19+
}
20+
},
21+
"requirements": [
22+
[
23+
"has_the_recipe",
24+
"has_item"
25+
]
26+
],
27+
"rewards": {
28+
"recipes": [
29+
"mini_blocks:black_shulker_box"
30+
]
31+
}
32+
}
Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
{
2+
"parent": "mini_blocks:recipes/root",
3+
"criteria": {
4+
"has_the_recipe": {
5+
"trigger": "minecraft:recipe_unlocked",
6+
"conditions": {
7+
"recipe": "mini_blocks:black_wool"
8+
}
9+
},
10+
"has_item": {
11+
"trigger": "minecraft:inventory_changed",
12+
"conditions": {
13+
"items": [
14+
{
15+
"items": "minecraft:black_wool"
16+
}
17+
]
18+
}
19+
}
20+
},
21+
"requirements": [
22+
[
23+
"has_the_recipe",
24+
"has_item"
25+
]
26+
],
27+
"rewards": {
28+
"recipes": [
29+
"mini_blocks:black_wool"
30+
]
31+
}
32+
}
Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
{
2+
"parent": "mini_blocks:recipes/root",
3+
"criteria": {
4+
"has_the_recipe": {
5+
"trigger": "minecraft:recipe_unlocked",
6+
"conditions": {
7+
"recipe": "mini_blocks:blue_shulker_box"
8+
}
9+
},
10+
"has_item": {
11+
"trigger": "minecraft:inventory_changed",
12+
"conditions": {
13+
"items": [
14+
{
15+
"items": "minecraft:blue_shulker_box"
16+
}
17+
]
18+
}
19+
}
20+
},
21+
"requirements": [
22+
[
23+
"has_the_recipe",
24+
"has_item"
25+
]
26+
],
27+
"rewards": {
28+
"recipes": [
29+
"mini_blocks:blue_shulker_box"
30+
]
31+
}
32+
}
Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
{
2+
"parent": "mini_blocks:recipes/root",
3+
"criteria": {
4+
"has_the_recipe": {
5+
"trigger": "minecraft:recipe_unlocked",
6+
"conditions": {
7+
"recipe": "mini_blocks:blue_wool"
8+
}
9+
},
10+
"has_item": {
11+
"trigger": "minecraft:inventory_changed",
12+
"conditions": {
13+
"items": [
14+
{
15+
"items": "minecraft:blue_wool"
16+
}
17+
]
18+
}
19+
}
20+
},
21+
"requirements": [
22+
[
23+
"has_the_recipe",
24+
"has_item"
25+
]
26+
],
27+
"rewards": {
28+
"recipes": [
29+
"mini_blocks:blue_wool"
30+
]
31+
}
32+
}
Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
{
2+
"parent": "mini_blocks:recipes/root",
3+
"criteria": {
4+
"has_the_recipe": {
5+
"trigger": "minecraft:recipe_unlocked",
6+
"conditions": {
7+
"recipe": "mini_blocks:brown_shulker_box"
8+
}
9+
},
10+
"has_item": {
11+
"trigger": "minecraft:inventory_changed",
12+
"conditions": {
13+
"items": [
14+
{
15+
"items": "minecraft:brown_shulker_box"
16+
}
17+
]
18+
}
19+
}
20+
},
21+
"requirements": [
22+
[
23+
"has_the_recipe",
24+
"has_item"
25+
]
26+
],
27+
"rewards": {
28+
"recipes": [
29+
"mini_blocks:brown_shulker_box"
30+
]
31+
}
32+
}
Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
{
2+
"parent": "mini_blocks:recipes/root",
3+
"criteria": {
4+
"has_the_recipe": {
5+
"trigger": "minecraft:recipe_unlocked",
6+
"conditions": {
7+
"recipe": "mini_blocks:brown_wool"
8+
}
9+
},
10+
"has_item": {
11+
"trigger": "minecraft:inventory_changed",
12+
"conditions": {
13+
"items": [
14+
{
15+
"items": "minecraft:brown_wool"
16+
}
17+
]
18+
}
19+
}
20+
},
21+
"requirements": [
22+
[
23+
"has_the_recipe",
24+
"has_item"
25+
]
26+
],
27+
"rewards": {
28+
"recipes": [
29+
"mini_blocks:brown_wool"
30+
]
31+
}
32+
}
Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
{
2+
"parent": "mini_blocks:recipes/root",
3+
"criteria": {
4+
"has_the_recipe": {
5+
"trigger": "minecraft:recipe_unlocked",
6+
"conditions": {
7+
"recipe": "mini_blocks:cyan_shulker_box"
8+
}
9+
},
10+
"has_item": {
11+
"trigger": "minecraft:inventory_changed",
12+
"conditions": {
13+
"items": [
14+
{
15+
"items": "minecraft:cyan_shulker_box"
16+
}
17+
]
18+
}
19+
}
20+
},
21+
"requirements": [
22+
[
23+
"has_the_recipe",
24+
"has_item"
25+
]
26+
],
27+
"rewards": {
28+
"recipes": [
29+
"mini_blocks:cyan_shulker_box"
30+
]
31+
}
32+
}
Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
{
2+
"parent": "mini_blocks:recipes/root",
3+
"criteria": {
4+
"has_the_recipe": {
5+
"trigger": "minecraft:recipe_unlocked",
6+
"conditions": {
7+
"recipe": "mini_blocks:cyan_wool"
8+
}
9+
},
10+
"has_item": {
11+
"trigger": "minecraft:inventory_changed",
12+
"conditions": {
13+
"items": [
14+
{
15+
"items": "minecraft:cyan_wool"
16+
}
17+
]
18+
}
19+
}
20+
},
21+
"requirements": [
22+
[
23+
"has_the_recipe",
24+
"has_item"
25+
]
26+
],
27+
"rewards": {
28+
"recipes": [
29+
"mini_blocks:cyan_wool"
30+
]
31+
}
32+
}

0 commit comments

Comments
 (0)