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 @@
{
"description": {
"translate": "enchantment.minecraft.channeling"
},
"supported_items": "#minecraft:enchantable/trident",
"weight": 1,
"max_level": 1,
"min_cost": {
"base": 25,
"per_level_above_first": 0
},
"max_cost": {
"base": 50,
"per_level_above_first": 0
},
"anvil_cost": 8,
"slots": [
"mainhand"
],
"effects": {
"minecraft:hit_block": [
{
"effect": {
"effects": [
{
"entity": "minecraft:lightning_bolt",
"type": "minecraft:summon_entity"
},
{
"sound": "minecraft:item.trident.thunder",
"volume": 5.0,
"pitch": 1.0,
"type": "minecraft:play_sound"
}
],
"type": "minecraft:all_of"
},
"requirements": {
"terms": [
{
"thundering": true,
"condition": "minecraft:weather_check"
},
{
"predicate": {
"type": "minecraft:trident"
},
"entity": "this",
"condition": "minecraft:entity_properties"
},
{
"predicate": {
"block": {
"blocks": "#minecraft:lightning_rods"
},
"can_see_sky": true
},
"condition": "minecraft:location_check"
}
],
"condition": "minecraft:all_of"
}
}
],
"minecraft:post_attack": [
{
"enchanted": "attacker",
"affected": "victim",
"effect": {
"effects": [
{
"entity": "minecraft:lightning_bolt",
"type": "minecraft:summon_entity"
},
{
"sound": "minecraft:item.trident.thunder",
"volume": 5.0,
"pitch": 1.0,
"type": "minecraft:play_sound"
}
],
"type": "minecraft:all_of"
},
"requirements": {
"terms": [
{
"thundering": true,
"condition": "minecraft:weather_check"
},
{
"predicate": {
"location": {
"can_see_sky": true
}
},
"entity": "this",
"condition": "minecraft:entity_properties"
},
{
"predicate": {
"type": "minecraft:trident"
},
"entity": "direct_attacker",
"condition": "minecraft:entity_properties"
}
],
"condition": "minecraft:all_of"
}
}
]
}
}