-
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
mending multiplier, remove mending, elytra ignores unbreaking
- Loading branch information
1 parent
21dbe26
commit 26c2859
Showing
12 changed files
with
302 additions
and
0 deletions.
There are no files selected for viewing
131 changes: 131 additions & 0 deletions
131
packs/elytra-ignores-unbreaking/data/minecraft/enchantment/unbreaking.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,131 @@ | ||
{ | ||
"description": { | ||
"translate": "enchantment.minecraft.unbreaking" | ||
}, | ||
"supported_items": "#purpur:enchantable/durability", | ||
"weight": 5, | ||
"max_level": 3, | ||
"min_cost": { | ||
"base": 5, | ||
"per_level_above_first": 8 | ||
}, | ||
"max_cost": { | ||
"base": 55, | ||
"per_level_above_first": 8 | ||
}, | ||
"anvil_cost": 2, | ||
"slots": [ | ||
"any" | ||
], | ||
"effects": { | ||
"minecraft:item_damage": [ | ||
{ | ||
"effect": { | ||
"type": "minecraft:remove_binomial", | ||
"chance": { | ||
"type": "minecraft:fraction", | ||
"numerator": { | ||
"type": "minecraft:linear", | ||
"base": 2, | ||
"per_level_above_first": 2 | ||
}, | ||
"denominator": { | ||
"type": "minecraft:linear", | ||
"base": 10, | ||
"per_level_above_first": 5 | ||
} | ||
} | ||
}, | ||
"requirements": [ | ||
{ | ||
"condition": "minecraft:all_of", | ||
"terms": [ | ||
{ | ||
"condition": "minecraft:match_tool", | ||
"predicate": { | ||
"items": "#minecraft:enchantable/armor" | ||
} | ||
}, | ||
{ | ||
"condition": "minecraft:inverted", | ||
"term": { | ||
"condition": "minecraft:match_tool", | ||
"predicate": { | ||
"items": "minecraft:elytra" | ||
} | ||
} | ||
} | ||
] | ||
} | ||
] | ||
}, | ||
{ | ||
"effect": { | ||
"type": "minecraft:remove_binomial", | ||
"chance": { | ||
"type": "minecraft:fraction", | ||
"numerator": { | ||
"type": "minecraft:linear", | ||
"base": 1, | ||
"per_level_above_first": 1 | ||
}, | ||
"denominator": { | ||
"type": "minecraft:linear", | ||
"base": 2, | ||
"per_level_above_first": 1 | ||
} | ||
} | ||
}, | ||
"requirements": [ | ||
{ | ||
"condition": "minecraft:all_of", | ||
"terms": [ | ||
{ | ||
"condition": "minecraft:inverted", | ||
"term": { | ||
"condition": "minecraft:match_tool", | ||
"predicate": { | ||
"items": "#minecraft:enchantable/armor" | ||
} | ||
} | ||
}, | ||
{ | ||
"condition": "minecraft:inverted", | ||
"term": { | ||
"condition": "minecraft:match_tool", | ||
"predicate": { | ||
"items": "minecraft:elytra" | ||
} | ||
} | ||
} | ||
] | ||
} | ||
] | ||
}, | ||
{ | ||
"effect": { | ||
"type": "minecraft:remove_binomial", | ||
"chance": { | ||
"type": "minecraft:fraction", | ||
"numerator": { | ||
"type": "minecraft:linear", | ||
"base": 0, | ||
"per_level_above_first": 0 | ||
}, | ||
"denominator": { | ||
"type": "minecraft:linear", | ||
"base": 1, | ||
"per_level_above_first": 0 | ||
} | ||
} | ||
}, | ||
"requirements": { | ||
"condition": "minecraft:match_tool", | ||
"predicate": { | ||
"items": "minecraft:elytra" | ||
} | ||
} | ||
} | ||
] | ||
} | ||
} |
25 changes: 25 additions & 0 deletions
25
packs/elytra-ignores-unbreaking/data/purpur/tags/item/enchantable/durability.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
{ | ||
"replace": true, | ||
"values": [ | ||
"#minecraft:foot_armor", | ||
"#minecraft:leg_armor", | ||
"#minecraft:chest_armor", | ||
"#minecraft:head_armor", | ||
"minecraft:shield", | ||
"#minecraft:swords", | ||
"#minecraft:axes", | ||
"#minecraft:pickaxes", | ||
"#minecraft:shovels", | ||
"#minecraft:hoes", | ||
"minecraft:bow", | ||
"minecraft:crossbow", | ||
"minecraft:trident", | ||
"minecraft:flint_and_steel", | ||
"minecraft:shears", | ||
"minecraft:brush", | ||
"minecraft:fishing_rod", | ||
"minecraft:carrot_on_a_stick", | ||
"minecraft:warped_fungus_on_a_stick", | ||
"minecraft:mace" | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
{ | ||
"name": "1.0", | ||
"version_number": "1.0", | ||
"changelog": "", | ||
"game_versions": [ | ||
"1.21" | ||
], | ||
"version_type": "release", | ||
"project_id": "" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
{ | ||
"pack": { | ||
"pack_format": 48, | ||
"description": "Disables Unbreaking From Working On Elytra", | ||
"supported_formats": {"min_inclusive": 48, "max_inclusive": 48} | ||
} | ||
} |
30 changes: 30 additions & 0 deletions
30
packs/mending_multiplier/data/minecraft/enchantment/mending.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
{ | ||
"pack": { | ||
"pack_format": 48, | ||
"description": "Allows you to alter the mending multiplier", | ||
"supported_formats": {"min_inclusive": 48, "max_inclusive": 48} | ||
} | ||
} | ||
|
9 changes: 9 additions & 0 deletions
9
packs/remove_mending/data/minecraft/tags/enchantment/on_random_loot.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
{ | ||
"replace": true, | ||
"values": [ | ||
"#minecraft:non_treasure", | ||
"minecraft:binding_curse", | ||
"minecraft:vanishing_curse", | ||
"minecraft:frost_walker" | ||
] | ||
} |
46 changes: 46 additions & 0 deletions
46
packs/remove_mending/data/minecraft/tags/enchantment/tooltip_order.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
{ | ||
"replace": true, | ||
"values": [ | ||
"minecraft:binding_curse", | ||
"minecraft:vanishing_curse", | ||
"minecraft:riptide", | ||
"minecraft:channeling", | ||
"minecraft:wind_burst", | ||
"minecraft:frost_walker", | ||
"minecraft:sharpness", | ||
"minecraft:smite", | ||
"minecraft:bane_of_arthropods", | ||
"minecraft:impaling", | ||
"minecraft:power", | ||
"minecraft:density", | ||
"minecraft:breach", | ||
"minecraft:piercing", | ||
"minecraft:sweeping_edge", | ||
"minecraft:multishot", | ||
"minecraft:fire_aspect", | ||
"minecraft:flame", | ||
"minecraft:knockback", | ||
"minecraft:punch", | ||
"minecraft:protection", | ||
"minecraft:blast_protection", | ||
"minecraft:fire_protection", | ||
"minecraft:projectile_protection", | ||
"minecraft:feather_falling", | ||
"minecraft:fortune", | ||
"minecraft:looting", | ||
"minecraft:silk_touch", | ||
"minecraft:luck_of_the_sea", | ||
"minecraft:efficiency", | ||
"minecraft:quick_charge", | ||
"minecraft:lure", | ||
"minecraft:respiration", | ||
"minecraft:aqua_affinity", | ||
"minecraft:soul_speed", | ||
"minecraft:swift_sneak", | ||
"minecraft:depth_strider", | ||
"minecraft:thorns", | ||
"minecraft:loyalty", | ||
"minecraft:unbreaking", | ||
"minecraft:infinity" | ||
] | ||
} |
9 changes: 9 additions & 0 deletions
9
packs/remove_mending/data/minecraft/tags/enchantment/tradeable.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
{ | ||
"replace": true, | ||
"values": [ | ||
"#minecraft:non_treasure", | ||
"minecraft:binding_curse", | ||
"minecraft:vanishing_curse", | ||
"minecraft:frost_walker" | ||
] | ||
} |
11 changes: 11 additions & 0 deletions
11
packs/remove_mending/data/minecraft/tags/enchantment/treasure.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
{ | ||
"replace": true, | ||
"values": [ | ||
"minecraft:binding_curse", | ||
"minecraft:vanishing_curse", | ||
"minecraft:swift_sneak", | ||
"minecraft:soul_speed", | ||
"minecraft:frost_walker", | ||
"minecraft:wind_burst" | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
{ | ||
"pack": { | ||
"pack_format": 48, | ||
"description": "", | ||
"supported_formats": {"min_inclusive": 48, "max_inclusive": 48} | ||
} | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
{ | ||
"pack": { | ||
"pack_format": 48, | ||
"description": "", | ||
"supported_formats": {"min_inclusive": 48, "max_inclusive": 48} | ||
} | ||
} | ||
|