Minecraft:Raids.dat format: Difference between revisions
From SAS Gaming Wiki
More actions
Sync: new page from Minecraft |
Sync: updated from Minecraft |
||
| (2 intermediate revisions by the same user not shown) | |||
| Line 5: | Line 5: | ||
== Folder structure == | == Folder structure == | ||
{| data | |||
| | === Current === | ||
|<div class=" | <div class="treeview"> | ||
* | * {{File|directory}}: A [[Minecraft:Java Edition level format|world directory]]. | ||
**data | ** {{File|directory|dimensions}} | ||
***raids.dat | *** {{File|directory|<namespace>}}: [[Minecraft:Namespace]] of a defined dimension. | ||
**DIM-1 | **** {{File|directory|<path>}}: [[Minecraft:Resource location|Path]] of a defined dimension. | ||
*** | ***** {{File|directory|data}}: Miscellaneous data of the dimension. | ||
****** {{File|file|raids.dat}}: Stores information about the ongoing raids in this dimension. | |||
**DIM1 | </div> | ||
*** | |||
=== Deprecated {{Until|java 26.1}} === | |||
<div class="treeview"> | |||
* {{File|directory}}: A [[Minecraft:Java Edition level format|world directory]]. | |||
** {{File|directory|data}} | |||
*** {{File|file|raids.dat}}: Stores information about the ongoing raids in [[Minecraft:Overworld|The Overworld]]. | |||
** {{File|directory|DIM-1}} | |||
*** {{File|file|raids.dat}}: Stores information about the ongoing raids in [[Minecraft:The Nether]]. | |||
** {{File|directory|DIM1}} | |||
*** {{File|file|raids_end.dat}}: Stores information about the ongoing raids in [[Minecraft:The End]]. | |||
</div> | </div> | ||
== NBT structure == | == NBT structure == | ||
| Line 50: | Line 57: | ||
|{{HistoryLine||1.16|dev=1.16-pre3|The data file for the [[Minecraft:nether]], <code>raids_nether.dat</code> was renamed to <code>raids.dat</code>.}} | |{{HistoryLine||1.16|dev=1.16-pre3|The data file for the [[Minecraft:nether]], <code>raids_nether.dat</code> was renamed to <code>raids.dat</code>.}} | ||
|{{HistoryLine||1.21.5|dev=25w05a|Renamed all data file fields to lowercase underscore format.}} | |{{HistoryLine||1.21.5|dev=25w05a|Renamed all data file fields to lowercase underscore format.}} | ||
}} | |{{HistoryLine||26.1|dev=snapshot 1|Changed world directory structure}}}} | ||
== Navigation == | == Navigation == | ||
| Line 57: | Line 64: | ||
[[Category:Development]] | [[Category:Development]] | ||
[[Category:Illager mechanics]] | |||
[[Minecraft:de:Überfalldaten]] | [[Minecraft:de:Überfalldaten]] | ||
[[Minecraft:fr:Format raids.dat]] | [[Minecraft:fr:Format raids.dat]] | ||
Latest revision as of 12:30, 21 July 2026
Template:Exclusive The raids.dat file located in the data folder of every Minecraft level is used to store information about the Minecraft:raids in the level. It is stored as a gzip compressed NBT file.
Additional file raids_end.dat is stored in the data folder of end dimension folders, allowing for raids in other dimensions for villages in those dimensions.
Folder structure
Current
- Template:File: A world directory.
- Template:File
- Template:File: Minecraft:Namespace of a defined dimension.
- Template:File: Path of a defined dimension.
- Template:File: Miscellaneous data of the dimension.
- Template:File: Stores information about the ongoing raids in this dimension.
- Template:File: Miscellaneous data of the dimension.
- Template:File: Path of a defined dimension.
- Template:File: Minecraft:Namespace of a defined dimension.
- Template:File
Deprecated Template:Until
- Template:File: A world directory.
- Template:File
- Template:File: Stores information about the ongoing raids in The Overworld.
- Template:File
- Template:File: Stores information about the ongoing raids in Minecraft:The Nether.
- Template:File
- Template:File: Stores information about the ongoing raids in Minecraft:The End.
- Template:File
NBT structure
- Template:Nbt: The root tag.
- Template:Nbt: List of compound tags including raid information.
- Template:Nbt: A raid.
- Template:Nbt: The ID of the raid.
- Template:Nbt: 1 or 0 (true/false). True if the raid has ever spawned a wave.
- Template:Nbt: 1 or 0 (true/false). Whether the raid functionality is active.
- Template:Nbt: The timespan, in ticks, the raid has been going on for.
- Template:Nbt: The level of bad omen for the raid. Affects raider enchantments and the extra wave.
- Template:Nbt: The number of waves that have spawned in the raid.
- Template:Nbt: The timespan, in ticks, until the initial spawning of raiders.
- Template:Nbt: The timespan, in ticks, after all the waves are cleared.
- Template:Nbt: The sum of maximum health of all the raiders in the current wave.
- Template:Nbt: The total number of waves in this raid.
- Template:Nbt: The Template:Tooltip of the raid.
- Template:Nbt: The position of the center of the raid, where raiders try to move to.
- Template:Nbt: A list of players who have killed raiders in the raid. Each of these players receives the hero of the village effect when the raid ends in a
victorystatus.- Template:Nbt: An array of four integers containing the Universally Unique Identifier of a player.
- Template:Nbt: A raid.
- Template:Nbt: The ID for the next raid to occur.
- Template:Nbt: Internal clock.
- Template:Nbt: List of compound tags including raid information.
History
Template:Navbox Java Edition technical Template:Lowercase title Minecraft:de:Überfalldaten Minecraft:fr:Format raids.dat Minecraft:ja:Raids.datフォーマット Minecraft:lzh:存襲範式 Minecraft:pt:Formato raids.dat Minecraft:zh:袭击存储格式