Java Edition 1.13/평탄화

**이 기능은  *Java Edition* 전용입니다.**

1.13 modified the IDs ​​of many blocks, items, biomes, particles, paintings, entities, statistics and sound events, removed numeric IDs, added and removed some block states, and changed NBT tags and display names. This change is known as "**The Flattening**".
The contents of this page serve as a comparison between the identifiers of versions 1.12.2 and 1.13. This was not done to Bedrock Edition, keeping most Bedrock item IDs the same.

## Block and item IDs

Blocks and items that change their ID in any way also affect their statistics.

1. ↑ 1.00 1.01 1.02 1.03 1.04 1.05 1.06 1.07 1.08 1.09 1.10 1.11 1.12 1.13 1.14 1.15 1.16 1.17 1.18 1.19 1.20 1.21 1.22 1.23 1.24 1.25 1.26 1.27 1.28 1.29 1.30 1.31 1.32 1.33 1.34 1.35 1.36 1.37 1.38 1.39 1.40 1.41 1.42 1.43 1.44 1.45 1.46 1.47 1.48 1.49 1.50 1.51 1.52 1.53 1.54 1.55 1.56 1.57 1.58 1.59 1.60 1.61 1.62 1.63 1.64 1.65 1.66 1.67 1.68 1.69 1.70 1.71 1.72 1.73 1.74 This block has no item form.

## Entity IDs

Entities that change their ID in any way also affect their statistics.

## Particle IDs

Particle IDs became namespaced (`minecraft:` in front) as well as changed the ID.

## Painting motifs

Painting motifs became namespaced (`minecraft:` in front) as well as changed the ID to be uncapitalised and separated with underscores.

## Names

The names of some blocks and items were changed.

1. ↑ 1.0 1.1 This is actually the melon stem, it used the same translation string as pumpkin stems.
2. ↑ 2.00 2.01 2.02 2.03 2.04 2.05 2.06 2.07 2.08 2.09 2.10 2.11 2.12 2.13 2.14 2.15 These translation strings were originally missing, see MC-122579; now they use the same translation strings as standing banners (rather than their own), see MC-124142

## Statistics

Statistics received the following changes:

* Merged the blocks and items tabs.
* Changed to be namespaced.

### Items

Changes to item structure:

* `Damage` in the root of the item data removed.
* `Damage` added in the `tag` tag, only used for durability.
* `map` integer added in the `tag` tag, for maps.
* `Base` of Shields has the colors in the opposite order for consistency.
* `ench` for enchantments got renamed to `Enchantments`.
* Enchantment Ids in `Enchantments` and `StoredEnchantments` now use the string ids.

### Entities

Changes to entity format:

* `CollarColor` of Wolves has the colors in the opposite order for consistency.
* `carried` and `carriedData` of Endermen merged into `carriedBlockState`.
* `inTile` and `inData` of Arrows and Spectral Arrows merged into `inBlockState`.
* `DisplayTile` and `DisplayData` of Minecarts merged into `DisplayState`.
* `Block` and `Data` of Falling Blocks merged into `BlockState`.
* `ParticleParams1` and `ParticleParams2` from Area Effect Clouds removed, merged with Particle (same formatting as in the command).

### Blocks

Changes to block entity format:

* Flower pot block entity removed.
* Note block block entity removed.
* `BlockId` and `BlockData` of moving pistons merged into `blockState`.
* `Base` from banners removed.
* `Rot` from skulls and Heads removed.
* `Color` of banners' and Shields' `Patterns` has the colors in the opposite order for consistency.
* `Record` of jukeboxes removed.

#### Prior specifications

Note Block

* Block entity data
	+ 틀:Nbt inherit/blockentity
	+ note: Pitch (number of uses).
	+ powered: 1 or 0 (true/false) - if true, the noteblock is being provided a redstone signal.

Flower Pot

* Block entity data
	+ 틀:Nbt inherit/blockentity
	+ Item: The Block ID of the plant in the pot. Known valid blocks are *minecraft:sapling* (6), *minecraft:tallgrass* (31), *minecraft:deadbush* (32), *minecraft:yellow\_flower* (37), *minecraft:red\_flower* (38), *minecraft:brown\_mushroom* (39), *minecraft:red\_mushroom* (40), *minecraft:cactus* (81). Other block and item IDs may be used, but not all will render. Together with **Data**, this determines the item dropped by the pot when destroyed.
	+ Data: The data value to use in conjunction with the above Block ID. For example if Item is 6 (a sapling block), the Data is used to indicate the type of sapling.

1. ↑ 1.0 1.1 1.2 1.3 1.4 This tag will change to a compound format with `{Name:"block_id",Properties:{state:"value"`}}

## Commands

Some commands were changed.

* `/clear` `[<data>]` argument removed.
* `/clone` `[<data>]` argument merged with ID and no longer allows metadata.
* `/execute detect` (now `/execute if|unless block`) `[<data>]` argument merged with ID and no longer allows metadata.
* `/fill` `[<data>]` and `[<replaceData>]` arguments merged with ID and no longer allow metadata.
* `/give` `[<data>]` argument removed.
* `/replaceitem` `[<data>]` argument removed.
* `/setblock` `[<data>]` argument merged with ID and no longer allows metadata.
* `/particle` `[<params>]` arguments merged with `name` and formatted as `block_id[states]` and `item_id`.

1. ↑ 1.0 1.1 1.2 See nbt section for what happens to other data values. See also 1.13's Items section
2. ↑ 2.0 2.1 2.2 2.3 See also 1.13's Blocks section

## Advancements

Two changes were made to advancements:

* `icon`'s `data` removed.
* `item` condition's `data` removed.

## Loot tables

The `set_data` function was removed from loot tables.

## Game assets

틀:Info needed section

* Models
	+ Renamed to use the new IDs.
* Block state files
	+ Renamed to use the new IDs.
	+ `"normal"` for blocks without block states changed to an empty string (`""`).
	+ Item frames now have `"map=false"` instead of `"normal"` and `"map=true"` instead of `"map"`.
	+ Model references no longer start at the `models/block/` folder, but instead at `models/`.
* Textures
	+ Renamed to use the new IDs.
	+ Renamed the `blocks` folder to `block`.
	+ Renamed the `items` folder to `item`.
* Recipes
	+ Renamed to use the new IDs.
* Advancements
	+ Recipe advancements renamed to use the new IDs.
* Language files

## References

1. ↑ https://bugs.mojang.com/secure/attachment/151784/the\_flattening.txt of MC-121742