Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Minecraft:Bedrock Edition level format/Other data format: Difference between revisions

From SAS Gaming Wiki
imported>Andexter
m Fixed incorrect data type for the "states" property of the Block NBT structure.
 
SyncBot (talk | contribs)
Fix template calls: add MC/ prefix
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
{{exclusive|bedrock}}
{{MC/Exclusive|bedrock}}
This page lists some additional NBT structures {{in|bedrock}}.
This page lists some additional NBT structures {{MC/In|bedrock}}.


__TOC__
__TOC__
Line 6: Line 6:
== Abilities ==
== Abilities ==
NBT structure of players' ability info:
NBT structure of players' ability info:
* {{nbt|compound}}: Parent tag.
* {{MC/Nbt|compound}}: Parent tag.
** {{nbt|compound|abilities}}: The player's ability setting.
** {{MC/Nbt|compound|abilities}}: The player's ability setting.
*** {{nbt|byte|attackmobs}}: 1 or 0 (true/false) - true if the player can attack mobs.
*** {{MC/Nbt|byte|attackmobs}}: 1 or 0 (true/false) - true if the player can attack mobs.
*** {{nbt|byte|attackplayers}}: 1 or 0 (true/false) - true if the player can attack other players.
*** {{MC/Nbt|byte|attackplayers}}: 1 or 0 (true/false) - true if the player can attack other players.
*** {{nbt|byte|build}}: 1 or 0 (true/false) - true if the player can place blocks.
*** {{MC/Nbt|byte|build}}: 1 or 0 (true/false) - true if the player can place blocks.
*** {{nbt|byte|doorsandswitches}}: 1 or 0 (true/false) - true if the player is able to interact with redstone components.
*** {{MC/Nbt|byte|doorsandswitches}}: 1 or 0 (true/false) - true if the player is able to interact with redstone components.
*** {{nbt|byte|flying}}: 1 or 0 (true/false) - true if the player is currently flying.
*** {{MC/Nbt|byte|flying}}: 1 or 0 (true/false) - true if the player is currently flying.
*** {{nbt|float|flySpeed}}: The flying speed, always 0.05.
*** {{MC/Nbt|float|flySpeed}}: The flying speed, always 0.05.
*** {{nbt|byte|instabuild}}: 1 or 0 (true/false) - true if the player can instantly destroy blocks.
*** {{MC/Nbt|byte|instabuild}}: 1 or 0 (true/false) - true if the player can instantly destroy blocks.
*** {{nbt|byte|invulnerable}}: 1 or 0 (true/false) - true if the player is immune to all damage and harmful effects.
*** {{MC/Nbt|byte|invulnerable}}: 1 or 0 (true/false) - true if the player is immune to all damage and harmful effects.
*** {{nbt|byte|lightning}}: 1 or 0 (true/false) - true if the player was struck by lightning.
*** {{MC/Nbt|byte|lightning}}: 1 or 0 (true/false) - true if the player was struck by lightning.
*** {{nbt|byte|mayfly}}: 1 or 0 (true/false) - true if the player can fly.
*** {{MC/Nbt|byte|mayfly}}: 1 or 0 (true/false) - true if the player can fly.
*** {{nbt|byte|mine}}: 1 or 0 (true/false) - true if the player can destroy blocks.
*** {{MC/Nbt|byte|mine}}: 1 or 0 (true/false) - true if the player can destroy blocks.
*** {{nbt|byte|mute}}: 1 or 0 (true/false) - true if the player messages cannot be seen by other players.
*** {{MC/Nbt|byte|mute}}: 1 or 0 (true/false) - true if the player messages cannot be seen by other players.
*** {{nbt|byte|noclip}}: 1 or 0 (true/false) - true if the player can phase through blocks.
*** {{MC/Nbt|byte|noclip}}: 1 or 0 (true/false) - true if the player can phase through blocks.
*** {{nbt|byte|op}}: 1 or 0 (true/false) - true if the player has operator commands.
*** {{MC/Nbt|byte|op}}: 1 or 0 (true/false) - true if the player has operator commands.
*** {{nbt|byte|opencontainers}}: 1 or 0 (true/false) - true if the player is able to open containers.
*** {{MC/Nbt|byte|opencontainers}}: 1 or 0 (true/false) - true if the player is able to open containers.
*** {{nbt|int|permissionsLevel}}: What permissions a player will default to, when joining a world.
*** {{MC/Nbt|int|permissionsLevel}}: What permissions a player will default to, when joining a world.
*** {{nbt|int|playerPermissionsLevel}}: What permissions a player has.
*** {{MC/Nbt|int|playerPermissionsLevel}}: What permissions a player has.
*** {{nbt|byte|teleport}}: 1 or 0 (true/false) - true if the player is allowed to teleport.
*** {{MC/Nbt|byte|teleport}}: 1 or 0 (true/false) - true if the player is allowed to teleport.
*** {{nbt|float|walkSpeed}}: The walking speed, always 0.1.
*** {{MC/Nbt|float|walkSpeed}}: The walking speed, always 0.1.
*** {{nbt|byte|worldbuilder}}: 1 or 0 (true/false) - true if the player is a world builder.
*** {{MC/Nbt|byte|worldbuilder}}: 1 or 0 (true/false) - true if the player is a world builder.


== Attribute ==
== Attribute ==
NBT structure of an [[Minecraft:attribute]]:
NBT structure of an [[Minecraft:attribute]]:
* {{nbt|compound}}: Parent tag.
* {{MC/Nbt|compound}}: Parent tag.
** {{nbt|float|Base}}: The base value of this Attribute.
** {{MC/Nbt|float|Base}}: The base value of this Attribute.
** {{nbt|float|Current}}: Unknown.
** {{MC/Nbt|float|Current}}: Unknown.
** {{nbt|float|DefaultMax}}: Unknown.
** {{MC/Nbt|float|DefaultMax}}: Unknown.
** {{nbt|float|DefaultMin}}: Unknown.
** {{MC/Nbt|float|DefaultMin}}: Unknown.
** {{nbt|float|Max}}: Unknown.
** {{MC/Nbt|float|Max}}: Unknown.
** {{nbt|float|Min}}: Unknown.
** {{MC/Nbt|float|Min}}: Unknown.
** {{nbt|list|Modifiers}}: (May not exist) List of [[Minecraft:Attribute#Modifiers|Modifiers]].
** {{MC/Nbt|list|Modifiers}}: (May not exist) List of [[Minecraft:Attribute#Modifiers|Modifiers]].
*** {{nbt|compound}}: An individual Modifier.
*** {{MC/Nbt|compound}}: An individual Modifier.
**** {{bedrock nbt|Attribute Modifier}}
**** {{MC/Bedrock nbt|Attribute Modifier}}
** {{nbt|string|Name}}: The name of this Attribute.
** {{MC/Nbt|string|Name}}: The name of this Attribute.
** {{nbt|list|TemporalBuffs}}: (May not exist) Unknown.
** {{MC/Nbt|list|TemporalBuffs}}: (May not exist) Unknown.
*** {{nbt|float|Amount}}: Unknown.
*** {{MC/Nbt|float|Amount}}: Unknown.
*** {{nbt|int|Duration}}: Unknown.
*** {{MC/Nbt|int|Duration}}: Unknown.
*** {{nbt|int|LifeTime}}: Unknown.
*** {{MC/Nbt|int|LifeTime}}: Unknown.
*** {{nbt|int|Type}}: Unknown.
*** {{MC/Nbt|int|Type}}: Unknown.


== Attributes ==
== Attributes ==
NBT structure for [[Minecraft:mob]]s:
NBT structure for [[Minecraft:mob]]s:
* {{nbt|compound}}: Parent tag.
* {{MC/Nbt|compound}}: Parent tag.
** {{nbt|list}}: List of [[Minecraft:attribute]]s.
** {{MC/Nbt|list}}: List of [[Minecraft:attribute]]s.
*** {{nbt|compound}}:An attribute.
*** {{MC/Nbt|compound}}:An attribute.
**** {{bedrock nbt|Attribute}}
**** {{MC/Bedrock nbt|Attribute}}


== Attribute Modifier ==
== Attribute Modifier ==
NBT structure of an attribute [[Minecraft:modifier]]:
NBT structure of an attribute modifier:
* {{nbt|compound}}: Parent tag.
* {{MC/Nbt|compound}}: Parent tag.
** {{nbt|float|Amount}}: The amount by which this Modifier modifies the Base value in calculations.
** {{MC/Nbt|float|Amount}}: The amount by which this Modifier modifies the Base value in calculations.
** {{nbt|string|Name}}: The Modifier's name.
** {{MC/Nbt|string|Name}}: The Modifier's name.
** {{nbt|int|Operand}}: Unknown.
** {{MC/Nbt|int|Operand}}: Unknown.
** {{nbt|int|Operation}}: Defines the operation this Modifier executes on the Attribute's Base value. 0: Increment X by Amount, 1: Increment Y by X * Amount, 2: Y = Y * (1 + Amount) (equivalent to Increment Y by Y * Amount).{{needs testing}}
** {{MC/Nbt|int|Operation}}: Defines the operation this Modifier executes on the Attribute's Base value. 0: Increment X by Amount, 1: Increment Y by X * Amount, 2: Y = Y * (1 + Amount) (equivalent to Increment Y by Y * Amount).{{MC/Needs testing}}
** {{nbt|long|UUIDLeast}}: This modifier's UUID Least.
** {{MC/Nbt|long|UUIDLeast}}: This modifier's UUID Least.
** {{nbt|long|UUIDMost}}: This modifier's UUID Most.
** {{MC/Nbt|long|UUIDMost}}: This modifier's UUID Most.


== AutonomousEntities ==
== AutonomousEntities ==
The autonomous entities data:
The autonomous entities data:
* {{nbt|compound}}: The autonomous entities root tag.
* {{MC/Nbt|compound}}: The autonomous entities root tag.
** {{nbt|list|AutonomousEntityList}}: Unknown.
** {{MC/Nbt|list|AutonomousEntityList}}: Unknown.


== BiomeData ==
== BiomeData ==
The [[Minecraft:biome]] data:
The [[Minecraft:biome]] data:
* {{nbt|compound}}: The biome data root tag.
* {{MC/Nbt|compound}}: The biome data root tag.
** {{nbt|list|list}}: A list of compound tags representing biomes.
** {{MC/Nbt|list|list}}: A list of compound tags representing biomes.
*** {{nbt|compound}}: A biome.
*** {{MC/Nbt|compound}}: A biome.
**** {{nbt|byte|id}}: The numerical [[Minecraft:Biome|biome ID]].
**** {{MC/Nbt|byte|id}}: The numerical [[Minecraft:Biome|biome ID]].
**** {{nbt|float|snowAccumulation}}: The biome's snow accumulation. Eg. <code>0.125</code>.
**** {{MC/Nbt|float|snowAccumulation}}: The biome's snow accumulation. Eg. <code>0.125</code>.


== Block ==
== Block ==
NBT structure of a [[Minecraft:block]]:
NBT structure of a [[Minecraft:block]]:
* {{nbt|compound}}: Parent tag.
* {{MC/Nbt|compound}}: Parent tag.
** {{nbt|string|name}}: The namespaced ID of this block.
** {{MC/Nbt|string|name}}: The namespaced ID of this block.
** {{nbt|compound|states}}: List of block states of this block.
** {{MC/Nbt|compound|states}}: List of block states of this block.
*** {{nbt||<''state_name''>}}: A block state and its value with corresponding data type.
*** {{MC/Nbt||<''state_name''>}}: A block state and its value with corresponding data type.
** {{nbt|int|version}}: The data version.
** {{MC/Nbt|int|version}}: The data version.


== Command Block ==
== Command Block ==
NBT structure of [[Minecraft:command block]] and [[Minecraft:minecart with command block]]:
NBT structure of command block and minecart with command block:
* {{nbt|compound}}: Parent tag.
* {{MC/Nbt|compound}}: Parent tag.
** {{nbt|string|Command}}: The command entered into the command block.
** {{MC/Nbt|string|Command}}: The command entered into the command block.
** {{nbt|string|CustomName}}: The custom name or hover text of this command block.
** {{MC/Nbt|string|CustomName}}: The custom name or hover text of this command block.
** {{nbt|byte|ExecuteOnFirstTick}}: 1 or 0 (true/false) - true if it executes on the first tick once saved or activated.
** {{MC/Nbt|byte|ExecuteOnFirstTick}}: 1 or 0 (true/false) - true if it executes on the first tick once saved or activated.
** {{nbt|long|LastExecution}}: Stores the time when a command block was last executed.
** {{MC/Nbt|long|LastExecution}}: Stores the time when a command block was last executed.
** {{nbt|string|LastOutput}}: The translation key of the output's last line generated by the command block. Still stored even if the [[Minecraft:gamerule]] commandBlockOutput is false. Appears in the command GUI.
** {{MC/Nbt|string|LastOutput}}: The translation key of the output's last line generated by the command block. Still stored even if the gamerule commandBlockOutput is false. Appears in the command GUI.
** {{nbt|list|LastOutputParams}}: The params for the output's translation key.
** {{MC/Nbt|list|LastOutputParams}}: The params for the output's translation key.
*** {{nbt|string}}: A param.
*** {{MC/Nbt|string}}: A param.
** {{nbt|int|SuccessCount}}: Represents the strength of the analog signal output by redstone comparators attached to this command block.
** {{MC/Nbt|int|SuccessCount}}: Represents the strength of the analog signal output by redstone comparators attached to this command block.
** {{nbt|int|TickDelay}}: The delay between each execution.
** {{MC/Nbt|int|TickDelay}}: The delay between each execution.
** {{nbt|byte|TrackOutput}}: 1 or 0 (true/false) - true if the <code>LastOutput</code> is stored. Can be toggled in the GUI by clicking a button near the "Previous Output" textbox.
** {{MC/Nbt|byte|TrackOutput}}: 1 or 0 (true/false) - true if the <code>LastOutput</code> is stored. Can be toggled in the GUI by clicking a button near the "Previous Output" textbox.
** {{nbt|int|Version}}: The data version.
** {{MC/Nbt|int|Version}}: The data version.


== Firework Explosion ==
== Firework Explosion ==
NBT structure of [[Minecraft:firework]] and [[Minecraft:firework star]]:
NBT structure of firework and firework star:
* {{nbt|compound}}: Parent tag.
* {{MC/Nbt|compound}}: Parent tag.
** {{nbt|byte-array|FireworkColor}}: Array of byte values corresponding to the primary colors of this firework's explosion.
** {{MC/Nbt|byte-array|FireworkColor}}: Array of byte values corresponding to the primary colors of this firework's explosion.
** {{nbt|byte-array|FireworkFade}}: Array of byte values corresponding to the fading colors of this firework's explosion.
** {{MC/Nbt|byte-array|FireworkFade}}: Array of byte values corresponding to the fading colors of this firework's explosion.
** {{nbt|byte|FireworkFlicker}}: 1 or 0 (true/false) - true if this explosion has the twinkle effect (glowstone dust).
** {{MC/Nbt|byte|FireworkFlicker}}: 1 or 0 (true/false) - true if this explosion has the twinkle effect (glowstone dust).
** {{nbt|byte|FireworkTrail}}: 1 or 0 (true/false) - true if this explosion has the trail effect (diamond).
** {{MC/Nbt|byte|FireworkTrail}}: 1 or 0 (true/false) - true if this explosion has the trail effect (diamond).
** {{nbt|byte|FireworkType}}: The shape of this firework's explosion. 0 = Small Ball, 1 = Large Ball, 2 = Star-shaped, 3 = Creeper-shaped, and 4 = Burst.{{needs testing}}
** {{MC/Nbt|byte|FireworkType}}: The shape of this firework's explosion. 0 = Small Ball, 1 = Large Ball, 2 = Star-shaped, 3 = Creeper-shaped, and 4 = Burst.{{MC/Needs testing}}


== Limbo entities ==
== Limbo entities ==
The limbo entities data:
The limbo entities data:
* {{nbt|compound}}: The limbo entities root tag.
* {{MC/Nbt|compound}}: The limbo entities root tag.
** {{nbt|compound|data}}: A compound with a list of limbo entities.
** {{MC/Nbt|compound|data}}: A compound with a list of limbo entities.
*** {{nbt|list|LimboEntities}}: Unknown.
*** {{MC/Nbt|list|LimboEntities}}: Unknown.


== Mob Effect ==
== Mob Effect ==
NBT structure of a [[Minecraft:status effect]]:
NBT structure of a status effect:
* {{nbt|compound}}: Parent tag.
* {{MC/Nbt|compound}}: Parent tag.
** {{nbt|byte|Ambient}}: 1 or 0 (true/false) - true if this effect is provided by a beacon and therefore should be less intrusive on screen.
** {{MC/Nbt|byte|Ambient}}: 1 or 0 (true/false) - true if this effect is provided by a beacon and therefore should be less intrusive on screen.
** {{nbt|byte|Amplifier}}: The potion effect level. 0 is level 1.
** {{MC/Nbt|byte|Amplifier}}: The potion effect level. 0 is level 1.
** {{nbt|byte|DisplayOnScreenTextureAnimation}}: Unknown.
** {{MC/Nbt|byte|DisplayOnScreenTextureAnimation}}: Unknown.
** {{nbt|int|Duration}}: The number of ticks before the effect wears off.
** {{MC/Nbt|int|Duration}}: The number of ticks before the effect wears off.
** {{nbt|int|DurationEasy}}: Duration for Easy mode.
** {{MC/Nbt|int|DurationEasy}}: Duration for Easy mode.
** {{nbt|int|DurationHard}}: Duration for Hard mode.
** {{MC/Nbt|int|DurationHard}}: Duration for Hard mode.
** {{nbt|int|DurationNormal}}: Duration for Normal mode.
** {{MC/Nbt|int|DurationNormal}}: Duration for Normal mode.
** {{nbt|compound|FactorCalculationData}}
** {{MC/Nbt|compound|FactorCalculationData}}
*** {{nbt|int|change_timestamp}}
*** {{MC/Nbt|int|change_timestamp}}
*** {{nbt|float|factor_current}}
*** {{MC/Nbt|float|factor_current}}
*** {{nbt|float|factor_previous}}
*** {{MC/Nbt|float|factor_previous}}
*** {{nbt|float|factor_start}}
*** {{MC/Nbt|float|factor_start}}
*** {{nbt|float|factor_target}}
*** {{MC/Nbt|float|factor_target}}
*** {{nbt|byte|had_applied}}
*** {{MC/Nbt|byte|had_applied}}
*** {{nbt|byte|had_last_tick}}
*** {{MC/Nbt|byte|had_last_tick}}
*** {{nbt|int|padding_duration}}
*** {{MC/Nbt|int|padding_duration}}
** {{nbt|byte|Id}}: The numerical effect ID.
** {{MC/Nbt|byte|Id}}: The numerical effect ID.
** {{nbt|byte|ShowParticles}}: 1 or 0 (true/false) - true if particles are shown.
** {{MC/Nbt|byte|ShowParticles}}: 1 or 0 (true/false) - true if particles are shown.


== Mob Events ==
== Mob Events ==
NBT structure of [[Minecraft:Commands/mobevent|mob event]]s:
NBT structure of [[Minecraft:Commands/mobevent|mob event]]s:
* {{nbt|compound}}: The mob events root tag.
* {{MC/Nbt|compound}}: The mob events root tag.
** {{nbt|byte|events_enabled}}: 1 or 0 (true/false) - true if the mob events can occur.
** {{MC/Nbt|byte|events_enabled}}: 1 or 0 (true/false) - true if the mob events can occur.
** {{nbt|byte|minecraft:ender_dragon_event}}: 1 or 0 (true/false) - true if the [[Minecraft:ender dragon]] can spawn.
** {{MC/Nbt|byte|minecraft:ender_dragon_event}}: 1 or 0 (true/false) - true if the ender dragon can spawn.
** {{nbt|byte|minecraft:pillager_patrols_event}}: 1 or 0 (true/false) - true if the [[Minecraft:illager patrol]] can spawn.
** {{MC/Nbt|byte|minecraft:pillager_patrols_event}}: 1 or 0 (true/false) - true if the illager patrol can spawn.
** {{nbt|byte|minecraft:wandering_trader_event}}: 1 or 0 (true/false) - true if the [[Minecraft:wandering trader]] can spawn.
** {{MC/Nbt|byte|minecraft:wandering_trader_event}}: 1 or 0 (true/false) - true if the wandering trader can spawn.


== Monster Spawner ==
== Monster Spawner ==
NBT structure of a [[Minecraft:monster spawner]]:
NBT structure of a monster spawner:
* {{nbt|compound}}: Parent tag.
* {{MC/Nbt|compound}}: Parent tag.
** {{nbt|short|Delay}}: Ticks until next spawn. If 0, it spawns immediately when a player enters its range.
** {{MC/Nbt|short|Delay}}: Ticks until next spawn. If 0, it spawns immediately when a player enters its range.
** {{nbt|float|DisplayEntityHeight}}: The height of entity model that displayed in the block.
** {{MC/Nbt|float|DisplayEntityHeight}}: The height of entity model that displayed in the block.
** {{nbt|float|DisplayEntityScale}}: The scale of entity model that displayed in the block.
** {{MC/Nbt|float|DisplayEntityScale}}: The scale of entity model that displayed in the block.
** {{nbt|float|DisplayEntityWidth}}: The width of entity model that displayed in the block.
** {{MC/Nbt|float|DisplayEntityWidth}}: The width of entity model that displayed in the block.
** {{nbt|string|EntityIdentifier}}: The id of the entity to be summoned.{{more info}}
** {{MC/Nbt|string|EntityIdentifier}}: The id of the entity to be summoned.{{MC/More info}}
** {{nbt|short|MaxNearbyEntities}}: The maximum number of nearby (within a box of <code>SpawnRange</code>*2+1 × <code>SpawnRange</code>*2+1 × 8 centered around the spawner block{{needs testing}}) entities whose IDs match this spawner's entity ID.
** {{MC/Nbt|short|MaxNearbyEntities}}: The maximum number of nearby (within a box of <code>SpawnRange</code>*2+1 × <code>SpawnRange</code>*2+1 × 8 centered around the spawner block{{MC/Needs testing}}) entities whose IDs match this spawner's entity ID.
** {{nbt|short|MaxSpawnDelay}}: The maximum random delay for the next spawn delay.
** {{MC/Nbt|short|MaxSpawnDelay}}: The maximum random delay for the next spawn delay.
** {{nbt|short|MinSpawnDelay}}: The minimum random delay for the next spawn delay.
** {{MC/Nbt|short|MinSpawnDelay}}: The minimum random delay for the next spawn delay.
** {{nbt|short|RequiredPlayerRange}}: Overrides the block radius of the sphere of activation by players for this spawner.
** {{MC/Nbt|short|RequiredPlayerRange}}: Overrides the block radius of the sphere of activation by players for this spawner.
** {{nbt|short|SpawnCount}}: How many mobs to attempt to spawn each time.
** {{MC/Nbt|short|SpawnCount}}: How many mobs to attempt to spawn each time.
** {{nbt|compound|SpawnData}}: (May not exist) Contains tags to copy to the next spawned entity(s) after spawning.
** {{MC/Nbt|compound|SpawnData}}: (May not exist) Contains tags to copy to the next spawned entity(s) after spawning.
*** {{nbt|compound|Properties}}: Unknown.
*** {{MC/Nbt|compound|Properties}}: Unknown.
*** {{nbt|string|TypeId}}: The entity's namespaced ID.
*** {{MC/Nbt|string|TypeId}}: The entity's namespaced ID.
*** {{nbt|int|Weight}}: Unknown.
*** {{MC/Nbt|int|Weight}}: Unknown.
** {{nbt|list|SpawnPotentials}}: (May not exist) List of possible entities to spawn.
** {{MC/Nbt|list|SpawnPotentials}}: (May not exist) List of possible entities to spawn.
*** {{nbt|compound}}: A potential future spawn.
*** {{MC/Nbt|compound}}: A potential future spawn.
**** {{nbt|compound|Properties}}: Unknown.
**** {{MC/Nbt|compound|Properties}}: Unknown.
**** {{nbt|string|TypeId}}: The entity's namespaced ID.
**** {{MC/Nbt|string|TypeId}}: The entity's namespaced ID.
**** {{nbt|int|Weight}}: The chance that this spawn gets picked in comparison to other spawn weights. Must be positive and at least 1.
**** {{MC/Nbt|int|Weight}}: The chance that this spawn gets picked in comparison to other spawn weights. Must be positive and at least 1.
** {{nbt|short|SpawnRange}}: The radius around which the spawner attempts to place mobs randomly. The spawn area is square, includes the block the spawner is in, and is centered around the spawner's x,z coordinates - not the spawner itself.{{needs testing}} Default value is 4.
** {{MC/Nbt|short|SpawnRange}}: The radius around which the spawner attempts to place mobs randomly. The spawn area is square, includes the block the spawner is in, and is centered around the spawner's x,z coordinates - not the spawner itself.{{MC/Needs testing}} Default value is 4.


== Players ==
== Players ==
The players data:
The players data:
* {{nbt|compound}}: A player root tag.
* {{MC/Nbt|compound}}: A player root tag.
** {{nbt|string|MsaId}}
** {{MC/Nbt|string|MsaId}}
** {{nbt|string|SelfSignedId}}
** {{MC/Nbt|string|SelfSignedId}}
** {{nbt|string|ServerId}}
** {{MC/Nbt|string|ServerId}}


== Portals ==
== Portals ==
The portals data:
The portals data:
* {{nbt|compound}}: The portals root tag.
* {{MC/Nbt|compound}}: The portals root tag.
** {{nbt|compound|data}}
** {{MC/Nbt|compound|data}}
*** {{nbt|list|PortalRecords}}
*** {{MC/Nbt|list|PortalRecords}}
**** {{nbt|compound}}
**** {{MC/Nbt|compound}}
***** {{nbt|int|DimId}}
***** {{MC/Nbt|int|DimId}}
***** {{nbt|byte|Span}}
***** {{MC/Nbt|byte|Span}}
***** {{nbt|int|TpX}}
***** {{MC/Nbt|int|TpX}}
***** {{nbt|int|TpY}}
***** {{MC/Nbt|int|TpY}}
***** {{nbt|int|TpZ}}
***** {{MC/Nbt|int|TpZ}}
***** {{nbt|byte|Xa}}
***** {{MC/Nbt|byte|Xa}}
***** {{nbt|byte|Za}}
***** {{MC/Nbt|byte|Za}}


== SchedulerWT ==
== SchedulerWT ==
The schedulerWT data:
The schedulerWT data:
* {{nbt|compound}}: The schedulerWT root tag.
* {{MC/Nbt|compound}}: The schedulerWT root tag.
** {{nbt|int|daysSinceLastWTSpawn}}
** {{MC/Nbt|int|daysSinceLastWTSpawn}}
** {{nbt|byte|isSpawningWT}}
** {{MC/Nbt|byte|isSpawningWT}}
** {{nbt|long|nextWTSpawnCheckTick}}
** {{MC/Nbt|long|nextWTSpawnCheckTick}}


== Scoreboard ==
== Scoreboard ==
NBT structure of [[Minecraft:scoreboard]]s:
NBT structure of scoreboards:
* {{nbt|compound}}: The scoreboard data root tag.
* {{MC/Nbt|compound}}: The scoreboard data root tag.
** {{nbt|list|Criteria}}
** {{MC/Nbt|list|Criteria}}
** {{nbt|list|DisplayObjectives}}: A  list of compound tags representing specific displayed objectives.
** {{MC/Nbt|list|DisplayObjectives}}: A  list of compound tags representing specific displayed objectives.
*** {{nbt|compound}}: A displayed objective.
*** {{MC/Nbt|compound}}: A displayed objective.
**** {{nbt|string|Name}}: The '''display slot''' of this objective.
**** {{MC/Nbt|string|Name}}: The '''display slot''' of this objective.
**** {{nbt|string|ObjectiveName}}: The internal '''name''' of the objective displayed.
**** {{MC/Nbt|string|ObjectiveName}}: The internal '''name''' of the objective displayed.
**** {{nbt|byte|SortOrder}}: The '''sort order''' of the objective displayed. 0 = <code>ascending</code>, 1 = <code>descending</code>. If not specified, or the '''display slot''' is <code>belowname</code>, 1 by default.
**** {{MC/Nbt|byte|SortOrder}}: The '''sort order''' of the objective displayed. 0 = <code>ascending</code>, 1 = <code>descending</code>. If not specified, or the '''display slot''' is <code>belowname</code>, 1 by default.
** {{nbt|list|Entries}}: A list of compound tags representing individual entities.
** {{MC/Nbt|list|Entries}}: A list of compound tags representing individual entities.
*** {{nbt|compound}}: An entity.
*** {{MC/Nbt|compound}}: An entity.
**** {{nbt|byte|IdentityType}}: The identity type of this entity. 1 = Players, 2 = Others.
**** {{MC/Nbt|byte|IdentityType}}: The identity type of this entity. 1 = Players, 2 = Others.
**** {{nbt|long|EntityId}}: Optional. The entity's Unique ID.
**** {{MC/Nbt|long|EntityId}}: Optional. The entity's Unique ID.
**** {{nbt|long|PlayerId}}: Optional. The player's Unique ID.
**** {{MC/Nbt|long|PlayerId}}: Optional. The player's Unique ID.
**** {{nbt|long|ScoreboardId}}: The numerical ID given to this entity on the scoreboard system, starting from 1.
**** {{MC/Nbt|long|ScoreboardId}}: The numerical ID given to this entity on the scoreboard system, starting from 1.
** {{nbt|list|Objectives}}: A list of compound tags representing objectives.
** {{MC/Nbt|list|Objectives}}: A list of compound tags representing objectives.
*** {{nbt|compound}}: An objective.
*** {{MC/Nbt|compound}}: An objective.
**** {{nbt|string|Criteria}}: The '''criterion''' of this objective, currently, always <code>dummy</code>.
**** {{MC/Nbt|string|Criteria}}: The '''criterion''' of this objective, currently, always <code>dummy</code>.
**** {{nbt|string|DisplayName}}: The '''display name''' of this objective.
**** {{MC/Nbt|string|DisplayName}}: The '''display name''' of this objective.
**** {{nbt|string|Name}}: The internal '''name''' of this objective.
**** {{MC/Nbt|string|Name}}: The internal '''name''' of this objective.
**** {{nbt|list|Scores}}: A list of compound tags representing scores tracked on this objective.
**** {{MC/Nbt|list|Scores}}: A list of compound tags representing scores tracked on this objective.
***** {{nbt|compound}}: A tracked entity with a score.
***** {{MC/Nbt|compound}}: A tracked entity with a score.
****** {{nbt|int|Score}}: The score this entity has on this objective.
****** {{MC/Nbt|int|Score}}: The score this entity has on this objective.
****** {{nbt|long|ScoreboardId}}: The numerical ID given to this entity on the scoreboard system.
****** {{MC/Nbt|long|ScoreboardId}}: The numerical ID given to this entity on the scoreboard system.
*** {{nbt|long|LastUniqueID}}: The numerical ID given to the last entity added on the scoreboard system.
*** {{MC/Nbt|long|LastUniqueID}}: The numerical ID given to the last entity added on the scoreboard system.


== Structuretemplate_<''name''> ==
== Structuretemplate_<''name''> ==
The structure template data:
The structure template data:
* {{nbt|compound}}: The structure template root tag.
* {{MC/Nbt|compound}}: The structure template root tag.
** {{nbt|int|format_version}}
** {{MC/Nbt|int|format_version}}
** {{nbt|list|size}}
** {{MC/Nbt|list|size}}
*** {{nbt|int}}
*** {{MC/Nbt|int}}
*** {{nbt|int}}
*** {{MC/Nbt|int}}
*** {{nbt|int}}
*** {{MC/Nbt|int}}
** {{nbt|compound|structure}}
** {{MC/Nbt|compound|structure}}
*** {{nbt|list|block_indices}}
*** {{MC/Nbt|list|block_indices}}
**** {{nbt|list}}
**** {{MC/Nbt|list}}
***** {{nbt|int}}
***** {{MC/Nbt|int}}
*** {{nbt|list|entities}}
*** {{MC/Nbt|list|entities}}
**** {{nbt|compound}}
**** {{MC/Nbt|compound}}
***** {{bedrock nbt|Entity|entity}}
***** {{MC/Bedrock nbt|Entity|entity}}
***** Tags unique to this entity type.
***** Tags unique to this entity type.
*** {{nbt|compound|palette}}
*** {{MC/Nbt|compound|palette}}
**** {{nbt|compound|default}}
**** {{MC/Nbt|compound|default}}
***** {{nbt|list|block_palette}}
***** {{MC/Nbt|list|block_palette}}
****** {{nbt|compound}}
****** {{MC/Nbt|compound}}
******* {{bedrock nbt|Block|others}}
******* {{MC/Bedrock nbt|Block|others}}
***** {{nbt|compound|block_position_data}}
***** {{MC/Nbt|compound|block_position_data}}
****** {{nbt|compound|<''num''>}}
****** {{MC/Nbt|compound|<''num''>}}
******* {{nbt|compound|block_entity_data}}
******* {{MC/Nbt|compound|block_entity_data}}
******** {{bedrock nbt|Block Entity|block}}
******** {{MC/Bedrock nbt|Block Entity|block}}
******** Tags unique to this block entity.
******** Tags unique to this block entity.
******* {{nbt|list|tick_queue_data}}: (May not exist)
******* {{MC/Nbt|list|tick_queue_data}}: (May not exist)
******** {{nbt|compound}}
******** {{MC/Nbt|compound}}
********* {{nbt|int|tick_delay}}
********* {{MC/Nbt|int|tick_delay}}
** {{nbt|list|structure_world_origin}}
** {{MC/Nbt|list|structure_world_origin}}
*** {{nbt|int}}
*** {{MC/Nbt|int}}
*** {{nbt|int}}
*** {{MC/Nbt|int}}
*** {{nbt|int}}
*** {{MC/Nbt|int}}


== Tickingarea ==
== Tickingarea ==
The {{cmd|tickingarea}} data:
The {{MC/Cmd|tickingarea}} data:
* {{nbt|compound}}: The tickingarea root tag.
* {{MC/Nbt|compound}}: The tickingarea root tag.
** {{nbt|int|Dimension}}
** {{MC/Nbt|int|Dimension}}
** {{nbt|byte|IsCircle}}
** {{MC/Nbt|byte|IsCircle}}
** {{nbt|int|MaxX}}
** {{MC/Nbt|int|MaxX}}
** {{nbt|int|MaxZ}}
** {{MC/Nbt|int|MaxZ}}
** {{nbt|int|MinX}}
** {{MC/Nbt|int|MinX}}
** {{nbt|int|MinZ}}
** {{MC/Nbt|int|MinZ}}
** {{nbt|string|Name}}
** {{MC/Nbt|string|Name}}
** {{nbt|byte|Preload}}
** {{MC/Nbt|byte|Preload}}


== VILLAGE_[0-9a-f\\-]+_DWELLERS ==
== VILLAGE_[0-9a-f\\-]+_DWELLERS ==
The village dwellers data:
The village dwellers data:
* {{nbt|compound}}: The village dwellers root tag.
* {{MC/Nbt|compound}}: The village dwellers root tag.
** {{nbt|list|Dwellers}}
** {{MC/Nbt|list|Dwellers}}
*** {{nbt|compound}}
*** {{MC/Nbt|compound}}
**** {{nbt|list|actors}}
**** {{MC/Nbt|list|actors}}
***** {{nbt|compound}}
***** {{MC/Nbt|compound}}
****** {{nbt|long|ID}}
****** {{MC/Nbt|long|ID}}
****** {{nbt|list|last_saved_pos}}
****** {{MC/Nbt|list|last_saved_pos}}
******* {{nbt|int}}
******* {{MC/Nbt|int}}
******* {{nbt|int}}
******* {{MC/Nbt|int}}
******* {{nbt|int}}
******* {{MC/Nbt|int}}
****** {{nbt|long|TS}}
****** {{MC/Nbt|long|TS}}


== VILLAGE_[0-9a-f\\-]+_INFO ==
== VILLAGE_[0-9a-f\\-]+_INFO ==
The village info data:
The village info data:
* {{nbt|compound}}: The village info root tag.
* {{MC/Nbt|compound}}: The village info root tag.
** {{nbt|long|BDTime}}
** {{MC/Nbt|long|BDTime}}
** {{nbt|long|GDTime}}
** {{MC/Nbt|long|GDTime}}
** {{nbt|byte|Initialized}}
** {{MC/Nbt|byte|Initialized}}
** {{nbt|long|MTick}}
** {{MC/Nbt|long|MTick}}
** {{nbt|long|PDTick}}
** {{MC/Nbt|long|PDTick}}
** {{nbt|int|RX0}}
** {{MC/Nbt|int|RX0}}
** {{nbt|int|RX1}}
** {{MC/Nbt|int|RX1}}
** {{nbt|int|RY0}}
** {{MC/Nbt|int|RY0}}
** {{nbt|int|RY1}}
** {{MC/Nbt|int|RY1}}
** {{nbt|int|RZ0}}
** {{MC/Nbt|int|RZ0}}
** {{nbt|int|RZ1}}
** {{MC/Nbt|int|RZ1}}
** {{nbt|long|Tick}}
** {{MC/Nbt|long|Tick}}
** {{nbt|byte|Version}}
** {{MC/Nbt|byte|Version}}
** {{nbt|int|X0}}
** {{MC/Nbt|int|X0}}
** {{nbt|int|X1}}
** {{MC/Nbt|int|X1}}
** {{nbt|int|Y0}}
** {{MC/Nbt|int|Y0}}
** {{nbt|int|Y1}}
** {{MC/Nbt|int|Y1}}
** {{nbt|int|Z0}}
** {{MC/Nbt|int|Z0}}
** {{nbt|int|Z1}}
** {{MC/Nbt|int|Z1}}


== VILLAGE_[0-9a-f\\-]+_PLAYERS ==
== VILLAGE_[0-9a-f\\-]+_PLAYERS ==
The village players data:
The village players data:
* {{nbt|compound}}: The village players root tag.
* {{MC/Nbt|compound}}: The village players root tag.
** {{nbt|list|Players}}
** {{MC/Nbt|list|Players}}


== VILLAGE_[0-9a-f\\-]+_POI ==
== VILLAGE_[0-9a-f\\-]+_POI ==
The village POIs data:
The village POIs data:
* {{nbt|compound}}: The village POIs root tag.
* {{MC/Nbt|compound}}: The village POIs root tag.
** {{nbt|list|POI}}
** {{MC/Nbt|list|POI}}
*** {{nbt|compound}}
*** {{MC/Nbt|compound}}
**** {{nbt|list|instances}}
**** {{MC/Nbt|list|instances}}
***** {{nbt|compound}}
***** {{MC/Nbt|compound}}
****** {{nbt|long|Capacity}}
****** {{MC/Nbt|long|Capacity}}
****** {{nbt|string|InitEvent}}
****** {{MC/Nbt|string|InitEvent}}
****** {{nbt|string|Name}}
****** {{MC/Nbt|string|Name}}
****** {{nbt|long|OwnerCount}}
****** {{MC/Nbt|long|OwnerCount}}
****** {{nbt|float|Radius}}
****** {{MC/Nbt|float|Radius}}
****** {{nbt|byte|Skip}}
****** {{MC/Nbt|byte|Skip}}
****** {{nbt|string|SoundEvent}}
****** {{MC/Nbt|string|SoundEvent}}
****** {{nbt|int|Type}}
****** {{MC/Nbt|int|Type}}
****** {{nbt|byte|UseAABB}}
****** {{MC/Nbt|byte|UseAABB}}
****** {{nbt|long|Weight}}
****** {{MC/Nbt|long|Weight}}
****** {{nbt|int|X}}
****** {{MC/Nbt|int|X}}
****** {{nbt|int|Y}}
****** {{MC/Nbt|int|Y}}
****** {{nbt|int|Z}}
****** {{MC/Nbt|int|Z}}
**** {{nbt|long|VillagerID}}
**** {{MC/Nbt|long|VillagerID}}
</div>
</div>


[[Minecraft:pt:Formato de nível da Edição Bedrock/Outros formatos de dados]]
pt:Formato de nível da Edição Bedrock/Outros formatos de dados
[[Minecraft:zh:基岩版存档格式/其他数据格式]]
zh:基岩版存档格式/其他数据格式

Latest revision as of 19:51, 9 April 2026

Script error: No such module "Exclusive". This page lists some additional NBT structures in Template:Editions.

Abilities

NBT structure of players' ability info:

Attribute

NBT structure of an Minecraft:attribute:

Attributes

NBT structure for Minecraft:mobs:

Attribute Modifier

NBT structure of an attribute modifier:

AutonomousEntities

The autonomous entities data:

BiomeData

The Minecraft:biome data:

Block

NBT structure of a Minecraft:block:

Command Block

NBT structure of command block and minecart with command block:

  • Template:Nbt/sprite: Parent tag.
    • Template:Nbt/sprite Command: The command entered into the command block.
    • Template:Nbt/sprite CustomName: The custom name or hover text of this command block.
    • Template:Nbt/sprite ExecuteOnFirstTick: 1 or 0 (true/false) - true if it executes on the first tick once saved or activated.
    • Template:Nbt/sprite LastExecution: Stores the time when a command block was last executed.
    • Template:Nbt/sprite LastOutput: The translation key of the output's last line generated by the command block. Still stored even if the gamerule commandBlockOutput is false. Appears in the command GUI.
    • Template:Nbt/sprite LastOutputParams: The params for the output's translation key.
    • Template:Nbt/sprite SuccessCount: Represents the strength of the analog signal output by redstone comparators attached to this command block.
    • Template:Nbt/sprite TickDelay: The delay between each execution.
    • Template:Nbt/sprite TrackOutput: 1 or 0 (true/false) - true if the LastOutput is stored. Can be toggled in the GUI by clicking a button near the "Previous Output" textbox.
    • Template:Nbt/sprite Version: The data version.

Firework Explosion

NBT structure of firework and firework star:

Limbo entities

The limbo entities data:

Mob Effect

NBT structure of a status effect:

Mob Events

NBT structure of mob events:

  • Template:Nbt/sprite: The mob events root tag.
    • Template:Nbt/sprite events_enabled: 1 or 0 (true/false) - true if the mob events can occur.
    • Template:Nbt/sprite minecraft:ender_dragon_event: 1 or 0 (true/false) - true if the ender dragon can spawn.
    • Template:Nbt/sprite minecraft:pillager_patrols_event: 1 or 0 (true/false) - true if the illager patrol can spawn.
    • Template:Nbt/sprite minecraft:wandering_trader_event: 1 or 0 (true/false) - true if the wandering trader can spawn.

Monster Spawner

NBT structure of a monster spawner:

  1. REDIRECT Template:Info needed

Template:Redr

Players

The players data:

Portals

The portals data:

SchedulerWT

The schedulerWT data:

Scoreboard

NBT structure of scoreboards:

Structuretemplate_<name>

The structure template data:

Tickingarea

The

  1. REDIRECT Template:Command

Template:Redr data:

VILLAGE_[0-9a-f\\-]+_DWELLERS

The village dwellers data:

VILLAGE_[0-9a-f\\-]+_INFO

The village info data:

VILLAGE_[0-9a-f\\-]+_PLAYERS

The village players data:

VILLAGE_[0-9a-f\\-]+_POI

The village POIs data:

pt:Formato de nível da Edição Bedrock/Outros formatos de dados zh:基岩版存档格式/其他数据格式