From fd41a994dfb104d2c9fa2ff845cc4943eb1d79b9 Mon Sep 17 00:00:00 2001 From: runcows Date: Mon, 8 Dec 2025 08:42:40 +0900 Subject: [PATCH 1/3] Bookshelf Inspectors --- .../function/process_display/spawn/components_to_list.mcfunction | 1 + 1 file changed, 1 insertion(+) diff --git a/gm4_bookshelf_inspector/data/gm4_bookshelf_inspector/function/process_display/spawn/components_to_list.mcfunction b/gm4_bookshelf_inspector/data/gm4_bookshelf_inspector/function/process_display/spawn/components_to_list.mcfunction index 67a9454705..e5d55a758e 100644 --- a/gm4_bookshelf_inspector/data/gm4_bookshelf_inspector/function/process_display/spawn/components_to_list.mcfunction +++ b/gm4_bookshelf_inspector/data/gm4_bookshelf_inspector/function/process_display/spawn/components_to_list.mcfunction @@ -40,6 +40,7 @@ ALL_ENCHANTMENTS = [ "luck_of_the_sea", "efficiency", "quick_charge", + "lunge", "lure", "respiration", "aqua_affinity", From 12d4084ef68e9413e04aff7aca5b68299b8ef681 Mon Sep 17 00:00:00 2001 From: runcows Date: Mon, 8 Dec 2025 09:18:29 +0900 Subject: [PATCH 2/3] Enchantment Extractors --- gm4_enchantment_extractors/beet.yaml | 7 + .../loot_table/technical/extract/check.json | 971 ++++++++++++++++++ .../loot_table/technical/extract/lunge.json | 114 ++ 3 files changed, 1092 insertions(+) create mode 100644 gm4_enchantment_extractors/since_94/data/gm4_enchantment_extractors/loot_table/technical/extract/check.json create mode 100644 gm4_enchantment_extractors/since_94/data/gm4_enchantment_extractors/loot_table/technical/extract/lunge.json diff --git a/gm4_enchantment_extractors/beet.yaml b/gm4_enchantment_extractors/beet.yaml index ff24f1e479..3be312da44 100644 --- a/gm4_enchantment_extractors/beet.yaml +++ b/gm4_enchantment_extractors/beet.yaml @@ -4,6 +4,13 @@ version: 2.5.X data_pack: load: . + overlays: + - formats: + min_inclusive: 94 + max_inclusive: 94 + min_format: 94 + max_format: 94 + directory: since_94 resource_pack: load: . diff --git a/gm4_enchantment_extractors/since_94/data/gm4_enchantment_extractors/loot_table/technical/extract/check.json b/gm4_enchantment_extractors/since_94/data/gm4_enchantment_extractors/loot_table/technical/extract/check.json new file mode 100644 index 0000000000..a7418868a6 --- /dev/null +++ b/gm4_enchantment_extractors/since_94/data/gm4_enchantment_extractors/loot_table/technical/extract/check.json @@ -0,0 +1,971 @@ +{ + "type": "minecraft:generic", + "pools": [ + { + "rolls": 1, + "entries": [ + { + "type": "minecraft:loot_table", + "value": "gm4_enchantment_extractors:technical/extract/protection", + "conditions": [ + { + "condition": "minecraft:match_tool", + "predicate": { + "predicates": { + "minecraft:enchantments": [ + { + "enchantments": "minecraft:protection" + } + ] + } + } + } + ] + } + ] + }, + { + "rolls": 1, + "entries": [ + { + "type": "minecraft:loot_table", + "value": "gm4_enchantment_extractors:technical/extract/fire_protection", + "conditions": [ + { + "condition": "minecraft:match_tool", + "predicate": { + "predicates": { + "minecraft:enchantments": [ + { + "enchantments": "minecraft:fire_protection" + } + ] + } + } + } + ] + } + ] + }, + { + "rolls": 1, + "entries": [ + { + "type": "minecraft:loot_table", + "value": "gm4_enchantment_extractors:technical/extract/blast_protection", + "conditions": [ + { + "condition": "minecraft:match_tool", + "predicate": { + "predicates": { + "minecraft:enchantments": [ + { + "enchantments": "minecraft:blast_protection" + } + ] + } + } + } + ] + } + ] + }, + { + "rolls": 1, + "entries": [ + { + "type": "minecraft:loot_table", + "value": "gm4_enchantment_extractors:technical/extract/projectile_protection", + "conditions": [ + { + "condition": "minecraft:match_tool", + "predicate": { + "predicates": { + "minecraft:enchantments": [ + { + "enchantments": "minecraft:projectile_protection" + } + ] + } + } + } + ] + } + ] + }, + { + "rolls": 1, + "entries": [ + { + "type": "minecraft:loot_table", + "value": "gm4_enchantment_extractors:technical/extract/feather_falling", + "conditions": [ + { + "condition": "minecraft:match_tool", + "predicate": { + "predicates": { + "minecraft:enchantments": [ + { + "enchantments": "minecraft:feather_falling" + } + ] + } + } + } + ] + } + ] + }, + { + "rolls": 1, + "entries": [ + { + "type": "minecraft:loot_table", + "value": "gm4_enchantment_extractors:technical/extract/respiration", + "conditions": [ + { + "condition": "minecraft:match_tool", + "predicate": { + "predicates": { + "minecraft:enchantments": [ + { + "enchantments": "minecraft:respiration" + } + ] + } + } + } + ] + } + ] + }, + { + "rolls": 1, + "entries": [ + { + "type": "minecraft:loot_table", + "value": "gm4_enchantment_extractors:technical/extract/aqua_affinity", + "conditions": [ + { + "condition": "minecraft:match_tool", + "predicate": { + "predicates": { + "minecraft:enchantments": [ + { + "enchantments": "minecraft:aqua_affinity" + } + ] + } + } + } + ] + } + ] + }, + { + "rolls": 1, + "entries": [ + { + "type": "minecraft:loot_table", + "value": "gm4_enchantment_extractors:technical/extract/thorns", + "conditions": [ + { + "condition": "minecraft:match_tool", + "predicate": { + "predicates": { + "minecraft:enchantments": [ + { + "enchantments": "minecraft:thorns" + } + ] + } + } + } + ] + } + ] + }, + { + "rolls": 1, + "entries": [ + { + "type": "minecraft:loot_table", + "value": "gm4_enchantment_extractors:technical/extract/depth_strider", + "conditions": [ + { + "condition": "minecraft:match_tool", + "predicate": { + "predicates": { + "minecraft:enchantments": [ + { + "enchantments": "minecraft:depth_strider" + } + ] + } + } + } + ] + } + ] + }, + { + "rolls": 1, + "entries": [ + { + "type": "minecraft:loot_table", + "value": "gm4_enchantment_extractors:technical/extract/frost_walker", + "conditions": [ + { + "condition": "minecraft:match_tool", + "predicate": { + "predicates": { + "minecraft:enchantments": [ + { + "enchantments": "minecraft:frost_walker" + } + ] + } + } + } + ] + } + ] + }, + { + "rolls": 1, + "entries": [ + { + "type": "minecraft:loot_table", + "value": "gm4_enchantment_extractors:technical/extract/soul_speed", + "conditions": [ + { + "condition": "minecraft:match_tool", + "predicate": { + "predicates": { + "minecraft:enchantments": [ + { + "enchantments": "minecraft:soul_speed" + } + ] + } + } + } + ] + } + ] + }, + { + "rolls": 1, + "entries": [ + { + "type": "minecraft:loot_table", + "value": "gm4_enchantment_extractors:technical/extract/binding_curse", + "conditions": [ + { + "condition": "minecraft:match_tool", + "predicate": { + "predicates": { + "minecraft:enchantments": [ + { + "enchantments": "minecraft:binding_curse" + } + ] + } + } + } + ] + } + ] + }, + { + "rolls": 1, + "entries": [ + { + "type": "minecraft:loot_table", + "value": "gm4_enchantment_extractors:technical/extract/sharpness", + "conditions": [ + { + "condition": "minecraft:match_tool", + "predicate": { + "predicates": { + "minecraft:enchantments": [ + { + "enchantments": "minecraft:sharpness" + } + ] + } + } + } + ] + } + ] + }, + { + "rolls": 1, + "entries": [ + { + "type": "minecraft:loot_table", + "value": "gm4_enchantment_extractors:technical/extract/smite", + "conditions": [ + { + "condition": "minecraft:match_tool", + "predicate": { + "predicates": { + "minecraft:enchantments": [ + { + "enchantments": "minecraft:smite" + } + ] + } + } + } + ] + } + ] + }, + { + "rolls": 1, + "entries": [ + { + "type": "minecraft:loot_table", + "value": "gm4_enchantment_extractors:technical/extract/bane_of_arthropods", + "conditions": [ + { + "condition": "minecraft:match_tool", + "predicate": { + "predicates": { + "minecraft:enchantments": [ + { + "enchantments": "minecraft:bane_of_arthropods" + } + ] + } + } + } + ] + } + ] + }, + { + "rolls": 1, + "entries": [ + { + "type": "minecraft:loot_table", + "value": "gm4_enchantment_extractors:technical/extract/knockback", + "conditions": [ + { + "condition": "minecraft:match_tool", + "predicate": { + "predicates": { + "minecraft:enchantments": [ + { + "enchantments": "minecraft:knockback" + } + ] + } + } + } + ] + } + ] + }, + { + "rolls": 1, + "entries": [ + { + "type": "minecraft:loot_table", + "value": "gm4_enchantment_extractors:technical/extract/fire_aspect", + "conditions": [ + { + "condition": "minecraft:match_tool", + "predicate": { + "predicates": { + "minecraft:enchantments": [ + { + "enchantments": "minecraft:fire_aspect" + } + ] + } + } + } + ] + } + ] + }, + { + "rolls": 1, + "entries": [ + { + "type": "minecraft:loot_table", + "value": "gm4_enchantment_extractors:technical/extract/looting", + "conditions": [ + { + "condition": "minecraft:match_tool", + "predicate": { + "predicates": { + "minecraft:enchantments": [ + { + "enchantments": "minecraft:looting" + } + ] + } + } + } + ] + } + ] + }, + { + "rolls": 1, + "entries": [ + { + "type": "minecraft:loot_table", + "value": "gm4_enchantment_extractors:technical/extract/sweeping", + "conditions": [ + { + "condition": "minecraft:match_tool", + "predicate": { + "predicates": { + "minecraft:enchantments": [ + { + "enchantments": "minecraft:sweeping_edge" + } + ] + } + } + } + ] + } + ] + }, + { + "rolls": 1, + "entries": [ + { + "type": "minecraft:loot_table", + "value": "gm4_enchantment_extractors:technical/extract/efficiency", + "conditions": [ + { + "condition": "minecraft:match_tool", + "predicate": { + "predicates": { + "minecraft:enchantments": [ + { + "enchantments": "minecraft:efficiency" + } + ] + } + } + } + ] + } + ] + }, + { + "rolls": 1, + "entries": [ + { + "type": "minecraft:loot_table", + "value": "gm4_enchantment_extractors:technical/extract/silk_touch", + "conditions": [ + { + "condition": "minecraft:match_tool", + "predicate": { + "predicates": { + "minecraft:enchantments": [ + { + "enchantments": "minecraft:silk_touch" + } + ] + } + } + } + ] + } + ] + }, + { + "rolls": 1, + "entries": [ + { + "type": "minecraft:loot_table", + "value": "gm4_enchantment_extractors:technical/extract/fortune", + "conditions": [ + { + "condition": "minecraft:match_tool", + "predicate": { + "predicates": { + "minecraft:enchantments": [ + { + "enchantments": "minecraft:fortune" + } + ] + } + } + } + ] + } + ] + }, + { + "rolls": 1, + "entries": [ + { + "type": "minecraft:loot_table", + "value": "gm4_enchantment_extractors:technical/extract/power", + "conditions": [ + { + "condition": "minecraft:match_tool", + "predicate": { + "predicates": { + "minecraft:enchantments": [ + { + "enchantments": "minecraft:power" + } + ] + } + } + } + ] + } + ] + }, + { + "rolls": 1, + "entries": [ + { + "type": "minecraft:loot_table", + "value": "gm4_enchantment_extractors:technical/extract/punch", + "conditions": [ + { + "condition": "minecraft:match_tool", + "predicate": { + "predicates": { + "minecraft:enchantments": [ + { + "enchantments": "minecraft:punch" + } + ] + } + } + } + ] + } + ] + }, + { + "rolls": 1, + "entries": [ + { + "type": "minecraft:loot_table", + "value": "gm4_enchantment_extractors:technical/extract/flame", + "conditions": [ + { + "condition": "minecraft:match_tool", + "predicate": { + "predicates": { + "minecraft:enchantments": [ + { + "enchantments": "minecraft:flame" + } + ] + } + } + } + ] + } + ] + }, + { + "rolls": 1, + "entries": [ + { + "type": "minecraft:loot_table", + "value": "gm4_enchantment_extractors:technical/extract/infinity", + "conditions": [ + { + "condition": "minecraft:match_tool", + "predicate": { + "predicates": { + "minecraft:enchantments": [ + { + "enchantments": "minecraft:infinity" + } + ] + } + } + } + ] + } + ] + }, + { + "rolls": 1, + "entries": [ + { + "type": "minecraft:loot_table", + "value": "gm4_enchantment_extractors:technical/extract/luck_of_the_sea", + "conditions": [ + { + "condition": "minecraft:match_tool", + "predicate": { + "predicates": { + "minecraft:enchantments": [ + { + "enchantments": "minecraft:luck_of_the_sea" + } + ] + } + } + } + ] + } + ] + }, + { + "rolls": 1, + "entries": [ + { + "type": "minecraft:loot_table", + "value": "gm4_enchantment_extractors:technical/extract/lure", + "conditions": [ + { + "condition": "minecraft:match_tool", + "predicate": { + "predicates": { + "minecraft:enchantments": [ + { + "enchantments": "minecraft:lure" + } + ] + } + } + } + ] + } + ] + }, + { + "rolls": 1, + "entries": [ + { + "type": "minecraft:loot_table", + "value": "gm4_enchantment_extractors:technical/extract/impaling", + "conditions": [ + { + "condition": "minecraft:match_tool", + "predicate": { + "predicates": { + "minecraft:enchantments": [ + { + "enchantments": "minecraft:impaling" + } + ] + } + } + } + ] + } + ] + }, + { + "rolls": 1, + "entries": [ + { + "type": "minecraft:loot_table", + "value": "gm4_enchantment_extractors:technical/extract/riptide", + "conditions": [ + { + "condition": "minecraft:match_tool", + "predicate": { + "predicates": { + "minecraft:enchantments": [ + { + "enchantments": "minecraft:riptide" + } + ] + } + } + } + ] + } + ] + }, + { + "rolls": 1, + "entries": [ + { + "type": "minecraft:loot_table", + "value": "gm4_enchantment_extractors:technical/extract/loyalty", + "conditions": [ + { + "condition": "minecraft:match_tool", + "predicate": { + "predicates": { + "minecraft:enchantments": [ + { + "enchantments": "minecraft:loyalty" + } + ] + } + } + } + ] + } + ] + }, + { + "rolls": 1, + "entries": [ + { + "type": "minecraft:loot_table", + "value": "gm4_enchantment_extractors:technical/extract/channeling", + "conditions": [ + { + "condition": "minecraft:match_tool", + "predicate": { + "predicates": { + "minecraft:enchantments": [ + { + "enchantments": "minecraft:channeling" + } + ] + } + } + } + ] + } + ] + }, + { + "rolls": 1, + "entries": [ + { + "type": "minecraft:loot_table", + "value": "gm4_enchantment_extractors:technical/extract/piercing", + "conditions": [ + { + "condition": "minecraft:match_tool", + "predicate": { + "predicates": { + "minecraft:enchantments": [ + { + "enchantments": "minecraft:piercing" + } + ] + } + } + } + ] + } + ] + }, + { + "rolls": 1, + "entries": [ + { + "type": "minecraft:loot_table", + "value": "gm4_enchantment_extractors:technical/extract/multishot", + "conditions": [ + { + "condition": "minecraft:match_tool", + "predicate": { + "predicates": { + "minecraft:enchantments": [ + { + "enchantments": "minecraft:multishot" + } + ] + } + } + } + ] + } + ] + }, + { + "rolls": 1, + "entries": [ + { + "type": "minecraft:loot_table", + "value": "gm4_enchantment_extractors:technical/extract/quick_charge", + "conditions": [ + { + "condition": "minecraft:match_tool", + "predicate": { + "predicates": { + "minecraft:enchantments": [ + { + "enchantments": "minecraft:quick_charge" + } + ] + } + } + } + ] + } + ] + }, + { + "rolls": 1, + "entries": [ + { + "type": "minecraft:loot_table", + "value": "gm4_enchantment_extractors:technical/extract/breach", + "conditions": [ + { + "condition": "minecraft:match_tool", + "predicate": { + "predicates": { + "minecraft:enchantments": [ + { + "enchantments": "minecraft:breach" + } + ] + } + } + } + ] + } + ] + }, + { + "rolls": 1, + "entries": [ + { + "type": "minecraft:loot_table", + "value": "gm4_enchantment_extractors:technical/extract/density", + "conditions": [ + { + "condition": "minecraft:match_tool", + "predicate": { + "predicates": { + "minecraft:enchantments": [ + { + "enchantments": "minecraft:density" + } + ] + } + } + } + ] + } + ] + }, + { + "rolls": 1, + "entries": [ + { + "type": "minecraft:loot_table", + "value": "gm4_enchantment_extractors:technical/extract/wind_burst", + "conditions": [ + { + "condition": "minecraft:match_tool", + "predicate": { + "predicates": { + "minecraft:enchantments": [ + { + "enchantments": "minecraft:wind_burst" + } + ] + } + } + } + ] + } + ] + }, + { + "rolls": 1, + "entries": [ + { + "type": "minecraft:loot_table", + "value": "gm4_enchantment_extractors:technical/extract/unbreaking", + "conditions": [ + { + "condition": "minecraft:match_tool", + "predicate": { + "predicates": { + "minecraft:enchantments": [ + { + "enchantments": "minecraft:unbreaking" + } + ] + } + } + } + ] + } + ] + }, + { + "rolls": 1, + "entries": [ + { + "type": "minecraft:loot_table", + "value": "gm4_enchantment_extractors:technical/extract/vanishing_curse", + "conditions": [ + { + "condition": "minecraft:match_tool", + "predicate": { + "predicates": { + "minecraft:enchantments": [ + { + "enchantments": "minecraft:vanishing_curse" + } + ] + } + } + } + ] + } + ] + }, + { + "rolls": 1, + "entries": [ + { + "type": "minecraft:loot_table", + "value": "gm4_enchantment_extractors:technical/extract/mending", + "conditions": [ + { + "condition": "minecraft:match_tool", + "predicate": { + "predicates": { + "minecraft:enchantments": [ + { + "enchantments": "minecraft:mending" + } + ] + } + } + } + ] + } + ] + }, + { + "rolls": 1, + "entries": [ + { + "type": "minecraft:loot_table", + "value": "gm4_enchantment_extractors:technical/extract/lunge", + "conditions": [ + { + "condition": "minecraft:match_tool", + "predicate": { + "predicates": { + "minecraft:enchantments": [ + { + "enchantments": "minecraft:lunge" + } + ] + } + } + } + ] + } + ] + } + ] +} diff --git a/gm4_enchantment_extractors/since_94/data/gm4_enchantment_extractors/loot_table/technical/extract/lunge.json b/gm4_enchantment_extractors/since_94/data/gm4_enchantment_extractors/loot_table/technical/extract/lunge.json new file mode 100644 index 0000000000..a5578a09ce --- /dev/null +++ b/gm4_enchantment_extractors/since_94/data/gm4_enchantment_extractors/loot_table/technical/extract/lunge.json @@ -0,0 +1,114 @@ +{ + "type": "minecraft:generic", + "pools": [ + { + "rolls": 1, + "entries": [ + { + "type": "minecraft:alternatives", + "children": [ + { + "type": "minecraft:item", + "name": "minecraft:enchanted_book", + "functions": [ + { + "function": "minecraft:set_components", + "components": { + "minecraft:stored_enchantments": { + "minecraft:lunge": 3 + } + } + } + ], + "conditions": [ + { + "condition": "minecraft:match_tool", + "predicate": { + "predicates": { + "minecraft:enchantments": [ + { + "enchantments": "minecraft:lunge", + "levels": 3 + } + ] + } + } + }, + { + "condition": "minecraft:random_chance", + "chance": 0.1 + } + ] + }, + { + "type": "minecraft:item", + "name": "minecraft:enchanted_book", + "functions": [ + { + "function": "minecraft:set_components", + "components": { + "minecraft:stored_enchantments": { + "minecraft:lunge": 2 + } + } + } + ], + "conditions": [ + { + "condition": "minecraft:match_tool", + "predicate": { + "predicates": { + "minecraft:enchantments": [ + { + "enchantments": "minecraft:lunge", + "levels": 2 + } + ] + } + } + }, + { + "condition": "minecraft:random_chance", + "chance": 0.3 + } + ] + }, + { + "type": "minecraft:item", + "name": "minecraft:enchanted_book", + "functions": [ + { + "function": "minecraft:set_components", + "components": { + "minecraft:stored_enchantments": { + "minecraft:lunge": 1 + } + } + } + ], + "conditions": [ + { + "condition": "minecraft:match_tool", + "predicate": { + "predicates": { + "minecraft:enchantments": [ + { + "enchantments": "minecraft:lunge", + "levels": 1 + } + ] + } + } + }, + { + "condition": "minecraft:random_chance", + "chance": 0.8 + } + ] + } + ] + } + ] + } + ] +} From 82345603a3d6df57ba863b1972e471ce0c0f0528 Mon Sep 17 00:00:00 2001 From: runcows Date: Mon, 8 Dec 2025 09:29:34 +0900 Subject: [PATCH 3/3] Book Binders --- .../loot_table/debind_book.json | 67 +++++++++++++++++++ gm4_book_binders/beet.yaml | 7 ++ .../loot_table/debind_book.json | 2 +- 3 files changed, 75 insertions(+), 1 deletion(-) create mode 100644 gm4_book_binders/backport_88/data/gm4_book_binders/loot_table/debind_book.json diff --git a/gm4_book_binders/backport_88/data/gm4_book_binders/loot_table/debind_book.json b/gm4_book_binders/backport_88/data/gm4_book_binders/loot_table/debind_book.json new file mode 100644 index 0000000000..fc753909cd --- /dev/null +++ b/gm4_book_binders/backport_88/data/gm4_book_binders/loot_table/debind_book.json @@ -0,0 +1,67 @@ +pools = [] +enchantments = ["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", "minecraft:mending"] +# expecting enchantment in format, "minecraft:name" +# see bookshelf inspectors, evaluate/process_display/spawn/components_to_list + +for enchantment in enchantments: + pools.append( + { + "rolls": 1, + "entries": [ + { + "type": "minecraft:item", + "name": "minecraft:paper", + "functions": [ + { + "function": "minecraft:set_components", + "components": { + "minecraft:custom_model_data": "item/enchanted_page" + } + }, + { + "function": "minecraft:set_custom_data", + "tag": "{gm4_book_binders:{item:\"enchanted_page\"}}" + }, + { + "function": "minecraft:set_name", + "entity": "this", + "target": "custom_name", + "name": { + "translate": "item.gm4.enchanted_page", + "fallback": "Enchanted Page", + "italic": false + } + }, + { + "function": "minecraft:set_enchantments", + "enchantments": { + f"{enchantment}": { + "type": "minecraft:storage", + "storage": "gm4_book_binders:temp", + "path": f"stored_enchantments.\"{enchantment}\"" + } + } + } + ] + } + ], + "conditions": [ + { + "condition": "minecraft:value_check", + "value": { + "type": "minecraft:storage", + "storage": "gm4_book_binders:temp", + "path": f"stored_enchantments.\"{enchantment}\"" + }, + "range": { + "min": 1, + "max": 255 + } + } + ] + } + ) + +{ + "pools": pools +} diff --git a/gm4_book_binders/beet.yaml b/gm4_book_binders/beet.yaml index 1e9f3f0ebd..e70d09f89d 100644 --- a/gm4_book_binders/beet.yaml +++ b/gm4_book_binders/beet.yaml @@ -4,6 +4,13 @@ version: 1.5.X data_pack: load: . + overlays: + - formats: + min_inclusive: 1 + max_inclusive: 88 + min_format: 1 + max_format: 88 + directory: backport_88 require: - bolt diff --git a/gm4_book_binders/data/gm4_book_binders/loot_table/debind_book.json b/gm4_book_binders/data/gm4_book_binders/loot_table/debind_book.json index fc753909cd..49ef186292 100644 --- a/gm4_book_binders/data/gm4_book_binders/loot_table/debind_book.json +++ b/gm4_book_binders/data/gm4_book_binders/loot_table/debind_book.json @@ -1,5 +1,5 @@ pools = [] -enchantments = ["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", "minecraft:mending"] +enchantments = ["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", "minecraft:mending", "minecraft:lunge"] # expecting enchantment in format, "minecraft:name" # see bookshelf inspectors, evaluate/process_display/spawn/components_to_list