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
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
// IMPORTANT: DO NOT EDIT THIS FILE MANUALLY!
// This file is automatically generated with `cargo xtask codegen`.
// To make any changes, edit the xtask source instead.

/// Re-exports for all items of the latest Minecraft version.
#[cfg(feature = "latest")]
pub mod latest {
    pub use super::mc1_20_5::*;
}

/// Accompanying types for block entities in Minecraft 1.14.
#[cfg(feature = "1.14")]
pub mod mc1_14 {
    block_entities! {
        "1.14", mc1_14;
        "minecraft:banner", Banner: BannerBlockEntity (> BlockEntity), ["CustomName", "Patterns"];
        "minecraft:barrel", Barrel: BarrelBlockEntity (> > > BlockEntity), ["Items", "LootTable", "LootTableSeed", "CustomName", "Lock"];
        "minecraft:beacon", Beacon: BeaconBlockEntity (> BlockEntity), ["CustomName", "Levels", "Lock", "Primary", "Secondary"];
        "minecraft:bed", Bed: BedBlockEntity (> BlockEntity), [];
        "minecraft:bell", Bell: BellBlockEntity (> BlockEntity), [];
        "minecraft:blast_furnace", BlastFurnace: BlastFurnaceBlockEntity (> > > BlockEntity), ["BurnTime", "CookTime", "CookTimeTotal", "Items", "RecipesUsedSize", "CustomName", "Lock"];
        "minecraft:brewing_stand", BrewingStand: BrewingStandBlockEntity (> > BlockEntity), ["BrewTime", "Fuel", "Items", "CustomName", "Lock"];
        "minecraft:campfire", Campfire: CampfireBlockEntity (> BlockEntity), ["CookingTimes", "CookingTotalTimes", "Items", "id", "x", "y", "z"];
        "minecraft:chest", Chest: ChestBlockEntity (> > > BlockEntity), ["Items", "LootTable", "LootTableSeed", "CustomName", "Lock"];
        "minecraft:command_block", CommandBlock: CommandBlockEntity (> BlockEntity), ["Command", "CustomName", "LastExecution", "LastOutput", "SuccessCount", "TrackOutput", "UpdateLastExecution", "auto", "conditionMet", "powered"];
        "minecraft:comparator", Comparator: ComparatorBlockEntity (> BlockEntity), ["OutputSignal"];
        "minecraft:conduit", Conduit: ConduitBlockEntity (> BlockEntity), ["target_uuid"];
        "minecraft:daylight_detector", DaylightDetector: DaylightDetectorBlockEntity (> BlockEntity), [];
        "minecraft:dispenser", Dispenser: DispenserBlockEntity (> > > BlockEntity), ["Items", "LootTable", "LootTableSeed", "CustomName", "Lock"];
        "minecraft:dropper", Dropper: DropperBlockEntity (> > > > BlockEntity), ["Items", "LootTable", "LootTableSeed", "CustomName", "Lock"];
        "minecraft:enchanting_table", EnchantingTable: EnchantmentTableBlockEntity (> BlockEntity), ["CustomName"];
        "minecraft:end_gateway", EndGateway: TheEndGatewayBlockEntity (> > BlockEntity), ["Age", "ExactTeleport", "ExitPortal"];
        "minecraft:end_portal", EndPortal: TheEndPortalBlockEntity (> BlockEntity), [];
        "minecraft:ender_chest", EnderChest: EnderChestBlockEntity (> BlockEntity), [];
        "minecraft:furnace", Furnace: FurnaceBlockEntity (> > > BlockEntity), ["BurnTime", "CookTime", "CookTimeTotal", "Items", "RecipesUsedSize", "CustomName", "Lock"];
        "minecraft:hopper", Hopper: HopperBlockEntity (> > > BlockEntity), ["Items", "LootTable", "LootTableSeed", "TransferCooldown", "CustomName", "Lock"];
        "minecraft:jigsaw", Jigsaw: JigsawBlockEntity (> BlockEntity), ["attachement_type", "final_state", "target_pool"];
        "minecraft:jukebox", Jukebox: JukeboxBlockEntity (> BlockEntity), ["RecordItem"];
        "minecraft:lectern", Lectern: LecternBlockEntity (> BlockEntity), ["Book", "Page"];
        "minecraft:mob_spawner", MobSpawner: SpawnerBlockEntity (> BlockEntity), ["Delay", "MaxNearbyEntities", "MaxSpawnDelay", "MinSpawnDelay", "RequiredPlayerRange", "SpawnCount", "SpawnData", "SpawnPotentials", "SpawnRange"];
        "minecraft:piston", Piston: PistonMovingBlockEntity (> BlockEntity), ["blockState", "extending", "facing", "progress", "source"];
        "minecraft:shulker_box", ShulkerBox: ShulkerBoxBlockEntity (> > > BlockEntity), ["Items", "LootTable", "LootTableSeed", "CustomName", "Lock"];
        "minecraft:sign", Sign: SignBlockEntity (> BlockEntity), ["Color", "Text1", "Text2", "Text3", "Text4"];
        "minecraft:skull", Skull: SkullBlockEntity (> BlockEntity), ["Owner"];
        "minecraft:smoker", Smoker: SmokerBlockEntity (> > > BlockEntity), ["BurnTime", "CookTime", "CookTimeTotal", "Items", "RecipesUsedSize", "CustomName", "Lock"];
        "minecraft:structure_block", StructureBlock: StructureBlockEntity (> BlockEntity), ["author", "ignoreEntities", "integrity", "metadata", "mirror", "mode", "name", "posX", "posY", "posZ", "powered", "rotation", "seed", "showair", "showboundingbox", "sizeX", "sizeY", "sizeZ"];
        "minecraft:trapped_chest", TrappedChest: TrappedChestBlockEntity (> > > > BlockEntity), ["Items", "LootTable", "LootTableSeed", "CustomName", "Lock"];
    }

    block_entity_types! {
        "1.14";
        AbstractFurnaceBlockEntity > BaseContainerBlockEntity, with extras as fastnbt::Value { "BurnTime" as burn_time: i16, "CookTime" as cook_time: i16, "CookTimeTotal" as cook_time_total: i16, optional "Items" as items: Vec<super::compounds::ItemStack_save>, "RecipesUsedSize" as recipes_used_size: i16 }
        BannerBlockEntity > BlockEntity { optional "CustomName" as custom_name: CowStr, optional "Patterns" as patterns: Vec<fastnbt::Value> }
        BarrelBlockEntity > RandomizableContainerBlockEntity { optional "Items" as items: Vec<super::compounds::ItemStack_save>, optional "LootTable" as loot_table: CowStr, optional "LootTableSeed" as loot_table_seed: i64 }
        BaseContainerBlockEntity > BlockEntity { optional "CustomName" as custom_name: CowStr, optional "Lock" as lock: CowStr }
        BeaconBlockEntity > BlockEntity { optional "CustomName" as custom_name: CowStr, "Levels" as levels: i32, optional "Lock" as lock: CowStr, "Primary" as primary: i32, "Secondary" as secondary: i32 }
        BedBlockEntity > BlockEntity {  }
        BellBlockEntity > BlockEntity {  }
        BlastFurnaceBlockEntity > AbstractFurnaceBlockEntity {  }
        BlockEntity { "x" as x: i32, "y" as y: i32, "z" as z: i32 }
        BrewingStandBlockEntity > BaseContainerBlockEntity { "BrewTime" as brew_time: i16, "Fuel" as fuel: u8, optional "Items" as items: Vec<super::compounds::ItemStack_save> }
        CampfireBlockEntity > BlockEntity { "CookingTimes" as cooking_times: fastnbt::IntArray, "CookingTotalTimes" as cooking_total_times: fastnbt::IntArray, optional "Items" as items: Vec<super::compounds::ItemStack_save>, "id" as id: CowStr, "x" as x: i32, "y" as y: i32, "z" as z: i32 }
        ChestBlockEntity > RandomizableContainerBlockEntity { optional "Items" as items: Vec<super::compounds::ItemStack_save>, optional "LootTable" as loot_table: CowStr, optional "LootTableSeed" as loot_table_seed: i64 }
        CommandBlockEntity > BlockEntity { "Command" as command: CowStr, "CustomName" as custom_name: CowStr, optional "LastExecution" as last_execution: i64, optional "LastOutput" as last_output: CowStr, "SuccessCount" as success_count: i32, "TrackOutput" as track_output: bool, "UpdateLastExecution" as update_last_execution: bool, "auto" as auto: bool, "conditionMet" as condition_met: bool, "powered" as powered: bool }
        ComparatorBlockEntity > BlockEntity { "OutputSignal" as output_signal: i32 }
        ConduitBlockEntity > BlockEntity { optional "target_uuid" as target_uuid: super::compounds::NbtUtils_createUUIDTag }
        DaylightDetectorBlockEntity > BlockEntity {  }
        DispenserBlockEntity > RandomizableContainerBlockEntity { optional "Items" as items: Vec<super::compounds::ItemStack_save>, optional "LootTable" as loot_table: CowStr, optional "LootTableSeed" as loot_table_seed: i64 }
        DropperBlockEntity > DispenserBlockEntity {  }
        EnchantmentTableBlockEntity > BlockEntity { optional "CustomName" as custom_name: CowStr }
        EnderChestBlockEntity > BlockEntity {  }
        FurnaceBlockEntity > AbstractFurnaceBlockEntity {  }
        HopperBlockEntity > RandomizableContainerBlockEntity { optional "Items" as items: Vec<super::compounds::ItemStack_save>, optional "LootTable" as loot_table: CowStr, optional "LootTableSeed" as loot_table_seed: i64, "TransferCooldown" as transfer_cooldown: i32 }
        JigsawBlockEntity > BlockEntity { "attachement_type" as attachement_type: CowStr, "final_state" as final_state: CowStr, "target_pool" as target_pool: CowStr }
        JukeboxBlockEntity > BlockEntity { optional "RecordItem" as record_item: super::compounds::ItemStack_save_1 }
        LecternBlockEntity > BlockEntity { optional "Book" as book: super::compounds::ItemStack_save_1, optional "Page" as page: i32 }
        PistonMovingBlockEntity > BlockEntity { "blockState" as block_state: super::BlockState, "extending" as extending: bool, "facing" as facing: i32, "progress" as progress: f32, "source" as source: bool }
        RandomizableContainerBlockEntity > BaseContainerBlockEntity {  }
        ShulkerBoxBlockEntity > RandomizableContainerBlockEntity { optional "Items" as items: Vec<super::compounds::ItemStack_save>, optional "LootTable" as loot_table: CowStr, optional "LootTableSeed" as loot_table_seed: i64 }
        SignBlockEntity > BlockEntity { "Color" as color: CowStr, "Text1" as text1: CowStr, "Text2" as text2: CowStr, "Text3" as text3: CowStr, "Text4" as text4: CowStr }
        SkullBlockEntity > BlockEntity { optional "Owner" as owner: super::compounds::NbtUtils_writeGameProfile }
        SmokerBlockEntity > AbstractFurnaceBlockEntity {  }
        SpawnerBlockEntity > BlockEntity { optional "Delay" as delay: i16, optional "MaxNearbyEntities" as max_nearby_entities: i16, optional "MaxSpawnDelay" as max_spawn_delay: i16, optional "MinSpawnDelay" as min_spawn_delay: i16, optional "RequiredPlayerRange" as required_player_range: i16, optional "SpawnCount" as spawn_count: i16, optional "SpawnData" as spawn_data: HashMap<CowStr, fastnbt::Value>, optional "SpawnPotentials" as spawn_potentials: Vec<super::compounds::SpawnData_save>, optional "SpawnRange" as spawn_range: i16 }
        StructureBlockEntity > BlockEntity { "author" as author: CowStr, "ignoreEntities" as ignore_entities: bool, "integrity" as integrity: f32, "metadata" as metadata: CowStr, "mirror" as mirror: CowStr, "mode" as mode: CowStr, "name" as name: CowStr, "posX" as pos_x: i32, "posY" as pos_y: i32, "posZ" as pos_z: i32, "powered" as powered: bool, "rotation" as rotation: CowStr, "seed" as seed: i64, "showair" as showair: bool, "showboundingbox" as showboundingbox: bool, "sizeX" as size_x: i32, "sizeY" as size_y: i32, "sizeZ" as size_z: i32 }
        TheEndGatewayBlockEntity > TheEndPortalBlockEntity { "Age" as age: i64, optional "ExactTeleport" as exact_teleport: bool, optional "ExitPortal" as exit_portal: super::compounds::NbtUtils_writeBlockPos }
        TheEndPortalBlockEntity > BlockEntity {  }
        TrappedChestBlockEntity > ChestBlockEntity {  }
    }

    block_entity_compound_types! {
        "1.14";
        Compound3 { optional "Signature" as signature: CowStr, "Value" as value: CowStr }
        ItemStack_save { "Count" as count: u8, "Slot" as slot: u8, "id" as id: CowStr, optional "tag" as tag: HashMap<CowStr, fastnbt::Value> }
        ItemStack_save_1 { "Count" as count: u8, "id" as id: CowStr, optional "tag" as tag: HashMap<CowStr, fastnbt::Value> }
        NbtUtils_createUUIDTag { "L" as l: i64, "M" as m: i64 }
        NbtUtils_writeBlockPos { "X" as x: i32, "Y" as y: i32, "Z" as z: i32 }
        NbtUtils_writeGameProfile { optional "Id" as id: CowStr, optional "Name" as name: CowStr, optional "Properties" as properties: HashMap<CowStr, Vec<super::compounds::Compound3>> }
        SpawnData_save { "Entity" as entity: HashMap<CowStr, fastnbt::Value>, "Weight" as weight: i32 }
    }
}

/// Accompanying types for block entities in Minecraft 1.15.
#[cfg(feature = "1.15")]
pub mod mc1_15 {
    block_entities! {
        "1.15", mc1_15;
        "minecraft:banner", Banner: BannerBlockEntity (> BlockEntity), ["CustomName", "Patterns"];
        "minecraft:barrel", Barrel: BarrelBlockEntity (> > > BlockEntity), ["Items", "LootTable", "LootTableSeed", "CustomName", "Lock"];
        "minecraft:beacon", Beacon: BeaconBlockEntity (> BlockEntity), ["CustomName", "Levels", "Lock", "Primary", "Secondary"];
        "minecraft:bed", Bed: BedBlockEntity (> BlockEntity), [];
        "minecraft:beehive", Beehive: BeehiveBlockEntity (> BlockEntity), ["Bees", "FlowerPos"];
        "minecraft:bell", Bell: BellBlockEntity (> BlockEntity), [];
        "minecraft:blast_furnace", BlastFurnace: BlastFurnaceBlockEntity (> > > BlockEntity), ["BurnTime", "CookTime", "CookTimeTotal", "Items", "RecipesUsedSize", "CustomName", "Lock"];
        "minecraft:brewing_stand", BrewingStand: BrewingStandBlockEntity (> > BlockEntity), ["BrewTime", "Fuel", "Items", "CustomName", "Lock"];
        "minecraft:campfire", Campfire: CampfireBlockEntity (> BlockEntity), ["CookingTimes", "CookingTotalTimes", "Items", "id", "x", "y", "z"];
        "minecraft:chest", Chest: ChestBlockEntity (> > > BlockEntity), ["Items", "LootTable", "LootTableSeed", "CustomName", "Lock"];
        "minecraft:command_block", CommandBlock: CommandBlockEntity (> BlockEntity), ["Command", "CustomName", "LastExecution", "LastOutput", "SuccessCount", "TrackOutput", "UpdateLastExecution", "auto", "conditionMet", "powered"];
        "minecraft:comparator", Comparator: ComparatorBlockEntity (> BlockEntity), ["OutputSignal"];
        "minecraft:conduit", Conduit: ConduitBlockEntity (> BlockEntity), ["target_uuid"];
        "minecraft:daylight_detector", DaylightDetector: DaylightDetectorBlockEntity (> BlockEntity), [];
        "minecraft:dispenser", Dispenser: DispenserBlockEntity (> > > BlockEntity), ["Items", "LootTable", "LootTableSeed", "CustomName", "Lock"];
        "minecraft:dropper", Dropper: DropperBlockEntity (> > > > BlockEntity), ["Items", "LootTable", "LootTableSeed", "CustomName", "Lock"];
        "minecraft:enchanting_table", EnchantingTable: EnchantmentTableBlockEntity (> BlockEntity), ["CustomName"];
        "minecraft:end_gateway", EndGateway: TheEndGatewayBlockEntity (> > BlockEntity), ["Age", "ExactTeleport", "ExitPortal"];
        "minecraft:end_portal", EndPortal: TheEndPortalBlockEntity (> BlockEntity), [];
        "minecraft:ender_chest", EnderChest: EnderChestBlockEntity (> BlockEntity), [];
        "minecraft:furnace", Furnace: FurnaceBlockEntity (> > > BlockEntity), ["BurnTime", "CookTime", "CookTimeTotal", "Items", "RecipesUsedSize", "CustomName", "Lock"];
        "minecraft:hopper", Hopper: HopperBlockEntity (> > > BlockEntity), ["Items", "LootTable", "LootTableSeed", "TransferCooldown", "CustomName", "Lock"];
        "minecraft:jigsaw", Jigsaw: JigsawBlockEntity (> BlockEntity), ["attachement_type", "final_state", "target_pool"];
        "minecraft:jukebox", Jukebox: JukeboxBlockEntity (> BlockEntity), ["RecordItem"];
        "minecraft:lectern", Lectern: LecternBlockEntity (> BlockEntity), ["Book", "Page"];
        "minecraft:mob_spawner", MobSpawner: SpawnerBlockEntity (> BlockEntity), ["Delay", "MaxNearbyEntities", "MaxSpawnDelay", "MinSpawnDelay", "RequiredPlayerRange", "SpawnCount", "SpawnData", "SpawnPotentials", "SpawnRange"];
        "minecraft:piston", Piston: PistonMovingBlockEntity (> BlockEntity), ["blockState", "extending", "facing", "progress", "source"];
        "minecraft:shulker_box", ShulkerBox: ShulkerBoxBlockEntity (> > > BlockEntity), ["Items", "LootTable", "LootTableSeed", "CustomName", "Lock"];
        "minecraft:sign", Sign: SignBlockEntity (> BlockEntity), ["Color", "Text1", "Text2", "Text3", "Text4"];
        "minecraft:skull", Skull: SkullBlockEntity (> BlockEntity), ["Owner"];
        "minecraft:smoker", Smoker: SmokerBlockEntity (> > > BlockEntity), ["BurnTime", "CookTime", "CookTimeTotal", "Items", "RecipesUsedSize", "CustomName", "Lock"];
        "minecraft:structure_block", StructureBlock: StructureBlockEntity (> BlockEntity), ["author", "ignoreEntities", "integrity", "metadata", "mirror", "mode", "name", "posX", "posY", "posZ", "powered", "rotation", "seed", "showair", "showboundingbox", "sizeX", "sizeY", "sizeZ"];
        "minecraft:trapped_chest", TrappedChest: TrappedChestBlockEntity (> > > > BlockEntity), ["Items", "LootTable", "LootTableSeed", "CustomName", "Lock"];
    }

    block_entity_types! {
        "1.15";
        AbstractFurnaceBlockEntity > BaseContainerBlockEntity, with extras as fastnbt::Value { "BurnTime" as burn_time: i16, "CookTime" as cook_time: i16, "CookTimeTotal" as cook_time_total: i16, optional "Items" as items: Vec<super::compounds::ItemStack_save>, "RecipesUsedSize" as recipes_used_size: i16 }
        BannerBlockEntity > BlockEntity { optional "CustomName" as custom_name: CowStr, optional "Patterns" as patterns: Vec<fastnbt::Value> }
        BarrelBlockEntity > RandomizableContainerBlockEntity { optional "Items" as items: Vec<super::compounds::ItemStack_save>, optional "LootTable" as loot_table: CowStr, optional "LootTableSeed" as loot_table_seed: i64 }
        BaseContainerBlockEntity > BlockEntity { optional "CustomName" as custom_name: CowStr, optional "Lock" as lock: CowStr }
        BeaconBlockEntity > BlockEntity { optional "CustomName" as custom_name: CowStr, "Levels" as levels: i32, optional "Lock" as lock: CowStr, "Primary" as primary: i32, "Secondary" as secondary: i32 }
        BedBlockEntity > BlockEntity {  }
        BeehiveBlockEntity > BlockEntity { "Bees" as bees: Vec<super::compounds::Compound7>, optional "FlowerPos" as flower_pos: super::compounds::NbtUtils_writeBlockPos }
        BellBlockEntity > BlockEntity {  }
        BlastFurnaceBlockEntity > AbstractFurnaceBlockEntity {  }
        BlockEntity { "x" as x: i32, "y" as y: i32, "z" as z: i32 }
        BrewingStandBlockEntity > BaseContainerBlockEntity { "BrewTime" as brew_time: i16, "Fuel" as fuel: u8, optional "Items" as items: Vec<super::compounds::ItemStack_save> }
        CampfireBlockEntity > BlockEntity { "CookingTimes" as cooking_times: fastnbt::IntArray, "CookingTotalTimes" as cooking_total_times: fastnbt::IntArray, optional "Items" as items: Vec<super::compounds::ItemStack_save>, "id" as id: CowStr, "x" as x: i32, "y" as y: i32, "z" as z: i32 }
        ChestBlockEntity > RandomizableContainerBlockEntity { optional "Items" as items: Vec<super::compounds::ItemStack_save>, optional "LootTable" as loot_table: CowStr, optional "LootTableSeed" as loot_table_seed: i64 }
        CommandBlockEntity > BlockEntity { "Command" as command: CowStr, "CustomName" as custom_name: CowStr, optional "LastExecution" as last_execution: i64, optional "LastOutput" as last_output: CowStr, "SuccessCount" as success_count: i32, "TrackOutput" as track_output: bool, "UpdateLastExecution" as update_last_execution: bool, "auto" as auto: bool, "conditionMet" as condition_met: bool, "powered" as powered: bool }
        ComparatorBlockEntity > BlockEntity { "OutputSignal" as output_signal: i32 }
        ConduitBlockEntity > BlockEntity { optional "target_uuid" as target_uuid: super::compounds::NbtUtils_createUUIDTag }
        DaylightDetectorBlockEntity > BlockEntity {  }
        DispenserBlockEntity > RandomizableContainerBlockEntity { optional "Items" as items: Vec<super::compounds::ItemStack_save>, optional "LootTable" as loot_table: CowStr, optional "LootTableSeed" as loot_table_seed: i64 }
        DropperBlockEntity > DispenserBlockEntity {  }
        EnchantmentTableBlockEntity > BlockEntity { optional "CustomName" as custom_name: CowStr }
        EnderChestBlockEntity > BlockEntity {  }
        FurnaceBlockEntity > AbstractFurnaceBlockEntity {  }
        HopperBlockEntity > RandomizableContainerBlockEntity { optional "Items" as items: Vec<super::compounds::ItemStack_save>, optional "LootTable" as loot_table: CowStr, optional "LootTableSeed" as loot_table_seed: i64, "TransferCooldown" as transfer_cooldown: i32 }
        JigsawBlockEntity > BlockEntity { "attachement_type" as attachement_type: CowStr, "final_state" as final_state: CowStr, "target_pool" as target_pool: CowStr }
        JukeboxBlockEntity > BlockEntity { optional "RecordItem" as record_item: super::compounds::ItemStack_save_1 }
        LecternBlockEntity > BlockEntity { optional "Book" as book: super::compounds::ItemStack_save_1, optional "Page" as page: i32 }
        PistonMovingBlockEntity > BlockEntity { "blockState" as block_state: super::BlockState, "extending" as extending: bool, "facing" as facing: i32, "progress" as progress: f32, "source" as source: bool }
        RandomizableContainerBlockEntity > BaseContainerBlockEntity {  }
        ShulkerBoxBlockEntity > RandomizableContainerBlockEntity { optional "Items" as items: Vec<super::compounds::ItemStack_save>, optional "LootTable" as loot_table: CowStr, optional "LootTableSeed" as loot_table_seed: i64 }
        SignBlockEntity > BlockEntity { "Color" as color: CowStr, "Text1" as text1: CowStr, "Text2" as text2: CowStr, "Text3" as text3: CowStr, "Text4" as text4: CowStr }
        SkullBlockEntity > BlockEntity { optional "Owner" as owner: super::compounds::NbtUtils_writeGameProfile }
        SmokerBlockEntity > AbstractFurnaceBlockEntity {  }
        SpawnerBlockEntity > BlockEntity { optional "Delay" as delay: i16, optional "MaxNearbyEntities" as max_nearby_entities: i16, optional "MaxSpawnDelay" as max_spawn_delay: i16, optional "MinSpawnDelay" as min_spawn_delay: i16, optional "RequiredPlayerRange" as required_player_range: i16, optional "SpawnCount" as spawn_count: i16, optional "SpawnData" as spawn_data: HashMap<CowStr, fastnbt::Value>, optional "SpawnPotentials" as spawn_potentials: Vec<super::compounds::SpawnData_save>, optional "SpawnRange" as spawn_range: i16 }
        StructureBlockEntity > BlockEntity { "author" as author: CowStr, "ignoreEntities" as ignore_entities: bool, "integrity" as integrity: f32, "metadata" as metadata: CowStr, "mirror" as mirror: CowStr, "mode" as mode: CowStr, "name" as name: CowStr, "posX" as pos_x: i32, "posY" as pos_y: i32, "posZ" as pos_z: i32, "powered" as powered: bool, "rotation" as rotation: CowStr, "seed" as seed: i64, "showair" as showair: bool, "showboundingbox" as showboundingbox: bool, "sizeX" as size_x: i32, "sizeY" as size_y: i32, "sizeZ" as size_z: i32 }
        TheEndGatewayBlockEntity > TheEndPortalBlockEntity { "Age" as age: i64, optional "ExactTeleport" as exact_teleport: bool, optional "ExitPortal" as exit_portal: super::compounds::NbtUtils_writeBlockPos }
        TheEndPortalBlockEntity > BlockEntity {  }
        TrappedChestBlockEntity > ChestBlockEntity {  }
    }

    block_entity_compound_types! {
        "1.15";
        Compound3 { optional "Signature" as signature: CowStr, "Value" as value: CowStr }
        Compound7 { "EntityData" as entity_data: HashMap<CowStr, fastnbt::Value>, "MinOccupationTicks" as min_occupation_ticks: i32, "TicksInHive" as ticks_in_hive: i32 }
        ItemStack_save { "Count" as count: u8, "Slot" as slot: u8, "id" as id: CowStr, optional "tag" as tag: HashMap<CowStr, fastnbt::Value> }
        ItemStack_save_1 { "Count" as count: u8, "id" as id: CowStr, optional "tag" as tag: HashMap<CowStr, fastnbt::Value> }
        NbtUtils_createUUIDTag { "L" as l: i64, "M" as m: i64 }
        NbtUtils_writeBlockPos { "X" as x: i32, "Y" as y: i32, "Z" as z: i32 }
        NbtUtils_writeGameProfile { optional "Id" as id: CowStr, optional "Name" as name: CowStr, optional "Properties" as properties: HashMap<CowStr, Vec<super::compounds::Compound3>> }
        SpawnData_save { "Entity" as entity: HashMap<CowStr, fastnbt::Value>, "Weight" as weight: i32 }
    }
}

/// Accompanying types for block entities in Minecraft 1.15.2.
#[cfg(feature = "1.15.2")]
pub mod mc1_15_2 {
    block_entities! {
        "1.15.2", mc1_15_2;
        "minecraft:banner", Banner: BannerBlockEntity (> BlockEntity), ["CustomName", "Patterns"];
        "minecraft:barrel", Barrel: BarrelBlockEntity (> > > BlockEntity), ["Items", "LootTable", "LootTableSeed", "CustomName", "Lock"];
        "minecraft:beacon", Beacon: BeaconBlockEntity (> BlockEntity), ["CustomName", "Levels", "Lock", "Primary", "Secondary"];
        "minecraft:bed", Bed: BedBlockEntity (> BlockEntity), [];
        "minecraft:beehive", Beehive: BeehiveBlockEntity (> BlockEntity), ["Bees", "FlowerPos"];
        "minecraft:bell", Bell: BellBlockEntity (> BlockEntity), [];
        "minecraft:blast_furnace", BlastFurnace: BlastFurnaceBlockEntity (> > > BlockEntity), ["BurnTime", "CookTime", "CookTimeTotal", "Items", "RecipesUsedSize", "CustomName", "Lock"];
        "minecraft:brewing_stand", BrewingStand: BrewingStandBlockEntity (> > BlockEntity), ["BrewTime", "Fuel", "Items", "CustomName", "Lock"];
        "minecraft:campfire", Campfire: CampfireBlockEntity (> BlockEntity), ["CookingTimes", "CookingTotalTimes", "Items", "id", "x", "y", "z"];
        "minecraft:chest", Chest: ChestBlockEntity (> > > BlockEntity), ["Items", "LootTable", "LootTableSeed", "CustomName", "Lock"];
        "minecraft:command_block", CommandBlock: CommandBlockEntity (> BlockEntity), ["Command", "CustomName", "LastExecution", "LastOutput", "SuccessCount", "TrackOutput", "UpdateLastExecution", "auto", "conditionMet", "powered"];
        "minecraft:comparator", Comparator: ComparatorBlockEntity (> BlockEntity), ["OutputSignal"];
        "minecraft:conduit", Conduit: ConduitBlockEntity (> BlockEntity), ["target_uuid"];
        "minecraft:daylight_detector", DaylightDetector: DaylightDetectorBlockEntity (> BlockEntity), [];
        "minecraft:dispenser", Dispenser: DispenserBlockEntity (> > > BlockEntity), ["Items", "LootTable", "LootTableSeed", "CustomName", "Lock"];
        "minecraft:dropper", Dropper: DropperBlockEntity (> > > > BlockEntity), ["Items", "LootTable", "LootTableSeed", "CustomName", "Lock"];
        "minecraft:enchanting_table", EnchantingTable: EnchantmentTableBlockEntity (> BlockEntity), ["CustomName"];
        "minecraft:end_gateway", EndGateway: TheEndGatewayBlockEntity (> > BlockEntity), ["Age", "ExactTeleport", "ExitPortal"];
        "minecraft:end_portal", EndPortal: TheEndPortalBlockEntity (> BlockEntity), [];
        "minecraft:ender_chest", EnderChest: EnderChestBlockEntity (> BlockEntity), [];
        "minecraft:furnace", Furnace: FurnaceBlockEntity (> > > BlockEntity), ["BurnTime", "CookTime", "CookTimeTotal", "Items", "RecipesUsedSize", "CustomName", "Lock"];
        "minecraft:hopper", Hopper: HopperBlockEntity (> > > BlockEntity), ["Items", "LootTable", "LootTableSeed", "TransferCooldown", "CustomName", "Lock"];
        "minecraft:jigsaw", Jigsaw: JigsawBlockEntity (> BlockEntity), ["attachement_type", "final_state", "target_pool"];
        "minecraft:jukebox", Jukebox: JukeboxBlockEntity (> BlockEntity), ["RecordItem"];
        "minecraft:lectern", Lectern: LecternBlockEntity (> BlockEntity), ["Book", "Page"];
        "minecraft:mob_spawner", MobSpawner: SpawnerBlockEntity (> BlockEntity), ["Delay", "MaxNearbyEntities", "MaxSpawnDelay", "MinSpawnDelay", "RequiredPlayerRange", "SpawnCount", "SpawnData", "SpawnPotentials", "SpawnRange"];
        "minecraft:piston", Piston: PistonMovingBlockEntity (> BlockEntity), ["blockState", "extending", "facing", "progress", "source"];
        "minecraft:shulker_box", ShulkerBox: ShulkerBoxBlockEntity (> > > BlockEntity), ["Items", "LootTable", "LootTableSeed", "CustomName", "Lock"];
        "minecraft:sign", Sign: SignBlockEntity (> BlockEntity), ["Color", "Text1", "Text2", "Text3", "Text4"];
        "minecraft:skull", Skull: SkullBlockEntity (> BlockEntity), ["Owner"];
        "minecraft:smoker", Smoker: SmokerBlockEntity (> > > BlockEntity), ["BurnTime", "CookTime", "CookTimeTotal", "Items", "RecipesUsedSize", "CustomName", "Lock"];
        "minecraft:structure_block", StructureBlock: StructureBlockEntity (> BlockEntity), ["author", "ignoreEntities", "integrity", "metadata", "mirror", "mode", "name", "posX", "posY", "posZ", "powered", "rotation", "seed", "showair", "showboundingbox", "sizeX", "sizeY", "sizeZ"];
        "minecraft:trapped_chest", TrappedChest: TrappedChestBlockEntity (> > > > BlockEntity), ["Items", "LootTable", "LootTableSeed", "CustomName", "Lock"];
    }

    block_entity_types! {
        "1.15.2";
        AbstractFurnaceBlockEntity > BaseContainerBlockEntity, with extras as fastnbt::Value { "BurnTime" as burn_time: i16, "CookTime" as cook_time: i16, "CookTimeTotal" as cook_time_total: i16, optional "Items" as items: Vec<super::compounds::ItemStack_save>, "RecipesUsedSize" as recipes_used_size: i16 }
        BannerBlockEntity > BlockEntity { optional "CustomName" as custom_name: CowStr, optional "Patterns" as patterns: Vec<fastnbt::Value> }
        BarrelBlockEntity > RandomizableContainerBlockEntity { optional "Items" as items: Vec<super::compounds::ItemStack_save>, optional "LootTable" as loot_table: CowStr, optional "LootTableSeed" as loot_table_seed: i64 }
        BaseContainerBlockEntity > BlockEntity { optional "CustomName" as custom_name: CowStr, optional "Lock" as lock: CowStr }
        BeaconBlockEntity > BlockEntity { optional "CustomName" as custom_name: CowStr, "Levels" as levels: i32, optional "Lock" as lock: CowStr, "Primary" as primary: i32, "Secondary" as secondary: i32 }
        BedBlockEntity > BlockEntity {  }
        BeehiveBlockEntity > BlockEntity { "Bees" as bees: Vec<super::compounds::Compound7>, optional "FlowerPos" as flower_pos: super::compounds::NbtUtils_writeBlockPos }
        BellBlockEntity > BlockEntity {  }
        BlastFurnaceBlockEntity > AbstractFurnaceBlockEntity {  }
        BlockEntity { "x" as x: i32, "y" as y: i32, "z" as z: i32 }
        BrewingStandBlockEntity > BaseContainerBlockEntity { "BrewTime" as brew_time: i16, "Fuel" as fuel: u8, optional "Items" as items: Vec<super::compounds::ItemStack_save> }
        CampfireBlockEntity > BlockEntity { "CookingTimes" as cooking_times: fastnbt::IntArray, "CookingTotalTimes" as cooking_total_times: fastnbt::IntArray, optional "Items" as items: Vec<super::compounds::ItemStack_save>, "id" as id: CowStr, "x" as x: i32, "y" as y: i32, "z" as z: i32 }
        ChestBlockEntity > RandomizableContainerBlockEntity { optional "Items" as items: Vec<super::compounds::ItemStack_save>, optional "LootTable" as loot_table: CowStr, optional "LootTableSeed" as loot_table_seed: i64 }
        CommandBlockEntity > BlockEntity { "Command" as command: CowStr, "CustomName" as custom_name: CowStr, optional "LastExecution" as last_execution: i64, optional "LastOutput" as last_output: CowStr, "SuccessCount" as success_count: i32, "TrackOutput" as track_output: bool, "UpdateLastExecution" as update_last_execution: bool, "auto" as auto: bool, "conditionMet" as condition_met: bool, "powered" as powered: bool }
        ComparatorBlockEntity > BlockEntity { "OutputSignal" as output_signal: i32 }
        ConduitBlockEntity > BlockEntity { optional "target_uuid" as target_uuid: super::compounds::NbtUtils_createUUIDTag }
        DaylightDetectorBlockEntity > BlockEntity {  }
        DispenserBlockEntity > RandomizableContainerBlockEntity { optional "Items" as items: Vec<super::compounds::ItemStack_save>, optional "LootTable" as loot_table: CowStr, optional "LootTableSeed" as loot_table_seed: i64 }
        DropperBlockEntity > DispenserBlockEntity {  }
        EnchantmentTableBlockEntity > BlockEntity { optional "CustomName" as custom_name: CowStr }
        EnderChestBlockEntity > BlockEntity {  }
        FurnaceBlockEntity > AbstractFurnaceBlockEntity {  }
        HopperBlockEntity > RandomizableContainerBlockEntity { optional "Items" as items: Vec<super::compounds::ItemStack_save>, optional "LootTable" as loot_table: CowStr, optional "LootTableSeed" as loot_table_seed: i64, "TransferCooldown" as transfer_cooldown: i32 }
        JigsawBlockEntity > BlockEntity { "attachement_type" as attachement_type: CowStr, "final_state" as final_state: CowStr, "target_pool" as target_pool: CowStr }
        JukeboxBlockEntity > BlockEntity { optional "RecordItem" as record_item: super::compounds::ItemStack_save_1 }
        LecternBlockEntity > BlockEntity { optional "Book" as book: super::compounds::ItemStack_save_1, optional "Page" as page: i32 }
        PistonMovingBlockEntity > BlockEntity { "blockState" as block_state: super::BlockState, "extending" as extending: bool, "facing" as facing: i32, "progress" as progress: f32, "source" as source: bool }
        RandomizableContainerBlockEntity > BaseContainerBlockEntity {  }
        ShulkerBoxBlockEntity > RandomizableContainerBlockEntity { optional "Items" as items: Vec<super::compounds::ItemStack_save>, optional "LootTable" as loot_table: CowStr, optional "LootTableSeed" as loot_table_seed: i64 }
        SignBlockEntity > BlockEntity { "Color" as color: CowStr, "Text1" as text1: CowStr, "Text2" as text2: CowStr, "Text3" as text3: CowStr, "Text4" as text4: CowStr }
        SkullBlockEntity > BlockEntity { optional "Owner" as owner: super::compounds::NbtUtils_writeGameProfile }
        SmokerBlockEntity > AbstractFurnaceBlockEntity {  }
        SpawnerBlockEntity > BlockEntity { optional "Delay" as delay: i16, optional "MaxNearbyEntities" as max_nearby_entities: i16, optional "MaxSpawnDelay" as max_spawn_delay: i16, optional "MinSpawnDelay" as min_spawn_delay: i16, optional "RequiredPlayerRange" as required_player_range: i16, optional "SpawnCount" as spawn_count: i16, optional "SpawnData" as spawn_data: HashMap<CowStr, fastnbt::Value>, optional "SpawnPotentials" as spawn_potentials: Vec<super::compounds::SpawnData_save>, optional "SpawnRange" as spawn_range: i16 }
        StructureBlockEntity > BlockEntity { "author" as author: CowStr, "ignoreEntities" as ignore_entities: bool, "integrity" as integrity: f32, "metadata" as metadata: CowStr, "mirror" as mirror: CowStr, "mode" as mode: CowStr, "name" as name: CowStr, "posX" as pos_x: i32, "posY" as pos_y: i32, "posZ" as pos_z: i32, "powered" as powered: bool, "rotation" as rotation: CowStr, "seed" as seed: i64, "showair" as showair: bool, "showboundingbox" as showboundingbox: bool, "sizeX" as size_x: i32, "sizeY" as size_y: i32, "sizeZ" as size_z: i32 }
        TheEndGatewayBlockEntity > TheEndPortalBlockEntity { "Age" as age: i64, optional "ExactTeleport" as exact_teleport: bool, optional "ExitPortal" as exit_portal: super::compounds::NbtUtils_writeBlockPos }
        TheEndPortalBlockEntity > BlockEntity {  }
        TrappedChestBlockEntity > ChestBlockEntity {  }
    }

    block_entity_compound_types! {
        "1.15.2";
        Compound3 { optional "Signature" as signature: CowStr, "Value" as value: CowStr }
        Compound7 { "EntityData" as entity_data: HashMap<CowStr, fastnbt::Value>, "MinOccupationTicks" as min_occupation_ticks: i32, "TicksInHive" as ticks_in_hive: i32 }
        ItemStack_save { "Count" as count: u8, "Slot" as slot: u8, "id" as id: CowStr, optional "tag" as tag: HashMap<CowStr, fastnbt::Value> }
        ItemStack_save_1 { "Count" as count: u8, "id" as id: CowStr, optional "tag" as tag: HashMap<CowStr, fastnbt::Value> }
        NbtUtils_createUUIDTag { "L" as l: i64, "M" as m: i64 }
        NbtUtils_writeBlockPos { "X" as x: i32, "Y" as y: i32, "Z" as z: i32 }
        NbtUtils_writeGameProfile { optional "Id" as id: CowStr, optional "Name" as name: CowStr, optional "Properties" as properties: HashMap<CowStr, Vec<super::compounds::Compound3>> }
        SpawnData_save { "Entity" as entity: HashMap<CowStr, fastnbt::Value>, "Weight" as weight: i32 }
    }
}

/// Accompanying types for block entities in Minecraft 1.16.
#[cfg(feature = "1.16")]
pub mod mc1_16 {
    block_entities! {
        "1.16", mc1_16;
        "minecraft:banner", Banner: BannerBlockEntity (> BlockEntity), ["CustomName", "Patterns"];
        "minecraft:barrel", Barrel: BarrelBlockEntity (> > > BlockEntity), ["Items", "LootTable", "LootTableSeed", "CustomName", "Lock"];
        "minecraft:beacon", Beacon: BeaconBlockEntity (> BlockEntity), ["CustomName", "Levels", "Lock", "Primary", "Secondary"];
        "minecraft:bed", Bed: BedBlockEntity (> BlockEntity), [];
        "minecraft:beehive", Beehive: BeehiveBlockEntity (> BlockEntity), ["Bees", "FlowerPos"];
        "minecraft:bell", Bell: BellBlockEntity (> BlockEntity), [];
        "minecraft:blast_furnace", BlastFurnace: BlastFurnaceBlockEntity (> > > BlockEntity), ["BurnTime", "CookTime", "CookTimeTotal", "Items", "RecipesUsed", "CustomName", "Lock"];
        "minecraft:brewing_stand", BrewingStand: BrewingStandBlockEntity (> > BlockEntity), ["BrewTime", "Fuel", "Items", "CustomName", "Lock"];
        "minecraft:campfire", Campfire: CampfireBlockEntity (> BlockEntity), ["CookingTimes", "CookingTotalTimes", "Items", "id", "x", "y", "z"];
        "minecraft:chest", Chest: ChestBlockEntity (> > > BlockEntity), ["Items", "LootTable", "LootTableSeed", "CustomName", "Lock"];
        "minecraft:command_block", CommandBlock: CommandBlockEntity (> BlockEntity), ["Command", "CustomName", "LastExecution", "LastOutput", "SuccessCount", "TrackOutput", "UpdateLastExecution", "auto", "conditionMet", "powered"];
        "minecraft:comparator", Comparator: ComparatorBlockEntity (> BlockEntity), ["OutputSignal"];
        "minecraft:conduit", Conduit: ConduitBlockEntity (> BlockEntity), ["Target"];
        "minecraft:daylight_detector", DaylightDetector: DaylightDetectorBlockEntity (> BlockEntity), [];
        "minecraft:dispenser", Dispenser: DispenserBlockEntity (> > > BlockEntity), ["Items", "LootTable", "LootTableSeed", "CustomName", "Lock"];
        "minecraft:dropper", Dropper: DropperBlockEntity (> > > > BlockEntity), ["Items", "LootTable", "LootTableSeed", "CustomName", "Lock"];
        "minecraft:enchanting_table", EnchantingTable: EnchantmentTableBlockEntity (> BlockEntity), ["CustomName"];
        "minecraft:end_gateway", EndGateway: TheEndGatewayBlockEntity (> > BlockEntity), ["Age", "ExactTeleport", "ExitPortal"];
        "minecraft:end_portal", EndPortal: TheEndPortalBlockEntity (> BlockEntity), [];
        "minecraft:ender_chest", EnderChest: EnderChestBlockEntity (> BlockEntity), [];
        "minecraft:furnace", Furnace: FurnaceBlockEntity (> > > BlockEntity), ["BurnTime", "CookTime", "CookTimeTotal", "Items", "RecipesUsed", "CustomName", "Lock"];
        "minecraft:hopper", Hopper: HopperBlockEntity (> > > BlockEntity), ["Items", "LootTable", "LootTableSeed", "TransferCooldown", "CustomName", "Lock"];
        "minecraft:jigsaw", Jigsaw: JigsawBlockEntity (> BlockEntity), ["final_state", "joint", "name", "pool", "target"];
        "minecraft:jukebox", Jukebox: JukeboxBlockEntity (> BlockEntity), ["RecordItem"];
        "minecraft:lectern", Lectern: LecternBlockEntity (> BlockEntity), ["Book", "Page"];
        "minecraft:mob_spawner", MobSpawner: SpawnerBlockEntity (> BlockEntity), ["Delay", "MaxNearbyEntities", "MaxSpawnDelay", "MinSpawnDelay", "RequiredPlayerRange", "SpawnCount", "SpawnData", "SpawnPotentials", "SpawnRange"];
        "minecraft:piston", Piston: PistonMovingBlockEntity (> BlockEntity), ["blockState", "extending", "facing", "progress", "source"];
        "minecraft:shulker_box", ShulkerBox: ShulkerBoxBlockEntity (> > > BlockEntity), ["Items", "LootTable", "LootTableSeed", "CustomName", "Lock"];
        "minecraft:sign", Sign: SignBlockEntity (> BlockEntity), ["Color", "Text1", "Text2", "Text3", "Text4"];
        "minecraft:skull", Skull: SkullBlockEntity (> BlockEntity), ["SkullOwner"];
        "minecraft:smoker", Smoker: SmokerBlockEntity (> > > BlockEntity), ["BurnTime", "CookTime", "CookTimeTotal", "Items", "RecipesUsed", "CustomName", "Lock"];
        "minecraft:structure_block", StructureBlock: StructureBlockEntity (> BlockEntity), ["author", "ignoreEntities", "integrity", "metadata", "mirror", "mode", "name", "posX", "posY", "posZ", "powered", "rotation", "seed", "showair", "showboundingbox", "sizeX", "sizeY", "sizeZ"];
        "minecraft:trapped_chest", TrappedChest: TrappedChestBlockEntity (> > > > BlockEntity), ["Items", "LootTable", "LootTableSeed", "CustomName", "Lock"];
    }

    block_entity_types! {
        "1.16";
        AbstractFurnaceBlockEntity > BaseContainerBlockEntity { "BurnTime" as burn_time: i16, "CookTime" as cook_time: i16, "CookTimeTotal" as cook_time_total: i16, optional "Items" as items: Vec<super::compounds::ItemStack_save>, "RecipesUsed" as recipes_used: HashMap<CowStr, i32> }
        BannerBlockEntity > BlockEntity { optional "CustomName" as custom_name: CowStr, optional "Patterns" as patterns: Vec<fastnbt::Value> }
        BarrelBlockEntity > RandomizableContainerBlockEntity { optional "Items" as items: Vec<super::compounds::ItemStack_save>, optional "LootTable" as loot_table: CowStr, optional "LootTableSeed" as loot_table_seed: i64 }
        BaseContainerBlockEntity > BlockEntity { optional "CustomName" as custom_name: CowStr, optional "Lock" as lock: CowStr }
        BeaconBlockEntity > BlockEntity { optional "CustomName" as custom_name: CowStr, "Levels" as levels: i32, optional "Lock" as lock: CowStr, "Primary" as primary: i32, "Secondary" as secondary: i32 }
        BedBlockEntity > BlockEntity {  }
        BeehiveBlockEntity > BlockEntity { "Bees" as bees: Vec<super::compounds::Compound6>, optional "FlowerPos" as flower_pos: super::compounds::NbtUtils_writeBlockPos }
        BellBlockEntity > BlockEntity {  }
        BlastFurnaceBlockEntity > AbstractFurnaceBlockEntity {  }
        BlockEntity { "x" as x: i32, "y" as y: i32, "z" as z: i32 }
        BrewingStandBlockEntity > BaseContainerBlockEntity { "BrewTime" as brew_time: i16, "Fuel" as fuel: u8, optional "Items" as items: Vec<super::compounds::ItemStack_save> }
        CampfireBlockEntity > BlockEntity { "CookingTimes" as cooking_times: fastnbt::IntArray, "CookingTotalTimes" as cooking_total_times: fastnbt::IntArray, optional "Items" as items: Vec<super::compounds::ItemStack_save>, "id" as id: CowStr, "x" as x: i32, "y" as y: i32, "z" as z: i32 }
        ChestBlockEntity > RandomizableContainerBlockEntity { optional "Items" as items: Vec<super::compounds::ItemStack_save>, optional "LootTable" as loot_table: CowStr, optional "LootTableSeed" as loot_table_seed: i64 }
        CommandBlockEntity > BlockEntity { "Command" as command: CowStr, "CustomName" as custom_name: CowStr, optional "LastExecution" as last_execution: i64, optional "LastOutput" as last_output: CowStr, "SuccessCount" as success_count: i32, "TrackOutput" as track_output: bool, "UpdateLastExecution" as update_last_execution: bool, "auto" as auto: bool, "conditionMet" as condition_met: bool, "powered" as powered: bool }
        ComparatorBlockEntity > BlockEntity { "OutputSignal" as output_signal: i32 }
        ConduitBlockEntity > BlockEntity { optional "Target" as target: u128 }
        DaylightDetectorBlockEntity > BlockEntity {  }
        DispenserBlockEntity > RandomizableContainerBlockEntity { optional "Items" as items: Vec<super::compounds::ItemStack_save>, optional "LootTable" as loot_table: CowStr, optional "LootTableSeed" as loot_table_seed: i64 }
        DropperBlockEntity > DispenserBlockEntity {  }
        EnchantmentTableBlockEntity > BlockEntity { optional "CustomName" as custom_name: CowStr }
        EnderChestBlockEntity > BlockEntity {  }
        FurnaceBlockEntity > AbstractFurnaceBlockEntity {  }
        HopperBlockEntity > RandomizableContainerBlockEntity { optional "Items" as items: Vec<super::compounds::ItemStack_save>, optional "LootTable" as loot_table: CowStr, optional "LootTableSeed" as loot_table_seed: i64, "TransferCooldown" as transfer_cooldown: i32 }
        JigsawBlockEntity > BlockEntity { "final_state" as final_state: CowStr, "joint" as joint: CowStr, "name" as name: CowStr, "pool" as pool: CowStr, "target" as target: CowStr }
        JukeboxBlockEntity > BlockEntity { optional "RecordItem" as record_item: super::compounds::ItemStack_save_1 }
        LecternBlockEntity > BlockEntity { optional "Book" as book: super::compounds::ItemStack_save_1, optional "Page" as page: i32 }
        PistonMovingBlockEntity > BlockEntity { "blockState" as block_state: super::BlockState, "extending" as extending: bool, "facing" as facing: i32, "progress" as progress: f32, "source" as source: bool }
        RandomizableContainerBlockEntity > BaseContainerBlockEntity {  }
        ShulkerBoxBlockEntity > RandomizableContainerBlockEntity { optional "Items" as items: Vec<super::compounds::ItemStack_save>, optional "LootTable" as loot_table: CowStr, optional "LootTableSeed" as loot_table_seed: i64 }
        SignBlockEntity > BlockEntity { "Color" as color: CowStr, "Text1" as text1: CowStr, "Text2" as text2: CowStr, "Text3" as text3: CowStr, "Text4" as text4: CowStr }
        SkullBlockEntity > BlockEntity { optional "SkullOwner" as skull_owner: super::compounds::NbtUtils_writeGameProfile }
        SmokerBlockEntity > AbstractFurnaceBlockEntity {  }
        SpawnerBlockEntity > BlockEntity { optional "Delay" as delay: i16, optional "MaxNearbyEntities" as max_nearby_entities: i16, optional "MaxSpawnDelay" as max_spawn_delay: i16, optional "MinSpawnDelay" as min_spawn_delay: i16, optional "RequiredPlayerRange" as required_player_range: i16, optional "SpawnCount" as spawn_count: i16, optional "SpawnData" as spawn_data: HashMap<CowStr, fastnbt::Value>, optional "SpawnPotentials" as spawn_potentials: Vec<super::compounds::SpawnData_save>, optional "SpawnRange" as spawn_range: i16 }
        StructureBlockEntity > BlockEntity { "author" as author: CowStr, "ignoreEntities" as ignore_entities: bool, "integrity" as integrity: f32, "metadata" as metadata: CowStr, "mirror" as mirror: CowStr, "mode" as mode: CowStr, "name" as name: CowStr, "posX" as pos_x: i32, "posY" as pos_y: i32, "posZ" as pos_z: i32, "powered" as powered: bool, "rotation" as rotation: CowStr, "seed" as seed: i64, "showair" as showair: bool, "showboundingbox" as showboundingbox: bool, "sizeX" as size_x: i32, "sizeY" as size_y: i32, "sizeZ" as size_z: i32 }
        TheEndGatewayBlockEntity > TheEndPortalBlockEntity { "Age" as age: i64, optional "ExactTeleport" as exact_teleport: bool, optional "ExitPortal" as exit_portal: super::compounds::NbtUtils_writeBlockPos }
        TheEndPortalBlockEntity > BlockEntity {  }
        TrappedChestBlockEntity > ChestBlockEntity {  }
    }

    block_entity_compound_types! {
        "1.16";
        Compound3 { optional "Signature" as signature: CowStr, "Value" as value: CowStr }
        Compound6 { "EntityData" as entity_data: HashMap<CowStr, fastnbt::Value>, "MinOccupationTicks" as min_occupation_ticks: i32, "TicksInHive" as ticks_in_hive: i32 }
        ItemStack_save { "Count" as count: u8, "Slot" as slot: u8, "id" as id: CowStr, optional "tag" as tag: HashMap<CowStr, fastnbt::Value> }
        ItemStack_save_1 { "Count" as count: u8, "id" as id: CowStr, optional "tag" as tag: HashMap<CowStr, fastnbt::Value> }
        NbtUtils_writeBlockPos { "X" as x: i32, "Y" as y: i32, "Z" as z: i32 }
        NbtUtils_writeGameProfile { optional "Id" as id: u128, optional "Name" as name: CowStr, optional "Properties" as properties: HashMap<CowStr, Vec<super::compounds::Compound3>> }
        SpawnData_save { "Entity" as entity: HashMap<CowStr, fastnbt::Value>, "Weight" as weight: i32 }
    }
}

/// Accompanying types for block entities in Minecraft 1.16.2.
#[cfg(feature = "1.16.2")]
pub mod mc1_16_2 {
    block_entities! {
        "1.16.2", mc1_16_2;
        "minecraft:banner", Banner: BannerBlockEntity (> BlockEntity), ["CustomName", "Patterns"];
        "minecraft:barrel", Barrel: BarrelBlockEntity (> > > BlockEntity), ["Items", "LootTable", "LootTableSeed", "CustomName", "Lock"];
        "minecraft:beacon", Beacon: BeaconBlockEntity (> BlockEntity), ["CustomName", "Levels", "Lock", "Primary", "Secondary"];
        "minecraft:bed", Bed: BedBlockEntity (> BlockEntity), [];
        "minecraft:beehive", Beehive: BeehiveBlockEntity (> BlockEntity), ["Bees", "FlowerPos"];
        "minecraft:bell", Bell: BellBlockEntity (> BlockEntity), [];
        "minecraft:blast_furnace", BlastFurnace: BlastFurnaceBlockEntity (> > > BlockEntity), ["BurnTime", "CookTime", "CookTimeTotal", "Items", "RecipesUsed", "CustomName", "Lock"];
        "minecraft:brewing_stand", BrewingStand: BrewingStandBlockEntity (> > BlockEntity), ["BrewTime", "Fuel", "Items", "CustomName", "Lock"];
        "minecraft:campfire", Campfire: CampfireBlockEntity (> BlockEntity), ["CookingTimes", "CookingTotalTimes", "Items", "id", "x", "y", "z"];
        "minecraft:chest", Chest: ChestBlockEntity (> > > BlockEntity), ["Items", "LootTable", "LootTableSeed", "CustomName", "Lock"];
        "minecraft:command_block", CommandBlock: CommandBlockEntity (> BlockEntity), ["Command", "CustomName", "LastExecution", "LastOutput", "SuccessCount", "TrackOutput", "UpdateLastExecution", "auto", "conditionMet", "powered"];
        "minecraft:comparator", Comparator: ComparatorBlockEntity (> BlockEntity), ["OutputSignal"];
        "minecraft:conduit", Conduit: ConduitBlockEntity (> BlockEntity), ["Target"];
        "minecraft:daylight_detector", DaylightDetector: DaylightDetectorBlockEntity (> BlockEntity), [];
        "minecraft:dispenser", Dispenser: DispenserBlockEntity (> > > BlockEntity), ["Items", "LootTable", "LootTableSeed", "CustomName", "Lock"];
        "minecraft:dropper", Dropper: DropperBlockEntity (> > > > BlockEntity), ["Items", "LootTable", "LootTableSeed", "CustomName", "Lock"];
        "minecraft:enchanting_table", EnchantingTable: EnchantmentTableBlockEntity (> BlockEntity), ["CustomName"];
        "minecraft:end_gateway", EndGateway: TheEndGatewayBlockEntity (> > BlockEntity), ["Age", "ExactTeleport", "ExitPortal"];
        "minecraft:end_portal", EndPortal: TheEndPortalBlockEntity (> BlockEntity), [];
        "minecraft:ender_chest", EnderChest: EnderChestBlockEntity (> BlockEntity), [];
        "minecraft:furnace", Furnace: FurnaceBlockEntity (> > > BlockEntity), ["BurnTime", "CookTime", "CookTimeTotal", "Items", "RecipesUsed", "CustomName", "Lock"];
        "minecraft:hopper", Hopper: HopperBlockEntity (> > > BlockEntity), ["Items", "LootTable", "LootTableSeed", "TransferCooldown", "CustomName", "Lock"];
        "minecraft:jigsaw", Jigsaw: JigsawBlockEntity (> BlockEntity), ["final_state", "joint", "name", "pool", "target"];
        "minecraft:jukebox", Jukebox: JukeboxBlockEntity (> BlockEntity), ["RecordItem"];
        "minecraft:lectern", Lectern: LecternBlockEntity (> BlockEntity), ["Book", "Page"];
        "minecraft:mob_spawner", MobSpawner: SpawnerBlockEntity (> BlockEntity), ["Delay", "MaxNearbyEntities", "MaxSpawnDelay", "MinSpawnDelay", "RequiredPlayerRange", "SpawnCount", "SpawnData", "SpawnPotentials", "SpawnRange"];
        "minecraft:piston", Piston: PistonMovingBlockEntity (> BlockEntity), ["blockState", "extending", "facing", "progress", "source"];
        "minecraft:shulker_box", ShulkerBox: ShulkerBoxBlockEntity (> > > BlockEntity), ["Items", "LootTable", "LootTableSeed", "CustomName", "Lock"];
        "minecraft:sign", Sign: SignBlockEntity (> BlockEntity), ["Color", "Text1", "Text2", "Text3", "Text4"];
        "minecraft:skull", Skull: SkullBlockEntity (> BlockEntity), ["SkullOwner"];
        "minecraft:smoker", Smoker: SmokerBlockEntity (> > > BlockEntity), ["BurnTime", "CookTime", "CookTimeTotal", "Items", "RecipesUsed", "CustomName", "Lock"];
        "minecraft:structure_block", StructureBlock: StructureBlockEntity (> BlockEntity), ["author", "ignoreEntities", "integrity", "metadata", "mirror", "mode", "name", "posX", "posY", "posZ", "powered", "rotation", "seed", "showair", "showboundingbox", "sizeX", "sizeY", "sizeZ"];
        "minecraft:trapped_chest", TrappedChest: TrappedChestBlockEntity (> > > > BlockEntity), ["Items", "LootTable", "LootTableSeed", "CustomName", "Lock"];
    }

    block_entity_types! {
        "1.16.2";
        AbstractFurnaceBlockEntity > BaseContainerBlockEntity { "BurnTime" as burn_time: i16, "CookTime" as cook_time: i16, "CookTimeTotal" as cook_time_total: i16, optional "Items" as items: Vec<super::compounds::ItemStack_save>, "RecipesUsed" as recipes_used: HashMap<CowStr, i32> }
        BannerBlockEntity > BlockEntity { optional "CustomName" as custom_name: CowStr, optional "Patterns" as patterns: Vec<fastnbt::Value> }
        BarrelBlockEntity > RandomizableContainerBlockEntity { optional "Items" as items: Vec<super::compounds::ItemStack_save>, optional "LootTable" as loot_table: CowStr, optional "LootTableSeed" as loot_table_seed: i64 }
        BaseContainerBlockEntity > BlockEntity { optional "CustomName" as custom_name: CowStr, optional "Lock" as lock: CowStr }
        BeaconBlockEntity > BlockEntity { optional "CustomName" as custom_name: CowStr, "Levels" as levels: i32, optional "Lock" as lock: CowStr, "Primary" as primary: i32, "Secondary" as secondary: i32 }
        BedBlockEntity > BlockEntity {  }
        BeehiveBlockEntity > BlockEntity { "Bees" as bees: Vec<super::compounds::Compound6>, optional "FlowerPos" as flower_pos: super::compounds::NbtUtils_writeBlockPos }
        BellBlockEntity > BlockEntity {  }
        BlastFurnaceBlockEntity > AbstractFurnaceBlockEntity {  }
        BlockEntity { "x" as x: i32, "y" as y: i32, "z" as z: i32 }
        BrewingStandBlockEntity > BaseContainerBlockEntity { "BrewTime" as brew_time: i16, "Fuel" as fuel: u8, optional "Items" as items: Vec<super::compounds::ItemStack_save> }
        CampfireBlockEntity > BlockEntity { "CookingTimes" as cooking_times: fastnbt::IntArray, "CookingTotalTimes" as cooking_total_times: fastnbt::IntArray, optional "Items" as items: Vec<super::compounds::ItemStack_save>, "id" as id: CowStr, "x" as x: i32, "y" as y: i32, "z" as z: i32 }
        ChestBlockEntity > RandomizableContainerBlockEntity { optional "Items" as items: Vec<super::compounds::ItemStack_save>, optional "LootTable" as loot_table: CowStr, optional "LootTableSeed" as loot_table_seed: i64 }
        CommandBlockEntity > BlockEntity { "Command" as command: CowStr, "CustomName" as custom_name: CowStr, optional "LastExecution" as last_execution: i64, optional "LastOutput" as last_output: CowStr, "SuccessCount" as success_count: i32, "TrackOutput" as track_output: bool, "UpdateLastExecution" as update_last_execution: bool, "auto" as auto: bool, "conditionMet" as condition_met: bool, "powered" as powered: bool }
        ComparatorBlockEntity > BlockEntity { "OutputSignal" as output_signal: i32 }
        ConduitBlockEntity > BlockEntity { optional "Target" as target: u128 }
        DaylightDetectorBlockEntity > BlockEntity {  }
        DispenserBlockEntity > RandomizableContainerBlockEntity { optional "Items" as items: Vec<super::compounds::ItemStack_save>, optional "LootTable" as loot_table: CowStr, optional "LootTableSeed" as loot_table_seed: i64 }
        DropperBlockEntity > DispenserBlockEntity {  }
        EnchantmentTableBlockEntity > BlockEntity { optional "CustomName" as custom_name: CowStr }
        EnderChestBlockEntity > BlockEntity {  }
        FurnaceBlockEntity > AbstractFurnaceBlockEntity {  }
        HopperBlockEntity > RandomizableContainerBlockEntity { optional "Items" as items: Vec<super::compounds::ItemStack_save>, optional "LootTable" as loot_table: CowStr, optional "LootTableSeed" as loot_table_seed: i64, "TransferCooldown" as transfer_cooldown: i32 }
        JigsawBlockEntity > BlockEntity { "final_state" as final_state: CowStr, "joint" as joint: CowStr, "name" as name: CowStr, "pool" as pool: CowStr, "target" as target: CowStr }
        JukeboxBlockEntity > BlockEntity { optional "RecordItem" as record_item: super::compounds::ItemStack_save_1 }
        LecternBlockEntity > BlockEntity { optional "Book" as book: super::compounds::ItemStack_save_1, optional "Page" as page: i32 }
        PistonMovingBlockEntity > BlockEntity { "blockState" as block_state: super::BlockState, "extending" as extending: bool, "facing" as facing: i32, "progress" as progress: f32, "source" as source: bool }
        RandomizableContainerBlockEntity > BaseContainerBlockEntity {  }
        ShulkerBoxBlockEntity > RandomizableContainerBlockEntity { optional "Items" as items: Vec<super::compounds::ItemStack_save>, optional "LootTable" as loot_table: CowStr, optional "LootTableSeed" as loot_table_seed: i64 }
        SignBlockEntity > BlockEntity { "Color" as color: CowStr, "Text1" as text1: CowStr, "Text2" as text2: CowStr, "Text3" as text3: CowStr, "Text4" as text4: CowStr }
        SkullBlockEntity > BlockEntity { optional "SkullOwner" as skull_owner: super::compounds::NbtUtils_writeGameProfile }
        SmokerBlockEntity > AbstractFurnaceBlockEntity {  }
        SpawnerBlockEntity > BlockEntity { optional "Delay" as delay: i16, optional "MaxNearbyEntities" as max_nearby_entities: i16, optional "MaxSpawnDelay" as max_spawn_delay: i16, optional "MinSpawnDelay" as min_spawn_delay: i16, optional "RequiredPlayerRange" as required_player_range: i16, optional "SpawnCount" as spawn_count: i16, optional "SpawnData" as spawn_data: HashMap<CowStr, fastnbt::Value>, optional "SpawnPotentials" as spawn_potentials: Vec<super::compounds::SpawnData_save>, optional "SpawnRange" as spawn_range: i16 }
        StructureBlockEntity > BlockEntity { "author" as author: CowStr, "ignoreEntities" as ignore_entities: bool, "integrity" as integrity: f32, "metadata" as metadata: CowStr, "mirror" as mirror: CowStr, "mode" as mode: CowStr, "name" as name: CowStr, "posX" as pos_x: i32, "posY" as pos_y: i32, "posZ" as pos_z: i32, "powered" as powered: bool, "rotation" as rotation: CowStr, "seed" as seed: i64, "showair" as showair: bool, "showboundingbox" as showboundingbox: bool, "sizeX" as size_x: i32, "sizeY" as size_y: i32, "sizeZ" as size_z: i32 }
        TheEndGatewayBlockEntity > TheEndPortalBlockEntity { "Age" as age: i64, optional "ExactTeleport" as exact_teleport: bool, optional "ExitPortal" as exit_portal: super::compounds::NbtUtils_writeBlockPos }
        TheEndPortalBlockEntity > BlockEntity {  }
        TrappedChestBlockEntity > ChestBlockEntity {  }
    }

    block_entity_compound_types! {
        "1.16.2";
        Compound3 { optional "Signature" as signature: CowStr, "Value" as value: CowStr }
        Compound6 { "EntityData" as entity_data: HashMap<CowStr, fastnbt::Value>, "MinOccupationTicks" as min_occupation_ticks: i32, "TicksInHive" as ticks_in_hive: i32 }
        ItemStack_save { "Count" as count: u8, "Slot" as slot: u8, "id" as id: CowStr, optional "tag" as tag: HashMap<CowStr, fastnbt::Value> }
        ItemStack_save_1 { "Count" as count: u8, "id" as id: CowStr, optional "tag" as tag: HashMap<CowStr, fastnbt::Value> }
        NbtUtils_writeBlockPos { "X" as x: i32, "Y" as y: i32, "Z" as z: i32 }
        NbtUtils_writeGameProfile { optional "Id" as id: u128, optional "Name" as name: CowStr, optional "Properties" as properties: HashMap<CowStr, Vec<super::compounds::Compound3>> }
        SpawnData_save { "Entity" as entity: HashMap<CowStr, fastnbt::Value>, "Weight" as weight: i32 }
    }
}

/// Accompanying types for block entities in Minecraft 1.17.
#[cfg(feature = "1.17")]
pub mod mc1_17 {
    block_entities! {
        "1.17", mc1_17;
        "minecraft:banner", Banner: BannerBlockEntity (> BlockEntity), ["CustomName", "Patterns"];
        "minecraft:barrel", Barrel: BarrelBlockEntity (> > > BlockEntity), ["Items", "LootTable", "LootTableSeed", "CustomName", "Lock"];
        "minecraft:beacon", Beacon: BeaconBlockEntity (> BlockEntity), ["CustomName", "Levels", "Lock", "Primary", "Secondary"];
        "minecraft:bed", Bed: BedBlockEntity (> BlockEntity), [];
        "minecraft:beehive", Beehive: BeehiveBlockEntity (> BlockEntity), ["Bees", "FlowerPos"];
        "minecraft:bell", Bell: BellBlockEntity (> BlockEntity), [];
        "minecraft:blast_furnace", BlastFurnace: BlastFurnaceBlockEntity (> > > BlockEntity), ["BurnTime", "CookTime", "CookTimeTotal", "Items", "RecipesUsed", "CustomName", "Lock"];
        "minecraft:brewing_stand", BrewingStand: BrewingStandBlockEntity (> > BlockEntity), ["BrewTime", "Fuel", "Items", "CustomName", "Lock"];
        "minecraft:campfire", Campfire: CampfireBlockEntity (> BlockEntity), ["CookingTimes", "CookingTotalTimes", "Items", "id", "x", "y", "z"];
        "minecraft:chest", Chest: ChestBlockEntity (> > > BlockEntity), ["Items", "LootTable", "LootTableSeed", "CustomName", "Lock"];
        "minecraft:command_block", CommandBlock: CommandBlockEntity (> BlockEntity), ["Command", "CustomName", "LastExecution", "LastOutput", "SuccessCount", "TrackOutput", "UpdateLastExecution", "auto", "conditionMet", "powered"];
        "minecraft:comparator", Comparator: ComparatorBlockEntity (> BlockEntity), ["OutputSignal"];
        "minecraft:conduit", Conduit: ConduitBlockEntity (> BlockEntity), ["Target"];
        "minecraft:daylight_detector", DaylightDetector: DaylightDetectorBlockEntity (> BlockEntity), [];
        "minecraft:dispenser", Dispenser: DispenserBlockEntity (> > > BlockEntity), ["Items", "LootTable", "LootTableSeed", "CustomName", "Lock"];
        "minecraft:dropper", Dropper: DropperBlockEntity (> > > > BlockEntity), ["Items", "LootTable", "LootTableSeed", "CustomName", "Lock"];
        "minecraft:enchanting_table", EnchantingTable: EnchantmentTableBlockEntity (> BlockEntity), ["CustomName"];
        "minecraft:end_gateway", EndGateway: TheEndGatewayBlockEntity (> > BlockEntity), ["Age", "ExactTeleport", "ExitPortal"];
        "minecraft:end_portal", EndPortal: TheEndPortalBlockEntity (> BlockEntity), [];
        "minecraft:ender_chest", EnderChest: EnderChestBlockEntity (> BlockEntity), [];
        "minecraft:furnace", Furnace: FurnaceBlockEntity (> > > BlockEntity), ["BurnTime", "CookTime", "CookTimeTotal", "Items", "RecipesUsed", "CustomName", "Lock"];
        "minecraft:hopper", Hopper: HopperBlockEntity (> > > BlockEntity), ["Items", "LootTable", "LootTableSeed", "TransferCooldown", "CustomName", "Lock"];
        "minecraft:jigsaw", Jigsaw: JigsawBlockEntity (> BlockEntity), ["final_state", "joint", "name", "pool", "target"];
        "minecraft:jukebox", Jukebox: JukeboxBlockEntity (> BlockEntity), ["RecordItem"];
        "minecraft:lectern", Lectern: LecternBlockEntity (> BlockEntity), ["Book", "Page"];
        "minecraft:mob_spawner", MobSpawner: SpawnerBlockEntity (> BlockEntity), ["Delay", "MaxNearbyEntities", "MaxSpawnDelay", "MinSpawnDelay", "RequiredPlayerRange", "SpawnCount", "SpawnData", "SpawnPotentials", "SpawnRange"];
        "minecraft:piston", Piston: PistonMovingBlockEntity (> BlockEntity), ["blockState", "extending", "facing", "progress", "source"];
        "minecraft:sculk_sensor", SculkSensor: SculkSensorBlockEntity (> BlockEntity), ["last_vibration_frequency"];
        "minecraft:shulker_box", ShulkerBox: ShulkerBoxBlockEntity (> > > BlockEntity), ["Items", "LootTable", "LootTableSeed", "CustomName", "Lock"];
        "minecraft:sign", Sign: SignBlockEntity (> BlockEntity), ["Color", "FilteredText1", "FilteredText2", "FilteredText3", "FilteredText4", "GlowingText", "Text1", "Text2", "Text3", "Text4"];
        "minecraft:skull", Skull: SkullBlockEntity (> BlockEntity), ["SkullOwner"];
        "minecraft:smoker", Smoker: SmokerBlockEntity (> > > BlockEntity), ["BurnTime", "CookTime", "CookTimeTotal", "Items", "RecipesUsed", "CustomName", "Lock"];
        "minecraft:structure_block", StructureBlock: StructureBlockEntity (> BlockEntity), ["author", "ignoreEntities", "integrity", "metadata", "mirror", "mode", "name", "posX", "posY", "posZ", "powered", "rotation", "seed", "showair", "showboundingbox", "sizeX", "sizeY", "sizeZ"];
        "minecraft:trapped_chest", TrappedChest: TrappedChestBlockEntity (> > > > BlockEntity), ["Items", "LootTable", "LootTableSeed", "CustomName", "Lock"];
    }

    block_entity_types! {
        "1.17";
        AbstractFurnaceBlockEntity > BaseContainerBlockEntity { "BurnTime" as burn_time: i16, "CookTime" as cook_time: i16, "CookTimeTotal" as cook_time_total: i16, optional "Items" as items: Vec<super::compounds::ItemStack_save>, "RecipesUsed" as recipes_used: HashMap<CowStr, i32> }
        BannerBlockEntity > BlockEntity { optional "CustomName" as custom_name: CowStr, optional "Patterns" as patterns: Vec<fastnbt::Value> }
        BarrelBlockEntity > RandomizableContainerBlockEntity { optional "Items" as items: Vec<super::compounds::ItemStack_save>, optional "LootTable" as loot_table: CowStr, optional "LootTableSeed" as loot_table_seed: i64 }
        BaseContainerBlockEntity > BlockEntity { optional "CustomName" as custom_name: CowStr, optional "Lock" as lock: CowStr }
        BeaconBlockEntity > BlockEntity { optional "CustomName" as custom_name: CowStr, "Levels" as levels: i32, optional "Lock" as lock: CowStr, "Primary" as primary: i32, "Secondary" as secondary: i32 }
        BedBlockEntity > BlockEntity {  }
        BeehiveBlockEntity > BlockEntity { "Bees" as bees: Vec<super::compounds::Compound6>, optional "FlowerPos" as flower_pos: super::compounds::NbtUtils_writeBlockPos }
        BellBlockEntity > BlockEntity {  }
        BlastFurnaceBlockEntity > AbstractFurnaceBlockEntity {  }
        BlockEntity { "x" as x: i32, "y" as y: i32, "z" as z: i32 }
        BrewingStandBlockEntity > BaseContainerBlockEntity { "BrewTime" as brew_time: i16, "Fuel" as fuel: u8, optional "Items" as items: Vec<super::compounds::ItemStack_save> }
        CampfireBlockEntity > BlockEntity { "CookingTimes" as cooking_times: fastnbt::IntArray, "CookingTotalTimes" as cooking_total_times: fastnbt::IntArray, optional "Items" as items: Vec<super::compounds::ItemStack_save>, "id" as id: CowStr, "x" as x: i32, "y" as y: i32, "z" as z: i32 }
        ChestBlockEntity > RandomizableContainerBlockEntity { optional "Items" as items: Vec<super::compounds::ItemStack_save>, optional "LootTable" as loot_table: CowStr, optional "LootTableSeed" as loot_table_seed: i64 }
        CommandBlockEntity > BlockEntity { "Command" as command: CowStr, "CustomName" as custom_name: CowStr, optional "LastExecution" as last_execution: i64, optional "LastOutput" as last_output: CowStr, "SuccessCount" as success_count: i32, "TrackOutput" as track_output: bool, "UpdateLastExecution" as update_last_execution: bool, "auto" as auto: bool, "conditionMet" as condition_met: bool, "powered" as powered: bool }
        ComparatorBlockEntity > BlockEntity { "OutputSignal" as output_signal: i32 }
        ConduitBlockEntity > BlockEntity { optional "Target" as target: u128 }
        DaylightDetectorBlockEntity > BlockEntity {  }
        DispenserBlockEntity > RandomizableContainerBlockEntity { optional "Items" as items: Vec<super::compounds::ItemStack_save>, optional "LootTable" as loot_table: CowStr, optional "LootTableSeed" as loot_table_seed: i64 }
        DropperBlockEntity > DispenserBlockEntity {  }
        EnchantmentTableBlockEntity > BlockEntity { optional "CustomName" as custom_name: CowStr }
        EnderChestBlockEntity > BlockEntity {  }
        FurnaceBlockEntity > AbstractFurnaceBlockEntity {  }
        HopperBlockEntity > RandomizableContainerBlockEntity { optional "Items" as items: Vec<super::compounds::ItemStack_save>, optional "LootTable" as loot_table: CowStr, optional "LootTableSeed" as loot_table_seed: i64, "TransferCooldown" as transfer_cooldown: i32 }
        JigsawBlockEntity > BlockEntity { "final_state" as final_state: CowStr, "joint" as joint: CowStr, "name" as name: CowStr, "pool" as pool: CowStr, "target" as target: CowStr }
        JukeboxBlockEntity > BlockEntity { optional "RecordItem" as record_item: super::compounds::ItemStack_save_1 }
        LecternBlockEntity > BlockEntity { optional "Book" as book: super::compounds::ItemStack_save_1, optional "Page" as page: i32 }
        PistonMovingBlockEntity > BlockEntity { "blockState" as block_state: super::BlockState, "extending" as extending: bool, "facing" as facing: i32, "progress" as progress: f32, "source" as source: bool }
        RandomizableContainerBlockEntity > BaseContainerBlockEntity {  }
        SculkSensorBlockEntity > BlockEntity { "last_vibration_frequency" as last_vibration_frequency: i32 }
        ShulkerBoxBlockEntity > RandomizableContainerBlockEntity { optional "Items" as items: Vec<super::compounds::ItemStack_save>, optional "LootTable" as loot_table: CowStr, optional "LootTableSeed" as loot_table_seed: i64 }
        SignBlockEntity > BlockEntity { "Color" as color: CowStr, optional "FilteredText1" as filtered_text1: CowStr, optional "FilteredText2" as filtered_text2: CowStr, optional "FilteredText3" as filtered_text3: CowStr, optional "FilteredText4" as filtered_text4: CowStr, "GlowingText" as glowing_text: bool, optional "Text1" as text1: CowStr, optional "Text2" as text2: CowStr, optional "Text3" as text3: CowStr, optional "Text4" as text4: CowStr }
        SkullBlockEntity > BlockEntity { optional "SkullOwner" as skull_owner: super::compounds::NbtUtils_writeGameProfile }
        SmokerBlockEntity > AbstractFurnaceBlockEntity {  }
        SpawnerBlockEntity > BlockEntity { optional "Delay" as delay: i16, optional "MaxNearbyEntities" as max_nearby_entities: i16, optional "MaxSpawnDelay" as max_spawn_delay: i16, optional "MinSpawnDelay" as min_spawn_delay: i16, optional "RequiredPlayerRange" as required_player_range: i16, optional "SpawnCount" as spawn_count: i16, optional "SpawnData" as spawn_data: HashMap<CowStr, fastnbt::Value>, optional "SpawnPotentials" as spawn_potentials: Vec<super::compounds::SpawnData_save>, optional "SpawnRange" as spawn_range: i16 }
        StructureBlockEntity > BlockEntity { "author" as author: CowStr, "ignoreEntities" as ignore_entities: bool, "integrity" as integrity: f32, "metadata" as metadata: CowStr, "mirror" as mirror: CowStr, "mode" as mode: CowStr, "name" as name: CowStr, "posX" as pos_x: i32, "posY" as pos_y: i32, "posZ" as pos_z: i32, "powered" as powered: bool, "rotation" as rotation: CowStr, "seed" as seed: i64, "showair" as showair: bool, "showboundingbox" as showboundingbox: bool, "sizeX" as size_x: i32, "sizeY" as size_y: i32, "sizeZ" as size_z: i32 }
        TheEndGatewayBlockEntity > TheEndPortalBlockEntity { "Age" as age: i64, optional "ExactTeleport" as exact_teleport: bool, optional "ExitPortal" as exit_portal: super::compounds::NbtUtils_writeBlockPos }
        TheEndPortalBlockEntity > BlockEntity {  }
        TrappedChestBlockEntity > ChestBlockEntity {  }
    }

    block_entity_compound_types! {
        "1.17";
        Compound3 { optional "Signature" as signature: CowStr, "Value" as value: CowStr }
        Compound6 { "EntityData" as entity_data: HashMap<CowStr, fastnbt::Value>, "MinOccupationTicks" as min_occupation_ticks: i32, "TicksInHive" as ticks_in_hive: i32 }
        ItemStack_save { "Count" as count: u8, "Slot" as slot: u8, "id" as id: CowStr, optional "tag" as tag: HashMap<CowStr, fastnbt::Value> }
        ItemStack_save_1 { "Count" as count: u8, "id" as id: CowStr, optional "tag" as tag: HashMap<CowStr, fastnbt::Value> }
        NbtUtils_writeBlockPos { "X" as x: i32, "Y" as y: i32, "Z" as z: i32 }
        NbtUtils_writeGameProfile { optional "Id" as id: u128, optional "Name" as name: CowStr, optional "Properties" as properties: HashMap<CowStr, Vec<super::compounds::Compound3>> }
        SpawnData_save { "Entity" as entity: HashMap<CowStr, fastnbt::Value>, "Weight" as weight: i32 }
    }
}

/// Accompanying types for block entities in Minecraft 1.18.
#[cfg(feature = "1.18")]
pub mod mc1_18 {
    block_entities! {
        "1.18", mc1_18;
        "minecraft:banner", Banner: BannerBlockEntity (> BlockEntity), ["CustomName", "Patterns"];
        "minecraft:barrel", Barrel: BarrelBlockEntity (> > > BlockEntity), ["Items", "LootTable", "LootTableSeed", "CustomName", "Lock"];
        "minecraft:beacon", Beacon: BeaconBlockEntity (> BlockEntity), ["CustomName", "Levels", "Lock", "Primary", "Secondary"];
        "minecraft:bed", Bed: BedBlockEntity (> BlockEntity), [];
        "minecraft:beehive", Beehive: BeehiveBlockEntity (> BlockEntity), ["Bees", "FlowerPos"];
        "minecraft:bell", Bell: BellBlockEntity (> BlockEntity), [];
        "minecraft:blast_furnace", BlastFurnace: BlastFurnaceBlockEntity (> > > BlockEntity), ["BurnTime", "CookTime", "CookTimeTotal", "Items", "RecipesUsed", "CustomName", "Lock"];
        "minecraft:brewing_stand", BrewingStand: BrewingStandBlockEntity (> > BlockEntity), ["BrewTime", "Fuel", "Items", "CustomName", "Lock"];
        "minecraft:campfire", Campfire: CampfireBlockEntity (> BlockEntity), ["CookingTimes", "CookingTotalTimes", "Items"];
        "minecraft:chest", Chest: ChestBlockEntity (> > > BlockEntity), ["Items", "LootTable", "LootTableSeed", "CustomName", "Lock"];
        "minecraft:command_block", CommandBlock: CommandBlockEntity (> BlockEntity), ["Command", "CustomName", "LastExecution", "LastOutput", "SuccessCount", "TrackOutput", "UpdateLastExecution", "auto", "conditionMet", "powered"];
        "minecraft:comparator", Comparator: ComparatorBlockEntity (> BlockEntity), ["OutputSignal"];
        "minecraft:conduit", Conduit: ConduitBlockEntity (> BlockEntity), ["Target"];
        "minecraft:daylight_detector", DaylightDetector: DaylightDetectorBlockEntity (> BlockEntity), [];
        "minecraft:dispenser", Dispenser: DispenserBlockEntity (> > > BlockEntity), ["Items", "LootTable", "LootTableSeed", "CustomName", "Lock"];
        "minecraft:dropper", Dropper: DropperBlockEntity (> > > > BlockEntity), ["Items", "LootTable", "LootTableSeed", "CustomName", "Lock"];
        "minecraft:enchanting_table", EnchantingTable: EnchantmentTableBlockEntity (> BlockEntity), ["CustomName"];
        "minecraft:end_gateway", EndGateway: TheEndGatewayBlockEntity (> > BlockEntity), ["Age", "ExactTeleport", "ExitPortal"];
        "minecraft:end_portal", EndPortal: TheEndPortalBlockEntity (> BlockEntity), [];
        "minecraft:ender_chest", EnderChest: EnderChestBlockEntity (> BlockEntity), [];
        "minecraft:furnace", Furnace: FurnaceBlockEntity (> > > BlockEntity), ["BurnTime", "CookTime", "CookTimeTotal", "Items", "RecipesUsed", "CustomName", "Lock"];
        "minecraft:hopper", Hopper: HopperBlockEntity (> > > BlockEntity), ["Items", "LootTable", "LootTableSeed", "TransferCooldown", "CustomName", "Lock"];
        "minecraft:jigsaw", Jigsaw: JigsawBlockEntity (> BlockEntity), ["final_state", "joint", "name", "pool", "target"];
        "minecraft:jukebox", Jukebox: JukeboxBlockEntity (> BlockEntity), ["RecordItem"];
        "minecraft:lectern", Lectern: LecternBlockEntity (> BlockEntity), ["Book", "Page"];
        "minecraft:mob_spawner", MobSpawner: SpawnerBlockEntity (> BlockEntity), ["Delay", "MaxNearbyEntities", "MaxSpawnDelay", "MinSpawnDelay", "RequiredPlayerRange", "SpawnCount", "SpawnData", "SpawnPotentials", "SpawnRange"];
        "minecraft:piston", Piston: PistonMovingBlockEntity (> BlockEntity), ["blockState", "extending", "facing", "progress", "source"];
        "minecraft:sculk_sensor", SculkSensor: SculkSensorBlockEntity (> BlockEntity), ["last_vibration_frequency"];
        "minecraft:shulker_box", ShulkerBox: ShulkerBoxBlockEntity (> > > BlockEntity), ["Items", "LootTable", "LootTableSeed", "CustomName", "Lock"];
        "minecraft:sign", Sign: SignBlockEntity (> BlockEntity), ["Color", "FilteredText1", "FilteredText2", "FilteredText3", "FilteredText4", "GlowingText", "Text1", "Text2", "Text3", "Text4"];
        "minecraft:skull", Skull: SkullBlockEntity (> BlockEntity), ["SkullOwner"];
        "minecraft:smoker", Smoker: SmokerBlockEntity (> > > BlockEntity), ["BurnTime", "CookTime", "CookTimeTotal", "Items", "RecipesUsed", "CustomName", "Lock"];
        "minecraft:structure_block", StructureBlock: StructureBlockEntity (> BlockEntity), ["author", "ignoreEntities", "integrity", "metadata", "mirror", "mode", "name", "posX", "posY", "posZ", "powered", "rotation", "seed", "showair", "showboundingbox", "sizeX", "sizeY", "sizeZ"];
        "minecraft:trapped_chest", TrappedChest: TrappedChestBlockEntity (> > > > BlockEntity), ["Items", "LootTable", "LootTableSeed", "CustomName", "Lock"];
    }

    block_entity_types! {
        "1.18";
        AbstractFurnaceBlockEntity > BaseContainerBlockEntity { "BurnTime" as burn_time: i16, "CookTime" as cook_time: i16, "CookTimeTotal" as cook_time_total: i16, optional "Items" as items: Vec<super::compounds::ItemStack_save>, "RecipesUsed" as recipes_used: HashMap<CowStr, i32> }
        BannerBlockEntity > BlockEntity { optional "CustomName" as custom_name: CowStr, optional "Patterns" as patterns: Vec<fastnbt::Value> }
        BarrelBlockEntity > RandomizableContainerBlockEntity { optional "Items" as items: Vec<super::compounds::ItemStack_save>, optional "LootTable" as loot_table: CowStr, optional "LootTableSeed" as loot_table_seed: i64 }
        BaseContainerBlockEntity > BlockEntity { optional "CustomName" as custom_name: CowStr, optional "Lock" as lock: CowStr }
        BeaconBlockEntity > BlockEntity { optional "CustomName" as custom_name: CowStr, "Levels" as levels: i32, optional "Lock" as lock: CowStr, "Primary" as primary: i32, "Secondary" as secondary: i32 }
        BedBlockEntity > BlockEntity {  }
        BeehiveBlockEntity > BlockEntity { "Bees" as bees: Vec<super::compounds::Compound5>, optional "FlowerPos" as flower_pos: super::compounds::NbtUtils_writeBlockPos }
        BellBlockEntity > BlockEntity {  }
        BlastFurnaceBlockEntity > AbstractFurnaceBlockEntity {  }
        BlockEntity { "x" as x: i32, "y" as y: i32, "z" as z: i32 }
        BrewingStandBlockEntity > BaseContainerBlockEntity { "BrewTime" as brew_time: i16, "Fuel" as fuel: u8, optional "Items" as items: Vec<super::compounds::ItemStack_save> }
        CampfireBlockEntity > BlockEntity { "CookingTimes" as cooking_times: fastnbt::IntArray, "CookingTotalTimes" as cooking_total_times: fastnbt::IntArray, optional "Items" as items: Vec<super::compounds::ItemStack_save> }
        ChestBlockEntity > RandomizableContainerBlockEntity { optional "Items" as items: Vec<super::compounds::ItemStack_save>, optional "LootTable" as loot_table: CowStr, optional "LootTableSeed" as loot_table_seed: i64 }
        CommandBlockEntity > BlockEntity { "Command" as command: CowStr, "CustomName" as custom_name: CowStr, optional "LastExecution" as last_execution: i64, optional "LastOutput" as last_output: CowStr, "SuccessCount" as success_count: i32, "TrackOutput" as track_output: bool, "UpdateLastExecution" as update_last_execution: bool, "auto" as auto: bool, "conditionMet" as condition_met: bool, "powered" as powered: bool }
        ComparatorBlockEntity > BlockEntity { "OutputSignal" as output_signal: i32 }
        ConduitBlockEntity > BlockEntity { optional "Target" as target: u128 }
        DaylightDetectorBlockEntity > BlockEntity {  }
        DispenserBlockEntity > RandomizableContainerBlockEntity { optional "Items" as items: Vec<super::compounds::ItemStack_save>, optional "LootTable" as loot_table: CowStr, optional "LootTableSeed" as loot_table_seed: i64 }
        DropperBlockEntity > DispenserBlockEntity {  }
        EnchantmentTableBlockEntity > BlockEntity { optional "CustomName" as custom_name: CowStr }
        EnderChestBlockEntity > BlockEntity {  }
        FurnaceBlockEntity > AbstractFurnaceBlockEntity {  }
        HopperBlockEntity > RandomizableContainerBlockEntity { optional "Items" as items: Vec<super::compounds::ItemStack_save>, optional "LootTable" as loot_table: CowStr, optional "LootTableSeed" as loot_table_seed: i64, "TransferCooldown" as transfer_cooldown: i32 }
        JigsawBlockEntity > BlockEntity { "final_state" as final_state: CowStr, "joint" as joint: CowStr, "name" as name: CowStr, "pool" as pool: CowStr, "target" as target: CowStr }
        JukeboxBlockEntity > BlockEntity { optional "RecordItem" as record_item: super::compounds::ItemStack_save_1 }
        LecternBlockEntity > BlockEntity { optional "Book" as book: super::compounds::ItemStack_save_1, optional "Page" as page: i32 }
        PistonMovingBlockEntity > BlockEntity { "blockState" as block_state: super::BlockState, "extending" as extending: bool, "facing" as facing: i32, "progress" as progress: f32, "source" as source: bool }
        RandomizableContainerBlockEntity > BaseContainerBlockEntity {  }
        SculkSensorBlockEntity > BlockEntity { "last_vibration_frequency" as last_vibration_frequency: i32 }
        ShulkerBoxBlockEntity > RandomizableContainerBlockEntity { optional "Items" as items: Vec<super::compounds::ItemStack_save>, optional "LootTable" as loot_table: CowStr, optional "LootTableSeed" as loot_table_seed: i64 }
        SignBlockEntity > BlockEntity { "Color" as color: CowStr, optional "FilteredText1" as filtered_text1: CowStr, optional "FilteredText2" as filtered_text2: CowStr, optional "FilteredText3" as filtered_text3: CowStr, optional "FilteredText4" as filtered_text4: CowStr, "GlowingText" as glowing_text: bool, optional "Text1" as text1: CowStr, optional "Text2" as text2: CowStr, optional "Text3" as text3: CowStr, optional "Text4" as text4: CowStr }
        SkullBlockEntity > BlockEntity { optional "SkullOwner" as skull_owner: super::compounds::NbtUtils_writeGameProfile }
        SmokerBlockEntity > AbstractFurnaceBlockEntity {  }
        SpawnerBlockEntity > BlockEntity { "Delay" as delay: i16, "MaxNearbyEntities" as max_nearby_entities: i16, "MaxSpawnDelay" as max_spawn_delay: i16, "MinSpawnDelay" as min_spawn_delay: i16, "RequiredPlayerRange" as required_player_range: i16, "SpawnCount" as spawn_count: i16, "SpawnData" as spawn_data: fastnbt::Value, "SpawnPotentials" as spawn_potentials: fastnbt::Value, "SpawnRange" as spawn_range: i16 }
        StructureBlockEntity > BlockEntity { "author" as author: CowStr, "ignoreEntities" as ignore_entities: bool, "integrity" as integrity: f32, "metadata" as metadata: CowStr, "mirror" as mirror: CowStr, "mode" as mode: CowStr, "name" as name: CowStr, "posX" as pos_x: i32, "posY" as pos_y: i32, "posZ" as pos_z: i32, "powered" as powered: bool, "rotation" as rotation: CowStr, "seed" as seed: i64, "showair" as showair: bool, "showboundingbox" as showboundingbox: bool, "sizeX" as size_x: i32, "sizeY" as size_y: i32, "sizeZ" as size_z: i32 }
        TheEndGatewayBlockEntity > TheEndPortalBlockEntity { "Age" as age: i64, optional "ExactTeleport" as exact_teleport: bool, optional "ExitPortal" as exit_portal: super::compounds::NbtUtils_writeBlockPos }
        TheEndPortalBlockEntity > BlockEntity {  }
        TrappedChestBlockEntity > ChestBlockEntity {  }
    }

    block_entity_compound_types! {
        "1.18";
        Compound2 { optional "Signature" as signature: CowStr, "Value" as value: CowStr }
        Compound5 { "EntityData" as entity_data: HashMap<CowStr, fastnbt::Value>, "MinOccupationTicks" as min_occupation_ticks: i32, "TicksInHive" as ticks_in_hive: i32 }
        ItemStack_save { "Count" as count: u8, "Slot" as slot: u8, "id" as id: CowStr, optional "tag" as tag: HashMap<CowStr, fastnbt::Value> }
        ItemStack_save_1 { "Count" as count: u8, "id" as id: CowStr, optional "tag" as tag: HashMap<CowStr, fastnbt::Value> }
        NbtUtils_writeBlockPos { "X" as x: i32, "Y" as y: i32, "Z" as z: i32 }
        NbtUtils_writeGameProfile { optional "Id" as id: u128, optional "Name" as name: CowStr, optional "Properties" as properties: HashMap<CowStr, Vec<super::compounds::Compound2>> }
    }
}

/// Accompanying types for block entities in Minecraft 1.19.
#[cfg(feature = "1.19")]
pub mod mc1_19 {
    block_entities! {
        "1.19", mc1_19;
        "minecraft:banner", Banner: BannerBlockEntity (> BlockEntity), ["CustomName", "Patterns"];
        "minecraft:barrel", Barrel: BarrelBlockEntity (> > > BlockEntity), ["Items", "LootTable", "LootTableSeed", "CustomName", "Lock"];
        "minecraft:beacon", Beacon: BeaconBlockEntity (> BlockEntity), ["CustomName", "Levels", "Lock", "Primary", "Secondary"];
        "minecraft:bed", Bed: BedBlockEntity (> BlockEntity), [];
        "minecraft:beehive", Beehive: BeehiveBlockEntity (> BlockEntity), ["Bees", "FlowerPos"];
        "minecraft:bell", Bell: BellBlockEntity (> BlockEntity), [];
        "minecraft:blast_furnace", BlastFurnace: BlastFurnaceBlockEntity (> > > BlockEntity), ["BurnTime", "CookTime", "CookTimeTotal", "Items", "RecipesUsed", "CustomName", "Lock"];
        "minecraft:brewing_stand", BrewingStand: BrewingStandBlockEntity (> > BlockEntity), ["BrewTime", "Fuel", "Items", "CustomName", "Lock"];
        "minecraft:campfire", Campfire: CampfireBlockEntity (> BlockEntity), ["CookingTimes", "CookingTotalTimes", "Items"];
        "minecraft:chest", Chest: ChestBlockEntity (> > > BlockEntity), ["Items", "LootTable", "LootTableSeed", "CustomName", "Lock"];
        "minecraft:command_block", CommandBlock: CommandBlockEntity (> BlockEntity), ["Command", "CustomName", "LastExecution", "LastOutput", "SuccessCount", "TrackOutput", "UpdateLastExecution", "auto", "conditionMet", "powered"];
        "minecraft:comparator", Comparator: ComparatorBlockEntity (> BlockEntity), ["OutputSignal"];
        "minecraft:conduit", Conduit: ConduitBlockEntity (> BlockEntity), ["Target"];
        "minecraft:daylight_detector", DaylightDetector: DaylightDetectorBlockEntity (> BlockEntity), [];
        "minecraft:dispenser", Dispenser: DispenserBlockEntity (> > > BlockEntity), ["Items", "LootTable", "LootTableSeed", "CustomName", "Lock"];
        "minecraft:dropper", Dropper: DropperBlockEntity (> > > > BlockEntity), ["Items", "LootTable", "LootTableSeed", "CustomName", "Lock"];
        "minecraft:enchanting_table", EnchantingTable: EnchantmentTableBlockEntity (> BlockEntity), ["CustomName"];
        "minecraft:end_gateway", EndGateway: TheEndGatewayBlockEntity (> > BlockEntity), ["Age", "ExactTeleport", "ExitPortal"];
        "minecraft:end_portal", EndPortal: TheEndPortalBlockEntity (> BlockEntity), [];
        "minecraft:ender_chest", EnderChest: EnderChestBlockEntity (> BlockEntity), [];
        "minecraft:furnace", Furnace: FurnaceBlockEntity (> > > BlockEntity), ["BurnTime", "CookTime", "CookTimeTotal", "Items", "RecipesUsed", "CustomName", "Lock"];
        "minecraft:hopper", Hopper: HopperBlockEntity (> > > BlockEntity), ["Items", "LootTable", "LootTableSeed", "TransferCooldown", "CustomName", "Lock"];
        "minecraft:jigsaw", Jigsaw: JigsawBlockEntity (> BlockEntity), ["final_state", "joint", "name", "pool", "target"];
        "minecraft:jukebox", Jukebox: JukeboxBlockEntity (> BlockEntity), ["RecordItem"];
        "minecraft:lectern", Lectern: LecternBlockEntity (> BlockEntity), ["Book", "Page"];
        "minecraft:mob_spawner", MobSpawner: SpawnerBlockEntity (> BlockEntity), ["Delay", "MaxNearbyEntities", "MaxSpawnDelay", "MinSpawnDelay", "RequiredPlayerRange", "SpawnCount", "SpawnData", "SpawnPotentials", "SpawnRange"];
        "minecraft:piston", Piston: PistonMovingBlockEntity (> BlockEntity), ["blockState", "extending", "facing", "progress", "source"];
        "minecraft:sculk_catalyst", SculkCatalyst: SculkCatalystBlockEntity (> BlockEntity), ["cursors"];
        "minecraft:sculk_sensor", SculkSensor: SculkSensorBlockEntity (> BlockEntity), ["last_vibration_frequency", "listener"];
        "minecraft:sculk_shrieker", SculkShrieker: SculkShriekerBlockEntity (> BlockEntity), ["listener", "warning_level"];
        "minecraft:shulker_box", ShulkerBox: ShulkerBoxBlockEntity (> > > BlockEntity), ["Items", "LootTable", "LootTableSeed", "CustomName", "Lock"];
        "minecraft:sign", Sign: SignBlockEntity (> BlockEntity), ["Color", "FilteredText1", "FilteredText2", "FilteredText3", "FilteredText4", "GlowingText", "Text1", "Text2", "Text3", "Text4"];
        "minecraft:skull", Skull: SkullBlockEntity (> BlockEntity), ["SkullOwner"];
        "minecraft:smoker", Smoker: SmokerBlockEntity (> > > BlockEntity), ["BurnTime", "CookTime", "CookTimeTotal", "Items", "RecipesUsed", "CustomName", "Lock"];
        "minecraft:structure_block", StructureBlock: StructureBlockEntity (> BlockEntity), ["author", "ignoreEntities", "integrity", "metadata", "mirror", "mode", "name", "posX", "posY", "posZ", "powered", "rotation", "seed", "showair", "showboundingbox", "sizeX", "sizeY", "sizeZ"];
        "minecraft:trapped_chest", TrappedChest: TrappedChestBlockEntity (> > > > BlockEntity), ["Items", "LootTable", "LootTableSeed", "CustomName", "Lock"];
    }

    block_entity_types! {
        "1.19";
        AbstractFurnaceBlockEntity > BaseContainerBlockEntity { "BurnTime" as burn_time: i16, "CookTime" as cook_time: i16, "CookTimeTotal" as cook_time_total: i16, optional "Items" as items: Vec<super::compounds::ItemStack_save>, "RecipesUsed" as recipes_used: HashMap<CowStr, i32> }
        BannerBlockEntity > BlockEntity { optional "CustomName" as custom_name: CowStr, optional "Patterns" as patterns: Vec<fastnbt::Value> }
        BarrelBlockEntity > RandomizableContainerBlockEntity { optional "Items" as items: Vec<super::compounds::ItemStack_save>, optional "LootTable" as loot_table: CowStr, optional "LootTableSeed" as loot_table_seed: i64 }
        BaseContainerBlockEntity > BlockEntity { optional "CustomName" as custom_name: CowStr, optional "Lock" as lock: CowStr }
        BeaconBlockEntity > BlockEntity { optional "CustomName" as custom_name: CowStr, "Levels" as levels: i32, optional "Lock" as lock: CowStr, "Primary" as primary: i32, "Secondary" as secondary: i32 }
        BedBlockEntity > BlockEntity {  }
        BeehiveBlockEntity > BlockEntity { "Bees" as bees: Vec<super::compounds::Compound5>, optional "FlowerPos" as flower_pos: super::compounds::NbtUtils_writeBlockPos }
        BellBlockEntity > BlockEntity {  }
        BlastFurnaceBlockEntity > AbstractFurnaceBlockEntity {  }
        BlockEntity { "x" as x: i32, "y" as y: i32, "z" as z: i32 }
        BrewingStandBlockEntity > BaseContainerBlockEntity { "BrewTime" as brew_time: i16, "Fuel" as fuel: u8, optional "Items" as items: Vec<super::compounds::ItemStack_save> }
        CampfireBlockEntity > BlockEntity { "CookingTimes" as cooking_times: fastnbt::IntArray, "CookingTotalTimes" as cooking_total_times: fastnbt::IntArray, optional "Items" as items: Vec<super::compounds::ItemStack_save> }
        ChestBlockEntity > RandomizableContainerBlockEntity { optional "Items" as items: Vec<super::compounds::ItemStack_save>, optional "LootTable" as loot_table: CowStr, optional "LootTableSeed" as loot_table_seed: i64 }
        CommandBlockEntity > BlockEntity { "Command" as command: CowStr, "CustomName" as custom_name: CowStr, optional "LastExecution" as last_execution: i64, optional "LastOutput" as last_output: CowStr, "SuccessCount" as success_count: i32, "TrackOutput" as track_output: bool, "UpdateLastExecution" as update_last_execution: bool, "auto" as auto: bool, "conditionMet" as condition_met: bool, "powered" as powered: bool }
        ComparatorBlockEntity > BlockEntity { "OutputSignal" as output_signal: i32 }
        ConduitBlockEntity > BlockEntity { optional "Target" as target: u128 }
        DaylightDetectorBlockEntity > BlockEntity {  }
        DispenserBlockEntity > RandomizableContainerBlockEntity { optional "Items" as items: Vec<super::compounds::ItemStack_save>, optional "LootTable" as loot_table: CowStr, optional "LootTableSeed" as loot_table_seed: i64 }
        DropperBlockEntity > DispenserBlockEntity {  }
        EnchantmentTableBlockEntity > BlockEntity { optional "CustomName" as custom_name: CowStr }
        EnderChestBlockEntity > BlockEntity {  }
        FurnaceBlockEntity > AbstractFurnaceBlockEntity {  }
        HopperBlockEntity > RandomizableContainerBlockEntity { optional "Items" as items: Vec<super::compounds::ItemStack_save>, optional "LootTable" as loot_table: CowStr, optional "LootTableSeed" as loot_table_seed: i64, "TransferCooldown" as transfer_cooldown: i32 }
        JigsawBlockEntity > BlockEntity { "final_state" as final_state: CowStr, "joint" as joint: CowStr, "name" as name: CowStr, "pool" as pool: CowStr, "target" as target: CowStr }
        JukeboxBlockEntity > BlockEntity { optional "RecordItem" as record_item: super::compounds::ItemStack_save_1 }
        LecternBlockEntity > BlockEntity { optional "Book" as book: super::compounds::ItemStack_save_1, optional "Page" as page: i32 }
        PistonMovingBlockEntity > BlockEntity { "blockState" as block_state: super::BlockState, "extending" as extending: bool, "facing" as facing: i32, "progress" as progress: f32, "source" as source: bool }
        RandomizableContainerBlockEntity > BaseContainerBlockEntity {  }
        SculkCatalystBlockEntity > BlockEntity { optional "cursors" as cursors: fastnbt::Value }
        SculkSensorBlockEntity > BlockEntity { "last_vibration_frequency" as last_vibration_frequency: i32, optional "listener" as listener: fastnbt::Value }
        SculkShriekerBlockEntity > BlockEntity { optional "listener" as listener: fastnbt::Value, "warning_level" as warning_level: i32 }
        ShulkerBoxBlockEntity > RandomizableContainerBlockEntity { optional "Items" as items: Vec<super::compounds::ItemStack_save>, optional "LootTable" as loot_table: CowStr, optional "LootTableSeed" as loot_table_seed: i64 }
        SignBlockEntity > BlockEntity { "Color" as color: CowStr, optional "FilteredText1" as filtered_text1: CowStr, optional "FilteredText2" as filtered_text2: CowStr, optional "FilteredText3" as filtered_text3: CowStr, optional "FilteredText4" as filtered_text4: CowStr, "GlowingText" as glowing_text: bool, optional "Text1" as text1: CowStr, optional "Text2" as text2: CowStr, optional "Text3" as text3: CowStr, optional "Text4" as text4: CowStr }
        SkullBlockEntity > BlockEntity { optional "SkullOwner" as skull_owner: super::compounds::NbtUtils_writeGameProfile }
        SmokerBlockEntity > AbstractFurnaceBlockEntity {  }
        SpawnerBlockEntity > BlockEntity { "Delay" as delay: i16, "MaxNearbyEntities" as max_nearby_entities: i16, "MaxSpawnDelay" as max_spawn_delay: i16, "MinSpawnDelay" as min_spawn_delay: i16, "RequiredPlayerRange" as required_player_range: i16, "SpawnCount" as spawn_count: i16, "SpawnData" as spawn_data: fastnbt::Value, "SpawnPotentials" as spawn_potentials: fastnbt::Value, "SpawnRange" as spawn_range: i16 }
        StructureBlockEntity > BlockEntity { "author" as author: CowStr, "ignoreEntities" as ignore_entities: bool, "integrity" as integrity: f32, "metadata" as metadata: CowStr, "mirror" as mirror: CowStr, "mode" as mode: CowStr, "name" as name: CowStr, "posX" as pos_x: i32, "posY" as pos_y: i32, "posZ" as pos_z: i32, "powered" as powered: bool, "rotation" as rotation: CowStr, "seed" as seed: i64, "showair" as showair: bool, "showboundingbox" as showboundingbox: bool, "sizeX" as size_x: i32, "sizeY" as size_y: i32, "sizeZ" as size_z: i32 }
        TheEndGatewayBlockEntity > TheEndPortalBlockEntity { "Age" as age: i64, optional "ExactTeleport" as exact_teleport: bool, optional "ExitPortal" as exit_portal: super::compounds::NbtUtils_writeBlockPos }
        TheEndPortalBlockEntity > BlockEntity {  }
        TrappedChestBlockEntity > ChestBlockEntity {  }
    }

    block_entity_compound_types! {
        "1.19";
        Compound2 { optional "Signature" as signature: CowStr, "Value" as value: CowStr }
        Compound5 { "EntityData" as entity_data: HashMap<CowStr, fastnbt::Value>, "MinOccupationTicks" as min_occupation_ticks: i32, "TicksInHive" as ticks_in_hive: i32 }
        ItemStack_save { "Count" as count: u8, "Slot" as slot: u8, "id" as id: CowStr, optional "tag" as tag: HashMap<CowStr, fastnbt::Value> }
        ItemStack_save_1 { "Count" as count: u8, "id" as id: CowStr, optional "tag" as tag: HashMap<CowStr, fastnbt::Value> }
        NbtUtils_writeBlockPos { "X" as x: i32, "Y" as y: i32, "Z" as z: i32 }
        NbtUtils_writeGameProfile { optional "Id" as id: u128, optional "Name" as name: CowStr, optional "Properties" as properties: HashMap<CowStr, Vec<super::compounds::Compound2>> }
    }
}

/// Accompanying types for block entities in Minecraft 1.19.1.
#[cfg(feature = "1.19.1")]
pub mod mc1_19_1 {
    block_entities! {
        "1.19.1", mc1_19_1;
        "minecraft:banner", Banner: BannerBlockEntity (> BlockEntity), ["CustomName", "Patterns"];
        "minecraft:barrel", Barrel: BarrelBlockEntity (> > > BlockEntity), ["Items", "LootTable", "LootTableSeed", "CustomName", "Lock"];
        "minecraft:beacon", Beacon: BeaconBlockEntity (> BlockEntity), ["CustomName", "Levels", "Lock", "Primary", "Secondary"];
        "minecraft:bed", Bed: BedBlockEntity (> BlockEntity), [];
        "minecraft:beehive", Beehive: BeehiveBlockEntity (> BlockEntity), ["Bees", "FlowerPos"];
        "minecraft:bell", Bell: BellBlockEntity (> BlockEntity), [];
        "minecraft:blast_furnace", BlastFurnace: BlastFurnaceBlockEntity (> > > BlockEntity), ["BurnTime", "CookTime", "CookTimeTotal", "Items", "RecipesUsed", "CustomName", "Lock"];
        "minecraft:brewing_stand", BrewingStand: BrewingStandBlockEntity (> > BlockEntity), ["BrewTime", "Fuel", "Items", "CustomName", "Lock"];
        "minecraft:campfire", Campfire: CampfireBlockEntity (> BlockEntity), ["CookingTimes", "CookingTotalTimes", "Items"];
        "minecraft:chest", Chest: ChestBlockEntity (> > > BlockEntity), ["Items", "LootTable", "LootTableSeed", "CustomName", "Lock"];
        "minecraft:command_block", CommandBlock: CommandBlockEntity (> BlockEntity), ["Command", "CustomName", "LastExecution", "LastOutput", "SuccessCount", "TrackOutput", "UpdateLastExecution", "auto", "conditionMet", "powered"];
        "minecraft:comparator", Comparator: ComparatorBlockEntity (> BlockEntity), ["OutputSignal"];
        "minecraft:conduit", Conduit: ConduitBlockEntity (> BlockEntity), ["Target"];
        "minecraft:daylight_detector", DaylightDetector: DaylightDetectorBlockEntity (> BlockEntity), [];
        "minecraft:dispenser", Dispenser: DispenserBlockEntity (> > > BlockEntity), ["Items", "LootTable", "LootTableSeed", "CustomName", "Lock"];
        "minecraft:dropper", Dropper: DropperBlockEntity (> > > > BlockEntity), ["Items", "LootTable", "LootTableSeed", "CustomName", "Lock"];
        "minecraft:enchanting_table", EnchantingTable: EnchantmentTableBlockEntity (> BlockEntity), ["CustomName"];
        "minecraft:end_gateway", EndGateway: TheEndGatewayBlockEntity (> > BlockEntity), ["Age", "ExactTeleport", "ExitPortal"];
        "minecraft:end_portal", EndPortal: TheEndPortalBlockEntity (> BlockEntity), [];
        "minecraft:ender_chest", EnderChest: EnderChestBlockEntity (> BlockEntity), [];
        "minecraft:furnace", Furnace: FurnaceBlockEntity (> > > BlockEntity), ["BurnTime", "CookTime", "CookTimeTotal", "Items", "RecipesUsed", "CustomName", "Lock"];
        "minecraft:hopper", Hopper: HopperBlockEntity (> > > BlockEntity), ["Items", "LootTable", "LootTableSeed", "TransferCooldown", "CustomName", "Lock"];
        "minecraft:jigsaw", Jigsaw: JigsawBlockEntity (> BlockEntity), ["final_state", "joint", "name", "pool", "target"];
        "minecraft:jukebox", Jukebox: JukeboxBlockEntity (> BlockEntity), ["IsPlaying", "RecordItem", "RecordStartTick", "TickCount"];
        "minecraft:lectern", Lectern: LecternBlockEntity (> BlockEntity), ["Book", "Page"];
        "minecraft:mob_spawner", MobSpawner: SpawnerBlockEntity (> BlockEntity), ["Delay", "MaxNearbyEntities", "MaxSpawnDelay", "MinSpawnDelay", "RequiredPlayerRange", "SpawnCount", "SpawnData", "SpawnPotentials", "SpawnRange"];
        "minecraft:piston", Piston: PistonMovingBlockEntity (> BlockEntity), ["blockState", "extending", "facing", "progress", "source"];
        "minecraft:sculk_catalyst", SculkCatalyst: SculkCatalystBlockEntity (> BlockEntity), ["cursors"];
        "minecraft:sculk_sensor", SculkSensor: SculkSensorBlockEntity (> BlockEntity), ["last_vibration_frequency", "listener"];
        "minecraft:sculk_shrieker", SculkShrieker: SculkShriekerBlockEntity (> BlockEntity), ["listener", "warning_level"];
        "minecraft:shulker_box", ShulkerBox: ShulkerBoxBlockEntity (> > > BlockEntity), ["Items", "LootTable", "LootTableSeed", "CustomName", "Lock"];
        "minecraft:sign", Sign: SignBlockEntity (> BlockEntity), ["Color", "FilteredText1", "FilteredText2", "FilteredText3", "FilteredText4", "GlowingText", "Text1", "Text2", "Text3", "Text4"];
        "minecraft:skull", Skull: SkullBlockEntity (> BlockEntity), ["SkullOwner"];
        "minecraft:smoker", Smoker: SmokerBlockEntity (> > > BlockEntity), ["BurnTime", "CookTime", "CookTimeTotal", "Items", "RecipesUsed", "CustomName", "Lock"];
        "minecraft:structure_block", StructureBlock: StructureBlockEntity (> BlockEntity), ["author", "ignoreEntities", "integrity", "metadata", "mirror", "mode", "name", "posX", "posY", "posZ", "powered", "rotation", "seed", "showair", "showboundingbox", "sizeX", "sizeY", "sizeZ"];
        "minecraft:trapped_chest", TrappedChest: TrappedChestBlockEntity (> > > > BlockEntity), ["Items", "LootTable", "LootTableSeed", "CustomName", "Lock"];
    }

    block_entity_types! {
        "1.19.1";
        AbstractFurnaceBlockEntity > BaseContainerBlockEntity { "BurnTime" as burn_time: i16, "CookTime" as cook_time: i16, "CookTimeTotal" as cook_time_total: i16, optional "Items" as items: Vec<super::compounds::ItemStack_save>, "RecipesUsed" as recipes_used: HashMap<CowStr, i32> }
        BannerBlockEntity > BlockEntity { optional "CustomName" as custom_name: CowStr, optional "Patterns" as patterns: Vec<fastnbt::Value> }
        BarrelBlockEntity > RandomizableContainerBlockEntity { optional "Items" as items: Vec<super::compounds::ItemStack_save>, optional "LootTable" as loot_table: CowStr, optional "LootTableSeed" as loot_table_seed: i64 }
        BaseContainerBlockEntity > BlockEntity { optional "CustomName" as custom_name: CowStr, optional "Lock" as lock: CowStr }
        BeaconBlockEntity > BlockEntity { optional "CustomName" as custom_name: CowStr, "Levels" as levels: i32, optional "Lock" as lock: CowStr, "Primary" as primary: i32, "Secondary" as secondary: i32 }
        BedBlockEntity > BlockEntity {  }
        BeehiveBlockEntity > BlockEntity { "Bees" as bees: Vec<super::compounds::Compound5>, optional "FlowerPos" as flower_pos: super::compounds::NbtUtils_writeBlockPos }
        BellBlockEntity > BlockEntity {  }
        BlastFurnaceBlockEntity > AbstractFurnaceBlockEntity {  }
        BlockEntity { "x" as x: i32, "y" as y: i32, "z" as z: i32 }
        BrewingStandBlockEntity > BaseContainerBlockEntity { "BrewTime" as brew_time: i16, "Fuel" as fuel: u8, optional "Items" as items: Vec<super::compounds::ItemStack_save> }
        CampfireBlockEntity > BlockEntity { "CookingTimes" as cooking_times: fastnbt::IntArray, "CookingTotalTimes" as cooking_total_times: fastnbt::IntArray, optional "Items" as items: Vec<super::compounds::ItemStack_save> }
        ChestBlockEntity > RandomizableContainerBlockEntity { optional "Items" as items: Vec<super::compounds::ItemStack_save>, optional "LootTable" as loot_table: CowStr, optional "LootTableSeed" as loot_table_seed: i64 }
        CommandBlockEntity > BlockEntity { "Command" as command: CowStr, "CustomName" as custom_name: CowStr, optional "LastExecution" as last_execution: i64, optional "LastOutput" as last_output: CowStr, "SuccessCount" as success_count: i32, "TrackOutput" as track_output: bool, "UpdateLastExecution" as update_last_execution: bool, "auto" as auto: bool, "conditionMet" as condition_met: bool, "powered" as powered: bool }
        ComparatorBlockEntity > BlockEntity { "OutputSignal" as output_signal: i32 }
        ConduitBlockEntity > BlockEntity { optional "Target" as target: u128 }
        DaylightDetectorBlockEntity > BlockEntity {  }
        DispenserBlockEntity > RandomizableContainerBlockEntity { optional "Items" as items: Vec<super::compounds::ItemStack_save>, optional "LootTable" as loot_table: CowStr, optional "LootTableSeed" as loot_table_seed: i64 }
        DropperBlockEntity > DispenserBlockEntity {  }
        EnchantmentTableBlockEntity > BlockEntity { optional "CustomName" as custom_name: CowStr }
        EnderChestBlockEntity > BlockEntity {  }
        FurnaceBlockEntity > AbstractFurnaceBlockEntity {  }
        HopperBlockEntity > RandomizableContainerBlockEntity { optional "Items" as items: Vec<super::compounds::ItemStack_save>, optional "LootTable" as loot_table: CowStr, optional "LootTableSeed" as loot_table_seed: i64, "TransferCooldown" as transfer_cooldown: i32 }
        JigsawBlockEntity > BlockEntity { "final_state" as final_state: CowStr, "joint" as joint: CowStr, "name" as name: CowStr, "pool" as pool: CowStr, "target" as target: CowStr }
        JukeboxBlockEntity > BlockEntity { "IsPlaying" as is_playing: bool, optional "RecordItem" as record_item: super::compounds::ItemStack_save_1, "RecordStartTick" as record_start_tick: i64, "TickCount" as tick_count: i64 }
        LecternBlockEntity > BlockEntity { optional "Book" as book: super::compounds::ItemStack_save_1, optional "Page" as page: i32 }
        PistonMovingBlockEntity > BlockEntity { "blockState" as block_state: super::BlockState, "extending" as extending: bool, "facing" as facing: i32, "progress" as progress: f32, "source" as source: bool }
        RandomizableContainerBlockEntity > BaseContainerBlockEntity {  }
        SculkCatalystBlockEntity > BlockEntity { optional "cursors" as cursors: fastnbt::Value }
        SculkSensorBlockEntity > BlockEntity { "last_vibration_frequency" as last_vibration_frequency: i32, optional "listener" as listener: fastnbt::Value }
        SculkShriekerBlockEntity > BlockEntity { optional "listener" as listener: fastnbt::Value, "warning_level" as warning_level: i32 }
        ShulkerBoxBlockEntity > RandomizableContainerBlockEntity { optional "Items" as items: Vec<super::compounds::ItemStack_save>, optional "LootTable" as loot_table: CowStr, optional "LootTableSeed" as loot_table_seed: i64 }
        SignBlockEntity > BlockEntity { "Color" as color: CowStr, optional "FilteredText1" as filtered_text1: CowStr, optional "FilteredText2" as filtered_text2: CowStr, optional "FilteredText3" as filtered_text3: CowStr, optional "FilteredText4" as filtered_text4: CowStr, "GlowingText" as glowing_text: bool, optional "Text1" as text1: CowStr, optional "Text2" as text2: CowStr, optional "Text3" as text3: CowStr, optional "Text4" as text4: CowStr }
        SkullBlockEntity > BlockEntity { optional "SkullOwner" as skull_owner: super::compounds::NbtUtils_writeGameProfile }
        SmokerBlockEntity > AbstractFurnaceBlockEntity {  }
        SpawnerBlockEntity > BlockEntity { "Delay" as delay: i16, "MaxNearbyEntities" as max_nearby_entities: i16, "MaxSpawnDelay" as max_spawn_delay: i16, "MinSpawnDelay" as min_spawn_delay: i16, "RequiredPlayerRange" as required_player_range: i16, "SpawnCount" as spawn_count: i16, "SpawnData" as spawn_data: fastnbt::Value, "SpawnPotentials" as spawn_potentials: fastnbt::Value, "SpawnRange" as spawn_range: i16 }
        StructureBlockEntity > BlockEntity { "author" as author: CowStr, "ignoreEntities" as ignore_entities: bool, "integrity" as integrity: f32, "metadata" as metadata: CowStr, "mirror" as mirror: CowStr, "mode" as mode: CowStr, "name" as name: CowStr, "posX" as pos_x: i32, "posY" as pos_y: i32, "posZ" as pos_z: i32, "powered" as powered: bool, "rotation" as rotation: CowStr, "seed" as seed: i64, "showair" as showair: bool, "showboundingbox" as showboundingbox: bool, "sizeX" as size_x: i32, "sizeY" as size_y: i32, "sizeZ" as size_z: i32 }
        TheEndGatewayBlockEntity > TheEndPortalBlockEntity { "Age" as age: i64, optional "ExactTeleport" as exact_teleport: bool, optional "ExitPortal" as exit_portal: super::compounds::NbtUtils_writeBlockPos }
        TheEndPortalBlockEntity > BlockEntity {  }
        TrappedChestBlockEntity > ChestBlockEntity {  }
    }

    block_entity_compound_types! {
        "1.19.1";
        Compound2 { optional "Signature" as signature: CowStr, "Value" as value: CowStr }
        Compound5 { "EntityData" as entity_data: HashMap<CowStr, fastnbt::Value>, "MinOccupationTicks" as min_occupation_ticks: i32, "TicksInHive" as ticks_in_hive: i32 }
        ItemStack_save { "Count" as count: u8, "Slot" as slot: u8, "id" as id: CowStr, optional "tag" as tag: HashMap<CowStr, fastnbt::Value> }
        ItemStack_save_1 { "Count" as count: u8, "id" as id: CowStr, optional "tag" as tag: HashMap<CowStr, fastnbt::Value> }
        NbtUtils_writeBlockPos { "X" as x: i32, "Y" as y: i32, "Z" as z: i32 }
        NbtUtils_writeGameProfile { optional "Id" as id: u128, optional "Name" as name: CowStr, optional "Properties" as properties: HashMap<CowStr, Vec<super::compounds::Compound2>> }
    }
}

/// Accompanying types for block entities in Minecraft 1.19.3.
#[cfg(feature = "1.19.3")]
pub mod mc1_19_3 {
    block_entities! {
        "1.19.3", mc1_19_3;
        "minecraft:banner", Banner: BannerBlockEntity (> BlockEntity), ["CustomName", "Patterns"];
        "minecraft:barrel", Barrel: BarrelBlockEntity (> > > BlockEntity), ["Items", "LootTable", "LootTableSeed", "CustomName", "Lock"];
        "minecraft:beacon", Beacon: BeaconBlockEntity (> BlockEntity), ["CustomName", "Levels", "Lock", "Primary", "Secondary"];
        "minecraft:bed", Bed: BedBlockEntity (> BlockEntity), [];
        "minecraft:beehive", Beehive: BeehiveBlockEntity (> BlockEntity), ["Bees", "FlowerPos"];
        "minecraft:bell", Bell: BellBlockEntity (> BlockEntity), [];
        "minecraft:blast_furnace", BlastFurnace: BlastFurnaceBlockEntity (> > > BlockEntity), ["BurnTime", "CookTime", "CookTimeTotal", "Items", "RecipesUsed", "CustomName", "Lock"];
        "minecraft:brewing_stand", BrewingStand: BrewingStandBlockEntity (> > BlockEntity), ["BrewTime", "Fuel", "Items", "CustomName", "Lock"];
        "minecraft:campfire", Campfire: CampfireBlockEntity (> BlockEntity), ["CookingTimes", "CookingTotalTimes", "Items"];
        "minecraft:chest", Chest: ChestBlockEntity (> > > BlockEntity), ["Items", "LootTable", "LootTableSeed", "CustomName", "Lock"];
        "minecraft:chiseled_bookshelf", ChiseledBookshelf: ChiseledBookShelfBlockEntity (> BlockEntity), ["Items", "last_interacted_slot"];
        "minecraft:command_block", CommandBlock: CommandBlockEntity (> BlockEntity), ["Command", "CustomName", "LastExecution", "LastOutput", "SuccessCount", "TrackOutput", "UpdateLastExecution", "auto", "conditionMet", "powered"];
        "minecraft:comparator", Comparator: ComparatorBlockEntity (> BlockEntity), ["OutputSignal"];
        "minecraft:conduit", Conduit: ConduitBlockEntity (> BlockEntity), ["Target"];
        "minecraft:daylight_detector", DaylightDetector: DaylightDetectorBlockEntity (> BlockEntity), [];
        "minecraft:dispenser", Dispenser: DispenserBlockEntity (> > > BlockEntity), ["Items", "LootTable", "LootTableSeed", "CustomName", "Lock"];
        "minecraft:dropper", Dropper: DropperBlockEntity (> > > > BlockEntity), ["Items", "LootTable", "LootTableSeed", "CustomName", "Lock"];
        "minecraft:enchanting_table", EnchantingTable: EnchantmentTableBlockEntity (> BlockEntity), ["CustomName"];
        "minecraft:end_gateway", EndGateway: TheEndGatewayBlockEntity (> > BlockEntity), ["Age", "ExactTeleport", "ExitPortal"];
        "minecraft:end_portal", EndPortal: TheEndPortalBlockEntity (> BlockEntity), [];
        "minecraft:ender_chest", EnderChest: EnderChestBlockEntity (> BlockEntity), [];
        "minecraft:furnace", Furnace: FurnaceBlockEntity (> > > BlockEntity), ["BurnTime", "CookTime", "CookTimeTotal", "Items", "RecipesUsed", "CustomName", "Lock"];
        "minecraft:hanging_sign", HangingSign: HangingSignBlockEntity (> > BlockEntity), ["Color", "FilteredText1", "FilteredText2", "FilteredText3", "FilteredText4", "GlowingText", "Text1", "Text2", "Text3", "Text4"];
        "minecraft:hopper", Hopper: HopperBlockEntity (> > > BlockEntity), ["Items", "LootTable", "LootTableSeed", "TransferCooldown", "CustomName", "Lock"];
        "minecraft:jigsaw", Jigsaw: JigsawBlockEntity (> BlockEntity), ["final_state", "joint", "name", "pool", "target"];
        "minecraft:jukebox", Jukebox: JukeboxBlockEntity (> BlockEntity), ["IsPlaying", "RecordItem", "RecordStartTick", "TickCount"];
        "minecraft:lectern", Lectern: LecternBlockEntity (> BlockEntity), ["Book", "Page"];
        "minecraft:mob_spawner", MobSpawner: SpawnerBlockEntity (> BlockEntity), ["Delay", "MaxNearbyEntities", "MaxSpawnDelay", "MinSpawnDelay", "RequiredPlayerRange", "SpawnCount", "SpawnData", "SpawnPotentials", "SpawnRange"];
        "minecraft:piston", Piston: PistonMovingBlockEntity (> BlockEntity), ["blockState", "extending", "facing", "progress", "source"];
        "minecraft:sculk_catalyst", SculkCatalyst: SculkCatalystBlockEntity (> BlockEntity), ["cursors"];
        "minecraft:sculk_sensor", SculkSensor: SculkSensorBlockEntity (> BlockEntity), ["last_vibration_frequency", "listener"];
        "minecraft:sculk_shrieker", SculkShrieker: SculkShriekerBlockEntity (> BlockEntity), ["listener", "warning_level"];
        "minecraft:shulker_box", ShulkerBox: ShulkerBoxBlockEntity (> > > BlockEntity), ["Items", "LootTable", "LootTableSeed", "CustomName", "Lock"];
        "minecraft:sign", Sign: SignBlockEntity (> BlockEntity), ["Color", "FilteredText1", "FilteredText2", "FilteredText3", "FilteredText4", "GlowingText", "Text1", "Text2", "Text3", "Text4"];
        "minecraft:skull", Skull: SkullBlockEntity (> BlockEntity), ["SkullOwner", "note_block_sound"];
        "minecraft:smoker", Smoker: SmokerBlockEntity (> > > BlockEntity), ["BurnTime", "CookTime", "CookTimeTotal", "Items", "RecipesUsed", "CustomName", "Lock"];
        "minecraft:structure_block", StructureBlock: StructureBlockEntity (> BlockEntity), ["author", "ignoreEntities", "integrity", "metadata", "mirror", "mode", "name", "posX", "posY", "posZ", "powered", "rotation", "seed", "showair", "showboundingbox", "sizeX", "sizeY", "sizeZ"];
        "minecraft:trapped_chest", TrappedChest: TrappedChestBlockEntity (> > > > BlockEntity), ["Items", "LootTable", "LootTableSeed", "CustomName", "Lock"];
    }

    block_entity_types! {
        "1.19.3";
        AbstractFurnaceBlockEntity > BaseContainerBlockEntity { "BurnTime" as burn_time: i16, "CookTime" as cook_time: i16, "CookTimeTotal" as cook_time_total: i16, optional "Items" as items: Vec<super::compounds::ItemStack_save>, "RecipesUsed" as recipes_used: HashMap<CowStr, i32> }
        BannerBlockEntity > BlockEntity { optional "CustomName" as custom_name: CowStr, optional "Patterns" as patterns: Vec<fastnbt::Value> }
        BarrelBlockEntity > RandomizableContainerBlockEntity { optional "Items" as items: Vec<super::compounds::ItemStack_save>, optional "LootTable" as loot_table: CowStr, optional "LootTableSeed" as loot_table_seed: i64 }
        BaseContainerBlockEntity > BlockEntity { optional "CustomName" as custom_name: CowStr, optional "Lock" as lock: CowStr }
        BeaconBlockEntity > BlockEntity { optional "CustomName" as custom_name: CowStr, "Levels" as levels: i32, optional "Lock" as lock: CowStr, "Primary" as primary: i32, "Secondary" as secondary: i32 }
        BedBlockEntity > BlockEntity {  }
        BeehiveBlockEntity > BlockEntity { "Bees" as bees: Vec<super::compounds::Compound5>, optional "FlowerPos" as flower_pos: super::compounds::NbtUtils_writeBlockPos }
        BellBlockEntity > BlockEntity {  }
        BlastFurnaceBlockEntity > AbstractFurnaceBlockEntity {  }
        BlockEntity { "x" as x: i32, "y" as y: i32, "z" as z: i32 }
        BrewingStandBlockEntity > BaseContainerBlockEntity { "BrewTime" as brew_time: i16, "Fuel" as fuel: u8, optional "Items" as items: Vec<super::compounds::ItemStack_save> }
        CampfireBlockEntity > BlockEntity { "CookingTimes" as cooking_times: fastnbt::IntArray, "CookingTotalTimes" as cooking_total_times: fastnbt::IntArray, optional "Items" as items: Vec<super::compounds::ItemStack_save> }
        ChestBlockEntity > RandomizableContainerBlockEntity { optional "Items" as items: Vec<super::compounds::ItemStack_save>, optional "LootTable" as loot_table: CowStr, optional "LootTableSeed" as loot_table_seed: i64 }
        ChiseledBookShelfBlockEntity > BlockEntity { optional "Items" as items: Vec<super::compounds::ItemStack_save>, "last_interacted_slot" as last_interacted_slot: i32 }
        CommandBlockEntity > BlockEntity { "Command" as command: CowStr, "CustomName" as custom_name: CowStr, optional "LastExecution" as last_execution: i64, optional "LastOutput" as last_output: CowStr, "SuccessCount" as success_count: i32, "TrackOutput" as track_output: bool, "UpdateLastExecution" as update_last_execution: bool, "auto" as auto: bool, "conditionMet" as condition_met: bool, "powered" as powered: bool }
        ComparatorBlockEntity > BlockEntity { "OutputSignal" as output_signal: i32 }
        ConduitBlockEntity > BlockEntity { optional "Target" as target: u128 }
        DaylightDetectorBlockEntity > BlockEntity {  }
        DispenserBlockEntity > RandomizableContainerBlockEntity { optional "Items" as items: Vec<super::compounds::ItemStack_save>, optional "LootTable" as loot_table: CowStr, optional "LootTableSeed" as loot_table_seed: i64 }
        DropperBlockEntity > DispenserBlockEntity {  }
        EnchantmentTableBlockEntity > BlockEntity { optional "CustomName" as custom_name: CowStr }
        EnderChestBlockEntity > BlockEntity {  }
        FurnaceBlockEntity > AbstractFurnaceBlockEntity {  }
        HangingSignBlockEntity > SignBlockEntity {  }
        HopperBlockEntity > RandomizableContainerBlockEntity { optional "Items" as items: Vec<super::compounds::ItemStack_save>, optional "LootTable" as loot_table: CowStr, optional "LootTableSeed" as loot_table_seed: i64, "TransferCooldown" as transfer_cooldown: i32 }
        JigsawBlockEntity > BlockEntity { "final_state" as final_state: CowStr, "joint" as joint: CowStr, "name" as name: CowStr, "pool" as pool: CowStr, "target" as target: CowStr }
        JukeboxBlockEntity > BlockEntity { "IsPlaying" as is_playing: bool, optional "RecordItem" as record_item: super::compounds::ItemStack_save_1, "RecordStartTick" as record_start_tick: i64, "TickCount" as tick_count: i64 }
        LecternBlockEntity > BlockEntity { optional "Book" as book: super::compounds::ItemStack_save_1, optional "Page" as page: i32 }
        PistonMovingBlockEntity > BlockEntity { "blockState" as block_state: super::BlockState, "extending" as extending: bool, "facing" as facing: i32, "progress" as progress: f32, "source" as source: bool }
        RandomizableContainerBlockEntity > BaseContainerBlockEntity {  }
        SculkCatalystBlockEntity > BlockEntity { optional "cursors" as cursors: fastnbt::Value }
        SculkSensorBlockEntity > BlockEntity { "last_vibration_frequency" as last_vibration_frequency: i32, optional "listener" as listener: fastnbt::Value }
        SculkShriekerBlockEntity > BlockEntity { optional "listener" as listener: fastnbt::Value, "warning_level" as warning_level: i32 }
        ShulkerBoxBlockEntity > RandomizableContainerBlockEntity { optional "Items" as items: Vec<super::compounds::ItemStack_save>, optional "LootTable" as loot_table: CowStr, optional "LootTableSeed" as loot_table_seed: i64 }
        SignBlockEntity > BlockEntity { "Color" as color: CowStr, optional "FilteredText1" as filtered_text1: CowStr, optional "FilteredText2" as filtered_text2: CowStr, optional "FilteredText3" as filtered_text3: CowStr, optional "FilteredText4" as filtered_text4: CowStr, "GlowingText" as glowing_text: bool, optional "Text1" as text1: CowStr, optional "Text2" as text2: CowStr, optional "Text3" as text3: CowStr, optional "Text4" as text4: CowStr }
        SkullBlockEntity > BlockEntity { optional "SkullOwner" as skull_owner: super::compounds::NbtUtils_writeGameProfile, optional "note_block_sound" as note_block_sound: CowStr }
        SmokerBlockEntity > AbstractFurnaceBlockEntity {  }
        SpawnerBlockEntity > BlockEntity { "Delay" as delay: i16, "MaxNearbyEntities" as max_nearby_entities: i16, "MaxSpawnDelay" as max_spawn_delay: i16, "MinSpawnDelay" as min_spawn_delay: i16, "RequiredPlayerRange" as required_player_range: i16, "SpawnCount" as spawn_count: i16, optional "SpawnData" as spawn_data: fastnbt::Value, "SpawnPotentials" as spawn_potentials: fastnbt::Value, "SpawnRange" as spawn_range: i16 }
        StructureBlockEntity > BlockEntity { "author" as author: CowStr, "ignoreEntities" as ignore_entities: bool, "integrity" as integrity: f32, "metadata" as metadata: CowStr, "mirror" as mirror: CowStr, "mode" as mode: CowStr, "name" as name: CowStr, "posX" as pos_x: i32, "posY" as pos_y: i32, "posZ" as pos_z: i32, "powered" as powered: bool, "rotation" as rotation: CowStr, "seed" as seed: i64, "showair" as showair: bool, "showboundingbox" as showboundingbox: bool, "sizeX" as size_x: i32, "sizeY" as size_y: i32, "sizeZ" as size_z: i32 }
        TheEndGatewayBlockEntity > TheEndPortalBlockEntity { "Age" as age: i64, optional "ExactTeleport" as exact_teleport: bool, optional "ExitPortal" as exit_portal: super::compounds::NbtUtils_writeBlockPos }
        TheEndPortalBlockEntity > BlockEntity {  }
        TrappedChestBlockEntity > ChestBlockEntity {  }
    }

    block_entity_compound_types! {
        "1.19.3";
        Compound2 { optional "Signature" as signature: CowStr, "Value" as value: CowStr }
        Compound5 { "EntityData" as entity_data: HashMap<CowStr, fastnbt::Value>, "MinOccupationTicks" as min_occupation_ticks: i32, "TicksInHive" as ticks_in_hive: i32 }
        ItemStack_save { "Count" as count: u8, "Slot" as slot: u8, "id" as id: CowStr, optional "tag" as tag: HashMap<CowStr, fastnbt::Value> }
        ItemStack_save_1 { "Count" as count: u8, "id" as id: CowStr, optional "tag" as tag: HashMap<CowStr, fastnbt::Value> }
        NbtUtils_writeBlockPos { "X" as x: i32, "Y" as y: i32, "Z" as z: i32 }
        NbtUtils_writeGameProfile { optional "Id" as id: u128, optional "Name" as name: CowStr, optional "Properties" as properties: HashMap<CowStr, Vec<super::compounds::Compound2>> }
    }
}

/// Accompanying types for block entities in Minecraft 1.19.4.
#[cfg(feature = "1.19.4")]
pub mod mc1_19_4 {
    block_entities! {
        "1.19.4", mc1_19_4;
        "minecraft:banner", Banner: BannerBlockEntity (> BlockEntity), ["CustomName", "Patterns"];
        "minecraft:barrel", Barrel: BarrelBlockEntity (> > > BlockEntity), ["Items", "LootTable", "LootTableSeed", "CustomName", "Lock"];
        "minecraft:beacon", Beacon: BeaconBlockEntity (> BlockEntity), ["CustomName", "Levels", "Lock", "Primary", "Secondary"];
        "minecraft:bed", Bed: BedBlockEntity (> BlockEntity), [];
        "minecraft:beehive", Beehive: BeehiveBlockEntity (> BlockEntity), ["Bees", "FlowerPos"];
        "minecraft:bell", Bell: BellBlockEntity (> BlockEntity), [];
        "minecraft:blast_furnace", BlastFurnace: BlastFurnaceBlockEntity (> > > BlockEntity), ["BurnTime", "CookTime", "CookTimeTotal", "Items", "RecipesUsed", "CustomName", "Lock"];
        "minecraft:brewing_stand", BrewingStand: BrewingStandBlockEntity (> > BlockEntity), ["BrewTime", "Fuel", "Items", "CustomName", "Lock"];
        "minecraft:campfire", Campfire: CampfireBlockEntity (> BlockEntity), ["CookingTimes", "CookingTotalTimes", "Items"];
        "minecraft:chest", Chest: ChestBlockEntity (> > > BlockEntity), ["Items", "LootTable", "LootTableSeed", "CustomName", "Lock"];
        "minecraft:chiseled_bookshelf", ChiseledBookshelf: ChiseledBookShelfBlockEntity (> BlockEntity), ["Items", "last_interacted_slot"];
        "minecraft:command_block", CommandBlock: CommandBlockEntity (> BlockEntity), ["Command", "CustomName", "LastExecution", "LastOutput", "SuccessCount", "TrackOutput", "UpdateLastExecution", "auto", "conditionMet", "powered"];
        "minecraft:comparator", Comparator: ComparatorBlockEntity (> BlockEntity), ["OutputSignal"];
        "minecraft:conduit", Conduit: ConduitBlockEntity (> BlockEntity), ["Target"];
        "minecraft:daylight_detector", DaylightDetector: DaylightDetectorBlockEntity (> BlockEntity), [];
        "minecraft:decorated_pot", DecoratedPot: DecoratedPotBlockEntity (> BlockEntity), ["shards"];
        "minecraft:dispenser", Dispenser: DispenserBlockEntity (> > > BlockEntity), ["Items", "LootTable", "LootTableSeed", "CustomName", "Lock"];
        "minecraft:dropper", Dropper: DropperBlockEntity (> > > > BlockEntity), ["Items", "LootTable", "LootTableSeed", "CustomName", "Lock"];
        "minecraft:enchanting_table", EnchantingTable: EnchantmentTableBlockEntity (> BlockEntity), ["CustomName"];
        "minecraft:end_gateway", EndGateway: TheEndGatewayBlockEntity (> > BlockEntity), ["Age", "ExactTeleport", "ExitPortal"];
        "minecraft:end_portal", EndPortal: TheEndPortalBlockEntity (> BlockEntity), [];
        "minecraft:ender_chest", EnderChest: EnderChestBlockEntity (> BlockEntity), [];
        "minecraft:furnace", Furnace: FurnaceBlockEntity (> > > BlockEntity), ["BurnTime", "CookTime", "CookTimeTotal", "Items", "RecipesUsed", "CustomName", "Lock"];
        "minecraft:hanging_sign", HangingSign: HangingSignBlockEntity (> > BlockEntity), ["Color", "FilteredText1", "FilteredText2", "FilteredText3", "FilteredText4", "GlowingText", "Text1", "Text2", "Text3", "Text4"];
        "minecraft:hopper", Hopper: HopperBlockEntity (> > > BlockEntity), ["Items", "LootTable", "LootTableSeed", "TransferCooldown", "CustomName", "Lock"];
        "minecraft:jigsaw", Jigsaw: JigsawBlockEntity (> BlockEntity), ["final_state", "joint", "name", "pool", "target"];
        "minecraft:jukebox", Jukebox: JukeboxBlockEntity (> BlockEntity), ["IsPlaying", "RecordItem", "RecordStartTick", "TickCount"];
        "minecraft:lectern", Lectern: LecternBlockEntity (> BlockEntity), ["Book", "Page"];
        "minecraft:mob_spawner", MobSpawner: SpawnerBlockEntity (> BlockEntity), ["Delay", "MaxNearbyEntities", "MaxSpawnDelay", "MinSpawnDelay", "RequiredPlayerRange", "SpawnCount", "SpawnData", "SpawnPotentials", "SpawnRange"];
        "minecraft:piston", Piston: PistonMovingBlockEntity (> BlockEntity), ["blockState", "extending", "facing", "progress", "source"];
        "minecraft:sculk_catalyst", SculkCatalyst: SculkCatalystBlockEntity (> BlockEntity), ["cursors"];
        "minecraft:sculk_sensor", SculkSensor: SculkSensorBlockEntity (> BlockEntity), ["last_vibration_frequency", "listener"];
        "minecraft:sculk_shrieker", SculkShrieker: SculkShriekerBlockEntity (> BlockEntity), ["listener", "warning_level"];
        "minecraft:shulker_box", ShulkerBox: ShulkerBoxBlockEntity (> > > BlockEntity), ["Items", "LootTable", "LootTableSeed", "CustomName", "Lock"];
        "minecraft:sign", Sign: SignBlockEntity (> BlockEntity), ["Color", "FilteredText1", "FilteredText2", "FilteredText3", "FilteredText4", "GlowingText", "Text1", "Text2", "Text3", "Text4"];
        "minecraft:skull", Skull: SkullBlockEntity (> BlockEntity), ["SkullOwner", "note_block_sound"];
        "minecraft:smoker", Smoker: SmokerBlockEntity (> > > BlockEntity), ["BurnTime", "CookTime", "CookTimeTotal", "Items", "RecipesUsed", "CustomName", "Lock"];
        "minecraft:structure_block", StructureBlock: StructureBlockEntity (> BlockEntity), ["author", "ignoreEntities", "integrity", "metadata", "mirror", "mode", "name", "posX", "posY", "posZ", "powered", "rotation", "seed", "showair", "showboundingbox", "sizeX", "sizeY", "sizeZ"];
        "minecraft:suspicious_sand", SuspiciousSand: SuspiciousSandBlockEntity (> BlockEntity), ["item", "loot_table", "loot_table_seed"];
        "minecraft:trapped_chest", TrappedChest: TrappedChestBlockEntity (> > > > BlockEntity), ["Items", "LootTable", "LootTableSeed", "CustomName", "Lock"];
    }

    block_entity_types! {
        "1.19.4";
        AbstractFurnaceBlockEntity > BaseContainerBlockEntity { "BurnTime" as burn_time: i16, "CookTime" as cook_time: i16, "CookTimeTotal" as cook_time_total: i16, optional "Items" as items: Vec<super::compounds::ItemStack_save>, "RecipesUsed" as recipes_used: HashMap<CowStr, i32> }
        BannerBlockEntity > BlockEntity { optional "CustomName" as custom_name: CowStr, optional "Patterns" as patterns: Vec<fastnbt::Value> }
        BarrelBlockEntity > RandomizableContainerBlockEntity { optional "Items" as items: Vec<super::compounds::ItemStack_save>, optional "LootTable" as loot_table: CowStr, optional "LootTableSeed" as loot_table_seed: i64 }
        BaseContainerBlockEntity > BlockEntity { optional "CustomName" as custom_name: CowStr, optional "Lock" as lock: CowStr }
        BeaconBlockEntity > BlockEntity { optional "CustomName" as custom_name: CowStr, "Levels" as levels: i32, optional "Lock" as lock: CowStr, "Primary" as primary: i32, "Secondary" as secondary: i32 }
        BedBlockEntity > BlockEntity {  }
        BeehiveBlockEntity > BlockEntity { "Bees" as bees: Vec<super::compounds::Compound5>, optional "FlowerPos" as flower_pos: super::compounds::NbtUtils_writeBlockPos }
        BellBlockEntity > BlockEntity {  }
        BlastFurnaceBlockEntity > AbstractFurnaceBlockEntity {  }
        BlockEntity { "x" as x: i32, "y" as y: i32, "z" as z: i32 }
        BrewingStandBlockEntity > BaseContainerBlockEntity { "BrewTime" as brew_time: i16, "Fuel" as fuel: u8, optional "Items" as items: Vec<super::compounds::ItemStack_save> }
        CampfireBlockEntity > BlockEntity { "CookingTimes" as cooking_times: fastnbt::IntArray, "CookingTotalTimes" as cooking_total_times: fastnbt::IntArray, optional "Items" as items: Vec<super::compounds::ItemStack_save> }
        ChestBlockEntity > RandomizableContainerBlockEntity { optional "Items" as items: Vec<super::compounds::ItemStack_save>, optional "LootTable" as loot_table: CowStr, optional "LootTableSeed" as loot_table_seed: i64 }
        ChiseledBookShelfBlockEntity > BlockEntity { optional "Items" as items: Vec<super::compounds::ItemStack_save>, "last_interacted_slot" as last_interacted_slot: i32 }
        CommandBlockEntity > BlockEntity { "Command" as command: CowStr, "CustomName" as custom_name: CowStr, optional "LastExecution" as last_execution: i64, optional "LastOutput" as last_output: CowStr, "SuccessCount" as success_count: i32, "TrackOutput" as track_output: bool, "UpdateLastExecution" as update_last_execution: bool, "auto" as auto: bool, "conditionMet" as condition_met: bool, "powered" as powered: bool }
        ComparatorBlockEntity > BlockEntity { "OutputSignal" as output_signal: i32 }
        ConduitBlockEntity > BlockEntity { optional "Target" as target: u128 }
        DaylightDetectorBlockEntity > BlockEntity {  }
        DecoratedPotBlockEntity > BlockEntity { "shards" as shards: Vec<CowStr> }
        DispenserBlockEntity > RandomizableContainerBlockEntity { optional "Items" as items: Vec<super::compounds::ItemStack_save>, optional "LootTable" as loot_table: CowStr, optional "LootTableSeed" as loot_table_seed: i64 }
        DropperBlockEntity > DispenserBlockEntity {  }
        EnchantmentTableBlockEntity > BlockEntity { optional "CustomName" as custom_name: CowStr }
        EnderChestBlockEntity > BlockEntity {  }
        FurnaceBlockEntity > AbstractFurnaceBlockEntity {  }
        HangingSignBlockEntity > SignBlockEntity {  }
        HopperBlockEntity > RandomizableContainerBlockEntity { optional "Items" as items: Vec<super::compounds::ItemStack_save>, optional "LootTable" as loot_table: CowStr, optional "LootTableSeed" as loot_table_seed: i64, "TransferCooldown" as transfer_cooldown: i32 }
        JigsawBlockEntity > BlockEntity { "final_state" as final_state: CowStr, "joint" as joint: CowStr, "name" as name: CowStr, "pool" as pool: CowStr, "target" as target: CowStr }
        JukeboxBlockEntity > BlockEntity { "IsPlaying" as is_playing: bool, optional "RecordItem" as record_item: super::compounds::ItemStack_save_1, "RecordStartTick" as record_start_tick: i64, "TickCount" as tick_count: i64 }
        LecternBlockEntity > BlockEntity { optional "Book" as book: super::compounds::ItemStack_save_1, optional "Page" as page: i32 }
        PistonMovingBlockEntity > BlockEntity { "blockState" as block_state: super::BlockState, "extending" as extending: bool, "facing" as facing: i32, "progress" as progress: f32, "source" as source: bool }
        RandomizableContainerBlockEntity > BaseContainerBlockEntity {  }
        SculkCatalystBlockEntity > BlockEntity { optional "cursors" as cursors: fastnbt::Value }
        SculkSensorBlockEntity > BlockEntity { "last_vibration_frequency" as last_vibration_frequency: i32, optional "listener" as listener: fastnbt::Value }
        SculkShriekerBlockEntity > BlockEntity { optional "listener" as listener: fastnbt::Value, "warning_level" as warning_level: i32 }
        ShulkerBoxBlockEntity > RandomizableContainerBlockEntity { optional "Items" as items: Vec<super::compounds::ItemStack_save>, optional "LootTable" as loot_table: CowStr, optional "LootTableSeed" as loot_table_seed: i64 }
        SignBlockEntity > BlockEntity { "Color" as color: CowStr, optional "FilteredText1" as filtered_text1: CowStr, optional "FilteredText2" as filtered_text2: CowStr, optional "FilteredText3" as filtered_text3: CowStr, optional "FilteredText4" as filtered_text4: CowStr, "GlowingText" as glowing_text: bool, optional "Text1" as text1: CowStr, optional "Text2" as text2: CowStr, optional "Text3" as text3: CowStr, optional "Text4" as text4: CowStr }
        SkullBlockEntity > BlockEntity { optional "SkullOwner" as skull_owner: super::compounds::NbtUtils_writeGameProfile, optional "note_block_sound" as note_block_sound: CowStr }
        SmokerBlockEntity > AbstractFurnaceBlockEntity {  }
        SpawnerBlockEntity > BlockEntity { "Delay" as delay: i16, "MaxNearbyEntities" as max_nearby_entities: i16, "MaxSpawnDelay" as max_spawn_delay: i16, "MinSpawnDelay" as min_spawn_delay: i16, "RequiredPlayerRange" as required_player_range: i16, "SpawnCount" as spawn_count: i16, optional "SpawnData" as spawn_data: fastnbt::Value, "SpawnPotentials" as spawn_potentials: fastnbt::Value, "SpawnRange" as spawn_range: i16 }
        StructureBlockEntity > BlockEntity { "author" as author: CowStr, "ignoreEntities" as ignore_entities: bool, "integrity" as integrity: f32, "metadata" as metadata: CowStr, "mirror" as mirror: CowStr, "mode" as mode: CowStr, "name" as name: CowStr, "posX" as pos_x: i32, "posY" as pos_y: i32, "posZ" as pos_z: i32, "powered" as powered: bool, "rotation" as rotation: CowStr, "seed" as seed: i64, "showair" as showair: bool, "showboundingbox" as showboundingbox: bool, "sizeX" as size_x: i32, "sizeY" as size_y: i32, "sizeZ" as size_z: i32 }
        SuspiciousSandBlockEntity > BlockEntity { optional "item" as item: super::compounds::ItemStack_save_1, optional "loot_table" as loot_table: CowStr, optional "loot_table_seed" as loot_table_seed: i64 }
        TheEndGatewayBlockEntity > TheEndPortalBlockEntity { "Age" as age: i64, optional "ExactTeleport" as exact_teleport: bool, optional "ExitPortal" as exit_portal: super::compounds::NbtUtils_writeBlockPos }
        TheEndPortalBlockEntity > BlockEntity {  }
        TrappedChestBlockEntity > ChestBlockEntity {  }
    }

    block_entity_compound_types! {
        "1.19.4";
        Compound2 { optional "Signature" as signature: CowStr, "Value" as value: CowStr }
        Compound5 { "EntityData" as entity_data: HashMap<CowStr, fastnbt::Value>, "MinOccupationTicks" as min_occupation_ticks: i32, "TicksInHive" as ticks_in_hive: i32 }
        ItemStack_save { "Count" as count: u8, "Slot" as slot: u8, "id" as id: CowStr, optional "tag" as tag: HashMap<CowStr, fastnbt::Value> }
        ItemStack_save_1 { "Count" as count: u8, "id" as id: CowStr, optional "tag" as tag: HashMap<CowStr, fastnbt::Value> }
        NbtUtils_writeBlockPos { "X" as x: i32, "Y" as y: i32, "Z" as z: i32 }
        NbtUtils_writeGameProfile { optional "Id" as id: u128, optional "Name" as name: CowStr, optional "Properties" as properties: HashMap<CowStr, Vec<super::compounds::Compound2>> }
    }
}

/// Accompanying types for block entities in Minecraft 1.20.
#[cfg(feature = "1.20")]
pub mod mc1_20 {
    block_entities! {
        "1.20", mc1_20;
        "minecraft:banner", Banner: BannerBlockEntity (> BlockEntity), ["CustomName", "Patterns"];
        "minecraft:barrel", Barrel: BarrelBlockEntity (> > > BlockEntity), ["Items", "LootTable", "LootTableSeed", "CustomName", "Lock"];
        "minecraft:beacon", Beacon: BeaconBlockEntity (> BlockEntity), ["CustomName", "Levels", "Lock", "Primary", "Secondary"];
        "minecraft:bed", Bed: BedBlockEntity (> BlockEntity), [];
        "minecraft:beehive", Beehive: BeehiveBlockEntity (> BlockEntity), ["Bees", "FlowerPos"];
        "minecraft:bell", Bell: BellBlockEntity (> BlockEntity), [];
        "minecraft:blast_furnace", BlastFurnace: BlastFurnaceBlockEntity (> > > BlockEntity), ["BurnTime", "CookTime", "CookTimeTotal", "Items", "RecipesUsed", "CustomName", "Lock"];
        "minecraft:brewing_stand", BrewingStand: BrewingStandBlockEntity (> > BlockEntity), ["BrewTime", "Fuel", "Items", "CustomName", "Lock"];
        "minecraft:brushable_block", BrushableBlock: BrushableBlockEntity (> BlockEntity), ["LootTable", "LootTableSeed", "item"];
        "minecraft:calibrated_sculk_sensor", CalibratedSculkSensor: CalibratedSculkSensorBlockEntity (> > BlockEntity), ["last_vibration_frequency", "listener"];
        "minecraft:campfire", Campfire: CampfireBlockEntity (> BlockEntity), ["CookingTimes", "CookingTotalTimes", "Items"];
        "minecraft:chest", Chest: ChestBlockEntity (> > > BlockEntity), ["Items", "LootTable", "LootTableSeed", "CustomName", "Lock"];
        "minecraft:chiseled_bookshelf", ChiseledBookshelf: ChiseledBookShelfBlockEntity (> BlockEntity), ["Items", "last_interacted_slot"];
        "minecraft:command_block", CommandBlock: CommandBlockEntity (> BlockEntity), ["Command", "CustomName", "LastExecution", "LastOutput", "SuccessCount", "TrackOutput", "UpdateLastExecution", "auto", "conditionMet", "powered"];
        "minecraft:comparator", Comparator: ComparatorBlockEntity (> BlockEntity), ["OutputSignal"];
        "minecraft:conduit", Conduit: ConduitBlockEntity (> BlockEntity), ["Target"];
        "minecraft:daylight_detector", DaylightDetector: DaylightDetectorBlockEntity (> BlockEntity), [];
        "minecraft:decorated_pot", DecoratedPot: DecoratedPotBlockEntity (> BlockEntity), ["sherds"];
        "minecraft:dispenser", Dispenser: DispenserBlockEntity (> > > BlockEntity), ["Items", "LootTable", "LootTableSeed", "CustomName", "Lock"];
        "minecraft:dropper", Dropper: DropperBlockEntity (> > > > BlockEntity), ["Items", "LootTable", "LootTableSeed", "CustomName", "Lock"];
        "minecraft:enchanting_table", EnchantingTable: EnchantmentTableBlockEntity (> BlockEntity), ["CustomName"];
        "minecraft:end_gateway", EndGateway: TheEndGatewayBlockEntity (> > BlockEntity), ["Age", "ExactTeleport", "ExitPortal"];
        "minecraft:end_portal", EndPortal: TheEndPortalBlockEntity (> BlockEntity), [];
        "minecraft:ender_chest", EnderChest: EnderChestBlockEntity (> BlockEntity), [];
        "minecraft:furnace", Furnace: FurnaceBlockEntity (> > > BlockEntity), ["BurnTime", "CookTime", "CookTimeTotal", "Items", "RecipesUsed", "CustomName", "Lock"];
        "minecraft:hanging_sign", HangingSign: HangingSignBlockEntity (> > BlockEntity), ["back_text", "front_text", "is_waxed"];
        "minecraft:hopper", Hopper: HopperBlockEntity (> > > BlockEntity), ["Items", "LootTable", "LootTableSeed", "TransferCooldown", "CustomName", "Lock"];
        "minecraft:jigsaw", Jigsaw: JigsawBlockEntity (> BlockEntity), ["final_state", "joint", "name", "pool", "target"];
        "minecraft:jukebox", Jukebox: JukeboxBlockEntity (> BlockEntity), ["IsPlaying", "RecordItem", "RecordStartTick", "TickCount"];
        "minecraft:lectern", Lectern: LecternBlockEntity (> BlockEntity), ["Book", "Page"];
        "minecraft:mob_spawner", MobSpawner: SpawnerBlockEntity (> BlockEntity), ["Delay", "MaxNearbyEntities", "MaxSpawnDelay", "MinSpawnDelay", "RequiredPlayerRange", "SpawnCount", "SpawnData", "SpawnPotentials", "SpawnRange"];
        "minecraft:piston", Piston: PistonMovingBlockEntity (> BlockEntity), ["blockState", "extending", "facing", "progress", "source"];
        "minecraft:sculk_catalyst", SculkCatalyst: SculkCatalystBlockEntity (> BlockEntity), ["cursors"];
        "minecraft:sculk_sensor", SculkSensor: SculkSensorBlockEntity (> BlockEntity), ["last_vibration_frequency", "listener"];
        "minecraft:sculk_shrieker", SculkShrieker: SculkShriekerBlockEntity (> BlockEntity), ["listener", "warning_level"];
        "minecraft:shulker_box", ShulkerBox: ShulkerBoxBlockEntity (> > > BlockEntity), ["Items", "LootTable", "LootTableSeed", "CustomName", "Lock"];
        "minecraft:sign", Sign: SignBlockEntity (> BlockEntity), ["back_text", "front_text", "is_waxed"];
        "minecraft:skull", Skull: SkullBlockEntity (> BlockEntity), ["SkullOwner", "note_block_sound"];
        "minecraft:smoker", Smoker: SmokerBlockEntity (> > > BlockEntity), ["BurnTime", "CookTime", "CookTimeTotal", "Items", "RecipesUsed", "CustomName", "Lock"];
        "minecraft:structure_block", StructureBlock: StructureBlockEntity (> BlockEntity), ["author", "ignoreEntities", "integrity", "metadata", "mirror", "mode", "name", "posX", "posY", "posZ", "powered", "rotation", "seed", "showair", "showboundingbox", "sizeX", "sizeY", "sizeZ"];
        "minecraft:trapped_chest", TrappedChest: TrappedChestBlockEntity (> > > > BlockEntity), ["Items", "LootTable", "LootTableSeed", "CustomName", "Lock"];
    }

    block_entity_types! {
        "1.20";
        AbstractFurnaceBlockEntity > BaseContainerBlockEntity { "BurnTime" as burn_time: i16, "CookTime" as cook_time: i16, "CookTimeTotal" as cook_time_total: i16, optional "Items" as items: Vec<super::compounds::ItemStack_save>, "RecipesUsed" as recipes_used: HashMap<CowStr, i32> }
        BannerBlockEntity > BlockEntity { optional "CustomName" as custom_name: CowStr, optional "Patterns" as patterns: Vec<fastnbt::Value> }
        BarrelBlockEntity > RandomizableContainerBlockEntity { optional "Items" as items: Vec<super::compounds::ItemStack_save>, optional "LootTable" as loot_table: CowStr, optional "LootTableSeed" as loot_table_seed: i64 }
        BaseContainerBlockEntity > BlockEntity { optional "CustomName" as custom_name: CowStr, optional "Lock" as lock: CowStr }
        BeaconBlockEntity > BlockEntity { optional "CustomName" as custom_name: CowStr, "Levels" as levels: i32, optional "Lock" as lock: CowStr, "Primary" as primary: i32, "Secondary" as secondary: i32 }
        BedBlockEntity > BlockEntity {  }
        BeehiveBlockEntity > BlockEntity { "Bees" as bees: Vec<super::compounds::Compound5>, optional "FlowerPos" as flower_pos: super::compounds::NbtUtils_writeBlockPos }
        BellBlockEntity > BlockEntity {  }
        BlastFurnaceBlockEntity > AbstractFurnaceBlockEntity {  }
        BlockEntity { "x" as x: i32, "y" as y: i32, "z" as z: i32 }
        BrewingStandBlockEntity > BaseContainerBlockEntity { "BrewTime" as brew_time: i16, "Fuel" as fuel: u8, optional "Items" as items: Vec<super::compounds::ItemStack_save> }
        BrushableBlockEntity > BlockEntity { optional "LootTable" as loot_table: CowStr, optional "LootTableSeed" as loot_table_seed: i64, optional "item" as item: super::compounds::ItemStack_save_1 }
        CalibratedSculkSensorBlockEntity > SculkSensorBlockEntity {  }
        CampfireBlockEntity > BlockEntity { "CookingTimes" as cooking_times: fastnbt::IntArray, "CookingTotalTimes" as cooking_total_times: fastnbt::IntArray, optional "Items" as items: Vec<super::compounds::ItemStack_save> }
        ChestBlockEntity > RandomizableContainerBlockEntity { optional "Items" as items: Vec<super::compounds::ItemStack_save>, optional "LootTable" as loot_table: CowStr, optional "LootTableSeed" as loot_table_seed: i64 }
        ChiseledBookShelfBlockEntity > BlockEntity { optional "Items" as items: Vec<super::compounds::ItemStack_save>, "last_interacted_slot" as last_interacted_slot: i32 }
        CommandBlockEntity > BlockEntity { "Command" as command: CowStr, "CustomName" as custom_name: CowStr, optional "LastExecution" as last_execution: i64, optional "LastOutput" as last_output: CowStr, "SuccessCount" as success_count: i32, "TrackOutput" as track_output: bool, "UpdateLastExecution" as update_last_execution: bool, "auto" as auto: bool, "conditionMet" as condition_met: bool, "powered" as powered: bool }
        ComparatorBlockEntity > BlockEntity { "OutputSignal" as output_signal: i32 }
        ConduitBlockEntity > BlockEntity { optional "Target" as target: u128 }
        DaylightDetectorBlockEntity > BlockEntity {  }
        DecoratedPotBlockEntity > BlockEntity { "sherds" as sherds: Vec<fastnbt::Value> }
        DispenserBlockEntity > RandomizableContainerBlockEntity { optional "Items" as items: Vec<super::compounds::ItemStack_save>, optional "LootTable" as loot_table: CowStr, optional "LootTableSeed" as loot_table_seed: i64 }
        DropperBlockEntity > DispenserBlockEntity {  }
        EnchantmentTableBlockEntity > BlockEntity { optional "CustomName" as custom_name: CowStr }
        EnderChestBlockEntity > BlockEntity {  }
        FurnaceBlockEntity > AbstractFurnaceBlockEntity {  }
        HangingSignBlockEntity > SignBlockEntity {  }
        HopperBlockEntity > RandomizableContainerBlockEntity { optional "Items" as items: Vec<super::compounds::ItemStack_save>, optional "LootTable" as loot_table: CowStr, optional "LootTableSeed" as loot_table_seed: i64, "TransferCooldown" as transfer_cooldown: i32 }
        JigsawBlockEntity > BlockEntity { "final_state" as final_state: CowStr, "joint" as joint: CowStr, "name" as name: CowStr, "pool" as pool: CowStr, "target" as target: CowStr }
        JukeboxBlockEntity > BlockEntity { "IsPlaying" as is_playing: bool, optional "RecordItem" as record_item: super::compounds::ItemStack_save_1, "RecordStartTick" as record_start_tick: i64, "TickCount" as tick_count: i64 }
        LecternBlockEntity > BlockEntity { optional "Book" as book: super::compounds::ItemStack_save_1, optional "Page" as page: i32 }
        PistonMovingBlockEntity > BlockEntity { "blockState" as block_state: super::BlockState, "extending" as extending: bool, "facing" as facing: i32, "progress" as progress: f32, "source" as source: bool }
        RandomizableContainerBlockEntity > BaseContainerBlockEntity {  }
        SculkCatalystBlockEntity > BlockEntity { optional "cursors" as cursors: fastnbt::Value }
        SculkSensorBlockEntity > BlockEntity { "last_vibration_frequency" as last_vibration_frequency: i32, optional "listener" as listener: fastnbt::Value }
        SculkShriekerBlockEntity > BlockEntity { optional "listener" as listener: fastnbt::Value, "warning_level" as warning_level: i32 }
        ShulkerBoxBlockEntity > RandomizableContainerBlockEntity { optional "Items" as items: Vec<super::compounds::ItemStack_save>, optional "LootTable" as loot_table: CowStr, optional "LootTableSeed" as loot_table_seed: i64 }
        SignBlockEntity > BlockEntity { optional "back_text" as back_text: fastnbt::Value, optional "front_text" as front_text: fastnbt::Value, "is_waxed" as is_waxed: bool }
        SkullBlockEntity > BlockEntity { optional "SkullOwner" as skull_owner: super::compounds::NbtUtils_writeGameProfile, optional "note_block_sound" as note_block_sound: CowStr }
        SmokerBlockEntity > AbstractFurnaceBlockEntity {  }
        SpawnerBlockEntity > BlockEntity { "Delay" as delay: i16, "MaxNearbyEntities" as max_nearby_entities: i16, "MaxSpawnDelay" as max_spawn_delay: i16, "MinSpawnDelay" as min_spawn_delay: i16, "RequiredPlayerRange" as required_player_range: i16, "SpawnCount" as spawn_count: i16, optional "SpawnData" as spawn_data: fastnbt::Value, "SpawnPotentials" as spawn_potentials: fastnbt::Value, "SpawnRange" as spawn_range: i16 }
        StructureBlockEntity > BlockEntity { "author" as author: CowStr, "ignoreEntities" as ignore_entities: bool, "integrity" as integrity: f32, "metadata" as metadata: CowStr, "mirror" as mirror: CowStr, "mode" as mode: CowStr, "name" as name: CowStr, "posX" as pos_x: i32, "posY" as pos_y: i32, "posZ" as pos_z: i32, "powered" as powered: bool, "rotation" as rotation: CowStr, "seed" as seed: i64, "showair" as showair: bool, "showboundingbox" as showboundingbox: bool, "sizeX" as size_x: i32, "sizeY" as size_y: i32, "sizeZ" as size_z: i32 }
        TheEndGatewayBlockEntity > TheEndPortalBlockEntity { "Age" as age: i64, optional "ExactTeleport" as exact_teleport: bool, optional "ExitPortal" as exit_portal: super::compounds::NbtUtils_writeBlockPos }
        TheEndPortalBlockEntity > BlockEntity {  }
        TrappedChestBlockEntity > ChestBlockEntity {  }
    }

    block_entity_compound_types! {
        "1.20";
        Compound2 { optional "Signature" as signature: CowStr, "Value" as value: CowStr }
        Compound5 { "EntityData" as entity_data: HashMap<CowStr, fastnbt::Value>, "MinOccupationTicks" as min_occupation_ticks: i32, "TicksInHive" as ticks_in_hive: i32 }
        ItemStack_save { "Count" as count: u8, "Slot" as slot: u8, "id" as id: CowStr, optional "tag" as tag: HashMap<CowStr, fastnbt::Value> }
        ItemStack_save_1 { "Count" as count: u8, "id" as id: CowStr, optional "tag" as tag: HashMap<CowStr, fastnbt::Value> }
        NbtUtils_writeBlockPos { "X" as x: i32, "Y" as y: i32, "Z" as z: i32 }
        NbtUtils_writeGameProfile { optional "Id" as id: u128, optional "Name" as name: CowStr, optional "Properties" as properties: HashMap<CowStr, Vec<super::compounds::Compound2>> }
    }
}

/// Accompanying types for block entities in Minecraft 1.20.2.
#[cfg(feature = "1.20.2")]
pub mod mc1_20_2 {
    block_entities! {
        "1.20.2", mc1_20_2;
        "minecraft:banner", Banner: BannerBlockEntity (> BlockEntity), ["CustomName", "Patterns"];
        "minecraft:barrel", Barrel: BarrelBlockEntity (> > > BlockEntity), ["Items", "LootTable", "LootTableSeed", "CustomName", "Lock"];
        "minecraft:beacon", Beacon: BeaconBlockEntity (> BlockEntity), ["CustomName", "Levels", "Lock", "primary_effect", "secondary_effect"];
        "minecraft:bed", Bed: BedBlockEntity (> BlockEntity), [];
        "minecraft:beehive", Beehive: BeehiveBlockEntity (> BlockEntity), ["Bees", "FlowerPos"];
        "minecraft:bell", Bell: BellBlockEntity (> BlockEntity), [];
        "minecraft:blast_furnace", BlastFurnace: BlastFurnaceBlockEntity (> > > BlockEntity), ["BurnTime", "CookTime", "CookTimeTotal", "Items", "RecipesUsed", "CustomName", "Lock"];
        "minecraft:brewing_stand", BrewingStand: BrewingStandBlockEntity (> > BlockEntity), ["BrewTime", "Fuel", "Items", "CustomName", "Lock"];
        "minecraft:brushable_block", BrushableBlock: BrushableBlockEntity (> BlockEntity), ["LootTable", "LootTableSeed", "item"];
        "minecraft:calibrated_sculk_sensor", CalibratedSculkSensor: CalibratedSculkSensorBlockEntity (> > BlockEntity), ["last_vibration_frequency", "listener"];
        "minecraft:campfire", Campfire: CampfireBlockEntity (> BlockEntity), ["CookingTimes", "CookingTotalTimes", "Items"];
        "minecraft:chest", Chest: ChestBlockEntity (> > > BlockEntity), ["Items", "LootTable", "LootTableSeed", "CustomName", "Lock"];
        "minecraft:chiseled_bookshelf", ChiseledBookshelf: ChiseledBookShelfBlockEntity (> BlockEntity), ["Items", "last_interacted_slot"];
        "minecraft:command_block", CommandBlock: CommandBlockEntity (> BlockEntity), ["Command", "CustomName", "LastExecution", "LastOutput", "SuccessCount", "TrackOutput", "UpdateLastExecution", "auto", "conditionMet", "powered"];
        "minecraft:comparator", Comparator: ComparatorBlockEntity (> BlockEntity), ["OutputSignal"];
        "minecraft:conduit", Conduit: ConduitBlockEntity (> BlockEntity), ["Target"];
        "minecraft:daylight_detector", DaylightDetector: DaylightDetectorBlockEntity (> BlockEntity), [];
        "minecraft:decorated_pot", DecoratedPot: DecoratedPotBlockEntity (> BlockEntity), ["sherds"];
        "minecraft:dispenser", Dispenser: DispenserBlockEntity (> > > BlockEntity), ["Items", "LootTable", "LootTableSeed", "CustomName", "Lock"];
        "minecraft:dropper", Dropper: DropperBlockEntity (> > > > BlockEntity), ["Items", "LootTable", "LootTableSeed", "CustomName", "Lock"];
        "minecraft:enchanting_table", EnchantingTable: EnchantmentTableBlockEntity (> BlockEntity), ["CustomName"];
        "minecraft:end_gateway", EndGateway: TheEndGatewayBlockEntity (> > BlockEntity), ["Age", "ExactTeleport", "ExitPortal"];
        "minecraft:end_portal", EndPortal: TheEndPortalBlockEntity (> BlockEntity), [];
        "minecraft:ender_chest", EnderChest: EnderChestBlockEntity (> BlockEntity), [];
        "minecraft:furnace", Furnace: FurnaceBlockEntity (> > > BlockEntity), ["BurnTime", "CookTime", "CookTimeTotal", "Items", "RecipesUsed", "CustomName", "Lock"];
        "minecraft:hanging_sign", HangingSign: HangingSignBlockEntity (> > BlockEntity), ["back_text", "front_text", "is_waxed"];
        "minecraft:hopper", Hopper: HopperBlockEntity (> > > BlockEntity), ["Items", "LootTable", "LootTableSeed", "TransferCooldown", "CustomName", "Lock"];
        "minecraft:jigsaw", Jigsaw: JigsawBlockEntity (> BlockEntity), ["final_state", "joint", "name", "pool", "target"];
        "minecraft:jukebox", Jukebox: JukeboxBlockEntity (> BlockEntity), ["IsPlaying", "RecordItem", "RecordStartTick", "TickCount"];
        "minecraft:lectern", Lectern: LecternBlockEntity (> BlockEntity), ["Book", "Page"];
        "minecraft:mob_spawner", MobSpawner: SpawnerBlockEntity (> BlockEntity), ["Delay", "MaxNearbyEntities", "MaxSpawnDelay", "MinSpawnDelay", "RequiredPlayerRange", "SpawnCount", "SpawnData", "SpawnPotentials", "SpawnRange"];
        "minecraft:piston", Piston: PistonMovingBlockEntity (> BlockEntity), ["blockState", "extending", "facing", "progress", "source"];
        "minecraft:sculk_catalyst", SculkCatalyst: SculkCatalystBlockEntity (> BlockEntity), ["cursors"];
        "minecraft:sculk_sensor", SculkSensor: SculkSensorBlockEntity (> BlockEntity), ["last_vibration_frequency", "listener"];
        "minecraft:sculk_shrieker", SculkShrieker: SculkShriekerBlockEntity (> BlockEntity), ["listener", "warning_level"];
        "minecraft:shulker_box", ShulkerBox: ShulkerBoxBlockEntity (> > > BlockEntity), ["Items", "LootTable", "LootTableSeed", "CustomName", "Lock"];
        "minecraft:sign", Sign: SignBlockEntity (> BlockEntity), ["back_text", "front_text", "is_waxed"];
        "minecraft:skull", Skull: SkullBlockEntity (> BlockEntity), ["SkullOwner", "note_block_sound"];
        "minecraft:smoker", Smoker: SmokerBlockEntity (> > > BlockEntity), ["BurnTime", "CookTime", "CookTimeTotal", "Items", "RecipesUsed", "CustomName", "Lock"];
        "minecraft:structure_block", StructureBlock: StructureBlockEntity (> BlockEntity), ["author", "ignoreEntities", "integrity", "metadata", "mirror", "mode", "name", "posX", "posY", "posZ", "powered", "rotation", "seed", "showair", "showboundingbox", "sizeX", "sizeY", "sizeZ"];
        "minecraft:trapped_chest", TrappedChest: TrappedChestBlockEntity (> > > > BlockEntity), ["Items", "LootTable", "LootTableSeed", "CustomName", "Lock"];
    }

    block_entity_types! {
        "1.20.2";
        AbstractFurnaceBlockEntity > BaseContainerBlockEntity { "BurnTime" as burn_time: i16, "CookTime" as cook_time: i16, "CookTimeTotal" as cook_time_total: i16, optional "Items" as items: Vec<super::compounds::ItemStack_save>, "RecipesUsed" as recipes_used: HashMap<CowStr, i32> }
        BannerBlockEntity > BlockEntity { optional "CustomName" as custom_name: CowStr, optional "Patterns" as patterns: Vec<fastnbt::Value> }
        BarrelBlockEntity > RandomizableContainerBlockEntity { optional "Items" as items: Vec<super::compounds::ItemStack_save>, optional "LootTable" as loot_table: CowStr, optional "LootTableSeed" as loot_table_seed: i64 }
        BaseContainerBlockEntity > BlockEntity { optional "CustomName" as custom_name: CowStr, optional "Lock" as lock: CowStr }
        BeaconBlockEntity > BlockEntity { optional "CustomName" as custom_name: CowStr, "Levels" as levels: i32, optional "Lock" as lock: CowStr, optional "primary_effect" as primary_effect: CowStr, optional "secondary_effect" as secondary_effect: CowStr }
        BedBlockEntity > BlockEntity {  }
        BeehiveBlockEntity > BlockEntity { "Bees" as bees: Vec<super::compounds::Compound5>, optional "FlowerPos" as flower_pos: super::compounds::NbtUtils_writeBlockPos }
        BellBlockEntity > BlockEntity {  }
        BlastFurnaceBlockEntity > AbstractFurnaceBlockEntity {  }
        BlockEntity { "x" as x: i32, "y" as y: i32, "z" as z: i32 }
        BrewingStandBlockEntity > BaseContainerBlockEntity { "BrewTime" as brew_time: i16, "Fuel" as fuel: u8, optional "Items" as items: Vec<super::compounds::ItemStack_save> }
        BrushableBlockEntity > BlockEntity { optional "LootTable" as loot_table: CowStr, optional "LootTableSeed" as loot_table_seed: i64, optional "item" as item: super::compounds::ItemStack_save_1 }
        CalibratedSculkSensorBlockEntity > SculkSensorBlockEntity {  }
        CampfireBlockEntity > BlockEntity { "CookingTimes" as cooking_times: fastnbt::IntArray, "CookingTotalTimes" as cooking_total_times: fastnbt::IntArray, optional "Items" as items: Vec<super::compounds::ItemStack_save> }
        ChestBlockEntity > RandomizableContainerBlockEntity { optional "Items" as items: Vec<super::compounds::ItemStack_save>, optional "LootTable" as loot_table: CowStr, optional "LootTableSeed" as loot_table_seed: i64 }
        ChiseledBookShelfBlockEntity > BlockEntity { optional "Items" as items: Vec<super::compounds::ItemStack_save>, "last_interacted_slot" as last_interacted_slot: i32 }
        CommandBlockEntity > BlockEntity { "Command" as command: CowStr, "CustomName" as custom_name: CowStr, optional "LastExecution" as last_execution: i64, optional "LastOutput" as last_output: CowStr, "SuccessCount" as success_count: i32, "TrackOutput" as track_output: bool, "UpdateLastExecution" as update_last_execution: bool, "auto" as auto: bool, "conditionMet" as condition_met: bool, "powered" as powered: bool }
        ComparatorBlockEntity > BlockEntity { "OutputSignal" as output_signal: i32 }
        ConduitBlockEntity > BlockEntity { optional "Target" as target: u128 }
        DaylightDetectorBlockEntity > BlockEntity {  }
        DecoratedPotBlockEntity > BlockEntity { optional "sherds" as sherds: Vec<fastnbt::Value> }
        DispenserBlockEntity > RandomizableContainerBlockEntity { optional "Items" as items: Vec<super::compounds::ItemStack_save>, optional "LootTable" as loot_table: CowStr, optional "LootTableSeed" as loot_table_seed: i64 }
        DropperBlockEntity > DispenserBlockEntity {  }
        EnchantmentTableBlockEntity > BlockEntity { optional "CustomName" as custom_name: CowStr }
        EnderChestBlockEntity > BlockEntity {  }
        FurnaceBlockEntity > AbstractFurnaceBlockEntity {  }
        HangingSignBlockEntity > SignBlockEntity {  }
        HopperBlockEntity > RandomizableContainerBlockEntity { optional "Items" as items: Vec<super::compounds::ItemStack_save>, optional "LootTable" as loot_table: CowStr, optional "LootTableSeed" as loot_table_seed: i64, "TransferCooldown" as transfer_cooldown: i32 }
        JigsawBlockEntity > BlockEntity { "final_state" as final_state: CowStr, "joint" as joint: CowStr, "name" as name: CowStr, "pool" as pool: CowStr, "target" as target: CowStr }
        JukeboxBlockEntity > BlockEntity { "IsPlaying" as is_playing: bool, optional "RecordItem" as record_item: super::compounds::ItemStack_save_1, "RecordStartTick" as record_start_tick: i64, "TickCount" as tick_count: i64 }
        LecternBlockEntity > BlockEntity { optional "Book" as book: super::compounds::ItemStack_save_1, optional "Page" as page: i32 }
        PistonMovingBlockEntity > BlockEntity { "blockState" as block_state: super::BlockState, "extending" as extending: bool, "facing" as facing: i32, "progress" as progress: f32, "source" as source: bool }
        RandomizableContainerBlockEntity > BaseContainerBlockEntity {  }
        SculkCatalystBlockEntity > BlockEntity { optional "cursors" as cursors: fastnbt::Value }
        SculkSensorBlockEntity > BlockEntity { "last_vibration_frequency" as last_vibration_frequency: i32, optional "listener" as listener: fastnbt::Value }
        SculkShriekerBlockEntity > BlockEntity { optional "listener" as listener: fastnbt::Value, "warning_level" as warning_level: i32 }
        ShulkerBoxBlockEntity > RandomizableContainerBlockEntity { optional "Items" as items: Vec<super::compounds::ItemStack_save>, optional "LootTable" as loot_table: CowStr, optional "LootTableSeed" as loot_table_seed: i64 }
        SignBlockEntity > BlockEntity { optional "back_text" as back_text: fastnbt::Value, optional "front_text" as front_text: fastnbt::Value, "is_waxed" as is_waxed: bool }
        SkullBlockEntity > BlockEntity { optional "SkullOwner" as skull_owner: super::compounds::NbtUtils_writeGameProfile, optional "note_block_sound" as note_block_sound: CowStr }
        SmokerBlockEntity > AbstractFurnaceBlockEntity {  }
        SpawnerBlockEntity > BlockEntity { "Delay" as delay: i16, "MaxNearbyEntities" as max_nearby_entities: i16, "MaxSpawnDelay" as max_spawn_delay: i16, "MinSpawnDelay" as min_spawn_delay: i16, "RequiredPlayerRange" as required_player_range: i16, "SpawnCount" as spawn_count: i16, optional "SpawnData" as spawn_data: fastnbt::Value, "SpawnPotentials" as spawn_potentials: fastnbt::Value, "SpawnRange" as spawn_range: i16 }
        StructureBlockEntity > BlockEntity { "author" as author: CowStr, "ignoreEntities" as ignore_entities: bool, "integrity" as integrity: f32, "metadata" as metadata: CowStr, "mirror" as mirror: CowStr, "mode" as mode: CowStr, "name" as name: CowStr, "posX" as pos_x: i32, "posY" as pos_y: i32, "posZ" as pos_z: i32, "powered" as powered: bool, "rotation" as rotation: CowStr, "seed" as seed: i64, "showair" as showair: bool, "showboundingbox" as showboundingbox: bool, "sizeX" as size_x: i32, "sizeY" as size_y: i32, "sizeZ" as size_z: i32 }
        TheEndGatewayBlockEntity > TheEndPortalBlockEntity { "Age" as age: i64, optional "ExactTeleport" as exact_teleport: bool, optional "ExitPortal" as exit_portal: super::compounds::NbtUtils_writeBlockPos }
        TheEndPortalBlockEntity > BlockEntity {  }
        TrappedChestBlockEntity > ChestBlockEntity {  }
    }

    block_entity_compound_types! {
        "1.20.2";
        Compound2 { optional "Signature" as signature: CowStr, "Value" as value: CowStr }
        Compound5 { "EntityData" as entity_data: HashMap<CowStr, fastnbt::Value>, "MinOccupationTicks" as min_occupation_ticks: i32, "TicksInHive" as ticks_in_hive: i32 }
        ItemStack_save { "Count" as count: u8, "Slot" as slot: u8, "id" as id: CowStr, optional "tag" as tag: HashMap<CowStr, fastnbt::Value> }
        ItemStack_save_1 { "Count" as count: u8, "id" as id: CowStr, optional "tag" as tag: HashMap<CowStr, fastnbt::Value> }
        NbtUtils_writeBlockPos { "X" as x: i32, "Y" as y: i32, "Z" as z: i32 }
        NbtUtils_writeGameProfile { optional "Id" as id: u128, optional "Name" as name: CowStr, optional "Properties" as properties: HashMap<CowStr, Vec<super::compounds::Compound2>> }
    }
}

/// Accompanying types for block entities in Minecraft 1.20.3.
#[cfg(feature = "1.20.3")]
pub mod mc1_20_3 {
    block_entities! {
        "1.20.3", mc1_20_3;
        "minecraft:banner", Banner: BannerBlockEntity (> BlockEntity), ["CustomName", "Patterns"];
        "minecraft:barrel", Barrel: BarrelBlockEntity (> > > BlockEntity), ["Items", "LootTable", "LootTableSeed", "CustomName", "Lock"];
        "minecraft:beacon", Beacon: BeaconBlockEntity (> BlockEntity), ["CustomName", "Levels", "Lock", "primary_effect", "secondary_effect"];
        "minecraft:bed", Bed: BedBlockEntity (> BlockEntity), [];
        "minecraft:beehive", Beehive: BeehiveBlockEntity (> BlockEntity), ["Bees", "FlowerPos"];
        "minecraft:bell", Bell: BellBlockEntity (> BlockEntity), [];
        "minecraft:blast_furnace", BlastFurnace: BlastFurnaceBlockEntity (> > > BlockEntity), ["BurnTime", "CookTime", "CookTimeTotal", "Items", "RecipesUsed", "CustomName", "Lock"];
        "minecraft:brewing_stand", BrewingStand: BrewingStandBlockEntity (> > BlockEntity), ["BrewTime", "Fuel", "Items", "CustomName", "Lock"];
        "minecraft:brushable_block", BrushableBlock: BrushableBlockEntity (> BlockEntity), ["LootTable", "LootTableSeed", "item"];
        "minecraft:calibrated_sculk_sensor", CalibratedSculkSensor: CalibratedSculkSensorBlockEntity (> > BlockEntity), ["last_vibration_frequency", "listener"];
        "minecraft:campfire", Campfire: CampfireBlockEntity (> BlockEntity), ["CookingTimes", "CookingTotalTimes", "Items"];
        "minecraft:chest", Chest: ChestBlockEntity (> > > BlockEntity), ["Items", "LootTable", "LootTableSeed", "CustomName", "Lock"];
        "minecraft:chiseled_bookshelf", ChiseledBookshelf: ChiseledBookShelfBlockEntity (> BlockEntity), ["Items", "last_interacted_slot"];
        "minecraft:command_block", CommandBlock: CommandBlockEntity (> BlockEntity), ["Command", "CustomName", "LastExecution", "LastOutput", "SuccessCount", "TrackOutput", "UpdateLastExecution", "auto", "conditionMet", "powered"];
        "minecraft:comparator", Comparator: ComparatorBlockEntity (> BlockEntity), ["OutputSignal"];
        "minecraft:conduit", Conduit: ConduitBlockEntity (> BlockEntity), ["Target"];
        "minecraft:crafter", Crafter: CrafterBlockEntity (> > > BlockEntity), ["Items", "LootTable", "LootTableSeed", "crafting_ticks_remaining", "disabled_slots", "triggered", "CustomName", "Lock"];
        "minecraft:daylight_detector", DaylightDetector: DaylightDetectorBlockEntity (> BlockEntity), [];
        "minecraft:decorated_pot", DecoratedPot: DecoratedPotBlockEntity (> BlockEntity), ["LootTable", "LootTableSeed", "item", "sherds"];
        "minecraft:dispenser", Dispenser: DispenserBlockEntity (> > > BlockEntity), ["Items", "LootTable", "LootTableSeed", "CustomName", "Lock"];
        "minecraft:dropper", Dropper: DropperBlockEntity (> > > > BlockEntity), ["Items", "LootTable", "LootTableSeed", "CustomName", "Lock"];
        "minecraft:enchanting_table", EnchantingTable: EnchantmentTableBlockEntity (> BlockEntity), ["CustomName"];
        "minecraft:end_gateway", EndGateway: TheEndGatewayBlockEntity (> > BlockEntity), ["Age", "ExactTeleport", "ExitPortal"];
        "minecraft:end_portal", EndPortal: TheEndPortalBlockEntity (> BlockEntity), [];
        "minecraft:ender_chest", EnderChest: EnderChestBlockEntity (> BlockEntity), [];
        "minecraft:furnace", Furnace: FurnaceBlockEntity (> > > BlockEntity), ["BurnTime", "CookTime", "CookTimeTotal", "Items", "RecipesUsed", "CustomName", "Lock"];
        "minecraft:hanging_sign", HangingSign: HangingSignBlockEntity (> > BlockEntity), ["back_text", "front_text", "is_waxed"];
        "minecraft:hopper", Hopper: HopperBlockEntity (> > > BlockEntity), ["Items", "LootTable", "LootTableSeed", "TransferCooldown", "CustomName", "Lock"];
        "minecraft:jigsaw", Jigsaw: JigsawBlockEntity (> BlockEntity), ["final_state", "joint", "name", "placement_priority", "pool", "selection_priority", "target"];
        "minecraft:jukebox", Jukebox: JukeboxBlockEntity (> BlockEntity), ["IsPlaying", "RecordItem", "RecordStartTick", "TickCount"];
        "minecraft:lectern", Lectern: LecternBlockEntity (> BlockEntity), ["Book", "Page"];
        "minecraft:mob_spawner", MobSpawner: SpawnerBlockEntity (> BlockEntity), ["Delay", "MaxNearbyEntities", "MaxSpawnDelay", "MinSpawnDelay", "RequiredPlayerRange", "SpawnCount", "SpawnData", "SpawnPotentials", "SpawnRange"];
        "minecraft:piston", Piston: PistonMovingBlockEntity (> BlockEntity), ["blockState", "extending", "facing", "progress", "source"];
        "minecraft:sculk_catalyst", SculkCatalyst: SculkCatalystBlockEntity (> BlockEntity), ["cursors"];
        "minecraft:sculk_sensor", SculkSensor: SculkSensorBlockEntity (> BlockEntity), ["last_vibration_frequency", "listener"];
        "minecraft:sculk_shrieker", SculkShrieker: SculkShriekerBlockEntity (> BlockEntity), ["listener", "warning_level"];
        "minecraft:shulker_box", ShulkerBox: ShulkerBoxBlockEntity (> > > BlockEntity), ["Items", "LootTable", "LootTableSeed", "CustomName", "Lock"];
        "minecraft:sign", Sign: SignBlockEntity (> BlockEntity), ["back_text", "front_text", "is_waxed"];
        "minecraft:skull", Skull: SkullBlockEntity (> BlockEntity), ["SkullOwner", "note_block_sound"];
        "minecraft:smoker", Smoker: SmokerBlockEntity (> > > BlockEntity), ["BurnTime", "CookTime", "CookTimeTotal", "Items", "RecipesUsed", "CustomName", "Lock"];
        "minecraft:structure_block", StructureBlock: StructureBlockEntity (> BlockEntity), ["author", "ignoreEntities", "integrity", "metadata", "mirror", "mode", "name", "posX", "posY", "posZ", "powered", "rotation", "seed", "showair", "showboundingbox", "sizeX", "sizeY", "sizeZ"];
        "minecraft:trapped_chest", TrappedChest: TrappedChestBlockEntity (> > > > BlockEntity), ["Items", "LootTable", "LootTableSeed", "CustomName", "Lock"];
        "minecraft:trial_spawner", TrialSpawner: TrialSpawnerBlockEntity (> BlockEntity), [];
    }

    block_entity_types! {
        "1.20.3";
        AbstractFurnaceBlockEntity > BaseContainerBlockEntity { "BurnTime" as burn_time: i16, "CookTime" as cook_time: i16, "CookTimeTotal" as cook_time_total: i16, optional "Items" as items: Vec<super::compounds::ItemStack_save>, "RecipesUsed" as recipes_used: HashMap<CowStr, i32> }
        BannerBlockEntity > BlockEntity { optional "CustomName" as custom_name: CowStr, optional "Patterns" as patterns: Vec<fastnbt::Value> }
        BarrelBlockEntity > RandomizableContainerBlockEntity { optional "Items" as items: Vec<super::compounds::ItemStack_save>, optional "LootTable" as loot_table: CowStr, optional "LootTableSeed" as loot_table_seed: i64 }
        BaseContainerBlockEntity > BlockEntity { optional "CustomName" as custom_name: CowStr, optional "Lock" as lock: CowStr }
        BeaconBlockEntity > BlockEntity { optional "CustomName" as custom_name: CowStr, "Levels" as levels: i32, optional "Lock" as lock: CowStr, optional "primary_effect" as primary_effect: CowStr, optional "secondary_effect" as secondary_effect: CowStr }
        BedBlockEntity > BlockEntity {  }
        BeehiveBlockEntity > BlockEntity { "Bees" as bees: Vec<super::compounds::Compound5>, optional "FlowerPos" as flower_pos: super::compounds::NbtUtils_writeBlockPos }
        BellBlockEntity > BlockEntity {  }
        BlastFurnaceBlockEntity > AbstractFurnaceBlockEntity {  }
        BlockEntity { "x" as x: i32, "y" as y: i32, "z" as z: i32 }
        BrewingStandBlockEntity > BaseContainerBlockEntity { "BrewTime" as brew_time: i16, "Fuel" as fuel: u8, optional "Items" as items: Vec<super::compounds::ItemStack_save> }
        BrushableBlockEntity > BlockEntity { optional "LootTable" as loot_table: CowStr, optional "LootTableSeed" as loot_table_seed: i64, optional "item" as item: super::compounds::ItemStack_save_1 }
        CalibratedSculkSensorBlockEntity > SculkSensorBlockEntity {  }
        CampfireBlockEntity > BlockEntity { "CookingTimes" as cooking_times: fastnbt::IntArray, "CookingTotalTimes" as cooking_total_times: fastnbt::IntArray, optional "Items" as items: Vec<super::compounds::ItemStack_save> }
        ChestBlockEntity > RandomizableContainerBlockEntity { optional "Items" as items: Vec<super::compounds::ItemStack_save>, optional "LootTable" as loot_table: CowStr, optional "LootTableSeed" as loot_table_seed: i64 }
        ChiseledBookShelfBlockEntity > BlockEntity { optional "Items" as items: Vec<super::compounds::ItemStack_save>, "last_interacted_slot" as last_interacted_slot: i32 }
        CommandBlockEntity > BlockEntity { "Command" as command: CowStr, "CustomName" as custom_name: CowStr, optional "LastExecution" as last_execution: i64, optional "LastOutput" as last_output: CowStr, "SuccessCount" as success_count: i32, "TrackOutput" as track_output: bool, "UpdateLastExecution" as update_last_execution: bool, "auto" as auto: bool, "conditionMet" as condition_met: bool, "powered" as powered: bool }
        ComparatorBlockEntity > BlockEntity { "OutputSignal" as output_signal: i32 }
        ConduitBlockEntity > BlockEntity { optional "Target" as target: u128 }
        CrafterBlockEntity > RandomizableContainerBlockEntity { optional "Items" as items: Vec<super::compounds::ItemStack_save>, optional "LootTable" as loot_table: CowStr, optional "LootTableSeed" as loot_table_seed: i64, "crafting_ticks_remaining" as crafting_ticks_remaining: i32, "disabled_slots" as disabled_slots: fastnbt::IntArray, "triggered" as triggered: i32 }
        DaylightDetectorBlockEntity > BlockEntity {  }
        DecoratedPotBlockEntity > BlockEntity { optional "LootTable" as loot_table: CowStr, optional "LootTableSeed" as loot_table_seed: i64, optional "item" as item: super::compounds::ItemStack_save_1, optional "sherds" as sherds: Vec<fastnbt::Value> }
        DispenserBlockEntity > RandomizableContainerBlockEntity { optional "Items" as items: Vec<super::compounds::ItemStack_save>, optional "LootTable" as loot_table: CowStr, optional "LootTableSeed" as loot_table_seed: i64 }
        DropperBlockEntity > DispenserBlockEntity {  }
        EnchantmentTableBlockEntity > BlockEntity { optional "CustomName" as custom_name: CowStr }
        EnderChestBlockEntity > BlockEntity {  }
        FurnaceBlockEntity > AbstractFurnaceBlockEntity {  }
        HangingSignBlockEntity > SignBlockEntity {  }
        HopperBlockEntity > RandomizableContainerBlockEntity { optional "Items" as items: Vec<super::compounds::ItemStack_save>, optional "LootTable" as loot_table: CowStr, optional "LootTableSeed" as loot_table_seed: i64, "TransferCooldown" as transfer_cooldown: i32 }
        JigsawBlockEntity > BlockEntity { "final_state" as final_state: CowStr, "joint" as joint: CowStr, "name" as name: CowStr, "placement_priority" as placement_priority: i32, "pool" as pool: CowStr, "selection_priority" as selection_priority: i32, "target" as target: CowStr }
        JukeboxBlockEntity > BlockEntity { "IsPlaying" as is_playing: bool, optional "RecordItem" as record_item: super::compounds::ItemStack_save_1, "RecordStartTick" as record_start_tick: i64, "TickCount" as tick_count: i64 }
        LecternBlockEntity > BlockEntity { optional "Book" as book: super::compounds::ItemStack_save_1, optional "Page" as page: i32 }
        PistonMovingBlockEntity > BlockEntity { "blockState" as block_state: super::BlockState, "extending" as extending: bool, "facing" as facing: i32, "progress" as progress: f32, "source" as source: bool }
        RandomizableContainerBlockEntity > BaseContainerBlockEntity {  }
        SculkCatalystBlockEntity > BlockEntity { optional "cursors" as cursors: fastnbt::Value }
        SculkSensorBlockEntity > BlockEntity { "last_vibration_frequency" as last_vibration_frequency: i32, optional "listener" as listener: fastnbt::Value }
        SculkShriekerBlockEntity > BlockEntity { optional "listener" as listener: fastnbt::Value, "warning_level" as warning_level: i32 }
        ShulkerBoxBlockEntity > RandomizableContainerBlockEntity { optional "Items" as items: Vec<super::compounds::ItemStack_save>, optional "LootTable" as loot_table: CowStr, optional "LootTableSeed" as loot_table_seed: i64 }
        SignBlockEntity > BlockEntity { optional "back_text" as back_text: fastnbt::Value, optional "front_text" as front_text: fastnbt::Value, "is_waxed" as is_waxed: bool }
        SkullBlockEntity > BlockEntity { optional "SkullOwner" as skull_owner: super::compounds::NbtUtils_writeGameProfile, optional "note_block_sound" as note_block_sound: CowStr }
        SmokerBlockEntity > AbstractFurnaceBlockEntity {  }
        SpawnerBlockEntity > BlockEntity { "Delay" as delay: i16, "MaxNearbyEntities" as max_nearby_entities: i16, "MaxSpawnDelay" as max_spawn_delay: i16, "MinSpawnDelay" as min_spawn_delay: i16, "RequiredPlayerRange" as required_player_range: i16, "SpawnCount" as spawn_count: i16, optional "SpawnData" as spawn_data: fastnbt::Value, "SpawnPotentials" as spawn_potentials: fastnbt::Value, "SpawnRange" as spawn_range: i16 }
        StructureBlockEntity > BlockEntity { "author" as author: CowStr, "ignoreEntities" as ignore_entities: bool, "integrity" as integrity: f32, "metadata" as metadata: CowStr, "mirror" as mirror: CowStr, "mode" as mode: CowStr, "name" as name: CowStr, "posX" as pos_x: i32, "posY" as pos_y: i32, "posZ" as pos_z: i32, "powered" as powered: bool, "rotation" as rotation: CowStr, "seed" as seed: i64, "showair" as showair: bool, "showboundingbox" as showboundingbox: bool, "sizeX" as size_x: i32, "sizeY" as size_y: i32, "sizeZ" as size_z: i32 }
        TheEndGatewayBlockEntity > TheEndPortalBlockEntity { "Age" as age: i64, optional "ExactTeleport" as exact_teleport: bool, optional "ExitPortal" as exit_portal: super::compounds::NbtUtils_writeBlockPos }
        TheEndPortalBlockEntity > BlockEntity {  }
        TrappedChestBlockEntity > ChestBlockEntity {  }
        TrialSpawnerBlockEntity > BlockEntity {  }
    }

    block_entity_compound_types! {
        "1.20.3";
        Compound2 { optional "Signature" as signature: CowStr, "Value" as value: CowStr }
        Compound5 { "EntityData" as entity_data: HashMap<CowStr, fastnbt::Value>, "MinOccupationTicks" as min_occupation_ticks: i32, "TicksInHive" as ticks_in_hive: i32 }
        ItemStack_save { "Count" as count: u8, "Slot" as slot: u8, "id" as id: CowStr, optional "tag" as tag: HashMap<CowStr, fastnbt::Value> }
        ItemStack_save_1 { "Count" as count: u8, "id" as id: CowStr, optional "tag" as tag: HashMap<CowStr, fastnbt::Value> }
        NbtUtils_writeBlockPos { "X" as x: i32, "Y" as y: i32, "Z" as z: i32 }
        NbtUtils_writeGameProfile { optional "Id" as id: u128, optional "Name" as name: CowStr, optional "Properties" as properties: HashMap<CowStr, Vec<super::compounds::Compound2>> }
    }
}

/// Accompanying types for block entities in Minecraft 1.20.5.
#[cfg(feature = "1.20.5")]
pub mod mc1_20_5 {
    block_entities! {
        "1.20.5", mc1_20_5;
        "minecraft:banner", Banner: BannerBlockEntity (> BlockEntity), ["CustomName", "patterns"];
        "minecraft:barrel", Barrel: BarrelBlockEntity (> > > BlockEntity), ["Items", "LootTable", "LootTableSeed", "CustomName", "Lock"];
        "minecraft:beacon", Beacon: BeaconBlockEntity (> BlockEntity), ["CustomName", "Levels", "Lock", "primary_effect", "secondary_effect"];
        "minecraft:bed", Bed: BedBlockEntity (> BlockEntity), [];
        "minecraft:beehive", Beehive: BeehiveBlockEntity (> BlockEntity), ["bees", "flower_pos"];
        "minecraft:bell", Bell: BellBlockEntity (> BlockEntity), [];
        "minecraft:blast_furnace", BlastFurnace: BlastFurnaceBlockEntity (> > > BlockEntity), ["BurnTime", "CookTime", "CookTimeTotal", "Items", "RecipesUsed", "CustomName", "Lock"];
        "minecraft:brewing_stand", BrewingStand: BrewingStandBlockEntity (> > BlockEntity), ["BrewTime", "Fuel", "Items", "CustomName", "Lock"];
        "minecraft:brushable_block", BrushableBlock: BrushableBlockEntity (> BlockEntity), ["LootTable", "LootTableSeed", "item"];
        "minecraft:calibrated_sculk_sensor", CalibratedSculkSensor: CalibratedSculkSensorBlockEntity (> > BlockEntity), ["last_vibration_frequency", "listener"];
        "minecraft:campfire", Campfire: CampfireBlockEntity (> BlockEntity), ["CookingTimes", "CookingTotalTimes", "Items"];
        "minecraft:chest", Chest: ChestBlockEntity (> > > BlockEntity), ["Items", "LootTable", "LootTableSeed", "CustomName", "Lock"];
        "minecraft:chiseled_bookshelf", ChiseledBookshelf: ChiseledBookShelfBlockEntity (> BlockEntity), ["Items", "last_interacted_slot"];
        "minecraft:command_block", CommandBlock: CommandBlockEntity (> BlockEntity), ["Command", "CustomName", "LastExecution", "LastOutput", "SuccessCount", "TrackOutput", "UpdateLastExecution", "auto", "conditionMet", "powered"];
        "minecraft:comparator", Comparator: ComparatorBlockEntity (> BlockEntity), ["OutputSignal"];
        "minecraft:conduit", Conduit: ConduitBlockEntity (> BlockEntity), ["Target"];
        "minecraft:crafter", Crafter: CrafterBlockEntity (> > > BlockEntity), ["Items", "LootTable", "LootTableSeed", "crafting_ticks_remaining", "disabled_slots", "triggered", "CustomName", "Lock"];
        "minecraft:daylight_detector", DaylightDetector: DaylightDetectorBlockEntity (> BlockEntity), [];
        "minecraft:decorated_pot", DecoratedPot: DecoratedPotBlockEntity (> BlockEntity), ["LootTable", "LootTableSeed", "item", "sherds"];
        "minecraft:dispenser", Dispenser: DispenserBlockEntity (> > > BlockEntity), ["Items", "LootTable", "LootTableSeed", "CustomName", "Lock"];
        "minecraft:dropper", Dropper: DropperBlockEntity (> > > > BlockEntity), ["Items", "LootTable", "LootTableSeed", "CustomName", "Lock"];
        "minecraft:enchanting_table", EnchantingTable: EnchantingTableBlockEntity (> BlockEntity), ["CustomName"];
        "minecraft:end_gateway", EndGateway: TheEndGatewayBlockEntity (> > BlockEntity), ["Age", "ExactTeleport", "exit_portal"];
        "minecraft:end_portal", EndPortal: TheEndPortalBlockEntity (> BlockEntity), [];
        "minecraft:ender_chest", EnderChest: EnderChestBlockEntity (> BlockEntity), [];
        "minecraft:furnace", Furnace: FurnaceBlockEntity (> > > BlockEntity), ["BurnTime", "CookTime", "CookTimeTotal", "Items", "RecipesUsed", "CustomName", "Lock"];
        "minecraft:hanging_sign", HangingSign: HangingSignBlockEntity (> > BlockEntity), ["back_text", "front_text", "is_waxed"];
        "minecraft:hopper", Hopper: HopperBlockEntity (> > > BlockEntity), ["Items", "LootTable", "LootTableSeed", "TransferCooldown", "CustomName", "Lock"];
        "minecraft:jigsaw", Jigsaw: JigsawBlockEntity (> BlockEntity), ["final_state", "joint", "name", "placement_priority", "pool", "selection_priority", "target"];
        "minecraft:jukebox", Jukebox: JukeboxBlockEntity (> BlockEntity), ["IsPlaying", "RecordItem", "RecordStartTick", "TickCount"];
        "minecraft:lectern", Lectern: LecternBlockEntity (> BlockEntity), ["Book", "Page"];
        "minecraft:mob_spawner", MobSpawner: SpawnerBlockEntity (> BlockEntity), ["Delay", "MaxNearbyEntities", "MaxSpawnDelay", "MinSpawnDelay", "RequiredPlayerRange", "SpawnCount", "SpawnData", "SpawnPotentials", "SpawnRange"];
        "minecraft:piston", Piston: PistonMovingBlockEntity (> BlockEntity), ["blockState", "extending", "facing", "progress", "source"];
        "minecraft:sculk_catalyst", SculkCatalyst: SculkCatalystBlockEntity (> BlockEntity), ["cursors"];
        "minecraft:sculk_sensor", SculkSensor: SculkSensorBlockEntity (> BlockEntity), ["last_vibration_frequency", "listener"];
        "minecraft:sculk_shrieker", SculkShrieker: SculkShriekerBlockEntity (> BlockEntity), ["listener", "warning_level"];
        "minecraft:shulker_box", ShulkerBox: ShulkerBoxBlockEntity (> > > BlockEntity), ["Items", "LootTable", "LootTableSeed", "CustomName", "Lock"];
        "minecraft:sign", Sign: SignBlockEntity (> BlockEntity), ["back_text", "front_text", "is_waxed"];
        "minecraft:skull", Skull: SkullBlockEntity (> BlockEntity), ["custom_name", "note_block_sound", "profile"];
        "minecraft:smoker", Smoker: SmokerBlockEntity (> > > BlockEntity), ["BurnTime", "CookTime", "CookTimeTotal", "Items", "RecipesUsed", "CustomName", "Lock"];
        "minecraft:structure_block", StructureBlock: StructureBlockEntity (> BlockEntity), ["author", "ignoreEntities", "integrity", "metadata", "mirror", "mode", "name", "posX", "posY", "posZ", "powered", "rotation", "seed", "showair", "showboundingbox", "sizeX", "sizeY", "sizeZ"];
        "minecraft:trapped_chest", TrappedChest: TrappedChestBlockEntity (> > > > BlockEntity), ["Items", "LootTable", "LootTableSeed", "CustomName", "Lock"];
        "minecraft:trial_spawner", TrialSpawner: TrialSpawnerBlockEntity (> BlockEntity), [];
        "minecraft:vault", Vault: VaultBlockEntity (> BlockEntity), ["config", "server_data", "shared_data"];
    }

    block_entity_types! {
        "1.20.5";
        AbstractFurnaceBlockEntity > BaseContainerBlockEntity { "BurnTime" as burn_time: i16, "CookTime" as cook_time: i16, "CookTimeTotal" as cook_time_total: i16, optional "Items" as items: Vec<fastnbt::Value>, "RecipesUsed" as recipes_used: HashMap<CowStr, i32> }
        BannerBlockEntity > BlockEntity { optional "CustomName" as custom_name: CowStr, optional "patterns" as patterns: fastnbt::Value }
        BarrelBlockEntity > RandomizableContainerBlockEntity { optional "Items" as items: Vec<fastnbt::Value>, optional "LootTable" as loot_table: CowStr, optional "LootTableSeed" as loot_table_seed: i64 }
        BaseContainerBlockEntity > BlockEntity { optional "CustomName" as custom_name: CowStr, optional "Lock" as lock: CowStr }
        BeaconBlockEntity > BlockEntity { optional "CustomName" as custom_name: CowStr, "Levels" as levels: i32, optional "Lock" as lock: CowStr, optional "primary_effect" as primary_effect: CowStr, optional "secondary_effect" as secondary_effect: CowStr }
        BedBlockEntity > BlockEntity {  }
        BeehiveBlockEntity > BlockEntity { "bees" as bees: fastnbt::Value, optional "flower_pos" as flower_pos: fastnbt::IntArray }
        BellBlockEntity > BlockEntity {  }
        BlastFurnaceBlockEntity > AbstractFurnaceBlockEntity {  }
        BlockEntity { "x" as x: i32, "y" as y: i32, "z" as z: i32 }
        BrewingStandBlockEntity > BaseContainerBlockEntity { "BrewTime" as brew_time: i16, "Fuel" as fuel: u8, optional "Items" as items: Vec<fastnbt::Value> }
        BrushableBlockEntity > BlockEntity { optional "LootTable" as loot_table: CowStr, optional "LootTableSeed" as loot_table_seed: i64, optional "item" as item: fastnbt::Value }
        CalibratedSculkSensorBlockEntity > SculkSensorBlockEntity {  }
        CampfireBlockEntity > BlockEntity { "CookingTimes" as cooking_times: fastnbt::IntArray, "CookingTotalTimes" as cooking_total_times: fastnbt::IntArray, optional "Items" as items: Vec<fastnbt::Value> }
        ChestBlockEntity > RandomizableContainerBlockEntity { optional "Items" as items: Vec<fastnbt::Value>, optional "LootTable" as loot_table: CowStr, optional "LootTableSeed" as loot_table_seed: i64 }
        ChiseledBookShelfBlockEntity > BlockEntity { optional "Items" as items: Vec<fastnbt::Value>, "last_interacted_slot" as last_interacted_slot: i32 }
        CommandBlockEntity > BlockEntity { "Command" as command: CowStr, optional "CustomName" as custom_name: CowStr, optional "LastExecution" as last_execution: i64, optional "LastOutput" as last_output: CowStr, "SuccessCount" as success_count: i32, "TrackOutput" as track_output: bool, "UpdateLastExecution" as update_last_execution: bool, "auto" as auto: bool, "conditionMet" as condition_met: bool, "powered" as powered: bool }
        ComparatorBlockEntity > BlockEntity { "OutputSignal" as output_signal: i32 }
        ConduitBlockEntity > BlockEntity { optional "Target" as target: u128 }
        CrafterBlockEntity > RandomizableContainerBlockEntity { optional "Items" as items: Vec<fastnbt::Value>, optional "LootTable" as loot_table: CowStr, optional "LootTableSeed" as loot_table_seed: i64, "crafting_ticks_remaining" as crafting_ticks_remaining: i32, "disabled_slots" as disabled_slots: fastnbt::IntArray, "triggered" as triggered: i32 }
        DaylightDetectorBlockEntity > BlockEntity {  }
        DecoratedPotBlockEntity > BlockEntity { optional "LootTable" as loot_table: CowStr, optional "LootTableSeed" as loot_table_seed: i64, optional "item" as item: fastnbt::Value, optional "sherds" as sherds: fastnbt::Value }
        DispenserBlockEntity > RandomizableContainerBlockEntity { optional "Items" as items: Vec<fastnbt::Value>, optional "LootTable" as loot_table: CowStr, optional "LootTableSeed" as loot_table_seed: i64 }
        DropperBlockEntity > DispenserBlockEntity {  }
        EnchantingTableBlockEntity > BlockEntity { optional "CustomName" as custom_name: CowStr }
        EnderChestBlockEntity > BlockEntity {  }
        FurnaceBlockEntity > AbstractFurnaceBlockEntity {  }
        HangingSignBlockEntity > SignBlockEntity {  }
        HopperBlockEntity > RandomizableContainerBlockEntity { optional "Items" as items: Vec<fastnbt::Value>, optional "LootTable" as loot_table: CowStr, optional "LootTableSeed" as loot_table_seed: i64, "TransferCooldown" as transfer_cooldown: i32 }
        JigsawBlockEntity > BlockEntity { "final_state" as final_state: CowStr, "joint" as joint: CowStr, "name" as name: CowStr, "placement_priority" as placement_priority: i32, "pool" as pool: CowStr, "selection_priority" as selection_priority: i32, "target" as target: CowStr }
        JukeboxBlockEntity > BlockEntity { "IsPlaying" as is_playing: bool, optional "RecordItem" as record_item: fastnbt::Value, "RecordStartTick" as record_start_tick: i64, "TickCount" as tick_count: i64 }
        LecternBlockEntity > BlockEntity { optional "Book" as book: fastnbt::Value, optional "Page" as page: i32 }
        PistonMovingBlockEntity > BlockEntity { "blockState" as block_state: super::BlockState, "extending" as extending: bool, "facing" as facing: i32, "progress" as progress: f32, "source" as source: bool }
        RandomizableContainerBlockEntity > BaseContainerBlockEntity {  }
        SculkCatalystBlockEntity > BlockEntity { optional "cursors" as cursors: fastnbt::Value }
        SculkSensorBlockEntity > BlockEntity { "last_vibration_frequency" as last_vibration_frequency: i32, optional "listener" as listener: fastnbt::Value }
        SculkShriekerBlockEntity > BlockEntity { optional "listener" as listener: fastnbt::Value, "warning_level" as warning_level: i32 }
        ShulkerBoxBlockEntity > RandomizableContainerBlockEntity { optional "Items" as items: Vec<fastnbt::Value>, optional "LootTable" as loot_table: CowStr, optional "LootTableSeed" as loot_table_seed: i64 }
        SignBlockEntity > BlockEntity { optional "back_text" as back_text: fastnbt::Value, optional "front_text" as front_text: fastnbt::Value, "is_waxed" as is_waxed: bool }
        SkullBlockEntity > BlockEntity { optional "custom_name" as custom_name: CowStr, optional "note_block_sound" as note_block_sound: CowStr, optional "profile" as profile: fastnbt::Value }
        SmokerBlockEntity > AbstractFurnaceBlockEntity {  }
        SpawnerBlockEntity > BlockEntity { "Delay" as delay: i16, "MaxNearbyEntities" as max_nearby_entities: i16, "MaxSpawnDelay" as max_spawn_delay: i16, "MinSpawnDelay" as min_spawn_delay: i16, "RequiredPlayerRange" as required_player_range: i16, "SpawnCount" as spawn_count: i16, optional "SpawnData" as spawn_data: fastnbt::Value, "SpawnPotentials" as spawn_potentials: fastnbt::Value, "SpawnRange" as spawn_range: i16 }
        StructureBlockEntity > BlockEntity { "author" as author: CowStr, "ignoreEntities" as ignore_entities: bool, "integrity" as integrity: f32, "metadata" as metadata: CowStr, "mirror" as mirror: CowStr, "mode" as mode: CowStr, "name" as name: CowStr, "posX" as pos_x: i32, "posY" as pos_y: i32, "posZ" as pos_z: i32, "powered" as powered: bool, "rotation" as rotation: CowStr, "seed" as seed: i64, "showair" as showair: bool, "showboundingbox" as showboundingbox: bool, "sizeX" as size_x: i32, "sizeY" as size_y: i32, "sizeZ" as size_z: i32 }
        TheEndGatewayBlockEntity > TheEndPortalBlockEntity { "Age" as age: i64, optional "ExactTeleport" as exact_teleport: bool, optional "exit_portal" as exit_portal: fastnbt::IntArray }
        TheEndPortalBlockEntity > BlockEntity {  }
        TrappedChestBlockEntity > ChestBlockEntity {  }
        TrialSpawnerBlockEntity > BlockEntity {  }
        VaultBlockEntity > BlockEntity { "config" as config: fastnbt::Value, "server_data" as server_data: fastnbt::Value, "shared_data" as shared_data: fastnbt::Value }
    }

    block_entity_compound_types! {
        "1.20.5";
    }
}