first commit
This commit is contained in:
@ -0,0 +1,4 @@
|
||||
execute if score McVersion fktool matches 1..999 run tellraw @a ["",{"text":"[fktool]","bold":true,"color":"gold"},{"text":" Conflict detected between two of my datapacks. Proceed : "}]
|
||||
execute if score McVersion fktool matches 1..999 run tellraw @a ["",{"text":"[fktool]","bold":true,"color":"gold"},{"text":" 1. Download and update all FunkyToc's datapacks "},{"text":"[ get list ]","color":"aqua","clickEvent":{"action":"open_url","value":"https://www.planetminecraft.com/member/funkytoc/submissions/data-packs/"}}]
|
||||
execute if score McVersion fktool matches 1..999 run tellraw @a ["",{"text":"[fktool]","bold":true,"color":"gold"},{"text":" 2. Use /reload in game"}]
|
||||
execute if score McVersion fktool matches 1..999 run tellraw @a ["",{"text":"[fktool]","bold":true,"color":"gold"},{"text":" 3. Fixed. If the problem still persists, please contact me on "},{"text":"[ PMC ]","color":"aqua","clickEvent":{"action":"open_url","value":"https://www.planetminecraft.com/member/funkytoc/"}}]
|
@ -0,0 +1 @@
|
||||
execute store result score Difficulty fktool run difficulty
|
@ -0,0 +1,90 @@
|
||||
# scores
|
||||
scoreboard objectives add fktool dummy
|
||||
|
||||
# const
|
||||
scoreboard players set #-1 fktool -1
|
||||
scoreboard players set #1 fktool 1
|
||||
scoreboard players set #2 fktool 2
|
||||
scoreboard players set #3 fktool 3
|
||||
scoreboard players set #4 fktool 4
|
||||
scoreboard players set #5 fktool 5
|
||||
scoreboard players set #6 fktool 6
|
||||
scoreboard players set #7 fktool 7
|
||||
scoreboard players set #8 fktool 8
|
||||
scoreboard players set #9 fktool 9
|
||||
scoreboard players set #10 fktool 10
|
||||
scoreboard players set #11 fktool 11
|
||||
scoreboard players set #12 fktool 12
|
||||
scoreboard players set #13 fktool 13
|
||||
scoreboard players set #14 fktool 14
|
||||
scoreboard players set #15 fktool 15
|
||||
scoreboard players set #16 fktool 16
|
||||
scoreboard players set #17 fktool 17
|
||||
scoreboard players set #18 fktool 18
|
||||
scoreboard players set #19 fktool 19
|
||||
scoreboard players set #20 fktool 20
|
||||
scoreboard players set #25 fktool 25
|
||||
scoreboard players set #30 fktool 30
|
||||
scoreboard players set #35 fktool 35
|
||||
scoreboard players set #40 fktool 40
|
||||
scoreboard players set #45 fktool 45
|
||||
scoreboard players set #50 fktool 50
|
||||
scoreboard players set #55 fktool 55
|
||||
scoreboard players set #60 fktool 60
|
||||
scoreboard players set #65 fktool 65
|
||||
scoreboard players set #70 fktool 70
|
||||
scoreboard players set #75 fktool 75
|
||||
scoreboard players set #80 fktool 80
|
||||
scoreboard players set #85 fktool 85
|
||||
scoreboard players set #90 fktool 90
|
||||
scoreboard players set #91 fktool 91
|
||||
scoreboard players set #92 fktool 92
|
||||
scoreboard players set #93 fktool 93
|
||||
scoreboard players set #94 fktool 94
|
||||
scoreboard players set #95 fktool 95
|
||||
scoreboard players set #96 fktool 96
|
||||
scoreboard players set #97 fktool 97
|
||||
scoreboard players set #98 fktool 98
|
||||
scoreboard players set #99 fktool 99
|
||||
scoreboard players set #100 fktool 100
|
||||
scoreboard players set #101 fktool 101
|
||||
scoreboard players set #200 fktool 200
|
||||
scoreboard players set #300 fktool 300
|
||||
scoreboard players set #400 fktool 400
|
||||
scoreboard players set #500 fktool 500
|
||||
scoreboard players set #600 fktool 600
|
||||
scoreboard players set #700 fktool 700
|
||||
scoreboard players set #800 fktool 800
|
||||
scoreboard players set #900 fktool 900
|
||||
scoreboard players set #1000 fktool 1000
|
||||
scoreboard players set #10000 fktool 10000
|
||||
scoreboard players set #100000 fktool 100000
|
||||
scoreboard players set #1000000 fktool 1000000
|
||||
|
||||
# timestamps
|
||||
scoreboard players set #1min fktool 1200
|
||||
scoreboard players set #2min fktool 2400
|
||||
scoreboard players set #3min fktool 3600
|
||||
scoreboard players set #4min fktool 4800
|
||||
scoreboard players set #5min fktool 6000
|
||||
scoreboard players set #10min fktool 12000
|
||||
scoreboard players set #20min fktool 24000
|
||||
scoreboard players set #30min fktool 36000
|
||||
scoreboard players set #60min fktool 72000
|
||||
scoreboard players set #2hour fktool 144000
|
||||
scoreboard players set #4hour fktool 288000
|
||||
scoreboard players set #8hour fktool 576000
|
||||
|
||||
# properties
|
||||
|
||||
|
||||
# modules
|
||||
|
||||
|
||||
# check conflict
|
||||
function fktool:conflict
|
||||
|
||||
# init
|
||||
function fktool:difficulty/get
|
||||
function fktool:mcv/get
|
||||
function fktool:rng/get
|
@ -0,0 +1,27 @@
|
||||
# get
|
||||
execute store result score DataVersion fktool run data get entity @r DataVersion
|
||||
|
||||
# set
|
||||
scoreboard players set McVersion fktool 0
|
||||
execute if score DataVersion fktool matches 3700.. run scoreboard players set McVersion fktool 12004
|
||||
execute if score DataVersion fktool matches 3579..3699 run scoreboard players set McVersion fktool 12003
|
||||
execute if score DataVersion fktool matches 3567..3578 run scoreboard players set McVersion fktool 12002
|
||||
execute if score DataVersion fktool matches 3442..3465 run scoreboard players set McVersion fktool 12000
|
||||
execute if score DataVersion fktool matches 3320..3337 run scoreboard players set McVersion fktool 11904
|
||||
execute if score DataVersion fktool matches 3205..3218 run scoreboard players set McVersion fktool 11903
|
||||
execute if score DataVersion fktool matches 3066..3120 run scoreboard players set McVersion fktool 11900
|
||||
execute if score DataVersion fktool matches 2966..2975 run scoreboard players set McVersion fktool 11802
|
||||
execute if score DataVersion fktool matches 2825..2865 run scoreboard players set McVersion fktool 11800
|
||||
execute if score DataVersion fktool matches 2701..2730 run scoreboard players set McVersion fktool 11700
|
||||
execute if score DataVersion fktool matches 2569..2586 run scoreboard players set McVersion fktool 11602
|
||||
execute if score DataVersion fktool matches 2320..2567 run scoreboard players set McVersion fktool 11600
|
||||
execute if score DataVersion fktool matches 2067..2230 run scoreboard players set McVersion fktool 11500
|
||||
execute if score DataVersion fktool matches 1901..1976 run scoreboard players set McVersion fktool 11400
|
||||
execute if score DataVersion fktool matches 1444..1631 run scoreboard players set McVersion fktool 11300
|
||||
execute if score DataVersion fktool matches 1..1343 run scoreboard players set McVersion fktool 11200
|
||||
|
||||
# require
|
||||
execute unless entity @p run tellraw @a {"text":"WARNING: a connected player is required to get the Minecraft version. Default setting : 1.20.4 . Use /reload with a player ingame to update it.","color":"red"}
|
||||
execute if entity @p unless score DataVersion fktool matches 1.. run tellraw @a {"text":"ERROR: DataVersion not recognized. Do you use intensive plugins, mods or optimized server type? Default setting : 1.20.4.","color":"red"}
|
||||
execute unless score DataVersion fktool matches 1.. run scoreboard players set DataVersion fktool -1
|
||||
execute if score DataVersion fktool matches -1 run scoreboard players set McVersion fktool 12004
|
@ -0,0 +1,3 @@
|
||||
execute if score McVersion fktool matches ..11500 run function fktool:rng/rand_1.13
|
||||
execute if score McVersion fktool matches 11600..11602 run function fktool:rng/rand_1.16
|
||||
execute if score McVersion fktool matches 11700.. run function fktool:rng/rand_1.17
|
@ -0,0 +1,4 @@
|
||||
summon minecraft:area_effect_cloud ~ 1 ~ {Tags:["fktool.rng"]}
|
||||
execute store result score Random fktool run data get entity @e[type=minecraft:area_effect_cloud,tag=fktool.rng,limit=1] UUIDMost 0.00000000023283064
|
||||
scoreboard players operation Random fktool %= #101 fktool
|
||||
kill @e[type=minecraft:area_effect_cloud,tag=fktool.rng]
|
@ -0,0 +1,4 @@
|
||||
summon minecraft:area_effect_cloud ~ 1 ~ {Tags:["fktool.rng"]}
|
||||
execute store result score Random fktool run data get entity @e[type=minecraft:area_effect_cloud,tag=fktool.rng,limit=1] UUID[0] 1
|
||||
scoreboard players operation Random fktool %= #101 fktool
|
||||
kill @e[type=minecraft:area_effect_cloud,tag=fktool.rng]
|
@ -0,0 +1,4 @@
|
||||
summon minecraft:marker ~ 1 ~ {Tags:["fktool.rng"]}
|
||||
execute store result score Random fktool run data get entity @e[type=minecraft:marker,tag=fktool.rng,limit=1] UUID[0] 1
|
||||
scoreboard players operation Random fktool %= #101 fktool
|
||||
kill @e[type=minecraft:marker,tag=fktool.rng]
|
@ -0,0 +1,3 @@
|
||||
data modify storage fktool:systime int_array set value ["9","8","8","7","7","7","6","6","6","6","5","5","5","5","5","4","4","4","4","4","4","3","3","3","3","3","3","3","2","2","2","2","2","2","2","2","1","1","1","1","1","1","1","1","1","0","0","0","0","0","0","0","0","0","0"]
|
||||
execute store result score #int fktool run data modify storage fktool:systime int_array[] set from storage fktool:systime input
|
||||
scoreboard players remove #int fktool 45
|
@ -0,0 +1,7 @@
|
||||
# set / reset
|
||||
execute unless entity @e[type=minecraft:marker,tag=fktool.systime,limit=1] run schedule function fktool:systime/install 1t
|
||||
execute at @e[type=minecraft:marker,tag=fktool.systime,limit=1] unless block ~ ~ ~ repeating_command_block run schedule function fktool:systime/install 1t
|
||||
|
||||
# get
|
||||
execute if score McVersion fktool matches 12003.. as @e[type=minecraft:marker,tag=fktool.systime,limit=1] at @s run function fktool:systime/read_1.20
|
||||
execute if score McVersion fktool matches 11904..12002 as @e[type=minecraft:marker,tag=fktool.systime,limit=1] at @s run function fktool:systime/read_1.19
|
@ -0,0 +1,2 @@
|
||||
execute if score McVersion fktool matches 11904.. run function fktool:systime/do
|
||||
execute if score McVersion fktool matches ..11903 run tellraw @a[gamemode=creative] {"text":"fktool.systime require 1.19.4+","color":"red"}
|
@ -0,0 +1,11 @@
|
||||
# install
|
||||
tellraw @p[name=FunkyToc] {"text":"fktool.systime require enabling command_block.","color":"red"}
|
||||
tellraw @p[name=FunkyToc] {"text":"fktool.systime installed. Please, do it again.","color":"red"}
|
||||
|
||||
# remove prev
|
||||
function fktool:systime/unset
|
||||
|
||||
# summon new
|
||||
execute positioned ~.5 -63.5 ~.5 run setblock ~ ~ ~ repeating_command_block{auto:1b,Command:"help me",TrackOutput:1b}
|
||||
execute positioned ~.5 -63.5 ~.5 run summon marker ~ ~ ~ {Tags: ["fktool.systime"]}
|
||||
execute positioned ~.5 -63.5 ~.5 run forceload add ~ ~
|
@ -0,0 +1,26 @@
|
||||
# get hour
|
||||
data modify storage fktool:systime input set string block ~ ~ ~ LastOutput 44 45
|
||||
function fktool:systime/convert
|
||||
execute store result score SysTime.hour fktool run scoreboard players operation #int fktool *= #10 fktool
|
||||
|
||||
data modify storage fktool:systime input set string block ~ ~ ~ LastOutput 45 46
|
||||
function fktool:systime/convert
|
||||
scoreboard players operation SysTime.hour fktool += #int fktool
|
||||
|
||||
# get minute
|
||||
data modify storage fktool:systime input set string block ~ ~ ~ LastOutput 47 48
|
||||
function fktool:systime/convert
|
||||
execute store result score SysTime.min fktool run scoreboard players operation #int fktool *= #10 fktool
|
||||
|
||||
data modify storage fktool:systime input set string block ~ ~ ~ LastOutput 48 49
|
||||
function fktool:systime/convert
|
||||
scoreboard players operation SysTime.min fktool += #int fktool
|
||||
|
||||
# get second
|
||||
data modify storage fktool:systime input set string block ~ ~ ~ LastOutput 50 51
|
||||
function fktool:systime/convert
|
||||
execute store result score SysTime.sec fktool run scoreboard players operation #int fktool *= #10 fktool
|
||||
|
||||
data modify storage fktool:systime input set string block ~ ~ ~ LastOutput 51 52
|
||||
function fktool:systime/convert
|
||||
scoreboard players operation SysTime.sec fktool += #int fktool
|
@ -0,0 +1,26 @@
|
||||
# get hour
|
||||
data modify storage fktool:systime input set string block ~ ~ ~ LastOutput 44 45
|
||||
function fktool:systime/convert
|
||||
execute store result score SysTime.hour fktool run scoreboard players operation #int fktool *= #10 fktool
|
||||
|
||||
data modify storage fktool:systime input set string block ~ ~ ~ LastOutput 45 46
|
||||
function fktool:systime/convert
|
||||
scoreboard players operation SysTime.hour fktool += #int fktool
|
||||
|
||||
# get minute
|
||||
data modify storage fktool:systime input set string block ~ ~ ~ LastOutput 47 48
|
||||
function fktool:systime/convert
|
||||
execute store result score SysTime.min fktool run scoreboard players operation #int fktool *= #10 fktool
|
||||
|
||||
data modify storage fktool:systime input set string block ~ ~ ~ LastOutput 48 49
|
||||
function fktool:systime/convert
|
||||
scoreboard players operation SysTime.min fktool += #int fktool
|
||||
|
||||
# get second
|
||||
data modify storage fktool:systime input set string block ~ ~ ~ LastOutput 50 51
|
||||
function fktool:systime/convert
|
||||
execute store result score SysTime.sec fktool run scoreboard players operation #int fktool *= #10 fktool
|
||||
|
||||
data modify storage fktool:systime input set string block ~ ~ ~ LastOutput 51 52
|
||||
function fktool:systime/convert
|
||||
scoreboard players operation SysTime.sec fktool += #int fktool
|
@ -0,0 +1,26 @@
|
||||
# get hour
|
||||
data modify storage fktool:systime input set string block ~ ~ ~ LastOutput 10 11
|
||||
function fktool:systime/convert
|
||||
execute store result score SysTime.hour fktool run scoreboard players operation #int fktool *= #10 fktool
|
||||
|
||||
data modify storage fktool:systime input set string block ~ ~ ~ LastOutput 11 12
|
||||
function fktool:systime/convert
|
||||
scoreboard players operation SysTime.hour fktool += #int fktool
|
||||
|
||||
# get minute
|
||||
data modify storage fktool:systime input set string block ~ ~ ~ LastOutput 13 14
|
||||
function fktool:systime/convert
|
||||
execute store result score SysTime.min fktool run scoreboard players operation #int fktool *= #10 fktool
|
||||
|
||||
data modify storage fktool:systime input set string block ~ ~ ~ LastOutput 14 15
|
||||
function fktool:systime/convert
|
||||
scoreboard players operation SysTime.min fktool += #int fktool
|
||||
|
||||
# get second
|
||||
data modify storage fktool:systime input set string block ~ ~ ~ LastOutput 16 17
|
||||
function fktool:systime/convert
|
||||
execute store result score SysTime.sec fktool run scoreboard players operation #int fktool *= #10 fktool
|
||||
|
||||
data modify storage fktool:systime input set string block ~ ~ ~ LastOutput 17 18
|
||||
function fktool:systime/convert
|
||||
scoreboard players operation SysTime.sec fktool += #int fktool
|
@ -0,0 +1,3 @@
|
||||
execute at @e[type=minecraft:marker,tag=fktool.systime] run setblock ~ ~ ~ air
|
||||
execute at @e[type=minecraft:marker,tag=fktool.systime] run forceload remove ~ ~
|
||||
kill @e[type=minecraft:marker,tag=fktool.systime]
|
@ -0,0 +1,2 @@
|
||||
scoreboard players reset * fktool
|
||||
scoreboard objectives remove fktool
|
@ -0,0 +1,23 @@
|
||||
{
|
||||
"condition": "minecraft:any_of",
|
||||
"terms": [
|
||||
{
|
||||
"condition": "minecraft:location_check",
|
||||
"predicate": {
|
||||
"biome": "minecraft:badlands"
|
||||
}
|
||||
},
|
||||
{
|
||||
"condition": "minecraft:location_check",
|
||||
"predicate": {
|
||||
"biome": "minecraft:eroded_badlands"
|
||||
}
|
||||
},
|
||||
{
|
||||
"condition": "minecraft:location_check",
|
||||
"predicate": {
|
||||
"biome": "minecraft:wooded_badlands"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
@ -0,0 +1,6 @@
|
||||
{
|
||||
"condition": "minecraft:location_check",
|
||||
"predicate": {
|
||||
"biome": "minecraft:basalt_deltas"
|
||||
}
|
||||
}
|
@ -0,0 +1,29 @@
|
||||
{
|
||||
"condition": "minecraft:any_of",
|
||||
"terms": [
|
||||
{
|
||||
"condition": "minecraft:location_check",
|
||||
"predicate": {
|
||||
"biome": "minecraft:beach"
|
||||
}
|
||||
},
|
||||
{
|
||||
"condition": "minecraft:location_check",
|
||||
"predicate": {
|
||||
"biome": "minecraft:snowy_beach"
|
||||
}
|
||||
},
|
||||
{
|
||||
"condition": "minecraft:location_check",
|
||||
"predicate": {
|
||||
"biome": "minecraft:stony_shore"
|
||||
}
|
||||
},
|
||||
{
|
||||
"condition": "minecraft:location_check",
|
||||
"predicate": {
|
||||
"biome": "minecraft:mushroom_fields"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
@ -0,0 +1,13 @@
|
||||
{
|
||||
"condition": "minecraft:any_of",
|
||||
"terms": [
|
||||
{
|
||||
"condition": "minecraft:reference",
|
||||
"name": "fktool:biome/in_taiga"
|
||||
},
|
||||
{
|
||||
"condition": "minecraft:reference",
|
||||
"name": "fktool:biome/in_snow"
|
||||
}
|
||||
]
|
||||
}
|
@ -0,0 +1,6 @@
|
||||
{
|
||||
"condition": "minecraft:location_check",
|
||||
"predicate": {
|
||||
"biome": "minecraft:crimson_forest"
|
||||
}
|
||||
}
|
@ -0,0 +1,11 @@
|
||||
{
|
||||
"condition": "minecraft:any_of",
|
||||
"terms": [
|
||||
{
|
||||
"condition": "minecraft:location_check",
|
||||
"predicate": {
|
||||
"biome": "minecraft:deep_dark"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
@ -0,0 +1,11 @@
|
||||
{
|
||||
"condition": "minecraft:any_of",
|
||||
"terms": [
|
||||
{
|
||||
"condition": "minecraft:location_check",
|
||||
"predicate": {
|
||||
"biome": "minecraft:desert"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
@ -0,0 +1,53 @@
|
||||
{
|
||||
"condition": "minecraft:any_of",
|
||||
"terms": [
|
||||
{
|
||||
"condition": "minecraft:location_check",
|
||||
"predicate": {
|
||||
"biome": "minecraft:forest"
|
||||
}
|
||||
},
|
||||
{
|
||||
"condition": "minecraft:location_check",
|
||||
"predicate": {
|
||||
"biome": "minecraft:dark_forest"
|
||||
}
|
||||
},
|
||||
{
|
||||
"condition": "minecraft:location_check",
|
||||
"predicate": {
|
||||
"biome": "minecraft:flower_forest"
|
||||
}
|
||||
},
|
||||
{
|
||||
"condition": "minecraft:location_check",
|
||||
"predicate": {
|
||||
"biome": "minecraft:birch_forest"
|
||||
}
|
||||
},
|
||||
{
|
||||
"condition": "minecraft:location_check",
|
||||
"predicate": {
|
||||
"biome": "minecraft:crimson_forest"
|
||||
}
|
||||
},
|
||||
{
|
||||
"condition": "minecraft:location_check",
|
||||
"predicate": {
|
||||
"biome": "minecraft:old_growth_birch_forest"
|
||||
}
|
||||
},
|
||||
{
|
||||
"condition": "minecraft:location_check",
|
||||
"predicate": {
|
||||
"biome": "minecraft:warped_forest"
|
||||
}
|
||||
},
|
||||
{
|
||||
"condition": "minecraft:location_check",
|
||||
"predicate": {
|
||||
"biome": "minecraft:windswept_forest"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
@ -0,0 +1,23 @@
|
||||
{
|
||||
"condition": "minecraft:any_of",
|
||||
"terms": [
|
||||
{
|
||||
"condition": "minecraft:location_check",
|
||||
"predicate": {
|
||||
"biome": "minecraft:jungle"
|
||||
}
|
||||
},
|
||||
{
|
||||
"condition": "minecraft:location_check",
|
||||
"predicate": {
|
||||
"biome": "minecraft:sparse_jungle"
|
||||
}
|
||||
},
|
||||
{
|
||||
"condition": "minecraft:location_check",
|
||||
"predicate": {
|
||||
"biome": "minecraft:bamboo_jungle"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
@ -0,0 +1,6 @@
|
||||
{
|
||||
"condition": "minecraft:location_check",
|
||||
"predicate": {
|
||||
"biome": "minecraft:nether_wastes"
|
||||
}
|
||||
}
|
@ -0,0 +1,59 @@
|
||||
{
|
||||
"condition": "minecraft:any_of",
|
||||
"terms": [
|
||||
{
|
||||
"condition": "minecraft:location_check",
|
||||
"predicate": {
|
||||
"biome": "minecraft:ocean"
|
||||
}
|
||||
},
|
||||
{
|
||||
"condition": "minecraft:location_check",
|
||||
"predicate": {
|
||||
"biome": "minecraft:cold_ocean"
|
||||
}
|
||||
},
|
||||
{
|
||||
"condition": "minecraft:location_check",
|
||||
"predicate": {
|
||||
"biome": "minecraft:deep_cold_ocean"
|
||||
}
|
||||
},
|
||||
{
|
||||
"condition": "minecraft:location_check",
|
||||
"predicate": {
|
||||
"biome": "minecraft:deep_frozen_ocean"
|
||||
}
|
||||
},
|
||||
{
|
||||
"condition": "minecraft:location_check",
|
||||
"predicate": {
|
||||
"biome": "minecraft:deep_lukewarm_ocean"
|
||||
}
|
||||
},
|
||||
{
|
||||
"condition": "minecraft:location_check",
|
||||
"predicate": {
|
||||
"biome": "minecraft:deep_ocean"
|
||||
}
|
||||
},
|
||||
{
|
||||
"condition": "minecraft:location_check",
|
||||
"predicate": {
|
||||
"biome": "minecraft:frozen_ocean"
|
||||
}
|
||||
},
|
||||
{
|
||||
"condition": "minecraft:location_check",
|
||||
"predicate": {
|
||||
"biome": "minecraft:lukewarm_ocean"
|
||||
}
|
||||
},
|
||||
{
|
||||
"condition": "minecraft:location_check",
|
||||
"predicate": {
|
||||
"biome": "minecraft:warm_ocean"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
@ -0,0 +1,65 @@
|
||||
{
|
||||
"condition": "minecraft:any_of",
|
||||
"terms": [
|
||||
{
|
||||
"condition": "minecraft:location_check",
|
||||
"predicate": {
|
||||
"biome": "minecraft:plains"
|
||||
}
|
||||
},
|
||||
{
|
||||
"condition": "minecraft:location_check",
|
||||
"predicate": {
|
||||
"biome": "minecraft:sunflower_plains"
|
||||
}
|
||||
},
|
||||
{
|
||||
"condition": "minecraft:location_check",
|
||||
"predicate": {
|
||||
"biome": "minecraft:river"
|
||||
}
|
||||
},
|
||||
{
|
||||
"condition": "minecraft:location_check",
|
||||
"predicate": {
|
||||
"biome": "minecraft:forest"
|
||||
}
|
||||
},
|
||||
{
|
||||
"condition": "minecraft:location_check",
|
||||
"predicate": {
|
||||
"biome": "minecraft:flower_forest"
|
||||
}
|
||||
},
|
||||
{
|
||||
"condition": "minecraft:location_check",
|
||||
"predicate": {
|
||||
"biome": "minecraft:birch_forest"
|
||||
}
|
||||
},
|
||||
{
|
||||
"condition": "minecraft:location_check",
|
||||
"predicate": {
|
||||
"biome": "minecraft:old_growth_birch_forest"
|
||||
}
|
||||
},
|
||||
{
|
||||
"condition": "minecraft:location_check",
|
||||
"predicate": {
|
||||
"biome": "minecraft:dark_forest"
|
||||
}
|
||||
},
|
||||
{
|
||||
"condition": "minecraft:location_check",
|
||||
"predicate": {
|
||||
"biome": "minecraft:beach"
|
||||
}
|
||||
},
|
||||
{
|
||||
"condition": "minecraft:location_check",
|
||||
"predicate": {
|
||||
"biome": "minecraft:meadow"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
@ -0,0 +1,17 @@
|
||||
{
|
||||
"condition": "minecraft:any_of",
|
||||
"terms": [
|
||||
{
|
||||
"condition": "minecraft:location_check",
|
||||
"predicate": {
|
||||
"biome": "minecraft:river"
|
||||
}
|
||||
},
|
||||
{
|
||||
"condition": "minecraft:location_check",
|
||||
"predicate": {
|
||||
"biome": "minecraft:frozen_river"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
@ -0,0 +1,23 @@
|
||||
{
|
||||
"condition": "minecraft:any_of",
|
||||
"terms": [
|
||||
{
|
||||
"condition": "minecraft:location_check",
|
||||
"predicate": {
|
||||
"biome": "minecraft:savanna"
|
||||
}
|
||||
},
|
||||
{
|
||||
"condition": "minecraft:location_check",
|
||||
"predicate": {
|
||||
"biome": "minecraft:savanna_plateau"
|
||||
}
|
||||
},
|
||||
{
|
||||
"condition": "minecraft:location_check",
|
||||
"predicate": {
|
||||
"biome": "minecraft:windswept_savanna"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
@ -0,0 +1,71 @@
|
||||
{
|
||||
"condition": "minecraft:any_of",
|
||||
"terms": [
|
||||
{
|
||||
"condition": "minecraft:location_check",
|
||||
"predicate": {
|
||||
"biome": "minecraft:snowy_beach"
|
||||
}
|
||||
},
|
||||
{
|
||||
"condition": "minecraft:location_check",
|
||||
"predicate": {
|
||||
"biome": "minecraft:snowy_plains"
|
||||
}
|
||||
},
|
||||
{
|
||||
"condition": "minecraft:location_check",
|
||||
"predicate": {
|
||||
"biome": "minecraft:snowy_slopes"
|
||||
}
|
||||
},
|
||||
{
|
||||
"condition": "minecraft:location_check",
|
||||
"predicate": {
|
||||
"biome": "minecraft:snowy_taiga"
|
||||
}
|
||||
},
|
||||
{
|
||||
"condition": "minecraft:location_check",
|
||||
"predicate": {
|
||||
"biome": "minecraft:grove"
|
||||
}
|
||||
},
|
||||
{
|
||||
"condition": "minecraft:location_check",
|
||||
"predicate": {
|
||||
"biome": "minecraft:jagged_peaks"
|
||||
}
|
||||
},
|
||||
{
|
||||
"condition": "minecraft:location_check",
|
||||
"predicate": {
|
||||
"biome": "minecraft:frozen_river"
|
||||
}
|
||||
},
|
||||
{
|
||||
"condition": "minecraft:location_check",
|
||||
"predicate": {
|
||||
"biome": "minecraft:frozen_ocean"
|
||||
}
|
||||
},
|
||||
{
|
||||
"condition": "minecraft:location_check",
|
||||
"predicate": {
|
||||
"biome": "minecraft:frozen_peaks"
|
||||
}
|
||||
},
|
||||
{
|
||||
"condition": "minecraft:location_check",
|
||||
"predicate": {
|
||||
"biome": "minecraft:deep_frozen_ocean"
|
||||
}
|
||||
},
|
||||
{
|
||||
"condition": "minecraft:location_check",
|
||||
"predicate": {
|
||||
"biome": "minecraft:ice_spikes"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
@ -0,0 +1,6 @@
|
||||
{
|
||||
"condition": "minecraft:location_check",
|
||||
"predicate": {
|
||||
"biome": "minecraft:soul_sand_valley"
|
||||
}
|
||||
}
|
@ -0,0 +1,17 @@
|
||||
{
|
||||
"condition": "minecraft:any_of",
|
||||
"terms": [
|
||||
{
|
||||
"condition": "minecraft:location_check",
|
||||
"predicate": {
|
||||
"biome": "minecraft:swamp"
|
||||
}
|
||||
},
|
||||
{
|
||||
"condition": "minecraft:location_check",
|
||||
"predicate": {
|
||||
"biome": "minecraft:mangrove_swamp"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
@ -0,0 +1,29 @@
|
||||
{
|
||||
"condition": "minecraft:any_of",
|
||||
"terms": [
|
||||
{
|
||||
"condition": "minecraft:location_check",
|
||||
"predicate": {
|
||||
"biome": "minecraft:taiga"
|
||||
}
|
||||
},
|
||||
{
|
||||
"condition": "minecraft:location_check",
|
||||
"predicate": {
|
||||
"biome": "minecraft:snowy_taiga"
|
||||
}
|
||||
},
|
||||
{
|
||||
"condition": "minecraft:location_check",
|
||||
"predicate": {
|
||||
"biome": "minecraft:old_growth_pine_taiga"
|
||||
}
|
||||
},
|
||||
{
|
||||
"condition": "minecraft:location_check",
|
||||
"predicate": {
|
||||
"biome": "minecraft:old_growth_spruce_taiga"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
@ -0,0 +1,6 @@
|
||||
{
|
||||
"condition": "minecraft:location_check",
|
||||
"predicate": {
|
||||
"biome": "minecraft:warped_forest"
|
||||
}
|
||||
}
|
@ -0,0 +1,7 @@
|
||||
{
|
||||
"condition": "minecraft:entity_properties",
|
||||
"entity": "this",
|
||||
"predicate": {
|
||||
"nbt": "{FallFlying:1b}"
|
||||
}
|
||||
}
|
@ -0,0 +1,13 @@
|
||||
{
|
||||
"condition": "minecraft:any_of",
|
||||
"terms": [
|
||||
{
|
||||
"condition": "minecraft:reference",
|
||||
"name": "fktool:entity/in_air_feet"
|
||||
},
|
||||
{
|
||||
"condition": "minecraft:reference",
|
||||
"name": "fktool:entity/in_air_eye"
|
||||
}
|
||||
]
|
||||
}
|
@ -0,0 +1,9 @@
|
||||
{
|
||||
"condition": "minecraft:location_check",
|
||||
"offsetY": 1,
|
||||
"predicate": {
|
||||
"block": {
|
||||
"tag": "fktool:airs"
|
||||
}
|
||||
}
|
||||
}
|
@ -0,0 +1,9 @@
|
||||
{
|
||||
"condition": "minecraft:location_check",
|
||||
"offsetY": 0,
|
||||
"predicate": {
|
||||
"block": {
|
||||
"tag": "fktool:airs"
|
||||
}
|
||||
}
|
||||
}
|
@ -0,0 +1,13 @@
|
||||
{
|
||||
"condition": "minecraft:any_of",
|
||||
"terms": [
|
||||
{
|
||||
"condition": "minecraft:reference",
|
||||
"name": "fktool:entity/in_lava_feet"
|
||||
},
|
||||
{
|
||||
"condition": "minecraft:reference",
|
||||
"name": "fktool:entity/in_lava_eye"
|
||||
}
|
||||
]
|
||||
}
|
@ -0,0 +1,23 @@
|
||||
{
|
||||
"condition": "minecraft:any_of",
|
||||
"terms": [
|
||||
{
|
||||
"condition": "minecraft:location_check",
|
||||
"offsetY": 1,
|
||||
"predicate": {
|
||||
"fluid": {
|
||||
"fluid": "minecraft:lava"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"condition": "minecraft:location_check",
|
||||
"offsetY": 1,
|
||||
"predicate": {
|
||||
"fluid": {
|
||||
"fluid": "minecraft:flowing_lava"
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
@ -0,0 +1,23 @@
|
||||
{
|
||||
"condition": "minecraft:any_of",
|
||||
"terms": [
|
||||
{
|
||||
"condition": "minecraft:location_check",
|
||||
"offsetY": 0,
|
||||
"predicate": {
|
||||
"fluid": {
|
||||
"fluid": "minecraft:lava"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"condition": "minecraft:location_check",
|
||||
"offsetY": 0,
|
||||
"predicate": {
|
||||
"fluid": {
|
||||
"fluid": "minecraft:flowing_lava"
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
@ -0,0 +1,10 @@
|
||||
[
|
||||
{
|
||||
"condition": "minecraft:reference",
|
||||
"name": "fktool:entity/in_lava_feet"
|
||||
},
|
||||
{
|
||||
"condition": "minecraft:reference",
|
||||
"name": "fktool:entity/in_lava_eye"
|
||||
}
|
||||
]
|
@ -0,0 +1,13 @@
|
||||
{
|
||||
"condition": "minecraft:any_of",
|
||||
"terms": [
|
||||
{
|
||||
"condition": "minecraft:reference",
|
||||
"name": "fktool:entity/in_snow_feet"
|
||||
},
|
||||
{
|
||||
"condition": "minecraft:reference",
|
||||
"name": "fktool:entity/in_snow_eye"
|
||||
}
|
||||
]
|
||||
}
|
@ -0,0 +1,18 @@
|
||||
{
|
||||
"condition": "minecraft:any_of",
|
||||
"terms": [
|
||||
{
|
||||
"condition": "minecraft:location_check",
|
||||
"offsetY": 1,
|
||||
"predicate": {
|
||||
"block": {
|
||||
"blocks": [
|
||||
"minecraft:powder_snow",
|
||||
"minecraft:snow",
|
||||
"minecraft:snow_block"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
@ -0,0 +1,18 @@
|
||||
{
|
||||
"condition": "minecraft:any_of",
|
||||
"terms": [
|
||||
{
|
||||
"condition": "minecraft:location_check",
|
||||
"offsetY": 0,
|
||||
"predicate": {
|
||||
"block": {
|
||||
"blocks": [
|
||||
"minecraft:powder_snow",
|
||||
"minecraft:snow",
|
||||
"minecraft:snow_block"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
@ -0,0 +1,13 @@
|
||||
{
|
||||
"condition": "minecraft:any_of",
|
||||
"terms": [
|
||||
{
|
||||
"condition": "minecraft:reference",
|
||||
"name": "fktool:entity/in_water_feet"
|
||||
},
|
||||
{
|
||||
"condition": "minecraft:reference",
|
||||
"name": "fktool:entity/in_water_eye"
|
||||
}
|
||||
]
|
||||
}
|
@ -0,0 +1,23 @@
|
||||
{
|
||||
"condition": "minecraft:any_of",
|
||||
"terms": [
|
||||
{
|
||||
"condition": "minecraft:location_check",
|
||||
"offsetY": 1,
|
||||
"predicate": {
|
||||
"fluid": {
|
||||
"fluid": "minecraft:water"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"condition": "minecraft:location_check",
|
||||
"offsetY": 1,
|
||||
"predicate": {
|
||||
"fluid": {
|
||||
"fluid": "minecraft:flowing_water"
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
@ -0,0 +1,23 @@
|
||||
{
|
||||
"condition": "minecraft:any_of",
|
||||
"terms": [
|
||||
{
|
||||
"condition": "minecraft:location_check",
|
||||
"offsetY": 0,
|
||||
"predicate": {
|
||||
"fluid": {
|
||||
"fluid": "minecraft:water"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"condition": "minecraft:location_check",
|
||||
"offsetY": 0,
|
||||
"predicate": {
|
||||
"fluid": {
|
||||
"fluid": "minecraft:flowing_water"
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
@ -0,0 +1,10 @@
|
||||
[
|
||||
{
|
||||
"condition": "minecraft:reference",
|
||||
"name": "fktool:entity/in_water_feet"
|
||||
},
|
||||
{
|
||||
"condition": "minecraft:reference",
|
||||
"name": "fktool:entity/in_water_eye"
|
||||
}
|
||||
]
|
@ -0,0 +1,54 @@
|
||||
[
|
||||
{
|
||||
"condition": "minecraft:entity_properties",
|
||||
"entity": "this",
|
||||
"predicate": {
|
||||
"equipment": {
|
||||
"head": {
|
||||
"items": [
|
||||
"minecraft:air"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"condition": "minecraft:entity_properties",
|
||||
"entity": "this",
|
||||
"predicate": {
|
||||
"equipment": {
|
||||
"chest": {
|
||||
"items": [
|
||||
"minecraft:air"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"condition": "minecraft:entity_properties",
|
||||
"entity": "this",
|
||||
"predicate": {
|
||||
"equipment": {
|
||||
"legs": {
|
||||
"items": [
|
||||
"minecraft:air"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"condition": "minecraft:entity_properties",
|
||||
"entity": "this",
|
||||
"predicate": {
|
||||
"equipment": {
|
||||
"feet": {
|
||||
"items": [
|
||||
"minecraft:air"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
@ -0,0 +1,21 @@
|
||||
{
|
||||
"condition": "minecraft:any_of",
|
||||
"terms": [
|
||||
{
|
||||
"condition": "minecraft:reference",
|
||||
"name": "fktool:entity/inv/empty_offhand"
|
||||
},
|
||||
{
|
||||
"condition": "minecraft:reference",
|
||||
"name": "fktool:entity/inv/empty_armor"
|
||||
},
|
||||
{
|
||||
"condition": "minecraft:reference",
|
||||
"name": "fktool:entity/inv/empty_hotbar"
|
||||
},
|
||||
{
|
||||
"condition": "minecraft:reference",
|
||||
"name": "fktool:entity/inv/empty_inv"
|
||||
}
|
||||
]
|
||||
}
|
@ -0,0 +1,71 @@
|
||||
{
|
||||
"condition": "minecraft:inverted",
|
||||
"term": {
|
||||
"condition": "minecraft:any_of",
|
||||
"terms": [
|
||||
{
|
||||
"condition": "minecraft:entity_properties",
|
||||
"entity": "this",
|
||||
"predicate": {
|
||||
"nbt": "{Inventory:[{Slot:0b}]}"
|
||||
}
|
||||
},
|
||||
{
|
||||
"condition": "minecraft:entity_properties",
|
||||
"entity": "this",
|
||||
"predicate": {
|
||||
"nbt": "{Inventory:[{Slot:1b}]}"
|
||||
}
|
||||
},
|
||||
{
|
||||
"condition": "minecraft:entity_properties",
|
||||
"entity": "this",
|
||||
"predicate": {
|
||||
"nbt": "{Inventory:[{Slot:2b}]}"
|
||||
}
|
||||
},
|
||||
{
|
||||
"condition": "minecraft:entity_properties",
|
||||
"entity": "this",
|
||||
"predicate": {
|
||||
"nbt": "{Inventory:[{Slot:3b}]}"
|
||||
}
|
||||
},
|
||||
{
|
||||
"condition": "minecraft:entity_properties",
|
||||
"entity": "this",
|
||||
"predicate": {
|
||||
"nbt": "{Inventory:[{Slot:4b}]}"
|
||||
}
|
||||
},
|
||||
{
|
||||
"condition": "minecraft:entity_properties",
|
||||
"entity": "this",
|
||||
"predicate": {
|
||||
"nbt": "{Inventory:[{Slot:5b}]}"
|
||||
}
|
||||
},
|
||||
{
|
||||
"condition": "minecraft:entity_properties",
|
||||
"entity": "this",
|
||||
"predicate": {
|
||||
"nbt": "{Inventory:[{Slot:6b}]}"
|
||||
}
|
||||
},
|
||||
{
|
||||
"condition": "minecraft:entity_properties",
|
||||
"entity": "this",
|
||||
"predicate": {
|
||||
"nbt": "{Inventory:[{Slot:7b}]}"
|
||||
}
|
||||
},
|
||||
{
|
||||
"condition": "minecraft:entity_properties",
|
||||
"entity": "this",
|
||||
"predicate": {
|
||||
"nbt": "{Inventory:[{Slot:8b}]}"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
@ -0,0 +1,197 @@
|
||||
{
|
||||
"condition": "minecraft:inverted",
|
||||
"term": {
|
||||
"condition": "minecraft:any_of",
|
||||
"terms": [
|
||||
{
|
||||
"condition": "minecraft:entity_properties",
|
||||
"entity": "this",
|
||||
"predicate": {
|
||||
"nbt": "{Inventory:[{Slot:9b}]}"
|
||||
}
|
||||
},
|
||||
{
|
||||
"condition": "minecraft:entity_properties",
|
||||
"entity": "this",
|
||||
"predicate": {
|
||||
"nbt": "{Inventory:[{Slot:10b}]}"
|
||||
}
|
||||
},
|
||||
{
|
||||
"condition": "minecraft:entity_properties",
|
||||
"entity": "this",
|
||||
"predicate": {
|
||||
"nbt": "{Inventory:[{Slot:11b}]}"
|
||||
}
|
||||
},
|
||||
{
|
||||
"condition": "minecraft:entity_properties",
|
||||
"entity": "this",
|
||||
"predicate": {
|
||||
"nbt": "{Inventory:[{Slot:12b}]}"
|
||||
}
|
||||
},
|
||||
{
|
||||
"condition": "minecraft:entity_properties",
|
||||
"entity": "this",
|
||||
"predicate": {
|
||||
"nbt": "{Inventory:[{Slot:13b}]}"
|
||||
}
|
||||
},
|
||||
{
|
||||
"condition": "minecraft:entity_properties",
|
||||
"entity": "this",
|
||||
"predicate": {
|
||||
"nbt": "{Inventory:[{Slot:14b}]}"
|
||||
}
|
||||
},
|
||||
{
|
||||
"condition": "minecraft:entity_properties",
|
||||
"entity": "this",
|
||||
"predicate": {
|
||||
"nbt": "{Inventory:[{Slot:15b}]}"
|
||||
}
|
||||
},
|
||||
{
|
||||
"condition": "minecraft:entity_properties",
|
||||
"entity": "this",
|
||||
"predicate": {
|
||||
"nbt": "{Inventory:[{Slot:16b}]}"
|
||||
}
|
||||
},
|
||||
{
|
||||
"condition": "minecraft:entity_properties",
|
||||
"entity": "this",
|
||||
"predicate": {
|
||||
"nbt": "{Inventory:[{Slot:17b}]}"
|
||||
}
|
||||
},
|
||||
{
|
||||
"condition": "minecraft:entity_properties",
|
||||
"entity": "this",
|
||||
"predicate": {
|
||||
"nbt": "{Inventory:[{Slot:18b}]}"
|
||||
}
|
||||
},
|
||||
{
|
||||
"condition": "minecraft:entity_properties",
|
||||
"entity": "this",
|
||||
"predicate": {
|
||||
"nbt": "{Inventory:[{Slot:19b}]}"
|
||||
}
|
||||
},
|
||||
{
|
||||
"condition": "minecraft:entity_properties",
|
||||
"entity": "this",
|
||||
"predicate": {
|
||||
"nbt": "{Inventory:[{Slot:20b}]}"
|
||||
}
|
||||
},
|
||||
{
|
||||
"condition": "minecraft:entity_properties",
|
||||
"entity": "this",
|
||||
"predicate": {
|
||||
"nbt": "{Inventory:[{Slot:21b}]}"
|
||||
}
|
||||
},
|
||||
{
|
||||
"condition": "minecraft:entity_properties",
|
||||
"entity": "this",
|
||||
"predicate": {
|
||||
"nbt": "{Inventory:[{Slot:22b}]}"
|
||||
}
|
||||
},
|
||||
{
|
||||
"condition": "minecraft:entity_properties",
|
||||
"entity": "this",
|
||||
"predicate": {
|
||||
"nbt": "{Inventory:[{Slot:23b}]}"
|
||||
}
|
||||
},
|
||||
{
|
||||
"condition": "minecraft:entity_properties",
|
||||
"entity": "this",
|
||||
"predicate": {
|
||||
"nbt": "{Inventory:[{Slot:24b}]}"
|
||||
}
|
||||
},
|
||||
{
|
||||
"condition": "minecraft:entity_properties",
|
||||
"entity": "this",
|
||||
"predicate": {
|
||||
"nbt": "{Inventory:[{Slot:25b}]}"
|
||||
}
|
||||
},
|
||||
{
|
||||
"condition": "minecraft:entity_properties",
|
||||
"entity": "this",
|
||||
"predicate": {
|
||||
"nbt": "{Inventory:[{Slot:26b}]}"
|
||||
}
|
||||
},
|
||||
{
|
||||
"condition": "minecraft:entity_properties",
|
||||
"entity": "this",
|
||||
"predicate": {
|
||||
"nbt": "{Inventory:[{Slot:27b}]}"
|
||||
}
|
||||
},
|
||||
{
|
||||
"condition": "minecraft:entity_properties",
|
||||
"entity": "this",
|
||||
"predicate": {
|
||||
"nbt": "{Inventory:[{Slot:28b}]}"
|
||||
}
|
||||
},
|
||||
{
|
||||
"condition": "minecraft:entity_properties",
|
||||
"entity": "this",
|
||||
"predicate": {
|
||||
"nbt": "{Inventory:[{Slot:29b}]}"
|
||||
}
|
||||
},
|
||||
{
|
||||
"condition": "minecraft:entity_properties",
|
||||
"entity": "this",
|
||||
"predicate": {
|
||||
"nbt": "{Inventory:[{Slot:30b}]}"
|
||||
}
|
||||
},
|
||||
{
|
||||
"condition": "minecraft:entity_properties",
|
||||
"entity": "this",
|
||||
"predicate": {
|
||||
"nbt": "{Inventory:[{Slot:31b}]}"
|
||||
}
|
||||
},
|
||||
{
|
||||
"condition": "minecraft:entity_properties",
|
||||
"entity": "this",
|
||||
"predicate": {
|
||||
"nbt": "{Inventory:[{Slot:32b}]}"
|
||||
}
|
||||
},
|
||||
{
|
||||
"condition": "minecraft:entity_properties",
|
||||
"entity": "this",
|
||||
"predicate": {
|
||||
"nbt": "{Inventory:[{Slot:33b}]}"
|
||||
}
|
||||
},
|
||||
{
|
||||
"condition": "minecraft:entity_properties",
|
||||
"entity": "this",
|
||||
"predicate": {
|
||||
"nbt": "{Inventory:[{Slot:34b}]}"
|
||||
}
|
||||
},
|
||||
{
|
||||
"condition": "minecraft:entity_properties",
|
||||
"entity": "this",
|
||||
"predicate": {
|
||||
"nbt": "{Inventory:[{Slot:35b}]}"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
@ -0,0 +1,13 @@
|
||||
{
|
||||
"condition": "minecraft:any_of",
|
||||
"terms": [
|
||||
{
|
||||
"condition": "minecraft:reference",
|
||||
"name": "fktool:entity/inv/empty_hotbar"
|
||||
},
|
||||
{
|
||||
"condition": "minecraft:reference",
|
||||
"name": "fktool:entity/inv/empty_inv"
|
||||
}
|
||||
]
|
||||
}
|
@ -0,0 +1,13 @@
|
||||
{
|
||||
"condition": "minecraft:entity_properties",
|
||||
"entity": "this",
|
||||
"predicate": {
|
||||
"equipment": {
|
||||
"offhand": {
|
||||
"items": [
|
||||
"minecraft:air"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
@ -0,0 +1,13 @@
|
||||
{
|
||||
"condition": "minecraft:any_of",
|
||||
"terms": [
|
||||
{
|
||||
"condition": "minecraft:reference",
|
||||
"name": "fktool:entity/inv/onespace_hotbar"
|
||||
},
|
||||
{
|
||||
"condition": "minecraft:reference",
|
||||
"name": "fktool:entity/inv/onespace_inv"
|
||||
}
|
||||
]
|
||||
}
|
@ -0,0 +1,95 @@
|
||||
{
|
||||
"condition": "minecraft:any_of",
|
||||
"terms": [
|
||||
{
|
||||
"condition": "minecraft:inverted",
|
||||
"term": {
|
||||
"condition": "minecraft:entity_properties",
|
||||
"entity": "this",
|
||||
"predicate": {
|
||||
"nbt": "{Inventory:[{Slot:0b}]}"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"condition": "minecraft:inverted",
|
||||
"term": {
|
||||
"condition": "minecraft:entity_properties",
|
||||
"entity": "this",
|
||||
"predicate": {
|
||||
"nbt": "{Inventory:[{Slot:1b}]}"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"condition": "minecraft:inverted",
|
||||
"term": {
|
||||
"condition": "minecraft:entity_properties",
|
||||
"entity": "this",
|
||||
"predicate": {
|
||||
"nbt": "{Inventory:[{Slot:2b}]}"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"condition": "minecraft:inverted",
|
||||
"term": {
|
||||
"condition": "minecraft:entity_properties",
|
||||
"entity": "this",
|
||||
"predicate": {
|
||||
"nbt": "{Inventory:[{Slot:3b}]}"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"condition": "minecraft:inverted",
|
||||
"term": {
|
||||
"condition": "minecraft:entity_properties",
|
||||
"entity": "this",
|
||||
"predicate": {
|
||||
"nbt": "{Inventory:[{Slot:4b}]}"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"condition": "minecraft:inverted",
|
||||
"term": {
|
||||
"condition": "minecraft:entity_properties",
|
||||
"entity": "this",
|
||||
"predicate": {
|
||||
"nbt": "{Inventory:[{Slot:5b}]}"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"condition": "minecraft:inverted",
|
||||
"term": {
|
||||
"condition": "minecraft:entity_properties",
|
||||
"entity": "this",
|
||||
"predicate": {
|
||||
"nbt": "{Inventory:[{Slot:6b}]}"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"condition": "minecraft:inverted",
|
||||
"term": {
|
||||
"condition": "minecraft:entity_properties",
|
||||
"entity": "this",
|
||||
"predicate": {
|
||||
"nbt": "{Inventory:[{Slot:7b}]}"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"condition": "minecraft:inverted",
|
||||
"term": {
|
||||
"condition": "minecraft:entity_properties",
|
||||
"entity": "this",
|
||||
"predicate": {
|
||||
"nbt": "{Inventory:[{Slot:8b}]}"
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
@ -0,0 +1,275 @@
|
||||
{
|
||||
"condition": "minecraft:any_of",
|
||||
"terms": [
|
||||
{
|
||||
"condition": "minecraft:inverted",
|
||||
"term": {
|
||||
"condition": "minecraft:entity_properties",
|
||||
"entity": "this",
|
||||
"predicate": {
|
||||
"nbt": "{Inventory:[{Slot:9b}]}"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"condition": "minecraft:inverted",
|
||||
"term": {
|
||||
"condition": "minecraft:entity_properties",
|
||||
"entity": "this",
|
||||
"predicate": {
|
||||
"nbt": "{Inventory:[{Slot:10b}]}"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"condition": "minecraft:inverted",
|
||||
"term": {
|
||||
"condition": "minecraft:entity_properties",
|
||||
"entity": "this",
|
||||
"predicate": {
|
||||
"nbt": "{Inventory:[{Slot:11b}]}"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"condition": "minecraft:inverted",
|
||||
"term": {
|
||||
"condition": "minecraft:entity_properties",
|
||||
"entity": "this",
|
||||
"predicate": {
|
||||
"nbt": "{Inventory:[{Slot:12b}]}"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"condition": "minecraft:inverted",
|
||||
"term": {
|
||||
"condition": "minecraft:entity_properties",
|
||||
"entity": "this",
|
||||
"predicate": {
|
||||
"nbt": "{Inventory:[{Slot:13b}]}"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"condition": "minecraft:inverted",
|
||||
"term": {
|
||||
"condition": "minecraft:entity_properties",
|
||||
"entity": "this",
|
||||
"predicate": {
|
||||
"nbt": "{Inventory:[{Slot:14b}]}"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"condition": "minecraft:inverted",
|
||||
"term": {
|
||||
"condition": "minecraft:entity_properties",
|
||||
"entity": "this",
|
||||
"predicate": {
|
||||
"nbt": "{Inventory:[{Slot:15b}]}"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"condition": "minecraft:inverted",
|
||||
"term": {
|
||||
"condition": "minecraft:entity_properties",
|
||||
"entity": "this",
|
||||
"predicate": {
|
||||
"nbt": "{Inventory:[{Slot:16b}]}"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"condition": "minecraft:inverted",
|
||||
"term": {
|
||||
"condition": "minecraft:entity_properties",
|
||||
"entity": "this",
|
||||
"predicate": {
|
||||
"nbt": "{Inventory:[{Slot:17b}]}"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"condition": "minecraft:inverted",
|
||||
"term": {
|
||||
"condition": "minecraft:entity_properties",
|
||||
"entity": "this",
|
||||
"predicate": {
|
||||
"nbt": "{Inventory:[{Slot:18b}]}"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"condition": "minecraft:inverted",
|
||||
"term": {
|
||||
"condition": "minecraft:entity_properties",
|
||||
"entity": "this",
|
||||
"predicate": {
|
||||
"nbt": "{Inventory:[{Slot:19b}]}"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"condition": "minecraft:inverted",
|
||||
"term": {
|
||||
"condition": "minecraft:entity_properties",
|
||||
"entity": "this",
|
||||
"predicate": {
|
||||
"nbt": "{Inventory:[{Slot:20b}]}"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"condition": "minecraft:inverted",
|
||||
"term": {
|
||||
"condition": "minecraft:entity_properties",
|
||||
"entity": "this",
|
||||
"predicate": {
|
||||
"nbt": "{Inventory:[{Slot:21b}]}"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"condition": "minecraft:inverted",
|
||||
"term": {
|
||||
"condition": "minecraft:entity_properties",
|
||||
"entity": "this",
|
||||
"predicate": {
|
||||
"nbt": "{Inventory:[{Slot:22b}]}"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"condition": "minecraft:inverted",
|
||||
"term": {
|
||||
"condition": "minecraft:entity_properties",
|
||||
"entity": "this",
|
||||
"predicate": {
|
||||
"nbt": "{Inventory:[{Slot:23b}]}"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"condition": "minecraft:inverted",
|
||||
"term": {
|
||||
"condition": "minecraft:entity_properties",
|
||||
"entity": "this",
|
||||
"predicate": {
|
||||
"nbt": "{Inventory:[{Slot:24b}]}"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"condition": "minecraft:inverted",
|
||||
"term": {
|
||||
"condition": "minecraft:entity_properties",
|
||||
"entity": "this",
|
||||
"predicate": {
|
||||
"nbt": "{Inventory:[{Slot:25b}]}"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"condition": "minecraft:inverted",
|
||||
"term": {
|
||||
"condition": "minecraft:entity_properties",
|
||||
"entity": "this",
|
||||
"predicate": {
|
||||
"nbt": "{Inventory:[{Slot:26b}]}"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"condition": "minecraft:inverted",
|
||||
"term": {
|
||||
"condition": "minecraft:entity_properties",
|
||||
"entity": "this",
|
||||
"predicate": {
|
||||
"nbt": "{Inventory:[{Slot:27b}]}"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"condition": "minecraft:inverted",
|
||||
"term": {
|
||||
"condition": "minecraft:entity_properties",
|
||||
"entity": "this",
|
||||
"predicate": {
|
||||
"nbt": "{Inventory:[{Slot:28b}]}"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"condition": "minecraft:inverted",
|
||||
"term": {
|
||||
"condition": "minecraft:entity_properties",
|
||||
"entity": "this",
|
||||
"predicate": {
|
||||
"nbt": "{Inventory:[{Slot:29b}]}"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"condition": "minecraft:inverted",
|
||||
"term": {
|
||||
"condition": "minecraft:entity_properties",
|
||||
"entity": "this",
|
||||
"predicate": {
|
||||
"nbt": "{Inventory:[{Slot:30b}]}"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"condition": "minecraft:inverted",
|
||||
"term": {
|
||||
"condition": "minecraft:entity_properties",
|
||||
"entity": "this",
|
||||
"predicate": {
|
||||
"nbt": "{Inventory:[{Slot:31b}]}"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"condition": "minecraft:inverted",
|
||||
"term": {
|
||||
"condition": "minecraft:entity_properties",
|
||||
"entity": "this",
|
||||
"predicate": {
|
||||
"nbt": "{Inventory:[{Slot:32b}]}"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"condition": "minecraft:inverted",
|
||||
"term": {
|
||||
"condition": "minecraft:entity_properties",
|
||||
"entity": "this",
|
||||
"predicate": {
|
||||
"nbt": "{Inventory:[{Slot:33b}]}"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"condition": "minecraft:inverted",
|
||||
"term": {
|
||||
"condition": "minecraft:entity_properties",
|
||||
"entity": "this",
|
||||
"predicate": {
|
||||
"nbt": "{Inventory:[{Slot:34b}]}"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"condition": "minecraft:inverted",
|
||||
"term": {
|
||||
"condition": "minecraft:entity_properties",
|
||||
"entity": "this",
|
||||
"predicate": {
|
||||
"nbt": "{Inventory:[{Slot:35b}]}"
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
@ -0,0 +1,12 @@
|
||||
{
|
||||
"condition": "minecraft:entity_properties",
|
||||
"entity": "this",
|
||||
"predicate": {
|
||||
"type_specific": {
|
||||
"type": "player",
|
||||
"looking_at": {
|
||||
"type": "minecraft:enderman"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
@ -0,0 +1,12 @@
|
||||
{
|
||||
"condition": "minecraft:entity_properties",
|
||||
"entity": "this",
|
||||
"predicate": {
|
||||
"type_specific": {
|
||||
"type": "player",
|
||||
"looking_at": {
|
||||
"type": "minecraft:zombie"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
@ -0,0 +1,404 @@
|
||||
{
|
||||
"condition": "minecraft:any_of",
|
||||
"terms": [
|
||||
{
|
||||
"condition": "minecraft:entity_properties",
|
||||
"entity": "this",
|
||||
"predicate": {
|
||||
"type": "minecraft:bat"
|
||||
}
|
||||
},
|
||||
{
|
||||
"condition": "minecraft:entity_properties",
|
||||
"entity": "this",
|
||||
"predicate": {
|
||||
"type": "minecraft:blaze"
|
||||
}
|
||||
},
|
||||
{
|
||||
"condition": "minecraft:entity_properties",
|
||||
"entity": "this",
|
||||
"predicate": {
|
||||
"type": "minecraft:cave_spider"
|
||||
}
|
||||
},
|
||||
{
|
||||
"condition": "minecraft:entity_properties",
|
||||
"entity": "this",
|
||||
"predicate": {
|
||||
"type": "minecraft:chicken"
|
||||
}
|
||||
},
|
||||
{
|
||||
"condition": "minecraft:entity_properties",
|
||||
"entity": "this",
|
||||
"predicate": {
|
||||
"type": "minecraft:cod"
|
||||
}
|
||||
},
|
||||
{
|
||||
"condition": "minecraft:entity_properties",
|
||||
"entity": "this",
|
||||
"predicate": {
|
||||
"type": "minecraft:cow"
|
||||
}
|
||||
},
|
||||
{
|
||||
"condition": "minecraft:entity_properties",
|
||||
"entity": "this",
|
||||
"predicate": {
|
||||
"type": "minecraft:creeper"
|
||||
}
|
||||
},
|
||||
{
|
||||
"condition": "minecraft:entity_properties",
|
||||
"entity": "this",
|
||||
"predicate": {
|
||||
"type": "minecraft:dolphin"
|
||||
}
|
||||
},
|
||||
{
|
||||
"condition": "minecraft:entity_properties",
|
||||
"entity": "this",
|
||||
"predicate": {
|
||||
"type": "minecraft:donkey"
|
||||
}
|
||||
},
|
||||
{
|
||||
"condition": "minecraft:entity_properties",
|
||||
"entity": "this",
|
||||
"predicate": {
|
||||
"type": "minecraft:drowned"
|
||||
}
|
||||
},
|
||||
{
|
||||
"condition": "minecraft:entity_properties",
|
||||
"entity": "this",
|
||||
"predicate": {
|
||||
"type": "minecraft:elder_guardian"
|
||||
}
|
||||
},
|
||||
{
|
||||
"condition": "minecraft:entity_properties",
|
||||
"entity": "this",
|
||||
"predicate": {
|
||||
"type": "minecraft:elder_guardian"
|
||||
}
|
||||
},
|
||||
{
|
||||
"condition": "minecraft:entity_properties",
|
||||
"entity": "this",
|
||||
"predicate": {
|
||||
"type": "minecraft:ender_dragon"
|
||||
}
|
||||
},
|
||||
{
|
||||
"condition": "minecraft:entity_properties",
|
||||
"entity": "this",
|
||||
"predicate": {
|
||||
"type": "minecraft:enderman"
|
||||
}
|
||||
},
|
||||
{
|
||||
"condition": "minecraft:entity_properties",
|
||||
"entity": "this",
|
||||
"predicate": {
|
||||
"type": "minecraft:endermite"
|
||||
}
|
||||
},
|
||||
{
|
||||
"condition": "minecraft:entity_properties",
|
||||
"entity": "this",
|
||||
"predicate": {
|
||||
"type": "minecraft:evoker"
|
||||
}
|
||||
},
|
||||
{
|
||||
"condition": "minecraft:entity_properties",
|
||||
"entity": "this",
|
||||
"predicate": {
|
||||
"type": "minecraft:ghast"
|
||||
}
|
||||
},
|
||||
{
|
||||
"condition": "minecraft:entity_properties",
|
||||
"entity": "this",
|
||||
"predicate": {
|
||||
"type": "minecraft:giant"
|
||||
}
|
||||
},
|
||||
{
|
||||
"condition": "minecraft:entity_properties",
|
||||
"entity": "this",
|
||||
"predicate": {
|
||||
"type": "minecraft:guardian"
|
||||
}
|
||||
},
|
||||
{
|
||||
"condition": "minecraft:entity_properties",
|
||||
"entity": "this",
|
||||
"predicate": {
|
||||
"type": "minecraft:horse"
|
||||
}
|
||||
},
|
||||
{
|
||||
"condition": "minecraft:entity_properties",
|
||||
"entity": "this",
|
||||
"predicate": {
|
||||
"type": "minecraft:husk"
|
||||
}
|
||||
},
|
||||
{
|
||||
"condition": "minecraft:entity_properties",
|
||||
"entity": "this",
|
||||
"predicate": {
|
||||
"type": "minecraft:illusioner"
|
||||
}
|
||||
},
|
||||
{
|
||||
"condition": "minecraft:entity_properties",
|
||||
"entity": "this",
|
||||
"predicate": {
|
||||
"type": "minecraft:iron_golem"
|
||||
}
|
||||
},
|
||||
{
|
||||
"condition": "minecraft:entity_properties",
|
||||
"entity": "this",
|
||||
"predicate": {
|
||||
"type": "minecraft:llama"
|
||||
}
|
||||
},
|
||||
{
|
||||
"condition": "minecraft:entity_properties",
|
||||
"entity": "this",
|
||||
"predicate": {
|
||||
"type": "minecraft:magma_cube"
|
||||
}
|
||||
},
|
||||
{
|
||||
"condition": "minecraft:entity_properties",
|
||||
"entity": "this",
|
||||
"predicate": {
|
||||
"type": "minecraft:mooshroom"
|
||||
}
|
||||
},
|
||||
{
|
||||
"condition": "minecraft:entity_properties",
|
||||
"entity": "this",
|
||||
"predicate": {
|
||||
"type": "minecraft:mule"
|
||||
}
|
||||
},
|
||||
{
|
||||
"condition": "minecraft:entity_properties",
|
||||
"entity": "this",
|
||||
"predicate": {
|
||||
"type": "minecraft:ocelot"
|
||||
}
|
||||
},
|
||||
{
|
||||
"condition": "minecraft:entity_properties",
|
||||
"entity": "this",
|
||||
"predicate": {
|
||||
"type": "minecraft:parrot"
|
||||
}
|
||||
},
|
||||
{
|
||||
"condition": "minecraft:entity_properties",
|
||||
"entity": "this",
|
||||
"predicate": {
|
||||
"type": "minecraft:phantom"
|
||||
}
|
||||
},
|
||||
{
|
||||
"condition": "minecraft:entity_properties",
|
||||
"entity": "this",
|
||||
"predicate": {
|
||||
"type": "minecraft:pig"
|
||||
}
|
||||
},
|
||||
{
|
||||
"condition": "minecraft:entity_properties",
|
||||
"entity": "this",
|
||||
"predicate": {
|
||||
"type": "minecraft:polar_bear"
|
||||
}
|
||||
},
|
||||
{
|
||||
"condition": "minecraft:entity_properties",
|
||||
"entity": "this",
|
||||
"predicate": {
|
||||
"type": "minecraft:pufferfish"
|
||||
}
|
||||
},
|
||||
{
|
||||
"condition": "minecraft:entity_properties",
|
||||
"entity": "this",
|
||||
"predicate": {
|
||||
"type": "minecraft:rabbit"
|
||||
}
|
||||
},
|
||||
{
|
||||
"condition": "minecraft:entity_properties",
|
||||
"entity": "this",
|
||||
"predicate": {
|
||||
"type": "minecraft:salmon"
|
||||
}
|
||||
},
|
||||
{
|
||||
"condition": "minecraft:entity_properties",
|
||||
"entity": "this",
|
||||
"predicate": {
|
||||
"type": "minecraft:sheep"
|
||||
}
|
||||
},
|
||||
{
|
||||
"condition": "minecraft:entity_properties",
|
||||
"entity": "this",
|
||||
"predicate": {
|
||||
"type": "minecraft:shulker"
|
||||
}
|
||||
},
|
||||
{
|
||||
"condition": "minecraft:entity_properties",
|
||||
"entity": "this",
|
||||
"predicate": {
|
||||
"type": "minecraft:silverfish"
|
||||
}
|
||||
},
|
||||
{
|
||||
"condition": "minecraft:entity_properties",
|
||||
"entity": "this",
|
||||
"predicate": {
|
||||
"type": "minecraft:skeleton"
|
||||
}
|
||||
},
|
||||
{
|
||||
"condition": "minecraft:entity_properties",
|
||||
"entity": "this",
|
||||
"predicate": {
|
||||
"type": "minecraft:skeleton_horse"
|
||||
}
|
||||
},
|
||||
{
|
||||
"condition": "minecraft:entity_properties",
|
||||
"entity": "this",
|
||||
"predicate": {
|
||||
"type": "minecraft:slime"
|
||||
}
|
||||
},
|
||||
{
|
||||
"condition": "minecraft:entity_properties",
|
||||
"entity": "this",
|
||||
"predicate": {
|
||||
"type": "minecraft:snow_golem"
|
||||
}
|
||||
},
|
||||
{
|
||||
"condition": "minecraft:entity_properties",
|
||||
"entity": "this",
|
||||
"predicate": {
|
||||
"type": "minecraft:spider"
|
||||
}
|
||||
},
|
||||
{
|
||||
"condition": "minecraft:entity_properties",
|
||||
"entity": "this",
|
||||
"predicate": {
|
||||
"type": "minecraft:squid"
|
||||
}
|
||||
},
|
||||
{
|
||||
"condition": "minecraft:entity_properties",
|
||||
"entity": "this",
|
||||
"predicate": {
|
||||
"type": "minecraft:stray"
|
||||
}
|
||||
},
|
||||
{
|
||||
"condition": "minecraft:entity_properties",
|
||||
"entity": "this",
|
||||
"predicate": {
|
||||
"type": "minecraft:tropical_fish"
|
||||
}
|
||||
},
|
||||
{
|
||||
"condition": "minecraft:entity_properties",
|
||||
"entity": "this",
|
||||
"predicate": {
|
||||
"type": "minecraft:turtle"
|
||||
}
|
||||
},
|
||||
{
|
||||
"condition": "minecraft:entity_properties",
|
||||
"entity": "this",
|
||||
"predicate": {
|
||||
"type": "minecraft:vex"
|
||||
}
|
||||
},
|
||||
{
|
||||
"condition": "minecraft:entity_properties",
|
||||
"entity": "this",
|
||||
"predicate": {
|
||||
"type": "minecraft:villager"
|
||||
}
|
||||
},
|
||||
{
|
||||
"condition": "minecraft:entity_properties",
|
||||
"entity": "this",
|
||||
"predicate": {
|
||||
"type": "minecraft:vindicator"
|
||||
}
|
||||
},
|
||||
{
|
||||
"condition": "minecraft:entity_properties",
|
||||
"entity": "this",
|
||||
"predicate": {
|
||||
"type": "minecraft:witch"
|
||||
}
|
||||
},
|
||||
{
|
||||
"condition": "minecraft:entity_properties",
|
||||
"entity": "this",
|
||||
"predicate": {
|
||||
"type": "minecraft:wither"
|
||||
}
|
||||
},
|
||||
{
|
||||
"condition": "minecraft:entity_properties",
|
||||
"entity": "this",
|
||||
"predicate": {
|
||||
"type": "minecraft:wither_skeleton"
|
||||
}
|
||||
},
|
||||
{
|
||||
"condition": "minecraft:entity_properties",
|
||||
"entity": "this",
|
||||
"predicate": {
|
||||
"type": "minecraft:wolf"
|
||||
}
|
||||
},
|
||||
{
|
||||
"condition": "minecraft:entity_properties",
|
||||
"entity": "this",
|
||||
"predicate": {
|
||||
"type": "minecraft:zombie"
|
||||
}
|
||||
},
|
||||
{
|
||||
"condition": "minecraft:entity_properties",
|
||||
"entity": "this",
|
||||
"predicate": {
|
||||
"type": "minecraft:zombie_horse"
|
||||
}
|
||||
},
|
||||
{
|
||||
"condition": "minecraft:entity_properties",
|
||||
"entity": "this",
|
||||
"predicate": {
|
||||
"type": "minecraft:zombie_villager"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
@ -0,0 +1,58 @@
|
||||
{
|
||||
"condition": "minecraft:any_of",
|
||||
"terms": [
|
||||
{
|
||||
"condition": "minecraft:reference",
|
||||
"name": "fktool:entity/mob/1.13"
|
||||
},
|
||||
{
|
||||
"condition": "minecraft:entity_properties",
|
||||
"entity": "this",
|
||||
"predicate": {
|
||||
"type": "minecraft:cat"
|
||||
}
|
||||
},
|
||||
{
|
||||
"condition": "minecraft:entity_properties",
|
||||
"entity": "this",
|
||||
"predicate": {
|
||||
"type": "minecraft:fox"
|
||||
}
|
||||
},
|
||||
{
|
||||
"condition": "minecraft:entity_properties",
|
||||
"entity": "this",
|
||||
"predicate": {
|
||||
"type": "minecraft:panda"
|
||||
}
|
||||
},
|
||||
{
|
||||
"condition": "minecraft:entity_properties",
|
||||
"entity": "this",
|
||||
"predicate": {
|
||||
"type": "minecraft:pillager"
|
||||
}
|
||||
},
|
||||
{
|
||||
"condition": "minecraft:entity_properties",
|
||||
"entity": "this",
|
||||
"predicate": {
|
||||
"type": "minecraft:ravager"
|
||||
}
|
||||
},
|
||||
{
|
||||
"condition": "minecraft:entity_properties",
|
||||
"entity": "this",
|
||||
"predicate": {
|
||||
"type": "minecraft:trader_llama"
|
||||
}
|
||||
},
|
||||
{
|
||||
"condition": "minecraft:entity_properties",
|
||||
"entity": "this",
|
||||
"predicate": {
|
||||
"type": "minecraft:wandering_trader"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
@ -0,0 +1,16 @@
|
||||
{
|
||||
"condition": "minecraft:any_of",
|
||||
"terms": [
|
||||
{
|
||||
"condition": "minecraft:reference",
|
||||
"name": "fktool:entity/mob/1.14"
|
||||
},
|
||||
{
|
||||
"condition": "minecraft:entity_properties",
|
||||
"entity": "this",
|
||||
"predicate": {
|
||||
"type": "minecraft:bee"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
@ -0,0 +1,16 @@
|
||||
{
|
||||
"condition": "minecraft:any_of",
|
||||
"terms": [
|
||||
{
|
||||
"condition": "minecraft:reference",
|
||||
"name": "fktool:entity/mob/1.16"
|
||||
},
|
||||
{
|
||||
"condition": "minecraft:entity_properties",
|
||||
"entity": "this",
|
||||
"predicate": {
|
||||
"type": "minecraft:piglin_brute"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
@ -0,0 +1,44 @@
|
||||
{
|
||||
"condition": "minecraft:any_of",
|
||||
"terms": [
|
||||
{
|
||||
"condition": "minecraft:reference",
|
||||
"name": "fktool:entity/mob/1.15"
|
||||
},
|
||||
{
|
||||
"condition": "minecraft:entity_properties",
|
||||
"entity": "this",
|
||||
"predicate": {
|
||||
"type": "minecraft:hoglin"
|
||||
}
|
||||
},
|
||||
{
|
||||
"condition": "minecraft:entity_properties",
|
||||
"entity": "this",
|
||||
"predicate": {
|
||||
"type": "minecraft:piglin"
|
||||
}
|
||||
},
|
||||
{
|
||||
"condition": "minecraft:entity_properties",
|
||||
"entity": "this",
|
||||
"predicate": {
|
||||
"type": "minecraft:strider"
|
||||
}
|
||||
},
|
||||
{
|
||||
"condition": "minecraft:entity_properties",
|
||||
"entity": "this",
|
||||
"predicate": {
|
||||
"type": "minecraft:zoglin"
|
||||
}
|
||||
},
|
||||
{
|
||||
"condition": "minecraft:entity_properties",
|
||||
"entity": "this",
|
||||
"predicate": {
|
||||
"type": "minecraft:zombified_piglin"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
@ -0,0 +1,30 @@
|
||||
{
|
||||
"condition": "minecraft:any_of",
|
||||
"terms": [
|
||||
{
|
||||
"condition": "minecraft:reference",
|
||||
"name": "fktool:entity/mob/1.16.2"
|
||||
},
|
||||
{
|
||||
"condition": "minecraft:entity_properties",
|
||||
"entity": "this",
|
||||
"predicate": {
|
||||
"type": "minecraft:axolotl"
|
||||
}
|
||||
},
|
||||
{
|
||||
"condition": "minecraft:entity_properties",
|
||||
"entity": "this",
|
||||
"predicate": {
|
||||
"type": "minecraft:glow_squid"
|
||||
}
|
||||
},
|
||||
{
|
||||
"condition": "minecraft:entity_properties",
|
||||
"entity": "this",
|
||||
"predicate": {
|
||||
"type": "minecraft:goat"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
@ -0,0 +1,37 @@
|
||||
{
|
||||
"condition": "minecraft:any_of",
|
||||
"terms": [
|
||||
{
|
||||
"condition": "minecraft:reference",
|
||||
"name": "fktool:entity/mob/1.17"
|
||||
},
|
||||
{
|
||||
"condition": "minecraft:entity_properties",
|
||||
"entity": "this",
|
||||
"predicate": {
|
||||
"type": "minecraft:allay"
|
||||
}
|
||||
},
|
||||
{
|
||||
"condition": "minecraft:entity_properties",
|
||||
"entity": "this",
|
||||
"predicate": {
|
||||
"type": "minecraft:frog"
|
||||
}
|
||||
},
|
||||
{
|
||||
"condition": "minecraft:entity_properties",
|
||||
"entity": "this",
|
||||
"predicate": {
|
||||
"type": "minecraft:tadpole"
|
||||
}
|
||||
},
|
||||
{
|
||||
"condition": "minecraft:entity_properties",
|
||||
"entity": "this",
|
||||
"predicate": {
|
||||
"type": "minecraft:warden"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
@ -0,0 +1,23 @@
|
||||
{
|
||||
"condition": "minecraft:any_of",
|
||||
"terms": [
|
||||
{
|
||||
"condition": "minecraft:reference",
|
||||
"name": "fktool:entity/mob/1.19"
|
||||
},
|
||||
{
|
||||
"condition": "minecraft:entity_properties",
|
||||
"entity": "this",
|
||||
"predicate": {
|
||||
"type": "minecraft:camel"
|
||||
}
|
||||
},
|
||||
{
|
||||
"condition": "minecraft:entity_properties",
|
||||
"entity": "this",
|
||||
"predicate": {
|
||||
"type": "minecraft:sniffer"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
@ -0,0 +1,16 @@
|
||||
[
|
||||
{
|
||||
"condition": "minecraft:inverted",
|
||||
"term": {
|
||||
"condition": "minecraft:reference",
|
||||
"name": "fktool:entity/in_lava"
|
||||
}
|
||||
},
|
||||
{
|
||||
"condition": "minecraft:inverted",
|
||||
"term": {
|
||||
"condition": "minecraft:reference",
|
||||
"name": "fktool:entity/in_water"
|
||||
}
|
||||
}
|
||||
]
|
@ -0,0 +1,7 @@
|
||||
{
|
||||
"condition": "minecraft:entity_properties",
|
||||
"entity": "this",
|
||||
"predicate": {
|
||||
"nbt": "{OnGround:0b}"
|
||||
}
|
||||
}
|
@ -0,0 +1,9 @@
|
||||
{
|
||||
"condition": "minecraft:entity_properties",
|
||||
"entity": "this",
|
||||
"predicate": {
|
||||
"flags": {
|
||||
"is_on_fire": true
|
||||
}
|
||||
}
|
||||
}
|
@ -0,0 +1,7 @@
|
||||
{
|
||||
"condition": "minecraft:entity_properties",
|
||||
"entity": "this",
|
||||
"predicate": {
|
||||
"nbt": "{OnGround:1b}"
|
||||
}
|
||||
}
|
@ -0,0 +1,9 @@
|
||||
{
|
||||
"condition": "minecraft:entity_properties",
|
||||
"entity": "this",
|
||||
"predicate": {
|
||||
"flags": {
|
||||
"is_sneaking": true
|
||||
}
|
||||
}
|
||||
}
|
@ -0,0 +1,9 @@
|
||||
{
|
||||
"condition": "minecraft:entity_properties",
|
||||
"entity": "this",
|
||||
"predicate": {
|
||||
"flags": {
|
||||
"is_sprinting": true
|
||||
}
|
||||
}
|
||||
}
|
@ -0,0 +1,9 @@
|
||||
{
|
||||
"condition": "minecraft:entity_properties",
|
||||
"entity": "this",
|
||||
"predicate": {
|
||||
"flags": {
|
||||
"is_swimming": true
|
||||
}
|
||||
}
|
||||
}
|
@ -0,0 +1,9 @@
|
||||
{
|
||||
"condition": "minecraft:entity_properties",
|
||||
"entity": "this",
|
||||
"predicate": {
|
||||
"targeted_entity": {
|
||||
"type": "minecraft:player"
|
||||
}
|
||||
}
|
||||
}
|
@ -0,0 +1,29 @@
|
||||
{
|
||||
"condition": "minecraft:any_of",
|
||||
"terms": [
|
||||
{
|
||||
"condition": "minecraft:location_check",
|
||||
"predicate": {
|
||||
"block": {
|
||||
"block": "minecraft:air"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"condition": "minecraft:location_check",
|
||||
"predicate": {
|
||||
"block": {
|
||||
"block": "minecraft:void_air"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"condition": "minecraft:location_check",
|
||||
"predicate": {
|
||||
"block": {
|
||||
"block": "minecraft:cave_air"
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
@ -0,0 +1,35 @@
|
||||
{
|
||||
"condition": "minecraft:inverted",
|
||||
"term": {
|
||||
"condition": "minecraft:any_of",
|
||||
"terms": [
|
||||
{
|
||||
"condition": "minecraft:entity_properties",
|
||||
"entity": "this",
|
||||
"predicate": {
|
||||
"location": {
|
||||
"dimension": "minecraft:overworld"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"condition": "minecraft:entity_properties",
|
||||
"entity": "this",
|
||||
"predicate": {
|
||||
"location": {
|
||||
"dimension": "minecraft:the_nether"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"condition": "minecraft:entity_properties",
|
||||
"entity": "this",
|
||||
"predicate": {
|
||||
"location": {
|
||||
"dimension": "minecraft:the_end"
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
@ -0,0 +1,9 @@
|
||||
{
|
||||
"condition": "minecraft:entity_properties",
|
||||
"entity": "this",
|
||||
"predicate": {
|
||||
"location": {
|
||||
"dimension": "minecraft:the_end"
|
||||
}
|
||||
}
|
||||
}
|
@ -0,0 +1,8 @@
|
||||
{
|
||||
"condition": "minecraft:location_check",
|
||||
"predicate": {
|
||||
"block": {
|
||||
"block": "minecraft:light"
|
||||
}
|
||||
}
|
||||
}
|
@ -0,0 +1,11 @@
|
||||
{
|
||||
"condition": "minecraft:location_check",
|
||||
"predicate": {
|
||||
"light": {
|
||||
"light": 0
|
||||
},
|
||||
"block": {
|
||||
"block": "minecraft:light"
|
||||
}
|
||||
}
|
||||
}
|
@ -0,0 +1,11 @@
|
||||
{
|
||||
"condition": "minecraft:location_check",
|
||||
"predicate": {
|
||||
"light": {
|
||||
"light": 15
|
||||
},
|
||||
"block": {
|
||||
"block": "minecraft:light"
|
||||
}
|
||||
}
|
||||
}
|
@ -0,0 +1,9 @@
|
||||
{
|
||||
"condition": "minecraft:entity_properties",
|
||||
"entity": "this",
|
||||
"predicate": {
|
||||
"location": {
|
||||
"dimension": "minecraft:the_nether"
|
||||
}
|
||||
}
|
||||
}
|
@ -0,0 +1,9 @@
|
||||
{
|
||||
"condition": "minecraft:entity_properties",
|
||||
"entity": "this",
|
||||
"predicate": {
|
||||
"location": {
|
||||
"dimension": "minecraft:overworld"
|
||||
}
|
||||
}
|
||||
}
|
@ -0,0 +1,21 @@
|
||||
{
|
||||
"condition": "minecraft:any_of",
|
||||
"terms": [
|
||||
{
|
||||
"condition": "minecraft:location_check",
|
||||
"predicate": {
|
||||
"fluid": {
|
||||
"fluid": "minecraft:lava"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"condition": "minecraft:location_check",
|
||||
"predicate": {
|
||||
"fluid": {
|
||||
"fluid": "minecraft:flowing_lava"
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
@ -0,0 +1,21 @@
|
||||
{
|
||||
"condition": "minecraft:any_of",
|
||||
"terms": [
|
||||
{
|
||||
"condition": "minecraft:location_check",
|
||||
"predicate": {
|
||||
"fluid": {
|
||||
"fluid": "minecraft:water"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"condition": "minecraft:location_check",
|
||||
"predicate": {
|
||||
"fluid": {
|
||||
"fluid": "minecraft:flowing_water"
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
@ -0,0 +1,8 @@
|
||||
{
|
||||
"condition": "minecraft:location_check",
|
||||
"predicate": {
|
||||
"light": {
|
||||
"light": 0
|
||||
}
|
||||
}
|
||||
}
|
@ -0,0 +1,8 @@
|
||||
{
|
||||
"condition": "minecraft:location_check",
|
||||
"predicate": {
|
||||
"light": {
|
||||
"light": 15
|
||||
}
|
||||
}
|
||||
}
|
@ -0,0 +1,13 @@
|
||||
{
|
||||
"condition": "minecraft:entity_properties",
|
||||
"entity": "this",
|
||||
"predicate": {
|
||||
"location": {
|
||||
"light": {
|
||||
"light": {
|
||||
"max": 7
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
@ -0,0 +1,13 @@
|
||||
{
|
||||
"condition": "minecraft:entity_properties",
|
||||
"entity": "this",
|
||||
"predicate": {
|
||||
"location": {
|
||||
"light": {
|
||||
"light": {
|
||||
"min": 8
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
@ -0,0 +1,4 @@
|
||||
{
|
||||
"condition": "minecraft:random_chance",
|
||||
"chance": 0.01
|
||||
}
|
@ -0,0 +1,4 @@
|
||||
{
|
||||
"condition": "minecraft:random_chance",
|
||||
"chance": 0.02
|
||||
}
|
@ -0,0 +1,4 @@
|
||||
{
|
||||
"condition": "minecraft:random_chance",
|
||||
"chance": 0.03
|
||||
}
|
@ -0,0 +1,4 @@
|
||||
{
|
||||
"condition": "minecraft:random_chance",
|
||||
"chance": 0.04
|
||||
}
|
@ -0,0 +1,4 @@
|
||||
{
|
||||
"condition": "minecraft:random_chance",
|
||||
"chance": 0.05
|
||||
}
|
@ -0,0 +1,4 @@
|
||||
{
|
||||
"condition": "minecraft:random_chance",
|
||||
"chance": 0.10
|
||||
}
|
@ -0,0 +1,4 @@
|
||||
{
|
||||
"condition": "minecraft:random_chance",
|
||||
"chance": 1.00
|
||||
}
|
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user