mirror of
https://github.com/LZStealth/armor-statues.git
synced 2025-10-21 15:22:14 +01:00
1.19.4 update
-Changed how custom naming works: you can no longer set names to be visible/invisible from the book. Since armor stands retain their names in 1.19.4 you can rename an armor stand item and place it and it will automatically become visible. -Changed 'pointing' function for head and body: Both will now 'face' the player. -Added in has visible fire setting -Added in Pointer Wand: You can obtain this by renaming a stick 'Statues' or by using the trigger in the book: /trigger pointer_wand. -Face an armor stand to enter edit mode -r-click on a joint to first set the appendage to a neutral position, then to point towards the player. -r-click on the base to rotate it facing the player -l-click on the head to make the armor stand visible/invisible -l-click on the arms to make them visible/invisible -l-click on the base to make it visible/invisible -l-click on the body to cycle through the preset poses -Added in Adjustment Wand: You can obtain this by renaming a warped fungus on a stick 'Statues' or by using the trigger in the book: /trigger adjustment_wand. -Shift+r-click to change modes between X/Y/Z -l or r click on a joint to rotate in the positive or negative rotations -l or r click the base to move the stand in the negative or positive direction
This commit is contained in:
44
data/armor_statues/loot_tables/adjustment_wand.json
Normal file
44
data/armor_statues/loot_tables/adjustment_wand.json
Normal file
@@ -0,0 +1,44 @@
|
||||
|
||||
{
|
||||
"type": "minecraft:loot",
|
||||
"pools": [
|
||||
{
|
||||
"rolls": 1,
|
||||
"entries": [
|
||||
{
|
||||
"type": "minecraft:item",
|
||||
"name": "minecraft:warped_fungus_on_a_stick",
|
||||
"functions": [
|
||||
{
|
||||
"function": "minecraft:set_nbt",
|
||||
"tag":"{wand:1, Enchantments: [{}]}"
|
||||
},
|
||||
{
|
||||
"function": "minecraft:set_nbt",
|
||||
"tag":"{type:0}"
|
||||
},
|
||||
{
|
||||
"function": "minecraft:set_name",
|
||||
"entity": "this",
|
||||
"name": {
|
||||
"text": "Adjustment Wand: X axis"
|
||||
}
|
||||
},
|
||||
{
|
||||
"function": "minecraft:set_lore",
|
||||
"entity": "this",
|
||||
"lore": [
|
||||
["",
|
||||
{"keybind":"key.sneak"},
|
||||
{"text":"+"},
|
||||
{"keybind":"key.use"},
|
||||
{"text":" to set mode"}]
|
||||
],
|
||||
"replace": true
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
File diff suppressed because one or more lines are too long
@@ -11,15 +11,15 @@
|
||||
{
|
||||
"function": "minecraft:set_nbt",
|
||||
"tag": "{
|
||||
title:\"Statues V2.9\",
|
||||
title:\"Statues V2.10\",
|
||||
author:\"Stick God\",
|
||||
datapack:\"ArmorStatuesV2\",
|
||||
CustomModelData:10,
|
||||
pages:[
|
||||
'[
|
||||
{\"text\":\" \",\"color\":\"white\"},
|
||||
{\"text\":\"Statues V2.9\",\"color\":\"dark_blue\"},
|
||||
{\"text\":\" \",\"color\":\"white\"},
|
||||
{\"text\":\"Statues V2.10\",\"color\":\"dark_blue\"},
|
||||
{\"text\":\" \",\"color\":\"white\"},
|
||||
{\"text\":\"\\\\u24be\",\"color\":\"dark_purple\",\"hoverEvent\":{\"action\":\"show_text\",\"contents\":[{\"text\":\"This book allows you to apply basic settings to an armor stand. Clicking the coloured links will adjust the closest armor stand within three blocks.\",\"color\":\"yellow\"}]}},
|
||||
|
||||
{\"text\":\"\\\\n \",\"color\":\"white\"},
|
||||
@@ -93,11 +93,11 @@
|
||||
{\"text\":\"Yes\",\"color\":\"dark_green\",\"clickEvent\":{\"action\":\"run_command\",\"value\":\"/trigger as_trigger set 9\"}},
|
||||
{\"text\":\" / \",\"color\":\"black\"},
|
||||
{\"text\":\"No\",\"color\":\"red\",\"clickEvent\":{\"action\":\"run_command\",\"value\":\"/trigger as_trigger set 10\"}},
|
||||
{\"text\":\"\\\\nDisplay Name:\",\"color\":\"black\"},
|
||||
{\"text\":\"\\\\nHas Visual Fire:\",\"color\":\"black\"},
|
||||
{\"text\":\"\\\\n \",\"color\":\"white\"},
|
||||
{\"text\":\"Yes\",\"color\":\"dark_green\",\"clickEvent\":{\"action\":\"run_command\",\"value\":\"/trigger as_trigger set 11\"}},
|
||||
{\"text\":\"Yes\",\"color\":\"dark_green\",\"clickEvent\":{\"action\":\"run_command\",\"value\":\"/trigger as_trigger set 13\"}},
|
||||
{\"text\":\" / \",\"color\":\"black\"},
|
||||
{\"text\":\"No\",\"color\":\"red\",\"clickEvent\":{\"action\":\"run_command\",\"value\":\"/trigger as_trigger set 12\"}}
|
||||
{\"text\":\"No\",\"color\":\"red\",\"clickEvent\":{\"action\":\"run_command\",\"value\":\"/trigger as_trigger set 14\"}}
|
||||
]',
|
||||
'[
|
||||
\"\",
|
||||
@@ -234,7 +234,8 @@
|
||||
{\"text\":\"Pointing\",\"color\":\"dark_blue\"},
|
||||
{\"text\":\" \",\"color\":\"white\"},
|
||||
{\"text\":\"\\\\u24be\",\"color\":\"dark_purple\",\"hoverEvent\":{\"action\":\"show_text\",\"contents\":[{\"text\":\"Points selected appendage at head or feet.\",\"color\":\"yellow\"}]}},
|
||||
{\"text\":\"\\\\n\\\\n\",\"color\":\"white\"},
|
||||
{\"text\":\"\\\\nGet Pointer Wand\",\"color\":\"dark_green\",\"clickEvent\":{\"action\":\"run_command\",\"value\":\"/trigger pointer_wand\"}},
|
||||
{\"text\":\"\\\\n\",\"color\":\"white\"},
|
||||
{\"text\":\"Head:\",\"color\":\"black\"},
|
||||
{\"text\":\" .\",\"color\":\"white\"},
|
||||
{\"text\":\"Head\",\"color\":\"dark_green\",\"clickEvent\":{\"action\":\"run_command\",\"value\":\"/trigger as_trigger set 1160\"}},
|
||||
@@ -321,7 +322,8 @@
|
||||
{\"text\":\"Pose Adjustment\",\"color\":\"dark_blue\"},
|
||||
{\"text\":\" \",\"color\":\"white\"},
|
||||
{\"text\":\"\\\\u24be\",\"color\":\"dark_purple\",\"hoverEvent\":{\"action\":\"show_text\",\"contents\":[{\"text\":\"The angle step set for adjusting the stand rotation is also used for the pose adjustments.\",\"color\":\"yellow\"}]}},
|
||||
{\"text\":\"\\\\n\\\\n .\",\"color\":\"white\"},
|
||||
{\"text\":\"\\\\nGet Adjustment Wand\",\"color\":\"dark_green\",\"clickEvent\":{\"action\":\"run_command\",\"value\":\"/trigger adjustment_wand\"}},
|
||||
{\"text\":\"\\\\n .\",\"color\":\"white\"},
|
||||
{\"text\":\"X\",\"color\":\"black\"},
|
||||
{\"text\":\" .\",\"color\":\"white\"},
|
||||
{\"text\":\"Y\",\"color\":\"black\"},
|
||||
|
39
data/armor_statues/loot_tables/pointer_wand.json
Normal file
39
data/armor_statues/loot_tables/pointer_wand.json
Normal file
@@ -0,0 +1,39 @@
|
||||
|
||||
{
|
||||
"type": "minecraft:loot",
|
||||
"pools": [
|
||||
{
|
||||
"rolls": 1,
|
||||
"entries": [
|
||||
{
|
||||
"type": "minecraft:item",
|
||||
"name": "minecraft:stick",
|
||||
"functions": [
|
||||
{
|
||||
"function": "minecraft:set_nbt",
|
||||
"tag":"{wand:1, Enchantments: [{}]}"
|
||||
},
|
||||
{
|
||||
"function": "minecraft:set_name",
|
||||
"entity": "this",
|
||||
"name": {
|
||||
"text": "Pointer Wand"
|
||||
}
|
||||
},
|
||||
{
|
||||
"function": "minecraft:set_lore",
|
||||
"entity": "this",
|
||||
"lore": [
|
||||
["",
|
||||
{"text":"Point at "},
|
||||
{"translate":"entity.minecraft.armor_stand"},
|
||||
{"text":" to use"}]
|
||||
],
|
||||
"replace": true
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
Reference in New Issue
Block a user