<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.sasgaming.net/index.php?action=history&amp;feed=atom&amp;title=Minecraft%3ANBT_path</id>
	<title>Minecraft:NBT path - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.sasgaming.net/index.php?action=history&amp;feed=atom&amp;title=Minecraft%3ANBT_path"/>
	<link rel="alternate" type="text/html" href="https://wiki.sasgaming.net/index.php?title=Minecraft:NBT_path&amp;action=history"/>
	<updated>2026-10-23T17:44:14Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.8</generator>
	<entry>
		<id>https://wiki.sasgaming.net/index.php?title=Minecraft:NBT_path&amp;diff=226747&amp;oldid=prev</id>
		<title>SyncBot: Sync: updated from Minecraft</title>
		<link rel="alternate" type="text/html" href="https://wiki.sasgaming.net/index.php?title=Minecraft:NBT_path&amp;diff=226747&amp;oldid=prev"/>
		<updated>2026-10-11T11:08:46Z</updated>

		<summary type="html">&lt;p&gt;Sync: updated from Minecraft&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 11:08, 11 October 2026&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l199&quot;&gt;Line 199:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 199:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;{{HistoryTable&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;{{HistoryTable&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|{{HistoryLine|Java}}&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|{{HistoryLine|Java}}&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;|{{HistoryLine||1.13|dev=17w45b|Added NBT paths. They are used in the {{cmd|data}} command.}}&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|{{HistoryLine||1.20|dev=Pre-release 2|Single quotation marks are now supported in NBT paths.&amp;lt;ref&amp;gt;{{bug|MC-175504||Single quotation marks are not supported in NBT paths.|Fixed}}&amp;lt;/ref&amp;gt;}}&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|{{HistoryLine||1.20|dev=Pre-release 2|Single quotation marks are now supported in NBT paths.&amp;lt;ref&amp;gt;{{bug|MC-175504||Single quotation marks are not supported in NBT paths.|Fixed}}&amp;lt;/ref&amp;gt;}}&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;}}&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;}}&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>SyncBot</name></author>
	</entry>
	<entry>
		<id>https://wiki.sasgaming.net/index.php?title=Minecraft:NBT_path&amp;diff=224855&amp;oldid=prev</id>
		<title>SyncBot: Sync: new page from Minecraft</title>
		<link rel="alternate" type="text/html" href="https://wiki.sasgaming.net/index.php?title=Minecraft:NBT_path&amp;diff=224855&amp;oldid=prev"/>
		<updated>2026-10-07T11:21:00Z</updated>

		<summary type="html">&lt;p&gt;Sync: new page from Minecraft&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{exclusive|java}}&lt;br /&gt;
An &amp;#039;&amp;#039;&amp;#039;NBT path&amp;#039;&amp;#039;&amp;#039; is a descriptive string used to specify one or more particular elements from an [[Minecraft:NBT format|NBT data tree]].&lt;br /&gt;
&lt;br /&gt;
== Usage ==&lt;br /&gt;
The format of an NBT path is &amp;lt;code&amp;gt;node.node.….node&amp;lt;/code&amp;gt;, i.e. one or more nodes represented by {{cd|.}} (dot/period) characters. Dots before some certain nodes (e.g. &amp;lt;code&amp;gt;[]&amp;lt;/code&amp;gt;. See table below) can be omitted. Each node declares what kinds of child tags should be selected from what kinds of current tags. When a node is applied on a tag, one or more child tags in it is selected.&lt;br /&gt;
&lt;br /&gt;
Tags without tag names are aggregated into a collection, which is called a tag collection. The initial tag collection has only one element (the root tag). Each node in an NBT path is applied on the elements in the tag collection to generate a new tag collection. As nodes in the NBT path are applied one by one, the tag collection is constantly changing. After the last node is applied, the tags in the new tag collection are the tags selected by the NBT path.&lt;br /&gt;
&lt;br /&gt;
If there are multiple elements in current tag collection, a node is applied on each element in the tag collection separately, and all the selected child tags are placed into the same new tag collection. For example: for &amp;lt;code&amp;gt;{tag1:1b, tag2:[{foo:0},{foo:[]},{foo:{}}]}&amp;lt;/code&amp;gt;, path &amp;lt;code&amp;gt;tag2&amp;lt;/code&amp;gt; selects only one tag: a list tag &amp;lt;code&amp;gt;[{foo:0},{foo:[]},{foo:{}}]&amp;lt;/code&amp;gt;; Path &amp;lt;code&amp;gt;tag2.[]&amp;lt;/code&amp;gt; selects three tags: three compound tags &amp;lt;code&amp;gt;{foo:0}&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;{foo:[]}&amp;lt;/code&amp;gt;, and &amp;lt;code&amp;gt;{foo:{}}&amp;lt;/code&amp;gt;; If adding another node after this path, the new node is applied on each of these three tags, e.g. path &amp;lt;code&amp;gt;tag2.[].foo&amp;lt;/code&amp;gt; selects three tags: an integer tag &amp;lt;code&amp;gt;0&amp;lt;/code&amp;gt;, a list tag &amp;lt;code&amp;gt;[]&amp;lt;/code&amp;gt;, and a compound tag &amp;lt;code&amp;gt;{}&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Some commands like {{cmd|data get ...}} require the size of the tag collection obtained by the NBT path to be 1, that is, only one tag is selected.&lt;br /&gt;
&lt;br /&gt;
And some commands like {{cmd|data modify ...}} allow the size of the tag collection obtained by the NBT path to be greater than 1, that is, modifying more than one tags at once is allowed.&lt;br /&gt;
&lt;br /&gt;
== Nodes ==&lt;br /&gt;
These are all six types of nodes available. Needed nodes can be used arbitrarily, except the root compound tag node is only applicable as the first element in an NBT path.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; data-description=&amp;quot;nodes&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Description&lt;br /&gt;
! Format&lt;br /&gt;
! When applied on a tag&lt;br /&gt;
! Size of the new tag collection&lt;br /&gt;
! Example&lt;br /&gt;
! Example Description&lt;br /&gt;
|-&lt;br /&gt;
| rowspan=&amp;quot;2&amp;quot;| Root compound tag&lt;br /&gt;
| rowspan=&amp;quot;2&amp;quot;| &amp;lt;code&amp;gt;{&amp;#039;&amp;#039;tags&amp;#039;&amp;#039;}&amp;lt;/code&amp;gt;, where &amp;#039;&amp;#039;tags&amp;#039;&amp;#039; is used to match the content of the root tag (see [[Minecraft:NBT format#Testing NBT tags]]) and can be empty.&lt;br /&gt;
| rowspan=&amp;quot;2&amp;quot;| Selects the root tag, only if it matches the specified content &amp;#039;&amp;#039;tags&amp;#039;&amp;#039; (if given).&lt;br /&gt;
| rowspan=&amp;quot;2&amp;quot;| Only one element (the root compound tag) or empty if matching fails.&lt;br /&gt;
| &amp;lt;code&amp;gt;&amp;#039;&amp;#039;&amp;#039;{Invisible:1b}&amp;#039;&amp;#039;&amp;#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
| Selects the root tag if it has a child tag {{nbt|byte|Invisible}} with value {{cd|1}}. &lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;&amp;#039;&amp;#039;&amp;#039;{}&amp;#039;&amp;#039;&amp;#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
| Selects the root tag. &lt;br /&gt;
|-&lt;br /&gt;
|rowspan=&amp;quot;2&amp;quot;| Named tag in current compound tag&lt;br /&gt;
|rowspan=&amp;quot;2&amp;quot;| {{cd|&amp;#039;&amp;#039;name&amp;#039;&amp;#039;}}, where &amp;#039;&amp;#039;name&amp;#039;&amp;#039; can quoted by &amp;lt;code&amp;gt;&amp;#039;&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;&amp;quot;&amp;lt;/code&amp;gt;.&lt;br /&gt;
|rowspan=&amp;quot;2&amp;quot;| Selects the child tag named &amp;#039;&amp;#039;name&amp;#039;&amp;#039; from the current tag, if the current tag is a compound tag.&lt;br /&gt;
|rowspan=&amp;quot;2&amp;quot;| Less than or equal to the current tag collection. May be empty.&lt;br /&gt;
| &amp;lt;code&amp;gt;&amp;#039;&amp;#039;&amp;#039;VillagerData&amp;#039;&amp;#039;&amp;#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
| Selects the child tag named &amp;lt;samp&amp;gt;VillagerData&amp;lt;/samp&amp;gt;.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;&amp;#039;&amp;#039;&amp;#039;&amp;quot;A cool name[]&amp;quot;&amp;#039;&amp;#039;&amp;#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
| Selects the child tag named &amp;lt;samp&amp;gt;A cool name[]&amp;lt;/samp&amp;gt;.&lt;br /&gt;
|-&lt;br /&gt;
| rowspan=&amp;quot;2&amp;quot;| Named compound tag in current compound tag&lt;br /&gt;
| rowspan=&amp;quot;2&amp;quot;| &amp;lt;code&amp;gt;&amp;#039;&amp;#039;name&amp;#039;&amp;#039;{&amp;#039;&amp;#039;tags&amp;#039;&amp;#039;}&amp;lt;/code&amp;gt;, where &amp;#039;&amp;#039;name&amp;#039;&amp;#039; can quoted by &amp;lt;code&amp;gt;&amp;#039;&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;&amp;quot;&amp;lt;/code&amp;gt;; &amp;#039;&amp;#039;tags&amp;#039;&amp;#039; is used to match the content of the root tag (see [[Minecraft:NBT format#Testing NBT tags]]) and can be empty.&lt;br /&gt;
| rowspan=&amp;quot;2&amp;quot;| Selects the child tag named &amp;#039;&amp;#039;name&amp;#039;&amp;#039; from the current tag, if the current tag is a compound tag, and if the named child tag is a compound tag and matching the specified content &amp;#039;&amp;#039;tags&amp;#039;&amp;#039; (if given).&lt;br /&gt;
| rowspan=&amp;quot;2&amp;quot;| All elements are compound type. Less than or equal to the current tag collection. May be empty.&lt;br /&gt;
| &amp;lt;code&amp;gt;&amp;#039;&amp;#039;&amp;#039;VillagerData{foo:text}&amp;#039;&amp;#039;&amp;#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
| Selects the child tag {{nbt|compound|VillagerData}} only if it has a child tag {{nbt|string|foo}} with value {{cd|text}}.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;&amp;#039;&amp;#039;&amp;#039;VillagerData{}&amp;#039;&amp;#039;&amp;#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
| Selects the child tag {{nbt|compound|VillagerData}} if it is a compound tag.&lt;br /&gt;
|-&lt;br /&gt;
| All elements in current list or array tag&lt;br /&gt;
| {{cd|[]}}&amp;lt;br&amp;gt;Dot before this node can be omitted.&lt;br /&gt;
| Selects all elements of the current tag, if the current tag is a list or array tag.&lt;br /&gt;
| Less than, equal to, or greater than the current tag collection. May be empty.&lt;br /&gt;
| &amp;lt;code&amp;gt;&amp;#039;&amp;#039;&amp;#039;ActiveEffects[]&amp;#039;&amp;#039;&amp;#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
| Select all the elements in the child tag &amp;quot;ActiveEffects&amp;quot;.&lt;br /&gt;
|-&lt;br /&gt;
|rowspan=&amp;quot;2&amp;quot;| Element in current list or array tag&lt;br /&gt;
|rowspan=&amp;quot;2&amp;quot;| {{cd|[&amp;#039;&amp;#039;index&amp;#039;&amp;#039;]}}, where &amp;#039;&amp;#039;index&amp;#039;&amp;#039; is an integer.&amp;lt;br&amp;gt;Dot before this node can be omitted.&lt;br /&gt;
|rowspan=&amp;quot;2&amp;quot;| Selects the element at &amp;#039;&amp;#039;index&amp;#039;&amp;#039; (or &amp;lt;code&amp;gt;listLength + index&amp;lt;/code&amp;gt; when &amp;#039;&amp;#039;index&amp;#039;&amp;#039; is negative) of the current tag, if the current tag is a list or array tag.&lt;br /&gt;
|rowspan=&amp;quot;2&amp;quot;| Less than or equal to the current tag collection. May be empty.&lt;br /&gt;
| &amp;lt;code&amp;gt;&amp;#039;&amp;#039;&amp;#039;Pos.[0]&amp;#039;&amp;#039;&amp;#039;&amp;lt;/code&amp;gt;&amp;lt;br&amp;gt;Or &amp;lt;code&amp;gt;&amp;#039;&amp;#039;&amp;#039;Pos[0]&amp;#039;&amp;#039;&amp;#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
| Selects the first element in the child tag &amp;quot;Pos&amp;quot; list (or array).&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;&amp;#039;&amp;#039;&amp;#039;Inventory.[-1]&amp;#039;&amp;#039;&amp;#039;&amp;lt;/code&amp;gt;&amp;lt;br&amp;gt;Or &amp;lt;code&amp;gt;&amp;#039;&amp;#039;&amp;#039;Inventory[-1]&amp;#039;&amp;#039;&amp;#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
| Selects the last element in the child tag &amp;quot;Inventory&amp;quot; list (or array).&lt;br /&gt;
|-&lt;br /&gt;
|rowspan=&amp;quot;4&amp;quot;| Compound elements in current list&lt;br /&gt;
|rowspan=&amp;quot;4&amp;quot;| &amp;lt;code&amp;gt;[{&amp;#039;&amp;#039;tags&amp;#039;&amp;#039;}]&amp;lt;/code&amp;gt;, where &amp;#039;&amp;#039;tags&amp;#039;&amp;#039; is used to match the content of the root tag (see [[Minecraft:NBT format#Testing NBT tags]]) and can be empty.&amp;lt;br&amp;gt;Dot before this node can be omitted.&lt;br /&gt;
|rowspan=&amp;quot;4&amp;quot;| Selects compound elements that matching the specified content &amp;#039;&amp;#039;tags&amp;#039;&amp;#039; (if given) from the current tags, if the current tag is a list tag.&lt;br /&gt;
|rowspan=&amp;quot;4&amp;quot;| Less than, equal to, or greater than the current tag collection. May be empty.&lt;br /&gt;
| &amp;lt;code&amp;gt;&amp;#039;&amp;#039;&amp;#039;Inventory.[{Count:25b}]&amp;#039;&amp;#039;&amp;#039;&amp;lt;/code&amp;gt;&amp;lt;br&amp;gt;Or &amp;lt;code&amp;gt;&amp;#039;&amp;#039;&amp;#039;Inventory[{Count:25b}]&amp;#039;&amp;#039;&amp;#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
| Selects {{nbt|compound}}compound elements that have a child tag {{nbt|byte|Count}} with value {{cd|25}} from the child tag {{nbt|list|Inventory}}.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;&amp;#039;&amp;#039;&amp;#039;Foo.[{}]&amp;#039;&amp;#039;&amp;#039;&amp;lt;/code&amp;gt;&amp;lt;br&amp;gt;Or &amp;lt;code&amp;gt;&amp;#039;&amp;#039;&amp;#039;Foo[{}]&amp;#039;&amp;#039;&amp;#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
| Selects {{nbt|compound}}compound elements in the child tag {{nbt|list|Foo}}.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;&amp;#039;&amp;#039;&amp;#039;foo.[].[{}]&amp;#039;&amp;#039;&amp;#039;&amp;lt;/code&amp;gt;&amp;lt;br&amp;gt;Or &amp;lt;code&amp;gt;&amp;#039;&amp;#039;&amp;#039;foo.[][{}]&amp;#039;&amp;#039;&amp;#039;&amp;lt;/code&amp;gt;&amp;lt;br&amp;gt;Or &amp;lt;code&amp;gt;&amp;#039;&amp;#039;&amp;#039;foo[].[{}]&amp;#039;&amp;#039;&amp;#039;&amp;lt;/code&amp;gt;&amp;lt;br&amp;gt;Or &amp;lt;code&amp;gt;&amp;#039;&amp;#039;&amp;#039;foo[][{}]&amp;#039;&amp;#039;&amp;#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
| Select {{nbt|compound}}compound elements in the lists in the {{nbt|list|foo}} list.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;&amp;#039;&amp;#039;&amp;#039;foo.bar.[0].[0].baz&amp;#039;&amp;#039;&amp;#039;&amp;lt;/code&amp;gt;Or &amp;lt;code&amp;gt;&amp;#039;&amp;#039;&amp;#039;foo.bar[0][0].baz&amp;#039;&amp;#039;&amp;#039;&amp;lt;/code&amp;gt; etc.&lt;br /&gt;
| Select the baz tag in the first compound element in the first list element in the bar list in the {{nbt|compound|foo}} tag.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Examples ==&lt;br /&gt;
=== Name escaping ===&lt;br /&gt;
Quoted strings, such as &amp;lt;code&amp;gt;&amp;quot;Lorem ipsum&amp;quot;&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;&amp;#039;Lorem ipsum&amp;#039;&amp;lt;/code&amp;gt;, can be used if a tag name needs to be escaped.&lt;br /&gt;
&lt;br /&gt;
=== Mixed path ===&lt;br /&gt;
* &amp;lt;code&amp;gt;{}&amp;lt;/code&amp;gt;—Specifies the root tag&lt;br /&gt;
* &amp;lt;code&amp;gt;{foo:4.0f}&amp;lt;/code&amp;gt;—Specifies the root tag if its children tag &amp;quot;foo&amp;quot; is &amp;lt;code&amp;gt;4.0f&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;foo&amp;lt;/code&amp;gt;—Specifies the tag named &amp;quot;foo&amp;quot; under the root tag&lt;br /&gt;
* &amp;lt;code&amp;gt;foo.bar&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;foo{}.bar&amp;lt;/code&amp;gt;—Specifies the children tag named &amp;quot;bar&amp;quot; under the foo tag (should be a compound)&lt;br /&gt;
* &amp;lt;code&amp;gt;foo.bar[0]&amp;lt;/code&amp;gt;—Specifies the first element of the &amp;quot;bar&amp;quot; tag (should be a list or array)&lt;br /&gt;
* &amp;lt;code&amp;gt;foo.bar[-1]&amp;lt;/code&amp;gt;—Specifies the last element of the &amp;quot;bar&amp;quot; tag (should be a list or array)&lt;br /&gt;
* &amp;lt;code&amp;gt;foo.bar[0].&amp;quot;A [crazy name]!&amp;quot;&amp;lt;/code&amp;gt;—Specifies the children tag named &amp;quot;A [crazy name]!&amp;quot; under that first element (should be a compound)&lt;br /&gt;
* &amp;lt;code&amp;gt;foo.bar[0].&amp;quot;A [crazy name]!&amp;quot;.baz&amp;lt;/code&amp;gt;—Specifies the children tag named &amp;quot;baz&amp;quot; under that crazily named tag (should be a compound)&lt;br /&gt;
* &amp;lt;code&amp;gt;foo.bar[]&amp;lt;/code&amp;gt;—Specifies all elements of the &amp;quot;bar&amp;quot; tag (should be a list or array)&lt;br /&gt;
* &amp;lt;code&amp;gt;foo.bar[].baz&amp;lt;/code&amp;gt;—Specifies the children tags named &amp;quot;baz&amp;quot; under all elements  (should be compounds) of the &amp;quot;bar&amp;quot; tag  (should be a list)&lt;br /&gt;
* &amp;lt;code&amp;gt;foo.bar[{baz:5b}]&amp;lt;/code&amp;gt;—Specifies all elements (should be compounds) of the &amp;quot;bar&amp;quot; tag (should be a list), in which the &amp;quot;baz&amp;quot; tags are &amp;lt;code&amp;gt;5b&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;foo{bar:&amp;quot;baz&amp;quot;}&amp;lt;/code&amp;gt;—Specifies the &amp;quot;foo&amp;quot; tag (should be a compound) if its children tag &amp;quot;bar&amp;quot; has the value &amp;lt;code&amp;gt;&amp;quot;baz&amp;quot;&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;foo{bar:&amp;quot;baz&amp;quot;}.bar&amp;lt;/code&amp;gt;—Specifies the &amp;quot;bar&amp;quot; tag under &amp;quot;foo&amp;quot; (should be a compound), only if it matches the value &amp;lt;code&amp;gt;&amp;quot;baz&amp;quot;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Example 1 ===&lt;br /&gt;
&amp;lt;code&amp;gt;/data get entity @p foo.bar[0].&amp;quot;A [crazy name]!&amp;quot;.baz&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*&amp;lt;code&amp;gt;foo&amp;lt;/code&amp;gt;—Specifies the tag named &amp;quot;foo&amp;quot; under the root tag.&lt;br /&gt;
* &amp;lt;code&amp;gt;foo.bar&amp;lt;/code&amp;gt;—Specifies the child tag named &amp;quot;bar&amp;quot; under the foo tag (should be a compound)&lt;br /&gt;
* &amp;lt;code&amp;gt;foo.bar[0]&amp;lt;/code&amp;gt;—Specifies the first element of the &amp;quot;bar&amp;quot; (should be a list or array)&lt;br /&gt;
* &amp;lt;code&amp;gt;foo.bar[0].&amp;quot;A [crazy name]!&amp;quot;&amp;lt;/code&amp;gt;—Specifies the child tag named &amp;quot;A [crazy name]!&amp;quot; under that first element (should be a compound)&lt;br /&gt;
* &amp;lt;code&amp;gt;foo.bar[0].&amp;quot;A [crazy name]!&amp;quot;.baz&amp;lt;/code&amp;gt;—Specifies the child named &amp;quot;baz&amp;quot; under that crazily named tag (should be a compound)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;collapsible collapsed collapsetoggle-inline&amp;quot; data-expandtext=&amp;quot;show&amp;quot; data-collapsetext=&amp;quot;hide&amp;quot;&amp;gt;&lt;br /&gt;
The tree structure&lt;br /&gt;
&amp;lt;div class=&amp;quot;collapsible-content treeview&amp;quot;&amp;gt;&lt;br /&gt;
* {{nbt|compound}} The root entity data&lt;br /&gt;
** {{nbt|compound|foo}}: The &amp;quot;foo&amp;quot; tag&lt;br /&gt;
*** {{nbt|list|bar}}: The &amp;quot;bar&amp;quot; tag&lt;br /&gt;
**** {{nbt|compound}} The first element of the list &amp;quot;bar&amp;quot;&lt;br /&gt;
***** {{nbt|compound|A &amp;lt;nowiki&amp;gt;[&amp;lt;/nowiki&amp;gt;crazy name&amp;lt;nowiki&amp;gt;]&amp;lt;/nowiki&amp;gt;!}}: The &amp;quot;A [crazy name]!&amp;quot; tag&lt;br /&gt;
****** {{nbt|byte|baz}}: The &amp;quot;baz&amp;quot; tag; the target tag of this example.&lt;br /&gt;
**** {{nbt|compound}} Another unrelated element in the list &amp;quot;bar&amp;quot;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Example 2 ===&lt;br /&gt;
&amp;lt;code&amp;gt;/data get block ~ ~ ~ Items[1].components.minecraft:written_book_content.pages[3].raw&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
A player has written a book and placed it inside a chest, and Alex is going to work up to the above command in stages. Observe the following imaginary chat log:&lt;br /&gt;
&lt;br /&gt;
: {| class=&amp;quot;collapsible collapsed collapse-button-none&amp;quot; data-description=&amp;quot;bookInAChest_example&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;text-align:left&amp;quot; | Chat log&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;pre&amp;lt;!--html pre--&amp;gt; style=&amp;quot;background-color:#0007;color:#FBFBFB;font-family:Minecraft,Unifont,sans-serif;&amp;quot; class=&amp;quot;format-f&amp;quot;&amp;gt;&lt;br /&gt;
&amp;#039;&amp;#039;* Alex jumps on top of a chest.&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;* Alex runs the command:&amp;#039;&amp;#039; /data get block &amp;lt;span class=&amp;quot;format-3&amp;quot;&amp;gt;~ ~ ~&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
0 55 0 has the following block data: {{snbt|&amp;lt;nowiki&amp;gt;{x: 0, y: 55, z: 0, Items: [{Slot: 0b, id: &amp;quot;minecraft:clock&amp;quot;, count: 1}, {Slot: 9b, id: &amp;quot;minecraft:written_book&amp;quot;, count: 1, components: {&amp;quot;minecraft:written_book_content&amp;quot;: {pages: [{raw: &amp;#039;&amp;quot;twas brillig and the slithy toves&amp;quot;&amp;#039;}, {raw: &amp;#039;&amp;quot;Did gyre and gimble in the wabe.&amp;quot;&amp;#039;}, {raw: &amp;#039;&amp;quot;All mimsy were the borogoves&amp;quot;&amp;#039;}, {raw: &amp;#039;&amp;quot;And the mome raths outgrabe.&amp;quot;&amp;#039;}], author: &amp;quot;LewisCarroll&amp;quot;, title: {raw: &amp;quot;Jabberwocky&amp;quot;}, resoveled: 1b}}}], id: &amp;quot;minecraft:chest&amp;quot;}&amp;lt;/nowiki&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;* Alex only wants to look at the chest&amp;#039;s inventory. They could [{{fullurl:Special:Search/chest|fulltext=1}} search the Minecraft Wiki] for what the [[Minecraft:Chest#Block entity|name of that tag]] is, but because they understand how to read [[Minecraft:NBT format|SNBT]], they decide to figure it out from the command&amp;#039;s output.&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;* Alex runs the command:&amp;#039;&amp;#039; /data get block &amp;lt;span class=&amp;quot;format-3&amp;quot;&amp;gt;~ ~ ~&amp;lt;/span&amp;gt; &amp;lt;span class=&amp;quot;format-6&amp;quot;&amp;gt;Items&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
0 55 0 has the following block data: &amp;lt;span class=&amp;quot;format-7&amp;quot;&amp;gt;&amp;#039;&amp;#039;{x: 0, y: 55, z: 0, Items: &amp;#039;&amp;#039;&amp;lt;/span&amp;gt;{{snbt|&amp;lt;nowiki&amp;gt;[{Slot: 0b, id: &amp;quot;minecraft:clock&amp;quot;, count: 1}, {Slot: 9b, id: &amp;quot;minecraft:written_book&amp;quot;, count: 1, components: {&amp;quot;minecraft:written_book_content&amp;quot;: {pages: [{raw: &amp;#039;&amp;quot;twas brillig and the slithy toves&amp;quot;&amp;#039;}, {raw: &amp;#039;&amp;quot;Did gyre and gimble in the wabe.&amp;quot;&amp;#039;}, {raw: &amp;#039;&amp;quot;All mimsy were the borogoves&amp;quot;&amp;#039;}, {raw: &amp;#039;&amp;quot;And the mome raths outgrabe.&amp;quot;&amp;#039;}], author: &amp;quot;LewisCarroll&amp;quot;, title: {raw: &amp;quot;Jabberwocky&amp;quot;}, resoveled: 1b}}}]&amp;lt;/nowiki&amp;gt;}}&amp;lt;span class=&amp;quot;format-7&amp;quot;&amp;gt;&amp;#039;&amp;#039;, id: &amp;quot;minecraft:chest&amp;quot;}&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;* Alex wants to narrow this down to the second item in the chest. Counting from 0, the second item would be element 1.&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;* Alex runs the command:&amp;#039;&amp;#039; /data get block &amp;lt;span class=&amp;quot;format-3&amp;quot;&amp;gt;~ ~ ~&amp;lt;/span&amp;gt; &amp;lt;span class=&amp;quot;format-6&amp;quot;&amp;gt;Items[1]&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
0 55 0 has the following block data: &amp;lt;span class=&amp;quot;format-7&amp;quot;&amp;gt;&amp;#039;&amp;#039;{x: 0, y: 55, z: 0, Items: [{Slot: 0b, id: &amp;quot;minecraft:clock&amp;quot;, count: 1}, &amp;#039;&amp;#039;&amp;lt;/span&amp;gt;{{snbt|&amp;lt;nowiki&amp;gt;{Slot: 9b, id: &amp;quot;minecraft:written_book&amp;quot;, count: 1, components: {&amp;quot;minecraft:written_book_content&amp;quot;: {pages: [{raw: &amp;#039;&amp;quot;twas brillig and the slithy toves&amp;quot;&amp;#039;}, {raw: &amp;#039;&amp;quot;Did gyre and gimble in the wabe.&amp;quot;&amp;#039;}, {raw: &amp;#039;&amp;quot;All mimsy were the borogoves&amp;quot;&amp;#039;}, {raw: &amp;#039;&amp;quot;And the mome raths outgrabe.&amp;quot;&amp;#039;}], author: &amp;quot;LewisCarroll&amp;quot;, title: {raw: &amp;quot;Jabberwocky&amp;quot;}, resoveled: 1b}}}&amp;lt;/nowiki&amp;gt;}}&amp;lt;span class=&amp;quot;format-7&amp;quot;&amp;gt;&amp;#039;&amp;#039;], id: &amp;quot;minecraft:chest&amp;quot;}&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;* Alex wants just the &amp;quot;components&amp;quot; tag.&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;* Alex runs the command:&amp;#039;&amp;#039; /data get block &amp;lt;span class=&amp;quot;format-3&amp;quot;&amp;gt;~ ~ ~&amp;lt;/span&amp;gt; &amp;lt;span class=&amp;quot;format-6&amp;quot;&amp;gt;Items[1].components&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
0 55 0 has the following block data: &amp;lt;span class=&amp;quot;format-7&amp;quot;&amp;gt;&amp;#039;&amp;#039;{x: 0, y: 55, z: 0, Items: [{Slot: 0b, id: &amp;quot;minecraft:clock&amp;quot;, count: 1}, {Slot: 9b, id: &amp;quot;minecraft:written_book&amp;quot;, count: 1, components: &amp;#039;&amp;#039;&amp;lt;/span&amp;gt;{{snbt|&amp;lt;nowiki&amp;gt;{&amp;quot;minecraft:written_book_content&amp;quot;: {pages: [{raw: &amp;#039;&amp;quot;twas brillig and the slithy toves&amp;quot;&amp;#039;}, {raw: &amp;#039;&amp;quot;Did gyre and gimble in the wabe.&amp;quot;&amp;#039;}, {raw: &amp;#039;&amp;quot;All mimsy were the borogoves&amp;quot;&amp;#039;}, {raw: &amp;#039;&amp;quot;And the mome raths outgrabe.&amp;quot;&amp;#039;}], author: &amp;quot;LewisCarroll&amp;quot;, title: {raw: &amp;quot;Jabberwocky&amp;quot;}, resoveled: 1b}}&amp;lt;/nowiki&amp;gt;}}&amp;lt;span class=&amp;quot;format-7&amp;quot;&amp;gt;&amp;#039;&amp;#039;}], id: &amp;quot;minecraft:chest&amp;quot;}&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;* Alex wants just the &amp;quot;pages&amp;quot; tag.&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;* Alex runs the command:&amp;#039;&amp;#039; /data get block &amp;lt;span class=&amp;quot;format-3&amp;quot;&amp;gt;~ ~ ~&amp;lt;/span&amp;gt; &amp;lt;span class=&amp;quot;format-6&amp;quot; style=&amp;quot;line-break: anywhere;&amp;quot;&amp;gt;Items[1].components.minecraft:written_book_content.pages&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
0 55 0 has the following block data: &amp;lt;span class=&amp;quot;format-7&amp;quot;&amp;gt;&amp;#039;&amp;#039;{x: 0, y: 55, z: 0, Items: [{Slot: 0b, id: &amp;quot;minecraft:clock&amp;quot;, count: 1}, {Slot: 9b, id: &amp;quot;minecraft:written_book&amp;quot;, count: 1, components: {&amp;quot;minecraft:written_book_content&amp;quot;: {pages: &amp;#039;&amp;#039;&amp;lt;/span&amp;gt;{{snbt|&amp;lt;nowiki&amp;gt;[{raw: &amp;#039;&amp;quot;twas brillig and the slithy toves&amp;quot;&amp;#039;}, {raw: &amp;#039;&amp;quot;Did gyre and gimble in the wabe.&amp;quot;&amp;#039;}, {raw: &amp;#039;&amp;quot;All mimsy were the borogoves&amp;quot;&amp;#039;}, {raw: &amp;#039;&amp;quot;And the mome raths outgrabe.&amp;quot;&amp;#039;}]&amp;lt;/nowiki&amp;gt;}}&amp;lt;span class=&amp;quot;format-7&amp;quot;&amp;gt;&amp;#039;&amp;#039;, author: &amp;quot;LewisCarroll&amp;quot;, title: {raw: &amp;quot;Jabberwocky&amp;quot;}, resoveled: 1b&amp;lt;nowiki&amp;gt;}}}&amp;lt;/nowiki&amp;gt;], id: &amp;quot;minecraft:chest&amp;quot;}&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;* Alex wants just the fourth element from this list.&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;* Alex runs the command:&amp;#039;&amp;#039; /data get block &amp;lt;span class=&amp;quot;format-3&amp;quot;&amp;gt;~ ~ ~&amp;lt;/span&amp;gt; &amp;lt;span class=&amp;quot;format-6&amp;quot; style=&amp;quot;line-break: anywhere;&amp;quot;&amp;gt;Items[1].components.minecraft:written_book_content.pages[3]&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 0 55 0 has the following block data: &amp;lt;span class=&amp;quot;format-7&amp;quot;&amp;gt;&amp;#039;&amp;#039;{x: 0, y: 55, z: 0, Items: [{Slot: 0b, id: &amp;quot;minecraft:clock&amp;quot;, count: 1}, {Slot: 9b, id: &amp;quot;minecraft:written_book&amp;quot;, count: 1, components: {&amp;quot;minecraft:written_book_content&amp;quot;: {pages: [{raw: &amp;#039;&amp;quot;twas brillig and the slithy toves&amp;quot;&amp;#039;}, {raw: &amp;#039;&amp;quot;Did gyre and gimble in the wabe.&amp;quot;&amp;#039;}, {raw: &amp;#039;&amp;quot;All mimsy were the borogoves&amp;quot;&amp;#039;}, &amp;#039;&amp;#039;&amp;lt;/span&amp;gt;{{snbt|&amp;lt;nowiki&amp;gt;{raw: &amp;#039;&amp;quot;And the mome raths outgrabe.&amp;quot;&amp;#039;}&amp;lt;/nowiki&amp;gt;}}&amp;lt;span class=&amp;quot;format-7&amp;quot;&amp;gt;&amp;#039;&amp;#039;], author: &amp;quot;LewisCarroll&amp;quot;, title: {raw: &amp;quot;Jabberwocky&amp;quot;}, resoveled: 1b&amp;lt;nowiki&amp;gt;}}}&amp;lt;/nowiki&amp;gt;], id: &amp;quot;minecraft:chest&amp;quot;}&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;* Alex wants just the raw text in it.&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;* Alex runs the command:&amp;#039;&amp;#039; /data get block &amp;lt;span class=&amp;quot;format-3&amp;quot;&amp;gt;~ ~ ~&amp;lt;/span&amp;gt; &amp;lt;span class=&amp;quot;format-6&amp;quot; style=&amp;quot;line-break: anywhere;&amp;quot;&amp;gt;Items[1].components.minecraft:written_book_content.pages[3].raw&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 0 55 0 has the following block data: &amp;lt;span class=&amp;quot;format-7&amp;quot;&amp;gt;&amp;#039;&amp;#039;{x: 0, y: 55, z: 0, Items: [{Slot: 0b, id: &amp;quot;minecraft:clock&amp;quot;, count: 1}, {Slot: 9b, id: &amp;quot;minecraft:written_book&amp;quot;, count: 1, components: {&amp;quot;minecraft:written_book_content&amp;quot;: {pages: [{raw: &amp;#039;&amp;quot;twas brillig and the slithy toves&amp;quot;&amp;#039;}, {raw: &amp;#039;&amp;quot;Did gyre and gimble in the wabe.&amp;quot;&amp;#039;}, {raw: &amp;#039;&amp;quot;All mimsy were the borogoves&amp;quot;&amp;#039;}, {raw: &amp;#039;&amp;#039;&amp;lt;/span&amp;gt;{{snbt|&amp;lt;nowiki&amp;gt;&amp;#039;&amp;quot;And the mome raths outgrabe.&amp;quot;&amp;#039;&amp;lt;/nowiki&amp;gt;}}&amp;lt;span class=&amp;quot;format-7&amp;quot;&amp;gt;&amp;#039;&amp;#039;}], author: &amp;quot;LewisCarroll&amp;quot;, title: {raw: &amp;quot;Jabberwocky&amp;quot;}, resoveled: 1b&amp;lt;nowiki&amp;gt;}}}&amp;lt;/nowiki&amp;gt;], id: &amp;quot;minecraft:chest&amp;quot;}&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;* Alex has what they need now, and uses the paths they have gathered to edit the book from outside the chest.&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;* Alex runs the command:&amp;#039;&amp;#039; /data modify block &amp;lt;span class=&amp;quot;format-3&amp;quot;&amp;gt;~ ~ ~&amp;lt;/span&amp;gt; &amp;lt;span class=&amp;quot;format-6&amp;quot; style=&amp;quot;line-break: anywhere;&amp;quot;&amp;gt;Items[1].components.minecraft:written_book_content.pages[3].raw&amp;lt;/span&amp;gt; set value &amp;lt;span class=&amp;quot;format-5&amp;quot;&amp;gt;&amp;#039;&amp;quot;And this pig here\&amp;#039;s named Babe.&amp;quot;&amp;#039;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Modified block data of 0 55 0&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;* Alex runs the command:&amp;#039;&amp;#039;&amp;#039; /data modify block &amp;lt;span class=&amp;quot;format-3&amp;quot;&amp;gt;~ ~ ~&amp;lt;/span&amp;gt; &amp;lt;span class=&amp;quot;format-6&amp;quot; style=&amp;quot;line-break: anywhere;&amp;quot;&amp;gt;Items[1].components.minecraft:written_book_content.pages&amp;lt;/span&amp;gt; prepend value &amp;lt;span class=&amp;quot;format-5&amp;quot;&amp;gt;{raw: &amp;#039;&amp;quot;Call me Ishmael.&amp;quot;&amp;#039;}&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Modified block data of 0 55 0&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;* Alex runs the command:&amp;#039;&amp;#039; /data modify block &amp;lt;span class=&amp;quot;format-3&amp;quot;&amp;gt;~ ~ ~&amp;lt;/span&amp;gt; &amp;lt;span class=&amp;quot;format-6&amp;quot; style=&amp;quot;line-break: anywhere;&amp;quot;&amp;gt;Items[1].components.minecraft:written_book_content.author&amp;lt;/span&amp;gt; set value &amp;lt;span class=&amp;quot;format-5&amp;quot;&amp;gt;&amp;quot;Cthulhu the Sleeper&amp;quot;&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;lt;!--html pre--&amp;gt;&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== History ==&lt;br /&gt;
{{stub|section=1}}&lt;br /&gt;
{{HistoryTable&lt;br /&gt;
|{{HistoryLine|Java}}&lt;br /&gt;
|{{HistoryLine||1.20|dev=Pre-release 2|Single quotation marks are now supported in NBT paths.&amp;lt;ref&amp;gt;{{bug|MC-175504||Single quotation marks are not supported in NBT paths.|Fixed}}&amp;lt;/ref&amp;gt;}}&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
{{Reflist}}&lt;br /&gt;
&lt;br /&gt;
== Navigation ==&lt;br /&gt;
{{Navbox Java Edition}}&lt;br /&gt;
&lt;br /&gt;
[[Minecraft:ja:NBTパスフォーマット]]&lt;br /&gt;
[[Minecraft:pt:Formato de caminho NBT]]&lt;br /&gt;
[[Minecraft:zh:NBT路径]]&lt;/div&gt;</summary>
		<author><name>SyncBot</name></author>
	</entry>
</feed>