Mojira Archive
MC-238257

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

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.

Invalid

Connor Steppie

2021-10-03, 09:53 PM

2023-05-11, 02:25 AM

2023-05-11, 02:25 AM

3

2

Unconfirmed

(Unassigned)

inconsistent, string

1.17.1, 21w39a, 1.18.2

-