Uploaded image for project: 'Minecraft (Bedrock codebase)'
  1. Minecraft (Bedrock codebase)
  2. MCPE-180499

Enchanted books with breach, density, or wind burst enchantment cannot be obtained by ominous vaults

XMLWordPrintable

    • 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:

      1. Get some ominous vaults
      2. 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"
      }
      

            agoodday233 agoodday233
            Votes:
            4 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:
              CHK: