was the pre-1.11 [[entity]] ID
*Now exists for all entities, not just entities with [[spawn egg]]s
|}
== NBT data ==
[[Chunk format]] was modified.
=== Items ===
Changes to [[Player.dat format#Item structure|item structure]]:
*{{cd|Damage}} in the root of the item data removed.
*{{cd|Damage}} added in the {{cd|tag}} tag, only used for durability.
*{{cd|map}} integer added in the {{cd|tag}} tag, for [[map]]s.
*{{cd|Base}} of [[shield]]s has the colors in the opposite order for consistency.
*{{cd|ench}} for [[enchantment]]s got renamed to {{cd|Enchantments}}.
*[[Enchantment]] Ids in {{cd|Enchantments}} and {{cd|StoredEnchantments}} now use the string ids.
=== Entities ===
Changes to [[Chunk format#Entity format|entity format]]:
*{{cd|CollarColor}} of [[Wolves]] has the colors in the opposite order for consistency.
*{{cd|carried}} and {{cd|carriedData}} of [[endermen]] merged into {{cd|carriedBlockState}}.[This tag will change to a compound format with {{cd|{Name:"block_id",Properties:{state:"value"}}}}]
*{{cd|inTile}} and {{cd|inData}} of [[arrow]]s and [[spectral arrow]]s merged into {{cd|inBlockState}}.
*{{cd|DisplayTile}} and {{cd|DisplayData}} of [[minecart]]s merged into {{cd|DisplayState}}.
*{{cd|Block}} and {{cd|Data}} of [[Tutorials/Falling blocks|falling block]]s merged into {{cd|BlockState}}.
*{{cd|ParticleParams1}} and {{cd|ParticleParams2}} from [[area effect cloud]]s removed, merged with Particle (same formatting as in the command).
=== Blocks ===
Changes to [[Chunk format#Block entity format|block entity format]]:
*[[Flower pot]] block entity removed.
*[[Note block]] block entity removed.
*{{cd|BlockId}} and {{cd|BlockData}} of [[moving piston]]s merged into {{cd|blockState}}.
*{{cd|Base}} from [[banner]]s removed.
*{{cd|Rot}} from [[head]]s removed.
*{{cd|Color}} of [[banner]]s' and [[shield]]s' {{cd|Patterns}} has the colors in the opposite order for consistency.
*{{cd|Record}} of [[jukebox]]es removed.
==== Prior specifications ====
; Note block
*{{nbt|compound}} Block entity data
**{{nbt inherit/blockentity}}
**{{nbt|byte|note}}: Pitch (number of {{Control|use|text=uses}}).
**{{nbt|byte|powered}}: 1 or 0 (true/false) - if true, the noteblock is being provided a redstone signal.
; Flower pot
*{{nbt|compound}} Block entity data
**{{nbt inherit/blockentity}}
**{{nbt|string|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.
**{{nbt|int|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.
{{notelist|NBT note}}
== Commands ==
Some [[command]]s were changed.
*{{cmd|clear}} {{cd|[]}} argument removed.[See [[Java Edition 1.13/Flattening#NBT Data|nbt section]] for what happens to other data values. See also 1.13's [[Java Edition 1.13#Commands 2|Items]] section]
*{{cmd|clone}} {{cd|[]}} argument merged with ID and no longer allows metadata.[See also 1.13's [[Java Edition 1.13#Commands 2|Blocks]] section]
*{{cmd|execute detect}} (now {{cmd|execute if{{!}}unless block}}) {{cd|[]}} argument merged with ID and no longer allows metadata.
*{{cmd|fill}} {{cd|[]}} and {{cd|[]}} arguments merged with ID and no longer allow metadata.
*{{cmd|give}} {{cd|[]}} argument removed.
*{{cmd|replaceitem}} {{cd|[]}} argument removed.
*{{cmd|setblock}} {{cd|[]}} argument merged with ID and no longer allows metadata.
*{{cmd|particle}} {{cd|[]}} arguments merged with {{cd|name}} and formatted as {{cd|block_id[states]}} and {{cd|item_id}}.
{{notelist|command note}}
== Advancements ==
Two changes were made to [[advancement]]s:
*{{cd|icon}}'s {{cd|data}} removed.
*{{cd|item}} condition's {{cd|data}} removed.
== Loot tables ==
The {{cd|set_data}} function was removed from [[loot table]]s.
== Game assets ==
*[[Model]]s
**Renamed to use the new IDs.
*[[Block state]] files
**Renamed to use the new IDs.
**{{cd|"normal"}} for blocks without block states changed to an empty string ({{cd|""}}).
**Item frames now have {{cd|"map{{=}}false"}} instead of {{cd|"normal"}} and {{cd|"map{{=}}true"}} instead of {{cd|"map"}}.
**Model references no longer start at the {{cd|models/block/}} folder, but instead at {{cd|models/}}.
*Textures
**Renamed to use the new IDs. See [[Java Edition 1.13/Resource pack changes]] for the list of file names changed.
**Renamed the {{cd|blocks}} folder to {{cd|block}}.
**Renamed the {{cd|items}} folder to {{cd|item}}.
*[[Recipe]]s
**Renamed to use the new IDs.
*[[Advancement]]s
**Recipe advancements renamed to use the new IDs.
*[[Language]] files
**
{|class="wikitable"
|-
!Translation key !![[Java Edition 1.12|1.12]] syntax !![[Java Edition 1.13|1.13]] syntax !!Remarks !!Example
|-
|[[Block]]s ||{{cd|tile..name}} ||{{cd|block..}} || was an arbitrary name;
''e.g. "lightgem" for [[glowstone]]''
||{{cd|"tile.lightgem.name": "Glowstone"}}
has been replaced with
{{cd|"block.minecraft.glowstone": "Glowstone"}}
|-
|[[Item]]s ||{{cd|item..name}} ||{{cd|item..}} || was an arbitrary name;
''e.g. "yellowDust" for [[glowstone dust]]''
||{{cd|"item.yellowDust.name": "Glowstone Dust"}}
has been replaced with
{{cd|"item.minecraft.glowstone_dust": "Glowstone Dust"}}
|-
|[[Entities]] ||{{cd|entity..name}}||{{cd|entity..}} || was an arbitrary name;
''e.g. "MinecartRideable" for the pre-[[1.11]] ID of [[minecart]]''
||{{cd|"entity.MinecartRideable.name": "Minecart"}}
has been replaced with
{{cd|"entity.minecraft.minecart": "Minecart"}}
|-
|[[Enchantment]]s ||{{cd|enchantment.}}||{{cd|enchantment..}}|| was an arbitrary name;
''e.g. "waterWorker" for [[Aqua Affinity]]''
||{{cd|"enchant.waterWorker": "Aqua Affinity"}}
has been replaced with
{{cd|"enchantment.minecraft.aqua_affinity": "Aqua Affinity"}}
|-
|[[Effect]]s ||{{cd|effect.}} ||{{cd|effect..}} || was an arbitrary name;
''e.g. "digSlowDown" for [[Mining Fatigue]]''
||{{cd|"effect.digSlowDown": "Mining Fatigue"}}
has been replaced with
{{cd|"effect.minecraft.mining_fatigue": "Mining Fatigue"}}
|-
|General [[statistics]] ||{{cd|stat.}} ||{{cd|stat..}} || was the statistic name with capitalization;
''e.g. "playOneMinute" for Time Played''
||{{cd|"stat.playOneMinute": "Time Played"}}
has been replaced with
{{cd|"stat.minecraft.play_one_minute": "Time Played"}}
|-
|[[Statistics]] information||{{cd|stat.}} ||{{cd|stat_type..}} || was the statistic type with capitalization;
''e.g. "entityKills" for killed [[mob]]s''
||{{cd|"stat.entityKills": "You killed %s %s"}}
has been replaced with
{{cd|"stat_type.minecraft.killed": "You killed %s %s"}}
|}
=== Block translation strings ===
{{info needed section|A raw list of names copied directly from en_US.lang can be found commented out below; these will need rearranged into a table like those above}}
=== Item translation strings ===
{{info needed section|A raw list of names copied directly from en_US.lang can be found commented out below; these will need rearranged into a table like those above}}
== History ==
{{HistoryTable
|{{HistoryLine|java}}
|{{HistoryLine||1.13|dev=17w45a|Command format changed to no longer use meta data and damage values; making the items differing by damage not possible to be given with commands.}}
|{{HistoryLine|||dev=17w47a|The item and block IDs got merged, deleted, separated and renamed.
|The block state changes got applied.
|Removed damage from items, added damage in the {{cd|tag}} tag for tools and armor and added {{cd|map}} for maps.
|[[Trapped chest]]s now got their own block entity id {{cd|trapped_chest}}.
|Metadata completely removed.
|Particle IDs now use resource locations and got renamed.
|Statistics now use resource locations, and entity statistics got removed.
|Translation strings now follow the ID for items, blocks and statistics.}}
|{{HistoryLine|||dev=17w47b|[[Trapped chest]]s now use the {{cd|chest}} block entity id again.}}
|{{HistoryLine|||dev=17w48a|Entity statistics re-added and now apply to all entities.}}
|{{HistoryLine|||dev=18w02a|Painting motives now use resource locations and got and renamed.
|Wall banners now use the same translation key as their standing variant banners.
|The translation keys for entities are now {{cd|entity.<''namespace''>.<''id''>}} instead of {{cd|entity.<''title''>.name}}.}}
|{{HistoryLine|||dev=18w07b|Renamed {{cd|turtle_shell_piece}} to {{cd|scute}}.}}
|{{HistoryLine|||dev=18w10b|Separated {{cd|dead_coral}} into one for each color.}}
|{{HistoryLine|||dev=18w10c|Merged {{cd|water}} and {{cd|flowing_water}}.
|Merged {{cd|lava}} and {{cd|flowing_lava}}.}}
|{{HistoryLine|||dev=18w14b|Renamed {{cd|<''color''>_dead_coral}} to {{cd|dead_<''variant''>_coral_block}}.
|Renamed {{cd|<''color''>_coral}} to {{cd|<''variant''>_coral_block}}.
|Renamed {{cd|<''color''>_coral_plant}} to {{cd|<''variant''>_coral}}.
|Renamed {{cd|<''color''>_coral_fan}} to {{cd|<''variant''>_coral_fan}}.}}
|{{HistoryLine|||dev=18w19a|Renamed {{cd|(tall_)sea_grass}} to {{cd|(tall_)seagrass}}.
|Renamed the entity {{cd|puffer_fish}} to {{cd|pufferfish}}.
|Changed the name of "Clownfish" to "[[Tropical Fish]]".}}
|{{HistoryLine|||dev=18w20a|Renamed {{cd|kelp_top}} to {{cd|kelp}}.
|Renamed {{cd|kelp}} to {{cd|kelp_plant}}.
|Renamed {{cd|prismarine_bricks_slab}} to {{cd|prismarine_brick_slab}}.
|Renamed {{cd|prismarine_bricks_stairs}} to {{cd|prismarine_brick_stairs}}.
|Renamed {{cd|cod_mob_spawn_egg}} to {{cd|cod_spawn_egg}}.
|Renamed {{cd|salmon_mob_spawn_egg}} to {{cd|salmon_spawn_egg}}.
|Renamed {{cd|cod_mob}} to {{cd|cod}}.
|Renamed {{cd|salmon_mob}} to {{cd|salmon}}.
|Changed the name of "Weighted Pressure Plate (Heavy)" to "[[Heavy Weighted Pressure Plate]]".
|Changed the name of "Weighted Pressure Plate (Light") to" [[Light Weighted Pressure Plate]]".
|Changed the name of "Gold Horse Armor" to "[[Golden Horse Armor]]".
|Changed the name of "Chain Armor" to "[[Chainmail Armor]]".
|Changed the name of "Milk" to "[[Milk Bucket]]".
|Changed the name of "Seeds" to "[[Wheat Seeds]]".
|Changed the name of "Spawn <''mob''>" to "[[Spawn Egg|<''mob''> Spawn Egg]]".
|Renamed several block textures.
|Renamed several structure files.}}
|{{HistoryLine|||dev=18w20b|Renamed {{cd|melon_block}} to {{cd|melon}}.
|Renamed {{cd|melon}} to {{cd|melon_slice}}.
|Renamed {{cd|speckled_melon}} to {{cd|glistering_melon_slice}}.
|Changed the entity name "Ender Crystal" to "[[End Crystal]]".
|Changed the entity name Block of TNT to "[[Primed TNT]]".}}
|{{HistoryLine|||dev=18w21a|The {{cd|ench}} NBT tag is now called {{cd|Enchantments}}, and no longer has number IDs in each compound.}}
|{{HistoryLine|||dev=18w22a|The block state for [[leaves]] changed from {{cd|check_decay}} and {{cd|decayable}} Booleans to {{cd|distance}} (ranging from 1 to 7) and a {{cd|persistent}} Boolean.}}
|{{HistoryLine|||dev=18w22b|[[Bark]] now has {{cd|axis=x|y|z}} block states.}}
|{{HistoryLine|||dev=pre3|{{cd|textures/blocks/}} changed to {{cd|textures/block/}}.
|{{cd|textures/items/}} changed to {{cd|textures/item/}}.
|Block state files now use {{cd|""}} rather than {{cd|"normal"}} to specify no block states.
|Block state files now reference models starting in {{cd|models/}} rather than {{cd|models/block/}}.}}
|{{HistoryLine|||dev=pre5|Renamed {{cd|xp_orb}} to {{cd|experience_orb}}.
|Renamed {{cd|xp_bottle}} to {{cd|experience_bottle}}.
|Renamed {{cd|eye_of_ender_signal}} to {{cd|eye_of_ender}}.
|Renamed {{cd|ender_crystal}} to {{cd|end_crystal}}.
|Renamed the entity {{cd|fireworks_rocket}} to {{cd|firework_rocket}}.
|Renamed {{cd|commandblock_minecart}} to {{cd|command_block_minecart}}.
|Renamed {{cd|villager_golem}} to {{cd|iron_golem}}.
|Renamed {{cd|evocation_fangs}} to {{cd|evoker_fangs}}.
|Renamed {{cd|evocation_illager}} to {{cd|evoker}}.
|Renamed {{cd|vindication_illager}} to {{cd|vindicator}}.
|Renamed {{cd|illusion_illager}} to {{cd|illusioner}}.
|Renamed {{cd|evocation_illager_spawn_egg}} to {{cd|evoker_spawn_egg}}.
|Renamed {{cd|vindication_illager_spawn_egg}} to {{cd|vindicator_spawn_egg}}.
|Renamed {{cd|mob_spawner}} to {{cd|spawner}}.
|Renamed {{cd|portal}} to {{cd|nether_portal}}.
|Renamed {{cd|clownfish}} to {{cd|tropical_fish}}.
|Renamed {{cd|clownfish_bucket}} to {{cd|tropical_fish_bucket}}.
|Renamed {{cd|chorus_fruit_popped}} to {{cd|popped_chorus_fruit}}.
|Renamed {{cd|<''type''>_bark}} to {{cd|<''type''>_wood}}.
|The sound event changes got applied.
|The biome ID changes got applied.
|The translation keys for enchantments are now {{cd|enchantment.<''namespace''>.<''id''>}} instead of {{cd|enchantment.<''name''>}}
|The translation keys for effects are now {{cd|effect.<''namespace''>.<''id''>}} instead of {{cd|effect.<''name''>}}}}
}}
== References ==
{{reflist}}
== Navigation ==
{{DEFAULTSORT:Flattening}}
[[cs:1.13/Zploštění]]
[[de:Versionen/Vollversion 1.13/Metadaten-Entfernung]]
[[es:Java Edition 1.13/Reestructuración]]
[[fr:Édition Java 1.13/Aplanissement]]
[[ja:Java Edition 1.13/平坦化]]
[[ko:Java Edition 1.13/평탄화]]
[[pt:Edição Java 1.13/Achatamento]]
[[zh:Java版1.13/扁平化]]