mirror of
https://github.com/LZStealth/armor-statues.git
synced 2025-08-09 20:35:51 +01:00
Initial commit for armor statues
This commit is contained in:
29
data/armor_statues/predicates/book.json
Normal file
29
data/armor_statues/predicates/book.json
Normal file
@@ -0,0 +1,29 @@
|
||||
{
|
||||
"condition": "minecraft:alternative",
|
||||
"terms": [
|
||||
{
|
||||
"condition": "minecraft:entity_properties",
|
||||
"entity": "this",
|
||||
"predicate": {
|
||||
"equipment": {
|
||||
"mainhand": {
|
||||
"item": "minecraft:written_book",
|
||||
"nbt": "{datapack:ArmorStatuesV2}"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"condition": "minecraft:entity_properties",
|
||||
"entity": "this",
|
||||
"predicate": {
|
||||
"equipment": {
|
||||
"offhand": {
|
||||
"item": "minecraft:written_book",
|
||||
"nbt": "{datapack:ArmorStatuesV2}"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
16
data/armor_statues/predicates/bothhands.json
Normal file
16
data/armor_statues/predicates/bothhands.json
Normal file
@@ -0,0 +1,16 @@
|
||||
{
|
||||
"condition": "minecraft:entity_properties",
|
||||
"entity": "this",
|
||||
"predicate": {
|
||||
"equipment": {
|
||||
"mainhand": {
|
||||
"item": "minecraft:written_book",
|
||||
"nbt": "{datapack:ArmorStatuesV2}"
|
||||
},
|
||||
"offhand": {
|
||||
"item": "minecraft:written_book",
|
||||
"nbt": "{datapack:ArmorStatuesV2}"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
17
data/armor_statues/predicates/item_frame_with_book.json
Normal file
17
data/armor_statues/predicates/item_frame_with_book.json
Normal file
@@ -0,0 +1,17 @@
|
||||
[
|
||||
{
|
||||
"condition": "minecraft:entity_properties",
|
||||
"entity": "this",
|
||||
"predicate": {
|
||||
"nbt": "{Item: {tag: {datapack:ArmorStatuesV2, SavedPose:{} }}}"
|
||||
}
|
||||
},
|
||||
{
|
||||
"condition": "minecraft:location_check",
|
||||
"predicate": {
|
||||
"block": {
|
||||
"block": "minecraft:redstone_wire"
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
30
data/armor_statues/predicates/mainhand_potion.json
Normal file
30
data/armor_statues/predicates/mainhand_potion.json
Normal file
@@ -0,0 +1,30 @@
|
||||
{
|
||||
"condition": "minecraft:alternative",
|
||||
"terms": [
|
||||
{
|
||||
"condition": "minecraft:entity_properties",
|
||||
"entity": "this",
|
||||
"predicate": {
|
||||
"equipment": {
|
||||
"mainhand": {
|
||||
"tag": "armor_statues:potions",
|
||||
"potion": "minecraft:invisibility"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"condition": "minecraft:entity_properties",
|
||||
"entity": "this",
|
||||
"predicate": {
|
||||
"equipment": {
|
||||
"mainhand": {
|
||||
"tag": "armor_statues:potions",
|
||||
"potion": "minecraft:long_invisibility"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
]
|
||||
}
|
30
data/armor_statues/predicates/offhand_potion.json
Normal file
30
data/armor_statues/predicates/offhand_potion.json
Normal file
@@ -0,0 +1,30 @@
|
||||
{
|
||||
"condition": "minecraft:alternative",
|
||||
"terms": [
|
||||
{
|
||||
"condition": "minecraft:entity_properties",
|
||||
"entity": "this",
|
||||
"predicate": {
|
||||
"equipment": {
|
||||
"offhand": {
|
||||
"tag": "armor_statues:potions",
|
||||
"potion": "minecraft:invisibility"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"condition": "minecraft:entity_properties",
|
||||
"entity": "this",
|
||||
"predicate": {
|
||||
"equipment": {
|
||||
"offhand": {
|
||||
"tag": "armor_statues:potions",
|
||||
"potion": "minecraft:long_invisibility"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
]
|
||||
}
|
4
data/armor_statues/predicates/random_chance_10.json
Normal file
4
data/armor_statues/predicates/random_chance_10.json
Normal file
@@ -0,0 +1,4 @@
|
||||
{
|
||||
"condition": "minecraft:random_chance",
|
||||
"chance": 0.15
|
||||
}
|
4
data/armor_statues/predicates/random_chance_15.json
Normal file
4
data/armor_statues/predicates/random_chance_15.json
Normal file
@@ -0,0 +1,4 @@
|
||||
{
|
||||
"condition": "minecraft:random_chance",
|
||||
"chance": 0.15
|
||||
}
|
4
data/armor_statues/predicates/random_chance_20.json
Normal file
4
data/armor_statues/predicates/random_chance_20.json
Normal file
@@ -0,0 +1,4 @@
|
||||
{
|
||||
"condition": "minecraft:random_chance",
|
||||
"chance": 0.2
|
||||
}
|
4
data/armor_statues/predicates/random_chance_30.json
Normal file
4
data/armor_statues/predicates/random_chance_30.json
Normal file
@@ -0,0 +1,4 @@
|
||||
{
|
||||
"condition": "minecraft:random_chance",
|
||||
"chance": 0.3
|
||||
}
|
4
data/armor_statues/predicates/random_chance_40.json
Normal file
4
data/armor_statues/predicates/random_chance_40.json
Normal file
@@ -0,0 +1,4 @@
|
||||
{
|
||||
"condition": "minecraft:random_chance",
|
||||
"chance": 0.4
|
||||
}
|
4
data/armor_statues/predicates/random_chance_50.json
Normal file
4
data/armor_statues/predicates/random_chance_50.json
Normal file
@@ -0,0 +1,4 @@
|
||||
{
|
||||
"condition": "minecraft:random_chance",
|
||||
"chance": 0.50
|
||||
}
|
4
data/armor_statues/predicates/random_chance_70.json
Normal file
4
data/armor_statues/predicates/random_chance_70.json
Normal file
@@ -0,0 +1,4 @@
|
||||
{
|
||||
"condition": "minecraft:random_chance",
|
||||
"chance": 0.70
|
||||
}
|
4
data/armor_statues/predicates/random_chance_85.json
Normal file
4
data/armor_statues/predicates/random_chance_85.json
Normal file
@@ -0,0 +1,4 @@
|
||||
{
|
||||
"condition": "minecraft:random_chance",
|
||||
"chance": 0.85
|
||||
}
|
13
data/armor_statues/predicates/savedpose.json
Normal file
13
data/armor_statues/predicates/savedpose.json
Normal file
@@ -0,0 +1,13 @@
|
||||
{
|
||||
"condition": "minecraft:alternative",
|
||||
"terms": [
|
||||
{
|
||||
"condition": "minecraft:reference",
|
||||
"name": "armor_statues:savedpose_mainhand"
|
||||
},
|
||||
{
|
||||
"condition": "minecraft:reference",
|
||||
"name": "armor_statues:savedpose_offhand"
|
||||
}
|
||||
]
|
||||
}
|
12
data/armor_statues/predicates/savedpose_mainhand.json
Normal file
12
data/armor_statues/predicates/savedpose_mainhand.json
Normal file
@@ -0,0 +1,12 @@
|
||||
{
|
||||
"condition": "minecraft:entity_properties",
|
||||
"entity": "this",
|
||||
"predicate": {
|
||||
"equipment": {
|
||||
"mainhand": {
|
||||
"item": "minecraft:written_book",
|
||||
"nbt": "{datapack:ArmorStatuesV2, SavedPose:{} }"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
12
data/armor_statues/predicates/savedpose_offhand.json
Normal file
12
data/armor_statues/predicates/savedpose_offhand.json
Normal file
@@ -0,0 +1,12 @@
|
||||
{
|
||||
"condition": "minecraft:entity_properties",
|
||||
"entity": "this",
|
||||
"predicate": {
|
||||
"equipment": {
|
||||
"offhand": {
|
||||
"item": "minecraft:written_book",
|
||||
"nbt": "{datapack:ArmorStatuesV2, SavedPose:{} }"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user