diff --git a/packs/elytra-ignores-unbreaking/data/minecraft/enchantment/unbreaking.json b/packs/elytra-ignores-unbreaking/data/minecraft/enchantment/unbreaking.json new file mode 100644 index 0000000..68ab444 --- /dev/null +++ b/packs/elytra-ignores-unbreaking/data/minecraft/enchantment/unbreaking.json @@ -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" + } + } + } + ] + } +} diff --git a/packs/elytra-ignores-unbreaking/data/purpur/tags/item/enchantable/durability.json b/packs/elytra-ignores-unbreaking/data/purpur/tags/item/enchantable/durability.json new file mode 100644 index 0000000..52bb110 --- /dev/null +++ b/packs/elytra-ignores-unbreaking/data/purpur/tags/item/enchantable/durability.json @@ -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" + ] +} \ No newline at end of file diff --git a/packs/elytra-ignores-unbreaking/modrinth.json b/packs/elytra-ignores-unbreaking/modrinth.json new file mode 100644 index 0000000..be5ed8f --- /dev/null +++ b/packs/elytra-ignores-unbreaking/modrinth.json @@ -0,0 +1,10 @@ +{ + "name": "1.0", + "version_number": "1.0", + "changelog": "", + "game_versions": [ + "1.21" + ], + "version_type": "release", + "project_id": "" +} diff --git a/packs/elytra-ignores-unbreaking/pack.mcmeta b/packs/elytra-ignores-unbreaking/pack.mcmeta new file mode 100644 index 0000000..8228db4 --- /dev/null +++ b/packs/elytra-ignores-unbreaking/pack.mcmeta @@ -0,0 +1,7 @@ +{ + "pack": { + "pack_format": 48, + "description": "Disables Unbreaking From Working On Elytra", + "supported_formats": {"min_inclusive": 48, "max_inclusive": 48} + } +} diff --git a/packs/mending_multiplier/data/minecraft/enchantment/mending.json b/packs/mending_multiplier/data/minecraft/enchantment/mending.json new file mode 100644 index 0000000..f762c8d --- /dev/null +++ b/packs/mending_multiplier/data/minecraft/enchantment/mending.json @@ -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 +} \ No newline at end of file diff --git a/packs/mending_multiplier/pack.mcmeta b/packs/mending_multiplier/pack.mcmeta new file mode 100644 index 0000000..91b9b92 --- /dev/null +++ b/packs/mending_multiplier/pack.mcmeta @@ -0,0 +1,8 @@ +{ + "pack": { + "pack_format": 48, + "description": "Allows you to alter the mending multiplier", + "supported_formats": {"min_inclusive": 48, "max_inclusive": 48} + } +} + diff --git a/packs/remove_mending/data/minecraft/tags/enchantment/on_random_loot.json b/packs/remove_mending/data/minecraft/tags/enchantment/on_random_loot.json new file mode 100644 index 0000000..8af2e59 --- /dev/null +++ b/packs/remove_mending/data/minecraft/tags/enchantment/on_random_loot.json @@ -0,0 +1,9 @@ +{ + "replace": true, + "values": [ + "#minecraft:non_treasure", + "minecraft:binding_curse", + "minecraft:vanishing_curse", + "minecraft:frost_walker" + ] +} \ No newline at end of file diff --git a/packs/remove_mending/data/minecraft/tags/enchantment/tooltip_order.json b/packs/remove_mending/data/minecraft/tags/enchantment/tooltip_order.json new file mode 100644 index 0000000..e5a3e3f --- /dev/null +++ b/packs/remove_mending/data/minecraft/tags/enchantment/tooltip_order.json @@ -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" + ] +} \ No newline at end of file diff --git a/packs/remove_mending/data/minecraft/tags/enchantment/tradeable.json b/packs/remove_mending/data/minecraft/tags/enchantment/tradeable.json new file mode 100644 index 0000000..0c98a5a --- /dev/null +++ b/packs/remove_mending/data/minecraft/tags/enchantment/tradeable.json @@ -0,0 +1,9 @@ +{ + "replace": true, + "values": [ + "#minecraft:non_treasure", + "minecraft:binding_curse", + "minecraft:vanishing_curse", + "minecraft:frost_walker" + ] +} \ No newline at end of file diff --git a/packs/remove_mending/data/minecraft/tags/enchantment/treasure.json b/packs/remove_mending/data/minecraft/tags/enchantment/treasure.json new file mode 100644 index 0000000..627d751 --- /dev/null +++ b/packs/remove_mending/data/minecraft/tags/enchantment/treasure.json @@ -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" + ] +} \ No newline at end of file diff --git a/packs/remove_mending/pack.mcmeta b/packs/remove_mending/pack.mcmeta new file mode 100644 index 0000000..2a2cb33 --- /dev/null +++ b/packs/remove_mending/pack.mcmeta @@ -0,0 +1,8 @@ +{ + "pack": { + "pack_format": 48, + "description": "", + "supported_formats": {"min_inclusive": 48, "max_inclusive": 48} + } +} + diff --git a/util/pack.mcmeta b/util/pack.mcmeta new file mode 100644 index 0000000..2a2cb33 --- /dev/null +++ b/util/pack.mcmeta @@ -0,0 +1,8 @@ +{ + "pack": { + "pack_format": 48, + "description": "", + "supported_formats": {"min_inclusive": 48, "max_inclusive": 48} + } +} +