| 1 |
---input--- |
| 2 |
# execute as @e[nbt={ Item: {id: "minecraft:diamond", Count: 64 } }] run |
| 3 |
# setblock ~ ~ ~ minecraft:dispenser[facing=up]{Items: [{id: "minecraft:diamond", Count: 1}]} |
| 4 |
# tellraw @a [{"text": "hello", "color": "blue"}, {"text": "world", "color": "blue"}] |
| 5 |
|
| 6 |
execute as @a[advancements={minecraft:story/form_obsidian={foo=true, bar=false},minecraft:story/follow_ender_eye={foo=false, bar=true}}] run |
| 7 |
|
| 8 |
---tokens--- |
| 9 |
'# execute as @e[nbt={ Item: {id: "minecraft:diamond", Count: 64 } }] run' Comment.Single |
| 10 |
'\n' Text.Whitespace |
| 11 |
|
| 12 |
'# setblock ~ ~ ~ minecraft:dispenser[facing=up]{Items: [{id: "minecraft:diamond", Count: 1}]}' Comment.Single |
| 13 |
'\n' Text.Whitespace |
| 14 |
|
| 15 |
'# tellraw @a [{"text": "hello", "color": "blue"}, {"text": "world", "color": "blue"}]' Comment.Single |
| 16 |
'\n\n' Text.Whitespace |
| 17 |
|
| 18 |
'execute' Name.Builtin |
| 19 |
' ' Text.Whitespace |
| 20 |
'as' Keyword.Constant |
| 21 |
' ' Text.Whitespace |
| 22 |
'@a' Name.Variable |
| 23 |
'[' Punctuation |
| 24 |
'advancements' Name.Attribute |
| 25 |
'=' Punctuation |
| 26 |
'{' Punctuation |
| 27 |
'minecraft:story/form_obsidian' Name.Attribute |
| 28 |
'=' Punctuation |
| 29 |
'{' Punctuation |
| 30 |
'foo' Name.Attribute |
| 31 |
'=' Punctuation |
| 32 |
'true' Name.Tag |
| 33 |
',' Punctuation |
| 34 |
' ' Text.Whitespace |
| 35 |
'bar' Name.Attribute |
| 36 |
'=' Punctuation |
| 37 |
'false' Name.Tag |
| 38 |
'}' Punctuation |
| 39 |
',' Punctuation |
| 40 |
'minecraft:story/follow_ender_eye' Name.Attribute |
| 41 |
'=' Punctuation |
| 42 |
'{' Punctuation |
| 43 |
'foo' Name.Attribute |
| 44 |
'=' Punctuation |
| 45 |
'false' Name.Tag |
| 46 |
',' Punctuation |
| 47 |
' ' Text.Whitespace |
| 48 |
'bar' Name.Attribute |
| 49 |
'=' Punctuation |
| 50 |
'true' Name.Tag |
| 51 |
'}' Punctuation |
| 52 |
'}' Punctuation |
| 53 |
']' Punctuation |
| 54 |
' ' Text.Whitespace |
| 55 |
'run' Keyword.Constant |
| 56 |
'\n' Text.Whitespace |