{
"minecraft:tick": [
{
"effect": {
"type": "minecraft:spawn_particles",
"speed": 1,
"particle": {
"type": "minecraft:soul"
},
"vertical_position": {
"type": "entity_position",
"offset": 0.10000000149011612
},
"vertical_velocity": {
"base": 0.10000000149011612
},
"horizontal_position": {
"type": "in_bounding_box"
},
"horizontal_velocity": {
"movement_scale": -0.20000000298023224
}
},
"requirements": {
"entity": "this",
"condition": "minecraft:entity_properties",
"predicate": {
"flags": {
"is_flying": false,
"is_on_ground": true
},
"movement": {
"horizontal_speed": {
"min": 0.000009999999747378752
}
},
"periodic_tick": 5,
"movement_affected_by": {
"block": {
"blocks": "#minecraft:soul_speed_blocks"
}
}
}
}
},
{
"effect": {
"type": "minecraft:play_sound",
"pitch": {
"type": "minecraft:uniform",
"max_exclusive": 1,
"min_inclusive": 0.6000000238418579
},
"sound": "minecraft:particle.soul_escape",
"volume": 0.6000000238418579
},
"requirements": {
"terms": [
{
"chance": 0.3499999940395355,
"condition": "minecraft:random_chance"
},
{
"entity": "this",
"condition": "minecraft:entity_properties",
"predicate": {
"flags": {
"is_flying": false,
"is_on_ground": true
},
"movement": {
"horizontal_speed": {
"min": 0.000009999999747378752
}
},
"periodic_tick": 5,
"movement_affected_by": {
"block": {
"blocks": "#minecraft:soul_speed_blocks"
}
}
}
}
],
"condition": "minecraft:all_of"
}
}
],
"minecraft:location_changed": [
{
"effect": {
"type": "minecraft:all_of",
"effects": [
{
"id": "minecraft:enchantment.soul_speed",
"type": "minecraft:attribute",
"amount": {
"base": 0.04050000011920929,
"type": "minecraft:linear",
"per_level_above_first": 0.010499999858438969
},
"attribute": "minecraft:movement_speed",
"operation": "add_value"
},
{
"id": "minecraft:enchantment.soul_speed",
"type": "minecraft:attribute",
"amount": 1,
"attribute": "minecraft:movement_efficiency",
"operation": "add_value"
}
]
},
"requirements": {
"terms": [
{
"term": {
"entity": "this",
"condition": "minecraft:entity_properties",
"predicate": {
"vehicle": {}
}
},
"condition": "minecraft:inverted"
},
{
"terms": [
{
"terms": [
{
"active": true,
"condition": "minecraft:enchantment_active_check"
},
{
"entity": "this",
"condition": "minecraft:entity_properties",
"predicate": {
"flags": {
"is_flying": false
}
}
},
{
"terms": [
{
"entity": "this",
"condition": "minecraft:entity_properties",
"predicate": {
"movement_affected_by": {
"block": {
"blocks": "#minecraft:soul_speed_blocks"
}
}
}
},
{
"entity": "this",
"condition": "minecraft:entity_properties",
"predicate": {
"flags": {
"is_on_ground": false
}
}
}
],
"condition": "minecraft:any_of"
}
],
"condition": "minecraft:all_of"
},
{
"terms": [
{
"active": false,
"condition": "minecraft:enchantment_active_check"
},
{
"entity": "this",
"condition": "minecraft:entity_properties",
"predicate": {
"flags": {
"is_flying": false
},
"movement_affected_by": {
"block": {
"blocks": "#minecraft:soul_speed_blocks"
}
}
}
}
],
"condition": "minecraft:all_of"
}
],
"condition": "minecraft:any_of"
}
],
"condition": "minecraft:all_of"
}
},
{
"effect": {
"type": "minecraft:change_item_damage",
"amount": 1
},
"requirements": {
"terms": [
{
"chance": {
"type": "minecraft:enchantment_level",
"amount": 0.03999999910593033
},
"condition": "minecraft:random_chance"
},
{
"entity": "this",
"condition": "minecraft:entity_properties",
"predicate": {
"flags": {
"is_on_ground": true
},
"movement_affected_by": {
"block": {
"blocks": "#minecraft:soul_speed_blocks"
}
}
}
}
],
"condition": "minecraft:all_of"
}
}
]
}