Uploaded image for project: 'Minecraft: Java Edition'
  1. Minecraft: Java Edition
  2. MC-265918

Crafter can be used to bypass doLimitedCrafting gamerule

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • None
    • 23w42a, 23w43a, 23w43b, 23w44a, 23w45a, 23w46a, 1.20.3 Pre-Release 1, 1.20.3 Pre-Release 2, 1.20.3 Pre-Release 3, 1.20.3 Release Candidate 1, 1.20.4, 23w51b, 24w03a, 24w03b, 24w05a, 24w06a, 24w07a, 24w10a, 24w11a, 24w13a, 1.20.5 Pre-Release 4, 1.20.5 Release Candidate 2, 1.20.5
    • Confirmed
    • Commands, Crafting
    • 1225102
    • Expansion B

      The bug

      When using a world with doLimitedCrafting gamerule set to true, the crafter can bypass locked recipes.

      How to reproduce

      1. Create a new world with 1.21 update experiments and cheats enabled.
      2. Run the following commands:
        /advancement grant @a from minecraft:recipes/root
        /recipe take @a *
        /gamerule doLimitedCrafting true
      3. Try to craft planks from logs using the crafting table or the survival crafting grid.
        →  You cannot craft planks.
      4. Try to craft planks from logs using the crafter.
        →  You can craft planks with a crafter.

      Observed result

      You can craft planks with a crafter even though the doLimitedCrafting gamerule is enabled.

      Expected result

      You cannot craft planks with a crafter while the doLimitedCrafting gamerule is enabled.

            Unassigned Unassigned
            MukiTanuki MukiTanuki
            Votes:
            13 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              CHK: