feat: more multi version work

This commit is contained in:
Alexander Medvedev committed 2026-08-20 22:39:16 +02:00
1 parent af90b14b1c
commit c7c8d10d47
12646 files changed
+330277 -8476

No files matched your search

@@ -0,0 +1,112 @@
{
"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": {
"minecraft:entity_type": "minecraft:trident"
}
},
{
"condition": "minecraft:location_check",
"predicate": {
"block": {
"blocks": "#minecraft:lightning_rods"
},
"can_see_sky": true
}
}
]
}
}
],
"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": {
"minecraft:location": {
"can_see_sky": true
}
}
},
{
"condition": "minecraft:entity_properties",
"entity": "direct_attacker",
"predicate": {
"minecraft:entity_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
}