mcdata 0.6.0

(De)serializable NBT structures for Minecraft
Documentation
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
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
1755
1756
1757
1758
1759
1760
1761
1762
1763
1764
1765
1766
1767
1768
1769
1770
1771
1772
1773
1774
1775
1776
1777
1778
1779
1780
1781
1782
1783
1784
1785
1786
1787
1788
1789
1790
1791
1792
1793
1794
1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
1818
1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
1839
1840
1841
1842
1843
1844
1845
1846
1847
1848
1849
1850
1851
1852
1853
1854
1855
1856
1857
1858
1859
1860
1861
1862
1863
1864
1865
1866
1867
1868
1869
1870
1871
1872
1873
1874
1875
1876
1877
1878
1879
1880
1881
1882
1883
1884
1885
1886
1887
1888
1889
1890
1891
1892
1893
1894
1895
1896
1897
1898
1899
1900
1901
1902
1903
1904
1905
1906
1907
1908
1909
1910
1911
1912
1913
1914
1915
1916
1917
1918
1919
1920
1921
1922
1923
1924
1925
1926
1927
1928
1929
1930
1931
1932
1933
1934
1935
1936
1937
1938
1939
1940
1941
1942
1943
1944
1945
1946
1947
1948
1949
1950
1951
1952
1953
1954
1955
1956
1957
1958
1959
1960
1961
1962
1963
1964
1965
1966
1967
1968
1969
1970
1971
1972
1973
1974
1975
1976
1977
1978
1979
1980
1981
1982
1983
1984
1985
1986
1987
1988
1989
1990
1991
1992
1993
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
2027
2028
2029
2030
2031
2032
2033
2034
2035
2036
2037
2038
2039
2040
2041
2042
2043
2044
2045
2046
2047
2048
2049
2050
2051
2052
2053
2054
2055
2056
2057
2058
2059
2060
2061
2062
2063
2064
2065
2066
2067
2068
2069
2070
2071
2072
2073
2074
2075
2076
2077
2078
2079
2080
2081
2082
2083
2084
2085
2086
2087
2088
2089
2090
2091
2092
2093
2094
2095
2096
2097
2098
2099
2100
2101
2102
2103
2104
2105
2106
2107
2108
2109
2110
2111
2112
2113
2114
2115
2116
2117
2118
2119
2120
2121
2122
2123
2124
2125
2126
2127
2128
2129
2130
2131
2132
2133
2134
2135
2136
2137
2138
2139
2140
2141
2142
2143
2144
2145
2146
2147
2148
2149
2150
2151
2152
2153
2154
2155
2156
2157
2158
2159
2160
2161
2162
2163
2164
2165
2166
2167
2168
2169
2170
2171
2172
2173
// 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_21_7::*;
}

/// 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"];
        "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: i8, 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_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: i8, "Slot" as slot: i8, "id" as id: CowStr, optional "tag" as tag: HashMap<CowStr, fastnbt::Value> }
        ItemStack_save_1 { "Count" as count: i8, "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"];
        "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: i8, 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_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: i8, "Slot" as slot: i8, "id" as id: CowStr, optional "tag" as tag: HashMap<CowStr, fastnbt::Value> }
        ItemStack_save_1 { "Count" as count: i8, "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"];
        "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: i8, 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_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: i8, "Slot" as slot: i8, "id" as id: CowStr, optional "tag" as tag: HashMap<CowStr, fastnbt::Value> }
        ItemStack_save_1 { "Count" as count: i8, "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"];
        "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: i8, 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 {  }
        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: i8, "Slot" as slot: i8, "id" as id: CowStr, optional "tag" as tag: HashMap<CowStr, fastnbt::Value> }
        ItemStack_save_1 { "Count" as count: i8, "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"];
        "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: i8, 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 {  }
        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: i8, "Slot" as slot: i8, "id" as id: CowStr, optional "tag" as tag: HashMap<CowStr, fastnbt::Value> }
        ItemStack_save_1 { "Count" as count: i8, "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"];
        "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: i8, 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 { 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: i8, "Slot" as slot: i8, "id" as id: CowStr, optional "tag" as tag: HashMap<CowStr, fastnbt::Value> }
        ItemStack_save_1 { "Count" as count: i8, "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: i8, 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: i8, "Slot" as slot: i8, "id" as id: CowStr, optional "tag" as tag: HashMap<CowStr, fastnbt::Value> }
        ItemStack_save_1 { "Count" as count: i8, "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: i8, 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: i8, "Slot" as slot: i8, "id" as id: CowStr, optional "tag" as tag: HashMap<CowStr, fastnbt::Value> }
        ItemStack_save_1 { "Count" as count: i8, "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: i8, 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: i8, "Slot" as slot: i8, "id" as id: CowStr, optional "tag" as tag: HashMap<CowStr, fastnbt::Value> }
        ItemStack_save_1 { "Count" as count: i8, "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: i8, 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: i8, "Slot" as slot: i8, "id" as id: CowStr, optional "tag" as tag: HashMap<CowStr, fastnbt::Value> }
        ItemStack_save_1 { "Count" as count: i8, "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: i8, 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: i8, "Slot" as slot: i8, "id" as id: CowStr, optional "tag" as tag: HashMap<CowStr, fastnbt::Value> }
        ItemStack_save_1 { "Count" as count: i8, "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: i8, 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: i8, "Slot" as slot: i8, "id" as id: CowStr, optional "tag" as tag: HashMap<CowStr, fastnbt::Value> }
        ItemStack_save_1 { "Count" as count: i8, "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: i8, 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: i8, "Slot" as slot: i8, "id" as id: CowStr, optional "tag" as tag: HashMap<CowStr, fastnbt::Value> }
        ItemStack_save_1 { "Count" as count: i8, "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: i8, 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: i8, "Slot" as slot: i8, "id" as id: CowStr, optional "tag" as tag: HashMap<CowStr, fastnbt::Value> }
        ItemStack_save_1 { "Count" as count: i8, "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: i8, 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";
    }
}

/// Accompanying types for block entities in Minecraft 1.21.
#[cfg(feature = "1.21")]
pub mod mc1_21 {
    block_entities! {
        "1.21", mc1_21;
        "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), ["RecordItem", "ticks_since_song_started"];
        "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.21";
        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: i8, 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 { optional "RecordItem" as record_item: fastnbt::Value, optional "ticks_since_song_started" as ticks_since_song_started: 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.21";
    }
}

/// Accompanying types for block entities in Minecraft 1.21.2.
#[cfg(feature = "1.21.2")]
pub mod mc1_21_2 {
    block_entities! {
        "1.21.2", mc1_21_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", "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:creaking_heart", CreakingHeart: CreakingHeartBlockEntity (> BlockEntity), [];
        "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), ["RecordItem", "ticks_since_song_started"];
        "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.21.2";
        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, fastnbt::Value> }
        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: fastnbt::Value }
        BeaconBlockEntity > BlockEntity { optional "CustomName" as custom_name: CowStr, "Levels" as levels: i32, optional "lock" as lock: fastnbt::Value, 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: i8, 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 }
        CreakingHeartBlockEntity > BlockEntity {  }
        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 { optional "RecordItem" as record_item: fastnbt::Value, optional "ticks_since_song_started" as ticks_since_song_started: 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.21.2";
    }
}

/// Accompanying types for block entities in Minecraft 1.21.4.
#[cfg(feature = "1.21.4")]
pub mod mc1_21_4 {
    block_entities! {
        "1.21.4", mc1_21_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_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), ["Items", "RecipesUsed", "cooking_time_spent", "cooking_total_time", "lit_time_remaining", "lit_total_time", "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:creaking_heart", CreakingHeart: CreakingHeartBlockEntity (> BlockEntity), ["creaking"];
        "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), ["Items", "RecipesUsed", "cooking_time_spent", "cooking_total_time", "lit_time_remaining", "lit_total_time", "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), ["RecordItem", "ticks_since_song_started"];
        "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), ["Items", "RecipesUsed", "cooking_time_spent", "cooking_total_time", "lit_time_remaining", "lit_total_time", "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.21.4";
        AbstractFurnaceBlockEntity > BaseContainerBlockEntity { optional "Items" as items: Vec<fastnbt::Value>, "RecipesUsed" as recipes_used: HashMap<CowStr, fastnbt::Value>, "cooking_time_spent" as cooking_time_spent: i16, "cooking_total_time" as cooking_total_time: i16, "lit_time_remaining" as lit_time_remaining: i16, "lit_total_time" as lit_total_time: i16 }
        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: fastnbt::Value }
        BeaconBlockEntity > BlockEntity { optional "CustomName" as custom_name: CowStr, "Levels" as levels: i32, optional "lock" as lock: fastnbt::Value, 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: i8, 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 }
        CreakingHeartBlockEntity > BlockEntity { optional "creaking" as creaking: u128 }
        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 { optional "RecordItem" as record_item: fastnbt::Value, optional "ticks_since_song_started" as ticks_since_song_started: 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.21.4";
    }
}

/// Accompanying types for block entities in Minecraft 1.21.5.
#[cfg(feature = "1.21.5")]
pub mod mc1_21_5 {
    block_entities! {
        "1.21.5", mc1_21_5;
        "minecraft:banner", Banner: BannerBlockEntity (> BlockEntity), [];
        "minecraft:barrel", Barrel: BarrelBlockEntity (> > > BlockEntity), ["Items", "LootTableSeed", "CustomName"];
        "minecraft:beacon", Beacon: BeaconBlockEntity (> BlockEntity), ["Levels", "primary_effect", "secondary_effect"];
        "minecraft:bed", Bed: BedBlockEntity (> BlockEntity), [];
        "minecraft:beehive", Beehive: BeehiveBlockEntity (> BlockEntity), [];
        "minecraft:bell", Bell: BellBlockEntity (> BlockEntity), [];
        "minecraft:blast_furnace", BlastFurnace: BlastFurnaceBlockEntity (> > > BlockEntity), ["Items", "cooking_time_spent", "cooking_total_time", "lit_time_remaining", "lit_total_time", "CustomName"];
        "minecraft:brewing_stand", BrewingStand: BrewingStandBlockEntity (> > BlockEntity), ["BrewTime", "Fuel", "Items", "CustomName"];
        "minecraft:brushable_block", BrushableBlock: BrushableBlockEntity (> BlockEntity), ["LootTableSeed"];
        "minecraft:calibrated_sculk_sensor", CalibratedSculkSensor: CalibratedSculkSensorBlockEntity (> > BlockEntity), ["last_vibration_frequency"];
        "minecraft:campfire", Campfire: CampfireBlockEntity (> BlockEntity), ["CookingTimes", "CookingTotalTimes", "Items"];
        "minecraft:chest", Chest: ChestBlockEntity (> > > BlockEntity), ["Items", "LootTableSeed", "CustomName"];
        "minecraft:chiseled_bookshelf", ChiseledBookshelf: ChiseledBookShelfBlockEntity (> BlockEntity), ["Items", "last_interacted_slot"];
        "minecraft:command_block", CommandBlock: CommandBlockEntity (> BlockEntity), ["Command", "LastExecution", "SuccessCount", "TrackOutput", "UpdateLastExecution", "auto", "conditionMet", "powered"];
        "minecraft:comparator", Comparator: ComparatorBlockEntity (> BlockEntity), ["OutputSignal"];
        "minecraft:conduit", Conduit: ConduitBlockEntity (> BlockEntity), [];
        "minecraft:crafter", Crafter: CrafterBlockEntity (> > > BlockEntity), ["Items", "LootTableSeed", "crafting_ticks_remaining", "disabled_slots", "triggered", "CustomName"];
        "minecraft:creaking_heart", CreakingHeart: CreakingHeartBlockEntity (> BlockEntity), [];
        "minecraft:daylight_detector", DaylightDetector: DaylightDetectorBlockEntity (> BlockEntity), [];
        "minecraft:decorated_pot", DecoratedPot: DecoratedPotBlockEntity (> BlockEntity), ["LootTableSeed"];
        "minecraft:dispenser", Dispenser: DispenserBlockEntity (> > > BlockEntity), ["Items", "LootTableSeed", "CustomName"];
        "minecraft:dropper", Dropper: DropperBlockEntity (> > > > BlockEntity), ["Items", "LootTableSeed", "CustomName"];
        "minecraft:enchanting_table", EnchantingTable: EnchantingTableBlockEntity (> BlockEntity), [];
        "minecraft:end_gateway", EndGateway: TheEndGatewayBlockEntity (> > BlockEntity), ["Age", "ExactTeleport"];
        "minecraft:end_portal", EndPortal: TheEndPortalBlockEntity (> BlockEntity), [];
        "minecraft:ender_chest", EnderChest: EnderChestBlockEntity (> BlockEntity), [];
        "minecraft:furnace", Furnace: FurnaceBlockEntity (> > > BlockEntity), ["Items", "cooking_time_spent", "cooking_total_time", "lit_time_remaining", "lit_total_time", "CustomName"];
        "minecraft:hanging_sign", HangingSign: HangingSignBlockEntity (> > BlockEntity), ["is_waxed"];
        "minecraft:hopper", Hopper: HopperBlockEntity (> > > BlockEntity), ["Items", "LootTableSeed", "TransferCooldown", "CustomName"];
        "minecraft:jigsaw", Jigsaw: JigsawBlockEntity (> BlockEntity), ["final_state", "placement_priority", "selection_priority"];
        "minecraft:jukebox", Jukebox: JukeboxBlockEntity (> BlockEntity), ["ticks_since_song_started"];
        "minecraft:lectern", Lectern: LecternBlockEntity (> BlockEntity), ["Page"];
        "minecraft:mob_spawner", MobSpawner: SpawnerBlockEntity (> BlockEntity), ["Delay", "MaxNearbyEntities", "MaxSpawnDelay", "MinSpawnDelay", "RequiredPlayerRange", "SpawnCount", "SpawnRange"];
        "minecraft:piston", Piston: PistonMovingBlockEntity (> BlockEntity), ["extending", "progress", "source"];
        "minecraft:sculk_catalyst", SculkCatalyst: SculkCatalystBlockEntity (> BlockEntity), [];
        "minecraft:sculk_sensor", SculkSensor: SculkSensorBlockEntity (> BlockEntity), ["last_vibration_frequency"];
        "minecraft:sculk_shrieker", SculkShrieker: SculkShriekerBlockEntity (> BlockEntity), ["warning_level"];
        "minecraft:shulker_box", ShulkerBox: ShulkerBoxBlockEntity (> > > BlockEntity), ["Items", "LootTableSeed", "CustomName"];
        "minecraft:sign", Sign: SignBlockEntity (> BlockEntity), ["is_waxed"];
        "minecraft:skull", Skull: SkullBlockEntity (> BlockEntity), [];
        "minecraft:smoker", Smoker: SmokerBlockEntity (> > > BlockEntity), ["Items", "cooking_time_spent", "cooking_total_time", "lit_time_remaining", "lit_total_time", "CustomName"];
        "minecraft:structure_block", StructureBlock: StructureBlockEntity (> BlockEntity), ["author", "ignoreEntities", "integrity", "metadata", "name", "posX", "posY", "posZ", "powered", "seed", "showair", "showboundingbox", "sizeX", "sizeY", "sizeZ", "strict"];
        "minecraft:test_block", TestBlock: TestBlockEntity (> BlockEntity), ["message", "powered"];
        "minecraft:test_instance_block", TestInstanceBlock: TestInstanceBlockEntity (> BlockEntity), [];
        "minecraft:trapped_chest", TrappedChest: TrappedChestBlockEntity (> > > > BlockEntity), ["Items", "LootTableSeed", "CustomName"];
        "minecraft:trial_spawner", TrialSpawner: TrialSpawnerBlockEntity (> BlockEntity), [];
        "minecraft:vault", Vault: VaultBlockEntity (> BlockEntity), [];
    }

    block_entity_types! {
        "1.21.5";
        AbstractFurnaceBlockEntity > BaseContainerBlockEntity { optional "Items" as items: Vec<fastnbt::Value>, "cooking_time_spent" as cooking_time_spent: i16, "cooking_total_time" as cooking_total_time: i16, "lit_time_remaining" as lit_time_remaining: i16, "lit_total_time" as lit_total_time: i16 }
        BannerBlockEntity > BlockEntity {  }
        BarrelBlockEntity > RandomizableContainerBlockEntity { optional "Items" as items: Vec<fastnbt::Value>, optional "LootTableSeed" as loot_table_seed: i64 }
        BaseContainerBlockEntity > BlockEntity { optional "CustomName" as custom_name: fastnbt::Value }
        BeaconBlockEntity > BlockEntity { "Levels" as levels: i32, optional "primary_effect" as primary_effect: CowStr, optional "secondary_effect" as secondary_effect: CowStr }
        BedBlockEntity > BlockEntity {  }
        BeehiveBlockEntity > 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: i8, optional "Items" as items: Vec<fastnbt::Value> }
        BrushableBlockEntity > BlockEntity { optional "LootTableSeed" as loot_table_seed: i64 }
        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 "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 "LastExecution" as last_execution: i64, "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 {  }
        CrafterBlockEntity > RandomizableContainerBlockEntity { optional "Items" as items: Vec<fastnbt::Value>, 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 }
        CreakingHeartBlockEntity > BlockEntity {  }
        DaylightDetectorBlockEntity > BlockEntity {  }
        DecoratedPotBlockEntity > BlockEntity { optional "LootTableSeed" as loot_table_seed: i64 }
        DispenserBlockEntity > RandomizableContainerBlockEntity { optional "Items" as items: Vec<fastnbt::Value>, optional "LootTableSeed" as loot_table_seed: i64 }
        DropperBlockEntity > DispenserBlockEntity {  }
        EnchantingTableBlockEntity > BlockEntity {  }
        EnderChestBlockEntity > BlockEntity {  }
        FurnaceBlockEntity > AbstractFurnaceBlockEntity {  }
        HangingSignBlockEntity > SignBlockEntity {  }
        HopperBlockEntity > RandomizableContainerBlockEntity { optional "Items" as items: Vec<fastnbt::Value>, optional "LootTableSeed" as loot_table_seed: i64, "TransferCooldown" as transfer_cooldown: i32 }
        JigsawBlockEntity > BlockEntity { "final_state" as final_state: CowStr, "placement_priority" as placement_priority: i32, "selection_priority" as selection_priority: i32 }
        JukeboxBlockEntity > BlockEntity { optional "ticks_since_song_started" as ticks_since_song_started: i64 }
        LecternBlockEntity > BlockEntity { optional "Page" as page: i32 }
        PistonMovingBlockEntity > BlockEntity { "extending" as extending: bool, "progress" as progress: f32, "source" as source: bool }
        RandomizableContainerBlockEntity > BaseContainerBlockEntity {  }
        SculkCatalystBlockEntity > BlockEntity {  }
        SculkSensorBlockEntity > BlockEntity { "last_vibration_frequency" as last_vibration_frequency: i32 }
        SculkShriekerBlockEntity > BlockEntity { "warning_level" as warning_level: i32 }
        ShulkerBoxBlockEntity > RandomizableContainerBlockEntity { optional "Items" as items: Vec<fastnbt::Value>, optional "LootTableSeed" as loot_table_seed: i64 }
        SignBlockEntity > BlockEntity { "is_waxed" as is_waxed: bool }
        SkullBlockEntity > BlockEntity {  }
        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, "SpawnRange" as spawn_range: i16 }
        StructureBlockEntity > BlockEntity { "author" as author: CowStr, "ignoreEntities" as ignore_entities: bool, "integrity" as integrity: f32, "metadata" as metadata: CowStr, "name" as name: CowStr, "posX" as pos_x: i32, "posY" as pos_y: i32, "posZ" as pos_z: i32, "powered" as powered: bool, "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, "strict" as strict: bool }
        TestBlockEntity > BlockEntity { "message" as message: CowStr, "powered" as powered: bool }
        TestInstanceBlockEntity > BlockEntity {  }
        TheEndGatewayBlockEntity > TheEndPortalBlockEntity { "Age" as age: i64, optional "ExactTeleport" as exact_teleport: bool }
        TheEndPortalBlockEntity > BlockEntity {  }
        TrappedChestBlockEntity > ChestBlockEntity {  }
        TrialSpawnerBlockEntity > BlockEntity {  }
        VaultBlockEntity > BlockEntity {  }
    }

    block_entity_compound_types! {
        "1.21.5";
    }
}

/// Accompanying types for block entities in Minecraft 1.21.6.
#[cfg(feature = "1.21.6")]
pub mod mc1_21_6 {
    block_entities! {
        "1.21.6", mc1_21_6;
        "minecraft:banner", Banner: BannerBlockEntity (> BlockEntity), [];
        "minecraft:barrel", Barrel: BarrelBlockEntity (> > > BlockEntity), [];
        "minecraft:beacon", Beacon: BeaconBlockEntity (> BlockEntity), [];
        "minecraft:bed", Bed: BedBlockEntity (> BlockEntity), [];
        "minecraft:beehive", Beehive: BeehiveBlockEntity (> BlockEntity), [];
        "minecraft:bell", Bell: BellBlockEntity (> BlockEntity), [];
        "minecraft:blast_furnace", BlastFurnace: BlastFurnaceBlockEntity (> > > BlockEntity), [];
        "minecraft:brewing_stand", BrewingStand: BrewingStandBlockEntity (> > BlockEntity), [];
        "minecraft:brushable_block", BrushableBlock: BrushableBlockEntity (> BlockEntity), [];
        "minecraft:calibrated_sculk_sensor", CalibratedSculkSensor: CalibratedSculkSensorBlockEntity (> > BlockEntity), [];
        "minecraft:campfire", Campfire: CampfireBlockEntity (> BlockEntity), [];
        "minecraft:chest", Chest: ChestBlockEntity (> > > BlockEntity), [];
        "minecraft:chiseled_bookshelf", ChiseledBookshelf: ChiseledBookShelfBlockEntity (> BlockEntity), [];
        "minecraft:command_block", CommandBlock: CommandBlockEntity (> BlockEntity), [];
        "minecraft:comparator", Comparator: ComparatorBlockEntity (> BlockEntity), [];
        "minecraft:conduit", Conduit: ConduitBlockEntity (> BlockEntity), [];
        "minecraft:crafter", Crafter: CrafterBlockEntity (> > > BlockEntity), [];
        "minecraft:creaking_heart", CreakingHeart: CreakingHeartBlockEntity (> BlockEntity), [];
        "minecraft:daylight_detector", DaylightDetector: DaylightDetectorBlockEntity (> BlockEntity), [];
        "minecraft:decorated_pot", DecoratedPot: DecoratedPotBlockEntity (> BlockEntity), [];
        "minecraft:dispenser", Dispenser: DispenserBlockEntity (> > > BlockEntity), [];
        "minecraft:dropper", Dropper: DropperBlockEntity (> > > > BlockEntity), [];
        "minecraft:enchanting_table", EnchantingTable: EnchantingTableBlockEntity (> BlockEntity), [];
        "minecraft:end_gateway", EndGateway: TheEndGatewayBlockEntity (> > BlockEntity), [];
        "minecraft:end_portal", EndPortal: TheEndPortalBlockEntity (> BlockEntity), [];
        "minecraft:ender_chest", EnderChest: EnderChestBlockEntity (> BlockEntity), [];
        "minecraft:furnace", Furnace: FurnaceBlockEntity (> > > BlockEntity), [];
        "minecraft:hanging_sign", HangingSign: HangingSignBlockEntity (> > BlockEntity), [];
        "minecraft:hopper", Hopper: HopperBlockEntity (> > > BlockEntity), [];
        "minecraft:jigsaw", Jigsaw: JigsawBlockEntity (> BlockEntity), [];
        "minecraft:jukebox", Jukebox: JukeboxBlockEntity (> BlockEntity), [];
        "minecraft:lectern", Lectern: LecternBlockEntity (> BlockEntity), [];
        "minecraft:mob_spawner", MobSpawner: SpawnerBlockEntity (> BlockEntity), [];
        "minecraft:piston", Piston: PistonMovingBlockEntity (> BlockEntity), [];
        "minecraft:sculk_catalyst", SculkCatalyst: SculkCatalystBlockEntity (> BlockEntity), [];
        "minecraft:sculk_sensor", SculkSensor: SculkSensorBlockEntity (> BlockEntity), [];
        "minecraft:sculk_shrieker", SculkShrieker: SculkShriekerBlockEntity (> BlockEntity), [];
        "minecraft:shulker_box", ShulkerBox: ShulkerBoxBlockEntity (> > > BlockEntity), [];
        "minecraft:sign", Sign: SignBlockEntity (> BlockEntity), [];
        "minecraft:skull", Skull: SkullBlockEntity (> BlockEntity), [];
        "minecraft:smoker", Smoker: SmokerBlockEntity (> > > BlockEntity), [];
        "minecraft:structure_block", StructureBlock: StructureBlockEntity (> BlockEntity), [];
        "minecraft:test_block", TestBlock: TestBlockEntity (> BlockEntity), [];
        "minecraft:test_instance_block", TestInstanceBlock: TestInstanceBlockEntity (> BlockEntity), [];
        "minecraft:trapped_chest", TrappedChest: TrappedChestBlockEntity (> > > > BlockEntity), [];
        "minecraft:trial_spawner", TrialSpawner: TrialSpawnerBlockEntity (> BlockEntity), [];
        "minecraft:vault", Vault: VaultBlockEntity (> BlockEntity), [];
    }

    block_entity_types! {
        "1.21.6";
        AbstractFurnaceBlockEntity > BaseContainerBlockEntity {  }
        BannerBlockEntity > BlockEntity {  }
        BarrelBlockEntity > RandomizableContainerBlockEntity {  }
        BaseContainerBlockEntity > BlockEntity {  }
        BeaconBlockEntity > BlockEntity {  }
        BedBlockEntity > BlockEntity {  }
        BeehiveBlockEntity > BlockEntity {  }
        BellBlockEntity > BlockEntity {  }
        BlastFurnaceBlockEntity > AbstractFurnaceBlockEntity {  }
        BlockEntity { "x" as x: i32, "y" as y: i32, "z" as z: i32 }
        BrewingStandBlockEntity > BaseContainerBlockEntity {  }
        BrushableBlockEntity > BlockEntity {  }
        CalibratedSculkSensorBlockEntity > SculkSensorBlockEntity {  }
        CampfireBlockEntity > BlockEntity {  }
        ChestBlockEntity > RandomizableContainerBlockEntity {  }
        ChiseledBookShelfBlockEntity > BlockEntity {  }
        CommandBlockEntity > BlockEntity {  }
        ComparatorBlockEntity > BlockEntity {  }
        ConduitBlockEntity > BlockEntity {  }
        CrafterBlockEntity > RandomizableContainerBlockEntity {  }
        CreakingHeartBlockEntity > BlockEntity {  }
        DaylightDetectorBlockEntity > BlockEntity {  }
        DecoratedPotBlockEntity > BlockEntity {  }
        DispenserBlockEntity > RandomizableContainerBlockEntity {  }
        DropperBlockEntity > DispenserBlockEntity {  }
        EnchantingTableBlockEntity > BlockEntity {  }
        EnderChestBlockEntity > BlockEntity {  }
        FurnaceBlockEntity > AbstractFurnaceBlockEntity {  }
        HangingSignBlockEntity > SignBlockEntity {  }
        HopperBlockEntity > RandomizableContainerBlockEntity {  }
        JigsawBlockEntity > BlockEntity {  }
        JukeboxBlockEntity > BlockEntity {  }
        LecternBlockEntity > BlockEntity {  }
        PistonMovingBlockEntity > BlockEntity {  }
        RandomizableContainerBlockEntity > BaseContainerBlockEntity {  }
        SculkCatalystBlockEntity > BlockEntity {  }
        SculkSensorBlockEntity > BlockEntity {  }
        SculkShriekerBlockEntity > BlockEntity {  }
        ShulkerBoxBlockEntity > RandomizableContainerBlockEntity {  }
        SignBlockEntity > BlockEntity {  }
        SkullBlockEntity > BlockEntity {  }
        SmokerBlockEntity > AbstractFurnaceBlockEntity {  }
        SpawnerBlockEntity > BlockEntity {  }
        StructureBlockEntity > BlockEntity {  }
        TestBlockEntity > BlockEntity {  }
        TestInstanceBlockEntity > BlockEntity {  }
        TheEndGatewayBlockEntity > TheEndPortalBlockEntity {  }
        TheEndPortalBlockEntity > BlockEntity {  }
        TrappedChestBlockEntity > ChestBlockEntity {  }
        TrialSpawnerBlockEntity > BlockEntity {  }
        VaultBlockEntity > BlockEntity {  }
    }

    block_entity_compound_types! {
        "1.21.6";
    }
}

/// Accompanying types for block entities in Minecraft 1.21.7.
#[cfg(feature = "1.21.7")]
pub mod mc1_21_7 {
    block_entities! {
        "1.21.7", mc1_21_7;
        "minecraft:banner", Banner: BannerBlockEntity (> BlockEntity), [];
        "minecraft:barrel", Barrel: BarrelBlockEntity (> > > BlockEntity), [];
        "minecraft:beacon", Beacon: BeaconBlockEntity (> BlockEntity), [];
        "minecraft:bed", Bed: BedBlockEntity (> BlockEntity), [];
        "minecraft:beehive", Beehive: BeehiveBlockEntity (> BlockEntity), [];
        "minecraft:bell", Bell: BellBlockEntity (> BlockEntity), [];
        "minecraft:blast_furnace", BlastFurnace: BlastFurnaceBlockEntity (> > > BlockEntity), [];
        "minecraft:brewing_stand", BrewingStand: BrewingStandBlockEntity (> > BlockEntity), [];
        "minecraft:brushable_block", BrushableBlock: BrushableBlockEntity (> BlockEntity), [];
        "minecraft:calibrated_sculk_sensor", CalibratedSculkSensor: CalibratedSculkSensorBlockEntity (> > BlockEntity), [];
        "minecraft:campfire", Campfire: CampfireBlockEntity (> BlockEntity), [];
        "minecraft:chest", Chest: ChestBlockEntity (> > > BlockEntity), [];
        "minecraft:chiseled_bookshelf", ChiseledBookshelf: ChiseledBookShelfBlockEntity (> BlockEntity), [];
        "minecraft:command_block", CommandBlock: CommandBlockEntity (> BlockEntity), [];
        "minecraft:comparator", Comparator: ComparatorBlockEntity (> BlockEntity), [];
        "minecraft:conduit", Conduit: ConduitBlockEntity (> BlockEntity), [];
        "minecraft:crafter", Crafter: CrafterBlockEntity (> > > BlockEntity), [];
        "minecraft:creaking_heart", CreakingHeart: CreakingHeartBlockEntity (> BlockEntity), [];
        "minecraft:daylight_detector", DaylightDetector: DaylightDetectorBlockEntity (> BlockEntity), [];
        "minecraft:decorated_pot", DecoratedPot: DecoratedPotBlockEntity (> BlockEntity), [];
        "minecraft:dispenser", Dispenser: DispenserBlockEntity (> > > BlockEntity), [];
        "minecraft:dropper", Dropper: DropperBlockEntity (> > > > BlockEntity), [];
        "minecraft:enchanting_table", EnchantingTable: EnchantingTableBlockEntity (> BlockEntity), [];
        "minecraft:end_gateway", EndGateway: TheEndGatewayBlockEntity (> > BlockEntity), [];
        "minecraft:end_portal", EndPortal: TheEndPortalBlockEntity (> BlockEntity), [];
        "minecraft:ender_chest", EnderChest: EnderChestBlockEntity (> BlockEntity), [];
        "minecraft:furnace", Furnace: FurnaceBlockEntity (> > > BlockEntity), [];
        "minecraft:hanging_sign", HangingSign: HangingSignBlockEntity (> > BlockEntity), [];
        "minecraft:hopper", Hopper: HopperBlockEntity (> > > BlockEntity), [];
        "minecraft:jigsaw", Jigsaw: JigsawBlockEntity (> BlockEntity), [];
        "minecraft:jukebox", Jukebox: JukeboxBlockEntity (> BlockEntity), [];
        "minecraft:lectern", Lectern: LecternBlockEntity (> BlockEntity), [];
        "minecraft:mob_spawner", MobSpawner: SpawnerBlockEntity (> BlockEntity), [];
        "minecraft:piston", Piston: PistonMovingBlockEntity (> BlockEntity), [];
        "minecraft:sculk_catalyst", SculkCatalyst: SculkCatalystBlockEntity (> BlockEntity), [];
        "minecraft:sculk_sensor", SculkSensor: SculkSensorBlockEntity (> BlockEntity), [];
        "minecraft:sculk_shrieker", SculkShrieker: SculkShriekerBlockEntity (> BlockEntity), [];
        "minecraft:shulker_box", ShulkerBox: ShulkerBoxBlockEntity (> > > BlockEntity), [];
        "minecraft:sign", Sign: SignBlockEntity (> BlockEntity), [];
        "minecraft:skull", Skull: SkullBlockEntity (> BlockEntity), [];
        "minecraft:smoker", Smoker: SmokerBlockEntity (> > > BlockEntity), [];
        "minecraft:structure_block", StructureBlock: StructureBlockEntity (> BlockEntity), [];
        "minecraft:test_block", TestBlock: TestBlockEntity (> BlockEntity), [];
        "minecraft:test_instance_block", TestInstanceBlock: TestInstanceBlockEntity (> BlockEntity), [];
        "minecraft:trapped_chest", TrappedChest: TrappedChestBlockEntity (> > > > BlockEntity), [];
        "minecraft:trial_spawner", TrialSpawner: TrialSpawnerBlockEntity (> BlockEntity), [];
        "minecraft:vault", Vault: VaultBlockEntity (> BlockEntity), [];
    }

    block_entity_types! {
        "1.21.7";
        AbstractFurnaceBlockEntity > BaseContainerBlockEntity {  }
        BannerBlockEntity > BlockEntity {  }
        BarrelBlockEntity > RandomizableContainerBlockEntity {  }
        BaseContainerBlockEntity > BlockEntity {  }
        BeaconBlockEntity > BlockEntity {  }
        BedBlockEntity > BlockEntity {  }
        BeehiveBlockEntity > BlockEntity {  }
        BellBlockEntity > BlockEntity {  }
        BlastFurnaceBlockEntity > AbstractFurnaceBlockEntity {  }
        BlockEntity { "x" as x: i32, "y" as y: i32, "z" as z: i32 }
        BrewingStandBlockEntity > BaseContainerBlockEntity {  }
        BrushableBlockEntity > BlockEntity {  }
        CalibratedSculkSensorBlockEntity > SculkSensorBlockEntity {  }
        CampfireBlockEntity > BlockEntity {  }
        ChestBlockEntity > RandomizableContainerBlockEntity {  }
        ChiseledBookShelfBlockEntity > BlockEntity {  }
        CommandBlockEntity > BlockEntity {  }
        ComparatorBlockEntity > BlockEntity {  }
        ConduitBlockEntity > BlockEntity {  }
        CrafterBlockEntity > RandomizableContainerBlockEntity {  }
        CreakingHeartBlockEntity > BlockEntity {  }
        DaylightDetectorBlockEntity > BlockEntity {  }
        DecoratedPotBlockEntity > BlockEntity {  }
        DispenserBlockEntity > RandomizableContainerBlockEntity {  }
        DropperBlockEntity > DispenserBlockEntity {  }
        EnchantingTableBlockEntity > BlockEntity {  }
        EnderChestBlockEntity > BlockEntity {  }
        FurnaceBlockEntity > AbstractFurnaceBlockEntity {  }
        HangingSignBlockEntity > SignBlockEntity {  }
        HopperBlockEntity > RandomizableContainerBlockEntity {  }
        JigsawBlockEntity > BlockEntity {  }
        JukeboxBlockEntity > BlockEntity {  }
        LecternBlockEntity > BlockEntity {  }
        PistonMovingBlockEntity > BlockEntity {  }
        RandomizableContainerBlockEntity > BaseContainerBlockEntity {  }
        SculkCatalystBlockEntity > BlockEntity {  }
        SculkSensorBlockEntity > BlockEntity {  }
        SculkShriekerBlockEntity > BlockEntity {  }
        ShulkerBoxBlockEntity > RandomizableContainerBlockEntity {  }
        SignBlockEntity > BlockEntity {  }
        SkullBlockEntity > BlockEntity {  }
        SmokerBlockEntity > AbstractFurnaceBlockEntity {  }
        SpawnerBlockEntity > BlockEntity {  }
        StructureBlockEntity > BlockEntity {  }
        TestBlockEntity > BlockEntity {  }
        TestInstanceBlockEntity > BlockEntity {  }
        TheEndGatewayBlockEntity > TheEndPortalBlockEntity {  }
        TheEndPortalBlockEntity > BlockEntity {  }
        TrappedChestBlockEntity > ChestBlockEntity {  }
        TrialSpawnerBlockEntity > BlockEntity {  }
        VaultBlockEntity > BlockEntity {  }
    }

    block_entity_compound_types! {
        "1.21.7";
    }
}