-
Notifications
You must be signed in to change notification settings - Fork 0
/
mcfunction.xml
1964 lines (1865 loc) · 98.8 KB
/
mcfunction.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE language
[
<!ENTITY float "(?:-?\d+\.?\d*|-?\.\d+)">
<!ENTITY coord "(?:~?&float;|~)"> <!--relative or absolute coordinate-->
<!ENTITY exp "(?:[Ee][+-]?\d+)"> <!--float exponent-->
<!ENTITY atsel "@[aeprs]"> <!--@ selector-->
<!ENTITY w "\w\.+-"> <!--word string character-->
<!ENTITY wstr "[&w;]+"> <!--word string-->
<!ENTITY wend "(?:[^&w;]|$)"> <!--word string end-->
<!ENTITY wendla "(?=[^&w;]|$)"> <!--word string end lookahead-->
<!-- resource locations -->
<!ENTITY namesp "[0-9a-z_\.-]+"> <!--namespace-->
<!ENTITY resname "[0-9a-z_\.-]+"> <!--file or dir name-->
<!ENTITY respath "&resname;(?:/&resname;)*"> <!--path-->
<!ENTITY resloc "&namesp;:&respath;"> <!--full resource location-->
]>
<language name="Minecraft Function" version="2" kateversion="5.0" section="Scripts" extensions="*.mcfunction">
<highlighting>
<list name="command">
<!--<item>help</item>-->
<item>execute</item>
<item>datapack</item>
<item>reload</item>
<item>function</item>
<item>schedule</item>
<item>data</item>
<item>advancement</item>
<item>recipe</item>
<item>defaultgamemode</item>
<item>difficulty</item>
<item>gamerule</item>
<item>gamemode</item>
<item>forceload</item>
<item>give</item>
<item>clear</item>
<item>experience</item>
<item>xp</item>
<item>loot</item>
<item>enchant</item>
<item>particle</item>
<item>playsound</item>
<item>stopsound</item>
<item>say</item>
<item>me</item>
<item>tm</item>
<item>tell</item>
<item>msg</item>
<item>w</item>
<item>tellraw</item>
<item>scoreboard</item>
<item>trigger</item>
<item>bossbar</item>
<item>title</item>
<item>setblock</item>
<item>fill</item>
<item>fillbiome</item>
<item>clone</item>
<item>setworldspawn</item>
<item>spawnpoint</item>
<item>spreadplayers</item>
<item>spectate</item>
<item>summon</item>
<item>kill</item>
<item>teleport</item>
<item>tp</item>
<item>effect</item>
<item>tag</item>
<item>team</item>
<item>time</item>
<item>weather</item>
<item>worldborder</item>
<item>seed</item>
<!--removed 1.17-->
<item>replaceitem</item>
<!--1.16-->
<item>attribute</item>
<!--removed 1.19-->
<item>locatebiome</item>
<!--1.17-->
<item>item</item>
<!--1.18-->
<!--removed 1.19-->
<item>placefeature</item>
<!--1.19-->
<item>place</item>
<item>locate</item>
<!--1.19.4-->
<item>damage</item>
<item>ride</item>
<!--1.20-->
<item>return</item>
</list>
<list name="execute subcommand">
<item>run</item>
<item>if</item>
<item>unless</item>
<item>store</item>
<item>as</item>
<item>at</item>
<item>anchored</item>
<item>align</item>
<item>positioned</item>
<item>rotated</item>
<item>facing</item>
<item>in</item>
<!--1.19.4-->
<item>on</item>
<item>summon</item>
</list>
<list name="data type">
<item>byte</item>
<item>short</item>
<item>int</item>
<item>long</item>
<item>double</item>
<item>float</item>
</list>
<list name="boolean gamerule">
<item>commandBlockOutput</item>
<item>sendCommandFeedback</item>
<item>logAdminCommands</item>
<item>showDeathMessages</item>
<item>announceAdvancements</item>
<item>reducedDebugInfo</item>
<item>globalSoundEvents</item>
<item>doDaylightCycle</item>
<item>doWeatherCycle</item>
<item>doFireTick</item>
<item>doVinesSpread</item>
<item>lavaSourceConversion</item>
<item>waterSourceConversion</item>
<item>doMobSpawning</item>
<item>doPatrolSpawning</item>
<item>doTraderSpawning</item>
<item>doWardenSpawning</item>
<item>disableRaids</item>
<item>doInsomnia</item>
<item>mobGriefing</item>
<item>blockExplosionDropDecay</item>
<item>mobExplosionDropDecay</item>
<item>tntExplosionDropDecay</item>
<item>doTileDrops</item>
<item>doEntityDrops</item>
<item>doMobLoot</item>
<item>naturalRegeneration</item>
<item>drowningDamage</item>
<item>fallDamage</item>
<item>fireDamage</item>
<item>freezeDamage</item>
<item>keepInventory</item>
<item>doImmediateRespawn</item>
<item>forgiveDeadPlayers</item>
<item>universalAnger</item>
<item>doLimitedCrafting</item>
<item>spectatorsGenerateChunks</item>
<item>disableElytraMovementCheck</item>
</list>
<list name="integer gamerule">
<item>maxCommandChainLength</item>
<item>randomTickSpeed</item>
<item>snowAccumulationHeight</item>
<item>maxEntityCramming</item>
<item>spawnRadius</item>
<item>playersSleepingPercentage</item>
</list>
<list name="gamemode">
<item>creative</item>
<item>survival</item>
<item>adventure</item>
<item>spectator</item>
</list>
<list name="difficulty">
<item>peaceful</item>
<item>easy</item>
<item>normal</item>
<item>hard</item>
</list>
<list name="status effect">
<item>speed</item>
<item>slowness</item>
<item>haste</item>
<item>mining_fatigue</item>
<item>strength</item>
<item>instant_health</item>
<item>instant_damage</item>
<item>jump_boost</item>
<item>nausea</item>
<item>regeneration</item>
<item>resistance</item>
<item>fire_resistance</item>
<item>water_breathing</item>
<item>invisibility</item>
<item>blindness</item>
<item>night_vision</item>
<item>hunger</item>
<item>weakness</item>
<item>poison</item>
<item>wither</item>
<item>health_boost</item>
<item>absorption</item>
<item>saturation</item>
<!--1.9-->
<item>glowing</item>
<item>levitation</item>
<item>luck</item>
<item>unluck</item>
<!--1.13-->
<item>slow_falling</item>
<item>conduit_power</item>
<item>dolphins_grace</item>
<!--1.14-->
<item>bad_omen</item>
<item>hero_of_the_village</item>
<!--1.19-->
<item>darkness</item>
</list>
<list name="selector argument">
<item>advancements</item>
<item>distance</item>
<item>gamemode</item>
<item>level</item>
<item>limit</item>
<item>name</item>
<item>nbt</item>
<item>predicate</item>
<item>scores</item>
<item>sort</item>
<item>tag</item>
<item>team</item>
<item>type</item>
<item>x</item>
<item>y</item>
<item>z</item>
<item>dx</item>
<item>dy</item>
<item>dz</item>
<item>x_rotation</item>
<item>y_rotation</item>
</list>
<!--list name="block state">
<item>axis</item>
<item>attachment</item>
<item>face</item>
<item>facing</item>
<item>half</item>
<item>hinge</item>
<item>rotation</item>
<item>orientation</item>
<item>down</item>
<item>up</item>
<item>north</item>
<item>south</item>
<item>east</item>
<item>west</item>
<item>open</item>
<item>age</item>
<item>bites</item>
<item>conditional</item>
<item>distance</item>
<item>drag</item>
<item>enabled</item>
<item>extended</item>
<item>eye</item>
<item>hanging</item>
<item>has_book</item>
<item>has_bottle_0</item>
<item>has_bottle_1</item>
<item>has_bottle_2</item>
<item>has_record</item>
<item>honey_level</item>
<item>in_wall</item>
<item>instrument</item>
<item>inverted</item>
<item>leaves</item>
<item>level</item>
<item>lit</item>
<item>locked</item>
<item>mode</item>
<item>moisture</item>
<item>note</item>
<item>occupied</item>
<item>part</item>
<item>persistent</item>
<item>power</item>
<item>powered</item>
<item>signal_fire</item>
<item>snowy</item>
<item>stage</item>
<item>triggered</item>
<item>type</item>
<item>waterlogged</item>
</list-->
<list name="direction">
<item>up</item>
<item>down</item>
<item>top</item>
<item>bottom</item>
<item>north</item>
<item>south</item>
<item>east</item>
<item>west</item>
</list>
<list name="scoreboard criteria">
<item>dummy</item>
<item>trigger</item>
<item>health</item>
<item>food</item>
<item>armor</item>
<item>xp</item>
<item>level</item>
<item>air</item>
<item>deathCount</item>
<item>totalKillCount</item>
<item>playerKillCount</item>
</list>
<contexts>
<context name="Begin" fallthroughContext="Error" lineEndContext="#pop">
<DetectSpaces attribute="Normal" column="0"/>
<DetectChar attribute="Comment" context="Comment" firstNonSpace="true" char="#"/>
<RegExpr context="Command Start" firstNonSpace="true" lookAhead="true" String="\w"/>
</context>
<context name="Command Start" attribute="Error" lineEndContext="#pop">
<IncludeRules context="Global"/>
<!--zero-argument commands-->
<WordDetect attribute="Control Flow" context="Space then Integer at End" String="return"/>
<WordDetect attribute="Command" context="End" String="seed"/>
<WordDetect attribute="Command" context="End" String="reload"/>
<!--all other commands-->
<keyword attribute="Command" context="#pop!Command Space" String="command"/>
<RegExpr attribute="Unrecognized Command" context="#pop!Generic Command" String="&wstr;(?= |$)"/>
</context>
<context name="Command Space" fallthroughContext="#pop!Generic Command" lineEndContext="#pop">
<IncludeRules context="Global"/>
<!--core-->
<RegExpr attribute="Normal" context="#pop!Execute Command" String="(?<=\bexecute) "/>
<RegExpr attribute="Normal" context="#pop!Function Command" String="(?<=\bfunction) "/>
<RegExpr attribute="Normal" context="#pop!Schedule Command" String="(?<=\bschedule) "/>
<RegExpr attribute="Normal" context="#pop!Data Command" String="(?<=\bdata) "/>
<RegExpr attribute="Normal" context="#pop!Item Command" String="(?<=\bitem) "/>
<RegExpr attribute="Normal" context="#pop!Scoreboard Command" String="(?<=\bscoreboard) "/>
<!--misc-->
<RegExpr attribute="Normal" context="#pop!Gamerule Command" String="(?<=\bgamerule) "/>
<RegExpr attribute="Normal" context="#pop!Difficulty Command" String="(?<=\bdifficulty) "/>
<RegExpr attribute="Normal" context="#pop!Default Gamemode Command" String="(?<=\bdefaultgamemode) "/>
<RegExpr attribute="Normal" context="#pop!Time Command" String="(?<=\btime) "/>
<RegExpr attribute="Normal" context="#pop!Weather Command" String="(?<=\bweather) "/>
<RegExpr attribute="Normal" context="#pop!Spawn Location at End" String="(?<=\bsetworldspawn) "/>
<RegExpr attribute="Normal" context="#pop!Worldborder Command" String="(?<=\bworldborder) "/>
<RegExpr attribute="Normal" context="#pop!Forceload Command" String="(?<=\bforceload) "/>
<!--entity-->
<RegExpr attribute="Normal" context="#pop!Summon Command" String="(?<=\bsummon) "/>
<RegExpr attribute="Normal" context="#pop!Target Selector at End" String="(?<=\bkill) "/>
<!--<RegExpr attribute="Normal" context="#pop!Teleport Command" String="(?<=teleport|tp) "/>-->
<RegExpr attribute="Normal" context="#pop!Effect Command" String="(?<=\beffect) "/>
<RegExpr attribute="Normal" context="#pop!Damage Command" String="(?<=\bdamage) "/>
<RegExpr attribute="Normal" context="#pop!Tag Command" String="(?<=\btag) "/>
<!--player-specific-->
<RegExpr attribute="Normal" context="#pop!Spawnpoint Command" String="(?<=\bspawnpoint) "/>
<RegExpr attribute="Normal" context="#pop!Gamemode Command" String="(?<=\bgamemode) "/>
<RegExpr attribute="Normal" context="#pop!Give Command" String="(?<=\bgive) "/>
<RegExpr attribute="Normal" context="#pop!Clear Command" String="(?<=\bclear) "/>
<RegExpr attribute="Normal" context="#pop!Enchant Command" String="(?<=\benchant) "/>
<RegExpr attribute="Normal" context="#pop!Experience Command" String="(?<=\bexperience|\bxp) "/>
<RegExpr attribute="Normal" context="#pop!Advancement Command" String="(?<=\badvancement) "/>
<RegExpr attribute="Normal" context="#pop!Recipe Command" String="(?<=\brecipe) "/>
<!--block-->
<RegExpr attribute="Normal" context="#pop!Setblock Command" String="(?<=\bsetblock) "/>
<RegExpr attribute="Normal" context="#pop!Fill Command" String="(?<=\bfill) "/>
<RegExpr attribute="Normal" context="#pop!Clone Command" String="(?<=\bclone) "/>
<!--messages-->
<RegExpr attribute="Normal" context="#pop!Text" String="(?<=\bsay|\bme|\btm|\bteammsg) "/>
<RegExpr attribute="Normal" context="#pop!Tellraw Command" String="(?<=\btellraw) "/>
<RegExpr attribute="Normal" context="#pop!Whisper Command" String="(?<=\btell|\bmsg|\bw) "/>
</context>
<context name="Comment" attribute="Comment" lineEndContext="#pop"/>
<context name="Text" lineEndContext="#pop"/>
<context name="Error" attribute="Error" lineEndContext="#pop"/>
<context name="End" attribute="Error" lineEndContext="#pop"/>
<context name="Global" lineEndContext="#pop">
<RegExpr attribute="Error" String=" +| $"/>
</context>
<context name="Common" lineEndContext="#pop">
<IncludeRules context="Global"/>
<WordDetect attribute="True" String="true"/>
<WordDetect attribute="False" String="false"/>
<DetectChar context="String Single" char="'"/>
<DetectChar context="String Double" char="""/>
<IncludeRules context="Float or Integer Range"/>
<RegExpr attribute="Float" String="-?\b\d+\.\d*|-?\.\d+\b"/>
<RegExpr attribute="Integer" String="-?\b\d+\b"/>
<AnyChar attribute="Operator" String="+-*/<=>!"/>
<Detect2Chars context="JSON Text" lookAhead="true" char="[" char1="""/>
<Detect2Chars context="JSON Text" lookAhead="true" char="{" char1="""/>
<DetectChar attribute="Bracket" context="Array" char="["/>
<DetectChar attribute="Brace" context="Dictionary" char="{"/>
<AnyChar attribute="Error" String="]}"/>
</context>
<context name="Generic Command" lineEndContext="#pop">
<IncludeRules context="Float or Integer Range"/>
<RegExpr context="Coordinate 3" lookAhead="true" String="&coord; &coord; &coord;"/>
<RegExpr context="Local Coordinate 3" lookAhead="true" String="\^&float;? \^&float;? \^&float;?"/>
<RegExpr attribute="Target Selector" context="Target Selector Argument List" String="&atsel;\["/>
<RegExpr attribute="Target Selector" context="Argument End" String="&atsel;"/>
<IncludeRules context="Common"/>
<DetectChar attribute="Error" char="@"/>
</context>
<context name="String Single" attribute="String" lineEndContext="#pop">
<HlCStringChar attribute="Special Character"/>
<DetectChar attribute="String" context="#pop" char="'"/>
</context>
<context name="String Double" attribute="String" lineEndContext="#pop">
<HlCStringChar attribute="Special Character"/>
<DetectChar attribute="String" context="#pop" char="""/>
</context>
<context name="Array" lineEndContext="#pop">
<DetectChar attribute="List Separator" char=","/>
<DetectChar attribute="Bracket" context="#pop" char="]"/>
<IncludeRules context="Common"/>
</context>
<context name="Dictionary" attribute="Error" lineEndContext="#pop">
<DetectChar attribute="Brace" context="#pop" char="}"/>
<RegExpr context="Dictionary Key" lookAhead="true" String="(?:&wstr;|".+")[:=]"/>
</context>
<context name="Dictionary Key" lineEndContext="#pop">
<AnyChar attribute="Brace" context="#pop!Dictionary Value" String=":="/>
<IncludeRules context="Common"/>
</context>
<context name="Dictionary Value" lineEndContext="#pop">
<DetectChar attribute="Brace" context="#pop#pop" char="}"/>
<AnyChar attribute="Error" String=" :="/>
<DetectChar attribute="List Separator" context="#pop" char=","/>
<IncludeRules context="Common"/>
</context>
<context name="NBT Value" attribute="Error">
<DetectChar context="#pop!String Single" char="'"/>
<DetectChar context="#pop!String Double" char="""/>
<DetectChar attribute="Brace" context="#pop!NBT" char="{"/>
<RegExpr attribute="Bracket" context="#pop!Typed NBT Array" String="\[(?=[&w;];)"/>
<DetectChar attribute="Bracket" context="#pop!NBT Array Start" char="["/>
<RegExpr attribute="True" context="#pop" String="true&wendla;"/>
<RegExpr attribute="False" context="#pop" String="false&wendla;"/>
<RegExpr attribute="Error" context="#pop" String="true&wendla;" insensitive="true"/>
<RegExpr attribute="Error" context="#pop" String="false&wendla;" insensitive="true"/>
<RegExpr attribute="Integer" context="#pop!Data Type Suffix" String="[+-]?\d+(?=[BbSsLl]?&wend;)"/>
<RegExpr attribute="Float" context="#pop" String="[+-]?(?:\d+\.\d*|\.\d+)&exp;?&wendla;"/>
<RegExpr attribute="Float" context="#pop!Data Type Suffix" String="[+-]?(?:\d+\.?\d*|\.\d+)&exp;?(?=[FfDd]&wend;)"/>
<RegExpr attribute="String" context="#pop" String="&wstr;"/>
</context>
<context name="NBT" attribute="Error" lineEndContext="#pop">
<Detect2Chars char="}" char1="{"/>
<DetectChar attribute="Brace" context="#pop" char="}"/>
<RegExpr context="NBT Key" lookAhead="true" String="(?<={)."/>
<DetectChar attribute="Normal" char=" "/>
<DetectChar attribute="List Separator" context="NBT Key" char=","/>
</context>
<context name="NBT Key" attribute="Error" lineEndContext="#pop">
<RegExpr context="#pop!NBT Dictionary Separator" lookAhead="true" String="(?<=['"])."/>
<DetectChar attribute="Normal" char=" "/>
<Detect2Chars char="}" char1="{"/>
<DetectChar attribute="Brace" context="#pop#pop" char="}"/>
<DetectChar context="String Single" char="'"/>
<DetectChar context="String Double" char="""/>
<RegExpr attribute="Normal" context="#pop!NBT Dictionary Separator" String="&wstr;"/>
</context>
<context name="NBT Dictionary Separator" attribute="Error" lineEndContext="#pop">
<DetectChar attribute="Normal" char=" "/>
<DetectChar attribute="Brace" context="#pop!NBT Dictionary Value" char=":"/>
</context>
<context name="NBT Dictionary Value" attribute="Error" lineEndContext="#pop">
<DetectChar attribute="Normal" char=" "/>
<IncludeRules context="NBT Value"/>
</context>
<context name="Typed NBT Array" attribute="Error" lineEndContext="#pop">
<AnyChar attribute="Data Type" String="BIL"/>
<RegExpr attribute="List Separator" context="#pop!Byte Array" String="(?<=B);"/>
<RegExpr attribute="List Separator" context="#pop!Int Array" String="(?<=I);"/>
<RegExpr attribute="List Separator" context="#pop!Long Array" String="(?<=L);"/>
<RegExpr attribute="List Separator" context="#pop!NBT Array Start" String="(?<=[&w;]);"/>
</context>
<context name="NBT Array Start" attribute="Error" lineEndContext="#pop">
<DetectChar attribute="Normal" char=" "/>
<DetectChar attribute="Bracket" context="#pop" char="]"/>
<DetectChar context="#pop!NBT Array Array" lookAhead="true" char="["/>
<DetectChar context="#pop!NBT Array Dictionary" lookAhead="true" char="{"/>
<RegExpr context="#pop!NBT Array Byte" lookAhead="true" String="(?:true|false)[^&w;]" insensitive="true"/>
<RegExpr context="#pop!NBT Array Byte" lookAhead="true" String="(?:[+-]?\d+b)[^&w;]" insensitive="true"/>
<RegExpr context="#pop!NBT Array Short" lookAhead="true" String="[+-]?\d+s[^&w;]" insensitive="true"/>
<RegExpr context="#pop!NBT Array Long" lookAhead="true" String="[+-]?\d+L[^&w;]" insensitive="true"/>
<RegExpr context="#pop!NBT Array Float" lookAhead="true" String="[+-]?(?:\d+\.?\d*|\.\d+)&exp;?f[^&w;]" insensitive="true"/>
<RegExpr context="#pop!NBT Array Double" lookAhead="true" String="[+-]?\d+&exp;?d[^&w;]" insensitive="true"/>
<RegExpr context="#pop!NBT Array Double" lookAhead="true" String="[+-]?(?:\d+\.\d*|\.\d+)&exp;?d?[^&w;]" insensitive="true"/>
<RegExpr context="#pop!NBT Array Int" lookAhead="true" String="[+-]?\d+[^&w;]"/>
<AnyChar context="#pop!NBT Array String" lookAhead="true" String="'"+-."/>
<RegExpr context="#pop!NBT Array String" lookAhead="true" String="\w"/>
</context>
<context name="NBT Array Separator" attribute="Error" lineEndContext="#pop">
<DetectChar attribute="Normal" char=" "/>
<DetectChar attribute="List Separator" context="#pop" char=","/>
<DetectChar attribute="Bracket" context="#pop#pop" char="]"/>
</context>
<context name="NBT Array Type Suffix" fallthroughContext="#pop!NBT Array Separator" lineEndContext="#pop">
<AnyChar attribute="Data Type" context="#pop!NBT Array Separator" String="bsLfd"/>
<AnyChar attribute="Error" context="#pop!NBT Array Separator" String="BSlFD"/>
</context>
<context name="Typed Array Type Suffix" lineEndContext="#pop">
<AnyChar attribute="Data Type" context="#pop!NBT Array Separator" String="BL"/>
</context>
<context name="NBT Array">
<DetectChar attribute="Normal" char=" "/>
<DetectChar attribute="Bracket" context="#pop" char="]"/>
</context>
<context name="NBT Array Array" attribute="Error" lineEndContext="#pop">
<RegExpr context="NBT Array Separator" lookAhead="true" String="(?<=\])."/>
<IncludeRules context="NBT Array"/>
<DetectChar attribute="Bracket" context="NBT Array Start" char="["/>
</context>
<context name="NBT Array Dictionary" attribute="Error" lineEndContext="#pop">
<RegExpr context="NBT Array Separator" lookAhead="true" String="(?<=})."/>
<IncludeRules context="NBT Array"/>
<DetectChar attribute="Brace" context="NBT" char="{"/>
</context>
<context name="NBT Array Byte" attribute="Error" lineEndContext="#pop">
<IncludeRules context="NBT Array"/>
<WordDetect attribute="False" context="NBT Array Separator" String="false"/>
<WordDetect attribute="True" context="NBT Array Separator" String="true"/>
<RegExpr attribute="Integer" context="NBT Array Type Suffix" String="[+-]?\d+(?=b)"/>
</context>
<context name="NBT Array Short" attribute="Error" lineEndContext="#pop">
<IncludeRules context="NBT Array"/>
<RegExpr attribute="Integer" context="NBT Array Type Suffix" String="[+-]?\d+(?=s)"/>
</context>
<context name="NBT Array Int" attribute="Error" lineEndContext="#pop">
<IncludeRules context="NBT Array"/>
<RegExpr attribute="Integer" context="NBT Array Separator" String="[+-]?\d+"/>
</context>
<context name="NBT Array Long" attribute="Error" lineEndContext="#pop">
<IncludeRules context="NBT Array"/>
<RegExpr attribute="Integer" context="NBT Array Type Suffix" String="[+-]?\d+(?=L)"/>
</context>
<context name="NBT Array Float" attribute="Error" lineEndContext="#pop">
<IncludeRules context="NBT Array"/>
<RegExpr attribute="Float" context="NBT Array Type Suffix" String="[+-]?(?:\d+\.?\d*|\.\d+)&exp;?(?=f)"/>
</context>
<context name="NBT Array Double" attribute="Error" lineEndContext="#pop">
<IncludeRules context="NBT Array"/>
<RegExpr attribute="Float" context="NBT Array Type Suffix" String="[+-]?(?:\d+\.?\d*|\.\d+)&exp;?(?=d)"/>
<RegExpr attribute="Float" context="NBT Array Separator" String="[+-]?(?:\d+\.\d*|\.\d+)&exp;?"/>
</context>
<context name="NBT Array String" attribute="Error" lineEndContext="#pop">
<RegExpr context="NBT Array Separator" lookAhead="true" String="(?<=['"])."/>
<IncludeRules context="NBT Array"/>
<DetectChar context="String Single" char="'"/>
<DetectChar context="String Double" char="""/>
<RegExpr attribute="Error" context="NBT Array Separator" String="true&wendla;" insensitive="true"/>
<RegExpr attribute="Error" context="NBT Array Separator" String="false&wendla;" insensitive="true"/>
<RegExpr attribute="Error" context="NBT Array Separator" String="[+-]?\d+(?:[BbSsLl]|&exp;?[FfDd])&wendla;"/>
<RegExpr attribute="Error" context="NBT Array Separator" String="[+-]?(?:\d+\.\d*|\.\d+)&exp;?[FfDd]&wendla;"/>
<RegExpr attribute="String" context="NBT Array Separator" String="&wstr;"/>
</context>
<context name="Byte Array" attribute="Error" lineEndContext="#pop">
<IncludeRules context="NBT Array"/>
<WordDetect attribute="False" context="NBT Array Separator" String="false"/>
<WordDetect attribute="True" context="NBT Array Separator" String="true"/>
<RegExpr attribute="Integer" context="Typed Array Type Suffix" String="[+-]?\d+(?=B)"/>
</context>
<context name="Int Array" attribute="Error" lineEndContext="#pop">
<IncludeRules context="NBT Array Int"/>
</context>
<context name="Long Array" attribute="Error" lineEndContext="#pop">
<IncludeRules context="NBT Array"/>
<RegExpr attribute="Integer" context="Typed Array Type Suffix" String="[+-]?\d+(?=L)"/>
</context>
<context name="JSON Text" attribute="Error" lineEndContext="#pop">
<WordDetect attribute="True" context="#pop" String="true"/>
<WordDetect attribute="False" context="#pop" String="false"/>
<RegExpr attribute="Float" context="#pop" String="-?[1-9]\d*(?:\.\d+)?&exp;?"/>
<DetectChar context="#pop!String Double" char="""/>
<AnyChar context="#pop!JSON Start" String="[{" lookAhead="true"/>
</context>
<context name="JSON Start" attribute="Error" lineEndContext="#pop">
<RegExpr context="#pop" String="(?<=[\]}])." lookAhead="true"/>
<IncludeRules context="Normal##JSON" includeAttrib="true"/>
</context>
<context name="Integer Range Highlight" attribute="Error" lineEndContext="#pop">
<RegExpr context="#pop!Integer Range Middle Highlight" String="-?\d+(?=\.\.)"/>
<RegExpr context="#pop!Integer Range End Highlight" String="\.\.(?=-?\d+)"/>
</context>
<context name="Float Range Highlight" attribute="Error" lineEndContext="#pop">
<RegExpr context="#pop!Float Range Middle Highlight" String="-?\d*\.?\d+(?=\.\.)"/>
<RegExpr context="#pop!Float Range End Highlight" String="\.\.(?=&float;)"/>
</context>
<context name="Integer Range Middle Highlight" attribute="Integer">
<Detect2Chars context="#pop!Integer Range End Highlight" char="." char1="."/>
</context>
<context name="Float Range Middle Highlight" attribute="Float">
<Detect2Chars context="#pop!Float Range End Highlight" char="." char1="."/>
</context>
<context name="Integer Range End Highlight" attribute="Range" fallthroughContext="#pop!Range End">
<RegExpr attribute="Integer" context="#pop!Range End" String="-?\d+"/>
</context>
<context name="Float Range End Highlight" attribute="Range" fallthroughContext="#pop!Range End">
<RegExpr attribute="Float" context="#pop!Range End" String="&float;"/>
</context>
<context name="Range End" attribute="Error" fallthroughContext="#pop" lineEndContext="#pop">
<AnyChar String="-.0123456789"/>
</context>
<context name="Float or Integer Range">
<RegExpr context="Float Range Highlight" lookAhead="true" String="-?\d*\.\d+\.\.|(-?\d+)?\.\.-?(?:\d+\.\d*|\.\d+)"/>
<RegExpr context="Integer Range Highlight" lookAhead="true" String="-?\d+\.\.|\.\.-?\d+"/>
</context>
<context name="Data Type Suffix" fallthroughContext="#pop" lineEndContext="#pop">
<AnyChar attribute="Data Type" context="#pop" String="bsLfd"/>
<AnyChar attribute="Error" context="#pop" String="BSlFD"/>
</context>
<context name="Axis">
<DetectChar attribute="X" char="x"/>
<DetectChar attribute="Y" char="y"/>
<DetectChar attribute="Z" char="z"/>
</context>
<!-- argument validation/highlighting rule sets -->
<context name="Argument End" attribute="Error" lineEndContext="#pop">
<RegExpr String=" +| $"/>
<DetectChar context="#pop" lookAhead="true" char=" "/>
</context>
<context name="Require Next Argument">
<RegExpr attribute="Error" String="[^ ]+$"/>
</context>
<context name="Boolean">
<WordDetect attribute="True" context="Argument End" String="true"/>
<WordDetect attribute="False" context="Argument End" String="false"/>
</context>
<context name="Integer">
<RegExpr attribute="Integer" context="Argument End" String="-?\d+"/>
</context>
<context name="Integer 0-255">
<RegExpr attribute="Integer" context="Argument End" String="0*(?:25[0-5]|2[0-4]\d|1?\d\d?)"/>
</context>
<context name="Integer 0-1000000">
<RegExpr attribute="Integer" context="Argument End" String="0*(?:1000000|\d{1,6})"/>
</context>
<context name="Integer 1-1000000">
<RegExpr attribute="Integer" context="Argument End" String="0*(?:1000000|[1-9]\d{0,5})"/>
</context>
<context name="Float">
<RegExpr attribute="Float" context="Argument End" String="&float;"/>
</context>
<context name="Positive Float" attribute="Error" lineEndContext="#pop">
<RegExpr attribute="Float" context="Argument End" String="\d+\.?\d*|\.\d+"/>
</context>
<context name="Float or Integer">
<RegExpr attribute="Float" context="Argument End" String="-?\d+\.\d*|-?\.\d+"/>
<IncludeRules context="Integer"/>
</context>
<context name="Time" attribute="Error" lineEndContext="#pop">
<RegExpr attribute="Float" context="Argument End" String="\d+\.?\d*[tsd]|\.?\d+[tsd]"/>
<Int attribute="Integer" context="Argument End"/>
</context>
<context name="Absolute Coordinate">
<RegExpr attribute="Coordinate" context="Argument End" String="&float;"/>
</context>
<context name="Relative Coordinate">
<RegExpr attribute="Relative Coordinate" context="Argument End" String="~&float;?"/>
</context>
<context name="Local Coordinate">
<RegExpr attribute="Local Coordinate" context="Argument End" String="\^&float;?"/>
</context>
<context name="Block Coordinate">
<RegExpr attribute="Coordinate" context="Argument End" String="-?\d+"/>
<IncludeRules context="Relative Coordinate"/>
</context>
<context name="Scoreboard Objective">
<RegExpr attribute="Normal" context="Argument End" String="&wstr;"/>
</context>
<context name="Scoreboard Score">
<RegExpr attribute="Normal" context="Scoreboard Score Player" lookAhead="true" String="[^ ]"/>
</context>
<context name="Scoreboard Score Player" attribute="Error" lineEndContext="#pop">
<IncludeRules context="Global"/>
<RegExpr attribute="Target Selector" context="Argument End" String="[^@ ][^ ]*"/>
<IncludeRules context="Target Selector"/>
<DetectChar attribute="Normal" context="#pop!Scoreboard Score Objective" char=" "/>
</context>
<context name="Scoreboard Score Objective" attribute="Error" lineEndContext="#pop">
<RegExpr attribute="Normal" context="#pop!Argument End" String="&wstr;"/>
</context>
<context name="Target Selector">
<RegExpr attribute="Target Selector" context="Target Selector Argument List" String="&atsel;\["/>
<RegExpr attribute="Target Selector" context="Argument End" String="&atsel;|\w{1,16}|[0-9A-Fa-f]{1,8}-[0-9A-Fa-f]{1,4}-[0-9A-Fa-f]{1,4}-[0-9A-Fa-f]{1,4}-[0-9A-Fa-f]{1,12}"/>
</context>
<context name="Target Selector Argument List" attribute="Error" lineEndContext="#pop">
<DetectChar attribute="Normal" char=" "/>
<DetectChar attribute="Target Selector" context="#pop!Argument End" char="]"/>
<RegExpr context="Target Selector Argument" lookAhead="true" String="[a-z_]+ *="/>
</context>
<context name="Target Selector Argument" lineEndContext="#pop">
<DetectChar attribute="Normal" char=" "/>
<keyword attribute="Target Selector Argument" String="selector argument"/>
<DetectChar attribute="Operator" context="#pop!Target Selector Argument Value" char="="/>
<DetectChar attribute="Target Selector" context="#pop#pop!Argument End" char="]"/>
</context>
<context name="Target Selector Argument Value" lineEndContext="#pop">
<DetectChar attribute="Error" char="="/>
<DetectChar attribute="Normal" char=" "/>
<keyword attribute="Game Mode" context="#pop!Target Selector Argument Separator" String="gamemode"/>
<RegExpr attribute="Operator" context="#pop!Target Selector Type" lookAhead="true" String="(?<=\btype=) *!?#?(?:&namesp;:)?&resname;"/>
<RegExpr attribute="Operator" context="NBT Value" lookAhead="true" String="(?<=\bnbt=){"/>
<DetectChar attribute="List Separator" context="#pop" char=","/>
<DetectChar attribute="Target Selector" context="#pop#pop!Argument End" char="]"/>
<IncludeRules context="Common"/>
</context>
<context name="Target Selector Argument Separator" lineEndContext="#pop">
<DetectChar attribute="Normal" char=" "/>
<DetectChar attribute="List Separator" context="#pop" char=","/>
<DetectChar attribute="Target Selector" context="#pop#pop!Argument End" char="]"/>
</context>
<context name="Target Selector Type" lineEndContext="#pop">
<DetectChar attribute="Normal" char=" "/>
<Detect2Chars attribute="Error" char="!" char1="!"/>
<Detect2Chars attribute="Error" char="#" char1="#"/>
<Detect2Chars attribute="Error" char="#" char1="!"/>
<DetectChar attribute="Operator" char="!"/>
<DetectChar attribute="Tag" char="#"/>
<RegExpr attribute="Namespace" context="#pop!Target Selector Type Highlight" String="&namesp;(?=:(&resname;))"/>
<RegExpr attribute="Entity" context="#pop!Target Selector Argument Separator" String="&resname;"/>
<IncludeRules context="Common"/>
</context>
<context name="Target Selector Type Highlight" fallthroughContext="#pop!Argument End" lineEndContext="#pop">
<DetectChar char=":"/>
<StringDetect attribute="Entity" context="#pop!Target Selector Argument Separator" String="%1" dynamic="true"/>
</context>
<context name="Resource Location">
<RegExpr context="Resource Location Namespace Highlight" lookAhead="true" String="&resloc;"/>
<RegExpr attribute="Normal" context="Resource Location Path Highlight" String=":(?=&respath;)"/>
<RegExpr context="Resource Location Path Highlight" lookAhead="true" String="&respath;"/>
</context>
<context name="Resource Location Tag">
<RegExpr attribute="Tag" context="Resource Location Namespace Highlight" String="#(?=&resloc;)"/>
<RegExpr attribute="Tag" context="Resource Location Path Highlight" String="#(?=&respath;)"/>
</context>
<context name="Resource Location Namespace Highlight" lineEndContext="#pop">
<RegExpr attribute="Namespace" String="&namesp;"/>
<DetectChar attribute="Normal" context="#pop!Resource Location Path Highlight" char=":"/>
</context>
<context name="Resource Location Path Highlight" fallthroughContext="#pop!Argument End" lineEndContext="#pop">
<DetectChar attribute="Normal" char="/"/>
<RegExpr attribute="Resource Path" String="&resname;"/>
</context>
<context name="Function" lineEndContext="#pop">
<RegExpr attribute="Tag" context="Resource Location Namespace Highlight" String="#(?=&resloc;)"/>
<RegExpr context="Resource Location Namespace Highlight" lookAhead="true" String="&resloc;"/>
</context>
<context name="Item">
<RegExpr context="Item Namespace Highlight" lookAhead="true" String="&resloc;"/>
<RegExpr attribute="Item" context="Item Argument End" String="&respath;"/>
</context>
<context name="Item Tag">
<RegExpr attribute="Tag" context="Item Namespace Highlight" String="#(?=&resloc;)"/>
<RegExpr attribute="Tag" context="Item Highlight" String="#(?=&respath;)"/>
</context>
<context name="Item Namespace Highlight" lineEndContext="#pop">
<RegExpr attribute="Namespace" String="&namesp;"/>
<DetectChar context="#pop!Item Highlight" char=":"/>
</context>
<context name="Item Highlight" fallthroughContext="#pop!Item Argument End" lineEndContext="#pop">
<DetectChar attribute="Normal" char="/"/>
<RegExpr attribute="Item" String="&resname;"/>
</context>
<context name="Item Argument End" fallthroughContext="#pop!Argument End" lineEndContext="#pop">
<RegExpr attribute="Brace" context="NBT" String="(?<!}){"/>
</context>
<context name="Block">
<RegExpr context="Block Namespace Highlight" lookAhead="true" String="&resloc;"/>
<RegExpr attribute="Block" context="Block Argument End" String="&respath;"/>
</context>
<context name="Block Tag">
<RegExpr attribute="Tag" context="Block Namespace Highlight" String="#(?=&resloc;)"/>
<RegExpr attribute="Tag" context="Block Highlight" String="#(?=&respath;)"/>
</context>
<context name="Block Namespace Highlight" lineEndContext="#pop">
<RegExpr attribute="Namespace" String="&namesp;"/>
<DetectChar context="#pop!Block Highlight" char=":"/>
</context>
<context name="Block Highlight" lineEndContext="#pop">
<RegExpr attribute="Block" context="#pop!Block Argument End" String="\w+"/>
</context>
<context name="Block Argument End" fallthroughContext="#pop!Argument End" lineEndContext="#pop">
<DetectChar attribute="Block" context="Block State List" char="["/>
<RegExpr attribute="Brace" context="NBT" String="(?<!}){"/>
</context>
<context name="Block State List" attribute="Error" lineEndContext="#pop">
<DetectChar attribute="Block" context="#pop" char="]"/>
<RegExpr context="Block State" lookAhead="true" String="([0-9a-z_]+)=(?:[^,=\]]+)"/>
</context>
<context name="Block State" lineEndContext="#pop">
<StringDetect attribute="Block State" String="%1" dynamic="true"/>
<DetectChar attribute="Operator" char="="/>
<DetectChar attribute="List Separator" context="#pop" char=","/>
<DetectChar attribute="Block" context="#pop#pop" char="]"/>
<WordDetect attribute="True" String="true"/>
<WordDetect attribute="False" String="false"/>
<Int attribute="Integer"/>
<keyword attribute="Direction" String="direction"/>
<IncludeRules context="Axis"/>
</context>
<context name="Entity">
<RegExpr attribute="Namespace" context="Entity Highlight" String="&namesp;(?=:(&resname;))"/>
<RegExpr attribute="Entity" context="Argument End" String="&resname;"/>
</context>
<context name="Entity Highlight" fallthroughContext="#pop!Argument End" lineEndContext="#pop">
<DetectChar char=":"/>
<StringDetect attribute="Entity" context="#pop!Argument End" String="%1" dynamic="true"/>
</context>
<context name="Status Effect">
<RegExpr attribute="Namespace" context="Status Effect Highlight" String="&namesp;(?=:(&resname;))"/>
<keyword attribute="Status Effect" context="Argument End" String="status effect"/>
</context>
<context name="Status Effect Highlight" fallthroughContext="#pop!Argument End" lineEndContext="#pop">
<DetectChar char=":"/>
<StringDetect attribute="Status Effect" context="#pop!Argument End" String="%1" dynamic="true"/>
</context>
<context name="Position">
<IncludeRules context="Local Position"/>
<AnyChar context="Coordinate 3" lookAhead="true" String="~-.0123456789"/>
</context>
<context name="Rotation">
<AnyChar context="Coordinate 2" lookAhead="true" String="~-.0123456789"/>
</context>
<context name="XZ Position">
<AnyChar context="Coordinate 2" lookAhead="true" String="~-.0123456789"/>
</context>
<context name="Coordinate 1" attribute="Error" lineEndContext="#pop">
<IncludeRules context="Absolute Coordinate"/>
<IncludeRules context="Relative Coordinate"/>
<DetectChar context="#pop" lookAhead="true" char=" "/>
</context>
<context name="Coordinate 2" attribute="Error" lineEndContext="#pop">
<IncludeRules context="Absolute Coordinate"/>
<IncludeRules context="Relative Coordinate"/>
<DetectChar attribute="Coordinate" context="#pop!Coordinate 1" char=" "/>
</context>
<context name="Coordinate 3" attribute="Error" lineEndContext="#pop">
<IncludeRules context="Absolute Coordinate"/>
<IncludeRules context="Relative Coordinate"/>
<DetectChar attribute="Coordinate" context="#pop!Coordinate 2" char=" "/>
</context>
<context name="Local Position">
<DetectChar context="Local Coordinate 3" lookAhead="true" char="^"/>
</context>
<context name="Local Coordinate 1" attribute="Error" lineEndContext="#pop">
<IncludeRules context="Local Coordinate"/>
<DetectChar context="#pop" lookAhead="true" char=" "/>
</context>
<context name="Local Coordinate 2" attribute="Error" lineEndContext="#pop">
<IncludeRules context="Local Coordinate"/>
<DetectChar attribute="Local Coordinate" context="#pop!Local Coordinate 1" char=" "/>
</context>
<context name="Local Coordinate 3" attribute="Error" lineEndContext="#pop">
<IncludeRules context="Local Coordinate"/>
<DetectChar attribute="Local Coordinate" context="#pop!Local Coordinate 2" char=" "/>
</context>
<context name="Block Position">
<IncludeRules context="Local Position"/>
<AnyChar context="Block Coordinate 3" lookAhead="true" String="~-0123456789"/>
</context>
<context name="Block Coordinate 1" attribute="Error" lineEndContext="#pop">
<IncludeRules context="Block Coordinate"/>
<DetectChar context="#pop" lookAhead="true" char=" "/>
</context>
<context name="Block Coordinate 2" attribute="Error" lineEndContext="#pop">
<IncludeRules context="Block Coordinate"/>
<DetectChar attribute="Coordinate" context="#pop!Block Coordinate 1" char=" "/>
</context>
<context name="Block Coordinate 3" attribute="Error" lineEndContext="#pop">
<IncludeRules context="Block Coordinate"/>
<DetectChar attribute="Coordinate" context="#pop!Block Coordinate 2" char=" "/>
</context>
<context name="Double Block Position">
<AnyChar context="Block Position 2" lookAhead="true" String="^~-0123456789"/>
</context>
<context name="Triple Block Position">
<AnyChar context="Block Position 3" lookAhead="true" String="^~-0123456789"/>
</context>
<context name="Block Position 1" attribute="Error" lineEndContext="#pop">
<IncludeRules context="Block Position"/>
<DetectChar context="#pop" lookAhead="true" char=" "/>
</context>
<context name="Block Position 2" attribute="Error" lineEndContext="#pop">
<IncludeRules context="Block Position"/>
<DetectChar attribute="Normal" context="#pop!Block Position 1" char=" "/>
</context>
<context name="Block Position 3" attribute="Error" lineEndContext="#pop">
<IncludeRules context="Block Position"/>
<DetectChar attribute="Normal" context="#pop!Block Position 2" char=" "/>
</context>
<context name="Data Source">
<WordDetect attribute="Word Argument" context="Data Source Block" String="block "/>
<WordDetect attribute="Word Argument" context="Data Source Entity" String="entity "/>
<WordDetect attribute="Word Argument" context="Data Source Storage" String="storage "/>
</context>
<context name="Data Source Block" attribute="Error" lineEndContext="#pop">
<IncludeRules context="Block Position"/>
<DetectChar attribute="Normal" context="#pop!Data Source Path" char=" "/>
</context>
<context name="Data Source Entity" attribute="Error" lineEndContext="#pop">
<IncludeRules context="Target Selector"/>
<DetectChar attribute="Normal" context="#pop!Data Source Path" char=" "/>
</context>
<context name="Data Source Storage" attribute="Error" lineEndContext="#pop">
<IncludeRules context="Resource Location"/>
<DetectChar attribute="Normal" context="#pop!Data Source Path" char=" "/>
</context>
<context name="Data Source Path" attribute="Error" lineEndContext="#pop">
<IncludeRules context="Global"/>
<RegExpr attribute="NBT Path" context="#pop!Data Source Name End" String="[\w-]+|".+""/>
<DetectChar attribute="Bracket" context="#pop!Data Source Index Node" char="["/>
<DetectChar context="#pop!Data Source Name End" lookAhead="true" char="{"/>
</context>
<context name="Data Source Node" attribute="Error" lineEndContext="#pop">
<IncludeRules context="Global"/>
<RegExpr attribute="NBT Path" context="#pop!Data Source Name End" String="[\w-]+|".+""/>
<DetectChar attribute="Bracket" context="#pop!Data Source Index Node" char="["/>
<DetectChar attribute="Normal" context="#pop" lookAhead="true" char=" "/>
</context>
<context name="Data Source Index Node" attribute="Error" lineEndContext="#pop">
<RegExpr attribute="Integer" String="-?\d+(?=\])"/>
<DetectChar attribute="Brace" context="NBT" char="{"/>
<DetectChar attribute="Bracket" context="#pop!Data Source Node End" char="]"/>
</context>
<context name="Data Source Node End" attribute="Error" lineEndContext="#pop">
<DetectChar attribute="Normal" context="#pop!Data Source Node" char="."/>
<DetectChar attribute="Bracket" context="#pop!Data Source Index Node" char="["/>
<DetectChar attribute="Normal" context="#pop" lookAhead="true" char=" "/>
</context>
<context name="Data Source Name End" attribute="Error" lineEndContext="#pop">
<Detect2Chars attribute="Brace" context="#pop!Data Source Node End" char="{" char1="}"/>
<DetectChar attribute="Brace" context="NBT" char="{"/>
<IncludeRules context="Data Source Node End"/>
</context>
<context name="Item Source">
<WordDetect attribute="Word Argument" context="Item Source Block" String="block "/>
<WordDetect attribute="Word Argument" context="Item Source Entity" String="entity "/>
</context>
<context name="Item Source Block" attribute="Error" lineEndContext="#pop">
<IncludeRules context="Block Position"/>
<DetectChar attribute="Normal" context="#pop!Item Slot" char=" "/>
</context>
<context name="Item Source Entity" attribute="Error" lineEndContext="#pop">
<IncludeRules context="Target Selector"/>
<DetectChar attribute="Normal" context="#pop!Item Slot" char=" "/>
</context>
<context name="Item Slot" attribute="Error" lineEndContext="#pop">
<WordDetect attribute="Word Argument" context="#pop!Item Container Slot" String="container"/>
<WordDetect attribute="Word Argument" context="#pop!Item Slot 0-26" String="inventory"/>
<WordDetect attribute="Word Argument" context="#pop!Item Slot 0-8" String="hotbar"/>
<WordDetect attribute="Word Argument" context="#pop!Item Armor Slot" String="armor"/>
<WordDetect attribute="Word Argument" context="#pop!Item Weapon Slot" String="weapon"/>
<WordDetect attribute="Word Argument" context="#pop!Item Slot 0-26" String="enderchest"/>
<WordDetect attribute="Word Argument" context="#pop!Item Horse Slot" String="horse"/>
<WordDetect attribute="Word Argument" context="#pop!Item Slot 0-7" String="villager"/>