Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
35 commits
Select commit Hold shift + click to select a range
59fe351
Updates README.md file.
amcocan Jan 20, 2025
dd15dc8
Updates README.md file.
amcocan Jan 20, 2025
6dc4db5
Adds wither_skeleton to shearheads.
amcocan Jan 20, 2025
a65ca18
Attempts patch.
amcocan Jan 20, 2025
cdd979e
Attempts patch.
amcocan Jan 20, 2025
f464b53
Attempts patch.
amcocan Jan 20, 2025
b865645
Attempts patch.
amcocan Jan 20, 2025
1d60272
Attempts patch.
amcocan Jan 20, 2025
bb3ae71
Attempts patch.
amcocan Jan 20, 2025
c4ba300
Attempts patch.
amcocan Jan 20, 2025
06bee44
Attempts patch.
amcocan Jan 20, 2025
decab7e
Attempts patch.
amcocan Jan 20, 2025
639ba54
Attempts patch.
amcocan Jan 20, 2025
5118dc5
Attempts patch.
amcocan Jan 20, 2025
ba31f3b
Attempts patch.
amcocan Jan 20, 2025
0c010b2
Attempts patch.
amcocan Jan 20, 2025
d2aa36d
Attempts patch.
amcocan Jan 20, 2025
5c3103b
Updates storage array name.
amcocan Jan 20, 2025
a02b7db
Attempts patch.
amcocan Jan 20, 2025
1c59504
Updates name colors.
amcocan Jan 20, 2025
e18841d
Adds all wool colors.
amcocan Jan 20, 2025
e3fb432
Adds all shulker box colors.
amcocan Jan 20, 2025
460067a
Adds author trigger.
amcocan Jan 21, 2025
faebaf4
Adds author trigger.
amcocan Jan 21, 2025
d3af533
Adds author trigger.
amcocan Jan 21, 2025
52350d6
Adds author trigger.
amcocan Jan 21, 2025
0d82131
Fixed global alerts.
amcocan Jan 21, 2025
12b9976
Fixed global alerts.
amcocan Jan 21, 2025
e819618
Fixed global alerts.
amcocan Jan 21, 2025
7810b63
Fixed global alerts.
amcocan Jan 21, 2025
a04cf17
Fixed global alerts.
amcocan Jan 21, 2025
02a2b10
Patches uninstall.
amcocan Jan 21, 2025
6e3abdb
Attempts patch.
amcocan Jan 21, 2025
f6ad709
Attempts patch.
amcocan Jan 21, 2025
7fbae01
Fixed global alerts.
amcocan Jan 21, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
14 changes: 1 addition & 13 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,20 +32,14 @@ Armor Statues allows the player to manipulate armorstands for decoration purpose
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!

Maintained by [Vanilla Tweeks](https://vanillatweaks.net/about/).
> Learn about the details of this datapack on [vanillatweaks.net](https://vanillatweaks.net/picker/datapacks/) & [github](https://github.com/MukiTanuki/armor-statues#).
<!-- Might remove some of the features in this datapack. -->
> 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).


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


<!-- ## combatswitch
I will explain this feature when I successfully add it into the datapack.
A way to toggle pvp. -->


## deathcords
Will show you the cords of your last death using the following `trigger` command.
- `/trigger death_cords` ~ _This will show you the cords and dimention of your last death._
Expand Down Expand Up @@ -118,12 +112,6 @@ This feature uses the `tellraw` command to provide information on the datapack e
This feature adds the ability to sit anywhere the player wants using the following `trigger` command.
- `/trigger sit` ~ _This makes the player sit in the location they were standing._

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


## shearheads
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.
Expand Down
2 changes: 1 addition & 1 deletion data/antigrief/function/setup.mcfunction
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
# Create and store the mobGriefing toggle in a scoreboard.
scoreboard objectives add creeper_in_range dummy "Creeper In Range"
# Alert everyone that datapack loaded successfully.
tellraw @a[team=!no_alerts] [{"text":"| ", "color":"#ff003c"}, {"text":"Status: ", "color":"#868e96"}, {"text":"Antigrief function initialized successfully.", "color":"#ced4da"}]
tellraw @a[tag=!no_alerts] [{"text":"| ", "color":"#ff003c"}, {"text":"Status: ", "color":"#868e96"}, {"text":"Antigrief function initialized successfully.", "color":"#ced4da"}]
2 changes: 1 addition & 1 deletion data/armor_statues/function/load.mcfunction
Original file line number Diff line number Diff line change
Expand Up @@ -33,4 +33,4 @@ execute unless data storage customizable_armor_stands:settings as_admin.book_cra
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"
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"
# Alert everyone that datapack loaded successfully.
tellraw @a[team=!no_alerts] [{"text":"| ", "color":"#ff003c"}, {"text":"Status: ", "color":"#868e96"}, {"text":"Armor_statues function initialized successfully.", "color":"#ced4da"}]
tellraw @a[tag=!no_alerts] [{"text":"| ", "color":"#ff003c"}, {"text":"Status: ", "color":"#868e96"}, {"text":"Armor_statues function initialized successfully.", "color":"#ced4da"}]
2 changes: 1 addition & 1 deletion data/cleanup/function/setup.mcfunction
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
# Add trigger for players to run the cleanup function.
scoreboard objectives add clean_up trigger "Clean Up"
# Alert everyone that datapack loaded successfully.
tellraw @a[team=!no_alerts] [{"text":"| ", "color":"#ff003c"}, {"text":"Status: ", "color":"#868e96"}, {"text":"Cleanup function initialized successfully.", "color":"#ced4da"}]
tellraw @a[tag=!no_alerts] [{"text":"| ", "color":"#ff003c"}, {"text":"Status: ", "color":"#868e96"}, {"text":"Cleanup function initialized successfully.", "color":"#ced4da"}]
14 changes: 7 additions & 7 deletions data/deathcords/function/loop.mcfunction
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
# ======= Deathcords =======
# Get the data from entity self.
execute as @a[scores={death_cords=1..}] run data modify storage deathcords:cache Cache.Pos0 set from entity @s LastDeathLocation.pos[0]
execute as @a[scores={death_cords=1..}] run data modify storage deathcords:cache Cache.Pos1 set from entity @s LastDeathLocation.pos[1]
execute as @a[scores={death_cords=1..}] run data modify storage deathcords:cache Cache.Pos2 set from entity @s LastDeathLocation.pos[2]
execute as @a[scores={death_cords=1..}] run data modify storage deathcords:cache Cache.Dimension set from entity @s LastDeathLocation.dimension
execute as @a[scores={death_cords=1..}] run data modify storage deathcords:cache info.Pos0 set from entity @s LastDeathLocation.pos[0]
execute as @a[scores={death_cords=1..}] run data modify storage deathcords:cache info.Pos1 set from entity @s LastDeathLocation.pos[1]
execute as @a[scores={death_cords=1..}] run data modify storage deathcords:cache info.Pos2 set from entity @s LastDeathLocation.pos[2]
execute as @a[scores={death_cords=1..}] run data modify storage deathcords:cache info.Dimension set from entity @s LastDeathLocation.dimension
# Reset the timing of the title display message.
execute as @a[scores={death_cords=1..}] run title @s reset
# Set the timing of the title display message in ticks (20t == 1s).
Expand All @@ -13,12 +13,12 @@ execute as @a[scores={death_cords=1..}] run playsound minecraft:ui.toast.in mast
# Show the title to entity self.
execute as @a[scores={death_cords=1..}] run title @s title [{"text":"Last Death Cords", "color":"#ff003c"}]
# Show the subtitle to entity self.
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"}]
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"}]
# Show the title to entity self in chat.
execute as @a[scores={death_cords=1..}] run tellraw @s [{"text":"\n", "color":"#ff003c"}, {"text":"Last Death Cords", "color":"#ff003c", "bold":true}]
# Show the cords to entity self in chat.
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"}]
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"}]
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"}]
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"}]
# Reset and enable the trigger.
execute as @a[scores={death_cords=1..}] run scoreboard players reset @s death_cords
scoreboard players enable @a death_cords
Expand Down
2 changes: 1 addition & 1 deletion data/deathcords/function/setup.mcfunction
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
# Setup the scoreboard objective of type trigger.
scoreboard objectives add death_cords trigger "Deathcords"
# Alert everyone that datapack loaded successfully.
tellraw @a[team=!no_alerts] [{"text":"| ", "color":"#ff003c"}, {"text":"Status: ", "color":"#868e96"}, {"text":"Deathcords function initialized successfully.", "color":"#ced4da"}]
tellraw @a[tag=!no_alerts] [{"text":"| ", "color":"#ff003c"}, {"text":"Status: ", "color":"#868e96"}, {"text":"Deathcords function initialized successfully.", "color":"#ced4da"}]
2 changes: 1 addition & 1 deletion data/durability_ping/function/load.mcfunction
Original file line number Diff line number Diff line change
Expand Up @@ -72,4 +72,4 @@ advancement revoke @a only durability_ping:damage/elytra
advancement revoke @a only durability_ping:damage/trident
advancement revoke @a only durability_ping:damage/crossbow
# Alert everyone that datapack loaded successfully.
tellraw @a[team=!no_alerts] [{"text":"| ", "color":"#ff003c"}, {"text":"Status: ", "color":"#868e96"}, {"text":"Durability_ping function initialized successfully.", "color":"#ced4da"}]
tellraw @a[tag=!no_alerts] [{"text":"| ", "color":"#ff003c"}, {"text":"Status: ", "color":"#868e96"}, {"text":"Durability_ping function initialized successfully.", "color":"#ced4da"}]
2 changes: 1 addition & 1 deletion data/extrashell/function/setup.mcfunction
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# ======= Extra Shell =======
# Alert everyone that datapack loaded successfully.
tellraw @a[team=!no_alerts] [{"text":"| ", "color":"#ff003c"}, {"text":"Status: ", "color":"#868e96"}, {"text":"Extrashell function initialized successfully.", "color":"#ced4da"}]
tellraw @a[tag=!no_alerts] [{"text":"| ", "color":"#ff003c"}, {"text":"Status: ", "color":"#868e96"}, {"text":"Extrashell function initialized successfully.", "color":"#ced4da"}]
2 changes: 1 addition & 1 deletion data/fast_leaf_decay/function/load.mcfunction
Original file line number Diff line number Diff line change
Expand Up @@ -38,4 +38,4 @@ scoreboard players reset * leafDec.paleS

# ======= Fast Leaf Decay =======
# Alert everyone that datapack loaded successfully.
tellraw @a[team=!no_alerts] [{"text":"| ", "color":"#ff003c"}, {"text":"Status: ", "color":"#868e96"}, {"text":"Fast_leaf_decay function initialized successfully.", "color":"#ced4da"}]
tellraw @a[tag=!no_alerts] [{"text":"| ", "color":"#ff003c"}, {"text":"Status: ", "color":"#868e96"}, {"text":"Fast_leaf_decay function initialized successfully.", "color":"#ced4da"}]
2 changes: 1 addition & 1 deletion data/invframe/function/setup.mcfunction
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ scoreboard objectives add show_frame trigger "Show Frame"
scoreboard objectives add find_frame trigger "Find Frame"
# scoreboard objectives add debug_frame trigger "Debug Frame"
# Alert everyone that datapack loaded successfully.
tellraw @a[team=!no_alerts] [{"text":"| ", "color":"#ff003c"}, {"text":"Status: ", "color":"#868e96"}, {"text":"Invframe function initialized successfully.", "color":"#ced4da"}]
tellraw @a[tag=!no_alerts] [{"text":"| ", "color":"#ff003c"}, {"text":"Status: ", "color":"#868e96"}, {"text":"Invframe function initialized successfully.", "color":"#ced4da"}]
32 changes: 32 additions & 0 deletions data/miniblocks/advancement/recipes/black_shulker_box.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
{
"parent": "mini_blocks:recipes/root",
"criteria": {
"has_the_recipe": {
"trigger": "minecraft:recipe_unlocked",
"conditions": {
"recipe": "mini_blocks:black_shulker_box"
}
},
"has_item": {
"trigger": "minecraft:inventory_changed",
"conditions": {
"items": [
{
"items": "minecraft:black_shulker_box"
}
]
}
}
},
"requirements": [
[
"has_the_recipe",
"has_item"
]
],
"rewards": {
"recipes": [
"mini_blocks:black_shulker_box"
]
}
}
32 changes: 32 additions & 0 deletions data/miniblocks/advancement/recipes/black_wool.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
{
"parent": "mini_blocks:recipes/root",
"criteria": {
"has_the_recipe": {
"trigger": "minecraft:recipe_unlocked",
"conditions": {
"recipe": "mini_blocks:black_wool"
}
},
"has_item": {
"trigger": "minecraft:inventory_changed",
"conditions": {
"items": [
{
"items": "minecraft:black_wool"
}
]
}
}
},
"requirements": [
[
"has_the_recipe",
"has_item"
]
],
"rewards": {
"recipes": [
"mini_blocks:black_wool"
]
}
}
32 changes: 32 additions & 0 deletions data/miniblocks/advancement/recipes/blue_shulker_box.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
{
"parent": "mini_blocks:recipes/root",
"criteria": {
"has_the_recipe": {
"trigger": "minecraft:recipe_unlocked",
"conditions": {
"recipe": "mini_blocks:blue_shulker_box"
}
},
"has_item": {
"trigger": "minecraft:inventory_changed",
"conditions": {
"items": [
{
"items": "minecraft:blue_shulker_box"
}
]
}
}
},
"requirements": [
[
"has_the_recipe",
"has_item"
]
],
"rewards": {
"recipes": [
"mini_blocks:blue_shulker_box"
]
}
}
32 changes: 32 additions & 0 deletions data/miniblocks/advancement/recipes/blue_wool.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
{
"parent": "mini_blocks:recipes/root",
"criteria": {
"has_the_recipe": {
"trigger": "minecraft:recipe_unlocked",
"conditions": {
"recipe": "mini_blocks:blue_wool"
}
},
"has_item": {
"trigger": "minecraft:inventory_changed",
"conditions": {
"items": [
{
"items": "minecraft:blue_wool"
}
]
}
}
},
"requirements": [
[
"has_the_recipe",
"has_item"
]
],
"rewards": {
"recipes": [
"mini_blocks:blue_wool"
]
}
}
32 changes: 32 additions & 0 deletions data/miniblocks/advancement/recipes/brown_shulker_box.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
{
"parent": "mini_blocks:recipes/root",
"criteria": {
"has_the_recipe": {
"trigger": "minecraft:recipe_unlocked",
"conditions": {
"recipe": "mini_blocks:brown_shulker_box"
}
},
"has_item": {
"trigger": "minecraft:inventory_changed",
"conditions": {
"items": [
{
"items": "minecraft:brown_shulker_box"
}
]
}
}
},
"requirements": [
[
"has_the_recipe",
"has_item"
]
],
"rewards": {
"recipes": [
"mini_blocks:brown_shulker_box"
]
}
}
32 changes: 32 additions & 0 deletions data/miniblocks/advancement/recipes/brown_wool.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
{
"parent": "mini_blocks:recipes/root",
"criteria": {
"has_the_recipe": {
"trigger": "minecraft:recipe_unlocked",
"conditions": {
"recipe": "mini_blocks:brown_wool"
}
},
"has_item": {
"trigger": "minecraft:inventory_changed",
"conditions": {
"items": [
{
"items": "minecraft:brown_wool"
}
]
}
}
},
"requirements": [
[
"has_the_recipe",
"has_item"
]
],
"rewards": {
"recipes": [
"mini_blocks:brown_wool"
]
}
}
32 changes: 32 additions & 0 deletions data/miniblocks/advancement/recipes/cyan_shulker_box.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
{
"parent": "mini_blocks:recipes/root",
"criteria": {
"has_the_recipe": {
"trigger": "minecraft:recipe_unlocked",
"conditions": {
"recipe": "mini_blocks:cyan_shulker_box"
}
},
"has_item": {
"trigger": "minecraft:inventory_changed",
"conditions": {
"items": [
{
"items": "minecraft:cyan_shulker_box"
}
]
}
}
},
"requirements": [
[
"has_the_recipe",
"has_item"
]
],
"rewards": {
"recipes": [
"mini_blocks:cyan_shulker_box"
]
}
}
32 changes: 32 additions & 0 deletions data/miniblocks/advancement/recipes/cyan_wool.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
{
"parent": "mini_blocks:recipes/root",
"criteria": {
"has_the_recipe": {
"trigger": "minecraft:recipe_unlocked",
"conditions": {
"recipe": "mini_blocks:cyan_wool"
}
},
"has_item": {
"trigger": "minecraft:inventory_changed",
"conditions": {
"items": [
{
"items": "minecraft:cyan_wool"
}
]
}
}
},
"requirements": [
[
"has_the_recipe",
"has_item"
]
],
"rewards": {
"recipes": [
"mini_blocks:cyan_wool"
]
}
}
Loading