mirror of
https://github.com/LZStealth/armor-statues.git
synced 2025-10-22 03:32:14 +01:00
1.21.0 update
This commit is contained in:
37
1_21_0/data/armor_statues/predicate/book.json
Normal file
37
1_21_0/data/armor_statues/predicate/book.json
Normal file
@@ -0,0 +1,37 @@
|
||||
{
|
||||
"condition": "minecraft:any_of",
|
||||
"terms": [
|
||||
{
|
||||
"condition": "minecraft:entity_properties",
|
||||
"entity": "this",
|
||||
"predicate": {
|
||||
"equipment": {
|
||||
"mainhand": {
|
||||
"items": ["minecraft:written_book"],
|
||||
"predicates": {
|
||||
"minecraft:custom_data": {
|
||||
"datapack": "ArmorStatuesV2"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"condition": "minecraft:entity_properties",
|
||||
"entity": "this",
|
||||
"predicate": {
|
||||
"equipment": {
|
||||
"offhand": {
|
||||
"items": ["minecraft:written_book"],
|
||||
"predicates": {
|
||||
"minecraft:custom_data": {
|
||||
"datapack": "ArmorStatuesV2"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
24
1_21_0/data/armor_statues/predicate/bothhands.json
Normal file
24
1_21_0/data/armor_statues/predicate/bothhands.json
Normal file
@@ -0,0 +1,24 @@
|
||||
{
|
||||
"condition": "minecraft:entity_properties",
|
||||
"entity": "this",
|
||||
"predicate": {
|
||||
"equipment": {
|
||||
"mainhand": {
|
||||
"items": ["minecraft:written_book"],
|
||||
"predicates": {
|
||||
"minecraft:custom_data": {
|
||||
"datapack": "ArmorStatuesV2"
|
||||
}
|
||||
}
|
||||
},
|
||||
"offhand": {
|
||||
"items": ["minecraft:written_book"],
|
||||
"predicates": {
|
||||
"minecraft:custom_data": {
|
||||
"datapack": "ArmorStatuesV2"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
16
1_21_0/data/armor_statues/predicate/holding_adjustment.json
Normal file
16
1_21_0/data/armor_statues/predicate/holding_adjustment.json
Normal file
@@ -0,0 +1,16 @@
|
||||
{
|
||||
"condition": "minecraft:entity_properties",
|
||||
"entity": "this",
|
||||
"predicate": {
|
||||
"equipment": {
|
||||
"mainhand": {
|
||||
"items": [ "minecraft:warped_fungus_on_a_stick" ],
|
||||
"predicates": {
|
||||
"minecraft:custom_data": {
|
||||
"wand": 1
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
16
1_21_0/data/armor_statues/predicate/holding_pointer.json
Normal file
16
1_21_0/data/armor_statues/predicate/holding_pointer.json
Normal file
@@ -0,0 +1,16 @@
|
||||
{
|
||||
"condition": "minecraft:entity_properties",
|
||||
"entity": "this",
|
||||
"predicate": {
|
||||
"equipment": {
|
||||
"mainhand": {
|
||||
"items": [ "minecraft:stick" ],
|
||||
"predicates": {
|
||||
"minecraft:custom_data": {
|
||||
"wand": 1
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
18
1_21_0/data/armor_statues/predicate/holding_wand.json
Normal file
18
1_21_0/data/armor_statues/predicate/holding_wand.json
Normal file
@@ -0,0 +1,18 @@
|
||||
{
|
||||
"condition": "minecraft:entity_properties",
|
||||
"entity": "this",
|
||||
"predicate": {
|
||||
"equipment": {
|
||||
"mainhand": {
|
||||
"items": ["minecraft:stick",
|
||||
"minecraft:warped_fungus_on_a_stick"
|
||||
],
|
||||
"predicates": {
|
||||
"minecraft:custom_data": {
|
||||
"wand": 1
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
10
1_21_0/data/armor_statues/predicate/is_sneaking.json
Normal file
10
1_21_0/data/armor_statues/predicate/is_sneaking.json
Normal file
@@ -0,0 +1,10 @@
|
||||
{
|
||||
"condition": "minecraft:entity_properties",
|
||||
"entity": "this",
|
||||
"predicate": {
|
||||
"type": "minecraft:player",
|
||||
"flags": {
|
||||
"is_sneaking": true
|
||||
}
|
||||
}
|
||||
}
|
@@ -0,0 +1,26 @@
|
||||
[
|
||||
{
|
||||
"condition": "minecraft:entity_properties",
|
||||
"entity": "this",
|
||||
"predicate": {
|
||||
"slots": {
|
||||
"container.0": {
|
||||
"predicates": {
|
||||
"minecraft:custom_data": {
|
||||
"datapack":"ArmorStatuesV2",
|
||||
"SavedPose":{}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"condition": "minecraft:location_check",
|
||||
"predicate": {
|
||||
"block": {
|
||||
"block": "minecraft:redstone_wire"
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
34
1_21_0/data/armor_statues/predicate/mainhand_potion.json
Normal file
34
1_21_0/data/armor_statues/predicate/mainhand_potion.json
Normal file
@@ -0,0 +1,34 @@
|
||||
{
|
||||
"condition": "minecraft:any_of",
|
||||
"terms": [
|
||||
{
|
||||
"condition": "minecraft:entity_properties",
|
||||
"entity": "this",
|
||||
"predicate": {
|
||||
"equipment": {
|
||||
"mainhand": {
|
||||
"items": "#armor_statues:potions",
|
||||
"predicates": {
|
||||
"minecraft:potion_contents": "minecraft:long_invisibility"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"condition": "minecraft:entity_properties",
|
||||
"entity": "this",
|
||||
"predicate": {
|
||||
"equipment": {
|
||||
"mainhand": {
|
||||
"items": "#armor_statues:potions",
|
||||
"predicates": {
|
||||
"minecraft:potion_contents": "minecraft:long_invisibility"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
]
|
||||
}
|
34
1_21_0/data/armor_statues/predicate/offhand_potion.json
Normal file
34
1_21_0/data/armor_statues/predicate/offhand_potion.json
Normal file
@@ -0,0 +1,34 @@
|
||||
{
|
||||
"condition": "minecraft:any_of",
|
||||
"terms": [
|
||||
{
|
||||
"condition": "minecraft:entity_properties",
|
||||
"entity": "this",
|
||||
"predicate": {
|
||||
"equipment": {
|
||||
"offhand": {
|
||||
"items": "#armor_statues:potions",
|
||||
"predicates": {
|
||||
"minecraft:potion_contents": "minecraft:invisibility"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"condition": "minecraft:entity_properties",
|
||||
"entity": "this",
|
||||
"predicate": {
|
||||
"equipment": {
|
||||
"offhand": {
|
||||
"items": "#armor_statues:potions",
|
||||
"predicates": {
|
||||
"minecraft:potion_contents": "minecraft:long_invisibility"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
]
|
||||
}
|
@@ -0,0 +1,4 @@
|
||||
{
|
||||
"condition": "minecraft:random_chance",
|
||||
"chance": 0.15
|
||||
}
|
@@ -0,0 +1,4 @@
|
||||
{
|
||||
"condition": "minecraft:random_chance",
|
||||
"chance": 0.15
|
||||
}
|
@@ -0,0 +1,4 @@
|
||||
{
|
||||
"condition": "minecraft:random_chance",
|
||||
"chance": 0.2
|
||||
}
|
@@ -0,0 +1,4 @@
|
||||
{
|
||||
"condition": "minecraft:random_chance",
|
||||
"chance": 0.3
|
||||
}
|
@@ -0,0 +1,4 @@
|
||||
{
|
||||
"condition": "minecraft:random_chance",
|
||||
"chance": 0.4
|
||||
}
|
@@ -0,0 +1,4 @@
|
||||
{
|
||||
"condition": "minecraft:random_chance",
|
||||
"chance": 0.50
|
||||
}
|
@@ -0,0 +1,4 @@
|
||||
{
|
||||
"condition": "minecraft:random_chance",
|
||||
"chance": 0.70
|
||||
}
|
@@ -0,0 +1,4 @@
|
||||
{
|
||||
"condition": "minecraft:random_chance",
|
||||
"chance": 0.85
|
||||
}
|
13
1_21_0/data/armor_statues/predicate/savedpose.json
Normal file
13
1_21_0/data/armor_statues/predicate/savedpose.json
Normal file
@@ -0,0 +1,13 @@
|
||||
{
|
||||
"condition": "minecraft:any_of",
|
||||
"terms": [
|
||||
{
|
||||
"condition": "minecraft:reference",
|
||||
"name": "armor_statues:savedpose_mainhand"
|
||||
},
|
||||
{
|
||||
"condition": "minecraft:reference",
|
||||
"name": "armor_statues:savedpose_offhand"
|
||||
}
|
||||
]
|
||||
}
|
17
1_21_0/data/armor_statues/predicate/savedpose_mainhand.json
Normal file
17
1_21_0/data/armor_statues/predicate/savedpose_mainhand.json
Normal file
@@ -0,0 +1,17 @@
|
||||
{
|
||||
"condition": "minecraft:entity_properties",
|
||||
"entity": "this",
|
||||
"predicate": {
|
||||
"equipment": {
|
||||
"mainhand": {
|
||||
"items": ["minecraft:written_book"],
|
||||
"predicates": {
|
||||
"minecraft:custom_data": {
|
||||
"datapack": "ArmorStatuesV2",
|
||||
"SavedPose": {}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
17
1_21_0/data/armor_statues/predicate/savedpose_offhand.json
Normal file
17
1_21_0/data/armor_statues/predicate/savedpose_offhand.json
Normal file
@@ -0,0 +1,17 @@
|
||||
{
|
||||
"condition": "minecraft:entity_properties",
|
||||
"entity": "this",
|
||||
"predicate": {
|
||||
"equipment": {
|
||||
"offhand": {
|
||||
"items": ["minecraft:written_book"],
|
||||
"predicates": {
|
||||
"minecraft:custom_data": {
|
||||
"datapack": "ArmorStatuesV2",
|
||||
"SavedPose": {}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user