mojira.dev
MCPE-19976

Loot/Dungeon Chest No Longer Have Enchanted Books

As most of us know that there will be a chance of generating of enchanted books in loot chest or dungeon chest. But in this current version, it only generate normal books rather than enchanted books.

Attachments

Comments 3

This seems plausible.

I'll attach a test world with a Desert Temple - The chests contain plain books.
(Seed -1515371774 Coordinates: 313 53 -246 )

The vanilla loot tables contain "function": "enchant_randomly" which is perhaps not working properly or is defunct.

If that is the case, then the following will be affected and will need adjusting:

  • abandoned_mineshaft

  • desert_pyramid

  • monster_room

  • simple_dungeon

Compare this with the loot table for Stronghold libraries:

{
          "type": "item",
          "name": "minecraft:book",
          "weight": 10,
          "functions": [
            {
              "function": "enchant_with_levels",
              "levels": 30,
              "treasure": true
            }
          ]
        }

Suggested fix: Change loot tables to match the format of the

  • stronghold_library.json

  • jungle_temple.json

  • stronghold_corridor.json

  • stronghold_crossing.json

  • stronghold_library.json

In the above mentioned seed and attached world, you can see enchanted books working correctly in the stronghold library at 844 50 -583

Kimboy Claro

(Unassigned)

61595

Confirmed

Tablet - iOS - iPad Mini

9.3.5

1.0.3, 1.0.4.1

1.0.5.0

Retrieved