mirror of
https://github.com/LZStealth/armor-statues.git
synced 2025-10-21 03:12:14 +01:00
1.20.5 update
Updated everything to work with the new component system. The Armor Statues book can be crafted using a book+armor stand in a crafting table. The Pointer Wand can be crafted using a stick+armor stand in a crafting table. The Adjustment Wand can be crafted using a warped fungus on a stick+armor stand in a crafting table. Renaming written books/sticks/fungus on a stick to 'statues' to give the respective items is disabled by default (you can enable these via the admin menu) since you can craft them via the crafting table. - you can re-enable via admin menu. The trigger for getting pointer wand/adjustment wand is disabled by default since you can craft them via the crafting table. - you can re-enable via admin menu. Added 1/10th pixel nudging. Added Scale to the Armor Statues book. Adjusted all other applicable functions to work with scaling. You can adjust the min and max caps for scaling via the admin menu.
This commit is contained in:
18
1_20_5/data/armor_statues/advancements/armor_statues.json
Normal file
18
1_20_5/data/armor_statues/advancements/armor_statues.json
Normal file
@@ -0,0 +1,18 @@
|
||||
{
|
||||
"display": {
|
||||
"icon": {
|
||||
"id": "minecraft:armor_stand"
|
||||
},
|
||||
"title": " Armor Statues ",
|
||||
"frame": "challenge",
|
||||
"description": ["",{"text":"Adds a unique book that allows you to alter the properties of armor stands in survival. ","color":"gold"},{"text":"Datapack by: ","color":"green"},{"text":"Phssthpok, MSpaceDev, and MukiTanuki\n","color":"aqua"},{"text":"Enter","color":"green"},{"text":" ","color":"gold"},{"text":"/trigger as_help","color":"yellow"},{"text":" for details.\n","color":"gold"},{"text":"Enter","color":"green"},{"text":" ","color":"gold"},{"text":"/function armor_statues:admin","color":"yellow"},{"text":" and use auto-complete to set config options.","color":"gold"}],
|
||||
"background": "minecraft:textures/block/black_concrete.png",
|
||||
"show_toast": false,
|
||||
"announce_to_chat": false
|
||||
},
|
||||
"criteria": {
|
||||
"tick": {
|
||||
"trigger": "minecraft:tick"
|
||||
}
|
||||
}
|
||||
}
|
@@ -0,0 +1,25 @@
|
||||
{
|
||||
"criteria": {
|
||||
"attack": {
|
||||
"trigger": "minecraft:player_hurt_entity",
|
||||
"conditions": {
|
||||
"player": [{
|
||||
"condition": "minecraft:reference",
|
||||
"name": "armor_statues:holding_wand"
|
||||
}],
|
||||
"entity": {
|
||||
"type": "minecraft:interaction",
|
||||
"nbt": "{Tags: [ \"as_interactable\" ]}"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"requirements": [
|
||||
[
|
||||
"attack"
|
||||
]
|
||||
],
|
||||
"rewards": {
|
||||
"function": "armor_statues:interactions/attack"
|
||||
}
|
||||
}
|
12
1_20_5/data/armor_statues/advancements/crafting.json
Normal file
12
1_20_5/data/armor_statues/advancements/crafting.json
Normal file
@@ -0,0 +1,12 @@
|
||||
{
|
||||
"criteria": {
|
||||
"impossible": {
|
||||
"trigger": "minecraft:impossible"
|
||||
}
|
||||
},
|
||||
"requirements": [
|
||||
[
|
||||
"impossible"
|
||||
]
|
||||
]
|
||||
}
|
31
1_20_5/data/armor_statues/advancements/enable.json
Normal file
31
1_20_5/data/armor_statues/advancements/enable.json
Normal file
@@ -0,0 +1,31 @@
|
||||
{
|
||||
"display": {
|
||||
"icon": {
|
||||
"id": "minecraft:armor_stand"
|
||||
},
|
||||
"title": {
|
||||
"text":"enable_as_trigger"
|
||||
},
|
||||
"description": {
|
||||
"text":""
|
||||
},
|
||||
"frame": "task",
|
||||
"show_toast": false,
|
||||
"announce_to_chat": false,
|
||||
"hidden": false
|
||||
},
|
||||
"parent": "armor_statues:root",
|
||||
"criteria": {
|
||||
"tick": {
|
||||
"trigger": "minecraft:tick"
|
||||
}
|
||||
},
|
||||
"requirements": [
|
||||
[
|
||||
"tick"
|
||||
]
|
||||
],
|
||||
"rewards": {
|
||||
"function": "armor_statues:enable"
|
||||
}
|
||||
}
|
12
1_20_5/data/armor_statues/advancements/root.json
Normal file
12
1_20_5/data/armor_statues/advancements/root.json
Normal file
@@ -0,0 +1,12 @@
|
||||
{
|
||||
"criteria": {
|
||||
"impossible": {
|
||||
"trigger": "minecraft:impossible"
|
||||
}
|
||||
},
|
||||
"requirements": [
|
||||
[
|
||||
"impossible"
|
||||
]
|
||||
]
|
||||
}
|
25
1_20_5/data/armor_statues/advancements/use_interaction.json
Normal file
25
1_20_5/data/armor_statues/advancements/use_interaction.json
Normal file
@@ -0,0 +1,25 @@
|
||||
{
|
||||
"criteria": {
|
||||
"interact": {
|
||||
"trigger": "minecraft:player_interacted_with_entity",
|
||||
"conditions": {
|
||||
"player": [{
|
||||
"condition": "minecraft:reference",
|
||||
"name": "armor_statues:holding_wand"
|
||||
}],
|
||||
"entity": {
|
||||
"type": "minecraft:interaction",
|
||||
"nbt": "{Tags: [ \"as_interactable\" ]}"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"requirements": [
|
||||
[
|
||||
"interact"
|
||||
]
|
||||
],
|
||||
"rewards": {
|
||||
"function": "armor_statues:interactions/interact"
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user