You've already forked minecraft-assets
Create/Update assets for version 25w02a
This commit is contained in:
1
data/minecraft/enchantment/_all.json
Normal file
1
data/minecraft/enchantment/_all.json
Normal file
File diff suppressed because one or more lines are too long
1
data/minecraft/enchantment/_list.json
Normal file
1
data/minecraft/enchantment/_list.json
Normal file
@@ -0,0 +1 @@
|
||||
{"directories":[],"files":["aqua_affinity.json","bane_of_arthropods.json","binding_curse.json","blast_protection.json","breach.json","channeling.json","density.json","depth_strider.json","efficiency.json","feather_falling.json","fire_aspect.json","fire_protection.json","flame.json","fortune.json","frost_walker.json","impaling.json","infinity.json","knockback.json","looting.json","loyalty.json","luck_of_the_sea.json","lure.json","mending.json","multishot.json","piercing.json","power.json","projectile_protection.json","protection.json","punch.json","quick_charge.json","respiration.json","riptide.json","sharpness.json","silk_touch.json","smite.json","soul_speed.json","sweeping_edge.json","swift_sneak.json","thorns.json","unbreaking.json","vanishing_curse.json","wind_burst.json"]}
|
||||
34
data/minecraft/enchantment/aqua_affinity.json
Normal file
34
data/minecraft/enchantment/aqua_affinity.json
Normal file
@@ -0,0 +1,34 @@
|
||||
{
|
||||
"anvil_cost": 4,
|
||||
"description": {
|
||||
"translate": "enchantment.minecraft.aqua_affinity"
|
||||
},
|
||||
"effects": {
|
||||
"minecraft:attributes": [
|
||||
{
|
||||
"amount": {
|
||||
"type": "minecraft:linear",
|
||||
"base": 4.0,
|
||||
"per_level_above_first": 4.0
|
||||
},
|
||||
"attribute": "minecraft:submerged_mining_speed",
|
||||
"id": "minecraft:enchantment.aqua_affinity",
|
||||
"operation": "add_multiplied_total"
|
||||
}
|
||||
]
|
||||
},
|
||||
"max_cost": {
|
||||
"base": 41,
|
||||
"per_level_above_first": 0
|
||||
},
|
||||
"max_level": 1,
|
||||
"min_cost": {
|
||||
"base": 1,
|
||||
"per_level_above_first": 0
|
||||
},
|
||||
"slots": [
|
||||
"head"
|
||||
],
|
||||
"supported_items": "#minecraft:enchantable/head_armor",
|
||||
"weight": 2
|
||||
}
|
||||
79
data/minecraft/enchantment/bane_of_arthropods.json
Normal file
79
data/minecraft/enchantment/bane_of_arthropods.json
Normal file
@@ -0,0 +1,79 @@
|
||||
{
|
||||
"anvil_cost": 2,
|
||||
"description": {
|
||||
"translate": "enchantment.minecraft.bane_of_arthropods"
|
||||
},
|
||||
"effects": {
|
||||
"minecraft:damage": [
|
||||
{
|
||||
"effect": {
|
||||
"type": "minecraft:add",
|
||||
"value": {
|
||||
"type": "minecraft:linear",
|
||||
"base": 2.5,
|
||||
"per_level_above_first": 2.5
|
||||
}
|
||||
},
|
||||
"requirements": {
|
||||
"condition": "minecraft:entity_properties",
|
||||
"entity": "this",
|
||||
"predicate": {
|
||||
"type": "#minecraft:sensitive_to_bane_of_arthropods"
|
||||
}
|
||||
}
|
||||
}
|
||||
],
|
||||
"minecraft:post_attack": [
|
||||
{
|
||||
"affected": "victim",
|
||||
"effect": {
|
||||
"type": "minecraft:apply_mob_effect",
|
||||
"max_amplifier": 3.0,
|
||||
"max_duration": {
|
||||
"type": "minecraft:linear",
|
||||
"base": 1.5,
|
||||
"per_level_above_first": 0.5
|
||||
},
|
||||
"min_amplifier": 3.0,
|
||||
"min_duration": 1.5,
|
||||
"to_apply": "minecraft:slowness"
|
||||
},
|
||||
"enchanted": "attacker",
|
||||
"requirements": {
|
||||
"condition": "minecraft:all_of",
|
||||
"terms": [
|
||||
{
|
||||
"condition": "minecraft:entity_properties",
|
||||
"entity": "this",
|
||||
"predicate": {
|
||||
"type": "#minecraft:sensitive_to_bane_of_arthropods"
|
||||
}
|
||||
},
|
||||
{
|
||||
"condition": "minecraft:damage_source_properties",
|
||||
"predicate": {
|
||||
"is_direct": true
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
"exclusive_set": "#minecraft:exclusive_set/damage",
|
||||
"max_cost": {
|
||||
"base": 25,
|
||||
"per_level_above_first": 8
|
||||
},
|
||||
"max_level": 5,
|
||||
"min_cost": {
|
||||
"base": 5,
|
||||
"per_level_above_first": 8
|
||||
},
|
||||
"primary_items": "#minecraft:enchantable/sword",
|
||||
"slots": [
|
||||
"mainhand"
|
||||
],
|
||||
"supported_items": "#minecraft:enchantable/weapon",
|
||||
"weight": 5
|
||||
}
|
||||
23
data/minecraft/enchantment/binding_curse.json
Normal file
23
data/minecraft/enchantment/binding_curse.json
Normal file
@@ -0,0 +1,23 @@
|
||||
{
|
||||
"anvil_cost": 8,
|
||||
"description": {
|
||||
"translate": "enchantment.minecraft.binding_curse"
|
||||
},
|
||||
"effects": {
|
||||
"minecraft:prevent_armor_change": {}
|
||||
},
|
||||
"max_cost": {
|
||||
"base": 50,
|
||||
"per_level_above_first": 0
|
||||
},
|
||||
"max_level": 1,
|
||||
"min_cost": {
|
||||
"base": 25,
|
||||
"per_level_above_first": 0
|
||||
},
|
||||
"slots": [
|
||||
"armor"
|
||||
],
|
||||
"supported_items": "#minecraft:enchantable/equippable",
|
||||
"weight": 1
|
||||
}
|
||||
62
data/minecraft/enchantment/blast_protection.json
Normal file
62
data/minecraft/enchantment/blast_protection.json
Normal file
@@ -0,0 +1,62 @@
|
||||
{
|
||||
"anvil_cost": 4,
|
||||
"description": {
|
||||
"translate": "enchantment.minecraft.blast_protection"
|
||||
},
|
||||
"effects": {
|
||||
"minecraft:attributes": [
|
||||
{
|
||||
"amount": {
|
||||
"type": "minecraft:linear",
|
||||
"base": 0.15,
|
||||
"per_level_above_first": 0.15
|
||||
},
|
||||
"attribute": "minecraft:explosion_knockback_resistance",
|
||||
"id": "minecraft:enchantment.blast_protection",
|
||||
"operation": "add_value"
|
||||
}
|
||||
],
|
||||
"minecraft:damage_protection": [
|
||||
{
|
||||
"effect": {
|
||||
"type": "minecraft:add",
|
||||
"value": {
|
||||
"type": "minecraft:linear",
|
||||
"base": 2.0,
|
||||
"per_level_above_first": 2.0
|
||||
}
|
||||
},
|
||||
"requirements": {
|
||||
"condition": "minecraft:damage_source_properties",
|
||||
"predicate": {
|
||||
"tags": [
|
||||
{
|
||||
"expected": true,
|
||||
"id": "minecraft:is_explosion"
|
||||
},
|
||||
{
|
||||
"expected": false,
|
||||
"id": "minecraft:bypasses_invulnerability"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
"exclusive_set": "#minecraft:exclusive_set/armor",
|
||||
"max_cost": {
|
||||
"base": 13,
|
||||
"per_level_above_first": 8
|
||||
},
|
||||
"max_level": 4,
|
||||
"min_cost": {
|
||||
"base": 5,
|
||||
"per_level_above_first": 8
|
||||
},
|
||||
"slots": [
|
||||
"armor"
|
||||
],
|
||||
"supported_items": "#minecraft:enchantable/armor",
|
||||
"weight": 2
|
||||
}
|
||||
35
data/minecraft/enchantment/breach.json
Normal file
35
data/minecraft/enchantment/breach.json
Normal file
@@ -0,0 +1,35 @@
|
||||
{
|
||||
"anvil_cost": 4,
|
||||
"description": {
|
||||
"translate": "enchantment.minecraft.breach"
|
||||
},
|
||||
"effects": {
|
||||
"minecraft:armor_effectiveness": [
|
||||
{
|
||||
"effect": {
|
||||
"type": "minecraft:add",
|
||||
"value": {
|
||||
"type": "minecraft:linear",
|
||||
"base": -0.15,
|
||||
"per_level_above_first": -0.15
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
"exclusive_set": "#minecraft:exclusive_set/damage",
|
||||
"max_cost": {
|
||||
"base": 65,
|
||||
"per_level_above_first": 9
|
||||
},
|
||||
"max_level": 4,
|
||||
"min_cost": {
|
||||
"base": 15,
|
||||
"per_level_above_first": 9
|
||||
},
|
||||
"slots": [
|
||||
"mainhand"
|
||||
],
|
||||
"supported_items": "#minecraft:enchantable/mace",
|
||||
"weight": 2
|
||||
}
|
||||
113
data/minecraft/enchantment/channeling.json
Normal file
113
data/minecraft/enchantment/channeling.json
Normal file
@@ -0,0 +1,113 @@
|
||||
{
|
||||
"anvil_cost": 8,
|
||||
"description": {
|
||||
"translate": "enchantment.minecraft.channeling"
|
||||
},
|
||||
"effects": {
|
||||
"minecraft:hit_block": [
|
||||
{
|
||||
"effect": {
|
||||
"type": "minecraft:all_of",
|
||||
"effects": [
|
||||
{
|
||||
"type": "minecraft:summon_entity",
|
||||
"entity": "minecraft:lightning_bolt"
|
||||
},
|
||||
{
|
||||
"type": "minecraft:play_sound",
|
||||
"pitch": 1.0,
|
||||
"sound": "minecraft:item.trident.thunder",
|
||||
"volume": 5.0
|
||||
}
|
||||
]
|
||||
},
|
||||
"requirements": {
|
||||
"condition": "minecraft:all_of",
|
||||
"terms": [
|
||||
{
|
||||
"condition": "minecraft:weather_check",
|
||||
"thundering": true
|
||||
},
|
||||
{
|
||||
"condition": "minecraft:entity_properties",
|
||||
"entity": "this",
|
||||
"predicate": {
|
||||
"type": "minecraft:trident"
|
||||
}
|
||||
},
|
||||
{
|
||||
"condition": "minecraft:location_check",
|
||||
"predicate": {
|
||||
"can_see_sky": true
|
||||
}
|
||||
},
|
||||
{
|
||||
"block": "minecraft:lightning_rod",
|
||||
"condition": "minecraft:block_state_property"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
],
|
||||
"minecraft:post_attack": [
|
||||
{
|
||||
"affected": "victim",
|
||||
"effect": {
|
||||
"type": "minecraft:all_of",
|
||||
"effects": [
|
||||
{
|
||||
"type": "minecraft:summon_entity",
|
||||
"entity": "minecraft:lightning_bolt"
|
||||
},
|
||||
{
|
||||
"type": "minecraft:play_sound",
|
||||
"pitch": 1.0,
|
||||
"sound": "minecraft:item.trident.thunder",
|
||||
"volume": 5.0
|
||||
}
|
||||
]
|
||||
},
|
||||
"enchanted": "attacker",
|
||||
"requirements": {
|
||||
"condition": "minecraft:all_of",
|
||||
"terms": [
|
||||
{
|
||||
"condition": "minecraft:weather_check",
|
||||
"thundering": true
|
||||
},
|
||||
{
|
||||
"condition": "minecraft:entity_properties",
|
||||
"entity": "this",
|
||||
"predicate": {
|
||||
"location": {
|
||||
"can_see_sky": true
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"condition": "minecraft:entity_properties",
|
||||
"entity": "direct_attacker",
|
||||
"predicate": {
|
||||
"type": "minecraft:trident"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
"max_cost": {
|
||||
"base": 50,
|
||||
"per_level_above_first": 0
|
||||
},
|
||||
"max_level": 1,
|
||||
"min_cost": {
|
||||
"base": 25,
|
||||
"per_level_above_first": 0
|
||||
},
|
||||
"slots": [
|
||||
"mainhand"
|
||||
],
|
||||
"supported_items": "#minecraft:enchantable/trident",
|
||||
"weight": 1
|
||||
}
|
||||
35
data/minecraft/enchantment/density.json
Normal file
35
data/minecraft/enchantment/density.json
Normal file
@@ -0,0 +1,35 @@
|
||||
{
|
||||
"anvil_cost": 2,
|
||||
"description": {
|
||||
"translate": "enchantment.minecraft.density"
|
||||
},
|
||||
"effects": {
|
||||
"minecraft:smash_damage_per_fallen_block": [
|
||||
{
|
||||
"effect": {
|
||||
"type": "minecraft:add",
|
||||
"value": {
|
||||
"type": "minecraft:linear",
|
||||
"base": 0.5,
|
||||
"per_level_above_first": 0.5
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
"exclusive_set": "#minecraft:exclusive_set/damage",
|
||||
"max_cost": {
|
||||
"base": 25,
|
||||
"per_level_above_first": 8
|
||||
},
|
||||
"max_level": 5,
|
||||
"min_cost": {
|
||||
"base": 5,
|
||||
"per_level_above_first": 8
|
||||
},
|
||||
"slots": [
|
||||
"mainhand"
|
||||
],
|
||||
"supported_items": "#minecraft:enchantable/mace",
|
||||
"weight": 5
|
||||
}
|
||||
35
data/minecraft/enchantment/depth_strider.json
Normal file
35
data/minecraft/enchantment/depth_strider.json
Normal file
@@ -0,0 +1,35 @@
|
||||
{
|
||||
"anvil_cost": 4,
|
||||
"description": {
|
||||
"translate": "enchantment.minecraft.depth_strider"
|
||||
},
|
||||
"effects": {
|
||||
"minecraft:attributes": [
|
||||
{
|
||||
"amount": {
|
||||
"type": "minecraft:linear",
|
||||
"base": 0.33333334,
|
||||
"per_level_above_first": 0.33333334
|
||||
},
|
||||
"attribute": "minecraft:water_movement_efficiency",
|
||||
"id": "minecraft:enchantment.depth_strider",
|
||||
"operation": "add_value"
|
||||
}
|
||||
]
|
||||
},
|
||||
"exclusive_set": "#minecraft:exclusive_set/boots",
|
||||
"max_cost": {
|
||||
"base": 25,
|
||||
"per_level_above_first": 10
|
||||
},
|
||||
"max_level": 3,
|
||||
"min_cost": {
|
||||
"base": 10,
|
||||
"per_level_above_first": 10
|
||||
},
|
||||
"slots": [
|
||||
"feet"
|
||||
],
|
||||
"supported_items": "#minecraft:enchantable/foot_armor",
|
||||
"weight": 2
|
||||
}
|
||||
33
data/minecraft/enchantment/efficiency.json
Normal file
33
data/minecraft/enchantment/efficiency.json
Normal file
@@ -0,0 +1,33 @@
|
||||
{
|
||||
"anvil_cost": 1,
|
||||
"description": {
|
||||
"translate": "enchantment.minecraft.efficiency"
|
||||
},
|
||||
"effects": {
|
||||
"minecraft:attributes": [
|
||||
{
|
||||
"amount": {
|
||||
"type": "minecraft:levels_squared",
|
||||
"added": 1.0
|
||||
},
|
||||
"attribute": "minecraft:mining_efficiency",
|
||||
"id": "minecraft:enchantment.efficiency",
|
||||
"operation": "add_value"
|
||||
}
|
||||
]
|
||||
},
|
||||
"max_cost": {
|
||||
"base": 51,
|
||||
"per_level_above_first": 10
|
||||
},
|
||||
"max_level": 5,
|
||||
"min_cost": {
|
||||
"base": 1,
|
||||
"per_level_above_first": 10
|
||||
},
|
||||
"slots": [
|
||||
"mainhand"
|
||||
],
|
||||
"supported_items": "#minecraft:enchantable/mining",
|
||||
"weight": 10
|
||||
}
|
||||
49
data/minecraft/enchantment/feather_falling.json
Normal file
49
data/minecraft/enchantment/feather_falling.json
Normal file
@@ -0,0 +1,49 @@
|
||||
{
|
||||
"anvil_cost": 2,
|
||||
"description": {
|
||||
"translate": "enchantment.minecraft.feather_falling"
|
||||
},
|
||||
"effects": {
|
||||
"minecraft:damage_protection": [
|
||||
{
|
||||
"effect": {
|
||||
"type": "minecraft:add",
|
||||
"value": {
|
||||
"type": "minecraft:linear",
|
||||
"base": 3.0,
|
||||
"per_level_above_first": 3.0
|
||||
}
|
||||
},
|
||||
"requirements": {
|
||||
"condition": "minecraft:damage_source_properties",
|
||||
"predicate": {
|
||||
"tags": [
|
||||
{
|
||||
"expected": true,
|
||||
"id": "minecraft:is_fall"
|
||||
},
|
||||
{
|
||||
"expected": false,
|
||||
"id": "minecraft:bypasses_invulnerability"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
"max_cost": {
|
||||
"base": 11,
|
||||
"per_level_above_first": 6
|
||||
},
|
||||
"max_level": 4,
|
||||
"min_cost": {
|
||||
"base": 5,
|
||||
"per_level_above_first": 6
|
||||
},
|
||||
"slots": [
|
||||
"armor"
|
||||
],
|
||||
"supported_items": "#minecraft:enchantable/foot_armor",
|
||||
"weight": 5
|
||||
}
|
||||
43
data/minecraft/enchantment/fire_aspect.json
Normal file
43
data/minecraft/enchantment/fire_aspect.json
Normal file
@@ -0,0 +1,43 @@
|
||||
{
|
||||
"anvil_cost": 4,
|
||||
"description": {
|
||||
"translate": "enchantment.minecraft.fire_aspect"
|
||||
},
|
||||
"effects": {
|
||||
"minecraft:post_attack": [
|
||||
{
|
||||
"affected": "victim",
|
||||
"effect": {
|
||||
"type": "minecraft:ignite",
|
||||
"duration": {
|
||||
"type": "minecraft:linear",
|
||||
"base": 4.0,
|
||||
"per_level_above_first": 4.0
|
||||
}
|
||||
},
|
||||
"enchanted": "attacker",
|
||||
"requirements": {
|
||||
"condition": "minecraft:damage_source_properties",
|
||||
"predicate": {
|
||||
"is_direct": true
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
"max_cost": {
|
||||
"base": 60,
|
||||
"per_level_above_first": 20
|
||||
},
|
||||
"max_level": 2,
|
||||
"min_cost": {
|
||||
"base": 10,
|
||||
"per_level_above_first": 20
|
||||
},
|
||||
"primary_items": "#minecraft:enchantable/sword",
|
||||
"slots": [
|
||||
"mainhand"
|
||||
],
|
||||
"supported_items": "#minecraft:enchantable/fire_aspect",
|
||||
"weight": 2
|
||||
}
|
||||
67
data/minecraft/enchantment/fire_protection.json
Normal file
67
data/minecraft/enchantment/fire_protection.json
Normal file
@@ -0,0 +1,67 @@
|
||||
{
|
||||
"anvil_cost": 2,
|
||||
"description": {
|
||||
"translate": "enchantment.minecraft.fire_protection"
|
||||
},
|
||||
"effects": {
|
||||
"minecraft:attributes": [
|
||||
{
|
||||
"amount": {
|
||||
"type": "minecraft:linear",
|
||||
"base": -0.15,
|
||||
"per_level_above_first": -0.15
|
||||
},
|
||||
"attribute": "minecraft:burning_time",
|
||||
"id": "minecraft:enchantment.fire_protection",
|
||||
"operation": "add_multiplied_base"
|
||||
}
|
||||
],
|
||||
"minecraft:damage_protection": [
|
||||
{
|
||||
"effect": {
|
||||
"type": "minecraft:add",
|
||||
"value": {
|
||||
"type": "minecraft:linear",
|
||||
"base": 2.0,
|
||||
"per_level_above_first": 2.0
|
||||
}
|
||||
},
|
||||
"requirements": {
|
||||
"condition": "minecraft:all_of",
|
||||
"terms": [
|
||||
{
|
||||
"condition": "minecraft:damage_source_properties",
|
||||
"predicate": {
|
||||
"tags": [
|
||||
{
|
||||
"expected": true,
|
||||
"id": "minecraft:is_fire"
|
||||
},
|
||||
{
|
||||
"expected": false,
|
||||
"id": "minecraft:bypasses_invulnerability"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
"exclusive_set": "#minecraft:exclusive_set/armor",
|
||||
"max_cost": {
|
||||
"base": 18,
|
||||
"per_level_above_first": 8
|
||||
},
|
||||
"max_level": 4,
|
||||
"min_cost": {
|
||||
"base": 10,
|
||||
"per_level_above_first": 8
|
||||
},
|
||||
"slots": [
|
||||
"armor"
|
||||
],
|
||||
"supported_items": "#minecraft:enchantable/armor",
|
||||
"weight": 5
|
||||
}
|
||||
30
data/minecraft/enchantment/flame.json
Normal file
30
data/minecraft/enchantment/flame.json
Normal file
@@ -0,0 +1,30 @@
|
||||
{
|
||||
"anvil_cost": 4,
|
||||
"description": {
|
||||
"translate": "enchantment.minecraft.flame"
|
||||
},
|
||||
"effects": {
|
||||
"minecraft:projectile_spawned": [
|
||||
{
|
||||
"effect": {
|
||||
"type": "minecraft:ignite",
|
||||
"duration": 100.0
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
"max_cost": {
|
||||
"base": 50,
|
||||
"per_level_above_first": 0
|
||||
},
|
||||
"max_level": 1,
|
||||
"min_cost": {
|
||||
"base": 20,
|
||||
"per_level_above_first": 0
|
||||
},
|
||||
"slots": [
|
||||
"mainhand"
|
||||
],
|
||||
"supported_items": "#minecraft:enchantable/bow",
|
||||
"weight": 2
|
||||
}
|
||||
21
data/minecraft/enchantment/fortune.json
Normal file
21
data/minecraft/enchantment/fortune.json
Normal file
@@ -0,0 +1,21 @@
|
||||
{
|
||||
"anvil_cost": 4,
|
||||
"description": {
|
||||
"translate": "enchantment.minecraft.fortune"
|
||||
},
|
||||
"exclusive_set": "#minecraft:exclusive_set/mining",
|
||||
"max_cost": {
|
||||
"base": 65,
|
||||
"per_level_above_first": 9
|
||||
},
|
||||
"max_level": 3,
|
||||
"min_cost": {
|
||||
"base": 15,
|
||||
"per_level_above_first": 9
|
||||
},
|
||||
"slots": [
|
||||
"mainhand"
|
||||
],
|
||||
"supported_items": "#minecraft:enchantable/mining_loot",
|
||||
"weight": 2
|
||||
}
|
||||
125
data/minecraft/enchantment/frost_walker.json
Normal file
125
data/minecraft/enchantment/frost_walker.json
Normal file
@@ -0,0 +1,125 @@
|
||||
{
|
||||
"anvil_cost": 4,
|
||||
"description": {
|
||||
"translate": "enchantment.minecraft.frost_walker"
|
||||
},
|
||||
"effects": {
|
||||
"minecraft:damage_immunity": [
|
||||
{
|
||||
"effect": {},
|
||||
"requirements": {
|
||||
"condition": "minecraft:damage_source_properties",
|
||||
"predicate": {
|
||||
"tags": [
|
||||
{
|
||||
"expected": true,
|
||||
"id": "minecraft:burn_from_stepping"
|
||||
},
|
||||
{
|
||||
"expected": false,
|
||||
"id": "minecraft:bypasses_invulnerability"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
],
|
||||
"minecraft:location_changed": [
|
||||
{
|
||||
"effect": {
|
||||
"type": "minecraft:replace_disk",
|
||||
"block_state": {
|
||||
"type": "minecraft:simple_state_provider",
|
||||
"state": {
|
||||
"Name": "minecraft:frosted_ice",
|
||||
"Properties": {
|
||||
"age": "0"
|
||||
}
|
||||
}
|
||||
},
|
||||
"height": 1.0,
|
||||
"offset": [
|
||||
0,
|
||||
-1,
|
||||
0
|
||||
],
|
||||
"predicate": {
|
||||
"type": "minecraft:all_of",
|
||||
"predicates": [
|
||||
{
|
||||
"type": "minecraft:matching_block_tag",
|
||||
"offset": [
|
||||
0,
|
||||
1,
|
||||
0
|
||||
],
|
||||
"tag": "minecraft:air"
|
||||
},
|
||||
{
|
||||
"type": "minecraft:matching_blocks",
|
||||
"blocks": "minecraft:water"
|
||||
},
|
||||
{
|
||||
"type": "minecraft:matching_fluids",
|
||||
"fluids": "minecraft:water"
|
||||
},
|
||||
{
|
||||
"type": "minecraft:unobstructed"
|
||||
}
|
||||
]
|
||||
},
|
||||
"radius": {
|
||||
"type": "minecraft:clamped",
|
||||
"max": 16.0,
|
||||
"min": 0.0,
|
||||
"value": {
|
||||
"type": "minecraft:linear",
|
||||
"base": 3.0,
|
||||
"per_level_above_first": 1.0
|
||||
}
|
||||
},
|
||||
"trigger_game_event": "minecraft:block_place"
|
||||
},
|
||||
"requirements": {
|
||||
"condition": "minecraft:all_of",
|
||||
"terms": [
|
||||
{
|
||||
"condition": "minecraft:entity_properties",
|
||||
"entity": "this",
|
||||
"predicate": {
|
||||
"flags": {
|
||||
"is_on_ground": true
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"condition": "minecraft:inverted",
|
||||
"term": {
|
||||
"condition": "minecraft:entity_properties",
|
||||
"entity": "this",
|
||||
"predicate": {
|
||||
"vehicle": {}
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
"exclusive_set": "#minecraft:exclusive_set/boots",
|
||||
"max_cost": {
|
||||
"base": 25,
|
||||
"per_level_above_first": 10
|
||||
},
|
||||
"max_level": 2,
|
||||
"min_cost": {
|
||||
"base": 10,
|
||||
"per_level_above_first": 10
|
||||
},
|
||||
"slots": [
|
||||
"feet"
|
||||
],
|
||||
"supported_items": "#minecraft:enchantable/foot_armor",
|
||||
"weight": 2
|
||||
}
|
||||
42
data/minecraft/enchantment/impaling.json
Normal file
42
data/minecraft/enchantment/impaling.json
Normal file
@@ -0,0 +1,42 @@
|
||||
{
|
||||
"anvil_cost": 4,
|
||||
"description": {
|
||||
"translate": "enchantment.minecraft.impaling"
|
||||
},
|
||||
"effects": {
|
||||
"minecraft:damage": [
|
||||
{
|
||||
"effect": {
|
||||
"type": "minecraft:add",
|
||||
"value": {
|
||||
"type": "minecraft:linear",
|
||||
"base": 2.5,
|
||||
"per_level_above_first": 2.5
|
||||
}
|
||||
},
|
||||
"requirements": {
|
||||
"condition": "minecraft:entity_properties",
|
||||
"entity": "this",
|
||||
"predicate": {
|
||||
"type": "#minecraft:sensitive_to_impaling"
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
"exclusive_set": "#minecraft:exclusive_set/damage",
|
||||
"max_cost": {
|
||||
"base": 21,
|
||||
"per_level_above_first": 8
|
||||
},
|
||||
"max_level": 5,
|
||||
"min_cost": {
|
||||
"base": 1,
|
||||
"per_level_above_first": 8
|
||||
},
|
||||
"slots": [
|
||||
"mainhand"
|
||||
],
|
||||
"supported_items": "#minecraft:enchantable/trident",
|
||||
"weight": 2
|
||||
}
|
||||
37
data/minecraft/enchantment/infinity.json
Normal file
37
data/minecraft/enchantment/infinity.json
Normal file
@@ -0,0 +1,37 @@
|
||||
{
|
||||
"anvil_cost": 8,
|
||||
"description": {
|
||||
"translate": "enchantment.minecraft.infinity"
|
||||
},
|
||||
"effects": {
|
||||
"minecraft:ammo_use": [
|
||||
{
|
||||
"effect": {
|
||||
"type": "minecraft:set",
|
||||
"value": 0.0
|
||||
},
|
||||
"requirements": {
|
||||
"condition": "minecraft:match_tool",
|
||||
"predicate": {
|
||||
"items": "minecraft:arrow"
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
"exclusive_set": "#minecraft:exclusive_set/bow",
|
||||
"max_cost": {
|
||||
"base": 50,
|
||||
"per_level_above_first": 0
|
||||
},
|
||||
"max_level": 1,
|
||||
"min_cost": {
|
||||
"base": 20,
|
||||
"per_level_above_first": 0
|
||||
},
|
||||
"slots": [
|
||||
"mainhand"
|
||||
],
|
||||
"supported_items": "#minecraft:enchantable/bow",
|
||||
"weight": 1
|
||||
}
|
||||
34
data/minecraft/enchantment/knockback.json
Normal file
34
data/minecraft/enchantment/knockback.json
Normal file
@@ -0,0 +1,34 @@
|
||||
{
|
||||
"anvil_cost": 2,
|
||||
"description": {
|
||||
"translate": "enchantment.minecraft.knockback"
|
||||
},
|
||||
"effects": {
|
||||
"minecraft:knockback": [
|
||||
{
|
||||
"effect": {
|
||||
"type": "minecraft:add",
|
||||
"value": {
|
||||
"type": "minecraft:linear",
|
||||
"base": 1.0,
|
||||
"per_level_above_first": 1.0
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
"max_cost": {
|
||||
"base": 55,
|
||||
"per_level_above_first": 20
|
||||
},
|
||||
"max_level": 2,
|
||||
"min_cost": {
|
||||
"base": 5,
|
||||
"per_level_above_first": 20
|
||||
},
|
||||
"slots": [
|
||||
"mainhand"
|
||||
],
|
||||
"supported_items": "#minecraft:enchantable/sword",
|
||||
"weight": 5
|
||||
}
|
||||
42
data/minecraft/enchantment/looting.json
Normal file
42
data/minecraft/enchantment/looting.json
Normal file
@@ -0,0 +1,42 @@
|
||||
{
|
||||
"anvil_cost": 4,
|
||||
"description": {
|
||||
"translate": "enchantment.minecraft.looting"
|
||||
},
|
||||
"effects": {
|
||||
"minecraft:equipment_drops": [
|
||||
{
|
||||
"effect": {
|
||||
"type": "minecraft:add",
|
||||
"value": {
|
||||
"type": "minecraft:linear",
|
||||
"base": 0.01,
|
||||
"per_level_above_first": 0.01
|
||||
}
|
||||
},
|
||||
"enchanted": "attacker",
|
||||
"requirements": {
|
||||
"condition": "minecraft:entity_properties",
|
||||
"entity": "attacker",
|
||||
"predicate": {
|
||||
"type": "minecraft:player"
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
"max_cost": {
|
||||
"base": 65,
|
||||
"per_level_above_first": 9
|
||||
},
|
||||
"max_level": 3,
|
||||
"min_cost": {
|
||||
"base": 15,
|
||||
"per_level_above_first": 9
|
||||
},
|
||||
"slots": [
|
||||
"mainhand"
|
||||
],
|
||||
"supported_items": "#minecraft:enchantable/sword",
|
||||
"weight": 2
|
||||
}
|
||||
34
data/minecraft/enchantment/loyalty.json
Normal file
34
data/minecraft/enchantment/loyalty.json
Normal file
@@ -0,0 +1,34 @@
|
||||
{
|
||||
"anvil_cost": 2,
|
||||
"description": {
|
||||
"translate": "enchantment.minecraft.loyalty"
|
||||
},
|
||||
"effects": {
|
||||
"minecraft:trident_return_acceleration": [
|
||||
{
|
||||
"effect": {
|
||||
"type": "minecraft:add",
|
||||
"value": {
|
||||
"type": "minecraft:linear",
|
||||
"base": 1.0,
|
||||
"per_level_above_first": 1.0
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
"max_cost": {
|
||||
"base": 50,
|
||||
"per_level_above_first": 0
|
||||
},
|
||||
"max_level": 3,
|
||||
"min_cost": {
|
||||
"base": 12,
|
||||
"per_level_above_first": 7
|
||||
},
|
||||
"slots": [
|
||||
"mainhand"
|
||||
],
|
||||
"supported_items": "#minecraft:enchantable/trident",
|
||||
"weight": 5
|
||||
}
|
||||
34
data/minecraft/enchantment/luck_of_the_sea.json
Normal file
34
data/minecraft/enchantment/luck_of_the_sea.json
Normal file
@@ -0,0 +1,34 @@
|
||||
{
|
||||
"anvil_cost": 4,
|
||||
"description": {
|
||||
"translate": "enchantment.minecraft.luck_of_the_sea"
|
||||
},
|
||||
"effects": {
|
||||
"minecraft:fishing_luck_bonus": [
|
||||
{
|
||||
"effect": {
|
||||
"type": "minecraft:add",
|
||||
"value": {
|
||||
"type": "minecraft:linear",
|
||||
"base": 1.0,
|
||||
"per_level_above_first": 1.0
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
"max_cost": {
|
||||
"base": 65,
|
||||
"per_level_above_first": 9
|
||||
},
|
||||
"max_level": 3,
|
||||
"min_cost": {
|
||||
"base": 15,
|
||||
"per_level_above_first": 9
|
||||
},
|
||||
"slots": [
|
||||
"mainhand"
|
||||
],
|
||||
"supported_items": "#minecraft:enchantable/fishing",
|
||||
"weight": 2
|
||||
}
|
||||
34
data/minecraft/enchantment/lure.json
Normal file
34
data/minecraft/enchantment/lure.json
Normal file
@@ -0,0 +1,34 @@
|
||||
{
|
||||
"anvil_cost": 4,
|
||||
"description": {
|
||||
"translate": "enchantment.minecraft.lure"
|
||||
},
|
||||
"effects": {
|
||||
"minecraft:fishing_time_reduction": [
|
||||
{
|
||||
"effect": {
|
||||
"type": "minecraft:add",
|
||||
"value": {
|
||||
"type": "minecraft:linear",
|
||||
"base": 5.0,
|
||||
"per_level_above_first": 5.0
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
"max_cost": {
|
||||
"base": 65,
|
||||
"per_level_above_first": 9
|
||||
},
|
||||
"max_level": 3,
|
||||
"min_cost": {
|
||||
"base": 15,
|
||||
"per_level_above_first": 9
|
||||
},
|
||||
"slots": [
|
||||
"mainhand"
|
||||
],
|
||||
"supported_items": "#minecraft:enchantable/fishing",
|
||||
"weight": 2
|
||||
}
|
||||
30
data/minecraft/enchantment/mending.json
Normal file
30
data/minecraft/enchantment/mending.json
Normal file
@@ -0,0 +1,30 @@
|
||||
{
|
||||
"anvil_cost": 4,
|
||||
"description": {
|
||||
"translate": "enchantment.minecraft.mending"
|
||||
},
|
||||
"effects": {
|
||||
"minecraft:repair_with_xp": [
|
||||
{
|
||||
"effect": {
|
||||
"type": "minecraft:multiply",
|
||||
"factor": 2.0
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
"max_cost": {
|
||||
"base": 75,
|
||||
"per_level_above_first": 25
|
||||
},
|
||||
"max_level": 1,
|
||||
"min_cost": {
|
||||
"base": 25,
|
||||
"per_level_above_first": 25
|
||||
},
|
||||
"slots": [
|
||||
"any"
|
||||
],
|
||||
"supported_items": "#minecraft:enchantable/durability",
|
||||
"weight": 2
|
||||
}
|
||||
47
data/minecraft/enchantment/multishot.json
Normal file
47
data/minecraft/enchantment/multishot.json
Normal file
@@ -0,0 +1,47 @@
|
||||
{
|
||||
"anvil_cost": 4,
|
||||
"description": {
|
||||
"translate": "enchantment.minecraft.multishot"
|
||||
},
|
||||
"effects": {
|
||||
"minecraft:projectile_count": [
|
||||
{
|
||||
"effect": {
|
||||
"type": "minecraft:add",
|
||||
"value": {
|
||||
"type": "minecraft:linear",
|
||||
"base": 2.0,
|
||||
"per_level_above_first": 2.0
|
||||
}
|
||||
}
|
||||
}
|
||||
],
|
||||
"minecraft:projectile_spread": [
|
||||
{
|
||||
"effect": {
|
||||
"type": "minecraft:add",
|
||||
"value": {
|
||||
"type": "minecraft:linear",
|
||||
"base": 10.0,
|
||||
"per_level_above_first": 10.0
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
"exclusive_set": "#minecraft:exclusive_set/crossbow",
|
||||
"max_cost": {
|
||||
"base": 50,
|
||||
"per_level_above_first": 0
|
||||
},
|
||||
"max_level": 1,
|
||||
"min_cost": {
|
||||
"base": 20,
|
||||
"per_level_above_first": 0
|
||||
},
|
||||
"slots": [
|
||||
"mainhand"
|
||||
],
|
||||
"supported_items": "#minecraft:enchantable/crossbow",
|
||||
"weight": 2
|
||||
}
|
||||
35
data/minecraft/enchantment/piercing.json
Normal file
35
data/minecraft/enchantment/piercing.json
Normal file
@@ -0,0 +1,35 @@
|
||||
{
|
||||
"anvil_cost": 1,
|
||||
"description": {
|
||||
"translate": "enchantment.minecraft.piercing"
|
||||
},
|
||||
"effects": {
|
||||
"minecraft:projectile_piercing": [
|
||||
{
|
||||
"effect": {
|
||||
"type": "minecraft:add",
|
||||
"value": {
|
||||
"type": "minecraft:linear",
|
||||
"base": 1.0,
|
||||
"per_level_above_first": 1.0
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
"exclusive_set": "#minecraft:exclusive_set/crossbow",
|
||||
"max_cost": {
|
||||
"base": 50,
|
||||
"per_level_above_first": 0
|
||||
},
|
||||
"max_level": 4,
|
||||
"min_cost": {
|
||||
"base": 1,
|
||||
"per_level_above_first": 10
|
||||
},
|
||||
"slots": [
|
||||
"mainhand"
|
||||
],
|
||||
"supported_items": "#minecraft:enchantable/crossbow",
|
||||
"weight": 10
|
||||
}
|
||||
41
data/minecraft/enchantment/power.json
Normal file
41
data/minecraft/enchantment/power.json
Normal file
@@ -0,0 +1,41 @@
|
||||
{
|
||||
"anvil_cost": 1,
|
||||
"description": {
|
||||
"translate": "enchantment.minecraft.power"
|
||||
},
|
||||
"effects": {
|
||||
"minecraft:damage": [
|
||||
{
|
||||
"effect": {
|
||||
"type": "minecraft:add",
|
||||
"value": {
|
||||
"type": "minecraft:linear",
|
||||
"base": 1.0,
|
||||
"per_level_above_first": 0.5
|
||||
}
|
||||
},
|
||||
"requirements": {
|
||||
"condition": "minecraft:entity_properties",
|
||||
"entity": "direct_attacker",
|
||||
"predicate": {
|
||||
"type": "#minecraft:arrows"
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
"max_cost": {
|
||||
"base": 16,
|
||||
"per_level_above_first": 10
|
||||
},
|
||||
"max_level": 5,
|
||||
"min_cost": {
|
||||
"base": 1,
|
||||
"per_level_above_first": 10
|
||||
},
|
||||
"slots": [
|
||||
"mainhand"
|
||||
],
|
||||
"supported_items": "#minecraft:enchantable/bow",
|
||||
"weight": 10
|
||||
}
|
||||
50
data/minecraft/enchantment/projectile_protection.json
Normal file
50
data/minecraft/enchantment/projectile_protection.json
Normal file
@@ -0,0 +1,50 @@
|
||||
{
|
||||
"anvil_cost": 2,
|
||||
"description": {
|
||||
"translate": "enchantment.minecraft.projectile_protection"
|
||||
},
|
||||
"effects": {
|
||||
"minecraft:damage_protection": [
|
||||
{
|
||||
"effect": {
|
||||
"type": "minecraft:add",
|
||||
"value": {
|
||||
"type": "minecraft:linear",
|
||||
"base": 2.0,
|
||||
"per_level_above_first": 2.0
|
||||
}
|
||||
},
|
||||
"requirements": {
|
||||
"condition": "minecraft:damage_source_properties",
|
||||
"predicate": {
|
||||
"tags": [
|
||||
{
|
||||
"expected": true,
|
||||
"id": "minecraft:is_projectile"
|
||||
},
|
||||
{
|
||||
"expected": false,
|
||||
"id": "minecraft:bypasses_invulnerability"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
"exclusive_set": "#minecraft:exclusive_set/armor",
|
||||
"max_cost": {
|
||||
"base": 9,
|
||||
"per_level_above_first": 6
|
||||
},
|
||||
"max_level": 4,
|
||||
"min_cost": {
|
||||
"base": 3,
|
||||
"per_level_above_first": 6
|
||||
},
|
||||
"slots": [
|
||||
"armor"
|
||||
],
|
||||
"supported_items": "#minecraft:enchantable/armor",
|
||||
"weight": 5
|
||||
}
|
||||
46
data/minecraft/enchantment/protection.json
Normal file
46
data/minecraft/enchantment/protection.json
Normal file
@@ -0,0 +1,46 @@
|
||||
{
|
||||
"anvil_cost": 1,
|
||||
"description": {
|
||||
"translate": "enchantment.minecraft.protection"
|
||||
},
|
||||
"effects": {
|
||||
"minecraft:damage_protection": [
|
||||
{
|
||||
"effect": {
|
||||
"type": "minecraft:add",
|
||||
"value": {
|
||||
"type": "minecraft:linear",
|
||||
"base": 1.0,
|
||||
"per_level_above_first": 1.0
|
||||
}
|
||||
},
|
||||
"requirements": {
|
||||
"condition": "minecraft:damage_source_properties",
|
||||
"predicate": {
|
||||
"tags": [
|
||||
{
|
||||
"expected": false,
|
||||
"id": "minecraft:bypasses_invulnerability"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
"exclusive_set": "#minecraft:exclusive_set/armor",
|
||||
"max_cost": {
|
||||
"base": 12,
|
||||
"per_level_above_first": 11
|
||||
},
|
||||
"max_level": 4,
|
||||
"min_cost": {
|
||||
"base": 1,
|
||||
"per_level_above_first": 11
|
||||
},
|
||||
"slots": [
|
||||
"armor"
|
||||
],
|
||||
"supported_items": "#minecraft:enchantable/armor",
|
||||
"weight": 10
|
||||
}
|
||||
41
data/minecraft/enchantment/punch.json
Normal file
41
data/minecraft/enchantment/punch.json
Normal file
@@ -0,0 +1,41 @@
|
||||
{
|
||||
"anvil_cost": 4,
|
||||
"description": {
|
||||
"translate": "enchantment.minecraft.punch"
|
||||
},
|
||||
"effects": {
|
||||
"minecraft:knockback": [
|
||||
{
|
||||
"effect": {
|
||||
"type": "minecraft:add",
|
||||
"value": {
|
||||
"type": "minecraft:linear",
|
||||
"base": 1.0,
|
||||
"per_level_above_first": 1.0
|
||||
}
|
||||
},
|
||||
"requirements": {
|
||||
"condition": "minecraft:entity_properties",
|
||||
"entity": "direct_attacker",
|
||||
"predicate": {
|
||||
"type": "#minecraft:arrows"
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
"max_cost": {
|
||||
"base": 37,
|
||||
"per_level_above_first": 20
|
||||
},
|
||||
"max_level": 2,
|
||||
"min_cost": {
|
||||
"base": 12,
|
||||
"per_level_above_first": 20
|
||||
},
|
||||
"slots": [
|
||||
"mainhand"
|
||||
],
|
||||
"supported_items": "#minecraft:enchantable/bow",
|
||||
"weight": 2
|
||||
}
|
||||
45
data/minecraft/enchantment/quick_charge.json
Normal file
45
data/minecraft/enchantment/quick_charge.json
Normal file
@@ -0,0 +1,45 @@
|
||||
{
|
||||
"anvil_cost": 2,
|
||||
"description": {
|
||||
"translate": "enchantment.minecraft.quick_charge"
|
||||
},
|
||||
"effects": {
|
||||
"minecraft:crossbow_charge_time": {
|
||||
"type": "minecraft:add",
|
||||
"value": {
|
||||
"type": "minecraft:linear",
|
||||
"base": -0.25,
|
||||
"per_level_above_first": -0.25
|
||||
}
|
||||
},
|
||||
"minecraft:crossbow_charging_sounds": [
|
||||
{
|
||||
"end": "minecraft:item.crossbow.loading_end",
|
||||
"start": "minecraft:item.crossbow.quick_charge_1"
|
||||
},
|
||||
{
|
||||
"end": "minecraft:item.crossbow.loading_end",
|
||||
"start": "minecraft:item.crossbow.quick_charge_2"
|
||||
},
|
||||
{
|
||||
"end": "minecraft:item.crossbow.loading_end",
|
||||
"start": "minecraft:item.crossbow.quick_charge_3"
|
||||
}
|
||||
]
|
||||
},
|
||||
"max_cost": {
|
||||
"base": 50,
|
||||
"per_level_above_first": 0
|
||||
},
|
||||
"max_level": 3,
|
||||
"min_cost": {
|
||||
"base": 12,
|
||||
"per_level_above_first": 20
|
||||
},
|
||||
"slots": [
|
||||
"mainhand",
|
||||
"offhand"
|
||||
],
|
||||
"supported_items": "#minecraft:enchantable/crossbow",
|
||||
"weight": 5
|
||||
}
|
||||
34
data/minecraft/enchantment/respiration.json
Normal file
34
data/minecraft/enchantment/respiration.json
Normal file
@@ -0,0 +1,34 @@
|
||||
{
|
||||
"anvil_cost": 4,
|
||||
"description": {
|
||||
"translate": "enchantment.minecraft.respiration"
|
||||
},
|
||||
"effects": {
|
||||
"minecraft:attributes": [
|
||||
{
|
||||
"amount": {
|
||||
"type": "minecraft:linear",
|
||||
"base": 1.0,
|
||||
"per_level_above_first": 1.0
|
||||
},
|
||||
"attribute": "minecraft:oxygen_bonus",
|
||||
"id": "minecraft:enchantment.respiration",
|
||||
"operation": "add_value"
|
||||
}
|
||||
]
|
||||
},
|
||||
"max_cost": {
|
||||
"base": 40,
|
||||
"per_level_above_first": 10
|
||||
},
|
||||
"max_level": 3,
|
||||
"min_cost": {
|
||||
"base": 10,
|
||||
"per_level_above_first": 10
|
||||
},
|
||||
"slots": [
|
||||
"head"
|
||||
],
|
||||
"supported_items": "#minecraft:enchantable/head_armor",
|
||||
"weight": 2
|
||||
}
|
||||
36
data/minecraft/enchantment/riptide.json
Normal file
36
data/minecraft/enchantment/riptide.json
Normal file
@@ -0,0 +1,36 @@
|
||||
{
|
||||
"anvil_cost": 4,
|
||||
"description": {
|
||||
"translate": "enchantment.minecraft.riptide"
|
||||
},
|
||||
"effects": {
|
||||
"minecraft:trident_sound": [
|
||||
"minecraft:item.trident.riptide_1",
|
||||
"minecraft:item.trident.riptide_2",
|
||||
"minecraft:item.trident.riptide_3"
|
||||
],
|
||||
"minecraft:trident_spin_attack_strength": {
|
||||
"type": "minecraft:add",
|
||||
"value": {
|
||||
"type": "minecraft:linear",
|
||||
"base": 1.5,
|
||||
"per_level_above_first": 0.75
|
||||
}
|
||||
}
|
||||
},
|
||||
"exclusive_set": "#minecraft:exclusive_set/riptide",
|
||||
"max_cost": {
|
||||
"base": 50,
|
||||
"per_level_above_first": 0
|
||||
},
|
||||
"max_level": 3,
|
||||
"min_cost": {
|
||||
"base": 17,
|
||||
"per_level_above_first": 7
|
||||
},
|
||||
"slots": [
|
||||
"hand"
|
||||
],
|
||||
"supported_items": "#minecraft:enchantable/trident",
|
||||
"weight": 2
|
||||
}
|
||||
36
data/minecraft/enchantment/sharpness.json
Normal file
36
data/minecraft/enchantment/sharpness.json
Normal file
@@ -0,0 +1,36 @@
|
||||
{
|
||||
"anvil_cost": 1,
|
||||
"description": {
|
||||
"translate": "enchantment.minecraft.sharpness"
|
||||
},
|
||||
"effects": {
|
||||
"minecraft:damage": [
|
||||
{
|
||||
"effect": {
|
||||
"type": "minecraft:add",
|
||||
"value": {
|
||||
"type": "minecraft:linear",
|
||||
"base": 1.0,
|
||||
"per_level_above_first": 0.5
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
"exclusive_set": "#minecraft:exclusive_set/damage",
|
||||
"max_cost": {
|
||||
"base": 21,
|
||||
"per_level_above_first": 11
|
||||
},
|
||||
"max_level": 5,
|
||||
"min_cost": {
|
||||
"base": 1,
|
||||
"per_level_above_first": 11
|
||||
},
|
||||
"primary_items": "#minecraft:enchantable/sword",
|
||||
"slots": [
|
||||
"mainhand"
|
||||
],
|
||||
"supported_items": "#minecraft:enchantable/sharp_weapon",
|
||||
"weight": 10
|
||||
}
|
||||
31
data/minecraft/enchantment/silk_touch.json
Normal file
31
data/minecraft/enchantment/silk_touch.json
Normal file
@@ -0,0 +1,31 @@
|
||||
{
|
||||
"anvil_cost": 8,
|
||||
"description": {
|
||||
"translate": "enchantment.minecraft.silk_touch"
|
||||
},
|
||||
"effects": {
|
||||
"minecraft:block_experience": [
|
||||
{
|
||||
"effect": {
|
||||
"type": "minecraft:set",
|
||||
"value": 0.0
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
"exclusive_set": "#minecraft:exclusive_set/mining",
|
||||
"max_cost": {
|
||||
"base": 65,
|
||||
"per_level_above_first": 0
|
||||
},
|
||||
"max_level": 1,
|
||||
"min_cost": {
|
||||
"base": 15,
|
||||
"per_level_above_first": 0
|
||||
},
|
||||
"slots": [
|
||||
"mainhand"
|
||||
],
|
||||
"supported_items": "#minecraft:enchantable/mining_loot",
|
||||
"weight": 1
|
||||
}
|
||||
43
data/minecraft/enchantment/smite.json
Normal file
43
data/minecraft/enchantment/smite.json
Normal file
@@ -0,0 +1,43 @@
|
||||
{
|
||||
"anvil_cost": 2,
|
||||
"description": {
|
||||
"translate": "enchantment.minecraft.smite"
|
||||
},
|
||||
"effects": {
|
||||
"minecraft:damage": [
|
||||
{
|
||||
"effect": {
|
||||
"type": "minecraft:add",
|
||||
"value": {
|
||||
"type": "minecraft:linear",
|
||||
"base": 2.5,
|
||||
"per_level_above_first": 2.5
|
||||
}
|
||||
},
|
||||
"requirements": {
|
||||
"condition": "minecraft:entity_properties",
|
||||
"entity": "this",
|
||||
"predicate": {
|
||||
"type": "#minecraft:sensitive_to_smite"
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
"exclusive_set": "#minecraft:exclusive_set/damage",
|
||||
"max_cost": {
|
||||
"base": 25,
|
||||
"per_level_above_first": 8
|
||||
},
|
||||
"max_level": 5,
|
||||
"min_cost": {
|
||||
"base": 5,
|
||||
"per_level_above_first": 8
|
||||
},
|
||||
"primary_items": "#minecraft:enchantable/sword",
|
||||
"slots": [
|
||||
"mainhand"
|
||||
],
|
||||
"supported_items": "#minecraft:enchantable/weapon",
|
||||
"weight": 5
|
||||
}
|
||||
254
data/minecraft/enchantment/soul_speed.json
Normal file
254
data/minecraft/enchantment/soul_speed.json
Normal file
@@ -0,0 +1,254 @@
|
||||
{
|
||||
"anvil_cost": 8,
|
||||
"description": {
|
||||
"translate": "enchantment.minecraft.soul_speed"
|
||||
},
|
||||
"effects": {
|
||||
"minecraft:location_changed": [
|
||||
{
|
||||
"effect": {
|
||||
"type": "minecraft:all_of",
|
||||
"effects": [
|
||||
{
|
||||
"type": "minecraft:attribute",
|
||||
"amount": {
|
||||
"type": "minecraft:linear",
|
||||
"base": 0.0405,
|
||||
"per_level_above_first": 0.0105
|
||||
},
|
||||
"attribute": "minecraft:movement_speed",
|
||||
"id": "minecraft:enchantment.soul_speed",
|
||||
"operation": "add_value"
|
||||
},
|
||||
{
|
||||
"type": "minecraft:attribute",
|
||||
"amount": 1.0,
|
||||
"attribute": "minecraft:movement_efficiency",
|
||||
"id": "minecraft:enchantment.soul_speed",
|
||||
"operation": "add_value"
|
||||
}
|
||||
]
|
||||
},
|
||||
"requirements": {
|
||||
"condition": "minecraft:all_of",
|
||||
"terms": [
|
||||
{
|
||||
"condition": "minecraft:inverted",
|
||||
"term": {
|
||||
"condition": "minecraft:entity_properties",
|
||||
"entity": "this",
|
||||
"predicate": {
|
||||
"vehicle": {}
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"condition": "minecraft:any_of",
|
||||
"terms": [
|
||||
{
|
||||
"condition": "minecraft:all_of",
|
||||
"terms": [
|
||||
{
|
||||
"active": true,
|
||||
"condition": "minecraft:enchantment_active_check"
|
||||
},
|
||||
{
|
||||
"condition": "minecraft:entity_properties",
|
||||
"entity": "this",
|
||||
"predicate": {
|
||||
"flags": {
|
||||
"is_flying": false
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"condition": "minecraft:any_of",
|
||||
"terms": [
|
||||
{
|
||||
"condition": "minecraft:entity_properties",
|
||||
"entity": "this",
|
||||
"predicate": {
|
||||
"movement_affected_by": {
|
||||
"block": {
|
||||
"blocks": "#minecraft:soul_speed_blocks"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"condition": "minecraft:entity_properties",
|
||||
"entity": "this",
|
||||
"predicate": {
|
||||
"flags": {
|
||||
"is_on_ground": false
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"condition": "minecraft:all_of",
|
||||
"terms": [
|
||||
{
|
||||
"active": false,
|
||||
"condition": "minecraft:enchantment_active_check"
|
||||
},
|
||||
{
|
||||
"condition": "minecraft:entity_properties",
|
||||
"entity": "this",
|
||||
"predicate": {
|
||||
"flags": {
|
||||
"is_flying": false
|
||||
},
|
||||
"movement_affected_by": {
|
||||
"block": {
|
||||
"blocks": "#minecraft:soul_speed_blocks"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"effect": {
|
||||
"type": "minecraft:change_item_damage",
|
||||
"amount": 1.0
|
||||
},
|
||||
"requirements": {
|
||||
"condition": "minecraft:all_of",
|
||||
"terms": [
|
||||
{
|
||||
"chance": {
|
||||
"type": "minecraft:enchantment_level",
|
||||
"amount": 0.04
|
||||
},
|
||||
"condition": "minecraft:random_chance"
|
||||
},
|
||||
{
|
||||
"condition": "minecraft:entity_properties",
|
||||
"entity": "this",
|
||||
"predicate": {
|
||||
"flags": {
|
||||
"is_on_ground": true
|
||||
},
|
||||
"movement_affected_by": {
|
||||
"block": {
|
||||
"blocks": "#minecraft:soul_speed_blocks"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
],
|
||||
"minecraft:tick": [
|
||||
{
|
||||
"effect": {
|
||||
"type": "minecraft:spawn_particles",
|
||||
"horizontal_position": {
|
||||
"type": "in_bounding_box"
|
||||
},
|
||||
"horizontal_velocity": {
|
||||
"movement_scale": -0.2
|
||||
},
|
||||
"particle": {
|
||||
"type": "minecraft:soul"
|
||||
},
|
||||
"speed": 1.0,
|
||||
"vertical_position": {
|
||||
"type": "entity_position",
|
||||
"offset": 0.1
|
||||
},
|
||||
"vertical_velocity": {
|
||||
"base": 0.1
|
||||
}
|
||||
},
|
||||
"requirements": {
|
||||
"condition": "minecraft:entity_properties",
|
||||
"entity": "this",
|
||||
"predicate": {
|
||||
"flags": {
|
||||
"is_flying": false,
|
||||
"is_on_ground": true
|
||||
},
|
||||
"movement": {
|
||||
"horizontal_speed": {
|
||||
"min": 9.999999747378752E-6
|
||||
}
|
||||
},
|
||||
"movement_affected_by": {
|
||||
"block": {
|
||||
"blocks": "#minecraft:soul_speed_blocks"
|
||||
}
|
||||
},
|
||||
"periodic_tick": 5
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"effect": {
|
||||
"type": "minecraft:play_sound",
|
||||
"pitch": {
|
||||
"type": "minecraft:uniform",
|
||||
"max_exclusive": 1.0,
|
||||
"min_inclusive": 0.6
|
||||
},
|
||||
"sound": "minecraft:particle.soul_escape",
|
||||
"volume": 0.6
|
||||
},
|
||||
"requirements": {
|
||||
"condition": "minecraft:all_of",
|
||||
"terms": [
|
||||
{
|
||||
"chance": 0.35,
|
||||
"condition": "minecraft:random_chance"
|
||||
},
|
||||
{
|
||||
"condition": "minecraft:entity_properties",
|
||||
"entity": "this",
|
||||
"predicate": {
|
||||
"flags": {
|
||||
"is_flying": false,
|
||||
"is_on_ground": true
|
||||
},
|
||||
"movement": {
|
||||
"horizontal_speed": {
|
||||
"min": 9.999999747378752E-6
|
||||
}
|
||||
},
|
||||
"movement_affected_by": {
|
||||
"block": {
|
||||
"blocks": "#minecraft:soul_speed_blocks"
|
||||
}
|
||||
},
|
||||
"periodic_tick": 5
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
"max_cost": {
|
||||
"base": 25,
|
||||
"per_level_above_first": 10
|
||||
},
|
||||
"max_level": 3,
|
||||
"min_cost": {
|
||||
"base": 10,
|
||||
"per_level_above_first": 10
|
||||
},
|
||||
"slots": [
|
||||
"feet"
|
||||
],
|
||||
"supported_items": "#minecraft:enchantable/foot_armor",
|
||||
"weight": 1
|
||||
}
|
||||
42
data/minecraft/enchantment/sweeping_edge.json
Normal file
42
data/minecraft/enchantment/sweeping_edge.json
Normal file
@@ -0,0 +1,42 @@
|
||||
{
|
||||
"anvil_cost": 4,
|
||||
"description": {
|
||||
"translate": "enchantment.minecraft.sweeping_edge"
|
||||
},
|
||||
"effects": {
|
||||
"minecraft:attributes": [
|
||||
{
|
||||
"amount": {
|
||||
"type": "minecraft:fraction",
|
||||
"denominator": {
|
||||
"type": "minecraft:linear",
|
||||
"base": 2.0,
|
||||
"per_level_above_first": 1.0
|
||||
},
|
||||
"numerator": {
|
||||
"type": "minecraft:linear",
|
||||
"base": 1.0,
|
||||
"per_level_above_first": 1.0
|
||||
}
|
||||
},
|
||||
"attribute": "minecraft:sweeping_damage_ratio",
|
||||
"id": "minecraft:enchantment.sweeping_edge",
|
||||
"operation": "add_value"
|
||||
}
|
||||
]
|
||||
},
|
||||
"max_cost": {
|
||||
"base": 20,
|
||||
"per_level_above_first": 9
|
||||
},
|
||||
"max_level": 3,
|
||||
"min_cost": {
|
||||
"base": 5,
|
||||
"per_level_above_first": 9
|
||||
},
|
||||
"slots": [
|
||||
"mainhand"
|
||||
],
|
||||
"supported_items": "#minecraft:enchantable/sword",
|
||||
"weight": 2
|
||||
}
|
||||
34
data/minecraft/enchantment/swift_sneak.json
Normal file
34
data/minecraft/enchantment/swift_sneak.json
Normal file
@@ -0,0 +1,34 @@
|
||||
{
|
||||
"anvil_cost": 8,
|
||||
"description": {
|
||||
"translate": "enchantment.minecraft.swift_sneak"
|
||||
},
|
||||
"effects": {
|
||||
"minecraft:attributes": [
|
||||
{
|
||||
"amount": {
|
||||
"type": "minecraft:linear",
|
||||
"base": 0.15,
|
||||
"per_level_above_first": 0.15
|
||||
},
|
||||
"attribute": "minecraft:sneaking_speed",
|
||||
"id": "minecraft:enchantment.swift_sneak",
|
||||
"operation": "add_value"
|
||||
}
|
||||
]
|
||||
},
|
||||
"max_cost": {
|
||||
"base": 75,
|
||||
"per_level_above_first": 25
|
||||
},
|
||||
"max_level": 3,
|
||||
"min_cost": {
|
||||
"base": 25,
|
||||
"per_level_above_first": 25
|
||||
},
|
||||
"slots": [
|
||||
"legs"
|
||||
],
|
||||
"supported_items": "#minecraft:enchantable/leg_armor",
|
||||
"weight": 1
|
||||
}
|
||||
55
data/minecraft/enchantment/thorns.json
Normal file
55
data/minecraft/enchantment/thorns.json
Normal file
@@ -0,0 +1,55 @@
|
||||
{
|
||||
"anvil_cost": 8,
|
||||
"description": {
|
||||
"translate": "enchantment.minecraft.thorns"
|
||||
},
|
||||
"effects": {
|
||||
"minecraft:post_attack": [
|
||||
{
|
||||
"affected": "attacker",
|
||||
"effect": {
|
||||
"type": "minecraft:all_of",
|
||||
"effects": [
|
||||
{
|
||||
"type": "minecraft:damage_entity",
|
||||
"damage_type": "minecraft:thorns",
|
||||
"max_damage": 5.0,
|
||||
"min_damage": 1.0
|
||||
},
|
||||
{
|
||||
"type": "minecraft:change_item_damage",
|
||||
"amount": 2.0
|
||||
}
|
||||
]
|
||||
},
|
||||
"enchanted": "victim",
|
||||
"requirements": {
|
||||
"chance": {
|
||||
"type": "minecraft:enchantment_level",
|
||||
"amount": {
|
||||
"type": "minecraft:linear",
|
||||
"base": 0.15,
|
||||
"per_level_above_first": 0.15
|
||||
}
|
||||
},
|
||||
"condition": "minecraft:random_chance"
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
"max_cost": {
|
||||
"base": 60,
|
||||
"per_level_above_first": 20
|
||||
},
|
||||
"max_level": 3,
|
||||
"min_cost": {
|
||||
"base": 10,
|
||||
"per_level_above_first": 20
|
||||
},
|
||||
"primary_items": "#minecraft:enchantable/chest_armor",
|
||||
"slots": [
|
||||
"any"
|
||||
],
|
||||
"supported_items": "#minecraft:enchantable/armor",
|
||||
"weight": 1
|
||||
}
|
||||
75
data/minecraft/enchantment/unbreaking.json
Normal file
75
data/minecraft/enchantment/unbreaking.json
Normal file
@@ -0,0 +1,75 @@
|
||||
{
|
||||
"anvil_cost": 2,
|
||||
"description": {
|
||||
"translate": "enchantment.minecraft.unbreaking"
|
||||
},
|
||||
"effects": {
|
||||
"minecraft:item_damage": [
|
||||
{
|
||||
"effect": {
|
||||
"type": "minecraft:remove_binomial",
|
||||
"chance": {
|
||||
"type": "minecraft:fraction",
|
||||
"denominator": {
|
||||
"type": "minecraft:linear",
|
||||
"base": 10.0,
|
||||
"per_level_above_first": 5.0
|
||||
},
|
||||
"numerator": {
|
||||
"type": "minecraft:linear",
|
||||
"base": 2.0,
|
||||
"per_level_above_first": 2.0
|
||||
}
|
||||
}
|
||||
},
|
||||
"requirements": {
|
||||
"condition": "minecraft:match_tool",
|
||||
"predicate": {
|
||||
"items": "#minecraft:enchantable/armor"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"effect": {
|
||||
"type": "minecraft:remove_binomial",
|
||||
"chance": {
|
||||
"type": "minecraft:fraction",
|
||||
"denominator": {
|
||||
"type": "minecraft:linear",
|
||||
"base": 2.0,
|
||||
"per_level_above_first": 1.0
|
||||
},
|
||||
"numerator": {
|
||||
"type": "minecraft:linear",
|
||||
"base": 1.0,
|
||||
"per_level_above_first": 1.0
|
||||
}
|
||||
}
|
||||
},
|
||||
"requirements": {
|
||||
"condition": "minecraft:inverted",
|
||||
"term": {
|
||||
"condition": "minecraft:match_tool",
|
||||
"predicate": {
|
||||
"items": "#minecraft:enchantable/armor"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
"max_cost": {
|
||||
"base": 55,
|
||||
"per_level_above_first": 8
|
||||
},
|
||||
"max_level": 3,
|
||||
"min_cost": {
|
||||
"base": 5,
|
||||
"per_level_above_first": 8
|
||||
},
|
||||
"slots": [
|
||||
"any"
|
||||
],
|
||||
"supported_items": "#minecraft:enchantable/durability",
|
||||
"weight": 5
|
||||
}
|
||||
23
data/minecraft/enchantment/vanishing_curse.json
Normal file
23
data/minecraft/enchantment/vanishing_curse.json
Normal file
@@ -0,0 +1,23 @@
|
||||
{
|
||||
"anvil_cost": 8,
|
||||
"description": {
|
||||
"translate": "enchantment.minecraft.vanishing_curse"
|
||||
},
|
||||
"effects": {
|
||||
"minecraft:prevent_equipment_drop": {}
|
||||
},
|
||||
"max_cost": {
|
||||
"base": 50,
|
||||
"per_level_above_first": 0
|
||||
},
|
||||
"max_level": 1,
|
||||
"min_cost": {
|
||||
"base": 25,
|
||||
"per_level_above_first": 0
|
||||
},
|
||||
"slots": [
|
||||
"any"
|
||||
],
|
||||
"supported_items": "#minecraft:enchantable/vanishing",
|
||||
"weight": 1
|
||||
}
|
||||
68
data/minecraft/enchantment/wind_burst.json
Normal file
68
data/minecraft/enchantment/wind_burst.json
Normal file
@@ -0,0 +1,68 @@
|
||||
{
|
||||
"anvil_cost": 4,
|
||||
"description": {
|
||||
"translate": "enchantment.minecraft.wind_burst"
|
||||
},
|
||||
"effects": {
|
||||
"minecraft:post_attack": [
|
||||
{
|
||||
"affected": "attacker",
|
||||
"effect": {
|
||||
"type": "minecraft:explode",
|
||||
"block_interaction": "trigger",
|
||||
"immune_blocks": "#minecraft:blocks_wind_charge_explosions",
|
||||
"knockback_multiplier": {
|
||||
"type": "minecraft:lookup",
|
||||
"fallback": {
|
||||
"type": "minecraft:linear",
|
||||
"base": 1.5,
|
||||
"per_level_above_first": 0.35
|
||||
},
|
||||
"values": [
|
||||
1.2,
|
||||
1.75,
|
||||
2.2
|
||||
]
|
||||
},
|
||||
"large_particle": {
|
||||
"type": "minecraft:gust_emitter_large"
|
||||
},
|
||||
"radius": 3.5,
|
||||
"small_particle": {
|
||||
"type": "minecraft:gust_emitter_small"
|
||||
},
|
||||
"sound": "minecraft:entity.wind_charge.wind_burst"
|
||||
},
|
||||
"enchanted": "attacker",
|
||||
"requirements": {
|
||||
"condition": "minecraft:entity_properties",
|
||||
"entity": "direct_attacker",
|
||||
"predicate": {
|
||||
"flags": {
|
||||
"is_flying": false
|
||||
},
|
||||
"movement": {
|
||||
"fall_distance": {
|
||||
"min": 1.5
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
"max_cost": {
|
||||
"base": 65,
|
||||
"per_level_above_first": 9
|
||||
},
|
||||
"max_level": 3,
|
||||
"min_cost": {
|
||||
"base": 15,
|
||||
"per_level_above_first": 9
|
||||
},
|
||||
"slots": [
|
||||
"mainhand"
|
||||
],
|
||||
"supported_items": "#minecraft:enchantable/mace",
|
||||
"weight": 2
|
||||
}
|
||||
Reference in New Issue
Block a user