You've already forked minecraft-assets
Create/Update assets for version 1.21.3
This commit is contained in:
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
|
||||
}
|
||||
Reference in New Issue
Block a user