VOOZH about

URL: https://minecraft.wiki/w/Template:Pack_format_table

⇱ Template:Pack format table – Minecraft Wiki


Template:Pack format table

From Minecraft Wiki
Jump to navigation Jump to search
Documentation[view] [edit] [history] [purge]
This template uses Module:Pack format table, a script written in Lua.

This template represents one entry in a pack format wikitable.

Pack format

[edit source]

Set the first parameter to the pack format value for the versions.

Versions

[edit source]

Stable versions

[edit source]

The second and the third parameters represent the first release (stable) version and the last release version that use this pack format value, respectively.

If there is only one stable version with the pack format value, put it in the second parameter and leave the third parameter empty.

Development versions

[edit source]

The |dev1= and |dev2= parameters represent the first version and the last version that use this pack format, respectively. It doesn't matter whether the versions are stable or not.

If there is only one version with the pack format value, put it in the |dev1= parameter and leave the |dev2= parameter empty.

Do not use these parameters in the releaseonly table.

Other info

[edit source]

By default, the versions link to the appropriate version page. You can use the |v1link=, |v2link=, |dev1link=, and |dev2link= parameters to change this. Possible values are:

  • ver — link to the version article, i.e. the default behavior.
  • Any URI/URL — external link to this URI/URL.
  • Any page on the wiki — internal link to this page.
  • none — no link.

You can also use the |upcoming= parameter to tag the last stable version as an upcoming version. It doesn't matter what you put into the parameter, as long as it's not empty.

Significant/Breaking changes

[edit source]

The other unnamed parameters each represent one significant or breaking change. This template supports unlimited changes per pack format value.

Examples

[edit source]
...
{{Pack format table|4|dev1=17w48a|dev2=19w46b|1.13|1.4.4|Change 1|Change 2}}
{{Pack format table|5|dev1=1.15 Pre-release 1|dev2=1.16 Pre-release 3|1.15|1.16.1|Added [[predicates]].}}
{{Pack format table|7|dev1=20w46a|dev2=1.17.1|1.17|1.17.1|The {{cmd|replaceitem}} command was replaced with {{cmd|item}}.|Rolls, {{cd|set_damage}}, and possibly other parameters in loot tables now require a valid {{cd|type}} field when using min-max for numbers.|{{cd|score}} conditions' {{cd|entity}} parameter was replaced with {{cd|target}}.}}
{{Pack format table|13|dev1=23w12a|dev2=23w14a|||NBT paths for lines of text, {{cd|GlowingText}}, and {{cd|Color}} on the front of signs are now at {{cd|front_text.messages[<index>]}}, {{cd|front_text.has_glowing_text}}, and {{cd|front_text.color}}, respectively. The relevant tags for the backs of signs are in {{cd|back_text}}.}}
{{Pack format table|16|dev1=23w31a|||{{cd|entity_roar}} and {{cd|entity_shake}} game events have been removed and replaced with the {{cd|entity_action}} game event.|Renamed {{cd|belowName}} value in display slot argument in scoreboard command to {{cd|below_name}}.|Added {{cd|macro}} functions.|{{cd|pack.mcmeta}} now includes an optional {{cd|supported_formats}} field and optional {{cd|overlays}} section to allow creation of packs that are compatible with multiple versions of the game.}}
...
Data pack formats
Value Versions Releases Significant/Breaking Changes
From To From To
417w48a19w46b1.131.4.4
  • Change 1
  • Change 2
51.15-pre11.16-pre31.151.16.1
720w46a1.17.11.171.17.1
  • The /replaceitem command was replaced with /item.
  • Rolls, set_damage, and possibly other parameters in loot tables now require a valid type field when using min-max for numbers.
  • score conditions' entity parameter was replaced with target.
1323w12a23w14a
  • NBT paths for lines of text, GlowingText, and Color on the front of signs are now at front_text.messages[<index>], front_text.has_glowing_text, and front_text.color, respectively. The relevant tags for the backs of signs are in back_text.
1623w31a
  • entity_roar and entity_shake game events have been removed and replaced with the entity_action game event.
  • Renamed belowName value in display slot argument in scoreboard command to below_name.
  • Added macro functions.
  • pack.mcmeta now includes an optional supported_formats field and optional overlays section to allow creation of packs that are compatible with multiple versions of the game.


...
{{Pack format table|4|1.13|1.14.4|Added the initial pack format version of 4.}}
{{Pack format table|5|1.16.1||Added stuff.}}
{{Pack format table|7|1.19|upcoming=1||Added more stuff.}}
...
Data pack formats
Value Releases Significant/Breaking Changes
From To
41.131.14.4
  • Added the initial pack format version of 4.
51.16.1
  • Added stuff.
71.19[upcoming]
  • Added more stuff.
[view] [edit] [history] [purge]The above documentation is transcluded from Template:Pack format table/doc.
Retrieved from "https://minecraft.wiki/w/Template:Pack_format_table?oldid=2952928"

Navigation menu