-
Bug
-
Resolution: Fixed
-
1.21.0.22 Preview, 1.21.0.21 Preview
-
Confirmed
-
Multiple
-
1217264
In Java Edition, enchanted books with breach, density, or wind burst enchantment can be obtained by ominous vaults. However, in Bedrock Edition, they cannot be obtained like Java Edition.
Steps to Reproduce:
- Get some ominous vaults
- Use ominous keys to unlock them
Observed Results:
Ominous vaults never eject enchanted books with breach, density, or wind burst enchantment.
Expected Results:
Ominous vaults should sometimes eject enchanted books with breach, density, or wind burst enchantment.
Code Analysis:
The loot table from /behavior_packs/vanilla_1.21.0/loot_tables/chests/trial_chambers/reward_rare_ominous.json in Bedrock Edition:
{ "pools": [ { "rolls": 1, "entries": [ { "type": "item", "name": "minecraft:golden_carrot", "weight": 3 }, { "type": "item", "name": "minecraft:golden_chestplate", "weight": 3, "functions": [ { "function": "enchant_with_levels", "levels": { "min": 5.0, "max": 15.0 }, "treasure": true } ] }, { "type": "item", "name": "minecraft:golden_axe", "weight": 3, "functions": [ { "function": "enchant_with_levels", "levels": { "min": 5.0, "max": 15.0 }, "treasure": true } ] }, { "type": "item", "name": "minecraft:iron_block", "weight": 2 }, { "type": "item", "name": "minecraft:crossbow", "weight": 2, "functions": [ { "function": "enchant_with_levels", "levels": { "min": 5.0, "max": 20.0 }, "treasure": true } ] }, { "type": "item", "name": "minecraft:diamond_axe", "weight": 2, "functions": [ { "function": "enchant_with_levels", "levels": { "min": 10.0, "max": 20.0 }, "treasure": true } ] }, { "type": "item", "name": "minecraft:diamond_chestplate", "weight": 2, "functions": [ { "function": "enchant_with_levels", "levels": { "min": 10.0, "max": 20.0 }, "treasure": true } ] }, { "type": "item", "name": "minecraft:golden_apple", "weight": 2 }, { "type": "item", "name": "minecraft:book", "weight": 2, "functions": [ { "function": "enchant_book_for_trading", "enchantments": [ { "name": "knockback", "min": 1, "max": 5 }, { "name": "punch", "min": 1, "max": 5 }, { "name": "smite", "min": 1, "max": 5 }, { "name": "looting", "min": 1, "max": 3 }, { "name": "multishot", "min": 1, "max": 1 } ] } ] }, { "type": "item", "name": "minecraft:diamond_block", "weight": 1, "conditions": [ { "condition": "random_chance", "chance": 0.05 } ] } ] } ] }
The loot table from data/minecraft/datapacks/update_1_21/data/minecraft/loot_tables/chests/trial_chambers/reward_ominous_rare.json in Java Edition:
{ "type": "minecraft:chest", "pools": [ { "bonus_rolls": 0.0, "entries": [ { "type": "minecraft:item", "name": "minecraft:emerald_block", "weight": 6 }, { "type": "minecraft:item", "name": "minecraft:iron_block", "weight": 4 }, { "type": "minecraft:item", "functions": [ { "function": "minecraft:enchant_with_levels", "levels": { "type": "minecraft:uniform", "max": 20.0, "min": 5.0 }, "treasure": true } ], "name": "minecraft:crossbow", "weight": 4 }, { "type": "minecraft:item", "name": "minecraft:golden_apple", "weight": 4 }, { "type": "minecraft:item", "functions": [ { "function": "minecraft:enchant_with_levels", "levels": { "type": "minecraft:uniform", "max": 20.0, "min": 10.0 }, "treasure": true } ], "name": "minecraft:diamond_axe", "weight": 3 }, { "type": "minecraft:item", "functions": [ { "function": "minecraft:enchant_with_levels", "levels": { "type": "minecraft:uniform", "max": 20.0, "min": 10.0 }, "treasure": true } ], "name": "minecraft:diamond_chestplate", "weight": 3 }, { "type": "minecraft:item", "functions": [ { "enchantments": [ "minecraft:knockback", "minecraft:punch", "minecraft:smite", "minecraft:looting", "minecraft:multishot" ], "function": "minecraft:enchant_randomly" } ], "name": "minecraft:book", "weight": 2 }, { "type": "minecraft:item", "functions": [ { "enchantments": [ "minecraft:breach", "minecraft:density" ], "function": "minecraft:enchant_randomly" } ], "name": "minecraft:book", "weight": 2 }, { "type": "minecraft:item", "functions": [ { "enchantments": [ "minecraft:wind_burst" ], "function": "minecraft:enchant_randomly" } ], "name": "minecraft:book" }, { "type": "minecraft:item", "name": "minecraft:diamond_block" } ], "rolls": 1.0 } ], "random_sequence": "minecraft:chests/trial_chambers/reward_ominous_rare" }