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

Block states are referenced inconsistently with regards to spacing throughout the game

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Invalid
    • None
    • 1.17.1, 21w39a, 1.18.2
    • Unconfirmed
    • (Unassigned)

      The bug

      States of blocks seem to be inconsistently referenced throughout multiple of the game's technical corners, either as a single word "blockstate" or with a space "block state". Consistency would be expected among these references - a space (or underscore where applicable) would be preferable.

      How to reproduce

      One example; I haven't exhaustively checked all potential instances of this.

      1. Type in and execute this incomplete command: /setblock ~ ~ ~ minecraft:air[
        1. Note how the error message given by the game references a missing "block state" property with a space
      2. Now extract the game's jar file using one's preferred method, then navigate to the assets/minecraft directory
        1. Notice how it has a subfolder named "blockstates" without a space

      Expected behaviour

      A consistent spacing would be used throughout the game, using a space in readable strings, or an underscore in technical strings. This could easily be made to be the case for the blockstates directory, for example, which could be renamed to block_states, analogously to the mob_effect textures folder or the entity_types tag folder. Alternatively, blockstates files could be relocated to states/block.

      Actual behaviour

      There is no such universal consistency.

        1. 2021-10-03_19.48.18.png
          232 kB
          Connor Steppie
        2. 2021-10-03_19.48.28.png
          235 kB
          Connor Steppie

            Unassigned Unassigned
            Awesoman3000 Connor Steppie
            Votes:
            3 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: