1
0
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:
MukiTanuki
2024-05-03 02:36:58 -06:00
parent 8758ad4b2d
commit d7b2cd84d9
103 changed files with 8148 additions and 1 deletions

View File

@@ -0,0 +1,29 @@
{
"type": "minecraft:crafting_shapeless",
"group": "armor_statues",
"ingredients": [
{
"item": "minecraft:warped_fungus_on_a_stick"
},
{
"item": "minecraft:armor_stand"
}
],
"result": {
"count": 1,
"id": "minecraft:warped_fungus_on_a_stick",
"components": {
"minecraft:custom_data": {
"wand":1,
"type":0
},
"minecraft:enchantment_glint_override": true,
"minecraft:max_stack_size": 1,
"minecraft:custom_model_data": 10,
"minecraft:custom_name": "\"Adjustment Wand: X axis\"",
"minecraft:lore": [
"[\"\", {\"keybind\":\"key.sneak\"}, {\"text\":\"+\"}, {\"keybind\":\"key.use\"}, {\"text\":\" to set mode\"}]"
]
}
}
}

View File

@@ -0,0 +1,40 @@
{
"type": "minecraft:crafting_shapeless",
"group": "armor_statues",
"ingredients": [
{
"item": "minecraft:book"
},
{
"item": "minecraft:armor_stand"
}
],
"result": {
"count": 1,
"id": "minecraft:written_book",
"components": {
"minecraft:custom_model_data": 10,
"minecraft:custom_data": {
"datapack": "ArmorStatuesV2"
},
"minecraft:written_book_content": {
"title": "Statues v2.12",
"author": "Stick God",
"generation": 0,
"resolved": false,
"pages": [
"{ \"storage\": \"armor_statues:book_data\", \"interpret\": true, \"nbt\": \"components.minecraft:written_book_content.pages[0]\" }",
"{ \"storage\": \"armor_statues:book_data\", \"interpret\": true, \"nbt\": \"components.minecraft:written_book_content.pages[1]\" }",
"{ \"storage\": \"armor_statues:book_data\", \"interpret\": true, \"nbt\": \"components.minecraft:written_book_content.pages[2]\" }",
"{ \"storage\": \"armor_statues:book_data\", \"interpret\": true, \"nbt\": \"components.minecraft:written_book_content.pages[3]\" }",
"{ \"storage\": \"armor_statues:book_data\", \"interpret\": true, \"nbt\": \"components.minecraft:written_book_content.pages[4]\" }",
"{ \"storage\": \"armor_statues:book_data\", \"interpret\": true, \"nbt\": \"components.minecraft:written_book_content.pages[5]\" }",
"{ \"storage\": \"armor_statues:book_data\", \"interpret\": true, \"nbt\": \"components.minecraft:written_book_content.pages[6]\" }",
"{ \"storage\": \"armor_statues:book_data\", \"interpret\": true, \"nbt\": \"components.minecraft:written_book_content.pages[7]\" }",
"{ \"storage\": \"armor_statues:book_data\", \"interpret\": true, \"nbt\": \"components.minecraft:written_book_content.pages[8]\" }",
"{ \"storage\": \"armor_statues:book_data\", \"interpret\": true, \"nbt\": \"components.minecraft:written_book_content.pages[9]\" }"
]
}
}
}
}

View File

@@ -0,0 +1,28 @@
{
"type": "minecraft:crafting_shapeless",
"group": "armor_statues",
"ingredients": [
{
"item": "minecraft:stick"
},
{
"item": "minecraft:armor_stand"
}
],
"result": {
"count": 1,
"id": "minecraft:stick",
"components": {
"minecraft:custom_data": {
"wand":1
},
"minecraft:enchantment_glint_override": true,
"minecraft:max_stack_size": 1,
"minecraft:custom_model_data": 10,
"minecraft:custom_name": "\"Pointer Wand\"",
"minecraft:lore": [
"[\"\", {\"text\":\"Point at \"}, {\"translate\":\"entity.minecraft.armor_stand\"}, {\"text\":\" to use\"}]"
]
}
}
}