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

/fillbiome doesn't fail when no changes are made

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • None
    • 1.20.6, 24w18a, 1.21.1, 24w36a
    • None
    • Confirmed
    • Commands
    • Low
    • Platform

      The precedent of most commands is to report failure when the command has no effect. /fillbiome however, always succeeds.

      How to reproduce

      Run these commands:

      /fillbiome ~ ~ ~ ~ ~ ~ badlands
      /fillbiome ~ ~ ~ ~ ~ ~ badlands
      /fillbiome ~ ~ ~ ~ ~ ~ swamp replace forest

      Expected result

      Latter two commands should fail: second because the biome was already badlands, and third because there was no forest.

      Observed result

      Second command succeeds with "1 biome entry/entries set", even though none were changed; third command succeeds with "0 biome entry/entries set"

      It would also be expected that result should be the number of entries that were actually changed. Currently, like the feedback message, it includes entries that were already set to the specified biome.

            Unassigned Unassigned
            tryashtar [Mod] tryashtar
            Votes:
            4 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              CHK: