summaryrefslogtreecommitdiffstats
path: root/src/Registries
diff options
context:
space:
mode:
authorTiger Wang <ziwei.tiger@outlook.com>2020-12-21 14:54:04 +0100
committerGitHub <noreply@github.com>2020-12-21 14:54:04 +0100
commit9518a273570e8d38438c2a29aa10f987e7d44ce1 (patch)
tree11806582f5e27bad01ae96705f75f431ec3e9caf /src/Registries
parentImprove Enderman targeting (diff)
downloadcuberite-9518a273570e8d38438c2a29aa10f987e7d44ce1.tar
cuberite-9518a273570e8d38438c2a29aa10f987e7d44ce1.tar.gz
cuberite-9518a273570e8d38438c2a29aa10f987e7d44ce1.tar.bz2
cuberite-9518a273570e8d38438c2a29aa10f987e7d44ce1.tar.lz
cuberite-9518a273570e8d38438c2a29aa10f987e7d44ce1.tar.xz
cuberite-9518a273570e8d38438c2a29aa10f987e7d44ce1.tar.zst
cuberite-9518a273570e8d38438c2a29aa10f987e7d44ce1.zip
Diffstat (limited to '')
-rw-r--r--src/Registries/BlockStates.cpp (renamed from src/Registries/Blocks.cpp)6053
-rw-r--r--src/Registries/BlockStates.h25485
-rw-r--r--src/Registries/BlockTypes.h768
-rw-r--r--src/Registries/Blocks.h20284
-rw-r--r--src/Registries/CMakeLists.txt5
-rw-r--r--src/Registries/Statistics.h1
6 files changed, 29281 insertions, 23315 deletions
diff --git a/src/Registries/Blocks.cpp b/src/Registries/BlockStates.cpp
index 6862202cd..fe0176a34 100644
--- a/src/Registries/Blocks.cpp
+++ b/src/Registries/BlockStates.cpp
@@ -1,798 +1,25 @@
-#include "Blocks.h"
+#include "BlockStates.h"
namespace Block
{
- enum Type Type(short ID)
- {
- switch (ID)
- {
- case 6442:case 6443:case 6444:case 6445:case 6446:case 6447:case 6448:case 6449:case 6450:case 6451:case 6452:case 6453:case 6454:case 6455:case 6456:case 6457:case 6458:case 6459:case 6460:case 6461:case 6462:case 6463:case 6464:case 6465: return Type::AcaciaButton;
- case 8930:case 8931:case 8932:case 8933:case 8934:case 8935:case 8936:case 8937:case 8938:case 8939:case 8940:case 8941:case 8942:case 8943:case 8944:case 8945:case 8946:case 8947:case 8948:case 8949:case 8950:case 8951:case 8952:case 8953:case 8954:case 8955:case 8956:case 8957:case 8958:case 8959:case 8960:case 8961:case 8962:case 8963:case 8964:case 8965:case 8966:case 8967:case 8968:case 8969:case 8970:case 8971:case 8972:case 8973:case 8974:case 8975:case 8976:case 8977:case 8978:case 8979:case 8980:case 8981:case 8982:case 8983:case 8984:case 8985:case 8986:case 8987:case 8988:case 8989:case 8990:case 8991:case 8992:case 8993: return Type::AcaciaDoor;
- case 8676:case 8677:case 8680:case 8681:case 8684:case 8685:case 8688:case 8689:case 8692:case 8693:case 8696:case 8697:case 8700:case 8701:case 8704:case 8705: return Type::AcaciaFence;
- case 8514:case 8515:case 8516:case 8517:case 8518:case 8519:case 8520:case 8521:case 8522:case 8523:case 8524:case 8525:case 8526:case 8527:case 8528:case 8529:case 8530:case 8531:case 8532:case 8533:case 8534:case 8535:case 8536:case 8537:case 8538:case 8539:case 8540:case 8541:case 8542:case 8543:case 8544:case 8545: return Type::AcaciaFenceGate;
- case 201:case 202:case 203:case 204:case 205:case 206:case 207:case 208:case 209:case 210:case 211:case 212:case 213:case 214: return Type::AcaciaLeaves;
- case 85:case 86:case 87: return Type::AcaciaLog;
- case 19: return Type::AcaciaPlanks;
- case 3881:case 3882: return Type::AcaciaPressurePlate;
- case 29:case 30: return Type::AcaciaSapling;
- case 3478:case 3480:case 3482:case 3484:case 3486:case 3488:case 3490:case 3492:case 3494:case 3496:case 3498:case 3500:case 3502:case 3504:case 3506:case 3508: return Type::AcaciaSign;
- case 8325:case 8327:case 8329: return Type::AcaciaSlab;
- case 7376:case 7378:case 7380:case 7382:case 7384:case 7386:case 7388:case 7390:case 7392:case 7394:case 7396:case 7398:case 7400:case 7402:case 7404:case 7406:case 7408:case 7410:case 7412:case 7414:case 7416:case 7418:case 7420:case 7422:case 7424:case 7426:case 7428:case 7430:case 7432:case 7434:case 7436:case 7438:case 7440:case 7442:case 7444:case 7446:case 7448:case 7450:case 7452:case 7454: return Type::AcaciaStairs;
- case 4368:case 4370:case 4372:case 4374:case 4376:case 4378:case 4380:case 4382:case 4384:case 4386:case 4388:case 4390:case 4392:case 4394:case 4396:case 4398:case 4400:case 4402:case 4404:case 4406:case 4408:case 4410:case 4412:case 4414:case 4416:case 4418:case 4420:case 4422:case 4424:case 4426:case 4428:case 4430: return Type::AcaciaTrapdoor;
- case 3760:case 3762:case 3764:case 3766: return Type::AcaciaWallSign;
- case 121:case 122:case 123: return Type::AcaciaWood;
- case 6823:case 6824:case 6825:case 6826:case 6827:case 6828:case 6829:case 6830:case 6831:case 6832:case 6833:case 6834: return Type::ActivatorRail;
- case -0: return Type::Air;
- case 1415: return Type::Allium;
- case 15827: return Type::AncientDebris;
- case 6: return Type::Andesite;
- case 10844:case 10846:case 10848: return Type::AndesiteSlab;
- case 10470:case 10472:case 10474:case 10476:case 10478:case 10480:case 10482:case 10484:case 10486:case 10488:case 10490:case 10492:case 10494:case 10496:case 10498:case 10500:case 10502:case 10504:case 10506:case 10508:case 10510:case 10512:case 10514:case 10516:case 10518:case 10520:case 10522:case 10524:case 10526:case 10528:case 10530:case 10532:case 10534:case 10536:case 10538:case 10540:case 10542:case 10544:case 10546:case 10548: return Type::AndesiteStairs;
- case 13138:case 13139:case 13140:case 13144:case 13145:case 13146:case 13150:case 13151:case 13152:case 13156:case 13157:case 13158:case 13162:case 13163:case 13164:case 13168:case 13169:case 13170:case 13174:case 13175:case 13176:case 13180:case 13181:case 13182:case 13186:case 13187:case 13188:case 13192:case 13193:case 13194:case 13198:case 13199:case 13200:case 13204:case 13205:case 13206:case 13210:case 13211:case 13212:case 13216:case 13217:case 13218:case 13222:case 13223:case 13224:case 13228:case 13229:case 13230:case 13234:case 13235:case 13236:case 13240:case 13241:case 13242:case 13246:case 13247:case 13248:case 13252:case 13253:case 13254:case 13258:case 13259:case 13260:case 13264:case 13265:case 13266:case 13270:case 13271:case 13272:case 13276:case 13277:case 13278:case 13282:case 13283:case 13284:case 13288:case 13289:case 13290:case 13294:case 13295:case 13296:case 13300:case 13301:case 13302:case 13306:case 13307:case 13308:case 13312:case 13313:case 13314:case 13318:case 13319:case 13320:case 13324:case 13325:case 13326:case 13330:case 13331:case 13332:case 13336:case 13337:case 13338:case 13342:case 13343:case 13344:case 13348:case 13349:case 13350:case 13354:case 13355:case 13356:case 13360:case 13361:case 13362:case 13366:case 13367:case 13368:case 13372:case 13373:case 13374:case 13378:case 13379:case 13380:case 13384:case 13385:case 13386:case 13390:case 13391:case 13392:case 13396:case 13397:case 13398:case 13402:case 13403:case 13404:case 13408:case 13409:case 13410:case 13414:case 13415:case 13416:case 13420:case 13421:case 13422:case 13426:case 13427:case 13428:case 13432:case 13433:case 13434:case 13438:case 13439:case 13440:case 13444:case 13445:case 13446:case 13450:case 13451:case 13452:case 13456:case 13457:case 13458: return Type::AndesiteWall;
- case 6610:case 6611:case 6612:case 6613: return Type::Anvil;
- case 4768:case 4769:case 4770:case 4771: return Type::AttachedMelonStem;
- case 4764:case 4765:case 4766:case 4767: return Type::AttachedPumpkinStem;
- case 1416: return Type::AzureBluet;
- case 9652:case 9653:case 9654:case 9655:case 9656:case 9657:case 9658:case 9659:case 9660:case 9661:case 9662:case 9663: return Type::Bamboo;
- case 9651: return Type::BambooSapling;
- case 14791:case 14792:case 14793:case 14794:case 14795:case 14796:case 14797:case 14798:case 14799:case 14800:case 14801:case 14802: return Type::Barrel;
- case 7536: return Type::Barrier;
- case 4002:case 4003:case 4004: return Type::Basalt;
- case 5656: return Type::Beacon;
- case 33: return Type::Bedrock;
- case 15776:case 15777:case 15778:case 15779:case 15780:case 15781:case 15782:case 15783:case 15784:case 15785:case 15786:case 15787:case 15788:case 15789:case 15790:case 15791:case 15792:case 15793:case 15794:case 15795:case 15796:case 15797:case 15798:case 15799: return Type::BeeNest;
- case 15800:case 15801:case 15802:case 15803:case 15804:case 15805:case 15806:case 15807:case 15808:case 15809:case 15810:case 15811:case 15812:case 15813:case 15814:case 15815:case 15816:case 15817:case 15818:case 15819:case 15820:case 15821:case 15822:case 15823: return Type::Beehive;
- case 9219:case 9220:case 9221:case 9222: return Type::Beetroots;
- case 14854:case 14855:case 14856:case 14857:case 14858:case 14859:case 14860:case 14861:case 14862:case 14863:case 14864:case 14865:case 14866:case 14867:case 14868:case 14869:case 14870:case 14871:case 14872:case 14873:case 14874:case 14875:case 14876:case 14877:case 14878:case 14879:case 14880:case 14881:case 14882:case 14883:case 14884:case 14885: return Type::Bell;
- case 6394:case 6395:case 6396:case 6397:case 6398:case 6399:case 6400:case 6401:case 6402:case 6403:case 6404:case 6405:case 6406:case 6407:case 6408:case 6409:case 6410:case 6411:case 6412:case 6413:case 6414:case 6415:case 6416:case 6417: return Type::BirchButton;
- case 8802:case 8803:case 8804:case 8805:case 8806:case 8807:case 8808:case 8809:case 8810:case 8811:case 8812:case 8813:case 8814:case 8815:case 8816:case 8817:case 8818:case 8819:case 8820:case 8821:case 8822:case 8823:case 8824:case 8825:case 8826:case 8827:case 8828:case 8829:case 8830:case 8831:case 8832:case 8833:case 8834:case 8835:case 8836:case 8837:case 8838:case 8839:case 8840:case 8841:case 8842:case 8843:case 8844:case 8845:case 8846:case 8847:case 8848:case 8849:case 8850:case 8851:case 8852:case 8853:case 8854:case 8855:case 8856:case 8857:case 8858:case 8859:case 8860:case 8861:case 8862:case 8863:case 8864:case 8865: return Type::BirchDoor;
- case 8612:case 8613:case 8616:case 8617:case 8620:case 8621:case 8624:case 8625:case 8628:case 8629:case 8632:case 8633:case 8636:case 8637:case 8640:case 8641: return Type::BirchFence;
- case 8450:case 8451:case 8452:case 8453:case 8454:case 8455:case 8456:case 8457:case 8458:case 8459:case 8460:case 8461:case 8462:case 8463:case 8464:case 8465:case 8466:case 8467:case 8468:case 8469:case 8470:case 8471:case 8472:case 8473:case 8474:case 8475:case 8476:case 8477:case 8478:case 8479:case 8480:case 8481: return Type::BirchFenceGate;
- case 173:case 174:case 175:case 176:case 177:case 178:case 179:case 180:case 181:case 182:case 183:case 184:case 185:case 186: return Type::BirchLeaves;
- case 79:case 80:case 81: return Type::BirchLog;
- case 17: return Type::BirchPlanks;
- case 3877:case 3878: return Type::BirchPressurePlate;
- case 25:case 26: return Type::BirchSapling;
- case 3446:case 3448:case 3450:case 3452:case 3454:case 3456:case 3458:case 3460:case 3462:case 3464:case 3466:case 3468:case 3470:case 3472:case 3474:case 3476: return Type::BirchSign;
- case 8313:case 8315:case 8317: return Type::BirchSlab;
- case 5485:case 5487:case 5489:case 5491:case 5493:case 5495:case 5497:case 5499:case 5501:case 5503:case 5505:case 5507:case 5509:case 5511:case 5513:case 5515:case 5517:case 5519:case 5521:case 5523:case 5525:case 5527:case 5529:case 5531:case 5533:case 5535:case 5537:case 5539:case 5541:case 5543:case 5545:case 5547:case 5549:case 5551:case 5553:case 5555:case 5557:case 5559:case 5561:case 5563: return Type::BirchStairs;
- case 4240:case 4242:case 4244:case 4246:case 4248:case 4250:case 4252:case 4254:case 4256:case 4258:case 4260:case 4262:case 4264:case 4266:case 4268:case 4270:case 4272:case 4274:case 4276:case 4278:case 4280:case 4282:case 4284:case 4286:case 4288:case 4290:case 4292:case 4294:case 4296:case 4298:case 4300:case 4302: return Type::BirchTrapdoor;
- case 3752:case 3754:case 3756:case 3758: return Type::BirchWallSign;
- case 115:case 116:case 117: return Type::BirchWood;
- case 8137:case 8138:case 8139:case 8140:case 8141:case 8142:case 8143:case 8144:case 8145:case 8146:case 8147:case 8148:case 8149:case 8150:case 8151:case 8152: return Type::BlackBanner;
- case 1289:case 1290:case 1291:case 1292:case 1293:case 1294:case 1295:case 1296:case 1297:case 1298:case 1299:case 1300:case 1301:case 1302:case 1303:case 1304: return Type::BlackBed;
- case 7881: return Type::BlackCarpet;
- case 9453: return Type::BlackConcrete;
- case 9469: return Type::BlackConcretePowder;
- case 9434:case 9435:case 9436:case 9437: return Type::BlackGlazedTerracotta;
- case 9368:case 9369:case 9370:case 9371:case 9372:case 9373: return Type::BlackShulkerBox;
- case 4110: return Type::BlackStainedGlass;
- case 7345:case 7346:case 7349:case 7350:case 7353:case 7354:case 7357:case 7358:case 7361:case 7362:case 7365:case 7366:case 7369:case 7370:case 7373:case 7374: return Type::BlackStainedGlassPane;
- case 6862: return Type::BlackTerracotta;
- case 8213:case 8214:case 8215:case 8216: return Type::BlackWallBanner;
- case 1399: return Type::BlackWool;
- case 15839: return Type::Blackstone;
- case 16245:case 16247:case 16249: return Type::BlackstoneSlab;
- case 15841:case 15843:case 15845:case 15847:case 15849:case 15851:case 15853:case 15855:case 15857:case 15859:case 15861:case 15863:case 15865:case 15867:case 15869:case 15871:case 15873:case 15875:case 15877:case 15879:case 15881:case 15883:case 15885:case 15887:case 15889:case 15891:case 15893:case 15895:case 15897:case 15899:case 15901:case 15903:case 15905:case 15907:case 15909:case 15911:case 15913:case 15915:case 15917:case 15919: return Type::BlackstoneStairs;
- case 15923:case 15924:case 15925:case 15929:case 15930:case 15931:case 15935:case 15936:case 15937:case 15941:case 15942:case 15943:case 15947:case 15948:case 15949:case 15953:case 15954:case 15955:case 15959:case 15960:case 15961:case 15965:case 15966:case 15967:case 15971:case 15972:case 15973:case 15977:case 15978:case 15979:case 15983:case 15984:case 15985:case 15989:case 15990:case 15991:case 15995:case 15996:case 15997:case 16001:case 16002:case 16003:case 16007:case 16008:case 16009:case 16013:case 16014:case 16015:case 16019:case 16020:case 16021:case 16025:case 16026:case 16027:case 16031:case 16032:case 16033:case 16037:case 16038:case 16039:case 16043:case 16044:case 16045:case 16049:case 16050:case 16051:case 16055:case 16056:case 16057:case 16061:case 16062:case 16063:case 16067:case 16068:case 16069:case 16073:case 16074:case 16075:case 16079:case 16080:case 16081:case 16085:case 16086:case 16087:case 16091:case 16092:case 16093:case 16097:case 16098:case 16099:case 16103:case 16104:case 16105:case 16109:case 16110:case 16111:case 16115:case 16116:case 16117:case 16121:case 16122:case 16123:case 16127:case 16128:case 16129:case 16133:case 16134:case 16135:case 16139:case 16140:case 16141:case 16145:case 16146:case 16147:case 16151:case 16152:case 16153:case 16157:case 16158:case 16159:case 16163:case 16164:case 16165:case 16169:case 16170:case 16171:case 16175:case 16176:case 16177:case 16181:case 16182:case 16183:case 16187:case 16188:case 16189:case 16193:case 16194:case 16195:case 16199:case 16200:case 16201:case 16205:case 16206:case 16207:case 16211:case 16212:case 16213:case 16217:case 16218:case 16219:case 16223:case 16224:case 16225:case 16229:case 16230:case 16231:case 16235:case 16236:case 16237:case 16241:case 16242:case 16243: return Type::BlackstoneWall;
- case 14811:case 14812:case 14813:case 14814:case 14815:case 14816:case 14817:case 14818: return Type::BlastFurnace;
- case 8073:case 8074:case 8075:case 8076:case 8077:case 8078:case 8079:case 8080:case 8081:case 8082:case 8083:case 8084:case 8085:case 8086:case 8087:case 8088: return Type::BlueBanner;
- case 1225:case 1226:case 1227:case 1228:case 1229:case 1230:case 1231:case 1232:case 1233:case 1234:case 1235:case 1236:case 1237:case 1238:case 1239:case 1240: return Type::BlueBed;
- case 7877: return Type::BlueCarpet;
- case 9449: return Type::BlueConcrete;
- case 9465: return Type::BlueConcretePowder;
- case 9418:case 9419:case 9420:case 9421: return Type::BlueGlazedTerracotta;
- case 9648: return Type::BlueIce;
- case 1414: return Type::BlueOrchid;
- case 9344:case 9345:case 9346:case 9347:case 9348:case 9349: return Type::BlueShulkerBox;
- case 4106: return Type::BlueStainedGlass;
- case 7217:case 7218:case 7221:case 7222:case 7225:case 7226:case 7229:case 7230:case 7233:case 7234:case 7237:case 7238:case 7241:case 7242:case 7245:case 7246: return Type::BlueStainedGlassPane;
- case 6858: return Type::BlueTerracotta;
- case 8197:case 8198:case 8199:case 8200: return Type::BlueWallBanner;
- case 1395: return Type::BlueWool;
- case 9256:case 9257:case 9258: return Type::BoneBlock;
- case 1432: return Type::Bookshelf;
- case 9533: return Type::BrainCoral;
- case 9516: return Type::BrainCoralBlock;
- case 9553: return Type::BrainCoralFan;
- case 9609:case 9611:case 9613:case 9615: return Type::BrainCoralWallFan;
- case 5133:case 5134:case 5135:case 5136:case 5137:case 5138:case 5139:case 5140: return Type::BrewingStand;
- case 8373:case 8375:case 8377: return Type::BrickSlab;
- case 4853:case 4855:case 4857:case 4859:case 4861:case 4863:case 4865:case 4867:case 4869:case 4871:case 4873:case 4875:case 4877:case 4879:case 4881:case 4883:case 4885:case 4887:case 4889:case 4891:case 4893:case 4895:case 4897:case 4899:case 4901:case 4903:case 4905:case 4907:case 4909:case 4911:case 4913:case 4915:case 4917:case 4919:case 4921:case 4923:case 4925:case 4927:case 4929:case 4931: return Type::BrickStairs;
- case 10870:case 10871:case 10872:case 10876:case 10877:case 10878:case 10882:case 10883:case 10884:case 10888:case 10889:case 10890:case 10894:case 10895:case 10896:case 10900:case 10901:case 10902:case 10906:case 10907:case 10908:case 10912:case 10913:case 10914:case 10918:case 10919:case 10920:case 10924:case 10925:case 10926:case 10930:case 10931:case 10932:case 10936:case 10937:case 10938:case 10942:case 10943:case 10944:case 10948:case 10949:case 10950:case 10954:case 10955:case 10956:case 10960:case 10961:case 10962:case 10966:case 10967:case 10968:case 10972:case 10973:case 10974:case 10978:case 10979:case 10980:case 10984:case 10985:case 10986:case 10990:case 10991:case 10992:case 10996:case 10997:case 10998:case 11002:case 11003:case 11004:case 11008:case 11009:case 11010:case 11014:case 11015:case 11016:case 11020:case 11021:case 11022:case 11026:case 11027:case 11028:case 11032:case 11033:case 11034:case 11038:case 11039:case 11040:case 11044:case 11045:case 11046:case 11050:case 11051:case 11052:case 11056:case 11057:case 11058:case 11062:case 11063:case 11064:case 11068:case 11069:case 11070:case 11074:case 11075:case 11076:case 11080:case 11081:case 11082:case 11086:case 11087:case 11088:case 11092:case 11093:case 11094:case 11098:case 11099:case 11100:case 11104:case 11105:case 11106:case 11110:case 11111:case 11112:case 11116:case 11117:case 11118:case 11122:case 11123:case 11124:case 11128:case 11129:case 11130:case 11134:case 11135:case 11136:case 11140:case 11141:case 11142:case 11146:case 11147:case 11148:case 11152:case 11153:case 11154:case 11158:case 11159:case 11160:case 11164:case 11165:case 11166:case 11170:case 11171:case 11172:case 11176:case 11177:case 11178:case 11182:case 11183:case 11184:case 11188:case 11189:case 11190: return Type::BrickWall;
- case 1429: return Type::Bricks;
- case 8089:case 8090:case 8091:case 8092:case 8093:case 8094:case 8095:case 8096:case 8097:case 8098:case 8099:case 8100:case 8101:case 8102:case 8103:case 8104: return Type::BrownBanner;
- case 1241:case 1242:case 1243:case 1244:case 1245:case 1246:case 1247:case 1248:case 1249:case 1250:case 1251:case 1252:case 1253:case 1254:case 1255:case 1256: return Type::BrownBed;
- case 7878: return Type::BrownCarpet;
- case 9450: return Type::BrownConcrete;
- case 9466: return Type::BrownConcretePowder;
- case 9422:case 9423:case 9424:case 9425: return Type::BrownGlazedTerracotta;
- case 1425: return Type::BrownMushroom;
- case 4505:case 4506:case 4507:case 4508:case 4509:case 4510:case 4511:case 4512:case 4513:case 4514:case 4515:case 4516:case 4517:case 4518:case 4519:case 4520:case 4521:case 4522:case 4523:case 4524:case 4525:case 4526:case 4527:case 4528:case 4529:case 4530:case 4531:case 4532:case 4533:case 4534:case 4535:case 4536:case 4537:case 4538:case 4539:case 4540:case 4541:case 4542:case 4543:case 4544:case 4545:case 4546:case 4547:case 4548:case 4549:case 4550:case 4551:case 4552:case 4553:case 4554:case 4555:case 4556:case 4557:case 4558:case 4559:case 4560:case 4561:case 4562:case 4563:case 4564:case 4565:case 4566:case 4567:case 4568: return Type::BrownMushroomBlock;
- case 9350:case 9351:case 9352:case 9353:case 9354:case 9355: return Type::BrownShulkerBox;
- case 4107: return Type::BrownStainedGlass;
- case 7249:case 7250:case 7253:case 7254:case 7257:case 7258:case 7261:case 7262:case 7265:case 7266:case 7269:case 7270:case 7273:case 7274:case 7277:case 7278: return Type::BrownStainedGlassPane;
- case 6859: return Type::BrownTerracotta;
- case 8201:case 8202:case 8203:case 8204: return Type::BrownWallBanner;
- case 1396: return Type::BrownWool;
- case 9667:case 9668: return Type::BubbleColumn;
- case 9535: return Type::BubbleCoral;
- case 9517: return Type::BubbleCoralBlock;
- case 9555: return Type::BubbleCoralFan;
- case 9617:case 9619:case 9621:case 9623: return Type::BubbleCoralWallFan;
- case 3931:case 3932:case 3933:case 3934:case 3935:case 3936:case 3937:case 3938:case 3939:case 3940:case 3941:case 3942:case 3943:case 3944:case 3945:case 3946: return Type::Cactus;
- case 4024:case 4025:case 4026:case 4027:case 4028:case 4029:case 4030: return Type::Cake;
- case 14891:case 14893:case 14895:case 14897:case 14899:case 14901:case 14903:case 14905:case 14907:case 14909:case 14911:case 14913:case 14915:case 14917:case 14919:case 14921: return Type::Campfire;
- case 6330:case 6331:case 6332:case 6333:case 6334:case 6335:case 6336:case 6337: return Type::Carrots;
- case 14819: return Type::CartographyTable;
- case 4016:case 4017:case 4018:case 4019: return Type::CarvedPumpkin;
- case 5141:case 5142:case 5143:case 5144: return Type::Cauldron;
- case 9666: return Type::CaveAir;
- case 4730: return Type::Chain;
- case 9237:case 9238:case 9239:case 9240:case 9241:case 9242:case 9243:case 9244:case 9245:case 9246:case 9247:case 9248: return Type::ChainCommandBlock;
- case 2035:case 2037:case 2039:case 2041:case 2043:case 2045:case 2047:case 2049:case 2051:case 2053:case 2055:case 2057: return Type::Chest;
- case 6614:case 6615:case 6616:case 6617: return Type::ChippedAnvil;
- case 17101: return Type::ChiseledNetherBricks;
- case 16253: return Type::ChiseledPolishedBlackstone;
- case 6739: return Type::ChiseledQuartzBlock;
- case 8218: return Type::ChiseledRedSandstone;
- case 247: return Type::ChiseledSandstone;
- case 4498: return Type::ChiseledStoneBricks;
- case 9128:case 9129:case 9130:case 9131:case 9132:case 9133: return Type::ChorusFlower;
- case 9064:case 9065:case 9066:case 9067:case 9068:case 9069:case 9070:case 9071:case 9072:case 9073:case 9074:case 9075:case 9076:case 9077:case 9078:case 9079:case 9080:case 9081:case 9082:case 9083:case 9084:case 9085:case 9086:case 9087:case 9088:case 9089:case 9090:case 9091:case 9092:case 9093:case 9094:case 9095:case 9096:case 9097:case 9098:case 9099:case 9100:case 9101:case 9102:case 9103:case 9104:case 9105:case 9106:case 9107:case 9108:case 9109:case 9110:case 9111:case 9112:case 9113:case 9114:case 9115:case 9116:case 9117:case 9118:case 9119:case 9120:case 9121:case 9122:case 9123:case 9124:case 9125:case 9126:case 9127: return Type::ChorusPlant;
- case 3947: return Type::Clay;
- case 7883: return Type::CoalBlock;
- case 71: return Type::CoalOre;
- case 11: return Type::CoarseDirt;
- case 14: return Type::Cobblestone;
- case 8367:case 8369:case 8371: return Type::CobblestoneSlab;
- case 3656:case 3658:case 3660:case 3662:case 3664:case 3666:case 3668:case 3670:case 3672:case 3674:case 3676:case 3678:case 3680:case 3682:case 3684:case 3686:case 3688:case 3690:case 3692:case 3694:case 3696:case 3698:case 3700:case 3702:case 3704:case 3706:case 3708:case 3710:case 3712:case 3714:case 3716:case 3718:case 3720:case 3722:case 3724:case 3726:case 3728:case 3730:case 3732:case 3734: return Type::CobblestoneStairs;
- case 5660:case 5661:case 5662:case 5666:case 5667:case 5668:case 5672:case 5673:case 5674:case 5678:case 5679:case 5680:case 5684:case 5685:case 5686:case 5690:case 5691:case 5692:case 5696:case 5697:case 5698:case 5702:case 5703:case 5704:case 5708:case 5709:case 5710:case 5714:case 5715:case 5716:case 5720:case 5721:case 5722:case 5726:case 5727:case 5728:case 5732:case 5733:case 5734:case 5738:case 5739:case 5740:case 5744:case 5745:case 5746:case 5750:case 5751:case 5752:case 5756:case 5757:case 5758:case 5762:case 5763:case 5764:case 5768:case 5769:case 5770:case 5774:case 5775:case 5776:case 5780:case 5781:case 5782:case 5786:case 5787:case 5788:case 5792:case 5793:case 5794:case 5798:case 5799:case 5800:case 5804:case 5805:case 5806:case 5810:case 5811:case 5812:case 5816:case 5817:case 5818:case 5822:case 5823:case 5824:case 5828:case 5829:case 5830:case 5834:case 5835:case 5836:case 5840:case 5841:case 5842:case 5846:case 5847:case 5848:case 5852:case 5853:case 5854:case 5858:case 5859:case 5860:case 5864:case 5865:case 5866:case 5870:case 5871:case 5872:case 5876:case 5877:case 5878:case 5882:case 5883:case 5884:case 5888:case 5889:case 5890:case 5894:case 5895:case 5896:case 5900:case 5901:case 5902:case 5906:case 5907:case 5908:case 5912:case 5913:case 5914:case 5918:case 5919:case 5920:case 5924:case 5925:case 5926:case 5930:case 5931:case 5932:case 5936:case 5937:case 5938:case 5942:case 5943:case 5944:case 5948:case 5949:case 5950:case 5954:case 5955:case 5956:case 5960:case 5961:case 5962:case 5966:case 5967:case 5968:case 5972:case 5973:case 5974:case 5978:case 5979:case 5980: return Type::CobblestoneWall;
- case 1341: return Type::Cobweb;
- case 5158:case 5159:case 5160:case 5161:case 5162:case 5163:case 5164:case 5165:case 5166:case 5167:case 5168:case 5169: return Type::Cocoa;
- case 5644:case 5645:case 5646:case 5647:case 5648:case 5649:case 5650:case 5651:case 5652:case 5653:case 5654:case 5655: return Type::CommandBlock;
- case 6678:case 6679:case 6680:case 6681:case 6682:case 6683:case 6684:case 6685:case 6686:case 6687:case 6688:case 6689:case 6690:case 6691:case 6692:case 6693: return Type::Comparator;
- case 15751:case 15752:case 15753:case 15754:case 15755:case 15756:case 15757:case 15758:case 15759: return Type::Composter;
- case 9650: return Type::Conduit;
- case 1422: return Type::Cornflower;
- case 17102: return Type::CrackedNetherBricks;
- case 16252: return Type::CrackedPolishedBlackstoneBricks;
- case 4497: return Type::CrackedStoneBricks;
- case 3356: return Type::CraftingTable;
- case 6570:case 6571:case 6572:case 6573:case 6574:case 6575:case 6576:case 6577:case 6578:case 6579:case 6580:case 6581:case 6582:case 6583:case 6584:case 6585: return Type::CreeperHead;
- case 6586:case 6587:case 6588:case 6589: return Type::CreeperWallHead;
- case 15479:case 15480:case 15481:case 15482:case 15483:case 15484:case 15485:case 15486:case 15487:case 15488:case 15489:case 15490:case 15491:case 15492:case 15493:case 15494:case 15495:case 15496:case 15497:case 15498:case 15499:case 15500:case 15501:case 15502: return Type::CrimsonButton;
- case 15527:case 15528:case 15529:case 15530:case 15531:case 15532:case 15533:case 15534:case 15535:case 15536:case 15537:case 15538:case 15539:case 15540:case 15541:case 15542:case 15543:case 15544:case 15545:case 15546:case 15547:case 15548:case 15549:case 15550:case 15551:case 15552:case 15553:case 15554:case 15555:case 15556:case 15557:case 15558:case 15559:case 15560:case 15561:case 15562:case 15563:case 15564:case 15565:case 15566:case 15567:case 15568:case 15569:case 15570:case 15571:case 15572:case 15573:case 15574:case 15575:case 15576:case 15577:case 15578:case 15579:case 15580:case 15581:case 15582:case 15583:case 15584:case 15585:case 15586:case 15587:case 15588:case 15589:case 15590: return Type::CrimsonDoor;
- case 15065:case 15066:case 15069:case 15070:case 15073:case 15074:case 15077:case 15078:case 15081:case 15082:case 15085:case 15086:case 15089:case 15090:case 15093:case 15094: return Type::CrimsonFence;
- case 15255:case 15256:case 15257:case 15258:case 15259:case 15260:case 15261:case 15262:case 15263:case 15264:case 15265:case 15266:case 15267:case 15268:case 15269:case 15270:case 15271:case 15272:case 15273:case 15274:case 15275:case 15276:case 15277:case 15278:case 15279:case 15280:case 15281:case 15282:case 15283:case 15284:case 15285:case 15286: return Type::CrimsonFenceGate;
- case 14988: return Type::CrimsonFungus;
- case 14981:case 14982:case 14983: return Type::CrimsonHyphae;
- case 14987: return Type::CrimsonNylium;
- case 15045: return Type::CrimsonPlanks;
- case 15059:case 15060: return Type::CrimsonPressurePlate;
- case 15044: return Type::CrimsonRoots;
- case 15656:case 15658:case 15660:case 15662:case 15664:case 15666:case 15668:case 15670:case 15672:case 15674:case 15676:case 15678:case 15680:case 15682:case 15684:case 15686: return Type::CrimsonSign;
- case 15048:case 15050:case 15052: return Type::CrimsonSlab;
- case 15320:case 15322:case 15324:case 15326:case 15328:case 15330:case 15332:case 15334:case 15336:case 15338:case 15340:case 15342:case 15344:case 15346:case 15348:case 15350:case 15352:case 15354:case 15356:case 15358:case 15360:case 15362:case 15364:case 15366:case 15368:case 15370:case 15372:case 15374:case 15376:case 15378:case 15380:case 15382:case 15384:case 15386:case 15388:case 15390:case 15392:case 15394:case 15396:case 15398: return Type::CrimsonStairs;
- case 14975:case 14976:case 14977: return Type::CrimsonStem;
- case 15128:case 15130:case 15132:case 15134:case 15136:case 15138:case 15140:case 15142:case 15144:case 15146:case 15148:case 15150:case 15152:case 15154:case 15156:case 15158:case 15160:case 15162:case 15164:case 15166:case 15168:case 15170:case 15172:case 15174:case 15176:case 15178:case 15180:case 15182:case 15184:case 15186:case 15188:case 15190: return Type::CrimsonTrapdoor;
- case 15720:case 15722:case 15724:case 15726: return Type::CrimsonWallSign;
- case 15828: return Type::CryingObsidian;
- case 8219: return Type::CutRedSandstone;
- case 8403:case 8405:case 8407: return Type::CutRedSandstoneSlab;
- case 248: return Type::CutSandstone;
- case 8355:case 8357:case 8359: return Type::CutSandstoneSlab;
- case 8041:case 8042:case 8043:case 8044:case 8045:case 8046:case 8047:case 8048:case 8049:case 8050:case 8051:case 8052:case 8053:case 8054:case 8055:case 8056: return Type::CyanBanner;
- case 1193:case 1194:case 1195:case 1196:case 1197:case 1198:case 1199:case 1200:case 1201:case 1202:case 1203:case 1204:case 1205:case 1206:case 1207:case 1208: return Type::CyanBed;
- case 7875: return Type::CyanCarpet;
- case 9447: return Type::CyanConcrete;
- case 9463: return Type::CyanConcretePowder;
- case 9410:case 9411:case 9412:case 9413: return Type::CyanGlazedTerracotta;
- case 9332:case 9333:case 9334:case 9335:case 9336:case 9337: return Type::CyanShulkerBox;
- case 4104: return Type::CyanStainedGlass;
- case 7153:case 7154:case 7157:case 7158:case 7161:case 7162:case 7165:case 7166:case 7169:case 7170:case 7173:case 7174:case 7177:case 7178:case 7181:case 7182: return Type::CyanStainedGlassPane;
- case 6856: return Type::CyanTerracotta;
- case 8189:case 8190:case 8191:case 8192: return Type::CyanWallBanner;
- case 1393: return Type::CyanWool;
- case 6618:case 6619:case 6620:case 6621: return Type::DamagedAnvil;
- case 1412: return Type::Dandelion;
- case 6466:case 6467:case 6468:case 6469:case 6470:case 6471:case 6472:case 6473:case 6474:case 6475:case 6476:case 6477:case 6478:case 6479:case 6480:case 6481:case 6482:case 6483:case 6484:case 6485:case 6486:case 6487:case 6488:case 6489: return Type::DarkOakButton;
- case 8994:case 8995:case 8996:case 8997:case 8998:case 8999:case 9000:case 9001:case 9002:case 9003:case 9004:case 9005:case 9006:case 9007:case 9008:case 9009:case 9010:case 9011:case 9012:case 9013:case 9014:case 9015:case 9016:case 9017:case 9018:case 9019:case 9020:case 9021:case 9022:case 9023:case 9024:case 9025:case 9026:case 9027:case 9028:case 9029:case 9030:case 9031:case 9032:case 9033:case 9034:case 9035:case 9036:case 9037:case 9038:case 9039:case 9040:case 9041:case 9042:case 9043:case 9044:case 9045:case 9046:case 9047:case 9048:case 9049:case 9050:case 9051:case 9052:case 9053:case 9054:case 9055:case 9056:case 9057: return Type::DarkOakDoor;
- case 8708:case 8709:case 8712:case 8713:case 8716:case 8717:case 8720:case 8721:case 8724:case 8725:case 8728:case 8729:case 8732:case 8733:case 8736:case 8737: return Type::DarkOakFence;
- case 8546:case 8547:case 8548:case 8549:case 8550:case 8551:case 8552:case 8553:case 8554:case 8555:case 8556:case 8557:case 8558:case 8559:case 8560:case 8561:case 8562:case 8563:case 8564:case 8565:case 8566:case 8567:case 8568:case 8569:case 8570:case 8571:case 8572:case 8573:case 8574:case 8575:case 8576:case 8577: return Type::DarkOakFenceGate;
- case 215:case 216:case 217:case 218:case 219:case 220:case 221:case 222:case 223:case 224:case 225:case 226:case 227:case 228: return Type::DarkOakLeaves;
- case 88:case 89:case 90: return Type::DarkOakLog;
- case 20: return Type::DarkOakPlanks;
- case 3883:case 3884: return Type::DarkOakPressurePlate;
- case 31:case 32: return Type::DarkOakSapling;
- case 3542:case 3544:case 3546:case 3548:case 3550:case 3552:case 3554:case 3556:case 3558:case 3560:case 3562:case 3564:case 3566:case 3568:case 3570:case 3572: return Type::DarkOakSign;
- case 8331:case 8333:case 8335: return Type::DarkOakSlab;
- case 7456:case 7458:case 7460:case 7462:case 7464:case 7466:case 7468:case 7470:case 7472:case 7474:case 7476:case 7478:case 7480:case 7482:case 7484:case 7486:case 7488:case 7490:case 7492:case 7494:case 7496:case 7498:case 7500:case 7502:case 7504:case 7506:case 7508:case 7510:case 7512:case 7514:case 7516:case 7518:case 7520:case 7522:case 7524:case 7526:case 7528:case 7530:case 7532:case 7534: return Type::DarkOakStairs;
- case 4432:case 4434:case 4436:case 4438:case 4440:case 4442:case 4444:case 4446:case 4448:case 4450:case 4452:case 4454:case 4456:case 4458:case 4460:case 4462:case 4464:case 4466:case 4468:case 4470:case 4472:case 4474:case 4476:case 4478:case 4480:case 4482:case 4484:case 4486:case 4488:case 4490:case 4492:case 4494: return Type::DarkOakTrapdoor;
- case 3776:case 3778:case 3780:case 3782: return Type::DarkOakWallSign;
- case 124:case 125:case 126: return Type::DarkOakWood;
- case 7603: return Type::DarkPrismarine;
- case 7857:case 7859:case 7861: return Type::DarkPrismarineSlab;
- case 7765:case 7767:case 7769:case 7771:case 7773:case 7775:case 7777:case 7779:case 7781:case 7783:case 7785:case 7787:case 7789:case 7791:case 7793:case 7795:case 7797:case 7799:case 7801:case 7803:case 7805:case 7807:case 7809:case 7811:case 7813:case 7815:case 7817:case 7819:case 7821:case 7823:case 7825:case 7827:case 7829:case 7831:case 7833:case 7835:case 7837:case 7839:case 7841:case 7843: return Type::DarkPrismarineStairs;
- case 6694:case 6695:case 6696:case 6697:case 6698:case 6699:case 6700:case 6701:case 6702:case 6703:case 6704:case 6705:case 6706:case 6707:case 6708:case 6709:case 6710:case 6711:case 6712:case 6713:case 6714:case 6715:case 6716:case 6717:case 6718:case 6719:case 6720:case 6721:case 6722:case 6723:case 6724:case 6725: return Type::DaylightDetector;
- case 9523: return Type::DeadBrainCoral;
- case 9511: return Type::DeadBrainCoralBlock;
- case 9543: return Type::DeadBrainCoralFan;
- case 9569:case 9571:case 9573:case 9575: return Type::DeadBrainCoralWallFan;
- case 9525: return Type::DeadBubbleCoral;
- case 9512: return Type::DeadBubbleCoralBlock;
- case 9545: return Type::DeadBubbleCoralFan;
- case 9577:case 9579:case 9581:case 9583: return Type::DeadBubbleCoralWallFan;
- case 1344: return Type::DeadBush;
- case 9527: return Type::DeadFireCoral;
- case 9513: return Type::DeadFireCoralBlock;
- case 9547: return Type::DeadFireCoralFan;
- case 9585:case 9587:case 9589:case 9591: return Type::DeadFireCoralWallFan;
- case 9529: return Type::DeadHornCoral;
- case 9514: return Type::DeadHornCoralBlock;
- case 9549: return Type::DeadHornCoralFan;
- case 9593:case 9595:case 9597:case 9599: return Type::DeadHornCoralWallFan;
- case 9521: return Type::DeadTubeCoral;
- case 9510: return Type::DeadTubeCoralBlock;
- case 9541: return Type::DeadTubeCoralFan;
- case 9561:case 9563:case 9565:case 9567: return Type::DeadTubeCoralWallFan;
- case 1317:case 1318:case 1319:case 1320:case 1321:case 1322:case 1323:case 1324:case 1325:case 1326:case 1327:case 1328: return Type::DetectorRail;
- case 3355: return Type::DiamondBlock;
- case 3354: return Type::DiamondOre;
- case 4: return Type::Diorite;
- case 10862:case 10864:case 10866: return Type::DioriteSlab;
- case 10710:case 10712:case 10714:case 10716:case 10718:case 10720:case 10722:case 10724:case 10726:case 10728:case 10730:case 10732:case 10734:case 10736:case 10738:case 10740:case 10742:case 10744:case 10746:case 10748:case 10750:case 10752:case 10754:case 10756:case 10758:case 10760:case 10762:case 10764:case 10766:case 10768:case 10770:case 10772:case 10774:case 10776:case 10778:case 10780:case 10782:case 10784:case 10786:case 10788: return Type::DioriteStairs;
- case 14434:case 14435:case 14436:case 14440:case 14441:case 14442:case 14446:case 14447:case 14448:case 14452:case 14453:case 14454:case 14458:case 14459:case 14460:case 14464:case 14465:case 14466:case 14470:case 14471:case 14472:case 14476:case 14477:case 14478:case 14482:case 14483:case 14484:case 14488:case 14489:case 14490:case 14494:case 14495:case 14496:case 14500:case 14501:case 14502:case 14506:case 14507:case 14508:case 14512:case 14513:case 14514:case 14518:case 14519:case 14520:case 14524:case 14525:case 14526:case 14530:case 14531:case 14532:case 14536:case 14537:case 14538:case 14542:case 14543:case 14544:case 14548:case 14549:case 14550:case 14554:case 14555:case 14556:case 14560:case 14561:case 14562:case 14566:case 14567:case 14568:case 14572:case 14573:case 14574:case 14578:case 14579:case 14580:case 14584:case 14585:case 14586:case 14590:case 14591:case 14592:case 14596:case 14597:case 14598:case 14602:case 14603:case 14604:case 14608:case 14609:case 14610:case 14614:case 14615:case 14616:case 14620:case 14621:case 14622:case 14626:case 14627:case 14628:case 14632:case 14633:case 14634:case 14638:case 14639:case 14640:case 14644:case 14645:case 14646:case 14650:case 14651:case 14652:case 14656:case 14657:case 14658:case 14662:case 14663:case 14664:case 14668:case 14669:case 14670:case 14674:case 14675:case 14676:case 14680:case 14681:case 14682:case 14686:case 14687:case 14688:case 14692:case 14693:case 14694:case 14698:case 14699:case 14700:case 14704:case 14705:case 14706:case 14710:case 14711:case 14712:case 14716:case 14717:case 14718:case 14722:case 14723:case 14724:case 14728:case 14729:case 14730:case 14734:case 14735:case 14736:case 14740:case 14741:case 14742:case 14746:case 14747:case 14748:case 14752:case 14753:case 14754: return Type::DioriteWall;
- case 10: return Type::Dirt;
- case 234:case 235:case 236:case 237:case 238:case 239:case 240:case 241:case 242:case 243:case 244:case 245: return Type::Dispenser;
- case 5155: return Type::DragonEgg;
- case 6590:case 6591:case 6592:case 6593:case 6594:case 6595:case 6596:case 6597:case 6598:case 6599:case 6600:case 6601:case 6602:case 6603:case 6604:case 6605: return Type::DragonHead;
- case 6606:case 6607:case 6608:case 6609: return Type::DragonWallHead;
- case 9497: return Type::DriedKelpBlock;
- case 6835:case 6836:case 6837:case 6838:case 6839:case 6840:case 6841:case 6842:case 6843:case 6844:case 6845:case 6846: return Type::Dropper;
- case 5403: return Type::EmeraldBlock;
- case 5250: return Type::EmeraldOre;
- case 5132: return Type::EnchantingTable;
- case 9224: return Type::EndGateway;
- case 5145: return Type::EndPortal;
- case 5146:case 5147:case 5148:case 5149:case 5150:case 5151:case 5152:case 5153: return Type::EndPortalFrame;
- case 9058:case 9059:case 9060:case 9061:case 9062:case 9063: return Type::EndRod;
- case 5154: return Type::EndStone;
- case 10820:case 10822:case 10824: return Type::EndStoneBrickSlab;
- case 10070:case 10072:case 10074:case 10076:case 10078:case 10080:case 10082:case 10084:case 10086:case 10088:case 10090:case 10092:case 10094:case 10096:case 10098:case 10100:case 10102:case 10104:case 10106:case 10108:case 10110:case 10112:case 10114:case 10116:case 10118:case 10120:case 10122:case 10124:case 10126:case 10128:case 10130:case 10132:case 10134:case 10136:case 10138:case 10140:case 10142:case 10144:case 10146:case 10148: return Type::EndStoneBrickStairs;
- case 14110:case 14111:case 14112:case 14116:case 14117:case 14118:case 14122:case 14123:case 14124:case 14128:case 14129:case 14130:case 14134:case 14135:case 14136:case 14140:case 14141:case 14142:case 14146:case 14147:case 14148:case 14152:case 14153:case 14154:case 14158:case 14159:case 14160:case 14164:case 14165:case 14166:case 14170:case 14171:case 14172:case 14176:case 14177:case 14178:case 14182:case 14183:case 14184:case 14188:case 14189:case 14190:case 14194:case 14195:case 14196:case 14200:case 14201:case 14202:case 14206:case 14207:case 14208:case 14212:case 14213:case 14214:case 14218:case 14219:case 14220:case 14224:case 14225:case 14226:case 14230:case 14231:case 14232:case 14236:case 14237:case 14238:case 14242:case 14243:case 14244:case 14248:case 14249:case 14250:case 14254:case 14255:case 14256:case 14260:case 14261:case 14262:case 14266:case 14267:case 14268:case 14272:case 14273:case 14274:case 14278:case 14279:case 14280:case 14284:case 14285:case 14286:case 14290:case 14291:case 14292:case 14296:case 14297:case 14298:case 14302:case 14303:case 14304:case 14308:case 14309:case 14310:case 14314:case 14315:case 14316:case 14320:case 14321:case 14322:case 14326:case 14327:case 14328:case 14332:case 14333:case 14334:case 14338:case 14339:case 14340:case 14344:case 14345:case 14346:case 14350:case 14351:case 14352:case 14356:case 14357:case 14358:case 14362:case 14363:case 14364:case 14368:case 14369:case 14370:case 14374:case 14375:case 14376:case 14380:case 14381:case 14382:case 14386:case 14387:case 14388:case 14392:case 14393:case 14394:case 14398:case 14399:case 14400:case 14404:case 14405:case 14406:case 14410:case 14411:case 14412:case 14416:case 14417:case 14418:case 14422:case 14423:case 14424:case 14428:case 14429:case 14430: return Type::EndStoneBrickWall;
- case 9218: return Type::EndStoneBricks;
- case 5252:case 5254:case 5256:case 5258: return Type::EnderChest;
- case 3365:case 3366:case 3367:case 3368:case 3369:case 3370:case 3371:case 3372: return Type::Farmland;
- case 1343: return Type::Fern;
- case 1440:case 1441:case 1442:case 1443:case 1444:case 1445:case 1446:case 1447:case 1448:case 1449:case 1450:case 1451:case 1452:case 1453:case 1454:case 1455:case 1456:case 1457:case 1458:case 1459:case 1460:case 1461:case 1462:case 1463:case 1464:case 1465:case 1466:case 1467:case 1468:case 1469:case 1470:case 1471:case 1472:case 1473:case 1474:case 1475:case 1476:case 1477:case 1478:case 1479:case 1480:case 1481:case 1482:case 1483:case 1484:case 1485:case 1486:case 1487:case 1488:case 1489:case 1490:case 1491:case 1492:case 1493:case 1494:case 1495:case 1496:case 1497:case 1498:case 1499:case 1500:case 1501:case 1502:case 1503:case 1504:case 1505:case 1506:case 1507:case 1508:case 1509:case 1510:case 1511:case 1512:case 1513:case 1514:case 1515:case 1516:case 1517:case 1518:case 1519:case 1520:case 1521:case 1522:case 1523:case 1524:case 1525:case 1526:case 1527:case 1528:case 1529:case 1530:case 1531:case 1532:case 1533:case 1534:case 1535:case 1536:case 1537:case 1538:case 1539:case 1540:case 1541:case 1542:case 1543:case 1544:case 1545:case 1546:case 1547:case 1548:case 1549:case 1550:case 1551:case 1552:case 1553:case 1554:case 1555:case 1556:case 1557:case 1558:case 1559:case 1560:case 1561:case 1562:case 1563:case 1564:case 1565:case 1566:case 1567:case 1568:case 1569:case 1570:case 1571:case 1572:case 1573:case 1574:case 1575:case 1576:case 1577:case 1578:case 1579:case 1580:case 1581:case 1582:case 1583:case 1584:case 1585:case 1586:case 1587:case 1588:case 1589:case 1590:case 1591:case 1592:case 1593:case 1594:case 1595:case 1596:case 1597:case 1598:case 1599:case 1600:case 1601:case 1602:case 1603:case 1604:case 1605:case 1606:case 1607:case 1608:case 1609:case 1610:case 1611:case 1612:case 1613:case 1614:case 1615:case 1616:case 1617:case 1618:case 1619:case 1620:case 1621:case 1622:case 1623:case 1624:case 1625:case 1626:case 1627:case 1628:case 1629:case 1630:case 1631:case 1632:case 1633:case 1634:case 1635:case 1636:case 1637:case 1638:case 1639:case 1640:case 1641:case 1642:case 1643:case 1644:case 1645:case 1646:case 1647:case 1648:case 1649:case 1650:case 1651:case 1652:case 1653:case 1654:case 1655:case 1656:case 1657:case 1658:case 1659:case 1660:case 1661:case 1662:case 1663:case 1664:case 1665:case 1666:case 1667:case 1668:case 1669:case 1670:case 1671:case 1672:case 1673:case 1674:case 1675:case 1676:case 1677:case 1678:case 1679:case 1680:case 1681:case 1682:case 1683:case 1684:case 1685:case 1686:case 1687:case 1688:case 1689:case 1690:case 1691:case 1692:case 1693:case 1694:case 1695:case 1696:case 1697:case 1698:case 1699:case 1700:case 1701:case 1702:case 1703:case 1704:case 1705:case 1706:case 1707:case 1708:case 1709:case 1710:case 1711:case 1712:case 1713:case 1714:case 1715:case 1716:case 1717:case 1718:case 1719:case 1720:case 1721:case 1722:case 1723:case 1724:case 1725:case 1726:case 1727:case 1728:case 1729:case 1730:case 1731:case 1732:case 1733:case 1734:case 1735:case 1736:case 1737:case 1738:case 1739:case 1740:case 1741:case 1742:case 1743:case 1744:case 1745:case 1746:case 1747:case 1748:case 1749:case 1750:case 1751:case 1752:case 1753:case 1754:case 1755:case 1756:case 1757:case 1758:case 1759:case 1760:case 1761:case 1762:case 1763:case 1764:case 1765:case 1766:case 1767:case 1768:case 1769:case 1770:case 1771:case 1772:case 1773:case 1774:case 1775:case 1776:case 1777:case 1778:case 1779:case 1780:case 1781:case 1782:case 1783:case 1784:case 1785:case 1786:case 1787:case 1788:case 1789:case 1790:case 1791:case 1792:case 1793:case 1794:case 1795:case 1796:case 1797:case 1798:case 1799:case 1800:case 1801:case 1802:case 1803:case 1804:case 1805:case 1806:case 1807:case 1808:case 1809:case 1810:case 1811:case 1812:case 1813:case 1814:case 1815:case 1816:case 1817:case 1818:case 1819:case 1820:case 1821:case 1822:case 1823:case 1824:case 1825:case 1826:case 1827:case 1828:case 1829:case 1830:case 1831:case 1832:case 1833:case 1834:case 1835:case 1836:case 1837:case 1838:case 1839:case 1840:case 1841:case 1842:case 1843:case 1844:case 1845:case 1846:case 1847:case 1848:case 1849:case 1850:case 1851:case 1852:case 1853:case 1854:case 1855:case 1856:case 1857:case 1858:case 1859:case 1860:case 1861:case 1862:case 1863:case 1864:case 1865:case 1866:case 1867:case 1868:case 1869:case 1870:case 1871:case 1872:case 1873:case 1874:case 1875:case 1876:case 1877:case 1878:case 1879:case 1880:case 1881:case 1882:case 1883:case 1884:case 1885:case 1886:case 1887:case 1888:case 1889:case 1890:case 1891:case 1892:case 1893:case 1894:case 1895:case 1896:case 1897:case 1898:case 1899:case 1900:case 1901:case 1902:case 1903:case 1904:case 1905:case 1906:case 1907:case 1908:case 1909:case 1910:case 1911:case 1912:case 1913:case 1914:case 1915:case 1916:case 1917:case 1918:case 1919:case 1920:case 1921:case 1922:case 1923:case 1924:case 1925:case 1926:case 1927:case 1928:case 1929:case 1930:case 1931:case 1932:case 1933:case 1934:case 1935:case 1936:case 1937:case 1938:case 1939:case 1940:case 1941:case 1942:case 1943:case 1944:case 1945:case 1946:case 1947:case 1948:case 1949:case 1950:case 1951: return Type::Fire;
- case 9537: return Type::FireCoral;
- case 9518: return Type::FireCoralBlock;
- case 9557: return Type::FireCoralFan;
- case 9625:case 9627:case 9629:case 9631: return Type::FireCoralWallFan;
- case 14820: return Type::FletchingTable;
- case 6305: return Type::FlowerPot;
- case 9249:case 9250:case 9251:case 9252: return Type::FrostedIce;
- case 3373:case 3374:case 3375:case 3376:case 3377:case 3378:case 3379:case 3380: return Type::Furnace;
- case 16664: return Type::GildedBlackstone;
- case 231: return Type::Glass;
- case 4733:case 4734:case 4737:case 4738:case 4741:case 4742:case 4745:case 4746:case 4749:case 4750:case 4753:case 4754:case 4757:case 4758:case 4761:case 4762: return Type::GlassPane;
- case 4013: return Type::Glowstone;
- case 1427: return Type::GoldBlock;
- case 69: return Type::GoldOre;
- case 2: return Type::Granite;
- case 10838:case 10840:case 10842: return Type::GraniteSlab;
- case 10390:case 10392:case 10394:case 10396:case 10398:case 10400:case 10402:case 10404:case 10406:case 10408:case 10410:case 10412:case 10414:case 10416:case 10418:case 10420:case 10422:case 10424:case 10426:case 10428:case 10430:case 10432:case 10434:case 10436:case 10438:case 10440:case 10442:case 10444:case 10446:case 10448:case 10450:case 10452:case 10454:case 10456:case 10458:case 10460:case 10462:case 10464:case 10466:case 10468: return Type::GraniteStairs;
- case 12166:case 12167:case 12168:case 12172:case 12173:case 12174:case 12178:case 12179:case 12180:case 12184:case 12185:case 12186:case 12190:case 12191:case 12192:case 12196:case 12197:case 12198:case 12202:case 12203:case 12204:case 12208:case 12209:case 12210:case 12214:case 12215:case 12216:case 12220:case 12221:case 12222:case 12226:case 12227:case 12228:case 12232:case 12233:case 12234:case 12238:case 12239:case 12240:case 12244:case 12245:case 12246:case 12250:case 12251:case 12252:case 12256:case 12257:case 12258:case 12262:case 12263:case 12264:case 12268:case 12269:case 12270:case 12274:case 12275:case 12276:case 12280:case 12281:case 12282:case 12286:case 12287:case 12288:case 12292:case 12293:case 12294:case 12298:case 12299:case 12300:case 12304:case 12305:case 12306:case 12310:case 12311:case 12312:case 12316:case 12317:case 12318:case 12322:case 12323:case 12324:case 12328:case 12329:case 12330:case 12334:case 12335:case 12336:case 12340:case 12341:case 12342:case 12346:case 12347:case 12348:case 12352:case 12353:case 12354:case 12358:case 12359:case 12360:case 12364:case 12365:case 12366:case 12370:case 12371:case 12372:case 12376:case 12377:case 12378:case 12382:case 12383:case 12384:case 12388:case 12389:case 12390:case 12394:case 12395:case 12396:case 12400:case 12401:case 12402:case 12406:case 12407:case 12408:case 12412:case 12413:case 12414:case 12418:case 12419:case 12420:case 12424:case 12425:case 12426:case 12430:case 12431:case 12432:case 12436:case 12437:case 12438:case 12442:case 12443:case 12444:case 12448:case 12449:case 12450:case 12454:case 12455:case 12456:case 12460:case 12461:case 12462:case 12466:case 12467:case 12468:case 12472:case 12473:case 12474:case 12478:case 12479:case 12480:case 12484:case 12485:case 12486: return Type::GraniteWall;
- case 1342: return Type::Grass;
- case 8:case 9: return Type::GrassBlock;
- case 9223: return Type::GrassPath;
- case 68: return Type::Gravel;
- case 8009:case 8010:case 8011:case 8012:case 8013:case 8014:case 8015:case 8016:case 8017:case 8018:case 8019:case 8020:case 8021:case 8022:case 8023:case 8024: return Type::GrayBanner;
- case 1161:case 1162:case 1163:case 1164:case 1165:case 1166:case 1167:case 1168:case 1169:case 1170:case 1171:case 1172:case 1173:case 1174:case 1175:case 1176: return Type::GrayBed;
- case 7873: return Type::GrayCarpet;
- case 9445: return Type::GrayConcrete;
- case 9461: return Type::GrayConcretePowder;
- case 9402:case 9403:case 9404:case 9405: return Type::GrayGlazedTerracotta;
- case 9320:case 9321:case 9322:case 9323:case 9324:case 9325: return Type::GrayShulkerBox;
- case 4102: return Type::GrayStainedGlass;
- case 7089:case 7090:case 7093:case 7094:case 7097:case 7098:case 7101:case 7102:case 7105:case 7106:case 7109:case 7110:case 7113:case 7114:case 7117:case 7118: return Type::GrayStainedGlassPane;
- case 6854: return Type::GrayTerracotta;
- case 8181:case 8182:case 8183:case 8184: return Type::GrayWallBanner;
- case 1391: return Type::GrayWool;
- case 8105:case 8106:case 8107:case 8108:case 8109:case 8110:case 8111:case 8112:case 8113:case 8114:case 8115:case 8116:case 8117:case 8118:case 8119:case 8120: return Type::GreenBanner;
- case 1257:case 1258:case 1259:case 1260:case 1261:case 1262:case 1263:case 1264:case 1265:case 1266:case 1267:case 1268:case 1269:case 1270:case 1271:case 1272: return Type::GreenBed;
- case 7879: return Type::GreenCarpet;
- case 9451: return Type::GreenConcrete;
- case 9467: return Type::GreenConcretePowder;
- case 9426:case 9427:case 9428:case 9429: return Type::GreenGlazedTerracotta;
- case 9356:case 9357:case 9358:case 9359:case 9360:case 9361: return Type::GreenShulkerBox;
- case 4108: return Type::GreenStainedGlass;
- case 7281:case 7282:case 7285:case 7286:case 7289:case 7290:case 7293:case 7294:case 7297:case 7298:case 7301:case 7302:case 7305:case 7306:case 7309:case 7310: return Type::GreenStainedGlassPane;
- case 6860: return Type::GreenTerracotta;
- case 8205:case 8206:case 8207:case 8208: return Type::GreenWallBanner;
- case 1397: return Type::GreenWool;
- case 14821:case 14822:case 14823:case 14824:case 14825:case 14826:case 14827:case 14828:case 14829:case 14830:case 14831:case 14832: return Type::Grindstone;
- case 7863:case 7864:case 7865: return Type::HayBale;
- case 6662:case 6663:case 6664:case 6665:case 6666:case 6667:case 6668:case 6669:case 6670:case 6671:case 6672:case 6673:case 6674:case 6675:case 6676:case 6677: return Type::HeavyWeightedPressurePlate;
- case 15824: return Type::HoneyBlock;
- case 15825: return Type::HoneycombBlock;
- case 6728:case 6729:case 6730:case 6731:case 6732:case 6733:case 6734:case 6735:case 6736:case 6737: return Type::Hopper;
- case 9539: return Type::HornCoral;
- case 9519: return Type::HornCoralBlock;
- case 9559: return Type::HornCoralFan;
- case 9633:case 9635:case 9637:case 9639: return Type::HornCoralWallFan;
- case 3929: return Type::Ice;
- case 4504: return Type::InfestedChiseledStoneBricks;
- case 4500: return Type::InfestedCobblestone;
- case 4503: return Type::InfestedCrackedStoneBricks;
- case 4502: return Type::InfestedMossyStoneBricks;
- case 4499: return Type::InfestedStone;
- case 4501: return Type::InfestedStoneBricks;
- case 4699:case 4700:case 4703:case 4704:case 4707:case 4708:case 4711:case 4712:case 4715:case 4716:case 4719:case 4720:case 4723:case 4724:case 4727:case 4728: return Type::IronBars;
- case 1428: return Type::IronBlock;
- case 3809:case 3810:case 3811:case 3812:case 3813:case 3814:case 3815:case 3816:case 3817:case 3818:case 3819:case 3820:case 3821:case 3822:case 3823:case 3824:case 3825:case 3826:case 3827:case 3828:case 3829:case 3830:case 3831:case 3832:case 3833:case 3834:case 3835:case 3836:case 3837:case 3838:case 3839:case 3840:case 3841:case 3842:case 3843:case 3844:case 3845:case 3846:case 3847:case 3848:case 3849:case 3850:case 3851:case 3852:case 3853:case 3854:case 3855:case 3856:case 3857:case 3858:case 3859:case 3860:case 3861:case 3862:case 3863:case 3864:case 3865:case 3866:case 3867:case 3868:case 3869:case 3870:case 3871:case 3872: return Type::IronDoor;
- case 70: return Type::IronOre;
- case 7538:case 7540:case 7542:case 7544:case 7546:case 7548:case 7550:case 7552:case 7554:case 7556:case 7558:case 7560:case 7562:case 7564:case 7566:case 7568:case 7570:case 7572:case 7574:case 7576:case 7578:case 7580:case 7582:case 7584:case 7586:case 7588:case 7590:case 7592:case 7594:case 7596:case 7598:case 7600: return Type::IronTrapdoor;
- case 4020:case 4021:case 4022:case 4023: return Type::JackOLantern;
- case 15739:case 15740:case 15741:case 15742:case 15743:case 15744:case 15745:case 15746:case 15747:case 15748:case 15749:case 15750: return Type::Jigsaw;
- case 3964:case 3965: return Type::Jukebox;
- case 6418:case 6419:case 6420:case 6421:case 6422:case 6423:case 6424:case 6425:case 6426:case 6427:case 6428:case 6429:case 6430:case 6431:case 6432:case 6433:case 6434:case 6435:case 6436:case 6437:case 6438:case 6439:case 6440:case 6441: return Type::JungleButton;
- case 8866:case 8867:case 8868:case 8869:case 8870:case 8871:case 8872:case 8873:case 8874:case 8875:case 8876:case 8877:case 8878:case 8879:case 8880:case 8881:case 8882:case 8883:case 8884:case 8885:case 8886:case 8887:case 8888:case 8889:case 8890:case 8891:case 8892:case 8893:case 8894:case 8895:case 8896:case 8897:case 8898:case 8899:case 8900:case 8901:case 8902:case 8903:case 8904:case 8905:case 8906:case 8907:case 8908:case 8909:case 8910:case 8911:case 8912:case 8913:case 8914:case 8915:case 8916:case 8917:case 8918:case 8919:case 8920:case 8921:case 8922:case 8923:case 8924:case 8925:case 8926:case 8927:case 8928:case 8929: return Type::JungleDoor;
- case 8644:case 8645:case 8648:case 8649:case 8652:case 8653:case 8656:case 8657:case 8660:case 8661:case 8664:case 8665:case 8668:case 8669:case 8672:case 8673: return Type::JungleFence;
- case 8482:case 8483:case 8484:case 8485:case 8486:case 8487:case 8488:case 8489:case 8490:case 8491:case 8492:case 8493:case 8494:case 8495:case 8496:case 8497:case 8498:case 8499:case 8500:case 8501:case 8502:case 8503:case 8504:case 8505:case 8506:case 8507:case 8508:case 8509:case 8510:case 8511:case 8512:case 8513: return Type::JungleFenceGate;
- case 187:case 188:case 189:case 190:case 191:case 192:case 193:case 194:case 195:case 196:case 197:case 198:case 199:case 200: return Type::JungleLeaves;
- case 82:case 83:case 84: return Type::JungleLog;
- case 18: return Type::JunglePlanks;
- case 3879:case 3880: return Type::JunglePressurePlate;
- case 27:case 28: return Type::JungleSapling;
- case 3510:case 3512:case 3514:case 3516:case 3518:case 3520:case 3522:case 3524:case 3526:case 3528:case 3530:case 3532:case 3534:case 3536:case 3538:case 3540: return Type::JungleSign;
- case 8319:case 8321:case 8323: return Type::JungleSlab;
- case 5565:case 5567:case 5569:case 5571:case 5573:case 5575:case 5577:case 5579:case 5581:case 5583:case 5585:case 5587:case 5589:case 5591:case 5593:case 5595:case 5597:case 5599:case 5601:case 5603:case 5605:case 5607:case 5609:case 5611:case 5613:case 5615:case 5617:case 5619:case 5621:case 5623:case 5625:case 5627:case 5629:case 5631:case 5633:case 5635:case 5637:case 5639:case 5641:case 5643: return Type::JungleStairs;
- case 4304:case 4306:case 4308:case 4310:case 4312:case 4314:case 4316:case 4318:case 4320:case 4322:case 4324:case 4326:case 4328:case 4330:case 4332:case 4334:case 4336:case 4338:case 4340:case 4342:case 4344:case 4346:case 4348:case 4350:case 4352:case 4354:case 4356:case 4358:case 4360:case 4362:case 4364:case 4366: return Type::JungleTrapdoor;
- case 3768:case 3770:case 3772:case 3774: return Type::JungleWallSign;
- case 118:case 119:case 120: return Type::JungleWood;
- case 9470:case 9471:case 9472:case 9473:case 9474:case 9475:case 9476:case 9477:case 9478:case 9479:case 9480:case 9481:case 9482:case 9483:case 9484:case 9485:case 9486:case 9487:case 9488:case 9489:case 9490:case 9491:case 9492:case 9493:case 9494:case 9495: return Type::Kelp;
- case 9496: return Type::KelpPlant;
- case 3638:case 3640:case 3642:case 3644: return Type::Ladder;
- case 14886:case 14887: return Type::Lantern;
- case 233: return Type::LapisBlock;
- case 232: return Type::LapisOre;
- case 7895:case 7896: return Type::LargeFern;
- case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:case 58:case 59:case 60:case 61:case 62:case 63:case 64:case 65: return Type::Lava;
- case 14833:case 14834:case 14835:case 14836:case 14837:case 14838:case 14839:case 14840:case 14841:case 14842:case 14843:case 14844:case 14845:case 14846:case 14847:case 14848: return Type::Lectern;
- case 3783:case 3784:case 3785:case 3786:case 3787:case 3788:case 3789:case 3790:case 3791:case 3792:case 3793:case 3794:case 3795:case 3796:case 3797:case 3798:case 3799:case 3800:case 3801:case 3802:case 3803:case 3804:case 3805:case 3806: return Type::Lever;
- case 7945:case 7946:case 7947:case 7948:case 7949:case 7950:case 7951:case 7952:case 7953:case 7954:case 7955:case 7956:case 7957:case 7958:case 7959:case 7960: return Type::LightBlueBanner;
- case 1097:case 1098:case 1099:case 1100:case 1101:case 1102:case 1103:case 1104:case 1105:case 1106:case 1107:case 1108:case 1109:case 1110:case 1111:case 1112: return Type::LightBlueBed;
- case 7869: return Type::LightBlueCarpet;
- case 9441: return Type::LightBlueConcrete;
- case 9457: return Type::LightBlueConcretePowder;
- case 9386:case 9387:case 9388:case 9389: return Type::LightBlueGlazedTerracotta;
- case 9296:case 9297:case 9298:case 9299:case 9300:case 9301: return Type::LightBlueShulkerBox;
- case 4098: return Type::LightBlueStainedGlass;
- case 6961:case 6962:case 6965:case 6966:case 6969:case 6970:case 6973:case 6974:case 6977:case 6978:case 6981:case 6982:case 6985:case 6986:case 6989:case 6990: return Type::LightBlueStainedGlassPane;
- case 6850: return Type::LightBlueTerracotta;
- case 8165:case 8166:case 8167:case 8168: return Type::LightBlueWallBanner;
- case 1387: return Type::LightBlueWool;
- case 8025:case 8026:case 8027:case 8028:case 8029:case 8030:case 8031:case 8032:case 8033:case 8034:case 8035:case 8036:case 8037:case 8038:case 8039:case 8040: return Type::LightGrayBanner;
- case 1177:case 1178:case 1179:case 1180:case 1181:case 1182:case 1183:case 1184:case 1185:case 1186:case 1187:case 1188:case 1189:case 1190:case 1191:case 1192: return Type::LightGrayBed;
- case 7874: return Type::LightGrayCarpet;
- case 9446: return Type::LightGrayConcrete;
- case 9462: return Type::LightGrayConcretePowder;
- case 9406:case 9407:case 9408:case 9409: return Type::LightGrayGlazedTerracotta;
- case 9326:case 9327:case 9328:case 9329:case 9330:case 9331: return Type::LightGrayShulkerBox;
- case 4103: return Type::LightGrayStainedGlass;
- case 7121:case 7122:case 7125:case 7126:case 7129:case 7130:case 7133:case 7134:case 7137:case 7138:case 7141:case 7142:case 7145:case 7146:case 7149:case 7150: return Type::LightGrayStainedGlassPane;
- case 6855: return Type::LightGrayTerracotta;
- case 8185:case 8186:case 8187:case 8188: return Type::LightGrayWallBanner;
- case 1392: return Type::LightGrayWool;
- case 6646:case 6647:case 6648:case 6649:case 6650:case 6651:case 6652:case 6653:case 6654:case 6655:case 6656:case 6657:case 6658:case 6659:case 6660:case 6661: return Type::LightWeightedPressurePlate;
- case 7887:case 7888: return Type::Lilac;
- case 1424: return Type::LilyOfTheValley;
- case 5014: return Type::LilyPad;
- case 7977:case 7978:case 7979:case 7980:case 7981:case 7982:case 7983:case 7984:case 7985:case 7986:case 7987:case 7988:case 7989:case 7990:case 7991:case 7992: return Type::LimeBanner;
- case 1129:case 1130:case 1131:case 1132:case 1133:case 1134:case 1135:case 1136:case 1137:case 1138:case 1139:case 1140:case 1141:case 1142:case 1143:case 1144: return Type::LimeBed;
- case 7871: return Type::LimeCarpet;
- case 9443: return Type::LimeConcrete;
- case 9459: return Type::LimeConcretePowder;
- case 9394:case 9395:case 9396:case 9397: return Type::LimeGlazedTerracotta;
- case 9308:case 9309:case 9310:case 9311:case 9312:case 9313: return Type::LimeShulkerBox;
- case 4100: return Type::LimeStainedGlass;
- case 7025:case 7026:case 7029:case 7030:case 7033:case 7034:case 7037:case 7038:case 7041:case 7042:case 7045:case 7046:case 7049:case 7050:case 7053:case 7054: return Type::LimeStainedGlassPane;
- case 6852: return Type::LimeTerracotta;
- case 8173:case 8174:case 8175:case 8176: return Type::LimeWallBanner;
- case 1389: return Type::LimeWool;
- case 15838: return Type::Lodestone;
- case 14787:case 14788:case 14789:case 14790: return Type::Loom;
- case 7929:case 7930:case 7931:case 7932:case 7933:case 7934:case 7935:case 7936:case 7937:case 7938:case 7939:case 7940:case 7941:case 7942:case 7943:case 7944: return Type::MagentaBanner;
- case 1081:case 1082:case 1083:case 1084:case 1085:case 1086:case 1087:case 1088:case 1089:case 1090:case 1091:case 1092:case 1093:case 1094:case 1095:case 1096: return Type::MagentaBed;
- case 7868: return Type::MagentaCarpet;
- case 9440: return Type::MagentaConcrete;
- case 9456: return Type::MagentaConcretePowder;
- case 9382:case 9383:case 9384:case 9385: return Type::MagentaGlazedTerracotta;
- case 9290:case 9291:case 9292:case 9293:case 9294:case 9295: return Type::MagentaShulkerBox;
- case 4097: return Type::MagentaStainedGlass;
- case 6929:case 6930:case 6933:case 6934:case 6937:case 6938:case 6941:case 6942:case 6945:case 6946:case 6949:case 6950:case 6953:case 6954:case 6957:case 6958: return Type::MagentaStainedGlassPane;
- case 6849: return Type::MagentaTerracotta;
- case 8161:case 8162:case 8163:case 8164: return Type::MagentaWallBanner;
- case 1386: return Type::MagentaWool;
- case 9253: return Type::MagmaBlock;
- case 4763: return Type::Melon;
- case 4780:case 4781:case 4782:case 4783:case 4784:case 4785:case 4786:case 4787: return Type::MelonStem;
- case 1433: return Type::MossyCobblestone;
- case 10814:case 10816:case 10818: return Type::MossyCobblestoneSlab;
- case 9990:case 9992:case 9994:case 9996:case 9998:case 10000:case 10002:case 10004:case 10006:case 10008:case 10010:case 10012:case 10014:case 10016:case 10018:case 10020:case 10022:case 10024:case 10026:case 10028:case 10030:case 10032:case 10034:case 10036:case 10038:case 10040:case 10042:case 10044:case 10046:case 10048:case 10050:case 10052:case 10054:case 10056:case 10058:case 10060:case 10062:case 10064:case 10066:case 10068: return Type::MossyCobblestoneStairs;
- case 5984:case 5985:case 5986:case 5990:case 5991:case 5992:case 5996:case 5997:case 5998:case 6002:case 6003:case 6004:case 6008:case 6009:case 6010:case 6014:case 6015:case 6016:case 6020:case 6021:case 6022:case 6026:case 6027:case 6028:case 6032:case 6033:case 6034:case 6038:case 6039:case 6040:case 6044:case 6045:case 6046:case 6050:case 6051:case 6052:case 6056:case 6057:case 6058:case 6062:case 6063:case 6064:case 6068:case 6069:case 6070:case 6074:case 6075:case 6076:case 6080:case 6081:case 6082:case 6086:case 6087:case 6088:case 6092:case 6093:case 6094:case 6098:case 6099:case 6100:case 6104:case 6105:case 6106:case 6110:case 6111:case 6112:case 6116:case 6117:case 6118:case 6122:case 6123:case 6124:case 6128:case 6129:case 6130:case 6134:case 6135:case 6136:case 6140:case 6141:case 6142:case 6146:case 6147:case 6148:case 6152:case 6153:case 6154:case 6158:case 6159:case 6160:case 6164:case 6165:case 6166:case 6170:case 6171:case 6172:case 6176:case 6177:case 6178:case 6182:case 6183:case 6184:case 6188:case 6189:case 6190:case 6194:case 6195:case 6196:case 6200:case 6201:case 6202:case 6206:case 6207:case 6208:case 6212:case 6213:case 6214:case 6218:case 6219:case 6220:case 6224:case 6225:case 6226:case 6230:case 6231:case 6232:case 6236:case 6237:case 6238:case 6242:case 6243:case 6244:case 6248:case 6249:case 6250:case 6254:case 6255:case 6256:case 6260:case 6261:case 6262:case 6266:case 6267:case 6268:case 6272:case 6273:case 6274:case 6278:case 6279:case 6280:case 6284:case 6285:case 6286:case 6290:case 6291:case 6292:case 6296:case 6297:case 6298:case 6302:case 6303:case 6304: return Type::MossyCobblestoneWall;
- case 10802:case 10804:case 10806: return Type::MossyStoneBrickSlab;
- case 9830:case 9832:case 9834:case 9836:case 9838:case 9840:case 9842:case 9844:case 9846:case 9848:case 9850:case 9852:case 9854:case 9856:case 9858:case 9860:case 9862:case 9864:case 9866:case 9868:case 9870:case 9872:case 9874:case 9876:case 9878:case 9880:case 9882:case 9884:case 9886:case 9888:case 9890:case 9892:case 9894:case 9896:case 9898:case 9900:case 9902:case 9904:case 9906:case 9908: return Type::MossyStoneBrickStairs;
- case 11842:case 11843:case 11844:case 11848:case 11849:case 11850:case 11854:case 11855:case 11856:case 11860:case 11861:case 11862:case 11866:case 11867:case 11868:case 11872:case 11873:case 11874:case 11878:case 11879:case 11880:case 11884:case 11885:case 11886:case 11890:case 11891:case 11892:case 11896:case 11897:case 11898:case 11902:case 11903:case 11904:case 11908:case 11909:case 11910:case 11914:case 11915:case 11916:case 11920:case 11921:case 11922:case 11926:case 11927:case 11928:case 11932:case 11933:case 11934:case 11938:case 11939:case 11940:case 11944:case 11945:case 11946:case 11950:case 11951:case 11952:case 11956:case 11957:case 11958:case 11962:case 11963:case 11964:case 11968:case 11969:case 11970:case 11974:case 11975:case 11976:case 11980:case 11981:case 11982:case 11986:case 11987:case 11988:case 11992:case 11993:case 11994:case 11998:case 11999:case 12000:case 12004:case 12005:case 12006:case 12010:case 12011:case 12012:case 12016:case 12017:case 12018:case 12022:case 12023:case 12024:case 12028:case 12029:case 12030:case 12034:case 12035:case 12036:case 12040:case 12041:case 12042:case 12046:case 12047:case 12048:case 12052:case 12053:case 12054:case 12058:case 12059:case 12060:case 12064:case 12065:case 12066:case 12070:case 12071:case 12072:case 12076:case 12077:case 12078:case 12082:case 12083:case 12084:case 12088:case 12089:case 12090:case 12094:case 12095:case 12096:case 12100:case 12101:case 12102:case 12106:case 12107:case 12108:case 12112:case 12113:case 12114:case 12118:case 12119:case 12120:case 12124:case 12125:case 12126:case 12130:case 12131:case 12132:case 12136:case 12137:case 12138:case 12142:case 12143:case 12144:case 12148:case 12149:case 12150:case 12154:case 12155:case 12156:case 12160:case 12161:case 12162: return Type::MossyStoneBrickWall;
- case 4496: return Type::MossyStoneBricks;
- case 1400:case 1401:case 1402:case 1403:case 1404:case 1405:case 1406:case 1407:case 1408:case 1409:case 1410:case 1411: return Type::MovingPiston;
- case 4633:case 4634:case 4635:case 4636:case 4637:case 4638:case 4639:case 4640:case 4641:case 4642:case 4643:case 4644:case 4645:case 4646:case 4647:case 4648:case 4649:case 4650:case 4651:case 4652:case 4653:case 4654:case 4655:case 4656:case 4657:case 4658:case 4659:case 4660:case 4661:case 4662:case 4663:case 4664:case 4665:case 4666:case 4667:case 4668:case 4669:case 4670:case 4671:case 4672:case 4673:case 4674:case 4675:case 4676:case 4677:case 4678:case 4679:case 4680:case 4681:case 4682:case 4683:case 4684:case 4685:case 4686:case 4687:case 4688:case 4689:case 4690:case 4691:case 4692:case 4693:case 4694:case 4695:case 4696: return Type::MushroomStem;
- case 5012:case 5013: return Type::Mycelium;
- case 5018:case 5019:case 5022:case 5023:case 5026:case 5027:case 5030:case 5031:case 5034:case 5035:case 5038:case 5039:case 5042:case 5043:case 5046:case 5047: return Type::NetherBrickFence;
- case 8385:case 8387:case 8389: return Type::NetherBrickSlab;
- case 5049:case 5051:case 5053:case 5055:case 5057:case 5059:case 5061:case 5063:case 5065:case 5067:case 5069:case 5071:case 5073:case 5075:case 5077:case 5079:case 5081:case 5083:case 5085:case 5087:case 5089:case 5091:case 5093:case 5095:case 5097:case 5099:case 5101:case 5103:case 5105:case 5107:case 5109:case 5111:case 5113:case 5115:case 5117:case 5119:case 5121:case 5123:case 5125:case 5127: return Type::NetherBrickStairs;
- case 12814:case 12815:case 12816:case 12820:case 12821:case 12822:case 12826:case 12827:case 12828:case 12832:case 12833:case 12834:case 12838:case 12839:case 12840:case 12844:case 12845:case 12846:case 12850:case 12851:case 12852:case 12856:case 12857:case 12858:case 12862:case 12863:case 12864:case 12868:case 12869:case 12870:case 12874:case 12875:case 12876:case 12880:case 12881:case 12882:case 12886:case 12887:case 12888:case 12892:case 12893:case 12894:case 12898:case 12899:case 12900:case 12904:case 12905:case 12906:case 12910:case 12911:case 12912:case 12916:case 12917:case 12918:case 12922:case 12923:case 12924:case 12928:case 12929:case 12930:case 12934:case 12935:case 12936:case 12940:case 12941:case 12942:case 12946:case 12947:case 12948:case 12952:case 12953:case 12954:case 12958:case 12959:case 12960:case 12964:case 12965:case 12966:case 12970:case 12971:case 12972:case 12976:case 12977:case 12978:case 12982:case 12983:case 12984:case 12988:case 12989:case 12990:case 12994:case 12995:case 12996:case 13000:case 13001:case 13002:case 13006:case 13007:case 13008:case 13012:case 13013:case 13014:case 13018:case 13019:case 13020:case 13024:case 13025:case 13026:case 13030:case 13031:case 13032:case 13036:case 13037:case 13038:case 13042:case 13043:case 13044:case 13048:case 13049:case 13050:case 13054:case 13055:case 13056:case 13060:case 13061:case 13062:case 13066:case 13067:case 13068:case 13072:case 13073:case 13074:case 13078:case 13079:case 13080:case 13084:case 13085:case 13086:case 13090:case 13091:case 13092:case 13096:case 13097:case 13098:case 13102:case 13103:case 13104:case 13108:case 13109:case 13110:case 13114:case 13115:case 13116:case 13120:case 13121:case 13122:case 13126:case 13127:case 13128:case 13132:case 13133:case 13134: return Type::NetherBrickWall;
- case 5015: return Type::NetherBricks;
- case 72: return Type::NetherGoldOre;
- case 4014:case 4015: return Type::NetherPortal;
- case 6727: return Type::NetherQuartzOre;
- case 14974: return Type::NetherSprouts;
- case 5128:case 5129:case 5130:case 5131: return Type::NetherWart;
- case 9254: return Type::NetherWartBlock;
- case 15826: return Type::NetheriteBlock;
- case 3999: return Type::Netherrack;
- case 249:case 250:case 251:case 252:case 253:case 254:case 255:case 256:case 257:case 258:case 259:case 260:case 261:case 262:case 263:case 264:case 265:case 266:case 267:case 268:case 269:case 270:case 271:case 272:case 273:case 274:case 275:case 276:case 277:case 278:case 279:case 280:case 281:case 282:case 283:case 284:case 285:case 286:case 287:case 288:case 289:case 290:case 291:case 292:case 293:case 294:case 295:case 296:case 297:case 298:case 299:case 300:case 301:case 302:case 303:case 304:case 305:case 306:case 307:case 308:case 309:case 310:case 311:case 312:case 313:case 314:case 315:case 316:case 317:case 318:case 319:case 320:case 321:case 322:case 323:case 324:case 325:case 326:case 327:case 328:case 329:case 330:case 331:case 332:case 333:case 334:case 335:case 336:case 337:case 338:case 339:case 340:case 341:case 342:case 343:case 344:case 345:case 346:case 347:case 348:case 349:case 350:case 351:case 352:case 353:case 354:case 355:case 356:case 357:case 358:case 359:case 360:case 361:case 362:case 363:case 364:case 365:case 366:case 367:case 368:case 369:case 370:case 371:case 372:case 373:case 374:case 375:case 376:case 377:case 378:case 379:case 380:case 381:case 382:case 383:case 384:case 385:case 386:case 387:case 388:case 389:case 390:case 391:case 392:case 393:case 394:case 395:case 396:case 397:case 398:case 399:case 400:case 401:case 402:case 403:case 404:case 405:case 406:case 407:case 408:case 409:case 410:case 411:case 412:case 413:case 414:case 415:case 416:case 417:case 418:case 419:case 420:case 421:case 422:case 423:case 424:case 425:case 426:case 427:case 428:case 429:case 430:case 431:case 432:case 433:case 434:case 435:case 436:case 437:case 438:case 439:case 440:case 441:case 442:case 443:case 444:case 445:case 446:case 447:case 448:case 449:case 450:case 451:case 452:case 453:case 454:case 455:case 456:case 457:case 458:case 459:case 460:case 461:case 462:case 463:case 464:case 465:case 466:case 467:case 468:case 469:case 470:case 471:case 472:case 473:case 474:case 475:case 476:case 477:case 478:case 479:case 480:case 481:case 482:case 483:case 484:case 485:case 486:case 487:case 488:case 489:case 490:case 491:case 492:case 493:case 494:case 495:case 496:case 497:case 498:case 499:case 500:case 501:case 502:case 503:case 504:case 505:case 506:case 507:case 508:case 509:case 510:case 511:case 512:case 513:case 514:case 515:case 516:case 517:case 518:case 519:case 520:case 521:case 522:case 523:case 524:case 525:case 526:case 527:case 528:case 529:case 530:case 531:case 532:case 533:case 534:case 535:case 536:case 537:case 538:case 539:case 540:case 541:case 542:case 543:case 544:case 545:case 546:case 547:case 548:case 549:case 550:case 551:case 552:case 553:case 554:case 555:case 556:case 557:case 558:case 559:case 560:case 561:case 562:case 563:case 564:case 565:case 566:case 567:case 568:case 569:case 570:case 571:case 572:case 573:case 574:case 575:case 576:case 577:case 578:case 579:case 580:case 581:case 582:case 583:case 584:case 585:case 586:case 587:case 588:case 589:case 590:case 591:case 592:case 593:case 594:case 595:case 596:case 597:case 598:case 599:case 600:case 601:case 602:case 603:case 604:case 605:case 606:case 607:case 608:case 609:case 610:case 611:case 612:case 613:case 614:case 615:case 616:case 617:case 618:case 619:case 620:case 621:case 622:case 623:case 624:case 625:case 626:case 627:case 628:case 629:case 630:case 631:case 632:case 633:case 634:case 635:case 636:case 637:case 638:case 639:case 640:case 641:case 642:case 643:case 644:case 645:case 646:case 647:case 648:case 649:case 650:case 651:case 652:case 653:case 654:case 655:case 656:case 657:case 658:case 659:case 660:case 661:case 662:case 663:case 664:case 665:case 666:case 667:case 668:case 669:case 670:case 671:case 672:case 673:case 674:case 675:case 676:case 677:case 678:case 679:case 680:case 681:case 682:case 683:case 684:case 685:case 686:case 687:case 688:case 689:case 690:case 691:case 692:case 693:case 694:case 695:case 696:case 697:case 698:case 699:case 700:case 701:case 702:case 703:case 704:case 705:case 706:case 707:case 708:case 709:case 710:case 711:case 712:case 713:case 714:case 715:case 716:case 717:case 718:case 719:case 720:case 721:case 722:case 723:case 724:case 725:case 726:case 727:case 728:case 729:case 730:case 731:case 732:case 733:case 734:case 735:case 736:case 737:case 738:case 739:case 740:case 741:case 742:case 743:case 744:case 745:case 746:case 747:case 748:case 749:case 750:case 751:case 752:case 753:case 754:case 755:case 756:case 757:case 758:case 759:case 760:case 761:case 762:case 763:case 764:case 765:case 766:case 767:case 768:case 769:case 770:case 771:case 772:case 773:case 774:case 775:case 776:case 777:case 778:case 779:case 780:case 781:case 782:case 783:case 784:case 785:case 786:case 787:case 788:case 789:case 790:case 791:case 792:case 793:case 794:case 795:case 796:case 797:case 798:case 799:case 800:case 801:case 802:case 803:case 804:case 805:case 806:case 807:case 808:case 809:case 810:case 811:case 812:case 813:case 814:case 815:case 816:case 817:case 818:case 819:case 820:case 821:case 822:case 823:case 824:case 825:case 826:case 827:case 828:case 829:case 830:case 831:case 832:case 833:case 834:case 835:case 836:case 837:case 838:case 839:case 840:case 841:case 842:case 843:case 844:case 845:case 846:case 847:case 848:case 849:case 850:case 851:case 852:case 853:case 854:case 855:case 856:case 857:case 858:case 859:case 860:case 861:case 862:case 863:case 864:case 865:case 866:case 867:case 868:case 869:case 870:case 871:case 872:case 873:case 874:case 875:case 876:case 877:case 878:case 879:case 880:case 881:case 882:case 883:case 884:case 885:case 886:case 887:case 888:case 889:case 890:case 891:case 892:case 893:case 894:case 895:case 896:case 897:case 898:case 899:case 900:case 901:case 902:case 903:case 904:case 905:case 906:case 907:case 908:case 909:case 910:case 911:case 912:case 913:case 914:case 915:case 916:case 917:case 918:case 919:case 920:case 921:case 922:case 923:case 924:case 925:case 926:case 927:case 928:case 929:case 930:case 931:case 932:case 933:case 934:case 935:case 936:case 937:case 938:case 939:case 940:case 941:case 942:case 943:case 944:case 945:case 946:case 947:case 948:case 949:case 950:case 951:case 952:case 953:case 954:case 955:case 956:case 957:case 958:case 959:case 960:case 961:case 962:case 963:case 964:case 965:case 966:case 967:case 968:case 969:case 970:case 971:case 972:case 973:case 974:case 975:case 976:case 977:case 978:case 979:case 980:case 981:case 982:case 983:case 984:case 985:case 986:case 987:case 988:case 989:case 990:case 991:case 992:case 993:case 994:case 995:case 996:case 997:case 998:case 999:case 1000:case 1001:case 1002:case 1003:case 1004:case 1005:case 1006:case 1007:case 1008:case 1009:case 1010:case 1011:case 1012:case 1013:case 1014:case 1015:case 1016:case 1017:case 1018:case 1019:case 1020:case 1021:case 1022:case 1023:case 1024:case 1025:case 1026:case 1027:case 1028:case 1029:case 1030:case 1031:case 1032:case 1033:case 1034:case 1035:case 1036:case 1037:case 1038:case 1039:case 1040:case 1041:case 1042:case 1043:case 1044:case 1045:case 1046:case 1047:case 1048: return Type::NoteBlock;
- case 6346:case 6347:case 6348:case 6349:case 6350:case 6351:case 6352:case 6353:case 6354:case 6355:case 6356:case 6357:case 6358:case 6359:case 6360:case 6361:case 6362:case 6363:case 6364:case 6365:case 6366:case 6367:case 6368:case 6369: return Type::OakButton;
- case 3573:case 3574:case 3575:case 3576:case 3577:case 3578:case 3579:case 3580:case 3581:case 3582:case 3583:case 3584:case 3585:case 3586:case 3587:case 3588:case 3589:case 3590:case 3591:case 3592:case 3593:case 3594:case 3595:case 3596:case 3597:case 3598:case 3599:case 3600:case 3601:case 3602:case 3603:case 3604:case 3605:case 3606:case 3607:case 3608:case 3609:case 3610:case 3611:case 3612:case 3613:case 3614:case 3615:case 3616:case 3617:case 3618:case 3619:case 3620:case 3621:case 3622:case 3623:case 3624:case 3625:case 3626:case 3627:case 3628:case 3629:case 3630:case 3631:case 3632:case 3633:case 3634:case 3635:case 3636: return Type::OakDoor;
- case 3968:case 3969:case 3972:case 3973:case 3976:case 3977:case 3980:case 3981:case 3984:case 3985:case 3988:case 3989:case 3992:case 3993:case 3996:case 3997: return Type::OakFence;
- case 4820:case 4821:case 4822:case 4823:case 4824:case 4825:case 4826:case 4827:case 4828:case 4829:case 4830:case 4831:case 4832:case 4833:case 4834:case 4835:case 4836:case 4837:case 4838:case 4839:case 4840:case 4841:case 4842:case 4843:case 4844:case 4845:case 4846:case 4847:case 4848:case 4849:case 4850:case 4851: return Type::OakFenceGate;
- case 145:case 146:case 147:case 148:case 149:case 150:case 151:case 152:case 153:case 154:case 155:case 156:case 157:case 158: return Type::OakLeaves;
- case 73:case 74:case 75: return Type::OakLog;
- case 15: return Type::OakPlanks;
- case 3873:case 3874: return Type::OakPressurePlate;
- case 21:case 22: return Type::OakSapling;
- case 3382:case 3384:case 3386:case 3388:case 3390:case 3392:case 3394:case 3396:case 3398:case 3400:case 3402:case 3404:case 3406:case 3408:case 3410:case 3412: return Type::OakSign;
- case 8301:case 8303:case 8305: return Type::OakSlab;
- case 1955:case 1957:case 1959:case 1961:case 1963:case 1965:case 1967:case 1969:case 1971:case 1973:case 1975:case 1977:case 1979:case 1981:case 1983:case 1985:case 1987:case 1989:case 1991:case 1993:case 1995:case 1997:case 1999:case 2001:case 2003:case 2005:case 2007:case 2009:case 2011:case 2013:case 2015:case 2017:case 2019:case 2021:case 2023:case 2025:case 2027:case 2029:case 2031:case 2033: return Type::OakStairs;
- case 4112:case 4114:case 4116:case 4118:case 4120:case 4122:case 4124:case 4126:case 4128:case 4130:case 4132:case 4134:case 4136:case 4138:case 4140:case 4142:case 4144:case 4146:case 4148:case 4150:case 4152:case 4154:case 4156:case 4158:case 4160:case 4162:case 4164:case 4166:case 4168:case 4170:case 4172:case 4174: return Type::OakTrapdoor;
- case 3736:case 3738:case 3740:case 3742: return Type::OakWallSign;
- case 109:case 110:case 111: return Type::OakWood;
- case 9260:case 9261:case 9262:case 9263:case 9264:case 9265:case 9266:case 9267:case 9268:case 9269:case 9270:case 9271: return Type::Observer;
- case 1434: return Type::Obsidian;
- case 7913:case 7914:case 7915:case 7916:case 7917:case 7918:case 7919:case 7920:case 7921:case 7922:case 7923:case 7924:case 7925:case 7926:case 7927:case 7928: return Type::OrangeBanner;
- case 1065:case 1066:case 1067:case 1068:case 1069:case 1070:case 1071:case 1072:case 1073:case 1074:case 1075:case 1076:case 1077:case 1078:case 1079:case 1080: return Type::OrangeBed;
- case 7867: return Type::OrangeCarpet;
- case 9439: return Type::OrangeConcrete;
- case 9455: return Type::OrangeConcretePowder;
- case 9378:case 9379:case 9380:case 9381: return Type::OrangeGlazedTerracotta;
- case 9284:case 9285:case 9286:case 9287:case 9288:case 9289: return Type::OrangeShulkerBox;
- case 4096: return Type::OrangeStainedGlass;
- case 6897:case 6898:case 6901:case 6902:case 6905:case 6906:case 6909:case 6910:case 6913:case 6914:case 6917:case 6918:case 6921:case 6922:case 6925:case 6926: return Type::OrangeStainedGlassPane;
- case 6848: return Type::OrangeTerracotta;
- case 1418: return Type::OrangeTulip;
- case 8157:case 8158:case 8159:case 8160: return Type::OrangeWallBanner;
- case 1385: return Type::OrangeWool;
- case 1421: return Type::OxeyeDaisy;
- case 7884: return Type::PackedIce;
- case 7891:case 7892: return Type::Peony;
- case 8361:case 8363:case 8365: return Type::PetrifiedOakSlab;
- case 7993:case 7994:case 7995:case 7996:case 7997:case 7998:case 7999:case 8000:case 8001:case 8002:case 8003:case 8004:case 8005:case 8006:case 8007:case 8008: return Type::PinkBanner;
- case 1145:case 1146:case 1147:case 1148:case 1149:case 1150:case 1151:case 1152:case 1153:case 1154:case 1155:case 1156:case 1157:case 1158:case 1159:case 1160: return Type::PinkBed;
- case 7872: return Type::PinkCarpet;
- case 9444: return Type::PinkConcrete;
- case 9460: return Type::PinkConcretePowder;
- case 9398:case 9399:case 9400:case 9401: return Type::PinkGlazedTerracotta;
- case 9314:case 9315:case 9316:case 9317:case 9318:case 9319: return Type::PinkShulkerBox;
- case 4101: return Type::PinkStainedGlass;
- case 7057:case 7058:case 7061:case 7062:case 7065:case 7066:case 7069:case 7070:case 7073:case 7074:case 7077:case 7078:case 7081:case 7082:case 7085:case 7086: return Type::PinkStainedGlassPane;
- case 6853: return Type::PinkTerracotta;
- case 1420: return Type::PinkTulip;
- case 8177:case 8178:case 8179:case 8180: return Type::PinkWallBanner;
- case 1390: return Type::PinkWool;
- case 1348:case 1349:case 1350:case 1351:case 1352:case 1353:case 1354:case 1355:case 1356:case 1357:case 1358:case 1359: return Type::Piston;
- case 1360:case 1361:case 1362:case 1363:case 1364:case 1365:case 1366:case 1367:case 1368:case 1369:case 1370:case 1371:case 1372:case 1373:case 1374:case 1375:case 1376:case 1377:case 1378:case 1379:case 1380:case 1381:case 1382:case 1383: return Type::PistonHead;
- case 6550:case 6551:case 6552:case 6553:case 6554:case 6555:case 6556:case 6557:case 6558:case 6559:case 6560:case 6561:case 6562:case 6563:case 6564:case 6565: return Type::PlayerHead;
- case 6566:case 6567:case 6568:case 6569: return Type::PlayerWallHead;
- case 12:case 13: return Type::Podzol;
- case 7: return Type::PolishedAndesite;
- case 10856:case 10858:case 10860: return Type::PolishedAndesiteSlab;
- case 10630:case 10632:case 10634:case 10636:case 10638:case 10640:case 10642:case 10644:case 10646:case 10648:case 10650:case 10652:case 10654:case 10656:case 10658:case 10660:case 10662:case 10664:case 10666:case 10668:case 10670:case 10672:case 10674:case 10676:case 10678:case 10680:case 10682:case 10684:case 10686:case 10688:case 10690:case 10692:case 10694:case 10696:case 10698:case 10700:case 10702:case 10704:case 10706:case 10708: return Type::PolishedAndesiteStairs;
- case 4005:case 4006:case 4007: return Type::PolishedBasalt;
- case 16250: return Type::PolishedBlackstone;
- case 16255:case 16257:case 16259: return Type::PolishedBlackstoneBrickSlab;
- case 16261:case 16263:case 16265:case 16267:case 16269:case 16271:case 16273:case 16275:case 16277:case 16279:case 16281:case 16283:case 16285:case 16287:case 16289:case 16291:case 16293:case 16295:case 16297:case 16299:case 16301:case 16303:case 16305:case 16307:case 16309:case 16311:case 16313:case 16315:case 16317:case 16319:case 16321:case 16323:case 16325:case 16327:case 16329:case 16331:case 16333:case 16335:case 16337:case 16339: return Type::PolishedBlackstoneBrickStairs;
- case 16343:case 16344:case 16345:case 16349:case 16350:case 16351:case 16355:case 16356:case 16357:case 16361:case 16362:case 16363:case 16367:case 16368:case 16369:case 16373:case 16374:case 16375:case 16379:case 16380:case 16381:case 16385:case 16386:case 16387:case 16391:case 16392:case 16393:case 16397:case 16398:case 16399:case 16403:case 16404:case 16405:case 16409:case 16410:case 16411:case 16415:case 16416:case 16417:case 16421:case 16422:case 16423:case 16427:case 16428:case 16429:case 16433:case 16434:case 16435:case 16439:case 16440:case 16441:case 16445:case 16446:case 16447:case 16451:case 16452:case 16453:case 16457:case 16458:case 16459:case 16463:case 16464:case 16465:case 16469:case 16470:case 16471:case 16475:case 16476:case 16477:case 16481:case 16482:case 16483:case 16487:case 16488:case 16489:case 16493:case 16494:case 16495:case 16499:case 16500:case 16501:case 16505:case 16506:case 16507:case 16511:case 16512:case 16513:case 16517:case 16518:case 16519:case 16523:case 16524:case 16525:case 16529:case 16530:case 16531:case 16535:case 16536:case 16537:case 16541:case 16542:case 16543:case 16547:case 16548:case 16549:case 16553:case 16554:case 16555:case 16559:case 16560:case 16561:case 16565:case 16566:case 16567:case 16571:case 16572:case 16573:case 16577:case 16578:case 16579:case 16583:case 16584:case 16585:case 16589:case 16590:case 16591:case 16595:case 16596:case 16597:case 16601:case 16602:case 16603:case 16607:case 16608:case 16609:case 16613:case 16614:case 16615:case 16619:case 16620:case 16621:case 16625:case 16626:case 16627:case 16631:case 16632:case 16633:case 16637:case 16638:case 16639:case 16643:case 16644:case 16645:case 16649:case 16650:case 16651:case 16655:case 16656:case 16657:case 16661:case 16662:case 16663: return Type::PolishedBlackstoneBrickWall;
- case 16251: return Type::PolishedBlackstoneBricks;
- case 16753:case 16754:case 16755:case 16756:case 16757:case 16758:case 16759:case 16760:case 16761:case 16762:case 16763:case 16764:case 16765:case 16766:case 16767:case 16768:case 16769:case 16770:case 16771:case 16772:case 16773:case 16774:case 16775:case 16776: return Type::PolishedBlackstoneButton;
- case 16751:case 16752: return Type::PolishedBlackstonePressurePlate;
- case 16746:case 16748:case 16750: return Type::PolishedBlackstoneSlab;
- case 16666:case 16668:case 16670:case 16672:case 16674:case 16676:case 16678:case 16680:case 16682:case 16684:case 16686:case 16688:case 16690:case 16692:case 16694:case 16696:case 16698:case 16700:case 16702:case 16704:case 16706:case 16708:case 16710:case 16712:case 16714:case 16716:case 16718:case 16720:case 16722:case 16724:case 16726:case 16728:case 16730:case 16732:case 16734:case 16736:case 16738:case 16740:case 16742:case 16744: return Type::PolishedBlackstoneStairs;
- case 16780:case 16781:case 16782:case 16786:case 16787:case 16788:case 16792:case 16793:case 16794:case 16798:case 16799:case 16800:case 16804:case 16805:case 16806:case 16810:case 16811:case 16812:case 16816:case 16817:case 16818:case 16822:case 16823:case 16824:case 16828:case 16829:case 16830:case 16834:case 16835:case 16836:case 16840:case 16841:case 16842:case 16846:case 16847:case 16848:case 16852:case 16853:case 16854:case 16858:case 16859:case 16860:case 16864:case 16865:case 16866:case 16870:case 16871:case 16872:case 16876:case 16877:case 16878:case 16882:case 16883:case 16884:case 16888:case 16889:case 16890:case 16894:case 16895:case 16896:case 16900:case 16901:case 16902:case 16906:case 16907:case 16908:case 16912:case 16913:case 16914:case 16918:case 16919:case 16920:case 16924:case 16925:case 16926:case 16930:case 16931:case 16932:case 16936:case 16937:case 16938:case 16942:case 16943:case 16944:case 16948:case 16949:case 16950:case 16954:case 16955:case 16956:case 16960:case 16961:case 16962:case 16966:case 16967:case 16968:case 16972:case 16973:case 16974:case 16978:case 16979:case 16980:case 16984:case 16985:case 16986:case 16990:case 16991:case 16992:case 16996:case 16997:case 16998:case 17002:case 17003:case 17004:case 17008:case 17009:case 17010:case 17014:case 17015:case 17016:case 17020:case 17021:case 17022:case 17026:case 17027:case 17028:case 17032:case 17033:case 17034:case 17038:case 17039:case 17040:case 17044:case 17045:case 17046:case 17050:case 17051:case 17052:case 17056:case 17057:case 17058:case 17062:case 17063:case 17064:case 17068:case 17069:case 17070:case 17074:case 17075:case 17076:case 17080:case 17081:case 17082:case 17086:case 17087:case 17088:case 17092:case 17093:case 17094:case 17098:case 17099:case 17100: return Type::PolishedBlackstoneWall;
- case 5: return Type::PolishedDiorite;
- case 10808:case 10810:case 10812: return Type::PolishedDioriteSlab;
- case 9910:case 9912:case 9914:case 9916:case 9918:case 9920:case 9922:case 9924:case 9926:case 9928:case 9930:case 9932:case 9934:case 9936:case 9938:case 9940:case 9942:case 9944:case 9946:case 9948:case 9950:case 9952:case 9954:case 9956:case 9958:case 9960:case 9962:case 9964:case 9966:case 9968:case 9970:case 9972:case 9974:case 9976:case 9978:case 9980:case 9982:case 9984:case 9986:case 9988: return Type::PolishedDioriteStairs;
- case 3: return Type::PolishedGranite;
- case 10790:case 10792:case 10794: return Type::PolishedGraniteSlab;
- case 9670:case 9672:case 9674:case 9676:case 9678:case 9680:case 9682:case 9684:case 9686:case 9688:case 9690:case 9692:case 9694:case 9696:case 9698:case 9700:case 9702:case 9704:case 9706:case 9708:case 9710:case 9712:case 9714:case 9716:case 9718:case 9720:case 9722:case 9724:case 9726:case 9728:case 9730:case 9732:case 9734:case 9736:case 9738:case 9740:case 9742:case 9744:case 9746:case 9748: return Type::PolishedGraniteStairs;
- case 1413: return Type::Poppy;
- case 6338:case 6339:case 6340:case 6341:case 6342:case 6343:case 6344:case 6345: return Type::Potatoes;
- case 6310: return Type::PottedAcaciaSapling;
- case 6316: return Type::PottedAllium;
- case 6317: return Type::PottedAzureBluet;
- case 9664: return Type::PottedBamboo;
- case 6308: return Type::PottedBirchSapling;
- case 6315: return Type::PottedBlueOrchid;
- case 6327: return Type::PottedBrownMushroom;
- case 6329: return Type::PottedCactus;
- case 6323: return Type::PottedCornflower;
- case 15834: return Type::PottedCrimsonFungus;
- case 15836: return Type::PottedCrimsonRoots;
- case 6313: return Type::PottedDandelion;
- case 6311: return Type::PottedDarkOakSapling;
- case 6328: return Type::PottedDeadBush;
- case 6312: return Type::PottedFern;
- case 6309: return Type::PottedJungleSapling;
- case 6324: return Type::PottedLilyOfTheValley;
- case 6306: return Type::PottedOakSapling;
- case 6319: return Type::PottedOrangeTulip;
- case 6322: return Type::PottedOxeyeDaisy;
- case 6321: return Type::PottedPinkTulip;
- case 6314: return Type::PottedPoppy;
- case 6326: return Type::PottedRedMushroom;
- case 6318: return Type::PottedRedTulip;
- case 6307: return Type::PottedSpruceSapling;
- case 15835: return Type::PottedWarpedFungus;
- case 15837: return Type::PottedWarpedRoots;
- case 6320: return Type::PottedWhiteTulip;
- case 6325: return Type::PottedWitherRose;
- case 1305:case 1306:case 1307:case 1308:case 1309:case 1310:case 1311:case 1312:case 1313:case 1314:case 1315:case 1316: return Type::PoweredRail;
- case 7601: return Type::Prismarine;
- case 7851:case 7853:case 7855: return Type::PrismarineBrickSlab;
- case 7685:case 7687:case 7689:case 7691:case 7693:case 7695:case 7697:case 7699:case 7701:case 7703:case 7705:case 7707:case 7709:case 7711:case 7713:case 7715:case 7717:case 7719:case 7721:case 7723:case 7725:case 7727:case 7729:case 7731:case 7733:case 7735:case 7737:case 7739:case 7741:case 7743:case 7745:case 7747:case 7749:case 7751:case 7753:case 7755:case 7757:case 7759:case 7761:case 7763: return Type::PrismarineBrickStairs;
- case 7602: return Type::PrismarineBricks;
- case 7845:case 7847:case 7849: return Type::PrismarineSlab;
- case 7605:case 7607:case 7609:case 7611:case 7613:case 7615:case 7617:case 7619:case 7621:case 7623:case 7625:case 7627:case 7629:case 7631:case 7633:case 7635:case 7637:case 7639:case 7641:case 7643:case 7645:case 7647:case 7649:case 7651:case 7653:case 7655:case 7657:case 7659:case 7661:case 7663:case 7665:case 7667:case 7669:case 7671:case 7673:case 7675:case 7677:case 7679:case 7681:case 7683: return Type::PrismarineStairs;
- case 11194:case 11195:case 11196:case 11200:case 11201:case 11202:case 11206:case 11207:case 11208:case 11212:case 11213:case 11214:case 11218:case 11219:case 11220:case 11224:case 11225:case 11226:case 11230:case 11231:case 11232:case 11236:case 11237:case 11238:case 11242:case 11243:case 11244:case 11248:case 11249:case 11250:case 11254:case 11255:case 11256:case 11260:case 11261:case 11262:case 11266:case 11267:case 11268:case 11272:case 11273:case 11274:case 11278:case 11279:case 11280:case 11284:case 11285:case 11286:case 11290:case 11291:case 11292:case 11296:case 11297:case 11298:case 11302:case 11303:case 11304:case 11308:case 11309:case 11310:case 11314:case 11315:case 11316:case 11320:case 11321:case 11322:case 11326:case 11327:case 11328:case 11332:case 11333:case 11334:case 11338:case 11339:case 11340:case 11344:case 11345:case 11346:case 11350:case 11351:case 11352:case 11356:case 11357:case 11358:case 11362:case 11363:case 11364:case 11368:case 11369:case 11370:case 11374:case 11375:case 11376:case 11380:case 11381:case 11382:case 11386:case 11387:case 11388:case 11392:case 11393:case 11394:case 11398:case 11399:case 11400:case 11404:case 11405:case 11406:case 11410:case 11411:case 11412:case 11416:case 11417:case 11418:case 11422:case 11423:case 11424:case 11428:case 11429:case 11430:case 11434:case 11435:case 11436:case 11440:case 11441:case 11442:case 11446:case 11447:case 11448:case 11452:case 11453:case 11454:case 11458:case 11459:case 11460:case 11464:case 11465:case 11466:case 11470:case 11471:case 11472:case 11476:case 11477:case 11478:case 11482:case 11483:case 11484:case 11488:case 11489:case 11490:case 11494:case 11495:case 11496:case 11500:case 11501:case 11502:case 11506:case 11507:case 11508:case 11512:case 11513:case 11514: return Type::PrismarineWall;
- case 3998: return Type::Pumpkin;
- case 4772:case 4773:case 4774:case 4775:case 4776:case 4777:case 4778:case 4779: return Type::PumpkinStem;
- case 8057:case 8058:case 8059:case 8060:case 8061:case 8062:case 8063:case 8064:case 8065:case 8066:case 8067:case 8068:case 8069:case 8070:case 8071:case 8072: return Type::PurpleBanner;
- case 1209:case 1210:case 1211:case 1212:case 1213:case 1214:case 1215:case 1216:case 1217:case 1218:case 1219:case 1220:case 1221:case 1222:case 1223:case 1224: return Type::PurpleBed;
- case 7876: return Type::PurpleCarpet;
- case 9448: return Type::PurpleConcrete;
- case 9464: return Type::PurpleConcretePowder;
- case 9414:case 9415:case 9416:case 9417: return Type::PurpleGlazedTerracotta;
- case 9338:case 9339:case 9340:case 9341:case 9342:case 9343: return Type::PurpleShulkerBox;
- case 4105: return Type::PurpleStainedGlass;
- case 7185:case 7186:case 7189:case 7190:case 7193:case 7194:case 7197:case 7198:case 7201:case 7202:case 7205:case 7206:case 7209:case 7210:case 7213:case 7214: return Type::PurpleStainedGlassPane;
- case 6857: return Type::PurpleTerracotta;
- case 8193:case 8194:case 8195:case 8196: return Type::PurpleWallBanner;
- case 1394: return Type::PurpleWool;
- case 9134: return Type::PurpurBlock;
- case 9135:case 9136:case 9137: return Type::PurpurPillar;
- case 8409:case 8411:case 8413: return Type::PurpurSlab;
- case 9139:case 9141:case 9143:case 9145:case 9147:case 9149:case 9151:case 9153:case 9155:case 9157:case 9159:case 9161:case 9163:case 9165:case 9167:case 9169:case 9171:case 9173:case 9175:case 9177:case 9179:case 9181:case 9183:case 9185:case 9187:case 9189:case 9191:case 9193:case 9195:case 9197:case 9199:case 9201:case 9203:case 9205:case 9207:case 9209:case 9211:case 9213:case 9215:case 9217: return Type::PurpurStairs;
- case 6738: return Type::QuartzBlock;
- case 17103: return Type::QuartzBricks;
- case 6740:case 6741:case 6742: return Type::QuartzPillar;
- case 8391:case 8393:case 8395: return Type::QuartzSlab;
- case 6744:case 6746:case 6748:case 6750:case 6752:case 6754:case 6756:case 6758:case 6760:case 6762:case 6764:case 6766:case 6768:case 6770:case 6772:case 6774:case 6776:case 6778:case 6780:case 6782:case 6784:case 6786:case 6788:case 6790:case 6792:case 6794:case 6796:case 6798:case 6800:case 6802:case 6804:case 6806:case 6808:case 6810:case 6812:case 6814:case 6816:case 6818:case 6820:case 6822: return Type::QuartzStairs;
- case 3645:case 3646:case 3647:case 3648:case 3649:case 3650:case 3651:case 3652:case 3653:case 3654: return Type::Rail;
- case 8121:case 8122:case 8123:case 8124:case 8125:case 8126:case 8127:case 8128:case 8129:case 8130:case 8131:case 8132:case 8133:case 8134:case 8135:case 8136: return Type::RedBanner;
- case 1273:case 1274:case 1275:case 1276:case 1277:case 1278:case 1279:case 1280:case 1281:case 1282:case 1283:case 1284:case 1285:case 1286:case 1287:case 1288: return Type::RedBed;
- case 7880: return Type::RedCarpet;
- case 9452: return Type::RedConcrete;
- case 9468: return Type::RedConcretePowder;
- case 9430:case 9431:case 9432:case 9433: return Type::RedGlazedTerracotta;
- case 1426: return Type::RedMushroom;
- case 4569:case 4570:case 4571:case 4572:case 4573:case 4574:case 4575:case 4576:case 4577:case 4578:case 4579:case 4580:case 4581:case 4582:case 4583:case 4584:case 4585:case 4586:case 4587:case 4588:case 4589:case 4590:case 4591:case 4592:case 4593:case 4594:case 4595:case 4596:case 4597:case 4598:case 4599:case 4600:case 4601:case 4602:case 4603:case 4604:case 4605:case 4606:case 4607:case 4608:case 4609:case 4610:case 4611:case 4612:case 4613:case 4614:case 4615:case 4616:case 4617:case 4618:case 4619:case 4620:case 4621:case 4622:case 4623:case 4624:case 4625:case 4626:case 4627:case 4628:case 4629:case 4630:case 4631:case 4632: return Type::RedMushroomBlock;
- case 10850:case 10852:case 10854: return Type::RedNetherBrickSlab;
- case 10550:case 10552:case 10554:case 10556:case 10558:case 10560:case 10562:case 10564:case 10566:case 10568:case 10570:case 10572:case 10574:case 10576:case 10578:case 10580:case 10582:case 10584:case 10586:case 10588:case 10590:case 10592:case 10594:case 10596:case 10598:case 10600:case 10602:case 10604:case 10606:case 10608:case 10610:case 10612:case 10614:case 10616:case 10618:case 10620:case 10622:case 10624:case 10626:case 10628: return Type::RedNetherBrickStairs;
- case 13462:case 13463:case 13464:case 13468:case 13469:case 13470:case 13474:case 13475:case 13476:case 13480:case 13481:case 13482:case 13486:case 13487:case 13488:case 13492:case 13493:case 13494:case 13498:case 13499:case 13500:case 13504:case 13505:case 13506:case 13510:case 13511:case 13512:case 13516:case 13517:case 13518:case 13522:case 13523:case 13524:case 13528:case 13529:case 13530:case 13534:case 13535:case 13536:case 13540:case 13541:case 13542:case 13546:case 13547:case 13548:case 13552:case 13553:case 13554:case 13558:case 13559:case 13560:case 13564:case 13565:case 13566:case 13570:case 13571:case 13572:case 13576:case 13577:case 13578:case 13582:case 13583:case 13584:case 13588:case 13589:case 13590:case 13594:case 13595:case 13596:case 13600:case 13601:case 13602:case 13606:case 13607:case 13608:case 13612:case 13613:case 13614:case 13618:case 13619:case 13620:case 13624:case 13625:case 13626:case 13630:case 13631:case 13632:case 13636:case 13637:case 13638:case 13642:case 13643:case 13644:case 13648:case 13649:case 13650:case 13654:case 13655:case 13656:case 13660:case 13661:case 13662:case 13666:case 13667:case 13668:case 13672:case 13673:case 13674:case 13678:case 13679:case 13680:case 13684:case 13685:case 13686:case 13690:case 13691:case 13692:case 13696:case 13697:case 13698:case 13702:case 13703:case 13704:case 13708:case 13709:case 13710:case 13714:case 13715:case 13716:case 13720:case 13721:case 13722:case 13726:case 13727:case 13728:case 13732:case 13733:case 13734:case 13738:case 13739:case 13740:case 13744:case 13745:case 13746:case 13750:case 13751:case 13752:case 13756:case 13757:case 13758:case 13762:case 13763:case 13764:case 13768:case 13769:case 13770:case 13774:case 13775:case 13776:case 13780:case 13781:case 13782: return Type::RedNetherBrickWall;
- case 9255: return Type::RedNetherBricks;
- case 67: return Type::RedSand;
- case 8217: return Type::RedSandstone;
- case 8397:case 8399:case 8401: return Type::RedSandstoneSlab;
- case 8221:case 8223:case 8225:case 8227:case 8229:case 8231:case 8233:case 8235:case 8237:case 8239:case 8241:case 8243:case 8245:case 8247:case 8249:case 8251:case 8253:case 8255:case 8257:case 8259:case 8261:case 8263:case 8265:case 8267:case 8269:case 8271:case 8273:case 8275:case 8277:case 8279:case 8281:case 8283:case 8285:case 8287:case 8289:case 8291:case 8293:case 8295:case 8297:case 8299: return Type::RedSandstoneStairs;
- case 11518:case 11519:case 11520:case 11524:case 11525:case 11526:case 11530:case 11531:case 11532:case 11536:case 11537:case 11538:case 11542:case 11543:case 11544:case 11548:case 11549:case 11550:case 11554:case 11555:case 11556:case 11560:case 11561:case 11562:case 11566:case 11567:case 11568:case 11572:case 11573:case 11574:case 11578:case 11579:case 11580:case 11584:case 11585:case 11586:case 11590:case 11591:case 11592:case 11596:case 11597:case 11598:case 11602:case 11603:case 11604:case 11608:case 11609:case 11610:case 11614:case 11615:case 11616:case 11620:case 11621:case 11622:case 11626:case 11627:case 11628:case 11632:case 11633:case 11634:case 11638:case 11639:case 11640:case 11644:case 11645:case 11646:case 11650:case 11651:case 11652:case 11656:case 11657:case 11658:case 11662:case 11663:case 11664:case 11668:case 11669:case 11670:case 11674:case 11675:case 11676:case 11680:case 11681:case 11682:case 11686:case 11687:case 11688:case 11692:case 11693:case 11694:case 11698:case 11699:case 11700:case 11704:case 11705:case 11706:case 11710:case 11711:case 11712:case 11716:case 11717:case 11718:case 11722:case 11723:case 11724:case 11728:case 11729:case 11730:case 11734:case 11735:case 11736:case 11740:case 11741:case 11742:case 11746:case 11747:case 11748:case 11752:case 11753:case 11754:case 11758:case 11759:case 11760:case 11764:case 11765:case 11766:case 11770:case 11771:case 11772:case 11776:case 11777:case 11778:case 11782:case 11783:case 11784:case 11788:case 11789:case 11790:case 11794:case 11795:case 11796:case 11800:case 11801:case 11802:case 11806:case 11807:case 11808:case 11812:case 11813:case 11814:case 11818:case 11819:case 11820:case 11824:case 11825:case 11826:case 11830:case 11831:case 11832:case 11836:case 11837:case 11838: return Type::RedSandstoneWall;
- case 9362:case 9363:case 9364:case 9365:case 9366:case 9367: return Type::RedShulkerBox;
- case 4109: return Type::RedStainedGlass;
- case 7313:case 7314:case 7317:case 7318:case 7321:case 7322:case 7325:case 7326:case 7329:case 7330:case 7333:case 7334:case 7337:case 7338:case 7341:case 7342: return Type::RedStainedGlassPane;
- case 6861: return Type::RedTerracotta;
- case 1417: return Type::RedTulip;
- case 8209:case 8210:case 8211:case 8212: return Type::RedWallBanner;
- case 1398: return Type::RedWool;
- case 6726: return Type::RedstoneBlock;
- case 5156:case 5157: return Type::RedstoneLamp;
- case 3885:case 3886: return Type::RedstoneOre;
- case 3887:case 3888: return Type::RedstoneTorch;
- case 3889:case 3890:case 3891:case 3892:case 3893:case 3894:case 3895:case 3896: return Type::RedstoneWallTorch;
- case 2058:case 2059:case 2060:case 2061:case 2062:case 2063:case 2064:case 2065:case 2066:case 2067:case 2068:case 2069:case 2070:case 2071:case 2072:case 2073:case 2074:case 2075:case 2076:case 2077:case 2078:case 2079:case 2080:case 2081:case 2082:case 2083:case 2084:case 2085:case 2086:case 2087:case 2088:case 2089:case 2090:case 2091:case 2092:case 2093:case 2094:case 2095:case 2096:case 2097:case 2098:case 2099:case 2100:case 2101:case 2102:case 2103:case 2104:case 2105:case 2106:case 2107:case 2108:case 2109:case 2110:case 2111:case 2112:case 2113:case 2114:case 2115:case 2116:case 2117:case 2118:case 2119:case 2120:case 2121:case 2122:case 2123:case 2124:case 2125:case 2126:case 2127:case 2128:case 2129:case 2130:case 2131:case 2132:case 2133:case 2134:case 2135:case 2136:case 2137:case 2138:case 2139:case 2140:case 2141:case 2142:case 2143:case 2144:case 2145:case 2146:case 2147:case 2148:case 2149:case 2150:case 2151:case 2152:case 2153:case 2154:case 2155:case 2156:case 2157:case 2158:case 2159:case 2160:case 2161:case 2162:case 2163:case 2164:case 2165:case 2166:case 2167:case 2168:case 2169:case 2170:case 2171:case 2172:case 2173:case 2174:case 2175:case 2176:case 2177:case 2178:case 2179:case 2180:case 2181:case 2182:case 2183:case 2184:case 2185:case 2186:case 2187:case 2188:case 2189:case 2190:case 2191:case 2192:case 2193:case 2194:case 2195:case 2196:case 2197:case 2198:case 2199:case 2200:case 2201:case 2202:case 2203:case 2204:case 2205:case 2206:case 2207:case 2208:case 2209:case 2210:case 2211:case 2212:case 2213:case 2214:case 2215:case 2216:case 2217:case 2218:case 2219:case 2220:case 2221:case 2222:case 2223:case 2224:case 2225:case 2226:case 2227:case 2228:case 2229:case 2230:case 2231:case 2232:case 2233:case 2234:case 2235:case 2236:case 2237:case 2238:case 2239:case 2240:case 2241:case 2242:case 2243:case 2244:case 2245:case 2246:case 2247:case 2248:case 2249:case 2250:case 2251:case 2252:case 2253:case 2254:case 2255:case 2256:case 2257:case 2258:case 2259:case 2260:case 2261:case 2262:case 2263:case 2264:case 2265:case 2266:case 2267:case 2268:case 2269:case 2270:case 2271:case 2272:case 2273:case 2274:case 2275:case 2276:case 2277:case 2278:case 2279:case 2280:case 2281:case 2282:case 2283:case 2284:case 2285:case 2286:case 2287:case 2288:case 2289:case 2290:case 2291:case 2292:case 2293:case 2294:case 2295:case 2296:case 2297:case 2298:case 2299:case 2300:case 2301:case 2302:case 2303:case 2304:case 2305:case 2306:case 2307:case 2308:case 2309:case 2310:case 2311:case 2312:case 2313:case 2314:case 2315:case 2316:case 2317:case 2318:case 2319:case 2320:case 2321:case 2322:case 2323:case 2324:case 2325:case 2326:case 2327:case 2328:case 2329:case 2330:case 2331:case 2332:case 2333:case 2334:case 2335:case 2336:case 2337:case 2338:case 2339:case 2340:case 2341:case 2342:case 2343:case 2344:case 2345:case 2346:case 2347:case 2348:case 2349:case 2350:case 2351:case 2352:case 2353:case 2354:case 2355:case 2356:case 2357:case 2358:case 2359:case 2360:case 2361:case 2362:case 2363:case 2364:case 2365:case 2366:case 2367:case 2368:case 2369:case 2370:case 2371:case 2372:case 2373:case 2374:case 2375:case 2376:case 2377:case 2378:case 2379:case 2380:case 2381:case 2382:case 2383:case 2384:case 2385:case 2386:case 2387:case 2388:case 2389:case 2390:case 2391:case 2392:case 2393:case 2394:case 2395:case 2396:case 2397:case 2398:case 2399:case 2400:case 2401:case 2402:case 2403:case 2404:case 2405:case 2406:case 2407:case 2408:case 2409:case 2410:case 2411:case 2412:case 2413:case 2414:case 2415:case 2416:case 2417:case 2418:case 2419:case 2420:case 2421:case 2422:case 2423:case 2424:case 2425:case 2426:case 2427:case 2428:case 2429:case 2430:case 2431:case 2432:case 2433:case 2434:case 2435:case 2436:case 2437:case 2438:case 2439:case 2440:case 2441:case 2442:case 2443:case 2444:case 2445:case 2446:case 2447:case 2448:case 2449:case 2450:case 2451:case 2452:case 2453:case 2454:case 2455:case 2456:case 2457:case 2458:case 2459:case 2460:case 2461:case 2462:case 2463:case 2464:case 2465:case 2466:case 2467:case 2468:case 2469:case 2470:case 2471:case 2472:case 2473:case 2474:case 2475:case 2476:case 2477:case 2478:case 2479:case 2480:case 2481:case 2482:case 2483:case 2484:case 2485:case 2486:case 2487:case 2488:case 2489:case 2490:case 2491:case 2492:case 2493:case 2494:case 2495:case 2496:case 2497:case 2498:case 2499:case 2500:case 2501:case 2502:case 2503:case 2504:case 2505:case 2506:case 2507:case 2508:case 2509:case 2510:case 2511:case 2512:case 2513:case 2514:case 2515:case 2516:case 2517:case 2518:case 2519:case 2520:case 2521:case 2522:case 2523:case 2524:case 2525:case 2526:case 2527:case 2528:case 2529:case 2530:case 2531:case 2532:case 2533:case 2534:case 2535:case 2536:case 2537:case 2538:case 2539:case 2540:case 2541:case 2542:case 2543:case 2544:case 2545:case 2546:case 2547:case 2548:case 2549:case 2550:case 2551:case 2552:case 2553:case 2554:case 2555:case 2556:case 2557:case 2558:case 2559:case 2560:case 2561:case 2562:case 2563:case 2564:case 2565:case 2566:case 2567:case 2568:case 2569:case 2570:case 2571:case 2572:case 2573:case 2574:case 2575:case 2576:case 2577:case 2578:case 2579:case 2580:case 2581:case 2582:case 2583:case 2584:case 2585:case 2586:case 2587:case 2588:case 2589:case 2590:case 2591:case 2592:case 2593:case 2594:case 2595:case 2596:case 2597:case 2598:case 2599:case 2600:case 2601:case 2602:case 2603:case 2604:case 2605:case 2606:case 2607:case 2608:case 2609:case 2610:case 2611:case 2612:case 2613:case 2614:case 2615:case 2616:case 2617:case 2618:case 2619:case 2620:case 2621:case 2622:case 2623:case 2624:case 2625:case 2626:case 2627:case 2628:case 2629:case 2630:case 2631:case 2632:case 2633:case 2634:case 2635:case 2636:case 2637:case 2638:case 2639:case 2640:case 2641:case 2642:case 2643:case 2644:case 2645:case 2646:case 2647:case 2648:case 2649:case 2650:case 2651:case 2652:case 2653:case 2654:case 2655:case 2656:case 2657:case 2658:case 2659:case 2660:case 2661:case 2662:case 2663:case 2664:case 2665:case 2666:case 2667:case 2668:case 2669:case 2670:case 2671:case 2672:case 2673:case 2674:case 2675:case 2676:case 2677:case 2678:case 2679:case 2680:case 2681:case 2682:case 2683:case 2684:case 2685:case 2686:case 2687:case 2688:case 2689:case 2690:case 2691:case 2692:case 2693:case 2694:case 2695:case 2696:case 2697:case 2698:case 2699:case 2700:case 2701:case 2702:case 2703:case 2704:case 2705:case 2706:case 2707:case 2708:case 2709:case 2710:case 2711:case 2712:case 2713:case 2714:case 2715:case 2716:case 2717:case 2718:case 2719:case 2720:case 2721:case 2722:case 2723:case 2724:case 2725:case 2726:case 2727:case 2728:case 2729:case 2730:case 2731:case 2732:case 2733:case 2734:case 2735:case 2736:case 2737:case 2738:case 2739:case 2740:case 2741:case 2742:case 2743:case 2744:case 2745:case 2746:case 2747:case 2748:case 2749:case 2750:case 2751:case 2752:case 2753:case 2754:case 2755:case 2756:case 2757:case 2758:case 2759:case 2760:case 2761:case 2762:case 2763:case 2764:case 2765:case 2766:case 2767:case 2768:case 2769:case 2770:case 2771:case 2772:case 2773:case 2774:case 2775:case 2776:case 2777:case 2778:case 2779:case 2780:case 2781:case 2782:case 2783:case 2784:case 2785:case 2786:case 2787:case 2788:case 2789:case 2790:case 2791:case 2792:case 2793:case 2794:case 2795:case 2796:case 2797:case 2798:case 2799:case 2800:case 2801:case 2802:case 2803:case 2804:case 2805:case 2806:case 2807:case 2808:case 2809:case 2810:case 2811:case 2812:case 2813:case 2814:case 2815:case 2816:case 2817:case 2818:case 2819:case 2820:case 2821:case 2822:case 2823:case 2824:case 2825:case 2826:case 2827:case 2828:case 2829:case 2830:case 2831:case 2832:case 2833:case 2834:case 2835:case 2836:case 2837:case 2838:case 2839:case 2840:case 2841:case 2842:case 2843:case 2844:case 2845:case 2846:case 2847:case 2848:case 2849:case 2850:case 2851:case 2852:case 2853:case 2854:case 2855:case 2856:case 2857:case 2858:case 2859:case 2860:case 2861:case 2862:case 2863:case 2864:case 2865:case 2866:case 2867:case 2868:case 2869:case 2870:case 2871:case 2872:case 2873:case 2874:case 2875:case 2876:case 2877:case 2878:case 2879:case 2880:case 2881:case 2882:case 2883:case 2884:case 2885:case 2886:case 2887:case 2888:case 2889:case 2890:case 2891:case 2892:case 2893:case 2894:case 2895:case 2896:case 2897:case 2898:case 2899:case 2900:case 2901:case 2902:case 2903:case 2904:case 2905:case 2906:case 2907:case 2908:case 2909:case 2910:case 2911:case 2912:case 2913:case 2914:case 2915:case 2916:case 2917:case 2918:case 2919:case 2920:case 2921:case 2922:case 2923:case 2924:case 2925:case 2926:case 2927:case 2928:case 2929:case 2930:case 2931:case 2932:case 2933:case 2934:case 2935:case 2936:case 2937:case 2938:case 2939:case 2940:case 2941:case 2942:case 2943:case 2944:case 2945:case 2946:case 2947:case 2948:case 2949:case 2950:case 2951:case 2952:case 2953:case 2954:case 2955:case 2956:case 2957:case 2958:case 2959:case 2960:case 2961:case 2962:case 2963:case 2964:case 2965:case 2966:case 2967:case 2968:case 2969:case 2970:case 2971:case 2972:case 2973:case 2974:case 2975:case 2976:case 2977:case 2978:case 2979:case 2980:case 2981:case 2982:case 2983:case 2984:case 2985:case 2986:case 2987:case 2988:case 2989:case 2990:case 2991:case 2992:case 2993:case 2994:case 2995:case 2996:case 2997:case 2998:case 2999:case 3000:case 3001:case 3002:case 3003:case 3004:case 3005:case 3006:case 3007:case 3008:case 3009:case 3010:case 3011:case 3012:case 3013:case 3014:case 3015:case 3016:case 3017:case 3018:case 3019:case 3020:case 3021:case 3022:case 3023:case 3024:case 3025:case 3026:case 3027:case 3028:case 3029:case 3030:case 3031:case 3032:case 3033:case 3034:case 3035:case 3036:case 3037:case 3038:case 3039:case 3040:case 3041:case 3042:case 3043:case 3044:case 3045:case 3046:case 3047:case 3048:case 3049:case 3050:case 3051:case 3052:case 3053:case 3054:case 3055:case 3056:case 3057:case 3058:case 3059:case 3060:case 3061:case 3062:case 3063:case 3064:case 3065:case 3066:case 3067:case 3068:case 3069:case 3070:case 3071:case 3072:case 3073:case 3074:case 3075:case 3076:case 3077:case 3078:case 3079:case 3080:case 3081:case 3082:case 3083:case 3084:case 3085:case 3086:case 3087:case 3088:case 3089:case 3090:case 3091:case 3092:case 3093:case 3094:case 3095:case 3096:case 3097:case 3098:case 3099:case 3100:case 3101:case 3102:case 3103:case 3104:case 3105:case 3106:case 3107:case 3108:case 3109:case 3110:case 3111:case 3112:case 3113:case 3114:case 3115:case 3116:case 3117:case 3118:case 3119:case 3120:case 3121:case 3122:case 3123:case 3124:case 3125:case 3126:case 3127:case 3128:case 3129:case 3130:case 3131:case 3132:case 3133:case 3134:case 3135:case 3136:case 3137:case 3138:case 3139:case 3140:case 3141:case 3142:case 3143:case 3144:case 3145:case 3146:case 3147:case 3148:case 3149:case 3150:case 3151:case 3152:case 3153:case 3154:case 3155:case 3156:case 3157:case 3158:case 3159:case 3160:case 3161:case 3162:case 3163:case 3164:case 3165:case 3166:case 3167:case 3168:case 3169:case 3170:case 3171:case 3172:case 3173:case 3174:case 3175:case 3176:case 3177:case 3178:case 3179:case 3180:case 3181:case 3182:case 3183:case 3184:case 3185:case 3186:case 3187:case 3188:case 3189:case 3190:case 3191:case 3192:case 3193:case 3194:case 3195:case 3196:case 3197:case 3198:case 3199:case 3200:case 3201:case 3202:case 3203:case 3204:case 3205:case 3206:case 3207:case 3208:case 3209:case 3210:case 3211:case 3212:case 3213:case 3214:case 3215:case 3216:case 3217:case 3218:case 3219:case 3220:case 3221:case 3222:case 3223:case 3224:case 3225:case 3226:case 3227:case 3228:case 3229:case 3230:case 3231:case 3232:case 3233:case 3234:case 3235:case 3236:case 3237:case 3238:case 3239:case 3240:case 3241:case 3242:case 3243:case 3244:case 3245:case 3246:case 3247:case 3248:case 3249:case 3250:case 3251:case 3252:case 3253:case 3254:case 3255:case 3256:case 3257:case 3258:case 3259:case 3260:case 3261:case 3262:case 3263:case 3264:case 3265:case 3266:case 3267:case 3268:case 3269:case 3270:case 3271:case 3272:case 3273:case 3274:case 3275:case 3276:case 3277:case 3278:case 3279:case 3280:case 3281:case 3282:case 3283:case 3284:case 3285:case 3286:case 3287:case 3288:case 3289:case 3290:case 3291:case 3292:case 3293:case 3294:case 3295:case 3296:case 3297:case 3298:case 3299:case 3300:case 3301:case 3302:case 3303:case 3304:case 3305:case 3306:case 3307:case 3308:case 3309:case 3310:case 3311:case 3312:case 3313:case 3314:case 3315:case 3316:case 3317:case 3318:case 3319:case 3320:case 3321:case 3322:case 3323:case 3324:case 3325:case 3326:case 3327:case 3328:case 3329:case 3330:case 3331:case 3332:case 3333:case 3334:case 3335:case 3336:case 3337:case 3338:case 3339:case 3340:case 3341:case 3342:case 3343:case 3344:case 3345:case 3346:case 3347:case 3348:case 3349:case 3350:case 3351:case 3352:case 3353: return Type::RedstoneWire;
- case 4031:case 4032:case 4033:case 4034:case 4035:case 4036:case 4037:case 4038:case 4039:case 4040:case 4041:case 4042:case 4043:case 4044:case 4045:case 4046:case 4047:case 4048:case 4049:case 4050:case 4051:case 4052:case 4053:case 4054:case 4055:case 4056:case 4057:case 4058:case 4059:case 4060:case 4061:case 4062:case 4063:case 4064:case 4065:case 4066:case 4067:case 4068:case 4069:case 4070:case 4071:case 4072:case 4073:case 4074:case 4075:case 4076:case 4077:case 4078:case 4079:case 4080:case 4081:case 4082:case 4083:case 4084:case 4085:case 4086:case 4087:case 4088:case 4089:case 4090:case 4091:case 4092:case 4093:case 4094: return Type::Repeater;
- case 9225:case 9226:case 9227:case 9228:case 9229:case 9230:case 9231:case 9232:case 9233:case 9234:case 9235:case 9236: return Type::RepeatingCommandBlock;
- case 15829:case 15830:case 15831:case 15832:case 15833: return Type::RespawnAnchor;
- case 7889:case 7890: return Type::RoseBush;
- case 66: return Type::Sand;
- case 246: return Type::Sandstone;
- case 8349:case 8351:case 8353: return Type::SandstoneSlab;
- case 5171:case 5173:case 5175:case 5177:case 5179:case 5181:case 5183:case 5185:case 5187:case 5189:case 5191:case 5193:case 5195:case 5197:case 5199:case 5201:case 5203:case 5205:case 5207:case 5209:case 5211:case 5213:case 5215:case 5217:case 5219:case 5221:case 5223:case 5225:case 5227:case 5229:case 5231:case 5233:case 5235:case 5237:case 5239:case 5241:case 5243:case 5245:case 5247:case 5249: return Type::SandstoneStairs;
- case 13786:case 13787:case 13788:case 13792:case 13793:case 13794:case 13798:case 13799:case 13800:case 13804:case 13805:case 13806:case 13810:case 13811:case 13812:case 13816:case 13817:case 13818:case 13822:case 13823:case 13824:case 13828:case 13829:case 13830:case 13834:case 13835:case 13836:case 13840:case 13841:case 13842:case 13846:case 13847:case 13848:case 13852:case 13853:case 13854:case 13858:case 13859:case 13860:case 13864:case 13865:case 13866:case 13870:case 13871:case 13872:case 13876:case 13877:case 13878:case 13882:case 13883:case 13884:case 13888:case 13889:case 13890:case 13894:case 13895:case 13896:case 13900:case 13901:case 13902:case 13906:case 13907:case 13908:case 13912:case 13913:case 13914:case 13918:case 13919:case 13920:case 13924:case 13925:case 13926:case 13930:case 13931:case 13932:case 13936:case 13937:case 13938:case 13942:case 13943:case 13944:case 13948:case 13949:case 13950:case 13954:case 13955:case 13956:case 13960:case 13961:case 13962:case 13966:case 13967:case 13968:case 13972:case 13973:case 13974:case 13978:case 13979:case 13980:case 13984:case 13985:case 13986:case 13990:case 13991:case 13992:case 13996:case 13997:case 13998:case 14002:case 14003:case 14004:case 14008:case 14009:case 14010:case 14014:case 14015:case 14016:case 14020:case 14021:case 14022:case 14026:case 14027:case 14028:case 14032:case 14033:case 14034:case 14038:case 14039:case 14040:case 14044:case 14045:case 14046:case 14050:case 14051:case 14052:case 14056:case 14057:case 14058:case 14062:case 14063:case 14064:case 14068:case 14069:case 14070:case 14074:case 14075:case 14076:case 14080:case 14081:case 14082:case 14086:case 14087:case 14088:case 14092:case 14093:case 14094:case 14098:case 14099:case 14100:case 14104:case 14105:case 14106: return Type::SandstoneWall;
- case 14756:case 14758:case 14760:case 14762:case 14764:case 14766:case 14768:case 14770:case 14772:case 14774:case 14776:case 14778:case 14780:case 14782:case 14784:case 14786: return Type::Scaffolding;
- case 7862: return Type::SeaLantern;
- case 9641:case 9643:case 9645:case 9647: return Type::SeaPickle;
- case 1345: return Type::Seagrass;
- case 14989: return Type::Shroomlight;
- case 9272:case 9273:case 9274:case 9275:case 9276:case 9277: return Type::ShulkerBox;
- case 6490:case 6491:case 6492:case 6493:case 6494:case 6495:case 6496:case 6497:case 6498:case 6499:case 6500:case 6501:case 6502:case 6503:case 6504:case 6505: return Type::SkeletonSkull;
- case 6506:case 6507:case 6508:case 6509: return Type::SkeletonWallSkull;
- case 7535: return Type::SlimeBlock;
- case 14849: return Type::SmithingTable;
- case 14803:case 14804:case 14805:case 14806:case 14807:case 14808:case 14809:case 14810: return Type::Smoker;
- case 8416: return Type::SmoothQuartz;
- case 10832:case 10834:case 10836: return Type::SmoothQuartzSlab;
- case 10310:case 10312:case 10314:case 10316:case 10318:case 10320:case 10322:case 10324:case 10326:case 10328:case 10330:case 10332:case 10334:case 10336:case 10338:case 10340:case 10342:case 10344:case 10346:case 10348:case 10350:case 10352:case 10354:case 10356:case 10358:case 10360:case 10362:case 10364:case 10366:case 10368:case 10370:case 10372:case 10374:case 10376:case 10378:case 10380:case 10382:case 10384:case 10386:case 10388: return Type::SmoothQuartzStairs;
- case 8417: return Type::SmoothRedSandstone;
- case 10796:case 10798:case 10800: return Type::SmoothRedSandstoneSlab;
- case 9750:case 9752:case 9754:case 9756:case 9758:case 9760:case 9762:case 9764:case 9766:case 9768:case 9770:case 9772:case 9774:case 9776:case 9778:case 9780:case 9782:case 9784:case 9786:case 9788:case 9790:case 9792:case 9794:case 9796:case 9798:case 9800:case 9802:case 9804:case 9806:case 9808:case 9810:case 9812:case 9814:case 9816:case 9818:case 9820:case 9822:case 9824:case 9826:case 9828: return Type::SmoothRedSandstoneStairs;
- case 8415: return Type::SmoothSandstone;
- case 10826:case 10828:case 10830: return Type::SmoothSandstoneSlab;
- case 10230:case 10232:case 10234:case 10236:case 10238:case 10240:case 10242:case 10244:case 10246:case 10248:case 10250:case 10252:case 10254:case 10256:case 10258:case 10260:case 10262:case 10264:case 10266:case 10268:case 10270:case 10272:case 10274:case 10276:case 10278:case 10280:case 10282:case 10284:case 10286:case 10288:case 10290:case 10292:case 10294:case 10296:case 10298:case 10300:case 10302:case 10304:case 10306:case 10308: return Type::SmoothSandstoneStairs;
- case 8414: return Type::SmoothStone;
- case 8343:case 8345:case 8347: return Type::SmoothStoneSlab;
- case 3921:case 3922:case 3923:case 3924:case 3925:case 3926:case 3927:case 3928: return Type::Snow;
- case 3930: return Type::SnowBlock;
- case 14923:case 14925:case 14927:case 14929:case 14931:case 14933:case 14935:case 14937:case 14939:case 14941:case 14943:case 14945:case 14947:case 14949:case 14951:case 14953: return Type::SoulCampfire;
- case 1952: return Type::SoulFire;
- case 14888:case 14889: return Type::SoulLantern;
- case 4000: return Type::SoulSand;
- case 4001: return Type::SoulSoil;
- case 4008: return Type::SoulTorch;
- case 4009:case 4010:case 4011:case 4012: return Type::SoulWallTorch;
- case 1953: return Type::Spawner;
- case 229: return Type::Sponge;
- case 6370:case 6371:case 6372:case 6373:case 6374:case 6375:case 6376:case 6377:case 6378:case 6379:case 6380:case 6381:case 6382:case 6383:case 6384:case 6385:case 6386:case 6387:case 6388:case 6389:case 6390:case 6391:case 6392:case 6393: return Type::SpruceButton;
- case 8738:case 8739:case 8740:case 8741:case 8742:case 8743:case 8744:case 8745:case 8746:case 8747:case 8748:case 8749:case 8750:case 8751:case 8752:case 8753:case 8754:case 8755:case 8756:case 8757:case 8758:case 8759:case 8760:case 8761:case 8762:case 8763:case 8764:case 8765:case 8766:case 8767:case 8768:case 8769:case 8770:case 8771:case 8772:case 8773:case 8774:case 8775:case 8776:case 8777:case 8778:case 8779:case 8780:case 8781:case 8782:case 8783:case 8784:case 8785:case 8786:case 8787:case 8788:case 8789:case 8790:case 8791:case 8792:case 8793:case 8794:case 8795:case 8796:case 8797:case 8798:case 8799:case 8800:case 8801: return Type::SpruceDoor;
- case 8580:case 8581:case 8584:case 8585:case 8588:case 8589:case 8592:case 8593:case 8596:case 8597:case 8600:case 8601:case 8604:case 8605:case 8608:case 8609: return Type::SpruceFence;
- case 8418:case 8419:case 8420:case 8421:case 8422:case 8423:case 8424:case 8425:case 8426:case 8427:case 8428:case 8429:case 8430:case 8431:case 8432:case 8433:case 8434:case 8435:case 8436:case 8437:case 8438:case 8439:case 8440:case 8441:case 8442:case 8443:case 8444:case 8445:case 8446:case 8447:case 8448:case 8449: return Type::SpruceFenceGate;
- case 159:case 160:case 161:case 162:case 163:case 164:case 165:case 166:case 167:case 168:case 169:case 170:case 171:case 172: return Type::SpruceLeaves;
- case 76:case 77:case 78: return Type::SpruceLog;
- case 16: return Type::SprucePlanks;
- case 3875:case 3876: return Type::SprucePressurePlate;
- case 23:case 24: return Type::SpruceSapling;
- case 3414:case 3416:case 3418:case 3420:case 3422:case 3424:case 3426:case 3428:case 3430:case 3432:case 3434:case 3436:case 3438:case 3440:case 3442:case 3444: return Type::SpruceSign;
- case 8307:case 8309:case 8311: return Type::SpruceSlab;
- case 5405:case 5407:case 5409:case 5411:case 5413:case 5415:case 5417:case 5419:case 5421:case 5423:case 5425:case 5427:case 5429:case 5431:case 5433:case 5435:case 5437:case 5439:case 5441:case 5443:case 5445:case 5447:case 5449:case 5451:case 5453:case 5455:case 5457:case 5459:case 5461:case 5463:case 5465:case 5467:case 5469:case 5471:case 5473:case 5475:case 5477:case 5479:case 5481:case 5483: return Type::SpruceStairs;
- case 4176:case 4178:case 4180:case 4182:case 4184:case 4186:case 4188:case 4190:case 4192:case 4194:case 4196:case 4198:case 4200:case 4202:case 4204:case 4206:case 4208:case 4210:case 4212:case 4214:case 4216:case 4218:case 4220:case 4222:case 4224:case 4226:case 4228:case 4230:case 4232:case 4234:case 4236:case 4238: return Type::SpruceTrapdoor;
- case 3744:case 3746:case 3748:case 3750: return Type::SpruceWallSign;
- case 112:case 113:case 114: return Type::SpruceWood;
- case 1329:case 1330:case 1331:case 1332:case 1333:case 1334:case 1335:case 1336:case 1337:case 1338:case 1339:case 1340: return Type::StickyPiston;
- case 1: return Type::Stone;
- case 8379:case 8381:case 8383: return Type::StoneBrickSlab;
- case 4933:case 4935:case 4937:case 4939:case 4941:case 4943:case 4945:case 4947:case 4949:case 4951:case 4953:case 4955:case 4957:case 4959:case 4961:case 4963:case 4965:case 4967:case 4969:case 4971:case 4973:case 4975:case 4977:case 4979:case 4981:case 4983:case 4985:case 4987:case 4989:case 4991:case 4993:case 4995:case 4997:case 4999:case 5001:case 5003:case 5005:case 5007:case 5009:case 5011: return Type::StoneBrickStairs;
- case 12490:case 12491:case 12492:case 12496:case 12497:case 12498:case 12502:case 12503:case 12504:case 12508:case 12509:case 12510:case 12514:case 12515:case 12516:case 12520:case 12521:case 12522:case 12526:case 12527:case 12528:case 12532:case 12533:case 12534:case 12538:case 12539:case 12540:case 12544:case 12545:case 12546:case 12550:case 12551:case 12552:case 12556:case 12557:case 12558:case 12562:case 12563:case 12564:case 12568:case 12569:case 12570:case 12574:case 12575:case 12576:case 12580:case 12581:case 12582:case 12586:case 12587:case 12588:case 12592:case 12593:case 12594:case 12598:case 12599:case 12600:case 12604:case 12605:case 12606:case 12610:case 12611:case 12612:case 12616:case 12617:case 12618:case 12622:case 12623:case 12624:case 12628:case 12629:case 12630:case 12634:case 12635:case 12636:case 12640:case 12641:case 12642:case 12646:case 12647:case 12648:case 12652:case 12653:case 12654:case 12658:case 12659:case 12660:case 12664:case 12665:case 12666:case 12670:case 12671:case 12672:case 12676:case 12677:case 12678:case 12682:case 12683:case 12684:case 12688:case 12689:case 12690:case 12694:case 12695:case 12696:case 12700:case 12701:case 12702:case 12706:case 12707:case 12708:case 12712:case 12713:case 12714:case 12718:case 12719:case 12720:case 12724:case 12725:case 12726:case 12730:case 12731:case 12732:case 12736:case 12737:case 12738:case 12742:case 12743:case 12744:case 12748:case 12749:case 12750:case 12754:case 12755:case 12756:case 12760:case 12761:case 12762:case 12766:case 12767:case 12768:case 12772:case 12773:case 12774:case 12778:case 12779:case 12780:case 12784:case 12785:case 12786:case 12790:case 12791:case 12792:case 12796:case 12797:case 12798:case 12802:case 12803:case 12804:case 12808:case 12809:case 12810: return Type::StoneBrickWall;
- case 4495: return Type::StoneBricks;
- case 3897:case 3898:case 3899:case 3900:case 3901:case 3902:case 3903:case 3904:case 3905:case 3906:case 3907:case 3908:case 3909:case 3910:case 3911:case 3912:case 3913:case 3914:case 3915:case 3916:case 3917:case 3918:case 3919:case 3920: return Type::StoneButton;
- case 3807:case 3808: return Type::StonePressurePlate;
- case 8337:case 8339:case 8341: return Type::StoneSlab;
- case 10150:case 10152:case 10154:case 10156:case 10158:case 10160:case 10162:case 10164:case 10166:case 10168:case 10170:case 10172:case 10174:case 10176:case 10178:case 10180:case 10182:case 10184:case 10186:case 10188:case 10190:case 10192:case 10194:case 10196:case 10198:case 10200:case 10202:case 10204:case 10206:case 10208:case 10210:case 10212:case 10214:case 10216:case 10218:case 10220:case 10222:case 10224:case 10226:case 10228: return Type::StoneStairs;
- case 14850:case 14851:case 14852:case 14853: return Type::Stonecutter;
- case 100:case 101:case 102: return Type::StrippedAcaciaLog;
- case 139:case 140:case 141: return Type::StrippedAcaciaWood;
- case 94:case 95:case 96: return Type::StrippedBirchLog;
- case 133:case 134:case 135: return Type::StrippedBirchWood;
- case 14984:case 14985:case 14986: return Type::StrippedCrimsonHyphae;
- case 14978:case 14979:case 14980: return Type::StrippedCrimsonStem;
- case 103:case 104:case 105: return Type::StrippedDarkOakLog;
- case 142:case 143:case 144: return Type::StrippedDarkOakWood;
- case 97:case 98:case 99: return Type::StrippedJungleLog;
- case 136:case 137:case 138: return Type::StrippedJungleWood;
- case 106:case 107:case 108: return Type::StrippedOakLog;
- case 127:case 128:case 129: return Type::StrippedOakWood;
- case 91:case 92:case 93: return Type::StrippedSpruceLog;
- case 130:case 131:case 132: return Type::StrippedSpruceWood;
- case 14967:case 14968:case 14969: return Type::StrippedWarpedHyphae;
- case 14961:case 14962:case 14963: return Type::StrippedWarpedStem;
- case 15735:case 15736:case 15737:case 15738: return Type::StructureBlock;
- case 9259: return Type::StructureVoid;
- case 3948:case 3949:case 3950:case 3951:case 3952:case 3953:case 3954:case 3955:case 3956:case 3957:case 3958:case 3959:case 3960:case 3961:case 3962:case 3963: return Type::SugarCane;
- case 7885:case 7886: return Type::Sunflower;
- case 14954:case 14955:case 14956:case 14957: return Type::SweetBerryBush;
- case 1430:case 1431: return Type::TNT;
- case 7893:case 7894: return Type::TallGrass;
- case 1346:case 1347: return Type::TallSeagrass;
- case 15760:case 15761:case 15762:case 15763:case 15764:case 15765:case 15766:case 15767:case 15768:case 15769:case 15770:case 15771:case 15772:case 15773:case 15774:case 15775: return Type::Target;
- case 7882: return Type::Terracotta;
- case 1435: return Type::Torch;
- case 6623:case 6625:case 6627:case 6629:case 6631:case 6633:case 6635:case 6637:case 6639:case 6641:case 6643:case 6645: return Type::TrappedChest;
- case 5275:case 5276:case 5277:case 5278:case 5279:case 5280:case 5281:case 5282:case 5283:case 5284:case 5285:case 5286:case 5287:case 5288:case 5289:case 5290:case 5291:case 5292:case 5293:case 5294:case 5295:case 5296:case 5297:case 5298:case 5299:case 5300:case 5301:case 5302:case 5303:case 5304:case 5305:case 5306:case 5307:case 5308:case 5309:case 5310:case 5311:case 5312:case 5313:case 5314:case 5315:case 5316:case 5317:case 5318:case 5319:case 5320:case 5321:case 5322:case 5323:case 5324:case 5325:case 5326:case 5327:case 5328:case 5329:case 5330:case 5331:case 5332:case 5333:case 5334:case 5335:case 5336:case 5337:case 5338:case 5339:case 5340:case 5341:case 5342:case 5343:case 5344:case 5345:case 5346:case 5347:case 5348:case 5349:case 5350:case 5351:case 5352:case 5353:case 5354:case 5355:case 5356:case 5357:case 5358:case 5359:case 5360:case 5361:case 5362:case 5363:case 5364:case 5365:case 5366:case 5367:case 5368:case 5369:case 5370:case 5371:case 5372:case 5373:case 5374:case 5375:case 5376:case 5377:case 5378:case 5379:case 5380:case 5381:case 5382:case 5383:case 5384:case 5385:case 5386:case 5387:case 5388:case 5389:case 5390:case 5391:case 5392:case 5393:case 5394:case 5395:case 5396:case 5397:case 5398:case 5399:case 5400:case 5401:case 5402: return Type::Tripwire;
- case 5259:case 5260:case 5261:case 5262:case 5263:case 5264:case 5265:case 5266:case 5267:case 5268:case 5269:case 5270:case 5271:case 5272:case 5273:case 5274: return Type::TripwireHook;
- case 9531: return Type::TubeCoral;
- case 9515: return Type::TubeCoralBlock;
- case 9551: return Type::TubeCoralFan;
- case 9601:case 9603:case 9605:case 9607: return Type::TubeCoralWallFan;
- case 9498:case 9499:case 9500:case 9501:case 9502:case 9503:case 9504:case 9505:case 9506:case 9507:case 9508:case 9509: return Type::TurtleEgg;
- case 15017:case 15018:case 15019:case 15020:case 15021:case 15022:case 15023:case 15024:case 15025:case 15026:case 15027:case 15028:case 15029:case 15030:case 15031:case 15032:case 15033:case 15034:case 15035:case 15036:case 15037:case 15038:case 15039:case 15040:case 15041:case 15042: return Type::TwistingVines;
- case 15043: return Type::TwistingVinesPlant;
- case 4788:case 4789:case 4790:case 4791:case 4792:case 4793:case 4794:case 4795:case 4796:case 4797:case 4798:case 4799:case 4800:case 4801:case 4802:case 4803:case 4804:case 4805:case 4806:case 4807:case 4808:case 4809:case 4810:case 4811:case 4812:case 4813:case 4814:case 4815:case 4816:case 4817:case 4818:case 4819: return Type::Vine;
- case 9665: return Type::VoidAir;
- case 1436:case 1437:case 1438:case 1439: return Type::WallTorch;
- case 15503:case 15504:case 15505:case 15506:case 15507:case 15508:case 15509:case 15510:case 15511:case 15512:case 15513:case 15514:case 15515:case 15516:case 15517:case 15518:case 15519:case 15520:case 15521:case 15522:case 15523:case 15524:case 15525:case 15526: return Type::WarpedButton;
- case 15591:case 15592:case 15593:case 15594:case 15595:case 15596:case 15597:case 15598:case 15599:case 15600:case 15601:case 15602:case 15603:case 15604:case 15605:case 15606:case 15607:case 15608:case 15609:case 15610:case 15611:case 15612:case 15613:case 15614:case 15615:case 15616:case 15617:case 15618:case 15619:case 15620:case 15621:case 15622:case 15623:case 15624:case 15625:case 15626:case 15627:case 15628:case 15629:case 15630:case 15631:case 15632:case 15633:case 15634:case 15635:case 15636:case 15637:case 15638:case 15639:case 15640:case 15641:case 15642:case 15643:case 15644:case 15645:case 15646:case 15647:case 15648:case 15649:case 15650:case 15651:case 15652:case 15653:case 15654: return Type::WarpedDoor;
- case 15097:case 15098:case 15101:case 15102:case 15105:case 15106:case 15109:case 15110:case 15113:case 15114:case 15117:case 15118:case 15121:case 15122:case 15125:case 15126: return Type::WarpedFence;
- case 15287:case 15288:case 15289:case 15290:case 15291:case 15292:case 15293:case 15294:case 15295:case 15296:case 15297:case 15298:case 15299:case 15300:case 15301:case 15302:case 15303:case 15304:case 15305:case 15306:case 15307:case 15308:case 15309:case 15310:case 15311:case 15312:case 15313:case 15314:case 15315:case 15316:case 15317:case 15318: return Type::WarpedFenceGate;
- case 14971: return Type::WarpedFungus;
- case 14964:case 14965:case 14966: return Type::WarpedHyphae;
- case 14970: return Type::WarpedNylium;
- case 15046: return Type::WarpedPlanks;
- case 15061:case 15062: return Type::WarpedPressurePlate;
- case 14973: return Type::WarpedRoots;
- case 15688:case 15690:case 15692:case 15694:case 15696:case 15698:case 15700:case 15702:case 15704:case 15706:case 15708:case 15710:case 15712:case 15714:case 15716:case 15718: return Type::WarpedSign;
- case 15054:case 15056:case 15058: return Type::WarpedSlab;
- case 15400:case 15402:case 15404:case 15406:case 15408:case 15410:case 15412:case 15414:case 15416:case 15418:case 15420:case 15422:case 15424:case 15426:case 15428:case 15430:case 15432:case 15434:case 15436:case 15438:case 15440:case 15442:case 15444:case 15446:case 15448:case 15450:case 15452:case 15454:case 15456:case 15458:case 15460:case 15462:case 15464:case 15466:case 15468:case 15470:case 15472:case 15474:case 15476:case 15478: return Type::WarpedStairs;
- case 14958:case 14959:case 14960: return Type::WarpedStem;
- case 15192:case 15194:case 15196:case 15198:case 15200:case 15202:case 15204:case 15206:case 15208:case 15210:case 15212:case 15214:case 15216:case 15218:case 15220:case 15222:case 15224:case 15226:case 15228:case 15230:case 15232:case 15234:case 15236:case 15238:case 15240:case 15242:case 15244:case 15246:case 15248:case 15250:case 15252:case 15254: return Type::WarpedTrapdoor;
- case 15728:case 15730:case 15732:case 15734: return Type::WarpedWallSign;
- case 14972: return Type::WarpedWartBlock;
- case 34:case 35:case 36:case 37:case 38:case 39:case 40:case 41:case 42:case 43:case 44:case 45:case 46:case 47:case 48:case 49: return Type::Water;
- case 14990:case 14991:case 14992:case 14993:case 14994:case 14995:case 14996:case 14997:case 14998:case 14999:case 15000:case 15001:case 15002:case 15003:case 15004:case 15005:case 15006:case 15007:case 15008:case 15009:case 15010:case 15011:case 15012:case 15013:case 15014:case 15015: return Type::WeepingVines;
- case 15016: return Type::WeepingVinesPlant;
- case 230: return Type::WetSponge;
- case 3357:case 3358:case 3359:case 3360:case 3361:case 3362:case 3363:case 3364: return Type::Wheat;
- case 7897:case 7898:case 7899:case 7900:case 7901:case 7902:case 7903:case 7904:case 7905:case 7906:case 7907:case 7908:case 7909:case 7910:case 7911:case 7912: return Type::WhiteBanner;
- case 1049:case 1050:case 1051:case 1052:case 1053:case 1054:case 1055:case 1056:case 1057:case 1058:case 1059:case 1060:case 1061:case 1062:case 1063:case 1064: return Type::WhiteBed;
- case 7866: return Type::WhiteCarpet;
- case 9438: return Type::WhiteConcrete;
- case 9454: return Type::WhiteConcretePowder;
- case 9374:case 9375:case 9376:case 9377: return Type::WhiteGlazedTerracotta;
- case 9278:case 9279:case 9280:case 9281:case 9282:case 9283: return Type::WhiteShulkerBox;
- case 4095: return Type::WhiteStainedGlass;
- case 6865:case 6866:case 6869:case 6870:case 6873:case 6874:case 6877:case 6878:case 6881:case 6882:case 6885:case 6886:case 6889:case 6890:case 6893:case 6894: return Type::WhiteStainedGlassPane;
- case 6847: return Type::WhiteTerracotta;
- case 1419: return Type::WhiteTulip;
- case 8153:case 8154:case 8155:case 8156: return Type::WhiteWallBanner;
- case 1384: return Type::WhiteWool;
- case 1423: return Type::WitherRose;
- case 6510:case 6511:case 6512:case 6513:case 6514:case 6515:case 6516:case 6517:case 6518:case 6519:case 6520:case 6521:case 6522:case 6523:case 6524:case 6525: return Type::WitherSkeletonSkull;
- case 6526:case 6527:case 6528:case 6529: return Type::WitherSkeletonWallSkull;
- case 7961:case 7962:case 7963:case 7964:case 7965:case 7966:case 7967:case 7968:case 7969:case 7970:case 7971:case 7972:case 7973:case 7974:case 7975:case 7976: return Type::YellowBanner;
- case 1113:case 1114:case 1115:case 1116:case 1117:case 1118:case 1119:case 1120:case 1121:case 1122:case 1123:case 1124:case 1125:case 1126:case 1127:case 1128: return Type::YellowBed;
- case 7870: return Type::YellowCarpet;
- case 9442: return Type::YellowConcrete;
- case 9458: return Type::YellowConcretePowder;
- case 9390:case 9391:case 9392:case 9393: return Type::YellowGlazedTerracotta;
- case 9302:case 9303:case 9304:case 9305:case 9306:case 9307: return Type::YellowShulkerBox;
- case 4099: return Type::YellowStainedGlass;
- case 6993:case 6994:case 6997:case 6998:case 7001:case 7002:case 7005:case 7006:case 7009:case 7010:case 7013:case 7014:case 7017:case 7018:case 7021:case 7022: return Type::YellowStainedGlassPane;
- case 6851: return Type::YellowTerracotta;
- case 8169:case 8170:case 8171:case 8172: return Type::YellowWallBanner;
- case 1388: return Type::YellowWool;
- case 6530:case 6531:case 6532:case 6533:case 6534:case 6535:case 6536:case 6537:case 6538:case 6539:case 6540:case 6541:case 6542:case 6543:case 6544:case 6545: return Type::ZombieHead;
- default: return Type::ZombieWallHead;
- }
- }
- bool Is(short ID, enum Type Type)
- {
- return Block::Type(ID) == Type;
- }
namespace AcaciaButton
{
- short AcaciaButton()
+ BlockState AcaciaButton()
{
return 6451;
}
- enum Face Face(short ID)
+ enum Face Face(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 6458: case 6459: case 6460: case 6461: case 6462: case 6463: case 6464: case 6465: return Face::Ceiling;
case 6442: case 6443: case 6444: case 6445: case 6446: case 6447: case 6448: case 6449: return Face::Floor;
default: return Face::Wall;
}
}
- eBlockFace Facing(short ID)
+ eBlockFace Facing(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 6446: case 6447: case 6454: case 6455: case 6462: case 6463: return eBlockFace::BLOCK_FACE_XM;
case 6448: case 6449: case 6456: case 6457: case 6464: case 6465: return eBlockFace::BLOCK_FACE_XP;
@@ -800,9 +27,9 @@ namespace Block
default: return eBlockFace::BLOCK_FACE_ZP;
}
}
- bool Powered(short ID)
+ bool Powered(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 6443: case 6445: case 6447: case 6449: case 6451: case 6453: case 6455: case 6457: case 6459: case 6461: case 6463: case 6465: return false;
default: return true;
@@ -811,13 +38,13 @@ namespace Block
}
namespace AcaciaDoor
{
- short AcaciaDoor()
+ BlockState AcaciaDoor()
{
return 8941;
}
- eBlockFace Facing(short ID)
+ eBlockFace Facing(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 8962: case 8963: case 8964: case 8965: case 8966: case 8967: case 8968: case 8969: case 8970: case 8971: case 8972: case 8973: case 8974: case 8975: case 8976: case 8977: return eBlockFace::BLOCK_FACE_XM;
case 8978: case 8979: case 8980: case 8981: case 8982: case 8983: case 8984: case 8985: case 8986: case 8987: case 8988: case 8989: case 8990: case 8991: case 8992: case 8993: return eBlockFace::BLOCK_FACE_XP;
@@ -825,33 +52,33 @@ namespace Block
default: return eBlockFace::BLOCK_FACE_ZP;
}
}
- enum Half Half(short ID)
+ enum Half Half(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 8938: case 8939: case 8940: case 8941: case 8942: case 8943: case 8944: case 8945: case 8954: case 8955: case 8956: case 8957: case 8958: case 8959: case 8960: case 8961: case 8970: case 8971: case 8972: case 8973: case 8974: case 8975: case 8976: case 8977: case 8986: case 8987: case 8988: case 8989: case 8990: case 8991: case 8992: case 8993: return Half::Lower;
default: return Half::Upper;
}
}
- enum Hinge Hinge(short ID)
+ enum Hinge Hinge(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 8930: case 8931: case 8932: case 8933: case 8938: case 8939: case 8940: case 8941: case 8946: case 8947: case 8948: case 8949: case 8954: case 8955: case 8956: case 8957: case 8962: case 8963: case 8964: case 8965: case 8970: case 8971: case 8972: case 8973: case 8978: case 8979: case 8980: case 8981: case 8986: case 8987: case 8988: case 8989: return Hinge::Left;
default: return Hinge::Right;
}
}
- bool Open(short ID)
+ bool Open(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 8932: case 8933: case 8936: case 8937: case 8940: case 8941: case 8944: case 8945: case 8948: case 8949: case 8952: case 8953: case 8956: case 8957: case 8960: case 8961: case 8964: case 8965: case 8968: case 8969: case 8972: case 8973: case 8976: case 8977: case 8980: case 8981: case 8984: case 8985: case 8988: case 8989: case 8992: case 8993: return false;
default: return true;
}
}
- bool Powered(short ID)
+ bool Powered(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 8931: case 8933: case 8935: case 8937: case 8939: case 8941: case 8943: case 8945: case 8947: case 8949: case 8951: case 8953: case 8955: case 8957: case 8959: case 8961: case 8963: case 8965: case 8967: case 8969: case 8971: case 8973: case 8975: case 8977: case 8979: case 8981: case 8983: case 8985: case 8987: case 8989: case 8991: case 8993: return false;
default: return true;
@@ -860,37 +87,37 @@ namespace Block
}
namespace AcaciaFence
{
- short AcaciaFence()
+ BlockState AcaciaFence()
{
return 8705;
}
- bool East(short ID)
+ bool East(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 8692: case 8693: case 8696: case 8697: case 8700: case 8701: case 8704: case 8705: return false;
default: return true;
}
}
- bool North(short ID)
+ bool North(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 8684: case 8685: case 8688: case 8689: case 8700: case 8701: case 8704: case 8705: return false;
default: return true;
}
}
- bool South(short ID)
+ bool South(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 8680: case 8681: case 8688: case 8689: case 8696: case 8697: case 8704: case 8705: return false;
default: return true;
}
}
- bool West(short ID)
+ bool West(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 8677: case 8681: case 8685: case 8689: case 8693: case 8697: case 8701: case 8705: return false;
default: return true;
@@ -899,13 +126,13 @@ namespace Block
}
namespace AcaciaFenceGate
{
- short AcaciaFenceGate()
+ BlockState AcaciaFenceGate()
{
return 8521;
}
- eBlockFace Facing(short ID)
+ eBlockFace Facing(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 8530: case 8531: case 8532: case 8533: case 8534: case 8535: case 8536: case 8537: return eBlockFace::BLOCK_FACE_XM;
case 8538: case 8539: case 8540: case 8541: case 8542: case 8543: case 8544: case 8545: return eBlockFace::BLOCK_FACE_XP;
@@ -913,25 +140,25 @@ namespace Block
default: return eBlockFace::BLOCK_FACE_ZP;
}
}
- bool InWall(short ID)
+ bool InWall(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 8518: case 8519: case 8520: case 8521: case 8526: case 8527: case 8528: case 8529: case 8534: case 8535: case 8536: case 8537: case 8542: case 8543: case 8544: case 8545: return false;
default: return true;
}
}
- bool Open(short ID)
+ bool Open(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 8516: case 8517: case 8520: case 8521: case 8524: case 8525: case 8528: case 8529: case 8532: case 8533: case 8536: case 8537: case 8540: case 8541: case 8544: case 8545: return false;
default: return true;
}
}
- bool Powered(short ID)
+ bool Powered(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 8515: case 8517: case 8519: case 8521: case 8523: case 8525: case 8527: case 8529: case 8531: case 8533: case 8535: case 8537: case 8539: case 8541: case 8543: case 8545: return false;
default: return true;
@@ -940,13 +167,13 @@ namespace Block
}
namespace AcaciaLeaves
{
- short AcaciaLeaves()
+ BlockState AcaciaLeaves()
{
return 214;
}
- unsigned char Distance(short ID)
+ unsigned char Distance(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 201: case 202: return 1;
case 203: case 204: return 2;
@@ -957,9 +184,9 @@ namespace Block
default: return 7;
}
}
- bool Persistent(short ID)
+ bool Persistent(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 202: case 204: case 206: case 208: case 210: case 212: case 214: return false;
default: return true;
@@ -968,13 +195,13 @@ namespace Block
}
namespace AcaciaLog
{
- short AcaciaLog()
+ BlockState AcaciaLog()
{
return 86;
}
- enum Axis Axis(short ID)
+ enum Axis Axis(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 85: return Axis::X;
case 86: return Axis::Y;
@@ -987,13 +214,13 @@ namespace Block
}
namespace AcaciaPressurePlate
{
- short AcaciaPressurePlate()
+ BlockState AcaciaPressurePlate()
{
return 3882;
}
- bool Powered(short ID)
+ bool Powered(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 3882: return false;
default: return true;
@@ -1002,13 +229,13 @@ namespace Block
}
namespace AcaciaSapling
{
- short AcaciaSapling()
+ BlockState AcaciaSapling()
{
return 29;
}
- unsigned char Stage(short ID)
+ unsigned char Stage(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 29: return 0;
default: return 1;
@@ -1017,13 +244,13 @@ namespace Block
}
namespace AcaciaSign
{
- short AcaciaSign()
+ BlockState AcaciaSign()
{
return 3478;
}
- unsigned char Rotation(short ID)
+ unsigned char Rotation(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 3478: return 0;
case 3480: return 1;
@@ -1046,13 +273,13 @@ namespace Block
}
namespace AcaciaSlab
{
- short AcaciaSlab()
+ BlockState AcaciaSlab()
{
return 8327;
}
- enum Type Type(short ID)
+ enum Type Type(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 8327: return Type::Bottom;
case 8329: return Type::Double;
@@ -1062,13 +289,13 @@ namespace Block
}
namespace AcaciaStairs
{
- short AcaciaStairs()
+ BlockState AcaciaStairs()
{
return 7386;
}
- eBlockFace Facing(short ID)
+ eBlockFace Facing(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 7416: case 7418: case 7420: case 7422: case 7424: case 7426: case 7428: case 7430: case 7432: case 7434: return eBlockFace::BLOCK_FACE_XM;
case 7436: case 7438: case 7440: case 7442: case 7444: case 7446: case 7448: case 7450: case 7452: case 7454: return eBlockFace::BLOCK_FACE_XP;
@@ -1076,17 +303,17 @@ namespace Block
default: return eBlockFace::BLOCK_FACE_ZP;
}
}
- enum Half Half(short ID)
+ enum Half Half(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 7386: case 7388: case 7390: case 7392: case 7394: case 7406: case 7408: case 7410: case 7412: case 7414: case 7426: case 7428: case 7430: case 7432: case 7434: case 7446: case 7448: case 7450: case 7452: case 7454: return Half::Bottom;
default: return Half::Top;
}
}
- enum Shape Shape(short ID)
+ enum Shape Shape(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 7378: case 7388: case 7398: case 7408: case 7418: case 7428: case 7438: case 7448: return Shape::InnerLeft;
case 7380: case 7390: case 7400: case 7410: case 7420: case 7430: case 7440: case 7450: return Shape::InnerRight;
@@ -1098,13 +325,13 @@ namespace Block
}
namespace AcaciaTrapdoor
{
- short AcaciaTrapdoor()
+ BlockState AcaciaTrapdoor()
{
return 4382;
}
- eBlockFace Facing(short ID)
+ eBlockFace Facing(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 4400: case 4402: case 4404: case 4406: case 4408: case 4410: case 4412: case 4414: return eBlockFace::BLOCK_FACE_XM;
case 4416: case 4418: case 4420: case 4422: case 4424: case 4426: case 4428: case 4430: return eBlockFace::BLOCK_FACE_XP;
@@ -1112,25 +339,25 @@ namespace Block
default: return eBlockFace::BLOCK_FACE_ZP;
}
}
- enum Half Half(short ID)
+ enum Half Half(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 4376: case 4378: case 4380: case 4382: case 4392: case 4394: case 4396: case 4398: case 4408: case 4410: case 4412: case 4414: case 4424: case 4426: case 4428: case 4430: return Half::Bottom;
default: return Half::Top;
}
}
- bool Open(short ID)
+ bool Open(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 4372: case 4374: case 4380: case 4382: case 4388: case 4390: case 4396: case 4398: case 4404: case 4406: case 4412: case 4414: case 4420: case 4422: case 4428: case 4430: return false;
default: return true;
}
}
- bool Powered(short ID)
+ bool Powered(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 4370: case 4374: case 4378: case 4382: case 4386: case 4390: case 4394: case 4398: case 4402: case 4406: case 4410: case 4414: case 4418: case 4422: case 4426: case 4430: return false;
default: return true;
@@ -1139,13 +366,13 @@ namespace Block
}
namespace AcaciaWallSign
{
- short AcaciaWallSign()
+ BlockState AcaciaWallSign()
{
return 3760;
}
- eBlockFace Facing(short ID)
+ eBlockFace Facing(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 3764: return eBlockFace::BLOCK_FACE_XM;
case 3766: return eBlockFace::BLOCK_FACE_XP;
@@ -1156,13 +383,13 @@ namespace Block
}
namespace AcaciaWood
{
- short AcaciaWood()
+ BlockState AcaciaWood()
{
return 122;
}
- enum Axis Axis(short ID)
+ enum Axis Axis(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 121: return Axis::X;
case 122: return Axis::Y;
@@ -1172,21 +399,21 @@ namespace Block
}
namespace ActivatorRail
{
- short ActivatorRail()
+ BlockState ActivatorRail()
{
return 6829;
}
- bool Powered(short ID)
+ bool Powered(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 6829: case 6830: case 6831: case 6832: case 6833: case 6834: return false;
default: return true;
}
}
- enum Shape Shape(short ID)
+ enum Shape Shape(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 6825: case 6831: return Shape::AscendingEast;
case 6827: case 6833: return Shape::AscendingNorth;
@@ -1211,13 +438,13 @@ namespace Block
}
namespace AndesiteSlab
{
- short AndesiteSlab()
+ BlockState AndesiteSlab()
{
return 10846;
}
- enum Type Type(short ID)
+ enum Type Type(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 10846: return Type::Bottom;
case 10848: return Type::Double;
@@ -1227,13 +454,13 @@ namespace Block
}
namespace AndesiteStairs
{
- short AndesiteStairs()
+ BlockState AndesiteStairs()
{
return 10480;
}
- eBlockFace Facing(short ID)
+ eBlockFace Facing(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 10510: case 10512: case 10514: case 10516: case 10518: case 10520: case 10522: case 10524: case 10526: case 10528: return eBlockFace::BLOCK_FACE_XM;
case 10530: case 10532: case 10534: case 10536: case 10538: case 10540: case 10542: case 10544: case 10546: case 10548: return eBlockFace::BLOCK_FACE_XP;
@@ -1241,17 +468,17 @@ namespace Block
default: return eBlockFace::BLOCK_FACE_ZP;
}
}
- enum Half Half(short ID)
+ enum Half Half(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 10480: case 10482: case 10484: case 10486: case 10488: case 10500: case 10502: case 10504: case 10506: case 10508: case 10520: case 10522: case 10524: case 10526: case 10528: case 10540: case 10542: case 10544: case 10546: case 10548: return Half::Bottom;
default: return Half::Top;
}
}
- enum Shape Shape(short ID)
+ enum Shape Shape(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 10472: case 10482: case 10492: case 10502: case 10512: case 10522: case 10532: case 10542: return Shape::InnerLeft;
case 10474: case 10484: case 10494: case 10504: case 10514: case 10524: case 10534: case 10544: return Shape::InnerRight;
@@ -1263,48 +490,48 @@ namespace Block
}
namespace AndesiteWall
{
- short AndesiteWall()
+ BlockState AndesiteWall()
{
return 13138;
}
- enum East East(short ID)
+ enum East East(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 13246: case 13247: case 13248: case 13252: case 13253: case 13254: case 13258: case 13259: case 13260: case 13264: case 13265: case 13266: case 13270: case 13271: case 13272: case 13276: case 13277: case 13278: case 13282: case 13283: case 13284: case 13288: case 13289: case 13290: case 13294: case 13295: case 13296: case 13300: case 13301: case 13302: case 13306: case 13307: case 13308: case 13312: case 13313: case 13314: case 13318: case 13319: case 13320: case 13324: case 13325: case 13326: case 13330: case 13331: case 13332: case 13336: case 13337: case 13338: case 13342: case 13343: case 13344: case 13348: case 13349: case 13350: return East::Low;
case 13138: case 13139: case 13140: case 13144: case 13145: case 13146: case 13150: case 13151: case 13152: case 13156: case 13157: case 13158: case 13162: case 13163: case 13164: case 13168: case 13169: case 13170: case 13174: case 13175: case 13176: case 13180: case 13181: case 13182: case 13186: case 13187: case 13188: case 13192: case 13193: case 13194: case 13198: case 13199: case 13200: case 13204: case 13205: case 13206: case 13210: case 13211: case 13212: case 13216: case 13217: case 13218: case 13222: case 13223: case 13224: case 13228: case 13229: case 13230: case 13234: case 13235: case 13236: case 13240: case 13241: case 13242: return East::None;
default: return East::Tall;
}
}
- enum North North(short ID)
+ enum North North(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 13174: case 13175: case 13176: case 13180: case 13181: case 13182: case 13186: case 13187: case 13188: case 13192: case 13193: case 13194: case 13198: case 13199: case 13200: case 13204: case 13205: case 13206: case 13282: case 13283: case 13284: case 13288: case 13289: case 13290: case 13294: case 13295: case 13296: case 13300: case 13301: case 13302: case 13306: case 13307: case 13308: case 13312: case 13313: case 13314: case 13390: case 13391: case 13392: case 13396: case 13397: case 13398: case 13402: case 13403: case 13404: case 13408: case 13409: case 13410: case 13414: case 13415: case 13416: case 13420: case 13421: case 13422: return North::Low;
case 13138: case 13139: case 13140: case 13144: case 13145: case 13146: case 13150: case 13151: case 13152: case 13156: case 13157: case 13158: case 13162: case 13163: case 13164: case 13168: case 13169: case 13170: case 13246: case 13247: case 13248: case 13252: case 13253: case 13254: case 13258: case 13259: case 13260: case 13264: case 13265: case 13266: case 13270: case 13271: case 13272: case 13276: case 13277: case 13278: case 13354: case 13355: case 13356: case 13360: case 13361: case 13362: case 13366: case 13367: case 13368: case 13372: case 13373: case 13374: case 13378: case 13379: case 13380: case 13384: case 13385: case 13386: return North::None;
default: return North::Tall;
}
}
- enum South South(short ID)
+ enum South South(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 13150: case 13151: case 13152: case 13156: case 13157: case 13158: case 13186: case 13187: case 13188: case 13192: case 13193: case 13194: case 13222: case 13223: case 13224: case 13228: case 13229: case 13230: case 13258: case 13259: case 13260: case 13264: case 13265: case 13266: case 13294: case 13295: case 13296: case 13300: case 13301: case 13302: case 13330: case 13331: case 13332: case 13336: case 13337: case 13338: case 13366: case 13367: case 13368: case 13372: case 13373: case 13374: case 13402: case 13403: case 13404: case 13408: case 13409: case 13410: case 13438: case 13439: case 13440: case 13444: case 13445: case 13446: return South::Low;
case 13138: case 13139: case 13140: case 13144: case 13145: case 13146: case 13174: case 13175: case 13176: case 13180: case 13181: case 13182: case 13210: case 13211: case 13212: case 13216: case 13217: case 13218: case 13246: case 13247: case 13248: case 13252: case 13253: case 13254: case 13282: case 13283: case 13284: case 13288: case 13289: case 13290: case 13318: case 13319: case 13320: case 13324: case 13325: case 13326: case 13354: case 13355: case 13356: case 13360: case 13361: case 13362: case 13390: case 13391: case 13392: case 13396: case 13397: case 13398: case 13426: case 13427: case 13428: case 13432: case 13433: case 13434: return South::None;
default: return South::Tall;
}
}
- bool Up(short ID)
+ bool Up(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 13144: case 13145: case 13146: case 13156: case 13157: case 13158: case 13168: case 13169: case 13170: case 13180: case 13181: case 13182: case 13192: case 13193: case 13194: case 13204: case 13205: case 13206: case 13216: case 13217: case 13218: case 13228: case 13229: case 13230: case 13240: case 13241: case 13242: case 13252: case 13253: case 13254: case 13264: case 13265: case 13266: case 13276: case 13277: case 13278: case 13288: case 13289: case 13290: case 13300: case 13301: case 13302: case 13312: case 13313: case 13314: case 13324: case 13325: case 13326: case 13336: case 13337: case 13338: case 13348: case 13349: case 13350: case 13360: case 13361: case 13362: case 13372: case 13373: case 13374: case 13384: case 13385: case 13386: case 13396: case 13397: case 13398: case 13408: case 13409: case 13410: case 13420: case 13421: case 13422: case 13432: case 13433: case 13434: case 13444: case 13445: case 13446: case 13456: case 13457: case 13458: return false;
default: return true;
}
}
- enum West West(short ID)
+ enum West West(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 13139: case 13145: case 13151: case 13157: case 13163: case 13169: case 13175: case 13181: case 13187: case 13193: case 13199: case 13205: case 13211: case 13217: case 13223: case 13229: case 13235: case 13241: case 13247: case 13253: case 13259: case 13265: case 13271: case 13277: case 13283: case 13289: case 13295: case 13301: case 13307: case 13313: case 13319: case 13325: case 13331: case 13337: case 13343: case 13349: case 13355: case 13361: case 13367: case 13373: case 13379: case 13385: case 13391: case 13397: case 13403: case 13409: case 13415: case 13421: case 13427: case 13433: case 13439: case 13445: case 13451: case 13457: return West::Low;
case 13138: case 13144: case 13150: case 13156: case 13162: case 13168: case 13174: case 13180: case 13186: case 13192: case 13198: case 13204: case 13210: case 13216: case 13222: case 13228: case 13234: case 13240: case 13246: case 13252: case 13258: case 13264: case 13270: case 13276: case 13282: case 13288: case 13294: case 13300: case 13306: case 13312: case 13318: case 13324: case 13330: case 13336: case 13342: case 13348: case 13354: case 13360: case 13366: case 13372: case 13378: case 13384: case 13390: case 13396: case 13402: case 13408: case 13414: case 13420: case 13426: case 13432: case 13438: case 13444: case 13450: case 13456: return West::None;
@@ -1314,13 +541,13 @@ namespace Block
}
namespace Anvil
{
- short Anvil()
+ BlockState Anvil()
{
return 6610;
}
- eBlockFace Facing(short ID)
+ eBlockFace Facing(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 6612: return eBlockFace::BLOCK_FACE_XM;
case 6613: return eBlockFace::BLOCK_FACE_XP;
@@ -1331,13 +558,13 @@ namespace Block
}
namespace AttachedMelonStem
{
- short AttachedMelonStem()
+ BlockState AttachedMelonStem()
{
return 4768;
}
- eBlockFace Facing(short ID)
+ eBlockFace Facing(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 4770: return eBlockFace::BLOCK_FACE_XM;
case 4771: return eBlockFace::BLOCK_FACE_XP;
@@ -1348,13 +575,13 @@ namespace Block
}
namespace AttachedPumpkinStem
{
- short AttachedPumpkinStem()
+ BlockState AttachedPumpkinStem()
{
return 4764;
}
- eBlockFace Facing(short ID)
+ eBlockFace Facing(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 4766: return eBlockFace::BLOCK_FACE_XM;
case 4767: return eBlockFace::BLOCK_FACE_XP;
@@ -1368,30 +595,30 @@ namespace Block
}
namespace Bamboo
{
- short Bamboo()
+ BlockState Bamboo()
{
return 9652;
}
- unsigned char Age(short ID)
+ unsigned char Age(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 9652: case 9653: case 9654: case 9655: case 9656: case 9657: return 0;
default: return 1;
}
}
- enum Leaves Leaves(short ID)
+ enum Leaves Leaves(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 9656: case 9657: case 9662: case 9663: return Leaves::Large;
case 9652: case 9653: case 9658: case 9659: return Leaves::None;
default: return Leaves::Small;
}
}
- unsigned char Stage(short ID)
+ unsigned char Stage(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 9652: case 9654: case 9656: case 9658: case 9660: case 9662: return 0;
default: return 1;
@@ -1403,13 +630,13 @@ namespace Block
}
namespace Barrel
{
- short Barrel()
+ BlockState Barrel()
{
return 14792;
}
- eBlockFace Facing(short ID)
+ eBlockFace Facing(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 14797: case 14798: return eBlockFace::BLOCK_FACE_XM;
case 14793: case 14794: return eBlockFace::BLOCK_FACE_XP;
@@ -1419,9 +646,9 @@ namespace Block
default: return eBlockFace::BLOCK_FACE_ZP;
}
}
- bool Open(short ID)
+ bool Open(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 14792: case 14794: case 14796: case 14798: case 14800: case 14802: return false;
default: return true;
@@ -1433,13 +660,13 @@ namespace Block
}
namespace Basalt
{
- short Basalt()
+ BlockState Basalt()
{
return 4003;
}
- enum Axis Axis(short ID)
+ enum Axis Axis(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 4002: return Axis::X;
case 4003: return Axis::Y;
@@ -1455,13 +682,13 @@ namespace Block
}
namespace BeeNest
{
- short BeeNest()
+ BlockState BeeNest()
{
return 15776;
}
- eBlockFace Facing(short ID)
+ eBlockFace Facing(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 15788: case 15789: case 15790: case 15791: case 15792: case 15793: return eBlockFace::BLOCK_FACE_XM;
case 15794: case 15795: case 15796: case 15797: case 15798: case 15799: return eBlockFace::BLOCK_FACE_XP;
@@ -1469,9 +696,9 @@ namespace Block
default: return eBlockFace::BLOCK_FACE_ZP;
}
}
- unsigned char HoneyLevel(short ID)
+ unsigned char HoneyLevel(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 15776: case 15782: case 15788: case 15794: return 0;
case 15777: case 15783: case 15789: case 15795: return 1;
@@ -1484,13 +711,13 @@ namespace Block
}
namespace Beehive
{
- short Beehive()
+ BlockState Beehive()
{
return 15800;
}
- eBlockFace Facing(short ID)
+ eBlockFace Facing(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 15812: case 15813: case 15814: case 15815: case 15816: case 15817: return eBlockFace::BLOCK_FACE_XM;
case 15818: case 15819: case 15820: case 15821: case 15822: case 15823: return eBlockFace::BLOCK_FACE_XP;
@@ -1498,9 +725,9 @@ namespace Block
default: return eBlockFace::BLOCK_FACE_ZP;
}
}
- unsigned char HoneyLevel(short ID)
+ unsigned char HoneyLevel(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 15800: case 15806: case 15812: case 15818: return 0;
case 15801: case 15807: case 15813: case 15819: return 1;
@@ -1513,13 +740,13 @@ namespace Block
}
namespace Beetroots
{
- short Beetroots()
+ BlockState Beetroots()
{
return 9219;
}
- unsigned char Age(short ID)
+ unsigned char Age(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 9219: return 0;
case 9220: return 1;
@@ -1530,13 +757,13 @@ namespace Block
}
namespace Bell
{
- short Bell()
+ BlockState Bell()
{
return 14855;
}
- enum Attachment Attachment(short ID)
+ enum Attachment Attachment(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 14862: case 14863: case 14864: case 14865: case 14866: case 14867: case 14868: case 14869: return Attachment::Ceiling;
case 14878: case 14879: case 14880: case 14881: case 14882: case 14883: case 14884: case 14885: return Attachment::DoubleWall;
@@ -1544,9 +771,9 @@ namespace Block
default: return Attachment::SingleWall;
}
}
- eBlockFace Facing(short ID)
+ eBlockFace Facing(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 14858: case 14859: case 14866: case 14867: case 14874: case 14875: case 14882: case 14883: return eBlockFace::BLOCK_FACE_XM;
case 14860: case 14861: case 14868: case 14869: case 14876: case 14877: case 14884: case 14885: return eBlockFace::BLOCK_FACE_XP;
@@ -1554,9 +781,9 @@ namespace Block
default: return eBlockFace::BLOCK_FACE_ZP;
}
}
- bool Powered(short ID)
+ bool Powered(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 14855: case 14857: case 14859: case 14861: case 14863: case 14865: case 14867: case 14869: case 14871: case 14873: case 14875: case 14877: case 14879: case 14881: case 14883: case 14885: return false;
default: return true;
@@ -1565,22 +792,22 @@ namespace Block
}
namespace BirchButton
{
- short BirchButton()
+ BlockState BirchButton()
{
return 6403;
}
- enum Face Face(short ID)
+ enum Face Face(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 6410: case 6411: case 6412: case 6413: case 6414: case 6415: case 6416: case 6417: return Face::Ceiling;
case 6394: case 6395: case 6396: case 6397: case 6398: case 6399: case 6400: case 6401: return Face::Floor;
default: return Face::Wall;
}
}
- eBlockFace Facing(short ID)
+ eBlockFace Facing(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 6398: case 6399: case 6406: case 6407: case 6414: case 6415: return eBlockFace::BLOCK_FACE_XM;
case 6400: case 6401: case 6408: case 6409: case 6416: case 6417: return eBlockFace::BLOCK_FACE_XP;
@@ -1588,9 +815,9 @@ namespace Block
default: return eBlockFace::BLOCK_FACE_ZP;
}
}
- bool Powered(short ID)
+ bool Powered(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 6395: case 6397: case 6399: case 6401: case 6403: case 6405: case 6407: case 6409: case 6411: case 6413: case 6415: case 6417: return false;
default: return true;
@@ -1599,13 +826,13 @@ namespace Block
}
namespace BirchDoor
{
- short BirchDoor()
+ BlockState BirchDoor()
{
return 8813;
}
- eBlockFace Facing(short ID)
+ eBlockFace Facing(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 8834: case 8835: case 8836: case 8837: case 8838: case 8839: case 8840: case 8841: case 8842: case 8843: case 8844: case 8845: case 8846: case 8847: case 8848: case 8849: return eBlockFace::BLOCK_FACE_XM;
case 8850: case 8851: case 8852: case 8853: case 8854: case 8855: case 8856: case 8857: case 8858: case 8859: case 8860: case 8861: case 8862: case 8863: case 8864: case 8865: return eBlockFace::BLOCK_FACE_XP;
@@ -1613,33 +840,33 @@ namespace Block
default: return eBlockFace::BLOCK_FACE_ZP;
}
}
- enum Half Half(short ID)
+ enum Half Half(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 8810: case 8811: case 8812: case 8813: case 8814: case 8815: case 8816: case 8817: case 8826: case 8827: case 8828: case 8829: case 8830: case 8831: case 8832: case 8833: case 8842: case 8843: case 8844: case 8845: case 8846: case 8847: case 8848: case 8849: case 8858: case 8859: case 8860: case 8861: case 8862: case 8863: case 8864: case 8865: return Half::Lower;
default: return Half::Upper;
}
}
- enum Hinge Hinge(short ID)
+ enum Hinge Hinge(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 8802: case 8803: case 8804: case 8805: case 8810: case 8811: case 8812: case 8813: case 8818: case 8819: case 8820: case 8821: case 8826: case 8827: case 8828: case 8829: case 8834: case 8835: case 8836: case 8837: case 8842: case 8843: case 8844: case 8845: case 8850: case 8851: case 8852: case 8853: case 8858: case 8859: case 8860: case 8861: return Hinge::Left;
default: return Hinge::Right;
}
}
- bool Open(short ID)
+ bool Open(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 8804: case 8805: case 8808: case 8809: case 8812: case 8813: case 8816: case 8817: case 8820: case 8821: case 8824: case 8825: case 8828: case 8829: case 8832: case 8833: case 8836: case 8837: case 8840: case 8841: case 8844: case 8845: case 8848: case 8849: case 8852: case 8853: case 8856: case 8857: case 8860: case 8861: case 8864: case 8865: return false;
default: return true;
}
}
- bool Powered(short ID)
+ bool Powered(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 8803: case 8805: case 8807: case 8809: case 8811: case 8813: case 8815: case 8817: case 8819: case 8821: case 8823: case 8825: case 8827: case 8829: case 8831: case 8833: case 8835: case 8837: case 8839: case 8841: case 8843: case 8845: case 8847: case 8849: case 8851: case 8853: case 8855: case 8857: case 8859: case 8861: case 8863: case 8865: return false;
default: return true;
@@ -1648,37 +875,37 @@ namespace Block
}
namespace BirchFence
{
- short BirchFence()
+ BlockState BirchFence()
{
return 8641;
}
- bool East(short ID)
+ bool East(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 8628: case 8629: case 8632: case 8633: case 8636: case 8637: case 8640: case 8641: return false;
default: return true;
}
}
- bool North(short ID)
+ bool North(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 8620: case 8621: case 8624: case 8625: case 8636: case 8637: case 8640: case 8641: return false;
default: return true;
}
}
- bool South(short ID)
+ bool South(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 8616: case 8617: case 8624: case 8625: case 8632: case 8633: case 8640: case 8641: return false;
default: return true;
}
}
- bool West(short ID)
+ bool West(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 8613: case 8617: case 8621: case 8625: case 8629: case 8633: case 8637: case 8641: return false;
default: return true;
@@ -1687,13 +914,13 @@ namespace Block
}
namespace BirchFenceGate
{
- short BirchFenceGate()
+ BlockState BirchFenceGate()
{
return 8457;
}
- eBlockFace Facing(short ID)
+ eBlockFace Facing(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 8466: case 8467: case 8468: case 8469: case 8470: case 8471: case 8472: case 8473: return eBlockFace::BLOCK_FACE_XM;
case 8474: case 8475: case 8476: case 8477: case 8478: case 8479: case 8480: case 8481: return eBlockFace::BLOCK_FACE_XP;
@@ -1701,25 +928,25 @@ namespace Block
default: return eBlockFace::BLOCK_FACE_ZP;
}
}
- bool InWall(short ID)
+ bool InWall(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 8454: case 8455: case 8456: case 8457: case 8462: case 8463: case 8464: case 8465: case 8470: case 8471: case 8472: case 8473: case 8478: case 8479: case 8480: case 8481: return false;
default: return true;
}
}
- bool Open(short ID)
+ bool Open(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 8452: case 8453: case 8456: case 8457: case 8460: case 8461: case 8464: case 8465: case 8468: case 8469: case 8472: case 8473: case 8476: case 8477: case 8480: case 8481: return false;
default: return true;
}
}
- bool Powered(short ID)
+ bool Powered(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 8451: case 8453: case 8455: case 8457: case 8459: case 8461: case 8463: case 8465: case 8467: case 8469: case 8471: case 8473: case 8475: case 8477: case 8479: case 8481: return false;
default: return true;
@@ -1728,13 +955,13 @@ namespace Block
}
namespace BirchLeaves
{
- short BirchLeaves()
+ BlockState BirchLeaves()
{
return 186;
}
- unsigned char Distance(short ID)
+ unsigned char Distance(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 173: case 174: return 1;
case 175: case 176: return 2;
@@ -1745,9 +972,9 @@ namespace Block
default: return 7;
}
}
- bool Persistent(short ID)
+ bool Persistent(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 174: case 176: case 178: case 180: case 182: case 184: case 186: return false;
default: return true;
@@ -1756,13 +983,13 @@ namespace Block
}
namespace BirchLog
{
- short BirchLog()
+ BlockState BirchLog()
{
return 80;
}
- enum Axis Axis(short ID)
+ enum Axis Axis(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 79: return Axis::X;
case 80: return Axis::Y;
@@ -1775,13 +1002,13 @@ namespace Block
}
namespace BirchPressurePlate
{
- short BirchPressurePlate()
+ BlockState BirchPressurePlate()
{
return 3878;
}
- bool Powered(short ID)
+ bool Powered(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 3878: return false;
default: return true;
@@ -1790,13 +1017,13 @@ namespace Block
}
namespace BirchSapling
{
- short BirchSapling()
+ BlockState BirchSapling()
{
return 25;
}
- unsigned char Stage(short ID)
+ unsigned char Stage(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 25: return 0;
default: return 1;
@@ -1805,13 +1032,13 @@ namespace Block
}
namespace BirchSign
{
- short BirchSign()
+ BlockState BirchSign()
{
return 3446;
}
- unsigned char Rotation(short ID)
+ unsigned char Rotation(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 3446: return 0;
case 3448: return 1;
@@ -1834,13 +1061,13 @@ namespace Block
}
namespace BirchSlab
{
- short BirchSlab()
+ BlockState BirchSlab()
{
return 8315;
}
- enum Type Type(short ID)
+ enum Type Type(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 8315: return Type::Bottom;
case 8317: return Type::Double;
@@ -1850,13 +1077,13 @@ namespace Block
}
namespace BirchStairs
{
- short BirchStairs()
+ BlockState BirchStairs()
{
return 5495;
}
- eBlockFace Facing(short ID)
+ eBlockFace Facing(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 5525: case 5527: case 5529: case 5531: case 5533: case 5535: case 5537: case 5539: case 5541: case 5543: return eBlockFace::BLOCK_FACE_XM;
case 5545: case 5547: case 5549: case 5551: case 5553: case 5555: case 5557: case 5559: case 5561: case 5563: return eBlockFace::BLOCK_FACE_XP;
@@ -1864,17 +1091,17 @@ namespace Block
default: return eBlockFace::BLOCK_FACE_ZP;
}
}
- enum Half Half(short ID)
+ enum Half Half(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 5495: case 5497: case 5499: case 5501: case 5503: case 5515: case 5517: case 5519: case 5521: case 5523: case 5535: case 5537: case 5539: case 5541: case 5543: case 5555: case 5557: case 5559: case 5561: case 5563: return Half::Bottom;
default: return Half::Top;
}
}
- enum Shape Shape(short ID)
+ enum Shape Shape(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 5487: case 5497: case 5507: case 5517: case 5527: case 5537: case 5547: case 5557: return Shape::InnerLeft;
case 5489: case 5499: case 5509: case 5519: case 5529: case 5539: case 5549: case 5559: return Shape::InnerRight;
@@ -1886,13 +1113,13 @@ namespace Block
}
namespace BirchTrapdoor
{
- short BirchTrapdoor()
+ BlockState BirchTrapdoor()
{
return 4254;
}
- eBlockFace Facing(short ID)
+ eBlockFace Facing(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 4272: case 4274: case 4276: case 4278: case 4280: case 4282: case 4284: case 4286: return eBlockFace::BLOCK_FACE_XM;
case 4288: case 4290: case 4292: case 4294: case 4296: case 4298: case 4300: case 4302: return eBlockFace::BLOCK_FACE_XP;
@@ -1900,25 +1127,25 @@ namespace Block
default: return eBlockFace::BLOCK_FACE_ZP;
}
}
- enum Half Half(short ID)
+ enum Half Half(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 4248: case 4250: case 4252: case 4254: case 4264: case 4266: case 4268: case 4270: case 4280: case 4282: case 4284: case 4286: case 4296: case 4298: case 4300: case 4302: return Half::Bottom;
default: return Half::Top;
}
}
- bool Open(short ID)
+ bool Open(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 4244: case 4246: case 4252: case 4254: case 4260: case 4262: case 4268: case 4270: case 4276: case 4278: case 4284: case 4286: case 4292: case 4294: case 4300: case 4302: return false;
default: return true;
}
}
- bool Powered(short ID)
+ bool Powered(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 4242: case 4246: case 4250: case 4254: case 4258: case 4262: case 4266: case 4270: case 4274: case 4278: case 4282: case 4286: case 4290: case 4294: case 4298: case 4302: return false;
default: return true;
@@ -1927,13 +1154,13 @@ namespace Block
}
namespace BirchWallSign
{
- short BirchWallSign()
+ BlockState BirchWallSign()
{
return 3752;
}
- eBlockFace Facing(short ID)
+ eBlockFace Facing(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 3756: return eBlockFace::BLOCK_FACE_XM;
case 3758: return eBlockFace::BLOCK_FACE_XP;
@@ -1944,13 +1171,13 @@ namespace Block
}
namespace BirchWood
{
- short BirchWood()
+ BlockState BirchWood()
{
return 116;
}
- enum Axis Axis(short ID)
+ enum Axis Axis(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 115: return Axis::X;
case 116: return Axis::Y;
@@ -1960,13 +1187,13 @@ namespace Block
}
namespace BlackBanner
{
- short BlackBanner()
+ BlockState BlackBanner()
{
return 8137;
}
- unsigned char Rotation(short ID)
+ unsigned char Rotation(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 8137: return 0;
case 8138: return 1;
@@ -1989,13 +1216,13 @@ namespace Block
}
namespace BlackBed
{
- short BlackBed()
+ BlockState BlackBed()
{
return 1292;
}
- eBlockFace Facing(short ID)
+ eBlockFace Facing(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 1297: case 1298: case 1299: case 1300: return eBlockFace::BLOCK_FACE_XM;
case 1301: case 1302: case 1303: case 1304: return eBlockFace::BLOCK_FACE_XP;
@@ -2003,17 +1230,17 @@ namespace Block
default: return eBlockFace::BLOCK_FACE_ZP;
}
}
- bool Occupied(short ID)
+ bool Occupied(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 1291: case 1292: case 1295: case 1296: case 1299: case 1300: case 1303: case 1304: return false;
default: return true;
}
}
- enum Part Part(short ID)
+ enum Part Part(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 1290: case 1292: case 1294: case 1296: case 1298: case 1300: case 1302: case 1304: return Part::Foot;
default: return Part::Head;
@@ -2031,13 +1258,13 @@ namespace Block
}
namespace BlackGlazedTerracotta
{
- short BlackGlazedTerracotta()
+ BlockState BlackGlazedTerracotta()
{
return 9434;
}
- eBlockFace Facing(short ID)
+ eBlockFace Facing(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 9436: return eBlockFace::BLOCK_FACE_XM;
case 9437: return eBlockFace::BLOCK_FACE_XP;
@@ -2048,13 +1275,13 @@ namespace Block
}
namespace BlackShulkerBox
{
- short BlackShulkerBox()
+ BlockState BlackShulkerBox()
{
return 9372;
}
- eBlockFace Facing(short ID)
+ eBlockFace Facing(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 9371: return eBlockFace::BLOCK_FACE_XM;
case 9369: return eBlockFace::BLOCK_FACE_XP;
@@ -2070,37 +1297,37 @@ namespace Block
}
namespace BlackStainedGlassPane
{
- short BlackStainedGlassPane()
+ BlockState BlackStainedGlassPane()
{
return 7374;
}
- bool East(short ID)
+ bool East(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 7361: case 7362: case 7365: case 7366: case 7369: case 7370: case 7373: case 7374: return false;
default: return true;
}
}
- bool North(short ID)
+ bool North(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 7353: case 7354: case 7357: case 7358: case 7369: case 7370: case 7373: case 7374: return false;
default: return true;
}
}
- bool South(short ID)
+ bool South(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 7349: case 7350: case 7357: case 7358: case 7365: case 7366: case 7373: case 7374: return false;
default: return true;
}
}
- bool West(short ID)
+ bool West(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 7346: case 7350: case 7354: case 7358: case 7362: case 7366: case 7370: case 7374: return false;
default: return true;
@@ -2112,13 +1339,13 @@ namespace Block
}
namespace BlackWallBanner
{
- short BlackWallBanner()
+ BlockState BlackWallBanner()
{
return 8213;
}
- eBlockFace Facing(short ID)
+ eBlockFace Facing(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 8215: return eBlockFace::BLOCK_FACE_XM;
case 8216: return eBlockFace::BLOCK_FACE_XP;
@@ -2135,13 +1362,13 @@ namespace Block
}
namespace BlackstoneSlab
{
- short BlackstoneSlab()
+ BlockState BlackstoneSlab()
{
return 16247;
}
- enum Type Type(short ID)
+ enum Type Type(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 16247: return Type::Bottom;
case 16249: return Type::Double;
@@ -2151,13 +1378,13 @@ namespace Block
}
namespace BlackstoneStairs
{
- short BlackstoneStairs()
+ BlockState BlackstoneStairs()
{
return 15851;
}
- eBlockFace Facing(short ID)
+ eBlockFace Facing(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 15881: case 15883: case 15885: case 15887: case 15889: case 15891: case 15893: case 15895: case 15897: case 15899: return eBlockFace::BLOCK_FACE_XM;
case 15901: case 15903: case 15905: case 15907: case 15909: case 15911: case 15913: case 15915: case 15917: case 15919: return eBlockFace::BLOCK_FACE_XP;
@@ -2165,17 +1392,17 @@ namespace Block
default: return eBlockFace::BLOCK_FACE_ZP;
}
}
- enum Half Half(short ID)
+ enum Half Half(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 15851: case 15853: case 15855: case 15857: case 15859: case 15871: case 15873: case 15875: case 15877: case 15879: case 15891: case 15893: case 15895: case 15897: case 15899: case 15911: case 15913: case 15915: case 15917: case 15919: return Half::Bottom;
default: return Half::Top;
}
}
- enum Shape Shape(short ID)
+ enum Shape Shape(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 15843: case 15853: case 15863: case 15873: case 15883: case 15893: case 15903: case 15913: return Shape::InnerLeft;
case 15845: case 15855: case 15865: case 15875: case 15885: case 15895: case 15905: case 15915: return Shape::InnerRight;
@@ -2187,48 +1414,48 @@ namespace Block
}
namespace BlackstoneWall
{
- short BlackstoneWall()
+ BlockState BlackstoneWall()
{
return 15923;
}
- enum East East(short ID)
+ enum East East(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 16031: case 16032: case 16033: case 16037: case 16038: case 16039: case 16043: case 16044: case 16045: case 16049: case 16050: case 16051: case 16055: case 16056: case 16057: case 16061: case 16062: case 16063: case 16067: case 16068: case 16069: case 16073: case 16074: case 16075: case 16079: case 16080: case 16081: case 16085: case 16086: case 16087: case 16091: case 16092: case 16093: case 16097: case 16098: case 16099: case 16103: case 16104: case 16105: case 16109: case 16110: case 16111: case 16115: case 16116: case 16117: case 16121: case 16122: case 16123: case 16127: case 16128: case 16129: case 16133: case 16134: case 16135: return East::Low;
case 15923: case 15924: case 15925: case 15929: case 15930: case 15931: case 15935: case 15936: case 15937: case 15941: case 15942: case 15943: case 15947: case 15948: case 15949: case 15953: case 15954: case 15955: case 15959: case 15960: case 15961: case 15965: case 15966: case 15967: case 15971: case 15972: case 15973: case 15977: case 15978: case 15979: case 15983: case 15984: case 15985: case 15989: case 15990: case 15991: case 15995: case 15996: case 15997: case 16001: case 16002: case 16003: case 16007: case 16008: case 16009: case 16013: case 16014: case 16015: case 16019: case 16020: case 16021: case 16025: case 16026: case 16027: return East::None;
default: return East::Tall;
}
}
- enum North North(short ID)
+ enum North North(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 15959: case 15960: case 15961: case 15965: case 15966: case 15967: case 15971: case 15972: case 15973: case 15977: case 15978: case 15979: case 15983: case 15984: case 15985: case 15989: case 15990: case 15991: case 16067: case 16068: case 16069: case 16073: case 16074: case 16075: case 16079: case 16080: case 16081: case 16085: case 16086: case 16087: case 16091: case 16092: case 16093: case 16097: case 16098: case 16099: case 16175: case 16176: case 16177: case 16181: case 16182: case 16183: case 16187: case 16188: case 16189: case 16193: case 16194: case 16195: case 16199: case 16200: case 16201: case 16205: case 16206: case 16207: return North::Low;
case 15923: case 15924: case 15925: case 15929: case 15930: case 15931: case 15935: case 15936: case 15937: case 15941: case 15942: case 15943: case 15947: case 15948: case 15949: case 15953: case 15954: case 15955: case 16031: case 16032: case 16033: case 16037: case 16038: case 16039: case 16043: case 16044: case 16045: case 16049: case 16050: case 16051: case 16055: case 16056: case 16057: case 16061: case 16062: case 16063: case 16139: case 16140: case 16141: case 16145: case 16146: case 16147: case 16151: case 16152: case 16153: case 16157: case 16158: case 16159: case 16163: case 16164: case 16165: case 16169: case 16170: case 16171: return North::None;
default: return North::Tall;
}
}
- enum South South(short ID)
+ enum South South(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 15935: case 15936: case 15937: case 15941: case 15942: case 15943: case 15971: case 15972: case 15973: case 15977: case 15978: case 15979: case 16007: case 16008: case 16009: case 16013: case 16014: case 16015: case 16043: case 16044: case 16045: case 16049: case 16050: case 16051: case 16079: case 16080: case 16081: case 16085: case 16086: case 16087: case 16115: case 16116: case 16117: case 16121: case 16122: case 16123: case 16151: case 16152: case 16153: case 16157: case 16158: case 16159: case 16187: case 16188: case 16189: case 16193: case 16194: case 16195: case 16223: case 16224: case 16225: case 16229: case 16230: case 16231: return South::Low;
case 15923: case 15924: case 15925: case 15929: case 15930: case 15931: case 15959: case 15960: case 15961: case 15965: case 15966: case 15967: case 15995: case 15996: case 15997: case 16001: case 16002: case 16003: case 16031: case 16032: case 16033: case 16037: case 16038: case 16039: case 16067: case 16068: case 16069: case 16073: case 16074: case 16075: case 16103: case 16104: case 16105: case 16109: case 16110: case 16111: case 16139: case 16140: case 16141: case 16145: case 16146: case 16147: case 16175: case 16176: case 16177: case 16181: case 16182: case 16183: case 16211: case 16212: case 16213: case 16217: case 16218: case 16219: return South::None;
default: return South::Tall;
}
}
- bool Up(short ID)
+ bool Up(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 15929: case 15930: case 15931: case 15941: case 15942: case 15943: case 15953: case 15954: case 15955: case 15965: case 15966: case 15967: case 15977: case 15978: case 15979: case 15989: case 15990: case 15991: case 16001: case 16002: case 16003: case 16013: case 16014: case 16015: case 16025: case 16026: case 16027: case 16037: case 16038: case 16039: case 16049: case 16050: case 16051: case 16061: case 16062: case 16063: case 16073: case 16074: case 16075: case 16085: case 16086: case 16087: case 16097: case 16098: case 16099: case 16109: case 16110: case 16111: case 16121: case 16122: case 16123: case 16133: case 16134: case 16135: case 16145: case 16146: case 16147: case 16157: case 16158: case 16159: case 16169: case 16170: case 16171: case 16181: case 16182: case 16183: case 16193: case 16194: case 16195: case 16205: case 16206: case 16207: case 16217: case 16218: case 16219: case 16229: case 16230: case 16231: case 16241: case 16242: case 16243: return false;
default: return true;
}
}
- enum West West(short ID)
+ enum West West(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 15924: case 15930: case 15936: case 15942: case 15948: case 15954: case 15960: case 15966: case 15972: case 15978: case 15984: case 15990: case 15996: case 16002: case 16008: case 16014: case 16020: case 16026: case 16032: case 16038: case 16044: case 16050: case 16056: case 16062: case 16068: case 16074: case 16080: case 16086: case 16092: case 16098: case 16104: case 16110: case 16116: case 16122: case 16128: case 16134: case 16140: case 16146: case 16152: case 16158: case 16164: case 16170: case 16176: case 16182: case 16188: case 16194: case 16200: case 16206: case 16212: case 16218: case 16224: case 16230: case 16236: case 16242: return West::Low;
case 15923: case 15929: case 15935: case 15941: case 15947: case 15953: case 15959: case 15965: case 15971: case 15977: case 15983: case 15989: case 15995: case 16001: case 16007: case 16013: case 16019: case 16025: case 16031: case 16037: case 16043: case 16049: case 16055: case 16061: case 16067: case 16073: case 16079: case 16085: case 16091: case 16097: case 16103: case 16109: case 16115: case 16121: case 16127: case 16133: case 16139: case 16145: case 16151: case 16157: case 16163: case 16169: case 16175: case 16181: case 16187: case 16193: case 16199: case 16205: case 16211: case 16217: case 16223: case 16229: case 16235: case 16241: return West::None;
@@ -2238,13 +1465,13 @@ namespace Block
}
namespace BlastFurnace
{
- short BlastFurnace()
+ BlockState BlastFurnace()
{
return 14812;
}
- eBlockFace Facing(short ID)
+ eBlockFace Facing(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 14815: case 14816: return eBlockFace::BLOCK_FACE_XM;
case 14817: case 14818: return eBlockFace::BLOCK_FACE_XP;
@@ -2252,9 +1479,9 @@ namespace Block
default: return eBlockFace::BLOCK_FACE_ZP;
}
}
- bool Lit(short ID)
+ bool Lit(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 14812: case 14814: case 14816: case 14818: return false;
default: return true;
@@ -2263,13 +1490,13 @@ namespace Block
}
namespace BlueBanner
{
- short BlueBanner()
+ BlockState BlueBanner()
{
return 8073;
}
- unsigned char Rotation(short ID)
+ unsigned char Rotation(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 8073: return 0;
case 8074: return 1;
@@ -2292,13 +1519,13 @@ namespace Block
}
namespace BlueBed
{
- short BlueBed()
+ BlockState BlueBed()
{
return 1228;
}
- eBlockFace Facing(short ID)
+ eBlockFace Facing(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 1233: case 1234: case 1235: case 1236: return eBlockFace::BLOCK_FACE_XM;
case 1237: case 1238: case 1239: case 1240: return eBlockFace::BLOCK_FACE_XP;
@@ -2306,17 +1533,17 @@ namespace Block
default: return eBlockFace::BLOCK_FACE_ZP;
}
}
- bool Occupied(short ID)
+ bool Occupied(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 1227: case 1228: case 1231: case 1232: case 1235: case 1236: case 1239: case 1240: return false;
default: return true;
}
}
- enum Part Part(short ID)
+ enum Part Part(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 1226: case 1228: case 1230: case 1232: case 1234: case 1236: case 1238: case 1240: return Part::Foot;
default: return Part::Head;
@@ -2334,13 +1561,13 @@ namespace Block
}
namespace BlueGlazedTerracotta
{
- short BlueGlazedTerracotta()
+ BlockState BlueGlazedTerracotta()
{
return 9418;
}
- eBlockFace Facing(short ID)
+ eBlockFace Facing(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 9420: return eBlockFace::BLOCK_FACE_XM;
case 9421: return eBlockFace::BLOCK_FACE_XP;
@@ -2357,13 +1584,13 @@ namespace Block
}
namespace BlueShulkerBox
{
- short BlueShulkerBox()
+ BlockState BlueShulkerBox()
{
return 9348;
}
- eBlockFace Facing(short ID)
+ eBlockFace Facing(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 9347: return eBlockFace::BLOCK_FACE_XM;
case 9345: return eBlockFace::BLOCK_FACE_XP;
@@ -2379,37 +1606,37 @@ namespace Block
}
namespace BlueStainedGlassPane
{
- short BlueStainedGlassPane()
+ BlockState BlueStainedGlassPane()
{
return 7246;
}
- bool East(short ID)
+ bool East(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 7233: case 7234: case 7237: case 7238: case 7241: case 7242: case 7245: case 7246: return false;
default: return true;
}
}
- bool North(short ID)
+ bool North(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 7225: case 7226: case 7229: case 7230: case 7241: case 7242: case 7245: case 7246: return false;
default: return true;
}
}
- bool South(short ID)
+ bool South(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 7221: case 7222: case 7229: case 7230: case 7237: case 7238: case 7245: case 7246: return false;
default: return true;
}
}
- bool West(short ID)
+ bool West(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 7218: case 7222: case 7226: case 7230: case 7234: case 7238: case 7242: case 7246: return false;
default: return true;
@@ -2421,13 +1648,13 @@ namespace Block
}
namespace BlueWallBanner
{
- short BlueWallBanner()
+ BlockState BlueWallBanner()
{
return 8197;
}
- eBlockFace Facing(short ID)
+ eBlockFace Facing(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 8199: return eBlockFace::BLOCK_FACE_XM;
case 8200: return eBlockFace::BLOCK_FACE_XP;
@@ -2441,13 +1668,13 @@ namespace Block
}
namespace BoneBlock
{
- short BoneBlock()
+ BlockState BoneBlock()
{
return 9257;
}
- enum Axis Axis(short ID)
+ enum Axis Axis(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 9256: return Axis::X;
case 9257: return Axis::Y;
@@ -2469,13 +1696,13 @@ namespace Block
}
namespace BrainCoralWallFan
{
- short BrainCoralWallFan()
+ BlockState BrainCoralWallFan()
{
return 9608;
}
- eBlockFace Facing(short ID)
+ eBlockFace Facing(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 9613: return eBlockFace::BLOCK_FACE_XM;
case 9615: return eBlockFace::BLOCK_FACE_XP;
@@ -2486,29 +1713,29 @@ namespace Block
}
namespace BrewingStand
{
- short BrewingStand()
+ BlockState BrewingStand()
{
return 5140;
}
- bool HasBottle_0(short ID)
+ bool HasBottle_0(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 5137: case 5138: case 5139: case 5140: return false;
default: return true;
}
}
- bool HasBottle_1(short ID)
+ bool HasBottle_1(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 5135: case 5136: case 5139: case 5140: return false;
default: return true;
}
}
- bool HasBottle_2(short ID)
+ bool HasBottle_2(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 5134: case 5136: case 5138: case 5140: return false;
default: return true;
@@ -2517,13 +1744,13 @@ namespace Block
}
namespace BrickSlab
{
- short BrickSlab()
+ BlockState BrickSlab()
{
return 8375;
}
- enum Type Type(short ID)
+ enum Type Type(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 8375: return Type::Bottom;
case 8377: return Type::Double;
@@ -2533,13 +1760,13 @@ namespace Block
}
namespace BrickStairs
{
- short BrickStairs()
+ BlockState BrickStairs()
{
return 4863;
}
- eBlockFace Facing(short ID)
+ eBlockFace Facing(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 4893: case 4895: case 4897: case 4899: case 4901: case 4903: case 4905: case 4907: case 4909: case 4911: return eBlockFace::BLOCK_FACE_XM;
case 4913: case 4915: case 4917: case 4919: case 4921: case 4923: case 4925: case 4927: case 4929: case 4931: return eBlockFace::BLOCK_FACE_XP;
@@ -2547,17 +1774,17 @@ namespace Block
default: return eBlockFace::BLOCK_FACE_ZP;
}
}
- enum Half Half(short ID)
+ enum Half Half(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 4863: case 4865: case 4867: case 4869: case 4871: case 4883: case 4885: case 4887: case 4889: case 4891: case 4903: case 4905: case 4907: case 4909: case 4911: case 4923: case 4925: case 4927: case 4929: case 4931: return Half::Bottom;
default: return Half::Top;
}
}
- enum Shape Shape(short ID)
+ enum Shape Shape(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 4855: case 4865: case 4875: case 4885: case 4895: case 4905: case 4915: case 4925: return Shape::InnerLeft;
case 4857: case 4867: case 4877: case 4887: case 4897: case 4907: case 4917: case 4927: return Shape::InnerRight;
@@ -2569,48 +1796,48 @@ namespace Block
}
namespace BrickWall
{
- short BrickWall()
+ BlockState BrickWall()
{
return 10870;
}
- enum East East(short ID)
+ enum East East(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 10978: case 10979: case 10980: case 10984: case 10985: case 10986: case 10990: case 10991: case 10992: case 10996: case 10997: case 10998: case 11002: case 11003: case 11004: case 11008: case 11009: case 11010: case 11014: case 11015: case 11016: case 11020: case 11021: case 11022: case 11026: case 11027: case 11028: case 11032: case 11033: case 11034: case 11038: case 11039: case 11040: case 11044: case 11045: case 11046: case 11050: case 11051: case 11052: case 11056: case 11057: case 11058: case 11062: case 11063: case 11064: case 11068: case 11069: case 11070: case 11074: case 11075: case 11076: case 11080: case 11081: case 11082: return East::Low;
case 10870: case 10871: case 10872: case 10876: case 10877: case 10878: case 10882: case 10883: case 10884: case 10888: case 10889: case 10890: case 10894: case 10895: case 10896: case 10900: case 10901: case 10902: case 10906: case 10907: case 10908: case 10912: case 10913: case 10914: case 10918: case 10919: case 10920: case 10924: case 10925: case 10926: case 10930: case 10931: case 10932: case 10936: case 10937: case 10938: case 10942: case 10943: case 10944: case 10948: case 10949: case 10950: case 10954: case 10955: case 10956: case 10960: case 10961: case 10962: case 10966: case 10967: case 10968: case 10972: case 10973: case 10974: return East::None;
default: return East::Tall;
}
}
- enum North North(short ID)
+ enum North North(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 10906: case 10907: case 10908: case 10912: case 10913: case 10914: case 10918: case 10919: case 10920: case 10924: case 10925: case 10926: case 10930: case 10931: case 10932: case 10936: case 10937: case 10938: case 11014: case 11015: case 11016: case 11020: case 11021: case 11022: case 11026: case 11027: case 11028: case 11032: case 11033: case 11034: case 11038: case 11039: case 11040: case 11044: case 11045: case 11046: case 11122: case 11123: case 11124: case 11128: case 11129: case 11130: case 11134: case 11135: case 11136: case 11140: case 11141: case 11142: case 11146: case 11147: case 11148: case 11152: case 11153: case 11154: return North::Low;
case 10870: case 10871: case 10872: case 10876: case 10877: case 10878: case 10882: case 10883: case 10884: case 10888: case 10889: case 10890: case 10894: case 10895: case 10896: case 10900: case 10901: case 10902: case 10978: case 10979: case 10980: case 10984: case 10985: case 10986: case 10990: case 10991: case 10992: case 10996: case 10997: case 10998: case 11002: case 11003: case 11004: case 11008: case 11009: case 11010: case 11086: case 11087: case 11088: case 11092: case 11093: case 11094: case 11098: case 11099: case 11100: case 11104: case 11105: case 11106: case 11110: case 11111: case 11112: case 11116: case 11117: case 11118: return North::None;
default: return North::Tall;
}
}
- enum South South(short ID)
+ enum South South(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 10882: case 10883: case 10884: case 10888: case 10889: case 10890: case 10918: case 10919: case 10920: case 10924: case 10925: case 10926: case 10954: case 10955: case 10956: case 10960: case 10961: case 10962: case 10990: case 10991: case 10992: case 10996: case 10997: case 10998: case 11026: case 11027: case 11028: case 11032: case 11033: case 11034: case 11062: case 11063: case 11064: case 11068: case 11069: case 11070: case 11098: case 11099: case 11100: case 11104: case 11105: case 11106: case 11134: case 11135: case 11136: case 11140: case 11141: case 11142: case 11170: case 11171: case 11172: case 11176: case 11177: case 11178: return South::Low;
case 10870: case 10871: case 10872: case 10876: case 10877: case 10878: case 10906: case 10907: case 10908: case 10912: case 10913: case 10914: case 10942: case 10943: case 10944: case 10948: case 10949: case 10950: case 10978: case 10979: case 10980: case 10984: case 10985: case 10986: case 11014: case 11015: case 11016: case 11020: case 11021: case 11022: case 11050: case 11051: case 11052: case 11056: case 11057: case 11058: case 11086: case 11087: case 11088: case 11092: case 11093: case 11094: case 11122: case 11123: case 11124: case 11128: case 11129: case 11130: case 11158: case 11159: case 11160: case 11164: case 11165: case 11166: return South::None;
default: return South::Tall;
}
}
- bool Up(short ID)
+ bool Up(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 10876: case 10877: case 10878: case 10888: case 10889: case 10890: case 10900: case 10901: case 10902: case 10912: case 10913: case 10914: case 10924: case 10925: case 10926: case 10936: case 10937: case 10938: case 10948: case 10949: case 10950: case 10960: case 10961: case 10962: case 10972: case 10973: case 10974: case 10984: case 10985: case 10986: case 10996: case 10997: case 10998: case 11008: case 11009: case 11010: case 11020: case 11021: case 11022: case 11032: case 11033: case 11034: case 11044: case 11045: case 11046: case 11056: case 11057: case 11058: case 11068: case 11069: case 11070: case 11080: case 11081: case 11082: case 11092: case 11093: case 11094: case 11104: case 11105: case 11106: case 11116: case 11117: case 11118: case 11128: case 11129: case 11130: case 11140: case 11141: case 11142: case 11152: case 11153: case 11154: case 11164: case 11165: case 11166: case 11176: case 11177: case 11178: case 11188: case 11189: case 11190: return false;
default: return true;
}
}
- enum West West(short ID)
+ enum West West(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 10871: case 10877: case 10883: case 10889: case 10895: case 10901: case 10907: case 10913: case 10919: case 10925: case 10931: case 10937: case 10943: case 10949: case 10955: case 10961: case 10967: case 10973: case 10979: case 10985: case 10991: case 10997: case 11003: case 11009: case 11015: case 11021: case 11027: case 11033: case 11039: case 11045: case 11051: case 11057: case 11063: case 11069: case 11075: case 11081: case 11087: case 11093: case 11099: case 11105: case 11111: case 11117: case 11123: case 11129: case 11135: case 11141: case 11147: case 11153: case 11159: case 11165: case 11171: case 11177: case 11183: case 11189: return West::Low;
case 10870: case 10876: case 10882: case 10888: case 10894: case 10900: case 10906: case 10912: case 10918: case 10924: case 10930: case 10936: case 10942: case 10948: case 10954: case 10960: case 10966: case 10972: case 10978: case 10984: case 10990: case 10996: case 11002: case 11008: case 11014: case 11020: case 11026: case 11032: case 11038: case 11044: case 11050: case 11056: case 11062: case 11068: case 11074: case 11080: case 11086: case 11092: case 11098: case 11104: case 11110: case 11116: case 11122: case 11128: case 11134: case 11140: case 11146: case 11152: case 11158: case 11164: case 11170: case 11176: case 11182: case 11188: return West::None;
@@ -2623,13 +1850,13 @@ namespace Block
}
namespace BrownBanner
{
- short BrownBanner()
+ BlockState BrownBanner()
{
return 8089;
}
- unsigned char Rotation(short ID)
+ unsigned char Rotation(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 8089: return 0;
case 8090: return 1;
@@ -2652,13 +1879,13 @@ namespace Block
}
namespace BrownBed
{
- short BrownBed()
+ BlockState BrownBed()
{
return 1244;
}
- eBlockFace Facing(short ID)
+ eBlockFace Facing(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 1249: case 1250: case 1251: case 1252: return eBlockFace::BLOCK_FACE_XM;
case 1253: case 1254: case 1255: case 1256: return eBlockFace::BLOCK_FACE_XP;
@@ -2666,17 +1893,17 @@ namespace Block
default: return eBlockFace::BLOCK_FACE_ZP;
}
}
- bool Occupied(short ID)
+ bool Occupied(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 1243: case 1244: case 1247: case 1248: case 1251: case 1252: case 1255: case 1256: return false;
default: return true;
}
}
- enum Part Part(short ID)
+ enum Part Part(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 1242: case 1244: case 1246: case 1248: case 1250: case 1252: case 1254: case 1256: return Part::Foot;
default: return Part::Head;
@@ -2694,13 +1921,13 @@ namespace Block
}
namespace BrownGlazedTerracotta
{
- short BrownGlazedTerracotta()
+ BlockState BrownGlazedTerracotta()
{
return 9422;
}
- eBlockFace Facing(short ID)
+ eBlockFace Facing(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 9424: return eBlockFace::BLOCK_FACE_XM;
case 9425: return eBlockFace::BLOCK_FACE_XP;
@@ -2714,53 +1941,53 @@ namespace Block
}
namespace BrownMushroomBlock
{
- short BrownMushroomBlock()
+ BlockState BrownMushroomBlock()
{
return 4505;
}
- bool Down(short ID)
+ bool Down(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 4537: case 4538: case 4539: case 4540: case 4541: case 4542: case 4543: case 4544: case 4545: case 4546: case 4547: case 4548: case 4549: case 4550: case 4551: case 4552: case 4553: case 4554: case 4555: case 4556: case 4557: case 4558: case 4559: case 4560: case 4561: case 4562: case 4563: case 4564: case 4565: case 4566: case 4567: case 4568: return false;
default: return true;
}
}
- bool East(short ID)
+ bool East(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 4521: case 4522: case 4523: case 4524: case 4525: case 4526: case 4527: case 4528: case 4529: case 4530: case 4531: case 4532: case 4533: case 4534: case 4535: case 4536: case 4553: case 4554: case 4555: case 4556: case 4557: case 4558: case 4559: case 4560: case 4561: case 4562: case 4563: case 4564: case 4565: case 4566: case 4567: case 4568: return false;
default: return true;
}
}
- bool North(short ID)
+ bool North(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 4513: case 4514: case 4515: case 4516: case 4517: case 4518: case 4519: case 4520: case 4529: case 4530: case 4531: case 4532: case 4533: case 4534: case 4535: case 4536: case 4545: case 4546: case 4547: case 4548: case 4549: case 4550: case 4551: case 4552: case 4561: case 4562: case 4563: case 4564: case 4565: case 4566: case 4567: case 4568: return false;
default: return true;
}
}
- bool South(short ID)
+ bool South(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 4509: case 4510: case 4511: case 4512: case 4517: case 4518: case 4519: case 4520: case 4525: case 4526: case 4527: case 4528: case 4533: case 4534: case 4535: case 4536: case 4541: case 4542: case 4543: case 4544: case 4549: case 4550: case 4551: case 4552: case 4557: case 4558: case 4559: case 4560: case 4565: case 4566: case 4567: case 4568: return false;
default: return true;
}
}
- bool Up(short ID)
+ bool Up(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 4507: case 4508: case 4511: case 4512: case 4515: case 4516: case 4519: case 4520: case 4523: case 4524: case 4527: case 4528: case 4531: case 4532: case 4535: case 4536: case 4539: case 4540: case 4543: case 4544: case 4547: case 4548: case 4551: case 4552: case 4555: case 4556: case 4559: case 4560: case 4563: case 4564: case 4567: case 4568: return false;
default: return true;
}
}
- bool West(short ID)
+ bool West(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 4506: case 4508: case 4510: case 4512: case 4514: case 4516: case 4518: case 4520: case 4522: case 4524: case 4526: case 4528: case 4530: case 4532: case 4534: case 4536: case 4538: case 4540: case 4542: case 4544: case 4546: case 4548: case 4550: case 4552: case 4554: case 4556: case 4558: case 4560: case 4562: case 4564: case 4566: case 4568: return false;
default: return true;
@@ -2769,13 +1996,13 @@ namespace Block
}
namespace BrownShulkerBox
{
- short BrownShulkerBox()
+ BlockState BrownShulkerBox()
{
return 9354;
}
- eBlockFace Facing(short ID)
+ eBlockFace Facing(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 9353: return eBlockFace::BLOCK_FACE_XM;
case 9351: return eBlockFace::BLOCK_FACE_XP;
@@ -2791,37 +2018,37 @@ namespace Block
}
namespace BrownStainedGlassPane
{
- short BrownStainedGlassPane()
+ BlockState BrownStainedGlassPane()
{
return 7278;
}
- bool East(short ID)
+ bool East(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 7265: case 7266: case 7269: case 7270: case 7273: case 7274: case 7277: case 7278: return false;
default: return true;
}
}
- bool North(short ID)
+ bool North(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 7257: case 7258: case 7261: case 7262: case 7273: case 7274: case 7277: case 7278: return false;
default: return true;
}
}
- bool South(short ID)
+ bool South(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 7253: case 7254: case 7261: case 7262: case 7269: case 7270: case 7277: case 7278: return false;
default: return true;
}
}
- bool West(short ID)
+ bool West(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 7250: case 7254: case 7258: case 7262: case 7266: case 7270: case 7274: case 7278: return false;
default: return true;
@@ -2833,13 +2060,13 @@ namespace Block
}
namespace BrownWallBanner
{
- short BrownWallBanner()
+ BlockState BrownWallBanner()
{
return 8201;
}
- eBlockFace Facing(short ID)
+ eBlockFace Facing(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 8203: return eBlockFace::BLOCK_FACE_XM;
case 8204: return eBlockFace::BLOCK_FACE_XP;
@@ -2853,13 +2080,13 @@ namespace Block
}
namespace BubbleColumn
{
- short BubbleColumn()
+ BlockState BubbleColumn()
{
return 9667;
}
- bool Drag(short ID)
+ bool Drag(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 9668: return false;
default: return true;
@@ -2877,13 +2104,13 @@ namespace Block
}
namespace BubbleCoralWallFan
{
- short BubbleCoralWallFan()
+ BlockState BubbleCoralWallFan()
{
return 9616;
}
- eBlockFace Facing(short ID)
+ eBlockFace Facing(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 9621: return eBlockFace::BLOCK_FACE_XM;
case 9623: return eBlockFace::BLOCK_FACE_XP;
@@ -2894,13 +2121,13 @@ namespace Block
}
namespace Cactus
{
- short Cactus()
+ BlockState Cactus()
{
return 3931;
}
- unsigned char Age(short ID)
+ unsigned char Age(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 3931: return 0;
case 3932: return 1;
@@ -2923,13 +2150,13 @@ namespace Block
}
namespace Cake
{
- short Cake()
+ BlockState Cake()
{
return 4024;
}
- unsigned char Bites(short ID)
+ unsigned char Bites(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 4024: return 0;
case 4025: return 1;
@@ -2943,13 +2170,13 @@ namespace Block
}
namespace Campfire
{
- short Campfire()
+ BlockState Campfire()
{
return 14893;
}
- eBlockFace Facing(short ID)
+ eBlockFace Facing(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 14907: case 14909: case 14911: case 14913: return eBlockFace::BLOCK_FACE_XM;
case 14915: case 14917: case 14919: case 14921: return eBlockFace::BLOCK_FACE_XP;
@@ -2957,17 +2184,17 @@ namespace Block
default: return eBlockFace::BLOCK_FACE_ZP;
}
}
- bool Lit(short ID)
+ bool Lit(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 14895: case 14897: case 14903: case 14905: case 14911: case 14913: case 14919: case 14921: return false;
default: return true;
}
}
- bool SignalFire(short ID)
+ bool SignalFire(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 14893: case 14897: case 14901: case 14905: case 14909: case 14913: case 14917: case 14921: return false;
default: return true;
@@ -2976,13 +2203,13 @@ namespace Block
}
namespace Carrots
{
- short Carrots()
+ BlockState Carrots()
{
return 6330;
}
- unsigned char Age(short ID)
+ unsigned char Age(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 6330: return 0;
case 6331: return 1;
@@ -3000,13 +2227,13 @@ namespace Block
}
namespace CarvedPumpkin
{
- short CarvedPumpkin()
+ BlockState CarvedPumpkin()
{
return 4016;
}
- eBlockFace Facing(short ID)
+ eBlockFace Facing(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 4018: return eBlockFace::BLOCK_FACE_XM;
case 4019: return eBlockFace::BLOCK_FACE_XP;
@@ -3017,13 +2244,13 @@ namespace Block
}
namespace Cauldron
{
- short Cauldron()
+ BlockState Cauldron()
{
return 5141;
}
- unsigned char Level(short ID)
+ unsigned char Level(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 5141: return 0;
case 5142: return 1;
@@ -3040,21 +2267,21 @@ namespace Block
}
namespace ChainCommandBlock
{
- short ChainCommandBlock()
+ BlockState ChainCommandBlock()
{
return 9243;
}
- bool Conditional(short ID)
+ bool Conditional(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 9243: case 9244: case 9245: case 9246: case 9247: case 9248: return false;
default: return true;
}
}
- eBlockFace Facing(short ID)
+ eBlockFace Facing(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 9240: case 9246: return eBlockFace::BLOCK_FACE_XM;
case 9238: case 9244: return eBlockFace::BLOCK_FACE_XP;
@@ -3067,13 +2294,13 @@ namespace Block
}
namespace Chest
{
- short Chest()
+ BlockState Chest()
{
return 2035;
}
- eBlockFace Facing(short ID)
+ eBlockFace Facing(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 2047: case 2049: case 2051: return eBlockFace::BLOCK_FACE_XM;
case 2053: case 2055: case 2057: return eBlockFace::BLOCK_FACE_XP;
@@ -3081,9 +2308,9 @@ namespace Block
default: return eBlockFace::BLOCK_FACE_ZP;
}
}
- enum Type Type(short ID)
+ enum Type Type(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 2037: case 2043: case 2049: case 2055: return Type::Left;
case 2039: case 2045: case 2051: case 2057: return Type::Right;
@@ -3093,13 +2320,13 @@ namespace Block
}
namespace ChippedAnvil
{
- short ChippedAnvil()
+ BlockState ChippedAnvil()
{
return 6614;
}
- eBlockFace Facing(short ID)
+ eBlockFace Facing(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 6616: return eBlockFace::BLOCK_FACE_XM;
case 6617: return eBlockFace::BLOCK_FACE_XP;
@@ -3128,13 +2355,13 @@ namespace Block
}
namespace ChorusFlower
{
- short ChorusFlower()
+ BlockState ChorusFlower()
{
return 9128;
}
- unsigned char Age(short ID)
+ unsigned char Age(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 9128: return 0;
case 9129: return 1;
@@ -3147,53 +2374,53 @@ namespace Block
}
namespace ChorusPlant
{
- short ChorusPlant()
+ BlockState ChorusPlant()
{
return 9127;
}
- bool Down(short ID)
+ bool Down(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 9096: case 9097: case 9098: case 9099: case 9100: case 9101: case 9102: case 9103: case 9104: case 9105: case 9106: case 9107: case 9108: case 9109: case 9110: case 9111: case 9112: case 9113: case 9114: case 9115: case 9116: case 9117: case 9118: case 9119: case 9120: case 9121: case 9122: case 9123: case 9124: case 9125: case 9126: case 9127: return false;
default: return true;
}
}
- bool East(short ID)
+ bool East(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 9080: case 9081: case 9082: case 9083: case 9084: case 9085: case 9086: case 9087: case 9088: case 9089: case 9090: case 9091: case 9092: case 9093: case 9094: case 9095: case 9112: case 9113: case 9114: case 9115: case 9116: case 9117: case 9118: case 9119: case 9120: case 9121: case 9122: case 9123: case 9124: case 9125: case 9126: case 9127: return false;
default: return true;
}
}
- bool North(short ID)
+ bool North(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 9072: case 9073: case 9074: case 9075: case 9076: case 9077: case 9078: case 9079: case 9088: case 9089: case 9090: case 9091: case 9092: case 9093: case 9094: case 9095: case 9104: case 9105: case 9106: case 9107: case 9108: case 9109: case 9110: case 9111: case 9120: case 9121: case 9122: case 9123: case 9124: case 9125: case 9126: case 9127: return false;
default: return true;
}
}
- bool South(short ID)
+ bool South(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 9068: case 9069: case 9070: case 9071: case 9076: case 9077: case 9078: case 9079: case 9084: case 9085: case 9086: case 9087: case 9092: case 9093: case 9094: case 9095: case 9100: case 9101: case 9102: case 9103: case 9108: case 9109: case 9110: case 9111: case 9116: case 9117: case 9118: case 9119: case 9124: case 9125: case 9126: case 9127: return false;
default: return true;
}
}
- bool Up(short ID)
+ bool Up(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 9066: case 9067: case 9070: case 9071: case 9074: case 9075: case 9078: case 9079: case 9082: case 9083: case 9086: case 9087: case 9090: case 9091: case 9094: case 9095: case 9098: case 9099: case 9102: case 9103: case 9106: case 9107: case 9110: case 9111: case 9114: case 9115: case 9118: case 9119: case 9122: case 9123: case 9126: case 9127: return false;
default: return true;
}
}
- bool West(short ID)
+ bool West(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 9065: case 9067: case 9069: case 9071: case 9073: case 9075: case 9077: case 9079: case 9081: case 9083: case 9085: case 9087: case 9089: case 9091: case 9093: case 9095: case 9097: case 9099: case 9101: case 9103: case 9105: case 9107: case 9109: case 9111: case 9113: case 9115: case 9117: case 9119: case 9121: case 9123: case 9125: case 9127: return false;
default: return true;
@@ -3217,13 +2444,13 @@ namespace Block
}
namespace CobblestoneSlab
{
- short CobblestoneSlab()
+ BlockState CobblestoneSlab()
{
return 8369;
}
- enum Type Type(short ID)
+ enum Type Type(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 8369: return Type::Bottom;
case 8371: return Type::Double;
@@ -3233,13 +2460,13 @@ namespace Block
}
namespace CobblestoneStairs
{
- short CobblestoneStairs()
+ BlockState CobblestoneStairs()
{
return 3666;
}
- eBlockFace Facing(short ID)
+ eBlockFace Facing(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 3696: case 3698: case 3700: case 3702: case 3704: case 3706: case 3708: case 3710: case 3712: case 3714: return eBlockFace::BLOCK_FACE_XM;
case 3716: case 3718: case 3720: case 3722: case 3724: case 3726: case 3728: case 3730: case 3732: case 3734: return eBlockFace::BLOCK_FACE_XP;
@@ -3247,17 +2474,17 @@ namespace Block
default: return eBlockFace::BLOCK_FACE_ZP;
}
}
- enum Half Half(short ID)
+ enum Half Half(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 3666: case 3668: case 3670: case 3672: case 3674: case 3686: case 3688: case 3690: case 3692: case 3694: case 3706: case 3708: case 3710: case 3712: case 3714: case 3726: case 3728: case 3730: case 3732: case 3734: return Half::Bottom;
default: return Half::Top;
}
}
- enum Shape Shape(short ID)
+ enum Shape Shape(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 3658: case 3668: case 3678: case 3688: case 3698: case 3708: case 3718: case 3728: return Shape::InnerLeft;
case 3660: case 3670: case 3680: case 3690: case 3700: case 3710: case 3720: case 3730: return Shape::InnerRight;
@@ -3269,48 +2496,48 @@ namespace Block
}
namespace CobblestoneWall
{
- short CobblestoneWall()
+ BlockState CobblestoneWall()
{
return 5660;
}
- enum East East(short ID)
+ enum East East(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 5768: case 5769: case 5770: case 5774: case 5775: case 5776: case 5780: case 5781: case 5782: case 5786: case 5787: case 5788: case 5792: case 5793: case 5794: case 5798: case 5799: case 5800: case 5804: case 5805: case 5806: case 5810: case 5811: case 5812: case 5816: case 5817: case 5818: case 5822: case 5823: case 5824: case 5828: case 5829: case 5830: case 5834: case 5835: case 5836: case 5840: case 5841: case 5842: case 5846: case 5847: case 5848: case 5852: case 5853: case 5854: case 5858: case 5859: case 5860: case 5864: case 5865: case 5866: case 5870: case 5871: case 5872: return East::Low;
case 5660: case 5661: case 5662: case 5666: case 5667: case 5668: case 5672: case 5673: case 5674: case 5678: case 5679: case 5680: case 5684: case 5685: case 5686: case 5690: case 5691: case 5692: case 5696: case 5697: case 5698: case 5702: case 5703: case 5704: case 5708: case 5709: case 5710: case 5714: case 5715: case 5716: case 5720: case 5721: case 5722: case 5726: case 5727: case 5728: case 5732: case 5733: case 5734: case 5738: case 5739: case 5740: case 5744: case 5745: case 5746: case 5750: case 5751: case 5752: case 5756: case 5757: case 5758: case 5762: case 5763: case 5764: return East::None;
default: return East::Tall;
}
}
- enum North North(short ID)
+ enum North North(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 5696: case 5697: case 5698: case 5702: case 5703: case 5704: case 5708: case 5709: case 5710: case 5714: case 5715: case 5716: case 5720: case 5721: case 5722: case 5726: case 5727: case 5728: case 5804: case 5805: case 5806: case 5810: case 5811: case 5812: case 5816: case 5817: case 5818: case 5822: case 5823: case 5824: case 5828: case 5829: case 5830: case 5834: case 5835: case 5836: case 5912: case 5913: case 5914: case 5918: case 5919: case 5920: case 5924: case 5925: case 5926: case 5930: case 5931: case 5932: case 5936: case 5937: case 5938: case 5942: case 5943: case 5944: return North::Low;
case 5660: case 5661: case 5662: case 5666: case 5667: case 5668: case 5672: case 5673: case 5674: case 5678: case 5679: case 5680: case 5684: case 5685: case 5686: case 5690: case 5691: case 5692: case 5768: case 5769: case 5770: case 5774: case 5775: case 5776: case 5780: case 5781: case 5782: case 5786: case 5787: case 5788: case 5792: case 5793: case 5794: case 5798: case 5799: case 5800: case 5876: case 5877: case 5878: case 5882: case 5883: case 5884: case 5888: case 5889: case 5890: case 5894: case 5895: case 5896: case 5900: case 5901: case 5902: case 5906: case 5907: case 5908: return North::None;
default: return North::Tall;
}
}
- enum South South(short ID)
+ enum South South(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 5672: case 5673: case 5674: case 5678: case 5679: case 5680: case 5708: case 5709: case 5710: case 5714: case 5715: case 5716: case 5744: case 5745: case 5746: case 5750: case 5751: case 5752: case 5780: case 5781: case 5782: case 5786: case 5787: case 5788: case 5816: case 5817: case 5818: case 5822: case 5823: case 5824: case 5852: case 5853: case 5854: case 5858: case 5859: case 5860: case 5888: case 5889: case 5890: case 5894: case 5895: case 5896: case 5924: case 5925: case 5926: case 5930: case 5931: case 5932: case 5960: case 5961: case 5962: case 5966: case 5967: case 5968: return South::Low;
case 5660: case 5661: case 5662: case 5666: case 5667: case 5668: case 5696: case 5697: case 5698: case 5702: case 5703: case 5704: case 5732: case 5733: case 5734: case 5738: case 5739: case 5740: case 5768: case 5769: case 5770: case 5774: case 5775: case 5776: case 5804: case 5805: case 5806: case 5810: case 5811: case 5812: case 5840: case 5841: case 5842: case 5846: case 5847: case 5848: case 5876: case 5877: case 5878: case 5882: case 5883: case 5884: case 5912: case 5913: case 5914: case 5918: case 5919: case 5920: case 5948: case 5949: case 5950: case 5954: case 5955: case 5956: return South::None;
default: return South::Tall;
}
}
- bool Up(short ID)
+ bool Up(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 5666: case 5667: case 5668: case 5678: case 5679: case 5680: case 5690: case 5691: case 5692: case 5702: case 5703: case 5704: case 5714: case 5715: case 5716: case 5726: case 5727: case 5728: case 5738: case 5739: case 5740: case 5750: case 5751: case 5752: case 5762: case 5763: case 5764: case 5774: case 5775: case 5776: case 5786: case 5787: case 5788: case 5798: case 5799: case 5800: case 5810: case 5811: case 5812: case 5822: case 5823: case 5824: case 5834: case 5835: case 5836: case 5846: case 5847: case 5848: case 5858: case 5859: case 5860: case 5870: case 5871: case 5872: case 5882: case 5883: case 5884: case 5894: case 5895: case 5896: case 5906: case 5907: case 5908: case 5918: case 5919: case 5920: case 5930: case 5931: case 5932: case 5942: case 5943: case 5944: case 5954: case 5955: case 5956: case 5966: case 5967: case 5968: case 5978: case 5979: case 5980: return false;
default: return true;
}
}
- enum West West(short ID)
+ enum West West(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 5661: case 5667: case 5673: case 5679: case 5685: case 5691: case 5697: case 5703: case 5709: case 5715: case 5721: case 5727: case 5733: case 5739: case 5745: case 5751: case 5757: case 5763: case 5769: case 5775: case 5781: case 5787: case 5793: case 5799: case 5805: case 5811: case 5817: case 5823: case 5829: case 5835: case 5841: case 5847: case 5853: case 5859: case 5865: case 5871: case 5877: case 5883: case 5889: case 5895: case 5901: case 5907: case 5913: case 5919: case 5925: case 5931: case 5937: case 5943: case 5949: case 5955: case 5961: case 5967: case 5973: case 5979: return West::Low;
case 5660: case 5666: case 5672: case 5678: case 5684: case 5690: case 5696: case 5702: case 5708: case 5714: case 5720: case 5726: case 5732: case 5738: case 5744: case 5750: case 5756: case 5762: case 5768: case 5774: case 5780: case 5786: case 5792: case 5798: case 5804: case 5810: case 5816: case 5822: case 5828: case 5834: case 5840: case 5846: case 5852: case 5858: case 5864: case 5870: case 5876: case 5882: case 5888: case 5894: case 5900: case 5906: case 5912: case 5918: case 5924: case 5930: case 5936: case 5942: case 5948: case 5954: case 5960: case 5966: case 5972: case 5978: return West::None;
@@ -3323,22 +2550,22 @@ namespace Block
}
namespace Cocoa
{
- short Cocoa()
+ BlockState Cocoa()
{
return 5158;
}
- unsigned char Age(short ID)
+ unsigned char Age(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 5158: case 5159: case 5160: case 5161: return 0;
case 5162: case 5163: case 5164: case 5165: return 1;
default: return 2;
}
}
- eBlockFace Facing(short ID)
+ eBlockFace Facing(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 5160: case 5164: case 5168: return eBlockFace::BLOCK_FACE_XM;
case 5161: case 5165: case 5169: return eBlockFace::BLOCK_FACE_XP;
@@ -3349,21 +2576,21 @@ namespace Block
}
namespace CommandBlock
{
- short CommandBlock()
+ BlockState CommandBlock()
{
return 5650;
}
- bool Conditional(short ID)
+ bool Conditional(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 5650: case 5651: case 5652: case 5653: case 5654: case 5655: return false;
default: return true;
}
}
- eBlockFace Facing(short ID)
+ eBlockFace Facing(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 5647: case 5653: return eBlockFace::BLOCK_FACE_XM;
case 5645: case 5651: return eBlockFace::BLOCK_FACE_XP;
@@ -3376,13 +2603,13 @@ namespace Block
}
namespace Comparator
{
- short Comparator()
+ BlockState Comparator()
{
return 6679;
}
- eBlockFace Facing(short ID)
+ eBlockFace Facing(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 6686: case 6687: case 6688: case 6689: return eBlockFace::BLOCK_FACE_XM;
case 6690: case 6691: case 6692: case 6693: return eBlockFace::BLOCK_FACE_XP;
@@ -3390,17 +2617,17 @@ namespace Block
default: return eBlockFace::BLOCK_FACE_ZP;
}
}
- enum Mode Mode(short ID)
+ enum Mode Mode(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 6678: case 6679: case 6682: case 6683: case 6686: case 6687: case 6690: case 6691: return Mode::Compare;
default: return Mode::Subtract;
}
}
- bool Powered(short ID)
+ bool Powered(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 6679: case 6681: case 6683: case 6685: case 6687: case 6689: case 6691: case 6693: return false;
default: return true;
@@ -3409,13 +2636,13 @@ namespace Block
}
namespace Composter
{
- short Composter()
+ BlockState Composter()
{
return 15751;
}
- unsigned char Level(short ID)
+ unsigned char Level(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 15751: return 0;
case 15752: return 1;
@@ -3449,13 +2676,13 @@ namespace Block
}
namespace CreeperHead
{
- short CreeperHead()
+ BlockState CreeperHead()
{
return 6570;
}
- unsigned char Rotation(short ID)
+ unsigned char Rotation(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 6570: return 0;
case 6571: return 1;
@@ -3478,13 +2705,13 @@ namespace Block
}
namespace CreeperWallHead
{
- short CreeperWallHead()
+ BlockState CreeperWallHead()
{
return 6586;
}
- eBlockFace Facing(short ID)
+ eBlockFace Facing(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 6588: return eBlockFace::BLOCK_FACE_XM;
case 6589: return eBlockFace::BLOCK_FACE_XP;
@@ -3495,22 +2722,22 @@ namespace Block
}
namespace CrimsonButton
{
- short CrimsonButton()
+ BlockState CrimsonButton()
{
return 15488;
}
- enum Face Face(short ID)
+ enum Face Face(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 15495: case 15496: case 15497: case 15498: case 15499: case 15500: case 15501: case 15502: return Face::Ceiling;
case 15479: case 15480: case 15481: case 15482: case 15483: case 15484: case 15485: case 15486: return Face::Floor;
default: return Face::Wall;
}
}
- eBlockFace Facing(short ID)
+ eBlockFace Facing(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 15483: case 15484: case 15491: case 15492: case 15499: case 15500: return eBlockFace::BLOCK_FACE_XM;
case 15485: case 15486: case 15493: case 15494: case 15501: case 15502: return eBlockFace::BLOCK_FACE_XP;
@@ -3518,9 +2745,9 @@ namespace Block
default: return eBlockFace::BLOCK_FACE_ZP;
}
}
- bool Powered(short ID)
+ bool Powered(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 15480: case 15482: case 15484: case 15486: case 15488: case 15490: case 15492: case 15494: case 15496: case 15498: case 15500: case 15502: return false;
default: return true;
@@ -3529,13 +2756,13 @@ namespace Block
}
namespace CrimsonDoor
{
- short CrimsonDoor()
+ BlockState CrimsonDoor()
{
return 15538;
}
- eBlockFace Facing(short ID)
+ eBlockFace Facing(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 15559: case 15560: case 15561: case 15562: case 15563: case 15564: case 15565: case 15566: case 15567: case 15568: case 15569: case 15570: case 15571: case 15572: case 15573: case 15574: return eBlockFace::BLOCK_FACE_XM;
case 15575: case 15576: case 15577: case 15578: case 15579: case 15580: case 15581: case 15582: case 15583: case 15584: case 15585: case 15586: case 15587: case 15588: case 15589: case 15590: return eBlockFace::BLOCK_FACE_XP;
@@ -3543,33 +2770,33 @@ namespace Block
default: return eBlockFace::BLOCK_FACE_ZP;
}
}
- enum Half Half(short ID)
+ enum Half Half(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 15535: case 15536: case 15537: case 15538: case 15539: case 15540: case 15541: case 15542: case 15551: case 15552: case 15553: case 15554: case 15555: case 15556: case 15557: case 15558: case 15567: case 15568: case 15569: case 15570: case 15571: case 15572: case 15573: case 15574: case 15583: case 15584: case 15585: case 15586: case 15587: case 15588: case 15589: case 15590: return Half::Lower;
default: return Half::Upper;
}
}
- enum Hinge Hinge(short ID)
+ enum Hinge Hinge(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 15527: case 15528: case 15529: case 15530: case 15535: case 15536: case 15537: case 15538: case 15543: case 15544: case 15545: case 15546: case 15551: case 15552: case 15553: case 15554: case 15559: case 15560: case 15561: case 15562: case 15567: case 15568: case 15569: case 15570: case 15575: case 15576: case 15577: case 15578: case 15583: case 15584: case 15585: case 15586: return Hinge::Left;
default: return Hinge::Right;
}
}
- bool Open(short ID)
+ bool Open(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 15529: case 15530: case 15533: case 15534: case 15537: case 15538: case 15541: case 15542: case 15545: case 15546: case 15549: case 15550: case 15553: case 15554: case 15557: case 15558: case 15561: case 15562: case 15565: case 15566: case 15569: case 15570: case 15573: case 15574: case 15577: case 15578: case 15581: case 15582: case 15585: case 15586: case 15589: case 15590: return false;
default: return true;
}
}
- bool Powered(short ID)
+ bool Powered(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 15528: case 15530: case 15532: case 15534: case 15536: case 15538: case 15540: case 15542: case 15544: case 15546: case 15548: case 15550: case 15552: case 15554: case 15556: case 15558: case 15560: case 15562: case 15564: case 15566: case 15568: case 15570: case 15572: case 15574: case 15576: case 15578: case 15580: case 15582: case 15584: case 15586: case 15588: case 15590: return false;
default: return true;
@@ -3578,37 +2805,37 @@ namespace Block
}
namespace CrimsonFence
{
- short CrimsonFence()
+ BlockState CrimsonFence()
{
return 15094;
}
- bool East(short ID)
+ bool East(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 15081: case 15082: case 15085: case 15086: case 15089: case 15090: case 15093: case 15094: return false;
default: return true;
}
}
- bool North(short ID)
+ bool North(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 15073: case 15074: case 15077: case 15078: case 15089: case 15090: case 15093: case 15094: return false;
default: return true;
}
}
- bool South(short ID)
+ bool South(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 15069: case 15070: case 15077: case 15078: case 15085: case 15086: case 15093: case 15094: return false;
default: return true;
}
}
- bool West(short ID)
+ bool West(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 15066: case 15070: case 15074: case 15078: case 15082: case 15086: case 15090: case 15094: return false;
default: return true;
@@ -3617,13 +2844,13 @@ namespace Block
}
namespace CrimsonFenceGate
{
- short CrimsonFenceGate()
+ BlockState CrimsonFenceGate()
{
return 15262;
}
- eBlockFace Facing(short ID)
+ eBlockFace Facing(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 15271: case 15272: case 15273: case 15274: case 15275: case 15276: case 15277: case 15278: return eBlockFace::BLOCK_FACE_XM;
case 15279: case 15280: case 15281: case 15282: case 15283: case 15284: case 15285: case 15286: return eBlockFace::BLOCK_FACE_XP;
@@ -3631,25 +2858,25 @@ namespace Block
default: return eBlockFace::BLOCK_FACE_ZP;
}
}
- bool InWall(short ID)
+ bool InWall(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 15259: case 15260: case 15261: case 15262: case 15267: case 15268: case 15269: case 15270: case 15275: case 15276: case 15277: case 15278: case 15283: case 15284: case 15285: case 15286: return false;
default: return true;
}
}
- bool Open(short ID)
+ bool Open(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 15257: case 15258: case 15261: case 15262: case 15265: case 15266: case 15269: case 15270: case 15273: case 15274: case 15277: case 15278: case 15281: case 15282: case 15285: case 15286: return false;
default: return true;
}
}
- bool Powered(short ID)
+ bool Powered(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 15256: case 15258: case 15260: case 15262: case 15264: case 15266: case 15268: case 15270: case 15272: case 15274: case 15276: case 15278: case 15280: case 15282: case 15284: case 15286: return false;
default: return true;
@@ -3661,13 +2888,13 @@ namespace Block
}
namespace CrimsonHyphae
{
- short CrimsonHyphae()
+ BlockState CrimsonHyphae()
{
return 14982;
}
- enum Axis Axis(short ID)
+ enum Axis Axis(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 14981: return Axis::X;
case 14982: return Axis::Y;
@@ -3683,13 +2910,13 @@ namespace Block
}
namespace CrimsonPressurePlate
{
- short CrimsonPressurePlate()
+ BlockState CrimsonPressurePlate()
{
return 15060;
}
- bool Powered(short ID)
+ bool Powered(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 15060: return false;
default: return true;
@@ -3701,13 +2928,13 @@ namespace Block
}
namespace CrimsonSign
{
- short CrimsonSign()
+ BlockState CrimsonSign()
{
return 15656;
}
- unsigned char Rotation(short ID)
+ unsigned char Rotation(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 15656: return 0;
case 15658: return 1;
@@ -3730,13 +2957,13 @@ namespace Block
}
namespace CrimsonSlab
{
- short CrimsonSlab()
+ BlockState CrimsonSlab()
{
return 15050;
}
- enum Type Type(short ID)
+ enum Type Type(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 15050: return Type::Bottom;
case 15052: return Type::Double;
@@ -3746,13 +2973,13 @@ namespace Block
}
namespace CrimsonStairs
{
- short CrimsonStairs()
+ BlockState CrimsonStairs()
{
return 15330;
}
- eBlockFace Facing(short ID)
+ eBlockFace Facing(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 15360: case 15362: case 15364: case 15366: case 15368: case 15370: case 15372: case 15374: case 15376: case 15378: return eBlockFace::BLOCK_FACE_XM;
case 15380: case 15382: case 15384: case 15386: case 15388: case 15390: case 15392: case 15394: case 15396: case 15398: return eBlockFace::BLOCK_FACE_XP;
@@ -3760,17 +2987,17 @@ namespace Block
default: return eBlockFace::BLOCK_FACE_ZP;
}
}
- enum Half Half(short ID)
+ enum Half Half(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 15330: case 15332: case 15334: case 15336: case 15338: case 15350: case 15352: case 15354: case 15356: case 15358: case 15370: case 15372: case 15374: case 15376: case 15378: case 15390: case 15392: case 15394: case 15396: case 15398: return Half::Bottom;
default: return Half::Top;
}
}
- enum Shape Shape(short ID)
+ enum Shape Shape(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 15322: case 15332: case 15342: case 15352: case 15362: case 15372: case 15382: case 15392: return Shape::InnerLeft;
case 15324: case 15334: case 15344: case 15354: case 15364: case 15374: case 15384: case 15394: return Shape::InnerRight;
@@ -3782,13 +3009,13 @@ namespace Block
}
namespace CrimsonStem
{
- short CrimsonStem()
+ BlockState CrimsonStem()
{
return 14976;
}
- enum Axis Axis(short ID)
+ enum Axis Axis(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 14975: return Axis::X;
case 14976: return Axis::Y;
@@ -3798,13 +3025,13 @@ namespace Block
}
namespace CrimsonTrapdoor
{
- short CrimsonTrapdoor()
+ BlockState CrimsonTrapdoor()
{
return 15142;
}
- eBlockFace Facing(short ID)
+ eBlockFace Facing(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 15160: case 15162: case 15164: case 15166: case 15168: case 15170: case 15172: case 15174: return eBlockFace::BLOCK_FACE_XM;
case 15176: case 15178: case 15180: case 15182: case 15184: case 15186: case 15188: case 15190: return eBlockFace::BLOCK_FACE_XP;
@@ -3812,25 +3039,25 @@ namespace Block
default: return eBlockFace::BLOCK_FACE_ZP;
}
}
- enum Half Half(short ID)
+ enum Half Half(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 15136: case 15138: case 15140: case 15142: case 15152: case 15154: case 15156: case 15158: case 15168: case 15170: case 15172: case 15174: case 15184: case 15186: case 15188: case 15190: return Half::Bottom;
default: return Half::Top;
}
}
- bool Open(short ID)
+ bool Open(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 15132: case 15134: case 15140: case 15142: case 15148: case 15150: case 15156: case 15158: case 15164: case 15166: case 15172: case 15174: case 15180: case 15182: case 15188: case 15190: return false;
default: return true;
}
}
- bool Powered(short ID)
+ bool Powered(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 15130: case 15134: case 15138: case 15142: case 15146: case 15150: case 15154: case 15158: case 15162: case 15166: case 15170: case 15174: case 15178: case 15182: case 15186: case 15190: return false;
default: return true;
@@ -3839,13 +3066,13 @@ namespace Block
}
namespace CrimsonWallSign
{
- short CrimsonWallSign()
+ BlockState CrimsonWallSign()
{
return 15720;
}
- eBlockFace Facing(short ID)
+ eBlockFace Facing(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 15724: return eBlockFace::BLOCK_FACE_XM;
case 15726: return eBlockFace::BLOCK_FACE_XP;
@@ -3862,13 +3089,13 @@ namespace Block
}
namespace CutRedSandstoneSlab
{
- short CutRedSandstoneSlab()
+ BlockState CutRedSandstoneSlab()
{
return 8405;
}
- enum Type Type(short ID)
+ enum Type Type(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 8405: return Type::Bottom;
case 8407: return Type::Double;
@@ -3881,13 +3108,13 @@ namespace Block
}
namespace CutSandstoneSlab
{
- short CutSandstoneSlab()
+ BlockState CutSandstoneSlab()
{
return 8357;
}
- enum Type Type(short ID)
+ enum Type Type(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 8357: return Type::Bottom;
case 8359: return Type::Double;
@@ -3897,13 +3124,13 @@ namespace Block
}
namespace CyanBanner
{
- short CyanBanner()
+ BlockState CyanBanner()
{
return 8041;
}
- unsigned char Rotation(short ID)
+ unsigned char Rotation(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 8041: return 0;
case 8042: return 1;
@@ -3926,13 +3153,13 @@ namespace Block
}
namespace CyanBed
{
- short CyanBed()
+ BlockState CyanBed()
{
return 1196;
}
- eBlockFace Facing(short ID)
+ eBlockFace Facing(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 1201: case 1202: case 1203: case 1204: return eBlockFace::BLOCK_FACE_XM;
case 1205: case 1206: case 1207: case 1208: return eBlockFace::BLOCK_FACE_XP;
@@ -3940,17 +3167,17 @@ namespace Block
default: return eBlockFace::BLOCK_FACE_ZP;
}
}
- bool Occupied(short ID)
+ bool Occupied(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 1195: case 1196: case 1199: case 1200: case 1203: case 1204: case 1207: case 1208: return false;
default: return true;
}
}
- enum Part Part(short ID)
+ enum Part Part(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 1194: case 1196: case 1198: case 1200: case 1202: case 1204: case 1206: case 1208: return Part::Foot;
default: return Part::Head;
@@ -3968,13 +3195,13 @@ namespace Block
}
namespace CyanGlazedTerracotta
{
- short CyanGlazedTerracotta()
+ BlockState CyanGlazedTerracotta()
{
return 9410;
}
- eBlockFace Facing(short ID)
+ eBlockFace Facing(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 9412: return eBlockFace::BLOCK_FACE_XM;
case 9413: return eBlockFace::BLOCK_FACE_XP;
@@ -3985,13 +3212,13 @@ namespace Block
}
namespace CyanShulkerBox
{
- short CyanShulkerBox()
+ BlockState CyanShulkerBox()
{
return 9336;
}
- eBlockFace Facing(short ID)
+ eBlockFace Facing(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 9335: return eBlockFace::BLOCK_FACE_XM;
case 9333: return eBlockFace::BLOCK_FACE_XP;
@@ -4007,37 +3234,37 @@ namespace Block
}
namespace CyanStainedGlassPane
{
- short CyanStainedGlassPane()
+ BlockState CyanStainedGlassPane()
{
return 7182;
}
- bool East(short ID)
+ bool East(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 7169: case 7170: case 7173: case 7174: case 7177: case 7178: case 7181: case 7182: return false;
default: return true;
}
}
- bool North(short ID)
+ bool North(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 7161: case 7162: case 7165: case 7166: case 7177: case 7178: case 7181: case 7182: return false;
default: return true;
}
}
- bool South(short ID)
+ bool South(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 7157: case 7158: case 7165: case 7166: case 7173: case 7174: case 7181: case 7182: return false;
default: return true;
}
}
- bool West(short ID)
+ bool West(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 7154: case 7158: case 7162: case 7166: case 7170: case 7174: case 7178: case 7182: return false;
default: return true;
@@ -4049,13 +3276,13 @@ namespace Block
}
namespace CyanWallBanner
{
- short CyanWallBanner()
+ BlockState CyanWallBanner()
{
return 8189;
}
- eBlockFace Facing(short ID)
+ eBlockFace Facing(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 8191: return eBlockFace::BLOCK_FACE_XM;
case 8192: return eBlockFace::BLOCK_FACE_XP;
@@ -4069,13 +3296,13 @@ namespace Block
}
namespace DamagedAnvil
{
- short DamagedAnvil()
+ BlockState DamagedAnvil()
{
return 6618;
}
- eBlockFace Facing(short ID)
+ eBlockFace Facing(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 6620: return eBlockFace::BLOCK_FACE_XM;
case 6621: return eBlockFace::BLOCK_FACE_XP;
@@ -4089,22 +3316,22 @@ namespace Block
}
namespace DarkOakButton
{
- short DarkOakButton()
+ BlockState DarkOakButton()
{
return 6475;
}
- enum Face Face(short ID)
+ enum Face Face(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 6482: case 6483: case 6484: case 6485: case 6486: case 6487: case 6488: case 6489: return Face::Ceiling;
case 6466: case 6467: case 6468: case 6469: case 6470: case 6471: case 6472: case 6473: return Face::Floor;
default: return Face::Wall;
}
}
- eBlockFace Facing(short ID)
+ eBlockFace Facing(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 6470: case 6471: case 6478: case 6479: case 6486: case 6487: return eBlockFace::BLOCK_FACE_XM;
case 6472: case 6473: case 6480: case 6481: case 6488: case 6489: return eBlockFace::BLOCK_FACE_XP;
@@ -4112,9 +3339,9 @@ namespace Block
default: return eBlockFace::BLOCK_FACE_ZP;
}
}
- bool Powered(short ID)
+ bool Powered(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 6467: case 6469: case 6471: case 6473: case 6475: case 6477: case 6479: case 6481: case 6483: case 6485: case 6487: case 6489: return false;
default: return true;
@@ -4123,13 +3350,13 @@ namespace Block
}
namespace DarkOakDoor
{
- short DarkOakDoor()
+ BlockState DarkOakDoor()
{
return 9005;
}
- eBlockFace Facing(short ID)
+ eBlockFace Facing(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 9026: case 9027: case 9028: case 9029: case 9030: case 9031: case 9032: case 9033: case 9034: case 9035: case 9036: case 9037: case 9038: case 9039: case 9040: case 9041: return eBlockFace::BLOCK_FACE_XM;
case 9042: case 9043: case 9044: case 9045: case 9046: case 9047: case 9048: case 9049: case 9050: case 9051: case 9052: case 9053: case 9054: case 9055: case 9056: case 9057: return eBlockFace::BLOCK_FACE_XP;
@@ -4137,33 +3364,33 @@ namespace Block
default: return eBlockFace::BLOCK_FACE_ZP;
}
}
- enum Half Half(short ID)
+ enum Half Half(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 9002: case 9003: case 9004: case 9005: case 9006: case 9007: case 9008: case 9009: case 9018: case 9019: case 9020: case 9021: case 9022: case 9023: case 9024: case 9025: case 9034: case 9035: case 9036: case 9037: case 9038: case 9039: case 9040: case 9041: case 9050: case 9051: case 9052: case 9053: case 9054: case 9055: case 9056: case 9057: return Half::Lower;
default: return Half::Upper;
}
}
- enum Hinge Hinge(short ID)
+ enum Hinge Hinge(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 8994: case 8995: case 8996: case 8997: case 9002: case 9003: case 9004: case 9005: case 9010: case 9011: case 9012: case 9013: case 9018: case 9019: case 9020: case 9021: case 9026: case 9027: case 9028: case 9029: case 9034: case 9035: case 9036: case 9037: case 9042: case 9043: case 9044: case 9045: case 9050: case 9051: case 9052: case 9053: return Hinge::Left;
default: return Hinge::Right;
}
}
- bool Open(short ID)
+ bool Open(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 8996: case 8997: case 9000: case 9001: case 9004: case 9005: case 9008: case 9009: case 9012: case 9013: case 9016: case 9017: case 9020: case 9021: case 9024: case 9025: case 9028: case 9029: case 9032: case 9033: case 9036: case 9037: case 9040: case 9041: case 9044: case 9045: case 9048: case 9049: case 9052: case 9053: case 9056: case 9057: return false;
default: return true;
}
}
- bool Powered(short ID)
+ bool Powered(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 8995: case 8997: case 8999: case 9001: case 9003: case 9005: case 9007: case 9009: case 9011: case 9013: case 9015: case 9017: case 9019: case 9021: case 9023: case 9025: case 9027: case 9029: case 9031: case 9033: case 9035: case 9037: case 9039: case 9041: case 9043: case 9045: case 9047: case 9049: case 9051: case 9053: case 9055: case 9057: return false;
default: return true;
@@ -4172,37 +3399,37 @@ namespace Block
}
namespace DarkOakFence
{
- short DarkOakFence()
+ BlockState DarkOakFence()
{
return 8737;
}
- bool East(short ID)
+ bool East(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 8724: case 8725: case 8728: case 8729: case 8732: case 8733: case 8736: case 8737: return false;
default: return true;
}
}
- bool North(short ID)
+ bool North(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 8716: case 8717: case 8720: case 8721: case 8732: case 8733: case 8736: case 8737: return false;
default: return true;
}
}
- bool South(short ID)
+ bool South(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 8712: case 8713: case 8720: case 8721: case 8728: case 8729: case 8736: case 8737: return false;
default: return true;
}
}
- bool West(short ID)
+ bool West(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 8709: case 8713: case 8717: case 8721: case 8725: case 8729: case 8733: case 8737: return false;
default: return true;
@@ -4211,13 +3438,13 @@ namespace Block
}
namespace DarkOakFenceGate
{
- short DarkOakFenceGate()
+ BlockState DarkOakFenceGate()
{
return 8553;
}
- eBlockFace Facing(short ID)
+ eBlockFace Facing(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 8562: case 8563: case 8564: case 8565: case 8566: case 8567: case 8568: case 8569: return eBlockFace::BLOCK_FACE_XM;
case 8570: case 8571: case 8572: case 8573: case 8574: case 8575: case 8576: case 8577: return eBlockFace::BLOCK_FACE_XP;
@@ -4225,25 +3452,25 @@ namespace Block
default: return eBlockFace::BLOCK_FACE_ZP;
}
}
- bool InWall(short ID)
+ bool InWall(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 8550: case 8551: case 8552: case 8553: case 8558: case 8559: case 8560: case 8561: case 8566: case 8567: case 8568: case 8569: case 8574: case 8575: case 8576: case 8577: return false;
default: return true;
}
}
- bool Open(short ID)
+ bool Open(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 8548: case 8549: case 8552: case 8553: case 8556: case 8557: case 8560: case 8561: case 8564: case 8565: case 8568: case 8569: case 8572: case 8573: case 8576: case 8577: return false;
default: return true;
}
}
- bool Powered(short ID)
+ bool Powered(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 8547: case 8549: case 8551: case 8553: case 8555: case 8557: case 8559: case 8561: case 8563: case 8565: case 8567: case 8569: case 8571: case 8573: case 8575: case 8577: return false;
default: return true;
@@ -4252,13 +3479,13 @@ namespace Block
}
namespace DarkOakLeaves
{
- short DarkOakLeaves()
+ BlockState DarkOakLeaves()
{
return 228;
}
- unsigned char Distance(short ID)
+ unsigned char Distance(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 215: case 216: return 1;
case 217: case 218: return 2;
@@ -4269,9 +3496,9 @@ namespace Block
default: return 7;
}
}
- bool Persistent(short ID)
+ bool Persistent(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 216: case 218: case 220: case 222: case 224: case 226: case 228: return false;
default: return true;
@@ -4280,13 +3507,13 @@ namespace Block
}
namespace DarkOakLog
{
- short DarkOakLog()
+ BlockState DarkOakLog()
{
return 89;
}
- enum Axis Axis(short ID)
+ enum Axis Axis(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 88: return Axis::X;
case 89: return Axis::Y;
@@ -4299,13 +3526,13 @@ namespace Block
}
namespace DarkOakPressurePlate
{
- short DarkOakPressurePlate()
+ BlockState DarkOakPressurePlate()
{
return 3884;
}
- bool Powered(short ID)
+ bool Powered(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 3884: return false;
default: return true;
@@ -4314,13 +3541,13 @@ namespace Block
}
namespace DarkOakSapling
{
- short DarkOakSapling()
+ BlockState DarkOakSapling()
{
return 31;
}
- unsigned char Stage(short ID)
+ unsigned char Stage(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 31: return 0;
default: return 1;
@@ -4329,13 +3556,13 @@ namespace Block
}
namespace DarkOakSign
{
- short DarkOakSign()
+ BlockState DarkOakSign()
{
return 3542;
}
- unsigned char Rotation(short ID)
+ unsigned char Rotation(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 3542: return 0;
case 3544: return 1;
@@ -4358,13 +3585,13 @@ namespace Block
}
namespace DarkOakSlab
{
- short DarkOakSlab()
+ BlockState DarkOakSlab()
{
return 8333;
}
- enum Type Type(short ID)
+ enum Type Type(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 8333: return Type::Bottom;
case 8335: return Type::Double;
@@ -4374,13 +3601,13 @@ namespace Block
}
namespace DarkOakStairs
{
- short DarkOakStairs()
+ BlockState DarkOakStairs()
{
return 7466;
}
- eBlockFace Facing(short ID)
+ eBlockFace Facing(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 7496: case 7498: case 7500: case 7502: case 7504: case 7506: case 7508: case 7510: case 7512: case 7514: return eBlockFace::BLOCK_FACE_XM;
case 7516: case 7518: case 7520: case 7522: case 7524: case 7526: case 7528: case 7530: case 7532: case 7534: return eBlockFace::BLOCK_FACE_XP;
@@ -4388,17 +3615,17 @@ namespace Block
default: return eBlockFace::BLOCK_FACE_ZP;
}
}
- enum Half Half(short ID)
+ enum Half Half(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 7466: case 7468: case 7470: case 7472: case 7474: case 7486: case 7488: case 7490: case 7492: case 7494: case 7506: case 7508: case 7510: case 7512: case 7514: case 7526: case 7528: case 7530: case 7532: case 7534: return Half::Bottom;
default: return Half::Top;
}
}
- enum Shape Shape(short ID)
+ enum Shape Shape(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 7458: case 7468: case 7478: case 7488: case 7498: case 7508: case 7518: case 7528: return Shape::InnerLeft;
case 7460: case 7470: case 7480: case 7490: case 7500: case 7510: case 7520: case 7530: return Shape::InnerRight;
@@ -4410,13 +3637,13 @@ namespace Block
}
namespace DarkOakTrapdoor
{
- short DarkOakTrapdoor()
+ BlockState DarkOakTrapdoor()
{
return 4446;
}
- eBlockFace Facing(short ID)
+ eBlockFace Facing(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 4464: case 4466: case 4468: case 4470: case 4472: case 4474: case 4476: case 4478: return eBlockFace::BLOCK_FACE_XM;
case 4480: case 4482: case 4484: case 4486: case 4488: case 4490: case 4492: case 4494: return eBlockFace::BLOCK_FACE_XP;
@@ -4424,25 +3651,25 @@ namespace Block
default: return eBlockFace::BLOCK_FACE_ZP;
}
}
- enum Half Half(short ID)
+ enum Half Half(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 4440: case 4442: case 4444: case 4446: case 4456: case 4458: case 4460: case 4462: case 4472: case 4474: case 4476: case 4478: case 4488: case 4490: case 4492: case 4494: return Half::Bottom;
default: return Half::Top;
}
}
- bool Open(short ID)
+ bool Open(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 4436: case 4438: case 4444: case 4446: case 4452: case 4454: case 4460: case 4462: case 4468: case 4470: case 4476: case 4478: case 4484: case 4486: case 4492: case 4494: return false;
default: return true;
}
}
- bool Powered(short ID)
+ bool Powered(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 4434: case 4438: case 4442: case 4446: case 4450: case 4454: case 4458: case 4462: case 4466: case 4470: case 4474: case 4478: case 4482: case 4486: case 4490: case 4494: return false;
default: return true;
@@ -4451,13 +3678,13 @@ namespace Block
}
namespace DarkOakWallSign
{
- short DarkOakWallSign()
+ BlockState DarkOakWallSign()
{
return 3776;
}
- eBlockFace Facing(short ID)
+ eBlockFace Facing(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 3780: return eBlockFace::BLOCK_FACE_XM;
case 3782: return eBlockFace::BLOCK_FACE_XP;
@@ -4468,13 +3695,13 @@ namespace Block
}
namespace DarkOakWood
{
- short DarkOakWood()
+ BlockState DarkOakWood()
{
return 125;
}
- enum Axis Axis(short ID)
+ enum Axis Axis(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 124: return Axis::X;
case 125: return Axis::Y;
@@ -4487,13 +3714,13 @@ namespace Block
}
namespace DarkPrismarineSlab
{
- short DarkPrismarineSlab()
+ BlockState DarkPrismarineSlab()
{
return 7859;
}
- enum Type Type(short ID)
+ enum Type Type(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 7859: return Type::Bottom;
case 7861: return Type::Double;
@@ -4503,13 +3730,13 @@ namespace Block
}
namespace DarkPrismarineStairs
{
- short DarkPrismarineStairs()
+ BlockState DarkPrismarineStairs()
{
return 7775;
}
- eBlockFace Facing(short ID)
+ eBlockFace Facing(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 7805: case 7807: case 7809: case 7811: case 7813: case 7815: case 7817: case 7819: case 7821: case 7823: return eBlockFace::BLOCK_FACE_XM;
case 7825: case 7827: case 7829: case 7831: case 7833: case 7835: case 7837: case 7839: case 7841: case 7843: return eBlockFace::BLOCK_FACE_XP;
@@ -4517,17 +3744,17 @@ namespace Block
default: return eBlockFace::BLOCK_FACE_ZP;
}
}
- enum Half Half(short ID)
+ enum Half Half(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 7775: case 7777: case 7779: case 7781: case 7783: case 7795: case 7797: case 7799: case 7801: case 7803: case 7815: case 7817: case 7819: case 7821: case 7823: case 7835: case 7837: case 7839: case 7841: case 7843: return Half::Bottom;
default: return Half::Top;
}
}
- enum Shape Shape(short ID)
+ enum Shape Shape(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 7767: case 7777: case 7787: case 7797: case 7807: case 7817: case 7827: case 7837: return Shape::InnerLeft;
case 7769: case 7779: case 7789: case 7799: case 7809: case 7819: case 7829: case 7839: return Shape::InnerRight;
@@ -4539,21 +3766,21 @@ namespace Block
}
namespace DaylightDetector
{
- short DaylightDetector()
+ BlockState DaylightDetector()
{
return 6710;
}
- bool Inverted(short ID)
+ bool Inverted(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 6710: case 6711: case 6712: case 6713: case 6714: case 6715: case 6716: case 6717: case 6718: case 6719: case 6720: case 6721: case 6722: case 6723: case 6724: case 6725: return false;
default: return true;
}
}
- unsigned char Power(short ID)
+ unsigned char Power(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 6694: case 6710: return 0;
case 6695: case 6711: return 1;
@@ -4585,13 +3812,13 @@ namespace Block
}
namespace DeadBrainCoralWallFan
{
- short DeadBrainCoralWallFan()
+ BlockState DeadBrainCoralWallFan()
{
return 9568;
}
- eBlockFace Facing(short ID)
+ eBlockFace Facing(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 9573: return eBlockFace::BLOCK_FACE_XM;
case 9575: return eBlockFace::BLOCK_FACE_XP;
@@ -4611,13 +3838,13 @@ namespace Block
}
namespace DeadBubbleCoralWallFan
{
- short DeadBubbleCoralWallFan()
+ BlockState DeadBubbleCoralWallFan()
{
return 9576;
}
- eBlockFace Facing(short ID)
+ eBlockFace Facing(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 9581: return eBlockFace::BLOCK_FACE_XM;
case 9583: return eBlockFace::BLOCK_FACE_XP;
@@ -4640,13 +3867,13 @@ namespace Block
}
namespace DeadFireCoralWallFan
{
- short DeadFireCoralWallFan()
+ BlockState DeadFireCoralWallFan()
{
return 9584;
}
- eBlockFace Facing(short ID)
+ eBlockFace Facing(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 9589: return eBlockFace::BLOCK_FACE_XM;
case 9591: return eBlockFace::BLOCK_FACE_XP;
@@ -4666,13 +3893,13 @@ namespace Block
}
namespace DeadHornCoralWallFan
{
- short DeadHornCoralWallFan()
+ BlockState DeadHornCoralWallFan()
{
return 9592;
}
- eBlockFace Facing(short ID)
+ eBlockFace Facing(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 9597: return eBlockFace::BLOCK_FACE_XM;
case 9599: return eBlockFace::BLOCK_FACE_XP;
@@ -4692,13 +3919,13 @@ namespace Block
}
namespace DeadTubeCoralWallFan
{
- short DeadTubeCoralWallFan()
+ BlockState DeadTubeCoralWallFan()
{
return 9560;
}
- eBlockFace Facing(short ID)
+ eBlockFace Facing(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 9565: return eBlockFace::BLOCK_FACE_XM;
case 9567: return eBlockFace::BLOCK_FACE_XP;
@@ -4709,21 +3936,21 @@ namespace Block
}
namespace DetectorRail
{
- short DetectorRail()
+ BlockState DetectorRail()
{
return 1323;
}
- bool Powered(short ID)
+ bool Powered(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 1323: case 1324: case 1325: case 1326: case 1327: case 1328: return false;
default: return true;
}
}
- enum Shape Shape(short ID)
+ enum Shape Shape(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 1319: case 1325: return Shape::AscendingEast;
case 1321: case 1327: return Shape::AscendingNorth;
@@ -4745,13 +3972,13 @@ namespace Block
}
namespace DioriteSlab
{
- short DioriteSlab()
+ BlockState DioriteSlab()
{
return 10864;
}
- enum Type Type(short ID)
+ enum Type Type(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 10864: return Type::Bottom;
case 10866: return Type::Double;
@@ -4761,13 +3988,13 @@ namespace Block
}
namespace DioriteStairs
{
- short DioriteStairs()
+ BlockState DioriteStairs()
{
return 10720;
}
- eBlockFace Facing(short ID)
+ eBlockFace Facing(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 10750: case 10752: case 10754: case 10756: case 10758: case 10760: case 10762: case 10764: case 10766: case 10768: return eBlockFace::BLOCK_FACE_XM;
case 10770: case 10772: case 10774: case 10776: case 10778: case 10780: case 10782: case 10784: case 10786: case 10788: return eBlockFace::BLOCK_FACE_XP;
@@ -4775,17 +4002,17 @@ namespace Block
default: return eBlockFace::BLOCK_FACE_ZP;
}
}
- enum Half Half(short ID)
+ enum Half Half(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 10720: case 10722: case 10724: case 10726: case 10728: case 10740: case 10742: case 10744: case 10746: case 10748: case 10760: case 10762: case 10764: case 10766: case 10768: case 10780: case 10782: case 10784: case 10786: case 10788: return Half::Bottom;
default: return Half::Top;
}
}
- enum Shape Shape(short ID)
+ enum Shape Shape(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 10712: case 10722: case 10732: case 10742: case 10752: case 10762: case 10772: case 10782: return Shape::InnerLeft;
case 10714: case 10724: case 10734: case 10744: case 10754: case 10764: case 10774: case 10784: return Shape::InnerRight;
@@ -4797,48 +4024,48 @@ namespace Block
}
namespace DioriteWall
{
- short DioriteWall()
+ BlockState DioriteWall()
{
return 14434;
}
- enum East East(short ID)
+ enum East East(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 14542: case 14543: case 14544: case 14548: case 14549: case 14550: case 14554: case 14555: case 14556: case 14560: case 14561: case 14562: case 14566: case 14567: case 14568: case 14572: case 14573: case 14574: case 14578: case 14579: case 14580: case 14584: case 14585: case 14586: case 14590: case 14591: case 14592: case 14596: case 14597: case 14598: case 14602: case 14603: case 14604: case 14608: case 14609: case 14610: case 14614: case 14615: case 14616: case 14620: case 14621: case 14622: case 14626: case 14627: case 14628: case 14632: case 14633: case 14634: case 14638: case 14639: case 14640: case 14644: case 14645: case 14646: return East::Low;
case 14434: case 14435: case 14436: case 14440: case 14441: case 14442: case 14446: case 14447: case 14448: case 14452: case 14453: case 14454: case 14458: case 14459: case 14460: case 14464: case 14465: case 14466: case 14470: case 14471: case 14472: case 14476: case 14477: case 14478: case 14482: case 14483: case 14484: case 14488: case 14489: case 14490: case 14494: case 14495: case 14496: case 14500: case 14501: case 14502: case 14506: case 14507: case 14508: case 14512: case 14513: case 14514: case 14518: case 14519: case 14520: case 14524: case 14525: case 14526: case 14530: case 14531: case 14532: case 14536: case 14537: case 14538: return East::None;
default: return East::Tall;
}
}
- enum North North(short ID)
+ enum North North(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 14470: case 14471: case 14472: case 14476: case 14477: case 14478: case 14482: case 14483: case 14484: case 14488: case 14489: case 14490: case 14494: case 14495: case 14496: case 14500: case 14501: case 14502: case 14578: case 14579: case 14580: case 14584: case 14585: case 14586: case 14590: case 14591: case 14592: case 14596: case 14597: case 14598: case 14602: case 14603: case 14604: case 14608: case 14609: case 14610: case 14686: case 14687: case 14688: case 14692: case 14693: case 14694: case 14698: case 14699: case 14700: case 14704: case 14705: case 14706: case 14710: case 14711: case 14712: case 14716: case 14717: case 14718: return North::Low;
case 14434: case 14435: case 14436: case 14440: case 14441: case 14442: case 14446: case 14447: case 14448: case 14452: case 14453: case 14454: case 14458: case 14459: case 14460: case 14464: case 14465: case 14466: case 14542: case 14543: case 14544: case 14548: case 14549: case 14550: case 14554: case 14555: case 14556: case 14560: case 14561: case 14562: case 14566: case 14567: case 14568: case 14572: case 14573: case 14574: case 14650: case 14651: case 14652: case 14656: case 14657: case 14658: case 14662: case 14663: case 14664: case 14668: case 14669: case 14670: case 14674: case 14675: case 14676: case 14680: case 14681: case 14682: return North::None;
default: return North::Tall;
}
}
- enum South South(short ID)
+ enum South South(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 14446: case 14447: case 14448: case 14452: case 14453: case 14454: case 14482: case 14483: case 14484: case 14488: case 14489: case 14490: case 14518: case 14519: case 14520: case 14524: case 14525: case 14526: case 14554: case 14555: case 14556: case 14560: case 14561: case 14562: case 14590: case 14591: case 14592: case 14596: case 14597: case 14598: case 14626: case 14627: case 14628: case 14632: case 14633: case 14634: case 14662: case 14663: case 14664: case 14668: case 14669: case 14670: case 14698: case 14699: case 14700: case 14704: case 14705: case 14706: case 14734: case 14735: case 14736: case 14740: case 14741: case 14742: return South::Low;
case 14434: case 14435: case 14436: case 14440: case 14441: case 14442: case 14470: case 14471: case 14472: case 14476: case 14477: case 14478: case 14506: case 14507: case 14508: case 14512: case 14513: case 14514: case 14542: case 14543: case 14544: case 14548: case 14549: case 14550: case 14578: case 14579: case 14580: case 14584: case 14585: case 14586: case 14614: case 14615: case 14616: case 14620: case 14621: case 14622: case 14650: case 14651: case 14652: case 14656: case 14657: case 14658: case 14686: case 14687: case 14688: case 14692: case 14693: case 14694: case 14722: case 14723: case 14724: case 14728: case 14729: case 14730: return South::None;
default: return South::Tall;
}
}
- bool Up(short ID)
+ bool Up(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 14440: case 14441: case 14442: case 14452: case 14453: case 14454: case 14464: case 14465: case 14466: case 14476: case 14477: case 14478: case 14488: case 14489: case 14490: case 14500: case 14501: case 14502: case 14512: case 14513: case 14514: case 14524: case 14525: case 14526: case 14536: case 14537: case 14538: case 14548: case 14549: case 14550: case 14560: case 14561: case 14562: case 14572: case 14573: case 14574: case 14584: case 14585: case 14586: case 14596: case 14597: case 14598: case 14608: case 14609: case 14610: case 14620: case 14621: case 14622: case 14632: case 14633: case 14634: case 14644: case 14645: case 14646: case 14656: case 14657: case 14658: case 14668: case 14669: case 14670: case 14680: case 14681: case 14682: case 14692: case 14693: case 14694: case 14704: case 14705: case 14706: case 14716: case 14717: case 14718: case 14728: case 14729: case 14730: case 14740: case 14741: case 14742: case 14752: case 14753: case 14754: return false;
default: return true;
}
}
- enum West West(short ID)
+ enum West West(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 14435: case 14441: case 14447: case 14453: case 14459: case 14465: case 14471: case 14477: case 14483: case 14489: case 14495: case 14501: case 14507: case 14513: case 14519: case 14525: case 14531: case 14537: case 14543: case 14549: case 14555: case 14561: case 14567: case 14573: case 14579: case 14585: case 14591: case 14597: case 14603: case 14609: case 14615: case 14621: case 14627: case 14633: case 14639: case 14645: case 14651: case 14657: case 14663: case 14669: case 14675: case 14681: case 14687: case 14693: case 14699: case 14705: case 14711: case 14717: case 14723: case 14729: case 14735: case 14741: case 14747: case 14753: return West::Low;
case 14434: case 14440: case 14446: case 14452: case 14458: case 14464: case 14470: case 14476: case 14482: case 14488: case 14494: case 14500: case 14506: case 14512: case 14518: case 14524: case 14530: case 14536: case 14542: case 14548: case 14554: case 14560: case 14566: case 14572: case 14578: case 14584: case 14590: case 14596: case 14602: case 14608: case 14614: case 14620: case 14626: case 14632: case 14638: case 14644: case 14650: case 14656: case 14662: case 14668: case 14674: case 14680: case 14686: case 14692: case 14698: case 14704: case 14710: case 14716: case 14722: case 14728: case 14734: case 14740: case 14746: case 14752: return West::None;
@@ -4851,13 +4078,13 @@ namespace Block
}
namespace Dispenser
{
- short Dispenser()
+ BlockState Dispenser()
{
return 235;
}
- eBlockFace Facing(short ID)
+ eBlockFace Facing(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 240: case 241: return eBlockFace::BLOCK_FACE_XM;
case 236: case 237: return eBlockFace::BLOCK_FACE_XP;
@@ -4867,9 +4094,9 @@ namespace Block
default: return eBlockFace::BLOCK_FACE_ZP;
}
}
- bool Triggered(short ID)
+ bool Triggered(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 235: case 237: case 239: case 241: case 243: case 245: return false;
default: return true;
@@ -4881,13 +4108,13 @@ namespace Block
}
namespace DragonHead
{
- short DragonHead()
+ BlockState DragonHead()
{
return 6590;
}
- unsigned char Rotation(short ID)
+ unsigned char Rotation(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 6590: return 0;
case 6591: return 1;
@@ -4910,13 +4137,13 @@ namespace Block
}
namespace DragonWallHead
{
- short DragonWallHead()
+ BlockState DragonWallHead()
{
return 6606;
}
- eBlockFace Facing(short ID)
+ eBlockFace Facing(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 6608: return eBlockFace::BLOCK_FACE_XM;
case 6609: return eBlockFace::BLOCK_FACE_XP;
@@ -4930,13 +4157,13 @@ namespace Block
}
namespace Dropper
{
- short Dropper()
+ BlockState Dropper()
{
return 6836;
}
- eBlockFace Facing(short ID)
+ eBlockFace Facing(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 6841: case 6842: return eBlockFace::BLOCK_FACE_XM;
case 6837: case 6838: return eBlockFace::BLOCK_FACE_XP;
@@ -4946,9 +4173,9 @@ namespace Block
default: return eBlockFace::BLOCK_FACE_ZP;
}
}
- bool Triggered(short ID)
+ bool Triggered(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 6836: case 6838: case 6840: case 6842: case 6844: case 6846: return false;
default: return true;
@@ -4972,21 +4199,21 @@ namespace Block
}
namespace EndPortalFrame
{
- short EndPortalFrame()
+ BlockState EndPortalFrame()
{
return 5150;
}
- bool Eye(short ID)
+ bool Eye(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 5150: case 5151: case 5152: case 5153: return false;
default: return true;
}
}
- eBlockFace Facing(short ID)
+ eBlockFace Facing(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 5148: case 5152: return eBlockFace::BLOCK_FACE_XM;
case 5149: case 5153: return eBlockFace::BLOCK_FACE_XP;
@@ -4997,13 +4224,13 @@ namespace Block
}
namespace EndRod
{
- short EndRod()
+ BlockState EndRod()
{
return 9062;
}
- eBlockFace Facing(short ID)
+ eBlockFace Facing(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 9061: return eBlockFace::BLOCK_FACE_XM;
case 9059: return eBlockFace::BLOCK_FACE_XP;
@@ -5019,13 +4246,13 @@ namespace Block
}
namespace EndStoneBrickSlab
{
- short EndStoneBrickSlab()
+ BlockState EndStoneBrickSlab()
{
return 10822;
}
- enum Type Type(short ID)
+ enum Type Type(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 10822: return Type::Bottom;
case 10824: return Type::Double;
@@ -5035,13 +4262,13 @@ namespace Block
}
namespace EndStoneBrickStairs
{
- short EndStoneBrickStairs()
+ BlockState EndStoneBrickStairs()
{
return 10080;
}
- eBlockFace Facing(short ID)
+ eBlockFace Facing(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 10110: case 10112: case 10114: case 10116: case 10118: case 10120: case 10122: case 10124: case 10126: case 10128: return eBlockFace::BLOCK_FACE_XM;
case 10130: case 10132: case 10134: case 10136: case 10138: case 10140: case 10142: case 10144: case 10146: case 10148: return eBlockFace::BLOCK_FACE_XP;
@@ -5049,17 +4276,17 @@ namespace Block
default: return eBlockFace::BLOCK_FACE_ZP;
}
}
- enum Half Half(short ID)
+ enum Half Half(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 10080: case 10082: case 10084: case 10086: case 10088: case 10100: case 10102: case 10104: case 10106: case 10108: case 10120: case 10122: case 10124: case 10126: case 10128: case 10140: case 10142: case 10144: case 10146: case 10148: return Half::Bottom;
default: return Half::Top;
}
}
- enum Shape Shape(short ID)
+ enum Shape Shape(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 10072: case 10082: case 10092: case 10102: case 10112: case 10122: case 10132: case 10142: return Shape::InnerLeft;
case 10074: case 10084: case 10094: case 10104: case 10114: case 10124: case 10134: case 10144: return Shape::InnerRight;
@@ -5071,48 +4298,48 @@ namespace Block
}
namespace EndStoneBrickWall
{
- short EndStoneBrickWall()
+ BlockState EndStoneBrickWall()
{
return 14110;
}
- enum East East(short ID)
+ enum East East(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 14218: case 14219: case 14220: case 14224: case 14225: case 14226: case 14230: case 14231: case 14232: case 14236: case 14237: case 14238: case 14242: case 14243: case 14244: case 14248: case 14249: case 14250: case 14254: case 14255: case 14256: case 14260: case 14261: case 14262: case 14266: case 14267: case 14268: case 14272: case 14273: case 14274: case 14278: case 14279: case 14280: case 14284: case 14285: case 14286: case 14290: case 14291: case 14292: case 14296: case 14297: case 14298: case 14302: case 14303: case 14304: case 14308: case 14309: case 14310: case 14314: case 14315: case 14316: case 14320: case 14321: case 14322: return East::Low;
case 14110: case 14111: case 14112: case 14116: case 14117: case 14118: case 14122: case 14123: case 14124: case 14128: case 14129: case 14130: case 14134: case 14135: case 14136: case 14140: case 14141: case 14142: case 14146: case 14147: case 14148: case 14152: case 14153: case 14154: case 14158: case 14159: case 14160: case 14164: case 14165: case 14166: case 14170: case 14171: case 14172: case 14176: case 14177: case 14178: case 14182: case 14183: case 14184: case 14188: case 14189: case 14190: case 14194: case 14195: case 14196: case 14200: case 14201: case 14202: case 14206: case 14207: case 14208: case 14212: case 14213: case 14214: return East::None;
default: return East::Tall;
}
}
- enum North North(short ID)
+ enum North North(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 14146: case 14147: case 14148: case 14152: case 14153: case 14154: case 14158: case 14159: case 14160: case 14164: case 14165: case 14166: case 14170: case 14171: case 14172: case 14176: case 14177: case 14178: case 14254: case 14255: case 14256: case 14260: case 14261: case 14262: case 14266: case 14267: case 14268: case 14272: case 14273: case 14274: case 14278: case 14279: case 14280: case 14284: case 14285: case 14286: case 14362: case 14363: case 14364: case 14368: case 14369: case 14370: case 14374: case 14375: case 14376: case 14380: case 14381: case 14382: case 14386: case 14387: case 14388: case 14392: case 14393: case 14394: return North::Low;
case 14110: case 14111: case 14112: case 14116: case 14117: case 14118: case 14122: case 14123: case 14124: case 14128: case 14129: case 14130: case 14134: case 14135: case 14136: case 14140: case 14141: case 14142: case 14218: case 14219: case 14220: case 14224: case 14225: case 14226: case 14230: case 14231: case 14232: case 14236: case 14237: case 14238: case 14242: case 14243: case 14244: case 14248: case 14249: case 14250: case 14326: case 14327: case 14328: case 14332: case 14333: case 14334: case 14338: case 14339: case 14340: case 14344: case 14345: case 14346: case 14350: case 14351: case 14352: case 14356: case 14357: case 14358: return North::None;
default: return North::Tall;
}
}
- enum South South(short ID)
+ enum South South(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 14122: case 14123: case 14124: case 14128: case 14129: case 14130: case 14158: case 14159: case 14160: case 14164: case 14165: case 14166: case 14194: case 14195: case 14196: case 14200: case 14201: case 14202: case 14230: case 14231: case 14232: case 14236: case 14237: case 14238: case 14266: case 14267: case 14268: case 14272: case 14273: case 14274: case 14302: case 14303: case 14304: case 14308: case 14309: case 14310: case 14338: case 14339: case 14340: case 14344: case 14345: case 14346: case 14374: case 14375: case 14376: case 14380: case 14381: case 14382: case 14410: case 14411: case 14412: case 14416: case 14417: case 14418: return South::Low;
case 14110: case 14111: case 14112: case 14116: case 14117: case 14118: case 14146: case 14147: case 14148: case 14152: case 14153: case 14154: case 14182: case 14183: case 14184: case 14188: case 14189: case 14190: case 14218: case 14219: case 14220: case 14224: case 14225: case 14226: case 14254: case 14255: case 14256: case 14260: case 14261: case 14262: case 14290: case 14291: case 14292: case 14296: case 14297: case 14298: case 14326: case 14327: case 14328: case 14332: case 14333: case 14334: case 14362: case 14363: case 14364: case 14368: case 14369: case 14370: case 14398: case 14399: case 14400: case 14404: case 14405: case 14406: return South::None;
default: return South::Tall;
}
}
- bool Up(short ID)
+ bool Up(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 14116: case 14117: case 14118: case 14128: case 14129: case 14130: case 14140: case 14141: case 14142: case 14152: case 14153: case 14154: case 14164: case 14165: case 14166: case 14176: case 14177: case 14178: case 14188: case 14189: case 14190: case 14200: case 14201: case 14202: case 14212: case 14213: case 14214: case 14224: case 14225: case 14226: case 14236: case 14237: case 14238: case 14248: case 14249: case 14250: case 14260: case 14261: case 14262: case 14272: case 14273: case 14274: case 14284: case 14285: case 14286: case 14296: case 14297: case 14298: case 14308: case 14309: case 14310: case 14320: case 14321: case 14322: case 14332: case 14333: case 14334: case 14344: case 14345: case 14346: case 14356: case 14357: case 14358: case 14368: case 14369: case 14370: case 14380: case 14381: case 14382: case 14392: case 14393: case 14394: case 14404: case 14405: case 14406: case 14416: case 14417: case 14418: case 14428: case 14429: case 14430: return false;
default: return true;
}
}
- enum West West(short ID)
+ enum West West(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 14111: case 14117: case 14123: case 14129: case 14135: case 14141: case 14147: case 14153: case 14159: case 14165: case 14171: case 14177: case 14183: case 14189: case 14195: case 14201: case 14207: case 14213: case 14219: case 14225: case 14231: case 14237: case 14243: case 14249: case 14255: case 14261: case 14267: case 14273: case 14279: case 14285: case 14291: case 14297: case 14303: case 14309: case 14315: case 14321: case 14327: case 14333: case 14339: case 14345: case 14351: case 14357: case 14363: case 14369: case 14375: case 14381: case 14387: case 14393: case 14399: case 14405: case 14411: case 14417: case 14423: case 14429: return West::Low;
case 14110: case 14116: case 14122: case 14128: case 14134: case 14140: case 14146: case 14152: case 14158: case 14164: case 14170: case 14176: case 14182: case 14188: case 14194: case 14200: case 14206: case 14212: case 14218: case 14224: case 14230: case 14236: case 14242: case 14248: case 14254: case 14260: case 14266: case 14272: case 14278: case 14284: case 14290: case 14296: case 14302: case 14308: case 14314: case 14320: case 14326: case 14332: case 14338: case 14344: case 14350: case 14356: case 14362: case 14368: case 14374: case 14380: case 14386: case 14392: case 14398: case 14404: case 14410: case 14416: case 14422: case 14428: return West::None;
@@ -5125,13 +4352,13 @@ namespace Block
}
namespace EnderChest
{
- short EnderChest()
+ BlockState EnderChest()
{
return 5252;
}
- eBlockFace Facing(short ID)
+ eBlockFace Facing(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 5256: return eBlockFace::BLOCK_FACE_XM;
case 5258: return eBlockFace::BLOCK_FACE_XP;
@@ -5142,13 +4369,13 @@ namespace Block
}
namespace Farmland
{
- short Farmland()
+ BlockState Farmland()
{
return 3365;
}
- unsigned char Moisture(short ID)
+ unsigned char Moisture(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 3365: return 0;
case 3366: return 1;
@@ -5166,13 +4393,13 @@ namespace Block
}
namespace Fire
{
- short Fire()
+ BlockState Fire()
{
return 1471;
}
- unsigned char Age(short ID)
+ unsigned char Age(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 1440: case 1441: case 1442: case 1443: case 1444: case 1445: case 1446: case 1447: case 1448: case 1449: case 1450: case 1451: case 1452: case 1453: case 1454: case 1455: case 1456: case 1457: case 1458: case 1459: case 1460: case 1461: case 1462: case 1463: case 1464: case 1465: case 1466: case 1467: case 1468: case 1469: case 1470: case 1471: return 0;
case 1472: case 1473: case 1474: case 1475: case 1476: case 1477: case 1478: case 1479: case 1480: case 1481: case 1482: case 1483: case 1484: case 1485: case 1486: case 1487: case 1488: case 1489: case 1490: case 1491: case 1492: case 1493: case 1494: case 1495: case 1496: case 1497: case 1498: case 1499: case 1500: case 1501: case 1502: case 1503: return 1;
@@ -5192,41 +4419,41 @@ namespace Block
default: return 9;
}
}
- bool East(short ID)
+ bool East(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 1456: case 1457: case 1458: case 1459: case 1460: case 1461: case 1462: case 1463: case 1464: case 1465: case 1466: case 1467: case 1468: case 1469: case 1470: case 1471: case 1488: case 1489: case 1490: case 1491: case 1492: case 1493: case 1494: case 1495: case 1496: case 1497: case 1498: case 1499: case 1500: case 1501: case 1502: case 1503: case 1520: case 1521: case 1522: case 1523: case 1524: case 1525: case 1526: case 1527: case 1528: case 1529: case 1530: case 1531: case 1532: case 1533: case 1534: case 1535: case 1552: case 1553: case 1554: case 1555: case 1556: case 1557: case 1558: case 1559: case 1560: case 1561: case 1562: case 1563: case 1564: case 1565: case 1566: case 1567: case 1584: case 1585: case 1586: case 1587: case 1588: case 1589: case 1590: case 1591: case 1592: case 1593: case 1594: case 1595: case 1596: case 1597: case 1598: case 1599: case 1616: case 1617: case 1618: case 1619: case 1620: case 1621: case 1622: case 1623: case 1624: case 1625: case 1626: case 1627: case 1628: case 1629: case 1630: case 1631: case 1648: case 1649: case 1650: case 1651: case 1652: case 1653: case 1654: case 1655: case 1656: case 1657: case 1658: case 1659: case 1660: case 1661: case 1662: case 1663: case 1680: case 1681: case 1682: case 1683: case 1684: case 1685: case 1686: case 1687: case 1688: case 1689: case 1690: case 1691: case 1692: case 1693: case 1694: case 1695: case 1712: case 1713: case 1714: case 1715: case 1716: case 1717: case 1718: case 1719: case 1720: case 1721: case 1722: case 1723: case 1724: case 1725: case 1726: case 1727: case 1744: case 1745: case 1746: case 1747: case 1748: case 1749: case 1750: case 1751: case 1752: case 1753: case 1754: case 1755: case 1756: case 1757: case 1758: case 1759: case 1776: case 1777: case 1778: case 1779: case 1780: case 1781: case 1782: case 1783: case 1784: case 1785: case 1786: case 1787: case 1788: case 1789: case 1790: case 1791: case 1808: case 1809: case 1810: case 1811: case 1812: case 1813: case 1814: case 1815: case 1816: case 1817: case 1818: case 1819: case 1820: case 1821: case 1822: case 1823: case 1840: case 1841: case 1842: case 1843: case 1844: case 1845: case 1846: case 1847: case 1848: case 1849: case 1850: case 1851: case 1852: case 1853: case 1854: case 1855: case 1872: case 1873: case 1874: case 1875: case 1876: case 1877: case 1878: case 1879: case 1880: case 1881: case 1882: case 1883: case 1884: case 1885: case 1886: case 1887: case 1904: case 1905: case 1906: case 1907: case 1908: case 1909: case 1910: case 1911: case 1912: case 1913: case 1914: case 1915: case 1916: case 1917: case 1918: case 1919: case 1936: case 1937: case 1938: case 1939: case 1940: case 1941: case 1942: case 1943: case 1944: case 1945: case 1946: case 1947: case 1948: case 1949: case 1950: case 1951: return false;
default: return true;
}
}
- bool North(short ID)
+ bool North(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 1448: case 1449: case 1450: case 1451: case 1452: case 1453: case 1454: case 1455: case 1464: case 1465: case 1466: case 1467: case 1468: case 1469: case 1470: case 1471: case 1480: case 1481: case 1482: case 1483: case 1484: case 1485: case 1486: case 1487: case 1496: case 1497: case 1498: case 1499: case 1500: case 1501: case 1502: case 1503: case 1512: case 1513: case 1514: case 1515: case 1516: case 1517: case 1518: case 1519: case 1528: case 1529: case 1530: case 1531: case 1532: case 1533: case 1534: case 1535: case 1544: case 1545: case 1546: case 1547: case 1548: case 1549: case 1550: case 1551: case 1560: case 1561: case 1562: case 1563: case 1564: case 1565: case 1566: case 1567: case 1576: case 1577: case 1578: case 1579: case 1580: case 1581: case 1582: case 1583: case 1592: case 1593: case 1594: case 1595: case 1596: case 1597: case 1598: case 1599: case 1608: case 1609: case 1610: case 1611: case 1612: case 1613: case 1614: case 1615: case 1624: case 1625: case 1626: case 1627: case 1628: case 1629: case 1630: case 1631: case 1640: case 1641: case 1642: case 1643: case 1644: case 1645: case 1646: case 1647: case 1656: case 1657: case 1658: case 1659: case 1660: case 1661: case 1662: case 1663: case 1672: case 1673: case 1674: case 1675: case 1676: case 1677: case 1678: case 1679: case 1688: case 1689: case 1690: case 1691: case 1692: case 1693: case 1694: case 1695: case 1704: case 1705: case 1706: case 1707: case 1708: case 1709: case 1710: case 1711: case 1720: case 1721: case 1722: case 1723: case 1724: case 1725: case 1726: case 1727: case 1736: case 1737: case 1738: case 1739: case 1740: case 1741: case 1742: case 1743: case 1752: case 1753: case 1754: case 1755: case 1756: case 1757: case 1758: case 1759: case 1768: case 1769: case 1770: case 1771: case 1772: case 1773: case 1774: case 1775: case 1784: case 1785: case 1786: case 1787: case 1788: case 1789: case 1790: case 1791: case 1800: case 1801: case 1802: case 1803: case 1804: case 1805: case 1806: case 1807: case 1816: case 1817: case 1818: case 1819: case 1820: case 1821: case 1822: case 1823: case 1832: case 1833: case 1834: case 1835: case 1836: case 1837: case 1838: case 1839: case 1848: case 1849: case 1850: case 1851: case 1852: case 1853: case 1854: case 1855: case 1864: case 1865: case 1866: case 1867: case 1868: case 1869: case 1870: case 1871: case 1880: case 1881: case 1882: case 1883: case 1884: case 1885: case 1886: case 1887: case 1896: case 1897: case 1898: case 1899: case 1900: case 1901: case 1902: case 1903: case 1912: case 1913: case 1914: case 1915: case 1916: case 1917: case 1918: case 1919: case 1928: case 1929: case 1930: case 1931: case 1932: case 1933: case 1934: case 1935: case 1944: case 1945: case 1946: case 1947: case 1948: case 1949: case 1950: case 1951: return false;
default: return true;
}
}
- bool South(short ID)
+ bool South(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 1444: case 1445: case 1446: case 1447: case 1452: case 1453: case 1454: case 1455: case 1460: case 1461: case 1462: case 1463: case 1468: case 1469: case 1470: case 1471: case 1476: case 1477: case 1478: case 1479: case 1484: case 1485: case 1486: case 1487: case 1492: case 1493: case 1494: case 1495: case 1500: case 1501: case 1502: case 1503: case 1508: case 1509: case 1510: case 1511: case 1516: case 1517: case 1518: case 1519: case 1524: case 1525: case 1526: case 1527: case 1532: case 1533: case 1534: case 1535: case 1540: case 1541: case 1542: case 1543: case 1548: case 1549: case 1550: case 1551: case 1556: case 1557: case 1558: case 1559: case 1564: case 1565: case 1566: case 1567: case 1572: case 1573: case 1574: case 1575: case 1580: case 1581: case 1582: case 1583: case 1588: case 1589: case 1590: case 1591: case 1596: case 1597: case 1598: case 1599: case 1604: case 1605: case 1606: case 1607: case 1612: case 1613: case 1614: case 1615: case 1620: case 1621: case 1622: case 1623: case 1628: case 1629: case 1630: case 1631: case 1636: case 1637: case 1638: case 1639: case 1644: case 1645: case 1646: case 1647: case 1652: case 1653: case 1654: case 1655: case 1660: case 1661: case 1662: case 1663: case 1668: case 1669: case 1670: case 1671: case 1676: case 1677: case 1678: case 1679: case 1684: case 1685: case 1686: case 1687: case 1692: case 1693: case 1694: case 1695: case 1700: case 1701: case 1702: case 1703: case 1708: case 1709: case 1710: case 1711: case 1716: case 1717: case 1718: case 1719: case 1724: case 1725: case 1726: case 1727: case 1732: case 1733: case 1734: case 1735: case 1740: case 1741: case 1742: case 1743: case 1748: case 1749: case 1750: case 1751: case 1756: case 1757: case 1758: case 1759: case 1764: case 1765: case 1766: case 1767: case 1772: case 1773: case 1774: case 1775: case 1780: case 1781: case 1782: case 1783: case 1788: case 1789: case 1790: case 1791: case 1796: case 1797: case 1798: case 1799: case 1804: case 1805: case 1806: case 1807: case 1812: case 1813: case 1814: case 1815: case 1820: case 1821: case 1822: case 1823: case 1828: case 1829: case 1830: case 1831: case 1836: case 1837: case 1838: case 1839: case 1844: case 1845: case 1846: case 1847: case 1852: case 1853: case 1854: case 1855: case 1860: case 1861: case 1862: case 1863: case 1868: case 1869: case 1870: case 1871: case 1876: case 1877: case 1878: case 1879: case 1884: case 1885: case 1886: case 1887: case 1892: case 1893: case 1894: case 1895: case 1900: case 1901: case 1902: case 1903: case 1908: case 1909: case 1910: case 1911: case 1916: case 1917: case 1918: case 1919: case 1924: case 1925: case 1926: case 1927: case 1932: case 1933: case 1934: case 1935: case 1940: case 1941: case 1942: case 1943: case 1948: case 1949: case 1950: case 1951: return false;
default: return true;
}
}
- bool Up(short ID)
+ bool Up(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 1442: case 1443: case 1446: case 1447: case 1450: case 1451: case 1454: case 1455: case 1458: case 1459: case 1462: case 1463: case 1466: case 1467: case 1470: case 1471: case 1474: case 1475: case 1478: case 1479: case 1482: case 1483: case 1486: case 1487: case 1490: case 1491: case 1494: case 1495: case 1498: case 1499: case 1502: case 1503: case 1506: case 1507: case 1510: case 1511: case 1514: case 1515: case 1518: case 1519: case 1522: case 1523: case 1526: case 1527: case 1530: case 1531: case 1534: case 1535: case 1538: case 1539: case 1542: case 1543: case 1546: case 1547: case 1550: case 1551: case 1554: case 1555: case 1558: case 1559: case 1562: case 1563: case 1566: case 1567: case 1570: case 1571: case 1574: case 1575: case 1578: case 1579: case 1582: case 1583: case 1586: case 1587: case 1590: case 1591: case 1594: case 1595: case 1598: case 1599: case 1602: case 1603: case 1606: case 1607: case 1610: case 1611: case 1614: case 1615: case 1618: case 1619: case 1622: case 1623: case 1626: case 1627: case 1630: case 1631: case 1634: case 1635: case 1638: case 1639: case 1642: case 1643: case 1646: case 1647: case 1650: case 1651: case 1654: case 1655: case 1658: case 1659: case 1662: case 1663: case 1666: case 1667: case 1670: case 1671: case 1674: case 1675: case 1678: case 1679: case 1682: case 1683: case 1686: case 1687: case 1690: case 1691: case 1694: case 1695: case 1698: case 1699: case 1702: case 1703: case 1706: case 1707: case 1710: case 1711: case 1714: case 1715: case 1718: case 1719: case 1722: case 1723: case 1726: case 1727: case 1730: case 1731: case 1734: case 1735: case 1738: case 1739: case 1742: case 1743: case 1746: case 1747: case 1750: case 1751: case 1754: case 1755: case 1758: case 1759: case 1762: case 1763: case 1766: case 1767: case 1770: case 1771: case 1774: case 1775: case 1778: case 1779: case 1782: case 1783: case 1786: case 1787: case 1790: case 1791: case 1794: case 1795: case 1798: case 1799: case 1802: case 1803: case 1806: case 1807: case 1810: case 1811: case 1814: case 1815: case 1818: case 1819: case 1822: case 1823: case 1826: case 1827: case 1830: case 1831: case 1834: case 1835: case 1838: case 1839: case 1842: case 1843: case 1846: case 1847: case 1850: case 1851: case 1854: case 1855: case 1858: case 1859: case 1862: case 1863: case 1866: case 1867: case 1870: case 1871: case 1874: case 1875: case 1878: case 1879: case 1882: case 1883: case 1886: case 1887: case 1890: case 1891: case 1894: case 1895: case 1898: case 1899: case 1902: case 1903: case 1906: case 1907: case 1910: case 1911: case 1914: case 1915: case 1918: case 1919: case 1922: case 1923: case 1926: case 1927: case 1930: case 1931: case 1934: case 1935: case 1938: case 1939: case 1942: case 1943: case 1946: case 1947: case 1950: case 1951: return false;
default: return true;
}
}
- bool West(short ID)
+ bool West(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 1441: case 1443: case 1445: case 1447: case 1449: case 1451: case 1453: case 1455: case 1457: case 1459: case 1461: case 1463: case 1465: case 1467: case 1469: case 1471: case 1473: case 1475: case 1477: case 1479: case 1481: case 1483: case 1485: case 1487: case 1489: case 1491: case 1493: case 1495: case 1497: case 1499: case 1501: case 1503: case 1505: case 1507: case 1509: case 1511: case 1513: case 1515: case 1517: case 1519: case 1521: case 1523: case 1525: case 1527: case 1529: case 1531: case 1533: case 1535: case 1537: case 1539: case 1541: case 1543: case 1545: case 1547: case 1549: case 1551: case 1553: case 1555: case 1557: case 1559: case 1561: case 1563: case 1565: case 1567: case 1569: case 1571: case 1573: case 1575: case 1577: case 1579: case 1581: case 1583: case 1585: case 1587: case 1589: case 1591: case 1593: case 1595: case 1597: case 1599: case 1601: case 1603: case 1605: case 1607: case 1609: case 1611: case 1613: case 1615: case 1617: case 1619: case 1621: case 1623: case 1625: case 1627: case 1629: case 1631: case 1633: case 1635: case 1637: case 1639: case 1641: case 1643: case 1645: case 1647: case 1649: case 1651: case 1653: case 1655: case 1657: case 1659: case 1661: case 1663: case 1665: case 1667: case 1669: case 1671: case 1673: case 1675: case 1677: case 1679: case 1681: case 1683: case 1685: case 1687: case 1689: case 1691: case 1693: case 1695: case 1697: case 1699: case 1701: case 1703: case 1705: case 1707: case 1709: case 1711: case 1713: case 1715: case 1717: case 1719: case 1721: case 1723: case 1725: case 1727: case 1729: case 1731: case 1733: case 1735: case 1737: case 1739: case 1741: case 1743: case 1745: case 1747: case 1749: case 1751: case 1753: case 1755: case 1757: case 1759: case 1761: case 1763: case 1765: case 1767: case 1769: case 1771: case 1773: case 1775: case 1777: case 1779: case 1781: case 1783: case 1785: case 1787: case 1789: case 1791: case 1793: case 1795: case 1797: case 1799: case 1801: case 1803: case 1805: case 1807: case 1809: case 1811: case 1813: case 1815: case 1817: case 1819: case 1821: case 1823: case 1825: case 1827: case 1829: case 1831: case 1833: case 1835: case 1837: case 1839: case 1841: case 1843: case 1845: case 1847: case 1849: case 1851: case 1853: case 1855: case 1857: case 1859: case 1861: case 1863: case 1865: case 1867: case 1869: case 1871: case 1873: case 1875: case 1877: case 1879: case 1881: case 1883: case 1885: case 1887: case 1889: case 1891: case 1893: case 1895: case 1897: case 1899: case 1901: case 1903: case 1905: case 1907: case 1909: case 1911: case 1913: case 1915: case 1917: case 1919: case 1921: case 1923: case 1925: case 1927: case 1929: case 1931: case 1933: case 1935: case 1937: case 1939: case 1941: case 1943: case 1945: case 1947: case 1949: case 1951: return false;
default: return true;
@@ -5244,13 +4471,13 @@ namespace Block
}
namespace FireCoralWallFan
{
- short FireCoralWallFan()
+ BlockState FireCoralWallFan()
{
return 9624;
}
- eBlockFace Facing(short ID)
+ eBlockFace Facing(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 9629: return eBlockFace::BLOCK_FACE_XM;
case 9631: return eBlockFace::BLOCK_FACE_XP;
@@ -5267,13 +4494,13 @@ namespace Block
}
namespace FrostedIce
{
- short FrostedIce()
+ BlockState FrostedIce()
{
return 9249;
}
- unsigned char Age(short ID)
+ unsigned char Age(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 9249: return 0;
case 9250: return 1;
@@ -5284,13 +4511,13 @@ namespace Block
}
namespace Furnace
{
- short Furnace()
+ BlockState Furnace()
{
return 3374;
}
- eBlockFace Facing(short ID)
+ eBlockFace Facing(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 3377: case 3378: return eBlockFace::BLOCK_FACE_XM;
case 3379: case 3380: return eBlockFace::BLOCK_FACE_XP;
@@ -5298,9 +4525,9 @@ namespace Block
default: return eBlockFace::BLOCK_FACE_ZP;
}
}
- bool Lit(short ID)
+ bool Lit(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 3374: case 3376: case 3378: case 3380: return false;
default: return true;
@@ -5315,37 +4542,37 @@ namespace Block
}
namespace GlassPane
{
- short GlassPane()
+ BlockState GlassPane()
{
return 4762;
}
- bool East(short ID)
+ bool East(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 4749: case 4750: case 4753: case 4754: case 4757: case 4758: case 4761: case 4762: return false;
default: return true;
}
}
- bool North(short ID)
+ bool North(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 4741: case 4742: case 4745: case 4746: case 4757: case 4758: case 4761: case 4762: return false;
default: return true;
}
}
- bool South(short ID)
+ bool South(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 4737: case 4738: case 4745: case 4746: case 4753: case 4754: case 4761: case 4762: return false;
default: return true;
}
}
- bool West(short ID)
+ bool West(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 4734: case 4738: case 4742: case 4746: case 4750: case 4754: case 4758: case 4762: return false;
default: return true;
@@ -5366,13 +4593,13 @@ namespace Block
}
namespace GraniteSlab
{
- short GraniteSlab()
+ BlockState GraniteSlab()
{
return 10840;
}
- enum Type Type(short ID)
+ enum Type Type(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 10840: return Type::Bottom;
case 10842: return Type::Double;
@@ -5382,13 +4609,13 @@ namespace Block
}
namespace GraniteStairs
{
- short GraniteStairs()
+ BlockState GraniteStairs()
{
return 10400;
}
- eBlockFace Facing(short ID)
+ eBlockFace Facing(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 10430: case 10432: case 10434: case 10436: case 10438: case 10440: case 10442: case 10444: case 10446: case 10448: return eBlockFace::BLOCK_FACE_XM;
case 10450: case 10452: case 10454: case 10456: case 10458: case 10460: case 10462: case 10464: case 10466: case 10468: return eBlockFace::BLOCK_FACE_XP;
@@ -5396,17 +4623,17 @@ namespace Block
default: return eBlockFace::BLOCK_FACE_ZP;
}
}
- enum Half Half(short ID)
+ enum Half Half(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 10400: case 10402: case 10404: case 10406: case 10408: case 10420: case 10422: case 10424: case 10426: case 10428: case 10440: case 10442: case 10444: case 10446: case 10448: case 10460: case 10462: case 10464: case 10466: case 10468: return Half::Bottom;
default: return Half::Top;
}
}
- enum Shape Shape(short ID)
+ enum Shape Shape(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 10392: case 10402: case 10412: case 10422: case 10432: case 10442: case 10452: case 10462: return Shape::InnerLeft;
case 10394: case 10404: case 10414: case 10424: case 10434: case 10444: case 10454: case 10464: return Shape::InnerRight;
@@ -5418,48 +4645,48 @@ namespace Block
}
namespace GraniteWall
{
- short GraniteWall()
+ BlockState GraniteWall()
{
return 12166;
}
- enum East East(short ID)
+ enum East East(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 12274: case 12275: case 12276: case 12280: case 12281: case 12282: case 12286: case 12287: case 12288: case 12292: case 12293: case 12294: case 12298: case 12299: case 12300: case 12304: case 12305: case 12306: case 12310: case 12311: case 12312: case 12316: case 12317: case 12318: case 12322: case 12323: case 12324: case 12328: case 12329: case 12330: case 12334: case 12335: case 12336: case 12340: case 12341: case 12342: case 12346: case 12347: case 12348: case 12352: case 12353: case 12354: case 12358: case 12359: case 12360: case 12364: case 12365: case 12366: case 12370: case 12371: case 12372: case 12376: case 12377: case 12378: return East::Low;
case 12166: case 12167: case 12168: case 12172: case 12173: case 12174: case 12178: case 12179: case 12180: case 12184: case 12185: case 12186: case 12190: case 12191: case 12192: case 12196: case 12197: case 12198: case 12202: case 12203: case 12204: case 12208: case 12209: case 12210: case 12214: case 12215: case 12216: case 12220: case 12221: case 12222: case 12226: case 12227: case 12228: case 12232: case 12233: case 12234: case 12238: case 12239: case 12240: case 12244: case 12245: case 12246: case 12250: case 12251: case 12252: case 12256: case 12257: case 12258: case 12262: case 12263: case 12264: case 12268: case 12269: case 12270: return East::None;
default: return East::Tall;
}
}
- enum North North(short ID)
+ enum North North(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 12202: case 12203: case 12204: case 12208: case 12209: case 12210: case 12214: case 12215: case 12216: case 12220: case 12221: case 12222: case 12226: case 12227: case 12228: case 12232: case 12233: case 12234: case 12310: case 12311: case 12312: case 12316: case 12317: case 12318: case 12322: case 12323: case 12324: case 12328: case 12329: case 12330: case 12334: case 12335: case 12336: case 12340: case 12341: case 12342: case 12418: case 12419: case 12420: case 12424: case 12425: case 12426: case 12430: case 12431: case 12432: case 12436: case 12437: case 12438: case 12442: case 12443: case 12444: case 12448: case 12449: case 12450: return North::Low;
case 12166: case 12167: case 12168: case 12172: case 12173: case 12174: case 12178: case 12179: case 12180: case 12184: case 12185: case 12186: case 12190: case 12191: case 12192: case 12196: case 12197: case 12198: case 12274: case 12275: case 12276: case 12280: case 12281: case 12282: case 12286: case 12287: case 12288: case 12292: case 12293: case 12294: case 12298: case 12299: case 12300: case 12304: case 12305: case 12306: case 12382: case 12383: case 12384: case 12388: case 12389: case 12390: case 12394: case 12395: case 12396: case 12400: case 12401: case 12402: case 12406: case 12407: case 12408: case 12412: case 12413: case 12414: return North::None;
default: return North::Tall;
}
}
- enum South South(short ID)
+ enum South South(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 12178: case 12179: case 12180: case 12184: case 12185: case 12186: case 12214: case 12215: case 12216: case 12220: case 12221: case 12222: case 12250: case 12251: case 12252: case 12256: case 12257: case 12258: case 12286: case 12287: case 12288: case 12292: case 12293: case 12294: case 12322: case 12323: case 12324: case 12328: case 12329: case 12330: case 12358: case 12359: case 12360: case 12364: case 12365: case 12366: case 12394: case 12395: case 12396: case 12400: case 12401: case 12402: case 12430: case 12431: case 12432: case 12436: case 12437: case 12438: case 12466: case 12467: case 12468: case 12472: case 12473: case 12474: return South::Low;
case 12166: case 12167: case 12168: case 12172: case 12173: case 12174: case 12202: case 12203: case 12204: case 12208: case 12209: case 12210: case 12238: case 12239: case 12240: case 12244: case 12245: case 12246: case 12274: case 12275: case 12276: case 12280: case 12281: case 12282: case 12310: case 12311: case 12312: case 12316: case 12317: case 12318: case 12346: case 12347: case 12348: case 12352: case 12353: case 12354: case 12382: case 12383: case 12384: case 12388: case 12389: case 12390: case 12418: case 12419: case 12420: case 12424: case 12425: case 12426: case 12454: case 12455: case 12456: case 12460: case 12461: case 12462: return South::None;
default: return South::Tall;
}
}
- bool Up(short ID)
+ bool Up(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 12172: case 12173: case 12174: case 12184: case 12185: case 12186: case 12196: case 12197: case 12198: case 12208: case 12209: case 12210: case 12220: case 12221: case 12222: case 12232: case 12233: case 12234: case 12244: case 12245: case 12246: case 12256: case 12257: case 12258: case 12268: case 12269: case 12270: case 12280: case 12281: case 12282: case 12292: case 12293: case 12294: case 12304: case 12305: case 12306: case 12316: case 12317: case 12318: case 12328: case 12329: case 12330: case 12340: case 12341: case 12342: case 12352: case 12353: case 12354: case 12364: case 12365: case 12366: case 12376: case 12377: case 12378: case 12388: case 12389: case 12390: case 12400: case 12401: case 12402: case 12412: case 12413: case 12414: case 12424: case 12425: case 12426: case 12436: case 12437: case 12438: case 12448: case 12449: case 12450: case 12460: case 12461: case 12462: case 12472: case 12473: case 12474: case 12484: case 12485: case 12486: return false;
default: return true;
}
}
- enum West West(short ID)
+ enum West West(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 12167: case 12173: case 12179: case 12185: case 12191: case 12197: case 12203: case 12209: case 12215: case 12221: case 12227: case 12233: case 12239: case 12245: case 12251: case 12257: case 12263: case 12269: case 12275: case 12281: case 12287: case 12293: case 12299: case 12305: case 12311: case 12317: case 12323: case 12329: case 12335: case 12341: case 12347: case 12353: case 12359: case 12365: case 12371: case 12377: case 12383: case 12389: case 12395: case 12401: case 12407: case 12413: case 12419: case 12425: case 12431: case 12437: case 12443: case 12449: case 12455: case 12461: case 12467: case 12473: case 12479: case 12485: return West::Low;
case 12166: case 12172: case 12178: case 12184: case 12190: case 12196: case 12202: case 12208: case 12214: case 12220: case 12226: case 12232: case 12238: case 12244: case 12250: case 12256: case 12262: case 12268: case 12274: case 12280: case 12286: case 12292: case 12298: case 12304: case 12310: case 12316: case 12322: case 12328: case 12334: case 12340: case 12346: case 12352: case 12358: case 12364: case 12370: case 12376: case 12382: case 12388: case 12394: case 12400: case 12406: case 12412: case 12418: case 12424: case 12430: case 12436: case 12442: case 12448: case 12454: case 12460: case 12466: case 12472: case 12478: case 12484: return West::None;
@@ -5472,13 +4699,13 @@ namespace Block
}
namespace GrassBlock
{
- short GrassBlock()
+ BlockState GrassBlock()
{
return 9;
}
- bool Snowy(short ID)
+ bool Snowy(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 9: return false;
default: return true;
@@ -5493,13 +4720,13 @@ namespace Block
}
namespace GrayBanner
{
- short GrayBanner()
+ BlockState GrayBanner()
{
return 8009;
}
- unsigned char Rotation(short ID)
+ unsigned char Rotation(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 8009: return 0;
case 8010: return 1;
@@ -5522,13 +4749,13 @@ namespace Block
}
namespace GrayBed
{
- short GrayBed()
+ BlockState GrayBed()
{
return 1164;
}
- eBlockFace Facing(short ID)
+ eBlockFace Facing(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 1169: case 1170: case 1171: case 1172: return eBlockFace::BLOCK_FACE_XM;
case 1173: case 1174: case 1175: case 1176: return eBlockFace::BLOCK_FACE_XP;
@@ -5536,17 +4763,17 @@ namespace Block
default: return eBlockFace::BLOCK_FACE_ZP;
}
}
- bool Occupied(short ID)
+ bool Occupied(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 1163: case 1164: case 1167: case 1168: case 1171: case 1172: case 1175: case 1176: return false;
default: return true;
}
}
- enum Part Part(short ID)
+ enum Part Part(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 1162: case 1164: case 1166: case 1168: case 1170: case 1172: case 1174: case 1176: return Part::Foot;
default: return Part::Head;
@@ -5564,13 +4791,13 @@ namespace Block
}
namespace GrayGlazedTerracotta
{
- short GrayGlazedTerracotta()
+ BlockState GrayGlazedTerracotta()
{
return 9402;
}
- eBlockFace Facing(short ID)
+ eBlockFace Facing(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 9404: return eBlockFace::BLOCK_FACE_XM;
case 9405: return eBlockFace::BLOCK_FACE_XP;
@@ -5581,13 +4808,13 @@ namespace Block
}
namespace GrayShulkerBox
{
- short GrayShulkerBox()
+ BlockState GrayShulkerBox()
{
return 9324;
}
- eBlockFace Facing(short ID)
+ eBlockFace Facing(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 9323: return eBlockFace::BLOCK_FACE_XM;
case 9321: return eBlockFace::BLOCK_FACE_XP;
@@ -5603,37 +4830,37 @@ namespace Block
}
namespace GrayStainedGlassPane
{
- short GrayStainedGlassPane()
+ BlockState GrayStainedGlassPane()
{
return 7118;
}
- bool East(short ID)
+ bool East(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 7105: case 7106: case 7109: case 7110: case 7113: case 7114: case 7117: case 7118: return false;
default: return true;
}
}
- bool North(short ID)
+ bool North(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 7097: case 7098: case 7101: case 7102: case 7113: case 7114: case 7117: case 7118: return false;
default: return true;
}
}
- bool South(short ID)
+ bool South(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 7093: case 7094: case 7101: case 7102: case 7109: case 7110: case 7117: case 7118: return false;
default: return true;
}
}
- bool West(short ID)
+ bool West(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 7090: case 7094: case 7098: case 7102: case 7106: case 7110: case 7114: case 7118: return false;
default: return true;
@@ -5645,13 +4872,13 @@ namespace Block
}
namespace GrayWallBanner
{
- short GrayWallBanner()
+ BlockState GrayWallBanner()
{
return 8181;
}
- eBlockFace Facing(short ID)
+ eBlockFace Facing(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 8183: return eBlockFace::BLOCK_FACE_XM;
case 8184: return eBlockFace::BLOCK_FACE_XP;
@@ -5665,13 +4892,13 @@ namespace Block
}
namespace GreenBanner
{
- short GreenBanner()
+ BlockState GreenBanner()
{
return 8105;
}
- unsigned char Rotation(short ID)
+ unsigned char Rotation(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 8105: return 0;
case 8106: return 1;
@@ -5694,13 +4921,13 @@ namespace Block
}
namespace GreenBed
{
- short GreenBed()
+ BlockState GreenBed()
{
return 1260;
}
- eBlockFace Facing(short ID)
+ eBlockFace Facing(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 1265: case 1266: case 1267: case 1268: return eBlockFace::BLOCK_FACE_XM;
case 1269: case 1270: case 1271: case 1272: return eBlockFace::BLOCK_FACE_XP;
@@ -5708,17 +4935,17 @@ namespace Block
default: return eBlockFace::BLOCK_FACE_ZP;
}
}
- bool Occupied(short ID)
+ bool Occupied(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 1259: case 1260: case 1263: case 1264: case 1267: case 1268: case 1271: case 1272: return false;
default: return true;
}
}
- enum Part Part(short ID)
+ enum Part Part(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 1258: case 1260: case 1262: case 1264: case 1266: case 1268: case 1270: case 1272: return Part::Foot;
default: return Part::Head;
@@ -5736,13 +4963,13 @@ namespace Block
}
namespace GreenGlazedTerracotta
{
- short GreenGlazedTerracotta()
+ BlockState GreenGlazedTerracotta()
{
return 9426;
}
- eBlockFace Facing(short ID)
+ eBlockFace Facing(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 9428: return eBlockFace::BLOCK_FACE_XM;
case 9429: return eBlockFace::BLOCK_FACE_XP;
@@ -5753,13 +4980,13 @@ namespace Block
}
namespace GreenShulkerBox
{
- short GreenShulkerBox()
+ BlockState GreenShulkerBox()
{
return 9360;
}
- eBlockFace Facing(short ID)
+ eBlockFace Facing(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 9359: return eBlockFace::BLOCK_FACE_XM;
case 9357: return eBlockFace::BLOCK_FACE_XP;
@@ -5775,37 +5002,37 @@ namespace Block
}
namespace GreenStainedGlassPane
{
- short GreenStainedGlassPane()
+ BlockState GreenStainedGlassPane()
{
return 7310;
}
- bool East(short ID)
+ bool East(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 7297: case 7298: case 7301: case 7302: case 7305: case 7306: case 7309: case 7310: return false;
default: return true;
}
}
- bool North(short ID)
+ bool North(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 7289: case 7290: case 7293: case 7294: case 7305: case 7306: case 7309: case 7310: return false;
default: return true;
}
}
- bool South(short ID)
+ bool South(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 7285: case 7286: case 7293: case 7294: case 7301: case 7302: case 7309: case 7310: return false;
default: return true;
}
}
- bool West(short ID)
+ bool West(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 7282: case 7286: case 7290: case 7294: case 7298: case 7302: case 7306: case 7310: return false;
default: return true;
@@ -5817,13 +5044,13 @@ namespace Block
}
namespace GreenWallBanner
{
- short GreenWallBanner()
+ BlockState GreenWallBanner()
{
return 8205;
}
- eBlockFace Facing(short ID)
+ eBlockFace Facing(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 8207: return eBlockFace::BLOCK_FACE_XM;
case 8208: return eBlockFace::BLOCK_FACE_XP;
@@ -5837,22 +5064,22 @@ namespace Block
}
namespace Grindstone
{
- short Grindstone()
+ BlockState Grindstone()
{
return 14825;
}
- enum Face Face(short ID)
+ enum Face Face(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 14829: case 14830: case 14831: case 14832: return Face::Ceiling;
case 14821: case 14822: case 14823: case 14824: return Face::Floor;
default: return Face::Wall;
}
}
- eBlockFace Facing(short ID)
+ eBlockFace Facing(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 14823: case 14827: case 14831: return eBlockFace::BLOCK_FACE_XM;
case 14824: case 14828: case 14832: return eBlockFace::BLOCK_FACE_XP;
@@ -5863,13 +5090,13 @@ namespace Block
}
namespace HayBale
{
- short HayBale()
+ BlockState HayBale()
{
return 7864;
}
- enum Axis Axis(short ID)
+ enum Axis Axis(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 7863: return Axis::X;
case 7864: return Axis::Y;
@@ -5879,13 +5106,13 @@ namespace Block
}
namespace HeavyWeightedPressurePlate
{
- short HeavyWeightedPressurePlate()
+ BlockState HeavyWeightedPressurePlate()
{
return 6662;
}
- unsigned char Power(short ID)
+ unsigned char Power(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 6662: return 0;
case 6663: return 1;
@@ -5914,21 +5141,21 @@ namespace Block
}
namespace Hopper
{
- short Hopper()
+ BlockState Hopper()
{
return 6728;
}
- bool Enabled(short ID)
+ bool Enabled(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 6733: case 6734: case 6735: case 6736: case 6737: return false;
default: return true;
}
}
- eBlockFace Facing(short ID)
+ eBlockFace Facing(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 6731: case 6736: return eBlockFace::BLOCK_FACE_XM;
case 6732: case 6737: return eBlockFace::BLOCK_FACE_XP;
@@ -5949,13 +5176,13 @@ namespace Block
}
namespace HornCoralWallFan
{
- short HornCoralWallFan()
+ BlockState HornCoralWallFan()
{
return 9632;
}
- eBlockFace Facing(short ID)
+ eBlockFace Facing(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 9637: return eBlockFace::BLOCK_FACE_XM;
case 9639: return eBlockFace::BLOCK_FACE_XP;
@@ -5987,37 +5214,37 @@ namespace Block
}
namespace IronBars
{
- short IronBars()
+ BlockState IronBars()
{
return 4728;
}
- bool East(short ID)
+ bool East(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 4715: case 4716: case 4719: case 4720: case 4723: case 4724: case 4727: case 4728: return false;
default: return true;
}
}
- bool North(short ID)
+ bool North(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 4707: case 4708: case 4711: case 4712: case 4723: case 4724: case 4727: case 4728: return false;
default: return true;
}
}
- bool South(short ID)
+ bool South(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 4703: case 4704: case 4711: case 4712: case 4719: case 4720: case 4727: case 4728: return false;
default: return true;
}
}
- bool West(short ID)
+ bool West(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 4700: case 4704: case 4708: case 4712: case 4716: case 4720: case 4724: case 4728: return false;
default: return true;
@@ -6029,13 +5256,13 @@ namespace Block
}
namespace IronDoor
{
- short IronDoor()
+ BlockState IronDoor()
{
return 3820;
}
- eBlockFace Facing(short ID)
+ eBlockFace Facing(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 3841: case 3842: case 3843: case 3844: case 3845: case 3846: case 3847: case 3848: case 3849: case 3850: case 3851: case 3852: case 3853: case 3854: case 3855: case 3856: return eBlockFace::BLOCK_FACE_XM;
case 3857: case 3858: case 3859: case 3860: case 3861: case 3862: case 3863: case 3864: case 3865: case 3866: case 3867: case 3868: case 3869: case 3870: case 3871: case 3872: return eBlockFace::BLOCK_FACE_XP;
@@ -6043,33 +5270,33 @@ namespace Block
default: return eBlockFace::BLOCK_FACE_ZP;
}
}
- enum Half Half(short ID)
+ enum Half Half(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 3817: case 3818: case 3819: case 3820: case 3821: case 3822: case 3823: case 3824: case 3833: case 3834: case 3835: case 3836: case 3837: case 3838: case 3839: case 3840: case 3849: case 3850: case 3851: case 3852: case 3853: case 3854: case 3855: case 3856: case 3865: case 3866: case 3867: case 3868: case 3869: case 3870: case 3871: case 3872: return Half::Lower;
default: return Half::Upper;
}
}
- enum Hinge Hinge(short ID)
+ enum Hinge Hinge(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 3809: case 3810: case 3811: case 3812: case 3817: case 3818: case 3819: case 3820: case 3825: case 3826: case 3827: case 3828: case 3833: case 3834: case 3835: case 3836: case 3841: case 3842: case 3843: case 3844: case 3849: case 3850: case 3851: case 3852: case 3857: case 3858: case 3859: case 3860: case 3865: case 3866: case 3867: case 3868: return Hinge::Left;
default: return Hinge::Right;
}
}
- bool Open(short ID)
+ bool Open(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 3811: case 3812: case 3815: case 3816: case 3819: case 3820: case 3823: case 3824: case 3827: case 3828: case 3831: case 3832: case 3835: case 3836: case 3839: case 3840: case 3843: case 3844: case 3847: case 3848: case 3851: case 3852: case 3855: case 3856: case 3859: case 3860: case 3863: case 3864: case 3867: case 3868: case 3871: case 3872: return false;
default: return true;
}
}
- bool Powered(short ID)
+ bool Powered(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 3810: case 3812: case 3814: case 3816: case 3818: case 3820: case 3822: case 3824: case 3826: case 3828: case 3830: case 3832: case 3834: case 3836: case 3838: case 3840: case 3842: case 3844: case 3846: case 3848: case 3850: case 3852: case 3854: case 3856: case 3858: case 3860: case 3862: case 3864: case 3866: case 3868: case 3870: case 3872: return false;
default: return true;
@@ -6081,13 +5308,13 @@ namespace Block
}
namespace IronTrapdoor
{
- short IronTrapdoor()
+ BlockState IronTrapdoor()
{
return 7552;
}
- eBlockFace Facing(short ID)
+ eBlockFace Facing(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 7570: case 7572: case 7574: case 7576: case 7578: case 7580: case 7582: case 7584: return eBlockFace::BLOCK_FACE_XM;
case 7586: case 7588: case 7590: case 7592: case 7594: case 7596: case 7598: case 7600: return eBlockFace::BLOCK_FACE_XP;
@@ -6095,25 +5322,25 @@ namespace Block
default: return eBlockFace::BLOCK_FACE_ZP;
}
}
- enum Half Half(short ID)
+ enum Half Half(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 7546: case 7548: case 7550: case 7552: case 7562: case 7564: case 7566: case 7568: case 7578: case 7580: case 7582: case 7584: case 7594: case 7596: case 7598: case 7600: return Half::Bottom;
default: return Half::Top;
}
}
- bool Open(short ID)
+ bool Open(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 7542: case 7544: case 7550: case 7552: case 7558: case 7560: case 7566: case 7568: case 7574: case 7576: case 7582: case 7584: case 7590: case 7592: case 7598: case 7600: return false;
default: return true;
}
}
- bool Powered(short ID)
+ bool Powered(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 7540: case 7544: case 7548: case 7552: case 7556: case 7560: case 7564: case 7568: case 7572: case 7576: case 7580: case 7584: case 7588: case 7592: case 7596: case 7600: return false;
default: return true;
@@ -6122,13 +5349,13 @@ namespace Block
}
namespace JackOLantern
{
- short JackOLantern()
+ BlockState JackOLantern()
{
return 4020;
}
- eBlockFace Facing(short ID)
+ eBlockFace Facing(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 4022: return eBlockFace::BLOCK_FACE_XM;
case 4023: return eBlockFace::BLOCK_FACE_XP;
@@ -6139,13 +5366,13 @@ namespace Block
}
namespace Jigsaw
{
- short Jigsaw()
+ BlockState Jigsaw()
{
return 15749;
}
- enum Orientation Orientation(short ID)
+ enum Orientation Orientation(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 15739: return Orientation::DownEast;
case 15740: return Orientation::DownNorth;
@@ -6164,13 +5391,13 @@ namespace Block
}
namespace Jukebox
{
- short Jukebox()
+ BlockState Jukebox()
{
return 3965;
}
- bool HasRecord(short ID)
+ bool HasRecord(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 3965: return false;
default: return true;
@@ -6179,22 +5406,22 @@ namespace Block
}
namespace JungleButton
{
- short JungleButton()
+ BlockState JungleButton()
{
return 6427;
}
- enum Face Face(short ID)
+ enum Face Face(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 6434: case 6435: case 6436: case 6437: case 6438: case 6439: case 6440: case 6441: return Face::Ceiling;
case 6418: case 6419: case 6420: case 6421: case 6422: case 6423: case 6424: case 6425: return Face::Floor;
default: return Face::Wall;
}
}
- eBlockFace Facing(short ID)
+ eBlockFace Facing(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 6422: case 6423: case 6430: case 6431: case 6438: case 6439: return eBlockFace::BLOCK_FACE_XM;
case 6424: case 6425: case 6432: case 6433: case 6440: case 6441: return eBlockFace::BLOCK_FACE_XP;
@@ -6202,9 +5429,9 @@ namespace Block
default: return eBlockFace::BLOCK_FACE_ZP;
}
}
- bool Powered(short ID)
+ bool Powered(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 6419: case 6421: case 6423: case 6425: case 6427: case 6429: case 6431: case 6433: case 6435: case 6437: case 6439: case 6441: return false;
default: return true;
@@ -6213,13 +5440,13 @@ namespace Block
}
namespace JungleDoor
{
- short JungleDoor()
+ BlockState JungleDoor()
{
return 8877;
}
- eBlockFace Facing(short ID)
+ eBlockFace Facing(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 8898: case 8899: case 8900: case 8901: case 8902: case 8903: case 8904: case 8905: case 8906: case 8907: case 8908: case 8909: case 8910: case 8911: case 8912: case 8913: return eBlockFace::BLOCK_FACE_XM;
case 8914: case 8915: case 8916: case 8917: case 8918: case 8919: case 8920: case 8921: case 8922: case 8923: case 8924: case 8925: case 8926: case 8927: case 8928: case 8929: return eBlockFace::BLOCK_FACE_XP;
@@ -6227,33 +5454,33 @@ namespace Block
default: return eBlockFace::BLOCK_FACE_ZP;
}
}
- enum Half Half(short ID)
+ enum Half Half(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 8874: case 8875: case 8876: case 8877: case 8878: case 8879: case 8880: case 8881: case 8890: case 8891: case 8892: case 8893: case 8894: case 8895: case 8896: case 8897: case 8906: case 8907: case 8908: case 8909: case 8910: case 8911: case 8912: case 8913: case 8922: case 8923: case 8924: case 8925: case 8926: case 8927: case 8928: case 8929: return Half::Lower;
default: return Half::Upper;
}
}
- enum Hinge Hinge(short ID)
+ enum Hinge Hinge(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 8866: case 8867: case 8868: case 8869: case 8874: case 8875: case 8876: case 8877: case 8882: case 8883: case 8884: case 8885: case 8890: case 8891: case 8892: case 8893: case 8898: case 8899: case 8900: case 8901: case 8906: case 8907: case 8908: case 8909: case 8914: case 8915: case 8916: case 8917: case 8922: case 8923: case 8924: case 8925: return Hinge::Left;
default: return Hinge::Right;
}
}
- bool Open(short ID)
+ bool Open(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 8868: case 8869: case 8872: case 8873: case 8876: case 8877: case 8880: case 8881: case 8884: case 8885: case 8888: case 8889: case 8892: case 8893: case 8896: case 8897: case 8900: case 8901: case 8904: case 8905: case 8908: case 8909: case 8912: case 8913: case 8916: case 8917: case 8920: case 8921: case 8924: case 8925: case 8928: case 8929: return false;
default: return true;
}
}
- bool Powered(short ID)
+ bool Powered(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 8867: case 8869: case 8871: case 8873: case 8875: case 8877: case 8879: case 8881: case 8883: case 8885: case 8887: case 8889: case 8891: case 8893: case 8895: case 8897: case 8899: case 8901: case 8903: case 8905: case 8907: case 8909: case 8911: case 8913: case 8915: case 8917: case 8919: case 8921: case 8923: case 8925: case 8927: case 8929: return false;
default: return true;
@@ -6262,37 +5489,37 @@ namespace Block
}
namespace JungleFence
{
- short JungleFence()
+ BlockState JungleFence()
{
return 8673;
}
- bool East(short ID)
+ bool East(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 8660: case 8661: case 8664: case 8665: case 8668: case 8669: case 8672: case 8673: return false;
default: return true;
}
}
- bool North(short ID)
+ bool North(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 8652: case 8653: case 8656: case 8657: case 8668: case 8669: case 8672: case 8673: return false;
default: return true;
}
}
- bool South(short ID)
+ bool South(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 8648: case 8649: case 8656: case 8657: case 8664: case 8665: case 8672: case 8673: return false;
default: return true;
}
}
- bool West(short ID)
+ bool West(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 8645: case 8649: case 8653: case 8657: case 8661: case 8665: case 8669: case 8673: return false;
default: return true;
@@ -6301,13 +5528,13 @@ namespace Block
}
namespace JungleFenceGate
{
- short JungleFenceGate()
+ BlockState JungleFenceGate()
{
return 8489;
}
- eBlockFace Facing(short ID)
+ eBlockFace Facing(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 8498: case 8499: case 8500: case 8501: case 8502: case 8503: case 8504: case 8505: return eBlockFace::BLOCK_FACE_XM;
case 8506: case 8507: case 8508: case 8509: case 8510: case 8511: case 8512: case 8513: return eBlockFace::BLOCK_FACE_XP;
@@ -6315,25 +5542,25 @@ namespace Block
default: return eBlockFace::BLOCK_FACE_ZP;
}
}
- bool InWall(short ID)
+ bool InWall(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 8486: case 8487: case 8488: case 8489: case 8494: case 8495: case 8496: case 8497: case 8502: case 8503: case 8504: case 8505: case 8510: case 8511: case 8512: case 8513: return false;
default: return true;
}
}
- bool Open(short ID)
+ bool Open(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 8484: case 8485: case 8488: case 8489: case 8492: case 8493: case 8496: case 8497: case 8500: case 8501: case 8504: case 8505: case 8508: case 8509: case 8512: case 8513: return false;
default: return true;
}
}
- bool Powered(short ID)
+ bool Powered(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 8483: case 8485: case 8487: case 8489: case 8491: case 8493: case 8495: case 8497: case 8499: case 8501: case 8503: case 8505: case 8507: case 8509: case 8511: case 8513: return false;
default: return true;
@@ -6342,13 +5569,13 @@ namespace Block
}
namespace JungleLeaves
{
- short JungleLeaves()
+ BlockState JungleLeaves()
{
return 200;
}
- unsigned char Distance(short ID)
+ unsigned char Distance(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 187: case 188: return 1;
case 189: case 190: return 2;
@@ -6359,9 +5586,9 @@ namespace Block
default: return 7;
}
}
- bool Persistent(short ID)
+ bool Persistent(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 188: case 190: case 192: case 194: case 196: case 198: case 200: return false;
default: return true;
@@ -6370,13 +5597,13 @@ namespace Block
}
namespace JungleLog
{
- short JungleLog()
+ BlockState JungleLog()
{
return 83;
}
- enum Axis Axis(short ID)
+ enum Axis Axis(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 82: return Axis::X;
case 83: return Axis::Y;
@@ -6389,13 +5616,13 @@ namespace Block
}
namespace JunglePressurePlate
{
- short JunglePressurePlate()
+ BlockState JunglePressurePlate()
{
return 3880;
}
- bool Powered(short ID)
+ bool Powered(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 3880: return false;
default: return true;
@@ -6404,13 +5631,13 @@ namespace Block
}
namespace JungleSapling
{
- short JungleSapling()
+ BlockState JungleSapling()
{
return 27;
}
- unsigned char Stage(short ID)
+ unsigned char Stage(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 27: return 0;
default: return 1;
@@ -6419,13 +5646,13 @@ namespace Block
}
namespace JungleSign
{
- short JungleSign()
+ BlockState JungleSign()
{
return 3510;
}
- unsigned char Rotation(short ID)
+ unsigned char Rotation(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 3510: return 0;
case 3512: return 1;
@@ -6448,13 +5675,13 @@ namespace Block
}
namespace JungleSlab
{
- short JungleSlab()
+ BlockState JungleSlab()
{
return 8321;
}
- enum Type Type(short ID)
+ enum Type Type(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 8321: return Type::Bottom;
case 8323: return Type::Double;
@@ -6464,13 +5691,13 @@ namespace Block
}
namespace JungleStairs
{
- short JungleStairs()
+ BlockState JungleStairs()
{
return 5575;
}
- eBlockFace Facing(short ID)
+ eBlockFace Facing(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 5605: case 5607: case 5609: case 5611: case 5613: case 5615: case 5617: case 5619: case 5621: case 5623: return eBlockFace::BLOCK_FACE_XM;
case 5625: case 5627: case 5629: case 5631: case 5633: case 5635: case 5637: case 5639: case 5641: case 5643: return eBlockFace::BLOCK_FACE_XP;
@@ -6478,17 +5705,17 @@ namespace Block
default: return eBlockFace::BLOCK_FACE_ZP;
}
}
- enum Half Half(short ID)
+ enum Half Half(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 5575: case 5577: case 5579: case 5581: case 5583: case 5595: case 5597: case 5599: case 5601: case 5603: case 5615: case 5617: case 5619: case 5621: case 5623: case 5635: case 5637: case 5639: case 5641: case 5643: return Half::Bottom;
default: return Half::Top;
}
}
- enum Shape Shape(short ID)
+ enum Shape Shape(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 5567: case 5577: case 5587: case 5597: case 5607: case 5617: case 5627: case 5637: return Shape::InnerLeft;
case 5569: case 5579: case 5589: case 5599: case 5609: case 5619: case 5629: case 5639: return Shape::InnerRight;
@@ -6500,13 +5727,13 @@ namespace Block
}
namespace JungleTrapdoor
{
- short JungleTrapdoor()
+ BlockState JungleTrapdoor()
{
return 4318;
}
- eBlockFace Facing(short ID)
+ eBlockFace Facing(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 4336: case 4338: case 4340: case 4342: case 4344: case 4346: case 4348: case 4350: return eBlockFace::BLOCK_FACE_XM;
case 4352: case 4354: case 4356: case 4358: case 4360: case 4362: case 4364: case 4366: return eBlockFace::BLOCK_FACE_XP;
@@ -6514,25 +5741,25 @@ namespace Block
default: return eBlockFace::BLOCK_FACE_ZP;
}
}
- enum Half Half(short ID)
+ enum Half Half(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 4312: case 4314: case 4316: case 4318: case 4328: case 4330: case 4332: case 4334: case 4344: case 4346: case 4348: case 4350: case 4360: case 4362: case 4364: case 4366: return Half::Bottom;
default: return Half::Top;
}
}
- bool Open(short ID)
+ bool Open(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 4308: case 4310: case 4316: case 4318: case 4324: case 4326: case 4332: case 4334: case 4340: case 4342: case 4348: case 4350: case 4356: case 4358: case 4364: case 4366: return false;
default: return true;
}
}
- bool Powered(short ID)
+ bool Powered(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 4306: case 4310: case 4314: case 4318: case 4322: case 4326: case 4330: case 4334: case 4338: case 4342: case 4346: case 4350: case 4354: case 4358: case 4362: case 4366: return false;
default: return true;
@@ -6541,13 +5768,13 @@ namespace Block
}
namespace JungleWallSign
{
- short JungleWallSign()
+ BlockState JungleWallSign()
{
return 3768;
}
- eBlockFace Facing(short ID)
+ eBlockFace Facing(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 3772: return eBlockFace::BLOCK_FACE_XM;
case 3774: return eBlockFace::BLOCK_FACE_XP;
@@ -6558,13 +5785,13 @@ namespace Block
}
namespace JungleWood
{
- short JungleWood()
+ BlockState JungleWood()
{
return 119;
}
- enum Axis Axis(short ID)
+ enum Axis Axis(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 118: return Axis::X;
case 119: return Axis::Y;
@@ -6574,13 +5801,13 @@ namespace Block
}
namespace Kelp
{
- short Kelp()
+ BlockState Kelp()
{
return 9470;
}
- unsigned char Age(short ID)
+ unsigned char Age(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 9470: return 0;
case 9471: return 1;
@@ -6616,13 +5843,13 @@ namespace Block
}
namespace Ladder
{
- short Ladder()
+ BlockState Ladder()
{
return 3638;
}
- eBlockFace Facing(short ID)
+ eBlockFace Facing(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 3642: return eBlockFace::BLOCK_FACE_XM;
case 3644: return eBlockFace::BLOCK_FACE_XP;
@@ -6633,13 +5860,13 @@ namespace Block
}
namespace Lantern
{
- short Lantern()
+ BlockState Lantern()
{
return 14887;
}
- bool Hanging(short ID)
+ bool Hanging(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 14887: return false;
default: return true;
@@ -6654,13 +5881,13 @@ namespace Block
}
namespace LargeFern
{
- short LargeFern()
+ BlockState LargeFern()
{
return 7896;
}
- enum Half Half(short ID)
+ enum Half Half(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 7896: return Half::Lower;
default: return Half::Upper;
@@ -6669,13 +5896,13 @@ namespace Block
}
namespace Lava
{
- short Lava()
+ BlockState Lava()
{
return 50;
}
- unsigned char Level(short ID)
+ unsigned char Level(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 50: return 0;
case 51: return 1;
@@ -6698,13 +5925,13 @@ namespace Block
}
namespace Lectern
{
- short Lectern()
+ BlockState Lectern()
{
return 14836;
}
- eBlockFace Facing(short ID)
+ eBlockFace Facing(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 14841: case 14842: case 14843: case 14844: return eBlockFace::BLOCK_FACE_XM;
case 14845: case 14846: case 14847: case 14848: return eBlockFace::BLOCK_FACE_XP;
@@ -6712,17 +5939,17 @@ namespace Block
default: return eBlockFace::BLOCK_FACE_ZP;
}
}
- bool HasBook(short ID)
+ bool HasBook(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 14835: case 14836: case 14839: case 14840: case 14843: case 14844: case 14847: case 14848: return false;
default: return true;
}
}
- bool Powered(short ID)
+ bool Powered(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 14834: case 14836: case 14838: case 14840: case 14842: case 14844: case 14846: case 14848: return false;
default: return true;
@@ -6731,22 +5958,22 @@ namespace Block
}
namespace Lever
{
- short Lever()
+ BlockState Lever()
{
return 3792;
}
- enum Face Face(short ID)
+ enum Face Face(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 3799: case 3800: case 3801: case 3802: case 3803: case 3804: case 3805: case 3806: return Face::Ceiling;
case 3783: case 3784: case 3785: case 3786: case 3787: case 3788: case 3789: case 3790: return Face::Floor;
default: return Face::Wall;
}
}
- eBlockFace Facing(short ID)
+ eBlockFace Facing(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 3787: case 3788: case 3795: case 3796: case 3803: case 3804: return eBlockFace::BLOCK_FACE_XM;
case 3789: case 3790: case 3797: case 3798: case 3805: case 3806: return eBlockFace::BLOCK_FACE_XP;
@@ -6754,9 +5981,9 @@ namespace Block
default: return eBlockFace::BLOCK_FACE_ZP;
}
}
- bool Powered(short ID)
+ bool Powered(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 3784: case 3786: case 3788: case 3790: case 3792: case 3794: case 3796: case 3798: case 3800: case 3802: case 3804: case 3806: return false;
default: return true;
@@ -6765,13 +5992,13 @@ namespace Block
}
namespace LightBlueBanner
{
- short LightBlueBanner()
+ BlockState LightBlueBanner()
{
return 7945;
}
- unsigned char Rotation(short ID)
+ unsigned char Rotation(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 7945: return 0;
case 7946: return 1;
@@ -6794,13 +6021,13 @@ namespace Block
}
namespace LightBlueBed
{
- short LightBlueBed()
+ BlockState LightBlueBed()
{
return 1100;
}
- eBlockFace Facing(short ID)
+ eBlockFace Facing(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 1105: case 1106: case 1107: case 1108: return eBlockFace::BLOCK_FACE_XM;
case 1109: case 1110: case 1111: case 1112: return eBlockFace::BLOCK_FACE_XP;
@@ -6808,17 +6035,17 @@ namespace Block
default: return eBlockFace::BLOCK_FACE_ZP;
}
}
- bool Occupied(short ID)
+ bool Occupied(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 1099: case 1100: case 1103: case 1104: case 1107: case 1108: case 1111: case 1112: return false;
default: return true;
}
}
- enum Part Part(short ID)
+ enum Part Part(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 1098: case 1100: case 1102: case 1104: case 1106: case 1108: case 1110: case 1112: return Part::Foot;
default: return Part::Head;
@@ -6836,13 +6063,13 @@ namespace Block
}
namespace LightBlueGlazedTerracotta
{
- short LightBlueGlazedTerracotta()
+ BlockState LightBlueGlazedTerracotta()
{
return 9386;
}
- eBlockFace Facing(short ID)
+ eBlockFace Facing(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 9388: return eBlockFace::BLOCK_FACE_XM;
case 9389: return eBlockFace::BLOCK_FACE_XP;
@@ -6853,13 +6080,13 @@ namespace Block
}
namespace LightBlueShulkerBox
{
- short LightBlueShulkerBox()
+ BlockState LightBlueShulkerBox()
{
return 9300;
}
- eBlockFace Facing(short ID)
+ eBlockFace Facing(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 9299: return eBlockFace::BLOCK_FACE_XM;
case 9297: return eBlockFace::BLOCK_FACE_XP;
@@ -6875,37 +6102,37 @@ namespace Block
}
namespace LightBlueStainedGlassPane
{
- short LightBlueStainedGlassPane()
+ BlockState LightBlueStainedGlassPane()
{
return 6990;
}
- bool East(short ID)
+ bool East(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 6977: case 6978: case 6981: case 6982: case 6985: case 6986: case 6989: case 6990: return false;
default: return true;
}
}
- bool North(short ID)
+ bool North(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 6969: case 6970: case 6973: case 6974: case 6985: case 6986: case 6989: case 6990: return false;
default: return true;
}
}
- bool South(short ID)
+ bool South(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 6965: case 6966: case 6973: case 6974: case 6981: case 6982: case 6989: case 6990: return false;
default: return true;
}
}
- bool West(short ID)
+ bool West(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 6962: case 6966: case 6970: case 6974: case 6978: case 6982: case 6986: case 6990: return false;
default: return true;
@@ -6917,13 +6144,13 @@ namespace Block
}
namespace LightBlueWallBanner
{
- short LightBlueWallBanner()
+ BlockState LightBlueWallBanner()
{
return 8165;
}
- eBlockFace Facing(short ID)
+ eBlockFace Facing(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 8167: return eBlockFace::BLOCK_FACE_XM;
case 8168: return eBlockFace::BLOCK_FACE_XP;
@@ -6937,13 +6164,13 @@ namespace Block
}
namespace LightGrayBanner
{
- short LightGrayBanner()
+ BlockState LightGrayBanner()
{
return 8025;
}
- unsigned char Rotation(short ID)
+ unsigned char Rotation(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 8025: return 0;
case 8026: return 1;
@@ -6966,13 +6193,13 @@ namespace Block
}
namespace LightGrayBed
{
- short LightGrayBed()
+ BlockState LightGrayBed()
{
return 1180;
}
- eBlockFace Facing(short ID)
+ eBlockFace Facing(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 1185: case 1186: case 1187: case 1188: return eBlockFace::BLOCK_FACE_XM;
case 1189: case 1190: case 1191: case 1192: return eBlockFace::BLOCK_FACE_XP;
@@ -6980,17 +6207,17 @@ namespace Block
default: return eBlockFace::BLOCK_FACE_ZP;
}
}
- bool Occupied(short ID)
+ bool Occupied(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 1179: case 1180: case 1183: case 1184: case 1187: case 1188: case 1191: case 1192: return false;
default: return true;
}
}
- enum Part Part(short ID)
+ enum Part Part(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 1178: case 1180: case 1182: case 1184: case 1186: case 1188: case 1190: case 1192: return Part::Foot;
default: return Part::Head;
@@ -7008,13 +6235,13 @@ namespace Block
}
namespace LightGrayGlazedTerracotta
{
- short LightGrayGlazedTerracotta()
+ BlockState LightGrayGlazedTerracotta()
{
return 9406;
}
- eBlockFace Facing(short ID)
+ eBlockFace Facing(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 9408: return eBlockFace::BLOCK_FACE_XM;
case 9409: return eBlockFace::BLOCK_FACE_XP;
@@ -7025,13 +6252,13 @@ namespace Block
}
namespace LightGrayShulkerBox
{
- short LightGrayShulkerBox()
+ BlockState LightGrayShulkerBox()
{
return 9330;
}
- eBlockFace Facing(short ID)
+ eBlockFace Facing(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 9329: return eBlockFace::BLOCK_FACE_XM;
case 9327: return eBlockFace::BLOCK_FACE_XP;
@@ -7047,37 +6274,37 @@ namespace Block
}
namespace LightGrayStainedGlassPane
{
- short LightGrayStainedGlassPane()
+ BlockState LightGrayStainedGlassPane()
{
return 7150;
}
- bool East(short ID)
+ bool East(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 7137: case 7138: case 7141: case 7142: case 7145: case 7146: case 7149: case 7150: return false;
default: return true;
}
}
- bool North(short ID)
+ bool North(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 7129: case 7130: case 7133: case 7134: case 7145: case 7146: case 7149: case 7150: return false;
default: return true;
}
}
- bool South(short ID)
+ bool South(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 7125: case 7126: case 7133: case 7134: case 7141: case 7142: case 7149: case 7150: return false;
default: return true;
}
}
- bool West(short ID)
+ bool West(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 7122: case 7126: case 7130: case 7134: case 7138: case 7142: case 7146: case 7150: return false;
default: return true;
@@ -7089,13 +6316,13 @@ namespace Block
}
namespace LightGrayWallBanner
{
- short LightGrayWallBanner()
+ BlockState LightGrayWallBanner()
{
return 8185;
}
- eBlockFace Facing(short ID)
+ eBlockFace Facing(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 8187: return eBlockFace::BLOCK_FACE_XM;
case 8188: return eBlockFace::BLOCK_FACE_XP;
@@ -7109,13 +6336,13 @@ namespace Block
}
namespace LightWeightedPressurePlate
{
- short LightWeightedPressurePlate()
+ BlockState LightWeightedPressurePlate()
{
return 6646;
}
- unsigned char Power(short ID)
+ unsigned char Power(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 6646: return 0;
case 6647: return 1;
@@ -7138,13 +6365,13 @@ namespace Block
}
namespace Lilac
{
- short Lilac()
+ BlockState Lilac()
{
return 7888;
}
- enum Half Half(short ID)
+ enum Half Half(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 7888: return Half::Lower;
default: return Half::Upper;
@@ -7159,13 +6386,13 @@ namespace Block
}
namespace LimeBanner
{
- short LimeBanner()
+ BlockState LimeBanner()
{
return 7977;
}
- unsigned char Rotation(short ID)
+ unsigned char Rotation(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 7977: return 0;
case 7978: return 1;
@@ -7188,13 +6415,13 @@ namespace Block
}
namespace LimeBed
{
- short LimeBed()
+ BlockState LimeBed()
{
return 1132;
}
- eBlockFace Facing(short ID)
+ eBlockFace Facing(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 1137: case 1138: case 1139: case 1140: return eBlockFace::BLOCK_FACE_XM;
case 1141: case 1142: case 1143: case 1144: return eBlockFace::BLOCK_FACE_XP;
@@ -7202,17 +6429,17 @@ namespace Block
default: return eBlockFace::BLOCK_FACE_ZP;
}
}
- bool Occupied(short ID)
+ bool Occupied(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 1131: case 1132: case 1135: case 1136: case 1139: case 1140: case 1143: case 1144: return false;
default: return true;
}
}
- enum Part Part(short ID)
+ enum Part Part(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 1130: case 1132: case 1134: case 1136: case 1138: case 1140: case 1142: case 1144: return Part::Foot;
default: return Part::Head;
@@ -7230,13 +6457,13 @@ namespace Block
}
namespace LimeGlazedTerracotta
{
- short LimeGlazedTerracotta()
+ BlockState LimeGlazedTerracotta()
{
return 9394;
}
- eBlockFace Facing(short ID)
+ eBlockFace Facing(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 9396: return eBlockFace::BLOCK_FACE_XM;
case 9397: return eBlockFace::BLOCK_FACE_XP;
@@ -7247,13 +6474,13 @@ namespace Block
}
namespace LimeShulkerBox
{
- short LimeShulkerBox()
+ BlockState LimeShulkerBox()
{
return 9312;
}
- eBlockFace Facing(short ID)
+ eBlockFace Facing(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 9311: return eBlockFace::BLOCK_FACE_XM;
case 9309: return eBlockFace::BLOCK_FACE_XP;
@@ -7269,37 +6496,37 @@ namespace Block
}
namespace LimeStainedGlassPane
{
- short LimeStainedGlassPane()
+ BlockState LimeStainedGlassPane()
{
return 7054;
}
- bool East(short ID)
+ bool East(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 7041: case 7042: case 7045: case 7046: case 7049: case 7050: case 7053: case 7054: return false;
default: return true;
}
}
- bool North(short ID)
+ bool North(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 7033: case 7034: case 7037: case 7038: case 7049: case 7050: case 7053: case 7054: return false;
default: return true;
}
}
- bool South(short ID)
+ bool South(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 7029: case 7030: case 7037: case 7038: case 7045: case 7046: case 7053: case 7054: return false;
default: return true;
}
}
- bool West(short ID)
+ bool West(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 7026: case 7030: case 7034: case 7038: case 7042: case 7046: case 7050: case 7054: return false;
default: return true;
@@ -7311,13 +6538,13 @@ namespace Block
}
namespace LimeWallBanner
{
- short LimeWallBanner()
+ BlockState LimeWallBanner()
{
return 8173;
}
- eBlockFace Facing(short ID)
+ eBlockFace Facing(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 8175: return eBlockFace::BLOCK_FACE_XM;
case 8176: return eBlockFace::BLOCK_FACE_XP;
@@ -7334,13 +6561,13 @@ namespace Block
}
namespace Loom
{
- short Loom()
+ BlockState Loom()
{
return 14787;
}
- eBlockFace Facing(short ID)
+ eBlockFace Facing(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 14789: return eBlockFace::BLOCK_FACE_XM;
case 14790: return eBlockFace::BLOCK_FACE_XP;
@@ -7351,13 +6578,13 @@ namespace Block
}
namespace MagentaBanner
{
- short MagentaBanner()
+ BlockState MagentaBanner()
{
return 7929;
}
- unsigned char Rotation(short ID)
+ unsigned char Rotation(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 7929: return 0;
case 7930: return 1;
@@ -7380,13 +6607,13 @@ namespace Block
}
namespace MagentaBed
{
- short MagentaBed()
+ BlockState MagentaBed()
{
return 1084;
}
- eBlockFace Facing(short ID)
+ eBlockFace Facing(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 1089: case 1090: case 1091: case 1092: return eBlockFace::BLOCK_FACE_XM;
case 1093: case 1094: case 1095: case 1096: return eBlockFace::BLOCK_FACE_XP;
@@ -7394,17 +6621,17 @@ namespace Block
default: return eBlockFace::BLOCK_FACE_ZP;
}
}
- bool Occupied(short ID)
+ bool Occupied(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 1083: case 1084: case 1087: case 1088: case 1091: case 1092: case 1095: case 1096: return false;
default: return true;
}
}
- enum Part Part(short ID)
+ enum Part Part(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 1082: case 1084: case 1086: case 1088: case 1090: case 1092: case 1094: case 1096: return Part::Foot;
default: return Part::Head;
@@ -7422,13 +6649,13 @@ namespace Block
}
namespace MagentaGlazedTerracotta
{
- short MagentaGlazedTerracotta()
+ BlockState MagentaGlazedTerracotta()
{
return 9382;
}
- eBlockFace Facing(short ID)
+ eBlockFace Facing(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 9384: return eBlockFace::BLOCK_FACE_XM;
case 9385: return eBlockFace::BLOCK_FACE_XP;
@@ -7439,13 +6666,13 @@ namespace Block
}
namespace MagentaShulkerBox
{
- short MagentaShulkerBox()
+ BlockState MagentaShulkerBox()
{
return 9294;
}
- eBlockFace Facing(short ID)
+ eBlockFace Facing(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 9293: return eBlockFace::BLOCK_FACE_XM;
case 9291: return eBlockFace::BLOCK_FACE_XP;
@@ -7461,37 +6688,37 @@ namespace Block
}
namespace MagentaStainedGlassPane
{
- short MagentaStainedGlassPane()
+ BlockState MagentaStainedGlassPane()
{
return 6958;
}
- bool East(short ID)
+ bool East(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 6945: case 6946: case 6949: case 6950: case 6953: case 6954: case 6957: case 6958: return false;
default: return true;
}
}
- bool North(short ID)
+ bool North(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 6937: case 6938: case 6941: case 6942: case 6953: case 6954: case 6957: case 6958: return false;
default: return true;
}
}
- bool South(short ID)
+ bool South(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 6933: case 6934: case 6941: case 6942: case 6949: case 6950: case 6957: case 6958: return false;
default: return true;
}
}
- bool West(short ID)
+ bool West(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 6930: case 6934: case 6938: case 6942: case 6946: case 6950: case 6954: case 6958: return false;
default: return true;
@@ -7503,13 +6730,13 @@ namespace Block
}
namespace MagentaWallBanner
{
- short MagentaWallBanner()
+ BlockState MagentaWallBanner()
{
return 8161;
}
- eBlockFace Facing(short ID)
+ eBlockFace Facing(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 8163: return eBlockFace::BLOCK_FACE_XM;
case 8164: return eBlockFace::BLOCK_FACE_XP;
@@ -7529,13 +6756,13 @@ namespace Block
}
namespace MelonStem
{
- short MelonStem()
+ BlockState MelonStem()
{
return 4780;
}
- unsigned char Age(short ID)
+ unsigned char Age(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 4780: return 0;
case 4781: return 1;
@@ -7553,13 +6780,13 @@ namespace Block
}
namespace MossyCobblestoneSlab
{
- short MossyCobblestoneSlab()
+ BlockState MossyCobblestoneSlab()
{
return 10816;
}
- enum Type Type(short ID)
+ enum Type Type(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 10816: return Type::Bottom;
case 10818: return Type::Double;
@@ -7569,13 +6796,13 @@ namespace Block
}
namespace MossyCobblestoneStairs
{
- short MossyCobblestoneStairs()
+ BlockState MossyCobblestoneStairs()
{
return 10000;
}
- eBlockFace Facing(short ID)
+ eBlockFace Facing(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 10030: case 10032: case 10034: case 10036: case 10038: case 10040: case 10042: case 10044: case 10046: case 10048: return eBlockFace::BLOCK_FACE_XM;
case 10050: case 10052: case 10054: case 10056: case 10058: case 10060: case 10062: case 10064: case 10066: case 10068: return eBlockFace::BLOCK_FACE_XP;
@@ -7583,17 +6810,17 @@ namespace Block
default: return eBlockFace::BLOCK_FACE_ZP;
}
}
- enum Half Half(short ID)
+ enum Half Half(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 10000: case 10002: case 10004: case 10006: case 10008: case 10020: case 10022: case 10024: case 10026: case 10028: case 10040: case 10042: case 10044: case 10046: case 10048: case 10060: case 10062: case 10064: case 10066: case 10068: return Half::Bottom;
default: return Half::Top;
}
}
- enum Shape Shape(short ID)
+ enum Shape Shape(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 9992: case 10002: case 10012: case 10022: case 10032: case 10042: case 10052: case 10062: return Shape::InnerLeft;
case 9994: case 10004: case 10014: case 10024: case 10034: case 10044: case 10054: case 10064: return Shape::InnerRight;
@@ -7605,48 +6832,48 @@ namespace Block
}
namespace MossyCobblestoneWall
{
- short MossyCobblestoneWall()
+ BlockState MossyCobblestoneWall()
{
return 5984;
}
- enum East East(short ID)
+ enum East East(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 6092: case 6093: case 6094: case 6098: case 6099: case 6100: case 6104: case 6105: case 6106: case 6110: case 6111: case 6112: case 6116: case 6117: case 6118: case 6122: case 6123: case 6124: case 6128: case 6129: case 6130: case 6134: case 6135: case 6136: case 6140: case 6141: case 6142: case 6146: case 6147: case 6148: case 6152: case 6153: case 6154: case 6158: case 6159: case 6160: case 6164: case 6165: case 6166: case 6170: case 6171: case 6172: case 6176: case 6177: case 6178: case 6182: case 6183: case 6184: case 6188: case 6189: case 6190: case 6194: case 6195: case 6196: return East::Low;
case 5984: case 5985: case 5986: case 5990: case 5991: case 5992: case 5996: case 5997: case 5998: case 6002: case 6003: case 6004: case 6008: case 6009: case 6010: case 6014: case 6015: case 6016: case 6020: case 6021: case 6022: case 6026: case 6027: case 6028: case 6032: case 6033: case 6034: case 6038: case 6039: case 6040: case 6044: case 6045: case 6046: case 6050: case 6051: case 6052: case 6056: case 6057: case 6058: case 6062: case 6063: case 6064: case 6068: case 6069: case 6070: case 6074: case 6075: case 6076: case 6080: case 6081: case 6082: case 6086: case 6087: case 6088: return East::None;
default: return East::Tall;
}
}
- enum North North(short ID)
+ enum North North(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 6020: case 6021: case 6022: case 6026: case 6027: case 6028: case 6032: case 6033: case 6034: case 6038: case 6039: case 6040: case 6044: case 6045: case 6046: case 6050: case 6051: case 6052: case 6128: case 6129: case 6130: case 6134: case 6135: case 6136: case 6140: case 6141: case 6142: case 6146: case 6147: case 6148: case 6152: case 6153: case 6154: case 6158: case 6159: case 6160: case 6236: case 6237: case 6238: case 6242: case 6243: case 6244: case 6248: case 6249: case 6250: case 6254: case 6255: case 6256: case 6260: case 6261: case 6262: case 6266: case 6267: case 6268: return North::Low;
case 5984: case 5985: case 5986: case 5990: case 5991: case 5992: case 5996: case 5997: case 5998: case 6002: case 6003: case 6004: case 6008: case 6009: case 6010: case 6014: case 6015: case 6016: case 6092: case 6093: case 6094: case 6098: case 6099: case 6100: case 6104: case 6105: case 6106: case 6110: case 6111: case 6112: case 6116: case 6117: case 6118: case 6122: case 6123: case 6124: case 6200: case 6201: case 6202: case 6206: case 6207: case 6208: case 6212: case 6213: case 6214: case 6218: case 6219: case 6220: case 6224: case 6225: case 6226: case 6230: case 6231: case 6232: return North::None;
default: return North::Tall;
}
}
- enum South South(short ID)
+ enum South South(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 5996: case 5997: case 5998: case 6002: case 6003: case 6004: case 6032: case 6033: case 6034: case 6038: case 6039: case 6040: case 6068: case 6069: case 6070: case 6074: case 6075: case 6076: case 6104: case 6105: case 6106: case 6110: case 6111: case 6112: case 6140: case 6141: case 6142: case 6146: case 6147: case 6148: case 6176: case 6177: case 6178: case 6182: case 6183: case 6184: case 6212: case 6213: case 6214: case 6218: case 6219: case 6220: case 6248: case 6249: case 6250: case 6254: case 6255: case 6256: case 6284: case 6285: case 6286: case 6290: case 6291: case 6292: return South::Low;
case 5984: case 5985: case 5986: case 5990: case 5991: case 5992: case 6020: case 6021: case 6022: case 6026: case 6027: case 6028: case 6056: case 6057: case 6058: case 6062: case 6063: case 6064: case 6092: case 6093: case 6094: case 6098: case 6099: case 6100: case 6128: case 6129: case 6130: case 6134: case 6135: case 6136: case 6164: case 6165: case 6166: case 6170: case 6171: case 6172: case 6200: case 6201: case 6202: case 6206: case 6207: case 6208: case 6236: case 6237: case 6238: case 6242: case 6243: case 6244: case 6272: case 6273: case 6274: case 6278: case 6279: case 6280: return South::None;
default: return South::Tall;
}
}
- bool Up(short ID)
+ bool Up(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 5990: case 5991: case 5992: case 6002: case 6003: case 6004: case 6014: case 6015: case 6016: case 6026: case 6027: case 6028: case 6038: case 6039: case 6040: case 6050: case 6051: case 6052: case 6062: case 6063: case 6064: case 6074: case 6075: case 6076: case 6086: case 6087: case 6088: case 6098: case 6099: case 6100: case 6110: case 6111: case 6112: case 6122: case 6123: case 6124: case 6134: case 6135: case 6136: case 6146: case 6147: case 6148: case 6158: case 6159: case 6160: case 6170: case 6171: case 6172: case 6182: case 6183: case 6184: case 6194: case 6195: case 6196: case 6206: case 6207: case 6208: case 6218: case 6219: case 6220: case 6230: case 6231: case 6232: case 6242: case 6243: case 6244: case 6254: case 6255: case 6256: case 6266: case 6267: case 6268: case 6278: case 6279: case 6280: case 6290: case 6291: case 6292: case 6302: case 6303: case 6304: return false;
default: return true;
}
}
- enum West West(short ID)
+ enum West West(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 5985: case 5991: case 5997: case 6003: case 6009: case 6015: case 6021: case 6027: case 6033: case 6039: case 6045: case 6051: case 6057: case 6063: case 6069: case 6075: case 6081: case 6087: case 6093: case 6099: case 6105: case 6111: case 6117: case 6123: case 6129: case 6135: case 6141: case 6147: case 6153: case 6159: case 6165: case 6171: case 6177: case 6183: case 6189: case 6195: case 6201: case 6207: case 6213: case 6219: case 6225: case 6231: case 6237: case 6243: case 6249: case 6255: case 6261: case 6267: case 6273: case 6279: case 6285: case 6291: case 6297: case 6303: return West::Low;
case 5984: case 5990: case 5996: case 6002: case 6008: case 6014: case 6020: case 6026: case 6032: case 6038: case 6044: case 6050: case 6056: case 6062: case 6068: case 6074: case 6080: case 6086: case 6092: case 6098: case 6104: case 6110: case 6116: case 6122: case 6128: case 6134: case 6140: case 6146: case 6152: case 6158: case 6164: case 6170: case 6176: case 6182: case 6188: case 6194: case 6200: case 6206: case 6212: case 6218: case 6224: case 6230: case 6236: case 6242: case 6248: case 6254: case 6260: case 6266: case 6272: case 6278: case 6284: case 6290: case 6296: case 6302: return West::None;
@@ -7656,13 +6883,13 @@ namespace Block
}
namespace MossyStoneBrickSlab
{
- short MossyStoneBrickSlab()
+ BlockState MossyStoneBrickSlab()
{
return 10804;
}
- enum Type Type(short ID)
+ enum Type Type(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 10804: return Type::Bottom;
case 10806: return Type::Double;
@@ -7672,13 +6899,13 @@ namespace Block
}
namespace MossyStoneBrickStairs
{
- short MossyStoneBrickStairs()
+ BlockState MossyStoneBrickStairs()
{
return 9840;
}
- eBlockFace Facing(short ID)
+ eBlockFace Facing(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 9870: case 9872: case 9874: case 9876: case 9878: case 9880: case 9882: case 9884: case 9886: case 9888: return eBlockFace::BLOCK_FACE_XM;
case 9890: case 9892: case 9894: case 9896: case 9898: case 9900: case 9902: case 9904: case 9906: case 9908: return eBlockFace::BLOCK_FACE_XP;
@@ -7686,17 +6913,17 @@ namespace Block
default: return eBlockFace::BLOCK_FACE_ZP;
}
}
- enum Half Half(short ID)
+ enum Half Half(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 9840: case 9842: case 9844: case 9846: case 9848: case 9860: case 9862: case 9864: case 9866: case 9868: case 9880: case 9882: case 9884: case 9886: case 9888: case 9900: case 9902: case 9904: case 9906: case 9908: return Half::Bottom;
default: return Half::Top;
}
}
- enum Shape Shape(short ID)
+ enum Shape Shape(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 9832: case 9842: case 9852: case 9862: case 9872: case 9882: case 9892: case 9902: return Shape::InnerLeft;
case 9834: case 9844: case 9854: case 9864: case 9874: case 9884: case 9894: case 9904: return Shape::InnerRight;
@@ -7708,48 +6935,48 @@ namespace Block
}
namespace MossyStoneBrickWall
{
- short MossyStoneBrickWall()
+ BlockState MossyStoneBrickWall()
{
return 11842;
}
- enum East East(short ID)
+ enum East East(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 11950: case 11951: case 11952: case 11956: case 11957: case 11958: case 11962: case 11963: case 11964: case 11968: case 11969: case 11970: case 11974: case 11975: case 11976: case 11980: case 11981: case 11982: case 11986: case 11987: case 11988: case 11992: case 11993: case 11994: case 11998: case 11999: case 12000: case 12004: case 12005: case 12006: case 12010: case 12011: case 12012: case 12016: case 12017: case 12018: case 12022: case 12023: case 12024: case 12028: case 12029: case 12030: case 12034: case 12035: case 12036: case 12040: case 12041: case 12042: case 12046: case 12047: case 12048: case 12052: case 12053: case 12054: return East::Low;
case 11842: case 11843: case 11844: case 11848: case 11849: case 11850: case 11854: case 11855: case 11856: case 11860: case 11861: case 11862: case 11866: case 11867: case 11868: case 11872: case 11873: case 11874: case 11878: case 11879: case 11880: case 11884: case 11885: case 11886: case 11890: case 11891: case 11892: case 11896: case 11897: case 11898: case 11902: case 11903: case 11904: case 11908: case 11909: case 11910: case 11914: case 11915: case 11916: case 11920: case 11921: case 11922: case 11926: case 11927: case 11928: case 11932: case 11933: case 11934: case 11938: case 11939: case 11940: case 11944: case 11945: case 11946: return East::None;
default: return East::Tall;
}
}
- enum North North(short ID)
+ enum North North(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 11878: case 11879: case 11880: case 11884: case 11885: case 11886: case 11890: case 11891: case 11892: case 11896: case 11897: case 11898: case 11902: case 11903: case 11904: case 11908: case 11909: case 11910: case 11986: case 11987: case 11988: case 11992: case 11993: case 11994: case 11998: case 11999: case 12000: case 12004: case 12005: case 12006: case 12010: case 12011: case 12012: case 12016: case 12017: case 12018: case 12094: case 12095: case 12096: case 12100: case 12101: case 12102: case 12106: case 12107: case 12108: case 12112: case 12113: case 12114: case 12118: case 12119: case 12120: case 12124: case 12125: case 12126: return North::Low;
case 11842: case 11843: case 11844: case 11848: case 11849: case 11850: case 11854: case 11855: case 11856: case 11860: case 11861: case 11862: case 11866: case 11867: case 11868: case 11872: case 11873: case 11874: case 11950: case 11951: case 11952: case 11956: case 11957: case 11958: case 11962: case 11963: case 11964: case 11968: case 11969: case 11970: case 11974: case 11975: case 11976: case 11980: case 11981: case 11982: case 12058: case 12059: case 12060: case 12064: case 12065: case 12066: case 12070: case 12071: case 12072: case 12076: case 12077: case 12078: case 12082: case 12083: case 12084: case 12088: case 12089: case 12090: return North::None;
default: return North::Tall;
}
}
- enum South South(short ID)
+ enum South South(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 11854: case 11855: case 11856: case 11860: case 11861: case 11862: case 11890: case 11891: case 11892: case 11896: case 11897: case 11898: case 11926: case 11927: case 11928: case 11932: case 11933: case 11934: case 11962: case 11963: case 11964: case 11968: case 11969: case 11970: case 11998: case 11999: case 12000: case 12004: case 12005: case 12006: case 12034: case 12035: case 12036: case 12040: case 12041: case 12042: case 12070: case 12071: case 12072: case 12076: case 12077: case 12078: case 12106: case 12107: case 12108: case 12112: case 12113: case 12114: case 12142: case 12143: case 12144: case 12148: case 12149: case 12150: return South::Low;
case 11842: case 11843: case 11844: case 11848: case 11849: case 11850: case 11878: case 11879: case 11880: case 11884: case 11885: case 11886: case 11914: case 11915: case 11916: case 11920: case 11921: case 11922: case 11950: case 11951: case 11952: case 11956: case 11957: case 11958: case 11986: case 11987: case 11988: case 11992: case 11993: case 11994: case 12022: case 12023: case 12024: case 12028: case 12029: case 12030: case 12058: case 12059: case 12060: case 12064: case 12065: case 12066: case 12094: case 12095: case 12096: case 12100: case 12101: case 12102: case 12130: case 12131: case 12132: case 12136: case 12137: case 12138: return South::None;
default: return South::Tall;
}
}
- bool Up(short ID)
+ bool Up(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 11848: case 11849: case 11850: case 11860: case 11861: case 11862: case 11872: case 11873: case 11874: case 11884: case 11885: case 11886: case 11896: case 11897: case 11898: case 11908: case 11909: case 11910: case 11920: case 11921: case 11922: case 11932: case 11933: case 11934: case 11944: case 11945: case 11946: case 11956: case 11957: case 11958: case 11968: case 11969: case 11970: case 11980: case 11981: case 11982: case 11992: case 11993: case 11994: case 12004: case 12005: case 12006: case 12016: case 12017: case 12018: case 12028: case 12029: case 12030: case 12040: case 12041: case 12042: case 12052: case 12053: case 12054: case 12064: case 12065: case 12066: case 12076: case 12077: case 12078: case 12088: case 12089: case 12090: case 12100: case 12101: case 12102: case 12112: case 12113: case 12114: case 12124: case 12125: case 12126: case 12136: case 12137: case 12138: case 12148: case 12149: case 12150: case 12160: case 12161: case 12162: return false;
default: return true;
}
}
- enum West West(short ID)
+ enum West West(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 11843: case 11849: case 11855: case 11861: case 11867: case 11873: case 11879: case 11885: case 11891: case 11897: case 11903: case 11909: case 11915: case 11921: case 11927: case 11933: case 11939: case 11945: case 11951: case 11957: case 11963: case 11969: case 11975: case 11981: case 11987: case 11993: case 11999: case 12005: case 12011: case 12017: case 12023: case 12029: case 12035: case 12041: case 12047: case 12053: case 12059: case 12065: case 12071: case 12077: case 12083: case 12089: case 12095: case 12101: case 12107: case 12113: case 12119: case 12125: case 12131: case 12137: case 12143: case 12149: case 12155: case 12161: return West::Low;
case 11842: case 11848: case 11854: case 11860: case 11866: case 11872: case 11878: case 11884: case 11890: case 11896: case 11902: case 11908: case 11914: case 11920: case 11926: case 11932: case 11938: case 11944: case 11950: case 11956: case 11962: case 11968: case 11974: case 11980: case 11986: case 11992: case 11998: case 12004: case 12010: case 12016: case 12022: case 12028: case 12034: case 12040: case 12046: case 12052: case 12058: case 12064: case 12070: case 12076: case 12082: case 12088: case 12094: case 12100: case 12106: case 12112: case 12118: case 12124: case 12130: case 12136: case 12142: case 12148: case 12154: case 12160: return West::None;
@@ -7762,13 +6989,13 @@ namespace Block
}
namespace MovingPiston
{
- short MovingPiston()
+ BlockState MovingPiston()
{
return 1400;
}
- eBlockFace Facing(short ID)
+ eBlockFace Facing(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 1406: case 1407: return eBlockFace::BLOCK_FACE_XM;
case 1402: case 1403: return eBlockFace::BLOCK_FACE_XP;
@@ -7778,9 +7005,9 @@ namespace Block
default: return eBlockFace::BLOCK_FACE_ZP;
}
}
- enum Type Type(short ID)
+ enum Type Type(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 1400: case 1402: case 1404: case 1406: case 1408: case 1410: return Type::Normal;
default: return Type::Sticky;
@@ -7789,53 +7016,53 @@ namespace Block
}
namespace MushroomStem
{
- short MushroomStem()
+ BlockState MushroomStem()
{
return 4633;
}
- bool Down(short ID)
+ bool Down(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 4665: case 4666: case 4667: case 4668: case 4669: case 4670: case 4671: case 4672: case 4673: case 4674: case 4675: case 4676: case 4677: case 4678: case 4679: case 4680: case 4681: case 4682: case 4683: case 4684: case 4685: case 4686: case 4687: case 4688: case 4689: case 4690: case 4691: case 4692: case 4693: case 4694: case 4695: case 4696: return false;
default: return true;
}
}
- bool East(short ID)
+ bool East(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 4649: case 4650: case 4651: case 4652: case 4653: case 4654: case 4655: case 4656: case 4657: case 4658: case 4659: case 4660: case 4661: case 4662: case 4663: case 4664: case 4681: case 4682: case 4683: case 4684: case 4685: case 4686: case 4687: case 4688: case 4689: case 4690: case 4691: case 4692: case 4693: case 4694: case 4695: case 4696: return false;
default: return true;
}
}
- bool North(short ID)
+ bool North(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 4641: case 4642: case 4643: case 4644: case 4645: case 4646: case 4647: case 4648: case 4657: case 4658: case 4659: case 4660: case 4661: case 4662: case 4663: case 4664: case 4673: case 4674: case 4675: case 4676: case 4677: case 4678: case 4679: case 4680: case 4689: case 4690: case 4691: case 4692: case 4693: case 4694: case 4695: case 4696: return false;
default: return true;
}
}
- bool South(short ID)
+ bool South(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 4637: case 4638: case 4639: case 4640: case 4645: case 4646: case 4647: case 4648: case 4653: case 4654: case 4655: case 4656: case 4661: case 4662: case 4663: case 4664: case 4669: case 4670: case 4671: case 4672: case 4677: case 4678: case 4679: case 4680: case 4685: case 4686: case 4687: case 4688: case 4693: case 4694: case 4695: case 4696: return false;
default: return true;
}
}
- bool Up(short ID)
+ bool Up(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 4635: case 4636: case 4639: case 4640: case 4643: case 4644: case 4647: case 4648: case 4651: case 4652: case 4655: case 4656: case 4659: case 4660: case 4663: case 4664: case 4667: case 4668: case 4671: case 4672: case 4675: case 4676: case 4679: case 4680: case 4683: case 4684: case 4687: case 4688: case 4691: case 4692: case 4695: case 4696: return false;
default: return true;
}
}
- bool West(short ID)
+ bool West(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 4634: case 4636: case 4638: case 4640: case 4642: case 4644: case 4646: case 4648: case 4650: case 4652: case 4654: case 4656: case 4658: case 4660: case 4662: case 4664: case 4666: case 4668: case 4670: case 4672: case 4674: case 4676: case 4678: case 4680: case 4682: case 4684: case 4686: case 4688: case 4690: case 4692: case 4694: case 4696: return false;
default: return true;
@@ -7844,13 +7071,13 @@ namespace Block
}
namespace Mycelium
{
- short Mycelium()
+ BlockState Mycelium()
{
return 5013;
}
- bool Snowy(short ID)
+ bool Snowy(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 5013: return false;
default: return true;
@@ -7859,37 +7086,37 @@ namespace Block
}
namespace NetherBrickFence
{
- short NetherBrickFence()
+ BlockState NetherBrickFence()
{
return 5047;
}
- bool East(short ID)
+ bool East(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 5034: case 5035: case 5038: case 5039: case 5042: case 5043: case 5046: case 5047: return false;
default: return true;
}
}
- bool North(short ID)
+ bool North(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 5026: case 5027: case 5030: case 5031: case 5042: case 5043: case 5046: case 5047: return false;
default: return true;
}
}
- bool South(short ID)
+ bool South(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 5022: case 5023: case 5030: case 5031: case 5038: case 5039: case 5046: case 5047: return false;
default: return true;
}
}
- bool West(short ID)
+ bool West(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 5019: case 5023: case 5027: case 5031: case 5035: case 5039: case 5043: case 5047: return false;
default: return true;
@@ -7898,13 +7125,13 @@ namespace Block
}
namespace NetherBrickSlab
{
- short NetherBrickSlab()
+ BlockState NetherBrickSlab()
{
return 8387;
}
- enum Type Type(short ID)
+ enum Type Type(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 8387: return Type::Bottom;
case 8389: return Type::Double;
@@ -7914,13 +7141,13 @@ namespace Block
}
namespace NetherBrickStairs
{
- short NetherBrickStairs()
+ BlockState NetherBrickStairs()
{
return 5059;
}
- eBlockFace Facing(short ID)
+ eBlockFace Facing(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 5089: case 5091: case 5093: case 5095: case 5097: case 5099: case 5101: case 5103: case 5105: case 5107: return eBlockFace::BLOCK_FACE_XM;
case 5109: case 5111: case 5113: case 5115: case 5117: case 5119: case 5121: case 5123: case 5125: case 5127: return eBlockFace::BLOCK_FACE_XP;
@@ -7928,17 +7155,17 @@ namespace Block
default: return eBlockFace::BLOCK_FACE_ZP;
}
}
- enum Half Half(short ID)
+ enum Half Half(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 5059: case 5061: case 5063: case 5065: case 5067: case 5079: case 5081: case 5083: case 5085: case 5087: case 5099: case 5101: case 5103: case 5105: case 5107: case 5119: case 5121: case 5123: case 5125: case 5127: return Half::Bottom;
default: return Half::Top;
}
}
- enum Shape Shape(short ID)
+ enum Shape Shape(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 5051: case 5061: case 5071: case 5081: case 5091: case 5101: case 5111: case 5121: return Shape::InnerLeft;
case 5053: case 5063: case 5073: case 5083: case 5093: case 5103: case 5113: case 5123: return Shape::InnerRight;
@@ -7950,48 +7177,48 @@ namespace Block
}
namespace NetherBrickWall
{
- short NetherBrickWall()
+ BlockState NetherBrickWall()
{
return 12814;
}
- enum East East(short ID)
+ enum East East(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 12922: case 12923: case 12924: case 12928: case 12929: case 12930: case 12934: case 12935: case 12936: case 12940: case 12941: case 12942: case 12946: case 12947: case 12948: case 12952: case 12953: case 12954: case 12958: case 12959: case 12960: case 12964: case 12965: case 12966: case 12970: case 12971: case 12972: case 12976: case 12977: case 12978: case 12982: case 12983: case 12984: case 12988: case 12989: case 12990: case 12994: case 12995: case 12996: case 13000: case 13001: case 13002: case 13006: case 13007: case 13008: case 13012: case 13013: case 13014: case 13018: case 13019: case 13020: case 13024: case 13025: case 13026: return East::Low;
case 12814: case 12815: case 12816: case 12820: case 12821: case 12822: case 12826: case 12827: case 12828: case 12832: case 12833: case 12834: case 12838: case 12839: case 12840: case 12844: case 12845: case 12846: case 12850: case 12851: case 12852: case 12856: case 12857: case 12858: case 12862: case 12863: case 12864: case 12868: case 12869: case 12870: case 12874: case 12875: case 12876: case 12880: case 12881: case 12882: case 12886: case 12887: case 12888: case 12892: case 12893: case 12894: case 12898: case 12899: case 12900: case 12904: case 12905: case 12906: case 12910: case 12911: case 12912: case 12916: case 12917: case 12918: return East::None;
default: return East::Tall;
}
}
- enum North North(short ID)
+ enum North North(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 12850: case 12851: case 12852: case 12856: case 12857: case 12858: case 12862: case 12863: case 12864: case 12868: case 12869: case 12870: case 12874: case 12875: case 12876: case 12880: case 12881: case 12882: case 12958: case 12959: case 12960: case 12964: case 12965: case 12966: case 12970: case 12971: case 12972: case 12976: case 12977: case 12978: case 12982: case 12983: case 12984: case 12988: case 12989: case 12990: case 13066: case 13067: case 13068: case 13072: case 13073: case 13074: case 13078: case 13079: case 13080: case 13084: case 13085: case 13086: case 13090: case 13091: case 13092: case 13096: case 13097: case 13098: return North::Low;
case 12814: case 12815: case 12816: case 12820: case 12821: case 12822: case 12826: case 12827: case 12828: case 12832: case 12833: case 12834: case 12838: case 12839: case 12840: case 12844: case 12845: case 12846: case 12922: case 12923: case 12924: case 12928: case 12929: case 12930: case 12934: case 12935: case 12936: case 12940: case 12941: case 12942: case 12946: case 12947: case 12948: case 12952: case 12953: case 12954: case 13030: case 13031: case 13032: case 13036: case 13037: case 13038: case 13042: case 13043: case 13044: case 13048: case 13049: case 13050: case 13054: case 13055: case 13056: case 13060: case 13061: case 13062: return North::None;
default: return North::Tall;
}
}
- enum South South(short ID)
+ enum South South(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 12826: case 12827: case 12828: case 12832: case 12833: case 12834: case 12862: case 12863: case 12864: case 12868: case 12869: case 12870: case 12898: case 12899: case 12900: case 12904: case 12905: case 12906: case 12934: case 12935: case 12936: case 12940: case 12941: case 12942: case 12970: case 12971: case 12972: case 12976: case 12977: case 12978: case 13006: case 13007: case 13008: case 13012: case 13013: case 13014: case 13042: case 13043: case 13044: case 13048: case 13049: case 13050: case 13078: case 13079: case 13080: case 13084: case 13085: case 13086: case 13114: case 13115: case 13116: case 13120: case 13121: case 13122: return South::Low;
case 12814: case 12815: case 12816: case 12820: case 12821: case 12822: case 12850: case 12851: case 12852: case 12856: case 12857: case 12858: case 12886: case 12887: case 12888: case 12892: case 12893: case 12894: case 12922: case 12923: case 12924: case 12928: case 12929: case 12930: case 12958: case 12959: case 12960: case 12964: case 12965: case 12966: case 12994: case 12995: case 12996: case 13000: case 13001: case 13002: case 13030: case 13031: case 13032: case 13036: case 13037: case 13038: case 13066: case 13067: case 13068: case 13072: case 13073: case 13074: case 13102: case 13103: case 13104: case 13108: case 13109: case 13110: return South::None;
default: return South::Tall;
}
}
- bool Up(short ID)
+ bool Up(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 12820: case 12821: case 12822: case 12832: case 12833: case 12834: case 12844: case 12845: case 12846: case 12856: case 12857: case 12858: case 12868: case 12869: case 12870: case 12880: case 12881: case 12882: case 12892: case 12893: case 12894: case 12904: case 12905: case 12906: case 12916: case 12917: case 12918: case 12928: case 12929: case 12930: case 12940: case 12941: case 12942: case 12952: case 12953: case 12954: case 12964: case 12965: case 12966: case 12976: case 12977: case 12978: case 12988: case 12989: case 12990: case 13000: case 13001: case 13002: case 13012: case 13013: case 13014: case 13024: case 13025: case 13026: case 13036: case 13037: case 13038: case 13048: case 13049: case 13050: case 13060: case 13061: case 13062: case 13072: case 13073: case 13074: case 13084: case 13085: case 13086: case 13096: case 13097: case 13098: case 13108: case 13109: case 13110: case 13120: case 13121: case 13122: case 13132: case 13133: case 13134: return false;
default: return true;
}
}
- enum West West(short ID)
+ enum West West(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 12815: case 12821: case 12827: case 12833: case 12839: case 12845: case 12851: case 12857: case 12863: case 12869: case 12875: case 12881: case 12887: case 12893: case 12899: case 12905: case 12911: case 12917: case 12923: case 12929: case 12935: case 12941: case 12947: case 12953: case 12959: case 12965: case 12971: case 12977: case 12983: case 12989: case 12995: case 13001: case 13007: case 13013: case 13019: case 13025: case 13031: case 13037: case 13043: case 13049: case 13055: case 13061: case 13067: case 13073: case 13079: case 13085: case 13091: case 13097: case 13103: case 13109: case 13115: case 13121: case 13127: case 13133: return West::Low;
case 12814: case 12820: case 12826: case 12832: case 12838: case 12844: case 12850: case 12856: case 12862: case 12868: case 12874: case 12880: case 12886: case 12892: case 12898: case 12904: case 12910: case 12916: case 12922: case 12928: case 12934: case 12940: case 12946: case 12952: case 12958: case 12964: case 12970: case 12976: case 12982: case 12988: case 12994: case 13000: case 13006: case 13012: case 13018: case 13024: case 13030: case 13036: case 13042: case 13048: case 13054: case 13060: case 13066: case 13072: case 13078: case 13084: case 13090: case 13096: case 13102: case 13108: case 13114: case 13120: case 13126: case 13132: return West::None;
@@ -8007,13 +7234,13 @@ namespace Block
}
namespace NetherPortal
{
- short NetherPortal()
+ BlockState NetherPortal()
{
return 4014;
}
- enum Axis Axis(short ID)
+ enum Axis Axis(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 4014: return Axis::X;
default: return Axis::Z;
@@ -8028,13 +7255,13 @@ namespace Block
}
namespace NetherWart
{
- short NetherWart()
+ BlockState NetherWart()
{
return 5128;
}
- unsigned char Age(short ID)
+ unsigned char Age(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 5128: return 0;
case 5129: return 1;
@@ -8054,13 +7281,13 @@ namespace Block
}
namespace NoteBlock
{
- short NoteBlock()
+ BlockState NoteBlock()
{
return 250;
}
- enum Instrument Instrument(short ID)
+ enum Instrument Instrument(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 949: case 950: case 951: case 952: case 953: case 954: case 955: case 956: case 957: case 958: case 959: case 960: case 961: case 962: case 963: case 964: case 965: case 966: case 967: case 968: case 969: case 970: case 971: case 972: case 973: case 974: case 975: case 976: case 977: case 978: case 979: case 980: case 981: case 982: case 983: case 984: case 985: case 986: case 987: case 988: case 989: case 990: case 991: case 992: case 993: case 994: case 995: case 996: case 997: case 998: return Instrument::Banjo;
case 299: case 300: case 301: case 302: case 303: case 304: case 305: case 306: case 307: case 308: case 309: case 310: case 311: case 312: case 313: case 314: case 315: case 316: case 317: case 318: case 319: case 320: case 321: case 322: case 323: case 324: case 325: case 326: case 327: case 328: case 329: case 330: case 331: case 332: case 333: case 334: case 335: case 336: case 337: case 338: case 339: case 340: case 341: case 342: case 343: case 344: case 345: case 346: case 347: case 348: return Instrument::Basedrum;
@@ -8080,9 +7307,9 @@ namespace Block
default: return Instrument::Xylophone;
}
}
- unsigned char Note(short ID)
+ unsigned char Note(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 249: case 250: case 299: case 300: case 349: case 350: case 399: case 400: case 449: case 450: case 499: case 500: case 549: case 550: case 599: case 600: case 649: case 650: case 699: case 700: case 749: case 750: case 799: case 800: case 849: case 850: case 899: case 900: case 949: case 950: case 999: case 1000: return 0;
case 251: case 252: case 301: case 302: case 351: case 352: case 401: case 402: case 451: case 452: case 501: case 502: case 551: case 552: case 601: case 602: case 651: case 652: case 701: case 702: case 751: case 752: case 801: case 802: case 851: case 852: case 901: case 902: case 951: case 952: case 1001: case 1002: return 1;
@@ -8111,9 +7338,9 @@ namespace Block
default: return 9;
}
}
- bool Powered(short ID)
+ bool Powered(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 250: case 252: case 254: case 256: case 258: case 260: case 262: case 264: case 266: case 268: case 270: case 272: case 274: case 276: case 278: case 280: case 282: case 284: case 286: case 288: case 290: case 292: case 294: case 296: case 298: case 300: case 302: case 304: case 306: case 308: case 310: case 312: case 314: case 316: case 318: case 320: case 322: case 324: case 326: case 328: case 330: case 332: case 334: case 336: case 338: case 340: case 342: case 344: case 346: case 348: case 350: case 352: case 354: case 356: case 358: case 360: case 362: case 364: case 366: case 368: case 370: case 372: case 374: case 376: case 378: case 380: case 382: case 384: case 386: case 388: case 390: case 392: case 394: case 396: case 398: case 400: case 402: case 404: case 406: case 408: case 410: case 412: case 414: case 416: case 418: case 420: case 422: case 424: case 426: case 428: case 430: case 432: case 434: case 436: case 438: case 440: case 442: case 444: case 446: case 448: case 450: case 452: case 454: case 456: case 458: case 460: case 462: case 464: case 466: case 468: case 470: case 472: case 474: case 476: case 478: case 480: case 482: case 484: case 486: case 488: case 490: case 492: case 494: case 496: case 498: case 500: case 502: case 504: case 506: case 508: case 510: case 512: case 514: case 516: case 518: case 520: case 522: case 524: case 526: case 528: case 530: case 532: case 534: case 536: case 538: case 540: case 542: case 544: case 546: case 548: case 550: case 552: case 554: case 556: case 558: case 560: case 562: case 564: case 566: case 568: case 570: case 572: case 574: case 576: case 578: case 580: case 582: case 584: case 586: case 588: case 590: case 592: case 594: case 596: case 598: case 600: case 602: case 604: case 606: case 608: case 610: case 612: case 614: case 616: case 618: case 620: case 622: case 624: case 626: case 628: case 630: case 632: case 634: case 636: case 638: case 640: case 642: case 644: case 646: case 648: case 650: case 652: case 654: case 656: case 658: case 660: case 662: case 664: case 666: case 668: case 670: case 672: case 674: case 676: case 678: case 680: case 682: case 684: case 686: case 688: case 690: case 692: case 694: case 696: case 698: case 700: case 702: case 704: case 706: case 708: case 710: case 712: case 714: case 716: case 718: case 720: case 722: case 724: case 726: case 728: case 730: case 732: case 734: case 736: case 738: case 740: case 742: case 744: case 746: case 748: case 750: case 752: case 754: case 756: case 758: case 760: case 762: case 764: case 766: case 768: case 770: case 772: case 774: case 776: case 778: case 780: case 782: case 784: case 786: case 788: case 790: case 792: case 794: case 796: case 798: case 800: case 802: case 804: case 806: case 808: case 810: case 812: case 814: case 816: case 818: case 820: case 822: case 824: case 826: case 828: case 830: case 832: case 834: case 836: case 838: case 840: case 842: case 844: case 846: case 848: case 850: case 852: case 854: case 856: case 858: case 860: case 862: case 864: case 866: case 868: case 870: case 872: case 874: case 876: case 878: case 880: case 882: case 884: case 886: case 888: case 890: case 892: case 894: case 896: case 898: case 900: case 902: case 904: case 906: case 908: case 910: case 912: case 914: case 916: case 918: case 920: case 922: case 924: case 926: case 928: case 930: case 932: case 934: case 936: case 938: case 940: case 942: case 944: case 946: case 948: case 950: case 952: case 954: case 956: case 958: case 960: case 962: case 964: case 966: case 968: case 970: case 972: case 974: case 976: case 978: case 980: case 982: case 984: case 986: case 988: case 990: case 992: case 994: case 996: case 998: case 1000: case 1002: case 1004: case 1006: case 1008: case 1010: case 1012: case 1014: case 1016: case 1018: case 1020: case 1022: case 1024: case 1026: case 1028: case 1030: case 1032: case 1034: case 1036: case 1038: case 1040: case 1042: case 1044: case 1046: case 1048: return false;
default: return true;
@@ -8122,22 +7349,22 @@ namespace Block
}
namespace OakButton
{
- short OakButton()
+ BlockState OakButton()
{
return 6355;
}
- enum Face Face(short ID)
+ enum Face Face(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 6362: case 6363: case 6364: case 6365: case 6366: case 6367: case 6368: case 6369: return Face::Ceiling;
case 6346: case 6347: case 6348: case 6349: case 6350: case 6351: case 6352: case 6353: return Face::Floor;
default: return Face::Wall;
}
}
- eBlockFace Facing(short ID)
+ eBlockFace Facing(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 6350: case 6351: case 6358: case 6359: case 6366: case 6367: return eBlockFace::BLOCK_FACE_XM;
case 6352: case 6353: case 6360: case 6361: case 6368: case 6369: return eBlockFace::BLOCK_FACE_XP;
@@ -8145,9 +7372,9 @@ namespace Block
default: return eBlockFace::BLOCK_FACE_ZP;
}
}
- bool Powered(short ID)
+ bool Powered(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 6347: case 6349: case 6351: case 6353: case 6355: case 6357: case 6359: case 6361: case 6363: case 6365: case 6367: case 6369: return false;
default: return true;
@@ -8156,13 +7383,13 @@ namespace Block
}
namespace OakDoor
{
- short OakDoor()
+ BlockState OakDoor()
{
return 3584;
}
- eBlockFace Facing(short ID)
+ eBlockFace Facing(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 3605: case 3606: case 3607: case 3608: case 3609: case 3610: case 3611: case 3612: case 3613: case 3614: case 3615: case 3616: case 3617: case 3618: case 3619: case 3620: return eBlockFace::BLOCK_FACE_XM;
case 3621: case 3622: case 3623: case 3624: case 3625: case 3626: case 3627: case 3628: case 3629: case 3630: case 3631: case 3632: case 3633: case 3634: case 3635: case 3636: return eBlockFace::BLOCK_FACE_XP;
@@ -8170,33 +7397,33 @@ namespace Block
default: return eBlockFace::BLOCK_FACE_ZP;
}
}
- enum Half Half(short ID)
+ enum Half Half(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 3581: case 3582: case 3583: case 3584: case 3585: case 3586: case 3587: case 3588: case 3597: case 3598: case 3599: case 3600: case 3601: case 3602: case 3603: case 3604: case 3613: case 3614: case 3615: case 3616: case 3617: case 3618: case 3619: case 3620: case 3629: case 3630: case 3631: case 3632: case 3633: case 3634: case 3635: case 3636: return Half::Lower;
default: return Half::Upper;
}
}
- enum Hinge Hinge(short ID)
+ enum Hinge Hinge(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 3573: case 3574: case 3575: case 3576: case 3581: case 3582: case 3583: case 3584: case 3589: case 3590: case 3591: case 3592: case 3597: case 3598: case 3599: case 3600: case 3605: case 3606: case 3607: case 3608: case 3613: case 3614: case 3615: case 3616: case 3621: case 3622: case 3623: case 3624: case 3629: case 3630: case 3631: case 3632: return Hinge::Left;
default: return Hinge::Right;
}
}
- bool Open(short ID)
+ bool Open(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 3575: case 3576: case 3579: case 3580: case 3583: case 3584: case 3587: case 3588: case 3591: case 3592: case 3595: case 3596: case 3599: case 3600: case 3603: case 3604: case 3607: case 3608: case 3611: case 3612: case 3615: case 3616: case 3619: case 3620: case 3623: case 3624: case 3627: case 3628: case 3631: case 3632: case 3635: case 3636: return false;
default: return true;
}
}
- bool Powered(short ID)
+ bool Powered(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 3574: case 3576: case 3578: case 3580: case 3582: case 3584: case 3586: case 3588: case 3590: case 3592: case 3594: case 3596: case 3598: case 3600: case 3602: case 3604: case 3606: case 3608: case 3610: case 3612: case 3614: case 3616: case 3618: case 3620: case 3622: case 3624: case 3626: case 3628: case 3630: case 3632: case 3634: case 3636: return false;
default: return true;
@@ -8205,37 +7432,37 @@ namespace Block
}
namespace OakFence
{
- short OakFence()
+ BlockState OakFence()
{
return 3997;
}
- bool East(short ID)
+ bool East(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 3984: case 3985: case 3988: case 3989: case 3992: case 3993: case 3996: case 3997: return false;
default: return true;
}
}
- bool North(short ID)
+ bool North(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 3976: case 3977: case 3980: case 3981: case 3992: case 3993: case 3996: case 3997: return false;
default: return true;
}
}
- bool South(short ID)
+ bool South(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 3972: case 3973: case 3980: case 3981: case 3988: case 3989: case 3996: case 3997: return false;
default: return true;
}
}
- bool West(short ID)
+ bool West(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 3969: case 3973: case 3977: case 3981: case 3985: case 3989: case 3993: case 3997: return false;
default: return true;
@@ -8244,13 +7471,13 @@ namespace Block
}
namespace OakFenceGate
{
- short OakFenceGate()
+ BlockState OakFenceGate()
{
return 4827;
}
- eBlockFace Facing(short ID)
+ eBlockFace Facing(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 4836: case 4837: case 4838: case 4839: case 4840: case 4841: case 4842: case 4843: return eBlockFace::BLOCK_FACE_XM;
case 4844: case 4845: case 4846: case 4847: case 4848: case 4849: case 4850: case 4851: return eBlockFace::BLOCK_FACE_XP;
@@ -8258,25 +7485,25 @@ namespace Block
default: return eBlockFace::BLOCK_FACE_ZP;
}
}
- bool InWall(short ID)
+ bool InWall(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 4824: case 4825: case 4826: case 4827: case 4832: case 4833: case 4834: case 4835: case 4840: case 4841: case 4842: case 4843: case 4848: case 4849: case 4850: case 4851: return false;
default: return true;
}
}
- bool Open(short ID)
+ bool Open(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 4822: case 4823: case 4826: case 4827: case 4830: case 4831: case 4834: case 4835: case 4838: case 4839: case 4842: case 4843: case 4846: case 4847: case 4850: case 4851: return false;
default: return true;
}
}
- bool Powered(short ID)
+ bool Powered(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 4821: case 4823: case 4825: case 4827: case 4829: case 4831: case 4833: case 4835: case 4837: case 4839: case 4841: case 4843: case 4845: case 4847: case 4849: case 4851: return false;
default: return true;
@@ -8285,13 +7512,13 @@ namespace Block
}
namespace OakLeaves
{
- short OakLeaves()
+ BlockState OakLeaves()
{
return 158;
}
- unsigned char Distance(short ID)
+ unsigned char Distance(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 145: case 146: return 1;
case 147: case 148: return 2;
@@ -8302,9 +7529,9 @@ namespace Block
default: return 7;
}
}
- bool Persistent(short ID)
+ bool Persistent(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 146: case 148: case 150: case 152: case 154: case 156: case 158: return false;
default: return true;
@@ -8313,13 +7540,13 @@ namespace Block
}
namespace OakLog
{
- short OakLog()
+ BlockState OakLog()
{
return 74;
}
- enum Axis Axis(short ID)
+ enum Axis Axis(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 73: return Axis::X;
case 74: return Axis::Y;
@@ -8332,13 +7559,13 @@ namespace Block
}
namespace OakPressurePlate
{
- short OakPressurePlate()
+ BlockState OakPressurePlate()
{
return 3874;
}
- bool Powered(short ID)
+ bool Powered(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 3874: return false;
default: return true;
@@ -8347,13 +7574,13 @@ namespace Block
}
namespace OakSapling
{
- short OakSapling()
+ BlockState OakSapling()
{
return 21;
}
- unsigned char Stage(short ID)
+ unsigned char Stage(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 21: return 0;
default: return 1;
@@ -8362,13 +7589,13 @@ namespace Block
}
namespace OakSign
{
- short OakSign()
+ BlockState OakSign()
{
return 3382;
}
- unsigned char Rotation(short ID)
+ unsigned char Rotation(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 3382: return 0;
case 3384: return 1;
@@ -8391,13 +7618,13 @@ namespace Block
}
namespace OakSlab
{
- short OakSlab()
+ BlockState OakSlab()
{
return 8303;
}
- enum Type Type(short ID)
+ enum Type Type(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 8303: return Type::Bottom;
case 8305: return Type::Double;
@@ -8407,13 +7634,13 @@ namespace Block
}
namespace OakStairs
{
- short OakStairs()
+ BlockState OakStairs()
{
return 1965;
}
- eBlockFace Facing(short ID)
+ eBlockFace Facing(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 1995: case 1997: case 1999: case 2001: case 2003: case 2005: case 2007: case 2009: case 2011: case 2013: return eBlockFace::BLOCK_FACE_XM;
case 2015: case 2017: case 2019: case 2021: case 2023: case 2025: case 2027: case 2029: case 2031: case 2033: return eBlockFace::BLOCK_FACE_XP;
@@ -8421,17 +7648,17 @@ namespace Block
default: return eBlockFace::BLOCK_FACE_ZP;
}
}
- enum Half Half(short ID)
+ enum Half Half(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 1965: case 1967: case 1969: case 1971: case 1973: case 1985: case 1987: case 1989: case 1991: case 1993: case 2005: case 2007: case 2009: case 2011: case 2013: case 2025: case 2027: case 2029: case 2031: case 2033: return Half::Bottom;
default: return Half::Top;
}
}
- enum Shape Shape(short ID)
+ enum Shape Shape(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 1957: case 1967: case 1977: case 1987: case 1997: case 2007: case 2017: case 2027: return Shape::InnerLeft;
case 1959: case 1969: case 1979: case 1989: case 1999: case 2009: case 2019: case 2029: return Shape::InnerRight;
@@ -8443,13 +7670,13 @@ namespace Block
}
namespace OakTrapdoor
{
- short OakTrapdoor()
+ BlockState OakTrapdoor()
{
return 4126;
}
- eBlockFace Facing(short ID)
+ eBlockFace Facing(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 4144: case 4146: case 4148: case 4150: case 4152: case 4154: case 4156: case 4158: return eBlockFace::BLOCK_FACE_XM;
case 4160: case 4162: case 4164: case 4166: case 4168: case 4170: case 4172: case 4174: return eBlockFace::BLOCK_FACE_XP;
@@ -8457,25 +7684,25 @@ namespace Block
default: return eBlockFace::BLOCK_FACE_ZP;
}
}
- enum Half Half(short ID)
+ enum Half Half(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 4120: case 4122: case 4124: case 4126: case 4136: case 4138: case 4140: case 4142: case 4152: case 4154: case 4156: case 4158: case 4168: case 4170: case 4172: case 4174: return Half::Bottom;
default: return Half::Top;
}
}
- bool Open(short ID)
+ bool Open(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 4116: case 4118: case 4124: case 4126: case 4132: case 4134: case 4140: case 4142: case 4148: case 4150: case 4156: case 4158: case 4164: case 4166: case 4172: case 4174: return false;
default: return true;
}
}
- bool Powered(short ID)
+ bool Powered(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 4114: case 4118: case 4122: case 4126: case 4130: case 4134: case 4138: case 4142: case 4146: case 4150: case 4154: case 4158: case 4162: case 4166: case 4170: case 4174: return false;
default: return true;
@@ -8484,13 +7711,13 @@ namespace Block
}
namespace OakWallSign
{
- short OakWallSign()
+ BlockState OakWallSign()
{
return 3736;
}
- eBlockFace Facing(short ID)
+ eBlockFace Facing(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 3740: return eBlockFace::BLOCK_FACE_XM;
case 3742: return eBlockFace::BLOCK_FACE_XP;
@@ -8501,13 +7728,13 @@ namespace Block
}
namespace OakWood
{
- short OakWood()
+ BlockState OakWood()
{
return 110;
}
- enum Axis Axis(short ID)
+ enum Axis Axis(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 109: return Axis::X;
case 110: return Axis::Y;
@@ -8517,13 +7744,13 @@ namespace Block
}
namespace Observer
{
- short Observer()
+ BlockState Observer()
{
return 9265;
}
- eBlockFace Facing(short ID)
+ eBlockFace Facing(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 9266: case 9267: return eBlockFace::BLOCK_FACE_XM;
case 9262: case 9263: return eBlockFace::BLOCK_FACE_XP;
@@ -8533,9 +7760,9 @@ namespace Block
default: return eBlockFace::BLOCK_FACE_ZP;
}
}
- bool Powered(short ID)
+ bool Powered(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 9261: case 9263: case 9265: case 9267: case 9269: case 9271: return false;
default: return true;
@@ -8547,13 +7774,13 @@ namespace Block
}
namespace OrangeBanner
{
- short OrangeBanner()
+ BlockState OrangeBanner()
{
return 7913;
}
- unsigned char Rotation(short ID)
+ unsigned char Rotation(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 7913: return 0;
case 7914: return 1;
@@ -8576,13 +7803,13 @@ namespace Block
}
namespace OrangeBed
{
- short OrangeBed()
+ BlockState OrangeBed()
{
return 1068;
}
- eBlockFace Facing(short ID)
+ eBlockFace Facing(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 1073: case 1074: case 1075: case 1076: return eBlockFace::BLOCK_FACE_XM;
case 1077: case 1078: case 1079: case 1080: return eBlockFace::BLOCK_FACE_XP;
@@ -8590,17 +7817,17 @@ namespace Block
default: return eBlockFace::BLOCK_FACE_ZP;
}
}
- bool Occupied(short ID)
+ bool Occupied(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 1067: case 1068: case 1071: case 1072: case 1075: case 1076: case 1079: case 1080: return false;
default: return true;
}
}
- enum Part Part(short ID)
+ enum Part Part(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 1066: case 1068: case 1070: case 1072: case 1074: case 1076: case 1078: case 1080: return Part::Foot;
default: return Part::Head;
@@ -8618,13 +7845,13 @@ namespace Block
}
namespace OrangeGlazedTerracotta
{
- short OrangeGlazedTerracotta()
+ BlockState OrangeGlazedTerracotta()
{
return 9378;
}
- eBlockFace Facing(short ID)
+ eBlockFace Facing(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 9380: return eBlockFace::BLOCK_FACE_XM;
case 9381: return eBlockFace::BLOCK_FACE_XP;
@@ -8635,13 +7862,13 @@ namespace Block
}
namespace OrangeShulkerBox
{
- short OrangeShulkerBox()
+ BlockState OrangeShulkerBox()
{
return 9288;
}
- eBlockFace Facing(short ID)
+ eBlockFace Facing(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 9287: return eBlockFace::BLOCK_FACE_XM;
case 9285: return eBlockFace::BLOCK_FACE_XP;
@@ -8657,37 +7884,37 @@ namespace Block
}
namespace OrangeStainedGlassPane
{
- short OrangeStainedGlassPane()
+ BlockState OrangeStainedGlassPane()
{
return 6926;
}
- bool East(short ID)
+ bool East(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 6913: case 6914: case 6917: case 6918: case 6921: case 6922: case 6925: case 6926: return false;
default: return true;
}
}
- bool North(short ID)
+ bool North(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 6905: case 6906: case 6909: case 6910: case 6921: case 6922: case 6925: case 6926: return false;
default: return true;
}
}
- bool South(short ID)
+ bool South(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 6901: case 6902: case 6909: case 6910: case 6917: case 6918: case 6925: case 6926: return false;
default: return true;
}
}
- bool West(short ID)
+ bool West(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 6898: case 6902: case 6906: case 6910: case 6914: case 6918: case 6922: case 6926: return false;
default: return true;
@@ -8702,13 +7929,13 @@ namespace Block
}
namespace OrangeWallBanner
{
- short OrangeWallBanner()
+ BlockState OrangeWallBanner()
{
return 8157;
}
- eBlockFace Facing(short ID)
+ eBlockFace Facing(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 8159: return eBlockFace::BLOCK_FACE_XM;
case 8160: return eBlockFace::BLOCK_FACE_XP;
@@ -8728,13 +7955,13 @@ namespace Block
}
namespace Peony
{
- short Peony()
+ BlockState Peony()
{
return 7892;
}
- enum Half Half(short ID)
+ enum Half Half(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 7892: return Half::Lower;
default: return Half::Upper;
@@ -8743,13 +7970,13 @@ namespace Block
}
namespace PetrifiedOakSlab
{
- short PetrifiedOakSlab()
+ BlockState PetrifiedOakSlab()
{
return 8363;
}
- enum Type Type(short ID)
+ enum Type Type(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 8363: return Type::Bottom;
case 8365: return Type::Double;
@@ -8759,13 +7986,13 @@ namespace Block
}
namespace PinkBanner
{
- short PinkBanner()
+ BlockState PinkBanner()
{
return 7993;
}
- unsigned char Rotation(short ID)
+ unsigned char Rotation(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 7993: return 0;
case 7994: return 1;
@@ -8788,13 +8015,13 @@ namespace Block
}
namespace PinkBed
{
- short PinkBed()
+ BlockState PinkBed()
{
return 1148;
}
- eBlockFace Facing(short ID)
+ eBlockFace Facing(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 1153: case 1154: case 1155: case 1156: return eBlockFace::BLOCK_FACE_XM;
case 1157: case 1158: case 1159: case 1160: return eBlockFace::BLOCK_FACE_XP;
@@ -8802,17 +8029,17 @@ namespace Block
default: return eBlockFace::BLOCK_FACE_ZP;
}
}
- bool Occupied(short ID)
+ bool Occupied(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 1147: case 1148: case 1151: case 1152: case 1155: case 1156: case 1159: case 1160: return false;
default: return true;
}
}
- enum Part Part(short ID)
+ enum Part Part(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 1146: case 1148: case 1150: case 1152: case 1154: case 1156: case 1158: case 1160: return Part::Foot;
default: return Part::Head;
@@ -8830,13 +8057,13 @@ namespace Block
}
namespace PinkGlazedTerracotta
{
- short PinkGlazedTerracotta()
+ BlockState PinkGlazedTerracotta()
{
return 9398;
}
- eBlockFace Facing(short ID)
+ eBlockFace Facing(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 9400: return eBlockFace::BLOCK_FACE_XM;
case 9401: return eBlockFace::BLOCK_FACE_XP;
@@ -8847,13 +8074,13 @@ namespace Block
}
namespace PinkShulkerBox
{
- short PinkShulkerBox()
+ BlockState PinkShulkerBox()
{
return 9318;
}
- eBlockFace Facing(short ID)
+ eBlockFace Facing(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 9317: return eBlockFace::BLOCK_FACE_XM;
case 9315: return eBlockFace::BLOCK_FACE_XP;
@@ -8869,37 +8096,37 @@ namespace Block
}
namespace PinkStainedGlassPane
{
- short PinkStainedGlassPane()
+ BlockState PinkStainedGlassPane()
{
return 7086;
}
- bool East(short ID)
+ bool East(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 7073: case 7074: case 7077: case 7078: case 7081: case 7082: case 7085: case 7086: return false;
default: return true;
}
}
- bool North(short ID)
+ bool North(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 7065: case 7066: case 7069: case 7070: case 7081: case 7082: case 7085: case 7086: return false;
default: return true;
}
}
- bool South(short ID)
+ bool South(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 7061: case 7062: case 7069: case 7070: case 7077: case 7078: case 7085: case 7086: return false;
default: return true;
}
}
- bool West(short ID)
+ bool West(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 7058: case 7062: case 7066: case 7070: case 7074: case 7078: case 7082: case 7086: return false;
default: return true;
@@ -8914,13 +8141,13 @@ namespace Block
}
namespace PinkWallBanner
{
- short PinkWallBanner()
+ BlockState PinkWallBanner()
{
return 8177;
}
- eBlockFace Facing(short ID)
+ eBlockFace Facing(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 8179: return eBlockFace::BLOCK_FACE_XM;
case 8180: return eBlockFace::BLOCK_FACE_XP;
@@ -8934,21 +8161,21 @@ namespace Block
}
namespace Piston
{
- short Piston()
+ BlockState Piston()
{
return 1354;
}
- bool Extended(short ID)
+ bool Extended(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 1354: case 1355: case 1356: case 1357: case 1358: case 1359: return false;
default: return true;
}
}
- eBlockFace Facing(short ID)
+ eBlockFace Facing(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 1351: case 1357: return eBlockFace::BLOCK_FACE_XM;
case 1349: case 1355: return eBlockFace::BLOCK_FACE_XP;
@@ -8961,13 +8188,13 @@ namespace Block
}
namespace PistonHead
{
- short PistonHead()
+ BlockState PistonHead()
{
return 1362;
}
- eBlockFace Facing(short ID)
+ eBlockFace Facing(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 1372: case 1373: case 1374: case 1375: return eBlockFace::BLOCK_FACE_XM;
case 1364: case 1365: case 1366: case 1367: return eBlockFace::BLOCK_FACE_XP;
@@ -8977,17 +8204,17 @@ namespace Block
default: return eBlockFace::BLOCK_FACE_ZP;
}
}
- bool Short(short ID)
+ bool Short(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 1362: case 1363: case 1366: case 1367: case 1370: case 1371: case 1374: case 1375: case 1378: case 1379: case 1382: case 1383: return false;
default: return true;
}
}
- enum Type Type(short ID)
+ enum Type Type(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 1360: case 1362: case 1364: case 1366: case 1368: case 1370: case 1372: case 1374: case 1376: case 1378: case 1380: case 1382: return Type::Normal;
default: return Type::Sticky;
@@ -8996,13 +8223,13 @@ namespace Block
}
namespace PlayerHead
{
- short PlayerHead()
+ BlockState PlayerHead()
{
return 6550;
}
- unsigned char Rotation(short ID)
+ unsigned char Rotation(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 6550: return 0;
case 6551: return 1;
@@ -9025,13 +8252,13 @@ namespace Block
}
namespace PlayerWallHead
{
- short PlayerWallHead()
+ BlockState PlayerWallHead()
{
return 6566;
}
- eBlockFace Facing(short ID)
+ eBlockFace Facing(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 6568: return eBlockFace::BLOCK_FACE_XM;
case 6569: return eBlockFace::BLOCK_FACE_XP;
@@ -9042,13 +8269,13 @@ namespace Block
}
namespace Podzol
{
- short Podzol()
+ BlockState Podzol()
{
return 13;
}
- bool Snowy(short ID)
+ bool Snowy(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 13: return false;
default: return true;
@@ -9060,13 +8287,13 @@ namespace Block
}
namespace PolishedAndesiteSlab
{
- short PolishedAndesiteSlab()
+ BlockState PolishedAndesiteSlab()
{
return 10858;
}
- enum Type Type(short ID)
+ enum Type Type(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 10858: return Type::Bottom;
case 10860: return Type::Double;
@@ -9076,13 +8303,13 @@ namespace Block
}
namespace PolishedAndesiteStairs
{
- short PolishedAndesiteStairs()
+ BlockState PolishedAndesiteStairs()
{
return 10640;
}
- eBlockFace Facing(short ID)
+ eBlockFace Facing(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 10670: case 10672: case 10674: case 10676: case 10678: case 10680: case 10682: case 10684: case 10686: case 10688: return eBlockFace::BLOCK_FACE_XM;
case 10690: case 10692: case 10694: case 10696: case 10698: case 10700: case 10702: case 10704: case 10706: case 10708: return eBlockFace::BLOCK_FACE_XP;
@@ -9090,17 +8317,17 @@ namespace Block
default: return eBlockFace::BLOCK_FACE_ZP;
}
}
- enum Half Half(short ID)
+ enum Half Half(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 10640: case 10642: case 10644: case 10646: case 10648: case 10660: case 10662: case 10664: case 10666: case 10668: case 10680: case 10682: case 10684: case 10686: case 10688: case 10700: case 10702: case 10704: case 10706: case 10708: return Half::Bottom;
default: return Half::Top;
}
}
- enum Shape Shape(short ID)
+ enum Shape Shape(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 10632: case 10642: case 10652: case 10662: case 10672: case 10682: case 10692: case 10702: return Shape::InnerLeft;
case 10634: case 10644: case 10654: case 10664: case 10674: case 10684: case 10694: case 10704: return Shape::InnerRight;
@@ -9112,13 +8339,13 @@ namespace Block
}
namespace PolishedBasalt
{
- short PolishedBasalt()
+ BlockState PolishedBasalt()
{
return 4006;
}
- enum Axis Axis(short ID)
+ enum Axis Axis(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 4005: return Axis::X;
case 4006: return Axis::Y;
@@ -9131,13 +8358,13 @@ namespace Block
}
namespace PolishedBlackstoneBrickSlab
{
- short PolishedBlackstoneBrickSlab()
+ BlockState PolishedBlackstoneBrickSlab()
{
return 16257;
}
- enum Type Type(short ID)
+ enum Type Type(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 16257: return Type::Bottom;
case 16259: return Type::Double;
@@ -9147,13 +8374,13 @@ namespace Block
}
namespace PolishedBlackstoneBrickStairs
{
- short PolishedBlackstoneBrickStairs()
+ BlockState PolishedBlackstoneBrickStairs()
{
return 16271;
}
- eBlockFace Facing(short ID)
+ eBlockFace Facing(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 16301: case 16303: case 16305: case 16307: case 16309: case 16311: case 16313: case 16315: case 16317: case 16319: return eBlockFace::BLOCK_FACE_XM;
case 16321: case 16323: case 16325: case 16327: case 16329: case 16331: case 16333: case 16335: case 16337: case 16339: return eBlockFace::BLOCK_FACE_XP;
@@ -9161,17 +8388,17 @@ namespace Block
default: return eBlockFace::BLOCK_FACE_ZP;
}
}
- enum Half Half(short ID)
+ enum Half Half(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 16271: case 16273: case 16275: case 16277: case 16279: case 16291: case 16293: case 16295: case 16297: case 16299: case 16311: case 16313: case 16315: case 16317: case 16319: case 16331: case 16333: case 16335: case 16337: case 16339: return Half::Bottom;
default: return Half::Top;
}
}
- enum Shape Shape(short ID)
+ enum Shape Shape(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 16263: case 16273: case 16283: case 16293: case 16303: case 16313: case 16323: case 16333: return Shape::InnerLeft;
case 16265: case 16275: case 16285: case 16295: case 16305: case 16315: case 16325: case 16335: return Shape::InnerRight;
@@ -9183,48 +8410,48 @@ namespace Block
}
namespace PolishedBlackstoneBrickWall
{
- short PolishedBlackstoneBrickWall()
+ BlockState PolishedBlackstoneBrickWall()
{
return 16343;
}
- enum East East(short ID)
+ enum East East(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 16451: case 16452: case 16453: case 16457: case 16458: case 16459: case 16463: case 16464: case 16465: case 16469: case 16470: case 16471: case 16475: case 16476: case 16477: case 16481: case 16482: case 16483: case 16487: case 16488: case 16489: case 16493: case 16494: case 16495: case 16499: case 16500: case 16501: case 16505: case 16506: case 16507: case 16511: case 16512: case 16513: case 16517: case 16518: case 16519: case 16523: case 16524: case 16525: case 16529: case 16530: case 16531: case 16535: case 16536: case 16537: case 16541: case 16542: case 16543: case 16547: case 16548: case 16549: case 16553: case 16554: case 16555: return East::Low;
case 16343: case 16344: case 16345: case 16349: case 16350: case 16351: case 16355: case 16356: case 16357: case 16361: case 16362: case 16363: case 16367: case 16368: case 16369: case 16373: case 16374: case 16375: case 16379: case 16380: case 16381: case 16385: case 16386: case 16387: case 16391: case 16392: case 16393: case 16397: case 16398: case 16399: case 16403: case 16404: case 16405: case 16409: case 16410: case 16411: case 16415: case 16416: case 16417: case 16421: case 16422: case 16423: case 16427: case 16428: case 16429: case 16433: case 16434: case 16435: case 16439: case 16440: case 16441: case 16445: case 16446: case 16447: return East::None;
default: return East::Tall;
}
}
- enum North North(short ID)
+ enum North North(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 16379: case 16380: case 16381: case 16385: case 16386: case 16387: case 16391: case 16392: case 16393: case 16397: case 16398: case 16399: case 16403: case 16404: case 16405: case 16409: case 16410: case 16411: case 16487: case 16488: case 16489: case 16493: case 16494: case 16495: case 16499: case 16500: case 16501: case 16505: case 16506: case 16507: case 16511: case 16512: case 16513: case 16517: case 16518: case 16519: case 16595: case 16596: case 16597: case 16601: case 16602: case 16603: case 16607: case 16608: case 16609: case 16613: case 16614: case 16615: case 16619: case 16620: case 16621: case 16625: case 16626: case 16627: return North::Low;
case 16343: case 16344: case 16345: case 16349: case 16350: case 16351: case 16355: case 16356: case 16357: case 16361: case 16362: case 16363: case 16367: case 16368: case 16369: case 16373: case 16374: case 16375: case 16451: case 16452: case 16453: case 16457: case 16458: case 16459: case 16463: case 16464: case 16465: case 16469: case 16470: case 16471: case 16475: case 16476: case 16477: case 16481: case 16482: case 16483: case 16559: case 16560: case 16561: case 16565: case 16566: case 16567: case 16571: case 16572: case 16573: case 16577: case 16578: case 16579: case 16583: case 16584: case 16585: case 16589: case 16590: case 16591: return North::None;
default: return North::Tall;
}
}
- enum South South(short ID)
+ enum South South(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 16355: case 16356: case 16357: case 16361: case 16362: case 16363: case 16391: case 16392: case 16393: case 16397: case 16398: case 16399: case 16427: case 16428: case 16429: case 16433: case 16434: case 16435: case 16463: case 16464: case 16465: case 16469: case 16470: case 16471: case 16499: case 16500: case 16501: case 16505: case 16506: case 16507: case 16535: case 16536: case 16537: case 16541: case 16542: case 16543: case 16571: case 16572: case 16573: case 16577: case 16578: case 16579: case 16607: case 16608: case 16609: case 16613: case 16614: case 16615: case 16643: case 16644: case 16645: case 16649: case 16650: case 16651: return South::Low;
case 16343: case 16344: case 16345: case 16349: case 16350: case 16351: case 16379: case 16380: case 16381: case 16385: case 16386: case 16387: case 16415: case 16416: case 16417: case 16421: case 16422: case 16423: case 16451: case 16452: case 16453: case 16457: case 16458: case 16459: case 16487: case 16488: case 16489: case 16493: case 16494: case 16495: case 16523: case 16524: case 16525: case 16529: case 16530: case 16531: case 16559: case 16560: case 16561: case 16565: case 16566: case 16567: case 16595: case 16596: case 16597: case 16601: case 16602: case 16603: case 16631: case 16632: case 16633: case 16637: case 16638: case 16639: return South::None;
default: return South::Tall;
}
}
- bool Up(short ID)
+ bool Up(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 16349: case 16350: case 16351: case 16361: case 16362: case 16363: case 16373: case 16374: case 16375: case 16385: case 16386: case 16387: case 16397: case 16398: case 16399: case 16409: case 16410: case 16411: case 16421: case 16422: case 16423: case 16433: case 16434: case 16435: case 16445: case 16446: case 16447: case 16457: case 16458: case 16459: case 16469: case 16470: case 16471: case 16481: case 16482: case 16483: case 16493: case 16494: case 16495: case 16505: case 16506: case 16507: case 16517: case 16518: case 16519: case 16529: case 16530: case 16531: case 16541: case 16542: case 16543: case 16553: case 16554: case 16555: case 16565: case 16566: case 16567: case 16577: case 16578: case 16579: case 16589: case 16590: case 16591: case 16601: case 16602: case 16603: case 16613: case 16614: case 16615: case 16625: case 16626: case 16627: case 16637: case 16638: case 16639: case 16649: case 16650: case 16651: case 16661: case 16662: case 16663: return false;
default: return true;
}
}
- enum West West(short ID)
+ enum West West(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 16344: case 16350: case 16356: case 16362: case 16368: case 16374: case 16380: case 16386: case 16392: case 16398: case 16404: case 16410: case 16416: case 16422: case 16428: case 16434: case 16440: case 16446: case 16452: case 16458: case 16464: case 16470: case 16476: case 16482: case 16488: case 16494: case 16500: case 16506: case 16512: case 16518: case 16524: case 16530: case 16536: case 16542: case 16548: case 16554: case 16560: case 16566: case 16572: case 16578: case 16584: case 16590: case 16596: case 16602: case 16608: case 16614: case 16620: case 16626: case 16632: case 16638: case 16644: case 16650: case 16656: case 16662: return West::Low;
case 16343: case 16349: case 16355: case 16361: case 16367: case 16373: case 16379: case 16385: case 16391: case 16397: case 16403: case 16409: case 16415: case 16421: case 16427: case 16433: case 16439: case 16445: case 16451: case 16457: case 16463: case 16469: case 16475: case 16481: case 16487: case 16493: case 16499: case 16505: case 16511: case 16517: case 16523: case 16529: case 16535: case 16541: case 16547: case 16553: case 16559: case 16565: case 16571: case 16577: case 16583: case 16589: case 16595: case 16601: case 16607: case 16613: case 16619: case 16625: case 16631: case 16637: case 16643: case 16649: case 16655: case 16661: return West::None;
@@ -9237,22 +8464,22 @@ namespace Block
}
namespace PolishedBlackstoneButton
{
- short PolishedBlackstoneButton()
+ BlockState PolishedBlackstoneButton()
{
return 16762;
}
- enum Face Face(short ID)
+ enum Face Face(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 16769: case 16770: case 16771: case 16772: case 16773: case 16774: case 16775: case 16776: return Face::Ceiling;
case 16753: case 16754: case 16755: case 16756: case 16757: case 16758: case 16759: case 16760: return Face::Floor;
default: return Face::Wall;
}
}
- eBlockFace Facing(short ID)
+ eBlockFace Facing(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 16757: case 16758: case 16765: case 16766: case 16773: case 16774: return eBlockFace::BLOCK_FACE_XM;
case 16759: case 16760: case 16767: case 16768: case 16775: case 16776: return eBlockFace::BLOCK_FACE_XP;
@@ -9260,9 +8487,9 @@ namespace Block
default: return eBlockFace::BLOCK_FACE_ZP;
}
}
- bool Powered(short ID)
+ bool Powered(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 16754: case 16756: case 16758: case 16760: case 16762: case 16764: case 16766: case 16768: case 16770: case 16772: case 16774: case 16776: return false;
default: return true;
@@ -9271,13 +8498,13 @@ namespace Block
}
namespace PolishedBlackstonePressurePlate
{
- short PolishedBlackstonePressurePlate()
+ BlockState PolishedBlackstonePressurePlate()
{
return 16752;
}
- bool Powered(short ID)
+ bool Powered(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 16752: return false;
default: return true;
@@ -9286,13 +8513,13 @@ namespace Block
}
namespace PolishedBlackstoneSlab
{
- short PolishedBlackstoneSlab()
+ BlockState PolishedBlackstoneSlab()
{
return 16748;
}
- enum Type Type(short ID)
+ enum Type Type(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 16748: return Type::Bottom;
case 16750: return Type::Double;
@@ -9302,13 +8529,13 @@ namespace Block
}
namespace PolishedBlackstoneStairs
{
- short PolishedBlackstoneStairs()
+ BlockState PolishedBlackstoneStairs()
{
return 16676;
}
- eBlockFace Facing(short ID)
+ eBlockFace Facing(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 16706: case 16708: case 16710: case 16712: case 16714: case 16716: case 16718: case 16720: case 16722: case 16724: return eBlockFace::BLOCK_FACE_XM;
case 16726: case 16728: case 16730: case 16732: case 16734: case 16736: case 16738: case 16740: case 16742: case 16744: return eBlockFace::BLOCK_FACE_XP;
@@ -9316,17 +8543,17 @@ namespace Block
default: return eBlockFace::BLOCK_FACE_ZP;
}
}
- enum Half Half(short ID)
+ enum Half Half(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 16676: case 16678: case 16680: case 16682: case 16684: case 16696: case 16698: case 16700: case 16702: case 16704: case 16716: case 16718: case 16720: case 16722: case 16724: case 16736: case 16738: case 16740: case 16742: case 16744: return Half::Bottom;
default: return Half::Top;
}
}
- enum Shape Shape(short ID)
+ enum Shape Shape(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 16668: case 16678: case 16688: case 16698: case 16708: case 16718: case 16728: case 16738: return Shape::InnerLeft;
case 16670: case 16680: case 16690: case 16700: case 16710: case 16720: case 16730: case 16740: return Shape::InnerRight;
@@ -9338,48 +8565,48 @@ namespace Block
}
namespace PolishedBlackstoneWall
{
- short PolishedBlackstoneWall()
+ BlockState PolishedBlackstoneWall()
{
return 16780;
}
- enum East East(short ID)
+ enum East East(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 16888: case 16889: case 16890: case 16894: case 16895: case 16896: case 16900: case 16901: case 16902: case 16906: case 16907: case 16908: case 16912: case 16913: case 16914: case 16918: case 16919: case 16920: case 16924: case 16925: case 16926: case 16930: case 16931: case 16932: case 16936: case 16937: case 16938: case 16942: case 16943: case 16944: case 16948: case 16949: case 16950: case 16954: case 16955: case 16956: case 16960: case 16961: case 16962: case 16966: case 16967: case 16968: case 16972: case 16973: case 16974: case 16978: case 16979: case 16980: case 16984: case 16985: case 16986: case 16990: case 16991: case 16992: return East::Low;
case 16780: case 16781: case 16782: case 16786: case 16787: case 16788: case 16792: case 16793: case 16794: case 16798: case 16799: case 16800: case 16804: case 16805: case 16806: case 16810: case 16811: case 16812: case 16816: case 16817: case 16818: case 16822: case 16823: case 16824: case 16828: case 16829: case 16830: case 16834: case 16835: case 16836: case 16840: case 16841: case 16842: case 16846: case 16847: case 16848: case 16852: case 16853: case 16854: case 16858: case 16859: case 16860: case 16864: case 16865: case 16866: case 16870: case 16871: case 16872: case 16876: case 16877: case 16878: case 16882: case 16883: case 16884: return East::None;
default: return East::Tall;
}
}
- enum North North(short ID)
+ enum North North(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 16816: case 16817: case 16818: case 16822: case 16823: case 16824: case 16828: case 16829: case 16830: case 16834: case 16835: case 16836: case 16840: case 16841: case 16842: case 16846: case 16847: case 16848: case 16924: case 16925: case 16926: case 16930: case 16931: case 16932: case 16936: case 16937: case 16938: case 16942: case 16943: case 16944: case 16948: case 16949: case 16950: case 16954: case 16955: case 16956: case 17032: case 17033: case 17034: case 17038: case 17039: case 17040: case 17044: case 17045: case 17046: case 17050: case 17051: case 17052: case 17056: case 17057: case 17058: case 17062: case 17063: case 17064: return North::Low;
case 16780: case 16781: case 16782: case 16786: case 16787: case 16788: case 16792: case 16793: case 16794: case 16798: case 16799: case 16800: case 16804: case 16805: case 16806: case 16810: case 16811: case 16812: case 16888: case 16889: case 16890: case 16894: case 16895: case 16896: case 16900: case 16901: case 16902: case 16906: case 16907: case 16908: case 16912: case 16913: case 16914: case 16918: case 16919: case 16920: case 16996: case 16997: case 16998: case 17002: case 17003: case 17004: case 17008: case 17009: case 17010: case 17014: case 17015: case 17016: case 17020: case 17021: case 17022: case 17026: case 17027: case 17028: return North::None;
default: return North::Tall;
}
}
- enum South South(short ID)
+ enum South South(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 16792: case 16793: case 16794: case 16798: case 16799: case 16800: case 16828: case 16829: case 16830: case 16834: case 16835: case 16836: case 16864: case 16865: case 16866: case 16870: case 16871: case 16872: case 16900: case 16901: case 16902: case 16906: case 16907: case 16908: case 16936: case 16937: case 16938: case 16942: case 16943: case 16944: case 16972: case 16973: case 16974: case 16978: case 16979: case 16980: case 17008: case 17009: case 17010: case 17014: case 17015: case 17016: case 17044: case 17045: case 17046: case 17050: case 17051: case 17052: case 17080: case 17081: case 17082: case 17086: case 17087: case 17088: return South::Low;
case 16780: case 16781: case 16782: case 16786: case 16787: case 16788: case 16816: case 16817: case 16818: case 16822: case 16823: case 16824: case 16852: case 16853: case 16854: case 16858: case 16859: case 16860: case 16888: case 16889: case 16890: case 16894: case 16895: case 16896: case 16924: case 16925: case 16926: case 16930: case 16931: case 16932: case 16960: case 16961: case 16962: case 16966: case 16967: case 16968: case 16996: case 16997: case 16998: case 17002: case 17003: case 17004: case 17032: case 17033: case 17034: case 17038: case 17039: case 17040: case 17068: case 17069: case 17070: case 17074: case 17075: case 17076: return South::None;
default: return South::Tall;
}
}
- bool Up(short ID)
+ bool Up(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 16786: case 16787: case 16788: case 16798: case 16799: case 16800: case 16810: case 16811: case 16812: case 16822: case 16823: case 16824: case 16834: case 16835: case 16836: case 16846: case 16847: case 16848: case 16858: case 16859: case 16860: case 16870: case 16871: case 16872: case 16882: case 16883: case 16884: case 16894: case 16895: case 16896: case 16906: case 16907: case 16908: case 16918: case 16919: case 16920: case 16930: case 16931: case 16932: case 16942: case 16943: case 16944: case 16954: case 16955: case 16956: case 16966: case 16967: case 16968: case 16978: case 16979: case 16980: case 16990: case 16991: case 16992: case 17002: case 17003: case 17004: case 17014: case 17015: case 17016: case 17026: case 17027: case 17028: case 17038: case 17039: case 17040: case 17050: case 17051: case 17052: case 17062: case 17063: case 17064: case 17074: case 17075: case 17076: case 17086: case 17087: case 17088: case 17098: case 17099: case 17100: return false;
default: return true;
}
}
- enum West West(short ID)
+ enum West West(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 16781: case 16787: case 16793: case 16799: case 16805: case 16811: case 16817: case 16823: case 16829: case 16835: case 16841: case 16847: case 16853: case 16859: case 16865: case 16871: case 16877: case 16883: case 16889: case 16895: case 16901: case 16907: case 16913: case 16919: case 16925: case 16931: case 16937: case 16943: case 16949: case 16955: case 16961: case 16967: case 16973: case 16979: case 16985: case 16991: case 16997: case 17003: case 17009: case 17015: case 17021: case 17027: case 17033: case 17039: case 17045: case 17051: case 17057: case 17063: case 17069: case 17075: case 17081: case 17087: case 17093: case 17099: return West::Low;
case 16780: case 16786: case 16792: case 16798: case 16804: case 16810: case 16816: case 16822: case 16828: case 16834: case 16840: case 16846: case 16852: case 16858: case 16864: case 16870: case 16876: case 16882: case 16888: case 16894: case 16900: case 16906: case 16912: case 16918: case 16924: case 16930: case 16936: case 16942: case 16948: case 16954: case 16960: case 16966: case 16972: case 16978: case 16984: case 16990: case 16996: case 17002: case 17008: case 17014: case 17020: case 17026: case 17032: case 17038: case 17044: case 17050: case 17056: case 17062: case 17068: case 17074: case 17080: case 17086: case 17092: case 17098: return West::None;
@@ -9392,13 +8619,13 @@ namespace Block
}
namespace PolishedDioriteSlab
{
- short PolishedDioriteSlab()
+ BlockState PolishedDioriteSlab()
{
return 10810;
}
- enum Type Type(short ID)
+ enum Type Type(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 10810: return Type::Bottom;
case 10812: return Type::Double;
@@ -9408,13 +8635,13 @@ namespace Block
}
namespace PolishedDioriteStairs
{
- short PolishedDioriteStairs()
+ BlockState PolishedDioriteStairs()
{
return 9920;
}
- eBlockFace Facing(short ID)
+ eBlockFace Facing(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 9950: case 9952: case 9954: case 9956: case 9958: case 9960: case 9962: case 9964: case 9966: case 9968: return eBlockFace::BLOCK_FACE_XM;
case 9970: case 9972: case 9974: case 9976: case 9978: case 9980: case 9982: case 9984: case 9986: case 9988: return eBlockFace::BLOCK_FACE_XP;
@@ -9422,17 +8649,17 @@ namespace Block
default: return eBlockFace::BLOCK_FACE_ZP;
}
}
- enum Half Half(short ID)
+ enum Half Half(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 9920: case 9922: case 9924: case 9926: case 9928: case 9940: case 9942: case 9944: case 9946: case 9948: case 9960: case 9962: case 9964: case 9966: case 9968: case 9980: case 9982: case 9984: case 9986: case 9988: return Half::Bottom;
default: return Half::Top;
}
}
- enum Shape Shape(short ID)
+ enum Shape Shape(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 9912: case 9922: case 9932: case 9942: case 9952: case 9962: case 9972: case 9982: return Shape::InnerLeft;
case 9914: case 9924: case 9934: case 9944: case 9954: case 9964: case 9974: case 9984: return Shape::InnerRight;
@@ -9447,13 +8674,13 @@ namespace Block
}
namespace PolishedGraniteSlab
{
- short PolishedGraniteSlab()
+ BlockState PolishedGraniteSlab()
{
return 10792;
}
- enum Type Type(short ID)
+ enum Type Type(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 10792: return Type::Bottom;
case 10794: return Type::Double;
@@ -9463,13 +8690,13 @@ namespace Block
}
namespace PolishedGraniteStairs
{
- short PolishedGraniteStairs()
+ BlockState PolishedGraniteStairs()
{
return 9680;
}
- eBlockFace Facing(short ID)
+ eBlockFace Facing(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 9710: case 9712: case 9714: case 9716: case 9718: case 9720: case 9722: case 9724: case 9726: case 9728: return eBlockFace::BLOCK_FACE_XM;
case 9730: case 9732: case 9734: case 9736: case 9738: case 9740: case 9742: case 9744: case 9746: case 9748: return eBlockFace::BLOCK_FACE_XP;
@@ -9477,17 +8704,17 @@ namespace Block
default: return eBlockFace::BLOCK_FACE_ZP;
}
}
- enum Half Half(short ID)
+ enum Half Half(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 9680: case 9682: case 9684: case 9686: case 9688: case 9700: case 9702: case 9704: case 9706: case 9708: case 9720: case 9722: case 9724: case 9726: case 9728: case 9740: case 9742: case 9744: case 9746: case 9748: return Half::Bottom;
default: return Half::Top;
}
}
- enum Shape Shape(short ID)
+ enum Shape Shape(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 9672: case 9682: case 9692: case 9702: case 9712: case 9722: case 9732: case 9742: return Shape::InnerLeft;
case 9674: case 9684: case 9694: case 9704: case 9714: case 9724: case 9734: case 9744: return Shape::InnerRight;
@@ -9502,13 +8729,13 @@ namespace Block
}
namespace Potatoes
{
- short Potatoes()
+ BlockState Potatoes()
{
return 6338;
}
- unsigned char Age(short ID)
+ unsigned char Age(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 6338: return 0;
case 6339: return 1;
@@ -9610,21 +8837,21 @@ namespace Block
}
namespace PoweredRail
{
- short PoweredRail()
+ BlockState PoweredRail()
{
return 1311;
}
- bool Powered(short ID)
+ bool Powered(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 1311: case 1312: case 1313: case 1314: case 1315: case 1316: return false;
default: return true;
}
}
- enum Shape Shape(short ID)
+ enum Shape Shape(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 1307: case 1313: return Shape::AscendingEast;
case 1309: case 1315: return Shape::AscendingNorth;
@@ -9640,13 +8867,13 @@ namespace Block
}
namespace PrismarineBrickSlab
{
- short PrismarineBrickSlab()
+ BlockState PrismarineBrickSlab()
{
return 7853;
}
- enum Type Type(short ID)
+ enum Type Type(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 7853: return Type::Bottom;
case 7855: return Type::Double;
@@ -9656,13 +8883,13 @@ namespace Block
}
namespace PrismarineBrickStairs
{
- short PrismarineBrickStairs()
+ BlockState PrismarineBrickStairs()
{
return 7695;
}
- eBlockFace Facing(short ID)
+ eBlockFace Facing(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 7725: case 7727: case 7729: case 7731: case 7733: case 7735: case 7737: case 7739: case 7741: case 7743: return eBlockFace::BLOCK_FACE_XM;
case 7745: case 7747: case 7749: case 7751: case 7753: case 7755: case 7757: case 7759: case 7761: case 7763: return eBlockFace::BLOCK_FACE_XP;
@@ -9670,17 +8897,17 @@ namespace Block
default: return eBlockFace::BLOCK_FACE_ZP;
}
}
- enum Half Half(short ID)
+ enum Half Half(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 7695: case 7697: case 7699: case 7701: case 7703: case 7715: case 7717: case 7719: case 7721: case 7723: case 7735: case 7737: case 7739: case 7741: case 7743: case 7755: case 7757: case 7759: case 7761: case 7763: return Half::Bottom;
default: return Half::Top;
}
}
- enum Shape Shape(short ID)
+ enum Shape Shape(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 7687: case 7697: case 7707: case 7717: case 7727: case 7737: case 7747: case 7757: return Shape::InnerLeft;
case 7689: case 7699: case 7709: case 7719: case 7729: case 7739: case 7749: case 7759: return Shape::InnerRight;
@@ -9695,13 +8922,13 @@ namespace Block
}
namespace PrismarineSlab
{
- short PrismarineSlab()
+ BlockState PrismarineSlab()
{
return 7847;
}
- enum Type Type(short ID)
+ enum Type Type(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 7847: return Type::Bottom;
case 7849: return Type::Double;
@@ -9711,13 +8938,13 @@ namespace Block
}
namespace PrismarineStairs
{
- short PrismarineStairs()
+ BlockState PrismarineStairs()
{
return 7615;
}
- eBlockFace Facing(short ID)
+ eBlockFace Facing(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 7645: case 7647: case 7649: case 7651: case 7653: case 7655: case 7657: case 7659: case 7661: case 7663: return eBlockFace::BLOCK_FACE_XM;
case 7665: case 7667: case 7669: case 7671: case 7673: case 7675: case 7677: case 7679: case 7681: case 7683: return eBlockFace::BLOCK_FACE_XP;
@@ -9725,17 +8952,17 @@ namespace Block
default: return eBlockFace::BLOCK_FACE_ZP;
}
}
- enum Half Half(short ID)
+ enum Half Half(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 7615: case 7617: case 7619: case 7621: case 7623: case 7635: case 7637: case 7639: case 7641: case 7643: case 7655: case 7657: case 7659: case 7661: case 7663: case 7675: case 7677: case 7679: case 7681: case 7683: return Half::Bottom;
default: return Half::Top;
}
}
- enum Shape Shape(short ID)
+ enum Shape Shape(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 7607: case 7617: case 7627: case 7637: case 7647: case 7657: case 7667: case 7677: return Shape::InnerLeft;
case 7609: case 7619: case 7629: case 7639: case 7649: case 7659: case 7669: case 7679: return Shape::InnerRight;
@@ -9747,48 +8974,48 @@ namespace Block
}
namespace PrismarineWall
{
- short PrismarineWall()
+ BlockState PrismarineWall()
{
return 11194;
}
- enum East East(short ID)
+ enum East East(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 11302: case 11303: case 11304: case 11308: case 11309: case 11310: case 11314: case 11315: case 11316: case 11320: case 11321: case 11322: case 11326: case 11327: case 11328: case 11332: case 11333: case 11334: case 11338: case 11339: case 11340: case 11344: case 11345: case 11346: case 11350: case 11351: case 11352: case 11356: case 11357: case 11358: case 11362: case 11363: case 11364: case 11368: case 11369: case 11370: case 11374: case 11375: case 11376: case 11380: case 11381: case 11382: case 11386: case 11387: case 11388: case 11392: case 11393: case 11394: case 11398: case 11399: case 11400: case 11404: case 11405: case 11406: return East::Low;
case 11194: case 11195: case 11196: case 11200: case 11201: case 11202: case 11206: case 11207: case 11208: case 11212: case 11213: case 11214: case 11218: case 11219: case 11220: case 11224: case 11225: case 11226: case 11230: case 11231: case 11232: case 11236: case 11237: case 11238: case 11242: case 11243: case 11244: case 11248: case 11249: case 11250: case 11254: case 11255: case 11256: case 11260: case 11261: case 11262: case 11266: case 11267: case 11268: case 11272: case 11273: case 11274: case 11278: case 11279: case 11280: case 11284: case 11285: case 11286: case 11290: case 11291: case 11292: case 11296: case 11297: case 11298: return East::None;
default: return East::Tall;
}
}
- enum North North(short ID)
+ enum North North(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 11230: case 11231: case 11232: case 11236: case 11237: case 11238: case 11242: case 11243: case 11244: case 11248: case 11249: case 11250: case 11254: case 11255: case 11256: case 11260: case 11261: case 11262: case 11338: case 11339: case 11340: case 11344: case 11345: case 11346: case 11350: case 11351: case 11352: case 11356: case 11357: case 11358: case 11362: case 11363: case 11364: case 11368: case 11369: case 11370: case 11446: case 11447: case 11448: case 11452: case 11453: case 11454: case 11458: case 11459: case 11460: case 11464: case 11465: case 11466: case 11470: case 11471: case 11472: case 11476: case 11477: case 11478: return North::Low;
case 11194: case 11195: case 11196: case 11200: case 11201: case 11202: case 11206: case 11207: case 11208: case 11212: case 11213: case 11214: case 11218: case 11219: case 11220: case 11224: case 11225: case 11226: case 11302: case 11303: case 11304: case 11308: case 11309: case 11310: case 11314: case 11315: case 11316: case 11320: case 11321: case 11322: case 11326: case 11327: case 11328: case 11332: case 11333: case 11334: case 11410: case 11411: case 11412: case 11416: case 11417: case 11418: case 11422: case 11423: case 11424: case 11428: case 11429: case 11430: case 11434: case 11435: case 11436: case 11440: case 11441: case 11442: return North::None;
default: return North::Tall;
}
}
- enum South South(short ID)
+ enum South South(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 11206: case 11207: case 11208: case 11212: case 11213: case 11214: case 11242: case 11243: case 11244: case 11248: case 11249: case 11250: case 11278: case 11279: case 11280: case 11284: case 11285: case 11286: case 11314: case 11315: case 11316: case 11320: case 11321: case 11322: case 11350: case 11351: case 11352: case 11356: case 11357: case 11358: case 11386: case 11387: case 11388: case 11392: case 11393: case 11394: case 11422: case 11423: case 11424: case 11428: case 11429: case 11430: case 11458: case 11459: case 11460: case 11464: case 11465: case 11466: case 11494: case 11495: case 11496: case 11500: case 11501: case 11502: return South::Low;
case 11194: case 11195: case 11196: case 11200: case 11201: case 11202: case 11230: case 11231: case 11232: case 11236: case 11237: case 11238: case 11266: case 11267: case 11268: case 11272: case 11273: case 11274: case 11302: case 11303: case 11304: case 11308: case 11309: case 11310: case 11338: case 11339: case 11340: case 11344: case 11345: case 11346: case 11374: case 11375: case 11376: case 11380: case 11381: case 11382: case 11410: case 11411: case 11412: case 11416: case 11417: case 11418: case 11446: case 11447: case 11448: case 11452: case 11453: case 11454: case 11482: case 11483: case 11484: case 11488: case 11489: case 11490: return South::None;
default: return South::Tall;
}
}
- bool Up(short ID)
+ bool Up(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 11200: case 11201: case 11202: case 11212: case 11213: case 11214: case 11224: case 11225: case 11226: case 11236: case 11237: case 11238: case 11248: case 11249: case 11250: case 11260: case 11261: case 11262: case 11272: case 11273: case 11274: case 11284: case 11285: case 11286: case 11296: case 11297: case 11298: case 11308: case 11309: case 11310: case 11320: case 11321: case 11322: case 11332: case 11333: case 11334: case 11344: case 11345: case 11346: case 11356: case 11357: case 11358: case 11368: case 11369: case 11370: case 11380: case 11381: case 11382: case 11392: case 11393: case 11394: case 11404: case 11405: case 11406: case 11416: case 11417: case 11418: case 11428: case 11429: case 11430: case 11440: case 11441: case 11442: case 11452: case 11453: case 11454: case 11464: case 11465: case 11466: case 11476: case 11477: case 11478: case 11488: case 11489: case 11490: case 11500: case 11501: case 11502: case 11512: case 11513: case 11514: return false;
default: return true;
}
}
- enum West West(short ID)
+ enum West West(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 11195: case 11201: case 11207: case 11213: case 11219: case 11225: case 11231: case 11237: case 11243: case 11249: case 11255: case 11261: case 11267: case 11273: case 11279: case 11285: case 11291: case 11297: case 11303: case 11309: case 11315: case 11321: case 11327: case 11333: case 11339: case 11345: case 11351: case 11357: case 11363: case 11369: case 11375: case 11381: case 11387: case 11393: case 11399: case 11405: case 11411: case 11417: case 11423: case 11429: case 11435: case 11441: case 11447: case 11453: case 11459: case 11465: case 11471: case 11477: case 11483: case 11489: case 11495: case 11501: case 11507: case 11513: return West::Low;
case 11194: case 11200: case 11206: case 11212: case 11218: case 11224: case 11230: case 11236: case 11242: case 11248: case 11254: case 11260: case 11266: case 11272: case 11278: case 11284: case 11290: case 11296: case 11302: case 11308: case 11314: case 11320: case 11326: case 11332: case 11338: case 11344: case 11350: case 11356: case 11362: case 11368: case 11374: case 11380: case 11386: case 11392: case 11398: case 11404: case 11410: case 11416: case 11422: case 11428: case 11434: case 11440: case 11446: case 11452: case 11458: case 11464: case 11470: case 11476: case 11482: case 11488: case 11494: case 11500: case 11506: case 11512: return West::None;
@@ -9801,13 +9028,13 @@ namespace Block
}
namespace PumpkinStem
{
- short PumpkinStem()
+ BlockState PumpkinStem()
{
return 4772;
}
- unsigned char Age(short ID)
+ unsigned char Age(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 4772: return 0;
case 4773: return 1;
@@ -9822,13 +9049,13 @@ namespace Block
}
namespace PurpleBanner
{
- short PurpleBanner()
+ BlockState PurpleBanner()
{
return 8057;
}
- unsigned char Rotation(short ID)
+ unsigned char Rotation(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 8057: return 0;
case 8058: return 1;
@@ -9851,13 +9078,13 @@ namespace Block
}
namespace PurpleBed
{
- short PurpleBed()
+ BlockState PurpleBed()
{
return 1212;
}
- eBlockFace Facing(short ID)
+ eBlockFace Facing(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 1217: case 1218: case 1219: case 1220: return eBlockFace::BLOCK_FACE_XM;
case 1221: case 1222: case 1223: case 1224: return eBlockFace::BLOCK_FACE_XP;
@@ -9865,17 +9092,17 @@ namespace Block
default: return eBlockFace::BLOCK_FACE_ZP;
}
}
- bool Occupied(short ID)
+ bool Occupied(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 1211: case 1212: case 1215: case 1216: case 1219: case 1220: case 1223: case 1224: return false;
default: return true;
}
}
- enum Part Part(short ID)
+ enum Part Part(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 1210: case 1212: case 1214: case 1216: case 1218: case 1220: case 1222: case 1224: return Part::Foot;
default: return Part::Head;
@@ -9893,13 +9120,13 @@ namespace Block
}
namespace PurpleGlazedTerracotta
{
- short PurpleGlazedTerracotta()
+ BlockState PurpleGlazedTerracotta()
{
return 9414;
}
- eBlockFace Facing(short ID)
+ eBlockFace Facing(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 9416: return eBlockFace::BLOCK_FACE_XM;
case 9417: return eBlockFace::BLOCK_FACE_XP;
@@ -9910,13 +9137,13 @@ namespace Block
}
namespace PurpleShulkerBox
{
- short PurpleShulkerBox()
+ BlockState PurpleShulkerBox()
{
return 9342;
}
- eBlockFace Facing(short ID)
+ eBlockFace Facing(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 9341: return eBlockFace::BLOCK_FACE_XM;
case 9339: return eBlockFace::BLOCK_FACE_XP;
@@ -9932,37 +9159,37 @@ namespace Block
}
namespace PurpleStainedGlassPane
{
- short PurpleStainedGlassPane()
+ BlockState PurpleStainedGlassPane()
{
return 7214;
}
- bool East(short ID)
+ bool East(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 7201: case 7202: case 7205: case 7206: case 7209: case 7210: case 7213: case 7214: return false;
default: return true;
}
}
- bool North(short ID)
+ bool North(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 7193: case 7194: case 7197: case 7198: case 7209: case 7210: case 7213: case 7214: return false;
default: return true;
}
}
- bool South(short ID)
+ bool South(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 7189: case 7190: case 7197: case 7198: case 7205: case 7206: case 7213: case 7214: return false;
default: return true;
}
}
- bool West(short ID)
+ bool West(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 7186: case 7190: case 7194: case 7198: case 7202: case 7206: case 7210: case 7214: return false;
default: return true;
@@ -9974,13 +9201,13 @@ namespace Block
}
namespace PurpleWallBanner
{
- short PurpleWallBanner()
+ BlockState PurpleWallBanner()
{
return 8193;
}
- eBlockFace Facing(short ID)
+ eBlockFace Facing(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 8195: return eBlockFace::BLOCK_FACE_XM;
case 8196: return eBlockFace::BLOCK_FACE_XP;
@@ -9997,13 +9224,13 @@ namespace Block
}
namespace PurpurPillar
{
- short PurpurPillar()
+ BlockState PurpurPillar()
{
return 9136;
}
- enum Axis Axis(short ID)
+ enum Axis Axis(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 9135: return Axis::X;
case 9136: return Axis::Y;
@@ -10013,13 +9240,13 @@ namespace Block
}
namespace PurpurSlab
{
- short PurpurSlab()
+ BlockState PurpurSlab()
{
return 8411;
}
- enum Type Type(short ID)
+ enum Type Type(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 8411: return Type::Bottom;
case 8413: return Type::Double;
@@ -10029,13 +9256,13 @@ namespace Block
}
namespace PurpurStairs
{
- short PurpurStairs()
+ BlockState PurpurStairs()
{
return 9149;
}
- eBlockFace Facing(short ID)
+ eBlockFace Facing(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 9179: case 9181: case 9183: case 9185: case 9187: case 9189: case 9191: case 9193: case 9195: case 9197: return eBlockFace::BLOCK_FACE_XM;
case 9199: case 9201: case 9203: case 9205: case 9207: case 9209: case 9211: case 9213: case 9215: case 9217: return eBlockFace::BLOCK_FACE_XP;
@@ -10043,17 +9270,17 @@ namespace Block
default: return eBlockFace::BLOCK_FACE_ZP;
}
}
- enum Half Half(short ID)
+ enum Half Half(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 9149: case 9151: case 9153: case 9155: case 9157: case 9169: case 9171: case 9173: case 9175: case 9177: case 9189: case 9191: case 9193: case 9195: case 9197: case 9209: case 9211: case 9213: case 9215: case 9217: return Half::Bottom;
default: return Half::Top;
}
}
- enum Shape Shape(short ID)
+ enum Shape Shape(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 9141: case 9151: case 9161: case 9171: case 9181: case 9191: case 9201: case 9211: return Shape::InnerLeft;
case 9143: case 9153: case 9163: case 9173: case 9183: case 9193: case 9203: case 9213: return Shape::InnerRight;
@@ -10071,13 +9298,13 @@ namespace Block
}
namespace QuartzPillar
{
- short QuartzPillar()
+ BlockState QuartzPillar()
{
return 6741;
}
- enum Axis Axis(short ID)
+ enum Axis Axis(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 6740: return Axis::X;
case 6741: return Axis::Y;
@@ -10087,13 +9314,13 @@ namespace Block
}
namespace QuartzSlab
{
- short QuartzSlab()
+ BlockState QuartzSlab()
{
return 8393;
}
- enum Type Type(short ID)
+ enum Type Type(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 8393: return Type::Bottom;
case 8395: return Type::Double;
@@ -10103,13 +9330,13 @@ namespace Block
}
namespace QuartzStairs
{
- short QuartzStairs()
+ BlockState QuartzStairs()
{
return 6754;
}
- eBlockFace Facing(short ID)
+ eBlockFace Facing(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 6784: case 6786: case 6788: case 6790: case 6792: case 6794: case 6796: case 6798: case 6800: case 6802: return eBlockFace::BLOCK_FACE_XM;
case 6804: case 6806: case 6808: case 6810: case 6812: case 6814: case 6816: case 6818: case 6820: case 6822: return eBlockFace::BLOCK_FACE_XP;
@@ -10117,17 +9344,17 @@ namespace Block
default: return eBlockFace::BLOCK_FACE_ZP;
}
}
- enum Half Half(short ID)
+ enum Half Half(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 6754: case 6756: case 6758: case 6760: case 6762: case 6774: case 6776: case 6778: case 6780: case 6782: case 6794: case 6796: case 6798: case 6800: case 6802: case 6814: case 6816: case 6818: case 6820: case 6822: return Half::Bottom;
default: return Half::Top;
}
}
- enum Shape Shape(short ID)
+ enum Shape Shape(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 6746: case 6756: case 6766: case 6776: case 6786: case 6796: case 6806: case 6816: return Shape::InnerLeft;
case 6748: case 6758: case 6768: case 6778: case 6788: case 6798: case 6808: case 6818: return Shape::InnerRight;
@@ -10139,13 +9366,13 @@ namespace Block
}
namespace Rail
{
- short Rail()
+ BlockState Rail()
{
return 3645;
}
- enum Shape Shape(short ID)
+ enum Shape Shape(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 3647: return Shape::AscendingEast;
case 3649: return Shape::AscendingNorth;
@@ -10162,13 +9389,13 @@ namespace Block
}
namespace RedBanner
{
- short RedBanner()
+ BlockState RedBanner()
{
return 8121;
}
- unsigned char Rotation(short ID)
+ unsigned char Rotation(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 8121: return 0;
case 8122: return 1;
@@ -10191,13 +9418,13 @@ namespace Block
}
namespace RedBed
{
- short RedBed()
+ BlockState RedBed()
{
return 1276;
}
- eBlockFace Facing(short ID)
+ eBlockFace Facing(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 1281: case 1282: case 1283: case 1284: return eBlockFace::BLOCK_FACE_XM;
case 1285: case 1286: case 1287: case 1288: return eBlockFace::BLOCK_FACE_XP;
@@ -10205,17 +9432,17 @@ namespace Block
default: return eBlockFace::BLOCK_FACE_ZP;
}
}
- bool Occupied(short ID)
+ bool Occupied(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 1275: case 1276: case 1279: case 1280: case 1283: case 1284: case 1287: case 1288: return false;
default: return true;
}
}
- enum Part Part(short ID)
+ enum Part Part(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 1274: case 1276: case 1278: case 1280: case 1282: case 1284: case 1286: case 1288: return Part::Foot;
default: return Part::Head;
@@ -10233,13 +9460,13 @@ namespace Block
}
namespace RedGlazedTerracotta
{
- short RedGlazedTerracotta()
+ BlockState RedGlazedTerracotta()
{
return 9430;
}
- eBlockFace Facing(short ID)
+ eBlockFace Facing(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 9432: return eBlockFace::BLOCK_FACE_XM;
case 9433: return eBlockFace::BLOCK_FACE_XP;
@@ -10253,53 +9480,53 @@ namespace Block
}
namespace RedMushroomBlock
{
- short RedMushroomBlock()
+ BlockState RedMushroomBlock()
{
return 4569;
}
- bool Down(short ID)
+ bool Down(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 4601: case 4602: case 4603: case 4604: case 4605: case 4606: case 4607: case 4608: case 4609: case 4610: case 4611: case 4612: case 4613: case 4614: case 4615: case 4616: case 4617: case 4618: case 4619: case 4620: case 4621: case 4622: case 4623: case 4624: case 4625: case 4626: case 4627: case 4628: case 4629: case 4630: case 4631: case 4632: return false;
default: return true;
}
}
- bool East(short ID)
+ bool East(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 4585: case 4586: case 4587: case 4588: case 4589: case 4590: case 4591: case 4592: case 4593: case 4594: case 4595: case 4596: case 4597: case 4598: case 4599: case 4600: case 4617: case 4618: case 4619: case 4620: case 4621: case 4622: case 4623: case 4624: case 4625: case 4626: case 4627: case 4628: case 4629: case 4630: case 4631: case 4632: return false;
default: return true;
}
}
- bool North(short ID)
+ bool North(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 4577: case 4578: case 4579: case 4580: case 4581: case 4582: case 4583: case 4584: case 4593: case 4594: case 4595: case 4596: case 4597: case 4598: case 4599: case 4600: case 4609: case 4610: case 4611: case 4612: case 4613: case 4614: case 4615: case 4616: case 4625: case 4626: case 4627: case 4628: case 4629: case 4630: case 4631: case 4632: return false;
default: return true;
}
}
- bool South(short ID)
+ bool South(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 4573: case 4574: case 4575: case 4576: case 4581: case 4582: case 4583: case 4584: case 4589: case 4590: case 4591: case 4592: case 4597: case 4598: case 4599: case 4600: case 4605: case 4606: case 4607: case 4608: case 4613: case 4614: case 4615: case 4616: case 4621: case 4622: case 4623: case 4624: case 4629: case 4630: case 4631: case 4632: return false;
default: return true;
}
}
- bool Up(short ID)
+ bool Up(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 4571: case 4572: case 4575: case 4576: case 4579: case 4580: case 4583: case 4584: case 4587: case 4588: case 4591: case 4592: case 4595: case 4596: case 4599: case 4600: case 4603: case 4604: case 4607: case 4608: case 4611: case 4612: case 4615: case 4616: case 4619: case 4620: case 4623: case 4624: case 4627: case 4628: case 4631: case 4632: return false;
default: return true;
}
}
- bool West(short ID)
+ bool West(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 4570: case 4572: case 4574: case 4576: case 4578: case 4580: case 4582: case 4584: case 4586: case 4588: case 4590: case 4592: case 4594: case 4596: case 4598: case 4600: case 4602: case 4604: case 4606: case 4608: case 4610: case 4612: case 4614: case 4616: case 4618: case 4620: case 4622: case 4624: case 4626: case 4628: case 4630: case 4632: return false;
default: return true;
@@ -10308,13 +9535,13 @@ namespace Block
}
namespace RedNetherBrickSlab
{
- short RedNetherBrickSlab()
+ BlockState RedNetherBrickSlab()
{
return 10852;
}
- enum Type Type(short ID)
+ enum Type Type(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 10852: return Type::Bottom;
case 10854: return Type::Double;
@@ -10324,13 +9551,13 @@ namespace Block
}
namespace RedNetherBrickStairs
{
- short RedNetherBrickStairs()
+ BlockState RedNetherBrickStairs()
{
return 10560;
}
- eBlockFace Facing(short ID)
+ eBlockFace Facing(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 10590: case 10592: case 10594: case 10596: case 10598: case 10600: case 10602: case 10604: case 10606: case 10608: return eBlockFace::BLOCK_FACE_XM;
case 10610: case 10612: case 10614: case 10616: case 10618: case 10620: case 10622: case 10624: case 10626: case 10628: return eBlockFace::BLOCK_FACE_XP;
@@ -10338,17 +9565,17 @@ namespace Block
default: return eBlockFace::BLOCK_FACE_ZP;
}
}
- enum Half Half(short ID)
+ enum Half Half(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 10560: case 10562: case 10564: case 10566: case 10568: case 10580: case 10582: case 10584: case 10586: case 10588: case 10600: case 10602: case 10604: case 10606: case 10608: case 10620: case 10622: case 10624: case 10626: case 10628: return Half::Bottom;
default: return Half::Top;
}
}
- enum Shape Shape(short ID)
+ enum Shape Shape(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 10552: case 10562: case 10572: case 10582: case 10592: case 10602: case 10612: case 10622: return Shape::InnerLeft;
case 10554: case 10564: case 10574: case 10584: case 10594: case 10604: case 10614: case 10624: return Shape::InnerRight;
@@ -10360,48 +9587,48 @@ namespace Block
}
namespace RedNetherBrickWall
{
- short RedNetherBrickWall()
+ BlockState RedNetherBrickWall()
{
return 13462;
}
- enum East East(short ID)
+ enum East East(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 13570: case 13571: case 13572: case 13576: case 13577: case 13578: case 13582: case 13583: case 13584: case 13588: case 13589: case 13590: case 13594: case 13595: case 13596: case 13600: case 13601: case 13602: case 13606: case 13607: case 13608: case 13612: case 13613: case 13614: case 13618: case 13619: case 13620: case 13624: case 13625: case 13626: case 13630: case 13631: case 13632: case 13636: case 13637: case 13638: case 13642: case 13643: case 13644: case 13648: case 13649: case 13650: case 13654: case 13655: case 13656: case 13660: case 13661: case 13662: case 13666: case 13667: case 13668: case 13672: case 13673: case 13674: return East::Low;
case 13462: case 13463: case 13464: case 13468: case 13469: case 13470: case 13474: case 13475: case 13476: case 13480: case 13481: case 13482: case 13486: case 13487: case 13488: case 13492: case 13493: case 13494: case 13498: case 13499: case 13500: case 13504: case 13505: case 13506: case 13510: case 13511: case 13512: case 13516: case 13517: case 13518: case 13522: case 13523: case 13524: case 13528: case 13529: case 13530: case 13534: case 13535: case 13536: case 13540: case 13541: case 13542: case 13546: case 13547: case 13548: case 13552: case 13553: case 13554: case 13558: case 13559: case 13560: case 13564: case 13565: case 13566: return East::None;
default: return East::Tall;
}
}
- enum North North(short ID)
+ enum North North(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 13498: case 13499: case 13500: case 13504: case 13505: case 13506: case 13510: case 13511: case 13512: case 13516: case 13517: case 13518: case 13522: case 13523: case 13524: case 13528: case 13529: case 13530: case 13606: case 13607: case 13608: case 13612: case 13613: case 13614: case 13618: case 13619: case 13620: case 13624: case 13625: case 13626: case 13630: case 13631: case 13632: case 13636: case 13637: case 13638: case 13714: case 13715: case 13716: case 13720: case 13721: case 13722: case 13726: case 13727: case 13728: case 13732: case 13733: case 13734: case 13738: case 13739: case 13740: case 13744: case 13745: case 13746: return North::Low;
case 13462: case 13463: case 13464: case 13468: case 13469: case 13470: case 13474: case 13475: case 13476: case 13480: case 13481: case 13482: case 13486: case 13487: case 13488: case 13492: case 13493: case 13494: case 13570: case 13571: case 13572: case 13576: case 13577: case 13578: case 13582: case 13583: case 13584: case 13588: case 13589: case 13590: case 13594: case 13595: case 13596: case 13600: case 13601: case 13602: case 13678: case 13679: case 13680: case 13684: case 13685: case 13686: case 13690: case 13691: case 13692: case 13696: case 13697: case 13698: case 13702: case 13703: case 13704: case 13708: case 13709: case 13710: return North::None;
default: return North::Tall;
}
}
- enum South South(short ID)
+ enum South South(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 13474: case 13475: case 13476: case 13480: case 13481: case 13482: case 13510: case 13511: case 13512: case 13516: case 13517: case 13518: case 13546: case 13547: case 13548: case 13552: case 13553: case 13554: case 13582: case 13583: case 13584: case 13588: case 13589: case 13590: case 13618: case 13619: case 13620: case 13624: case 13625: case 13626: case 13654: case 13655: case 13656: case 13660: case 13661: case 13662: case 13690: case 13691: case 13692: case 13696: case 13697: case 13698: case 13726: case 13727: case 13728: case 13732: case 13733: case 13734: case 13762: case 13763: case 13764: case 13768: case 13769: case 13770: return South::Low;
case 13462: case 13463: case 13464: case 13468: case 13469: case 13470: case 13498: case 13499: case 13500: case 13504: case 13505: case 13506: case 13534: case 13535: case 13536: case 13540: case 13541: case 13542: case 13570: case 13571: case 13572: case 13576: case 13577: case 13578: case 13606: case 13607: case 13608: case 13612: case 13613: case 13614: case 13642: case 13643: case 13644: case 13648: case 13649: case 13650: case 13678: case 13679: case 13680: case 13684: case 13685: case 13686: case 13714: case 13715: case 13716: case 13720: case 13721: case 13722: case 13750: case 13751: case 13752: case 13756: case 13757: case 13758: return South::None;
default: return South::Tall;
}
}
- bool Up(short ID)
+ bool Up(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 13468: case 13469: case 13470: case 13480: case 13481: case 13482: case 13492: case 13493: case 13494: case 13504: case 13505: case 13506: case 13516: case 13517: case 13518: case 13528: case 13529: case 13530: case 13540: case 13541: case 13542: case 13552: case 13553: case 13554: case 13564: case 13565: case 13566: case 13576: case 13577: case 13578: case 13588: case 13589: case 13590: case 13600: case 13601: case 13602: case 13612: case 13613: case 13614: case 13624: case 13625: case 13626: case 13636: case 13637: case 13638: case 13648: case 13649: case 13650: case 13660: case 13661: case 13662: case 13672: case 13673: case 13674: case 13684: case 13685: case 13686: case 13696: case 13697: case 13698: case 13708: case 13709: case 13710: case 13720: case 13721: case 13722: case 13732: case 13733: case 13734: case 13744: case 13745: case 13746: case 13756: case 13757: case 13758: case 13768: case 13769: case 13770: case 13780: case 13781: case 13782: return false;
default: return true;
}
}
- enum West West(short ID)
+ enum West West(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 13463: case 13469: case 13475: case 13481: case 13487: case 13493: case 13499: case 13505: case 13511: case 13517: case 13523: case 13529: case 13535: case 13541: case 13547: case 13553: case 13559: case 13565: case 13571: case 13577: case 13583: case 13589: case 13595: case 13601: case 13607: case 13613: case 13619: case 13625: case 13631: case 13637: case 13643: case 13649: case 13655: case 13661: case 13667: case 13673: case 13679: case 13685: case 13691: case 13697: case 13703: case 13709: case 13715: case 13721: case 13727: case 13733: case 13739: case 13745: case 13751: case 13757: case 13763: case 13769: case 13775: case 13781: return West::Low;
case 13462: case 13468: case 13474: case 13480: case 13486: case 13492: case 13498: case 13504: case 13510: case 13516: case 13522: case 13528: case 13534: case 13540: case 13546: case 13552: case 13558: case 13564: case 13570: case 13576: case 13582: case 13588: case 13594: case 13600: case 13606: case 13612: case 13618: case 13624: case 13630: case 13636: case 13642: case 13648: case 13654: case 13660: case 13666: case 13672: case 13678: case 13684: case 13690: case 13696: case 13702: case 13708: case 13714: case 13720: case 13726: case 13732: case 13738: case 13744: case 13750: case 13756: case 13762: case 13768: case 13774: case 13780: return West::None;
@@ -10420,13 +9647,13 @@ namespace Block
}
namespace RedSandstoneSlab
{
- short RedSandstoneSlab()
+ BlockState RedSandstoneSlab()
{
return 8399;
}
- enum Type Type(short ID)
+ enum Type Type(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 8399: return Type::Bottom;
case 8401: return Type::Double;
@@ -10436,13 +9663,13 @@ namespace Block
}
namespace RedSandstoneStairs
{
- short RedSandstoneStairs()
+ BlockState RedSandstoneStairs()
{
return 8231;
}
- eBlockFace Facing(short ID)
+ eBlockFace Facing(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 8261: case 8263: case 8265: case 8267: case 8269: case 8271: case 8273: case 8275: case 8277: case 8279: return eBlockFace::BLOCK_FACE_XM;
case 8281: case 8283: case 8285: case 8287: case 8289: case 8291: case 8293: case 8295: case 8297: case 8299: return eBlockFace::BLOCK_FACE_XP;
@@ -10450,17 +9677,17 @@ namespace Block
default: return eBlockFace::BLOCK_FACE_ZP;
}
}
- enum Half Half(short ID)
+ enum Half Half(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 8231: case 8233: case 8235: case 8237: case 8239: case 8251: case 8253: case 8255: case 8257: case 8259: case 8271: case 8273: case 8275: case 8277: case 8279: case 8291: case 8293: case 8295: case 8297: case 8299: return Half::Bottom;
default: return Half::Top;
}
}
- enum Shape Shape(short ID)
+ enum Shape Shape(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 8223: case 8233: case 8243: case 8253: case 8263: case 8273: case 8283: case 8293: return Shape::InnerLeft;
case 8225: case 8235: case 8245: case 8255: case 8265: case 8275: case 8285: case 8295: return Shape::InnerRight;
@@ -10472,48 +9699,48 @@ namespace Block
}
namespace RedSandstoneWall
{
- short RedSandstoneWall()
+ BlockState RedSandstoneWall()
{
return 11518;
}
- enum East East(short ID)
+ enum East East(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 11626: case 11627: case 11628: case 11632: case 11633: case 11634: case 11638: case 11639: case 11640: case 11644: case 11645: case 11646: case 11650: case 11651: case 11652: case 11656: case 11657: case 11658: case 11662: case 11663: case 11664: case 11668: case 11669: case 11670: case 11674: case 11675: case 11676: case 11680: case 11681: case 11682: case 11686: case 11687: case 11688: case 11692: case 11693: case 11694: case 11698: case 11699: case 11700: case 11704: case 11705: case 11706: case 11710: case 11711: case 11712: case 11716: case 11717: case 11718: case 11722: case 11723: case 11724: case 11728: case 11729: case 11730: return East::Low;
case 11518: case 11519: case 11520: case 11524: case 11525: case 11526: case 11530: case 11531: case 11532: case 11536: case 11537: case 11538: case 11542: case 11543: case 11544: case 11548: case 11549: case 11550: case 11554: case 11555: case 11556: case 11560: case 11561: case 11562: case 11566: case 11567: case 11568: case 11572: case 11573: case 11574: case 11578: case 11579: case 11580: case 11584: case 11585: case 11586: case 11590: case 11591: case 11592: case 11596: case 11597: case 11598: case 11602: case 11603: case 11604: case 11608: case 11609: case 11610: case 11614: case 11615: case 11616: case 11620: case 11621: case 11622: return East::None;
default: return East::Tall;
}
}
- enum North North(short ID)
+ enum North North(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 11554: case 11555: case 11556: case 11560: case 11561: case 11562: case 11566: case 11567: case 11568: case 11572: case 11573: case 11574: case 11578: case 11579: case 11580: case 11584: case 11585: case 11586: case 11662: case 11663: case 11664: case 11668: case 11669: case 11670: case 11674: case 11675: case 11676: case 11680: case 11681: case 11682: case 11686: case 11687: case 11688: case 11692: case 11693: case 11694: case 11770: case 11771: case 11772: case 11776: case 11777: case 11778: case 11782: case 11783: case 11784: case 11788: case 11789: case 11790: case 11794: case 11795: case 11796: case 11800: case 11801: case 11802: return North::Low;
case 11518: case 11519: case 11520: case 11524: case 11525: case 11526: case 11530: case 11531: case 11532: case 11536: case 11537: case 11538: case 11542: case 11543: case 11544: case 11548: case 11549: case 11550: case 11626: case 11627: case 11628: case 11632: case 11633: case 11634: case 11638: case 11639: case 11640: case 11644: case 11645: case 11646: case 11650: case 11651: case 11652: case 11656: case 11657: case 11658: case 11734: case 11735: case 11736: case 11740: case 11741: case 11742: case 11746: case 11747: case 11748: case 11752: case 11753: case 11754: case 11758: case 11759: case 11760: case 11764: case 11765: case 11766: return North::None;
default: return North::Tall;
}
}
- enum South South(short ID)
+ enum South South(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 11530: case 11531: case 11532: case 11536: case 11537: case 11538: case 11566: case 11567: case 11568: case 11572: case 11573: case 11574: case 11602: case 11603: case 11604: case 11608: case 11609: case 11610: case 11638: case 11639: case 11640: case 11644: case 11645: case 11646: case 11674: case 11675: case 11676: case 11680: case 11681: case 11682: case 11710: case 11711: case 11712: case 11716: case 11717: case 11718: case 11746: case 11747: case 11748: case 11752: case 11753: case 11754: case 11782: case 11783: case 11784: case 11788: case 11789: case 11790: case 11818: case 11819: case 11820: case 11824: case 11825: case 11826: return South::Low;
case 11518: case 11519: case 11520: case 11524: case 11525: case 11526: case 11554: case 11555: case 11556: case 11560: case 11561: case 11562: case 11590: case 11591: case 11592: case 11596: case 11597: case 11598: case 11626: case 11627: case 11628: case 11632: case 11633: case 11634: case 11662: case 11663: case 11664: case 11668: case 11669: case 11670: case 11698: case 11699: case 11700: case 11704: case 11705: case 11706: case 11734: case 11735: case 11736: case 11740: case 11741: case 11742: case 11770: case 11771: case 11772: case 11776: case 11777: case 11778: case 11806: case 11807: case 11808: case 11812: case 11813: case 11814: return South::None;
default: return South::Tall;
}
}
- bool Up(short ID)
+ bool Up(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 11524: case 11525: case 11526: case 11536: case 11537: case 11538: case 11548: case 11549: case 11550: case 11560: case 11561: case 11562: case 11572: case 11573: case 11574: case 11584: case 11585: case 11586: case 11596: case 11597: case 11598: case 11608: case 11609: case 11610: case 11620: case 11621: case 11622: case 11632: case 11633: case 11634: case 11644: case 11645: case 11646: case 11656: case 11657: case 11658: case 11668: case 11669: case 11670: case 11680: case 11681: case 11682: case 11692: case 11693: case 11694: case 11704: case 11705: case 11706: case 11716: case 11717: case 11718: case 11728: case 11729: case 11730: case 11740: case 11741: case 11742: case 11752: case 11753: case 11754: case 11764: case 11765: case 11766: case 11776: case 11777: case 11778: case 11788: case 11789: case 11790: case 11800: case 11801: case 11802: case 11812: case 11813: case 11814: case 11824: case 11825: case 11826: case 11836: case 11837: case 11838: return false;
default: return true;
}
}
- enum West West(short ID)
+ enum West West(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 11519: case 11525: case 11531: case 11537: case 11543: case 11549: case 11555: case 11561: case 11567: case 11573: case 11579: case 11585: case 11591: case 11597: case 11603: case 11609: case 11615: case 11621: case 11627: case 11633: case 11639: case 11645: case 11651: case 11657: case 11663: case 11669: case 11675: case 11681: case 11687: case 11693: case 11699: case 11705: case 11711: case 11717: case 11723: case 11729: case 11735: case 11741: case 11747: case 11753: case 11759: case 11765: case 11771: case 11777: case 11783: case 11789: case 11795: case 11801: case 11807: case 11813: case 11819: case 11825: case 11831: case 11837: return West::Low;
case 11518: case 11524: case 11530: case 11536: case 11542: case 11548: case 11554: case 11560: case 11566: case 11572: case 11578: case 11584: case 11590: case 11596: case 11602: case 11608: case 11614: case 11620: case 11626: case 11632: case 11638: case 11644: case 11650: case 11656: case 11662: case 11668: case 11674: case 11680: case 11686: case 11692: case 11698: case 11704: case 11710: case 11716: case 11722: case 11728: case 11734: case 11740: case 11746: case 11752: case 11758: case 11764: case 11770: case 11776: case 11782: case 11788: case 11794: case 11800: case 11806: case 11812: case 11818: case 11824: case 11830: case 11836: return West::None;
@@ -10523,13 +9750,13 @@ namespace Block
}
namespace RedShulkerBox
{
- short RedShulkerBox()
+ BlockState RedShulkerBox()
{
return 9366;
}
- eBlockFace Facing(short ID)
+ eBlockFace Facing(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 9365: return eBlockFace::BLOCK_FACE_XM;
case 9363: return eBlockFace::BLOCK_FACE_XP;
@@ -10545,37 +9772,37 @@ namespace Block
}
namespace RedStainedGlassPane
{
- short RedStainedGlassPane()
+ BlockState RedStainedGlassPane()
{
return 7342;
}
- bool East(short ID)
+ bool East(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 7329: case 7330: case 7333: case 7334: case 7337: case 7338: case 7341: case 7342: return false;
default: return true;
}
}
- bool North(short ID)
+ bool North(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 7321: case 7322: case 7325: case 7326: case 7337: case 7338: case 7341: case 7342: return false;
default: return true;
}
}
- bool South(short ID)
+ bool South(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 7317: case 7318: case 7325: case 7326: case 7333: case 7334: case 7341: case 7342: return false;
default: return true;
}
}
- bool West(short ID)
+ bool West(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 7314: case 7318: case 7322: case 7326: case 7330: case 7334: case 7338: case 7342: return false;
default: return true;
@@ -10590,13 +9817,13 @@ namespace Block
}
namespace RedWallBanner
{
- short RedWallBanner()
+ BlockState RedWallBanner()
{
return 8209;
}
- eBlockFace Facing(short ID)
+ eBlockFace Facing(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 8211: return eBlockFace::BLOCK_FACE_XM;
case 8212: return eBlockFace::BLOCK_FACE_XP;
@@ -10613,13 +9840,13 @@ namespace Block
}
namespace RedstoneLamp
{
- short RedstoneLamp()
+ BlockState RedstoneLamp()
{
return 5157;
}
- bool Lit(short ID)
+ bool Lit(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 5157: return false;
default: return true;
@@ -10628,13 +9855,13 @@ namespace Block
}
namespace RedstoneOre
{
- short RedstoneOre()
+ BlockState RedstoneOre()
{
return 3886;
}
- bool Lit(short ID)
+ bool Lit(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 3886: return false;
default: return true;
@@ -10643,13 +9870,13 @@ namespace Block
}
namespace RedstoneTorch
{
- short RedstoneTorch()
+ BlockState RedstoneTorch()
{
return 3887;
}
- bool Lit(short ID)
+ bool Lit(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 3888: return false;
default: return true;
@@ -10658,13 +9885,13 @@ namespace Block
}
namespace RedstoneWallTorch
{
- short RedstoneWallTorch()
+ BlockState RedstoneWallTorch()
{
return 3889;
}
- eBlockFace Facing(short ID)
+ eBlockFace Facing(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 3893: case 3894: return eBlockFace::BLOCK_FACE_XM;
case 3895: case 3896: return eBlockFace::BLOCK_FACE_XP;
@@ -10672,9 +9899,9 @@ namespace Block
default: return eBlockFace::BLOCK_FACE_ZP;
}
}
- bool Lit(short ID)
+ bool Lit(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 3890: case 3892: case 3894: case 3896: return false;
default: return true;
@@ -10683,31 +9910,31 @@ namespace Block
}
namespace RedstoneWire
{
- short RedstoneWire()
+ BlockState RedstoneWire()
{
return 3218;
}
- enum East East(short ID)
+ enum East East(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 2922: case 2923: case 2924: case 2925: case 2926: case 2927: case 2928: case 2929: case 2930: case 2931: case 2932: case 2933: case 2934: case 2935: case 2936: case 2937: case 2938: case 2939: case 2940: case 2941: case 2942: case 2943: case 2944: case 2945: case 2946: case 2947: case 2948: case 2949: case 2950: case 2951: case 2952: case 2953: case 2954: case 2955: case 2956: case 2957: case 2958: case 2959: case 2960: case 2961: case 2962: case 2963: case 2964: case 2965: case 2966: case 2967: case 2968: case 2969: case 2970: case 2971: case 2972: case 2973: case 2974: case 2975: case 2976: case 2977: case 2978: case 2979: case 2980: case 2981: case 2982: case 2983: case 2984: case 2985: case 2986: case 2987: case 2988: case 2989: case 2990: case 2991: case 2992: case 2993: case 2994: case 2995: case 2996: case 2997: case 2998: case 2999: case 3000: case 3001: case 3002: case 3003: case 3004: case 3005: case 3006: case 3007: case 3008: case 3009: case 3010: case 3011: case 3012: case 3013: case 3014: case 3015: case 3016: case 3017: case 3018: case 3019: case 3020: case 3021: case 3022: case 3023: case 3024: case 3025: case 3026: case 3027: case 3028: case 3029: case 3030: case 3031: case 3032: case 3033: case 3034: case 3035: case 3036: case 3037: case 3038: case 3039: case 3040: case 3041: case 3042: case 3043: case 3044: case 3045: case 3046: case 3047: case 3048: case 3049: case 3050: case 3051: case 3052: case 3053: case 3054: case 3055: case 3056: case 3057: case 3058: case 3059: case 3060: case 3061: case 3062: case 3063: case 3064: case 3065: case 3066: case 3067: case 3068: case 3069: case 3070: case 3071: case 3072: case 3073: case 3074: case 3075: case 3076: case 3077: case 3078: case 3079: case 3080: case 3081: case 3082: case 3083: case 3084: case 3085: case 3086: case 3087: case 3088: case 3089: case 3090: case 3091: case 3092: case 3093: case 3094: case 3095: case 3096: case 3097: case 3098: case 3099: case 3100: case 3101: case 3102: case 3103: case 3104: case 3105: case 3106: case 3107: case 3108: case 3109: case 3110: case 3111: case 3112: case 3113: case 3114: case 3115: case 3116: case 3117: case 3118: case 3119: case 3120: case 3121: case 3122: case 3123: case 3124: case 3125: case 3126: case 3127: case 3128: case 3129: case 3130: case 3131: case 3132: case 3133: case 3134: case 3135: case 3136: case 3137: case 3138: case 3139: case 3140: case 3141: case 3142: case 3143: case 3144: case 3145: case 3146: case 3147: case 3148: case 3149: case 3150: case 3151: case 3152: case 3153: case 3154: case 3155: case 3156: case 3157: case 3158: case 3159: case 3160: case 3161: case 3162: case 3163: case 3164: case 3165: case 3166: case 3167: case 3168: case 3169: case 3170: case 3171: case 3172: case 3173: case 3174: case 3175: case 3176: case 3177: case 3178: case 3179: case 3180: case 3181: case 3182: case 3183: case 3184: case 3185: case 3186: case 3187: case 3188: case 3189: case 3190: case 3191: case 3192: case 3193: case 3194: case 3195: case 3196: case 3197: case 3198: case 3199: case 3200: case 3201: case 3202: case 3203: case 3204: case 3205: case 3206: case 3207: case 3208: case 3209: case 3210: case 3211: case 3212: case 3213: case 3214: case 3215: case 3216: case 3217: case 3218: case 3219: case 3220: case 3221: case 3222: case 3223: case 3224: case 3225: case 3226: case 3227: case 3228: case 3229: case 3230: case 3231: case 3232: case 3233: case 3234: case 3235: case 3236: case 3237: case 3238: case 3239: case 3240: case 3241: case 3242: case 3243: case 3244: case 3245: case 3246: case 3247: case 3248: case 3249: case 3250: case 3251: case 3252: case 3253: case 3254: case 3255: case 3256: case 3257: case 3258: case 3259: case 3260: case 3261: case 3262: case 3263: case 3264: case 3265: case 3266: case 3267: case 3268: case 3269: case 3270: case 3271: case 3272: case 3273: case 3274: case 3275: case 3276: case 3277: case 3278: case 3279: case 3280: case 3281: case 3282: case 3283: case 3284: case 3285: case 3286: case 3287: case 3288: case 3289: case 3290: case 3291: case 3292: case 3293: case 3294: case 3295: case 3296: case 3297: case 3298: case 3299: case 3300: case 3301: case 3302: case 3303: case 3304: case 3305: case 3306: case 3307: case 3308: case 3309: case 3310: case 3311: case 3312: case 3313: case 3314: case 3315: case 3316: case 3317: case 3318: case 3319: case 3320: case 3321: case 3322: case 3323: case 3324: case 3325: case 3326: case 3327: case 3328: case 3329: case 3330: case 3331: case 3332: case 3333: case 3334: case 3335: case 3336: case 3337: case 3338: case 3339: case 3340: case 3341: case 3342: case 3343: case 3344: case 3345: case 3346: case 3347: case 3348: case 3349: case 3350: case 3351: case 3352: case 3353: return East::None;
case 2490: case 2491: case 2492: case 2493: case 2494: case 2495: case 2496: case 2497: case 2498: case 2499: case 2500: case 2501: case 2502: case 2503: case 2504: case 2505: case 2506: case 2507: case 2508: case 2509: case 2510: case 2511: case 2512: case 2513: case 2514: case 2515: case 2516: case 2517: case 2518: case 2519: case 2520: case 2521: case 2522: case 2523: case 2524: case 2525: case 2526: case 2527: case 2528: case 2529: case 2530: case 2531: case 2532: case 2533: case 2534: case 2535: case 2536: case 2537: case 2538: case 2539: case 2540: case 2541: case 2542: case 2543: case 2544: case 2545: case 2546: case 2547: case 2548: case 2549: case 2550: case 2551: case 2552: case 2553: case 2554: case 2555: case 2556: case 2557: case 2558: case 2559: case 2560: case 2561: case 2562: case 2563: case 2564: case 2565: case 2566: case 2567: case 2568: case 2569: case 2570: case 2571: case 2572: case 2573: case 2574: case 2575: case 2576: case 2577: case 2578: case 2579: case 2580: case 2581: case 2582: case 2583: case 2584: case 2585: case 2586: case 2587: case 2588: case 2589: case 2590: case 2591: case 2592: case 2593: case 2594: case 2595: case 2596: case 2597: case 2598: case 2599: case 2600: case 2601: case 2602: case 2603: case 2604: case 2605: case 2606: case 2607: case 2608: case 2609: case 2610: case 2611: case 2612: case 2613: case 2614: case 2615: case 2616: case 2617: case 2618: case 2619: case 2620: case 2621: case 2622: case 2623: case 2624: case 2625: case 2626: case 2627: case 2628: case 2629: case 2630: case 2631: case 2632: case 2633: case 2634: case 2635: case 2636: case 2637: case 2638: case 2639: case 2640: case 2641: case 2642: case 2643: case 2644: case 2645: case 2646: case 2647: case 2648: case 2649: case 2650: case 2651: case 2652: case 2653: case 2654: case 2655: case 2656: case 2657: case 2658: case 2659: case 2660: case 2661: case 2662: case 2663: case 2664: case 2665: case 2666: case 2667: case 2668: case 2669: case 2670: case 2671: case 2672: case 2673: case 2674: case 2675: case 2676: case 2677: case 2678: case 2679: case 2680: case 2681: case 2682: case 2683: case 2684: case 2685: case 2686: case 2687: case 2688: case 2689: case 2690: case 2691: case 2692: case 2693: case 2694: case 2695: case 2696: case 2697: case 2698: case 2699: case 2700: case 2701: case 2702: case 2703: case 2704: case 2705: case 2706: case 2707: case 2708: case 2709: case 2710: case 2711: case 2712: case 2713: case 2714: case 2715: case 2716: case 2717: case 2718: case 2719: case 2720: case 2721: case 2722: case 2723: case 2724: case 2725: case 2726: case 2727: case 2728: case 2729: case 2730: case 2731: case 2732: case 2733: case 2734: case 2735: case 2736: case 2737: case 2738: case 2739: case 2740: case 2741: case 2742: case 2743: case 2744: case 2745: case 2746: case 2747: case 2748: case 2749: case 2750: case 2751: case 2752: case 2753: case 2754: case 2755: case 2756: case 2757: case 2758: case 2759: case 2760: case 2761: case 2762: case 2763: case 2764: case 2765: case 2766: case 2767: case 2768: case 2769: case 2770: case 2771: case 2772: case 2773: case 2774: case 2775: case 2776: case 2777: case 2778: case 2779: case 2780: case 2781: case 2782: case 2783: case 2784: case 2785: case 2786: case 2787: case 2788: case 2789: case 2790: case 2791: case 2792: case 2793: case 2794: case 2795: case 2796: case 2797: case 2798: case 2799: case 2800: case 2801: case 2802: case 2803: case 2804: case 2805: case 2806: case 2807: case 2808: case 2809: case 2810: case 2811: case 2812: case 2813: case 2814: case 2815: case 2816: case 2817: case 2818: case 2819: case 2820: case 2821: case 2822: case 2823: case 2824: case 2825: case 2826: case 2827: case 2828: case 2829: case 2830: case 2831: case 2832: case 2833: case 2834: case 2835: case 2836: case 2837: case 2838: case 2839: case 2840: case 2841: case 2842: case 2843: case 2844: case 2845: case 2846: case 2847: case 2848: case 2849: case 2850: case 2851: case 2852: case 2853: case 2854: case 2855: case 2856: case 2857: case 2858: case 2859: case 2860: case 2861: case 2862: case 2863: case 2864: case 2865: case 2866: case 2867: case 2868: case 2869: case 2870: case 2871: case 2872: case 2873: case 2874: case 2875: case 2876: case 2877: case 2878: case 2879: case 2880: case 2881: case 2882: case 2883: case 2884: case 2885: case 2886: case 2887: case 2888: case 2889: case 2890: case 2891: case 2892: case 2893: case 2894: case 2895: case 2896: case 2897: case 2898: case 2899: case 2900: case 2901: case 2902: case 2903: case 2904: case 2905: case 2906: case 2907: case 2908: case 2909: case 2910: case 2911: case 2912: case 2913: case 2914: case 2915: case 2916: case 2917: case 2918: case 2919: case 2920: case 2921: return East::Side;
default: return East::Up;
}
}
- enum North North(short ID)
+ enum North North(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 2346: case 2347: case 2348: case 2349: case 2350: case 2351: case 2352: case 2353: case 2354: case 2355: case 2356: case 2357: case 2358: case 2359: case 2360: case 2361: case 2362: case 2363: case 2364: case 2365: case 2366: case 2367: case 2368: case 2369: case 2370: case 2371: case 2372: case 2373: case 2374: case 2375: case 2376: case 2377: case 2378: case 2379: case 2380: case 2381: case 2382: case 2383: case 2384: case 2385: case 2386: case 2387: case 2388: case 2389: case 2390: case 2391: case 2392: case 2393: case 2394: case 2395: case 2396: case 2397: case 2398: case 2399: case 2400: case 2401: case 2402: case 2403: case 2404: case 2405: case 2406: case 2407: case 2408: case 2409: case 2410: case 2411: case 2412: case 2413: case 2414: case 2415: case 2416: case 2417: case 2418: case 2419: case 2420: case 2421: case 2422: case 2423: case 2424: case 2425: case 2426: case 2427: case 2428: case 2429: case 2430: case 2431: case 2432: case 2433: case 2434: case 2435: case 2436: case 2437: case 2438: case 2439: case 2440: case 2441: case 2442: case 2443: case 2444: case 2445: case 2446: case 2447: case 2448: case 2449: case 2450: case 2451: case 2452: case 2453: case 2454: case 2455: case 2456: case 2457: case 2458: case 2459: case 2460: case 2461: case 2462: case 2463: case 2464: case 2465: case 2466: case 2467: case 2468: case 2469: case 2470: case 2471: case 2472: case 2473: case 2474: case 2475: case 2476: case 2477: case 2478: case 2479: case 2480: case 2481: case 2482: case 2483: case 2484: case 2485: case 2486: case 2487: case 2488: case 2489: case 2778: case 2779: case 2780: case 2781: case 2782: case 2783: case 2784: case 2785: case 2786: case 2787: case 2788: case 2789: case 2790: case 2791: case 2792: case 2793: case 2794: case 2795: case 2796: case 2797: case 2798: case 2799: case 2800: case 2801: case 2802: case 2803: case 2804: case 2805: case 2806: case 2807: case 2808: case 2809: case 2810: case 2811: case 2812: case 2813: case 2814: case 2815: case 2816: case 2817: case 2818: case 2819: case 2820: case 2821: case 2822: case 2823: case 2824: case 2825: case 2826: case 2827: case 2828: case 2829: case 2830: case 2831: case 2832: case 2833: case 2834: case 2835: case 2836: case 2837: case 2838: case 2839: case 2840: case 2841: case 2842: case 2843: case 2844: case 2845: case 2846: case 2847: case 2848: case 2849: case 2850: case 2851: case 2852: case 2853: case 2854: case 2855: case 2856: case 2857: case 2858: case 2859: case 2860: case 2861: case 2862: case 2863: case 2864: case 2865: case 2866: case 2867: case 2868: case 2869: case 2870: case 2871: case 2872: case 2873: case 2874: case 2875: case 2876: case 2877: case 2878: case 2879: case 2880: case 2881: case 2882: case 2883: case 2884: case 2885: case 2886: case 2887: case 2888: case 2889: case 2890: case 2891: case 2892: case 2893: case 2894: case 2895: case 2896: case 2897: case 2898: case 2899: case 2900: case 2901: case 2902: case 2903: case 2904: case 2905: case 2906: case 2907: case 2908: case 2909: case 2910: case 2911: case 2912: case 2913: case 2914: case 2915: case 2916: case 2917: case 2918: case 2919: case 2920: case 2921: case 3210: case 3211: case 3212: case 3213: case 3214: case 3215: case 3216: case 3217: case 3218: case 3219: case 3220: case 3221: case 3222: case 3223: case 3224: case 3225: case 3226: case 3227: case 3228: case 3229: case 3230: case 3231: case 3232: case 3233: case 3234: case 3235: case 3236: case 3237: case 3238: case 3239: case 3240: case 3241: case 3242: case 3243: case 3244: case 3245: case 3246: case 3247: case 3248: case 3249: case 3250: case 3251: case 3252: case 3253: case 3254: case 3255: case 3256: case 3257: case 3258: case 3259: case 3260: case 3261: case 3262: case 3263: case 3264: case 3265: case 3266: case 3267: case 3268: case 3269: case 3270: case 3271: case 3272: case 3273: case 3274: case 3275: case 3276: case 3277: case 3278: case 3279: case 3280: case 3281: case 3282: case 3283: case 3284: case 3285: case 3286: case 3287: case 3288: case 3289: case 3290: case 3291: case 3292: case 3293: case 3294: case 3295: case 3296: case 3297: case 3298: case 3299: case 3300: case 3301: case 3302: case 3303: case 3304: case 3305: case 3306: case 3307: case 3308: case 3309: case 3310: case 3311: case 3312: case 3313: case 3314: case 3315: case 3316: case 3317: case 3318: case 3319: case 3320: case 3321: case 3322: case 3323: case 3324: case 3325: case 3326: case 3327: case 3328: case 3329: case 3330: case 3331: case 3332: case 3333: case 3334: case 3335: case 3336: case 3337: case 3338: case 3339: case 3340: case 3341: case 3342: case 3343: case 3344: case 3345: case 3346: case 3347: case 3348: case 3349: case 3350: case 3351: case 3352: case 3353: return North::None;
case 2202: case 2203: case 2204: case 2205: case 2206: case 2207: case 2208: case 2209: case 2210: case 2211: case 2212: case 2213: case 2214: case 2215: case 2216: case 2217: case 2218: case 2219: case 2220: case 2221: case 2222: case 2223: case 2224: case 2225: case 2226: case 2227: case 2228: case 2229: case 2230: case 2231: case 2232: case 2233: case 2234: case 2235: case 2236: case 2237: case 2238: case 2239: case 2240: case 2241: case 2242: case 2243: case 2244: case 2245: case 2246: case 2247: case 2248: case 2249: case 2250: case 2251: case 2252: case 2253: case 2254: case 2255: case 2256: case 2257: case 2258: case 2259: case 2260: case 2261: case 2262: case 2263: case 2264: case 2265: case 2266: case 2267: case 2268: case 2269: case 2270: case 2271: case 2272: case 2273: case 2274: case 2275: case 2276: case 2277: case 2278: case 2279: case 2280: case 2281: case 2282: case 2283: case 2284: case 2285: case 2286: case 2287: case 2288: case 2289: case 2290: case 2291: case 2292: case 2293: case 2294: case 2295: case 2296: case 2297: case 2298: case 2299: case 2300: case 2301: case 2302: case 2303: case 2304: case 2305: case 2306: case 2307: case 2308: case 2309: case 2310: case 2311: case 2312: case 2313: case 2314: case 2315: case 2316: case 2317: case 2318: case 2319: case 2320: case 2321: case 2322: case 2323: case 2324: case 2325: case 2326: case 2327: case 2328: case 2329: case 2330: case 2331: case 2332: case 2333: case 2334: case 2335: case 2336: case 2337: case 2338: case 2339: case 2340: case 2341: case 2342: case 2343: case 2344: case 2345: case 2634: case 2635: case 2636: case 2637: case 2638: case 2639: case 2640: case 2641: case 2642: case 2643: case 2644: case 2645: case 2646: case 2647: case 2648: case 2649: case 2650: case 2651: case 2652: case 2653: case 2654: case 2655: case 2656: case 2657: case 2658: case 2659: case 2660: case 2661: case 2662: case 2663: case 2664: case 2665: case 2666: case 2667: case 2668: case 2669: case 2670: case 2671: case 2672: case 2673: case 2674: case 2675: case 2676: case 2677: case 2678: case 2679: case 2680: case 2681: case 2682: case 2683: case 2684: case 2685: case 2686: case 2687: case 2688: case 2689: case 2690: case 2691: case 2692: case 2693: case 2694: case 2695: case 2696: case 2697: case 2698: case 2699: case 2700: case 2701: case 2702: case 2703: case 2704: case 2705: case 2706: case 2707: case 2708: case 2709: case 2710: case 2711: case 2712: case 2713: case 2714: case 2715: case 2716: case 2717: case 2718: case 2719: case 2720: case 2721: case 2722: case 2723: case 2724: case 2725: case 2726: case 2727: case 2728: case 2729: case 2730: case 2731: case 2732: case 2733: case 2734: case 2735: case 2736: case 2737: case 2738: case 2739: case 2740: case 2741: case 2742: case 2743: case 2744: case 2745: case 2746: case 2747: case 2748: case 2749: case 2750: case 2751: case 2752: case 2753: case 2754: case 2755: case 2756: case 2757: case 2758: case 2759: case 2760: case 2761: case 2762: case 2763: case 2764: case 2765: case 2766: case 2767: case 2768: case 2769: case 2770: case 2771: case 2772: case 2773: case 2774: case 2775: case 2776: case 2777: case 3066: case 3067: case 3068: case 3069: case 3070: case 3071: case 3072: case 3073: case 3074: case 3075: case 3076: case 3077: case 3078: case 3079: case 3080: case 3081: case 3082: case 3083: case 3084: case 3085: case 3086: case 3087: case 3088: case 3089: case 3090: case 3091: case 3092: case 3093: case 3094: case 3095: case 3096: case 3097: case 3098: case 3099: case 3100: case 3101: case 3102: case 3103: case 3104: case 3105: case 3106: case 3107: case 3108: case 3109: case 3110: case 3111: case 3112: case 3113: case 3114: case 3115: case 3116: case 3117: case 3118: case 3119: case 3120: case 3121: case 3122: case 3123: case 3124: case 3125: case 3126: case 3127: case 3128: case 3129: case 3130: case 3131: case 3132: case 3133: case 3134: case 3135: case 3136: case 3137: case 3138: case 3139: case 3140: case 3141: case 3142: case 3143: case 3144: case 3145: case 3146: case 3147: case 3148: case 3149: case 3150: case 3151: case 3152: case 3153: case 3154: case 3155: case 3156: case 3157: case 3158: case 3159: case 3160: case 3161: case 3162: case 3163: case 3164: case 3165: case 3166: case 3167: case 3168: case 3169: case 3170: case 3171: case 3172: case 3173: case 3174: case 3175: case 3176: case 3177: case 3178: case 3179: case 3180: case 3181: case 3182: case 3183: case 3184: case 3185: case 3186: case 3187: case 3188: case 3189: case 3190: case 3191: case 3192: case 3193: case 3194: case 3195: case 3196: case 3197: case 3198: case 3199: case 3200: case 3201: case 3202: case 3203: case 3204: case 3205: case 3206: case 3207: case 3208: case 3209: return North::Side;
default: return North::Up;
}
}
- unsigned char Power(short ID)
+ unsigned char Power(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 2058: case 2059: case 2060: case 2061: case 2062: case 2063: case 2064: case 2065: case 2066: case 2202: case 2203: case 2204: case 2205: case 2206: case 2207: case 2208: case 2209: case 2210: case 2346: case 2347: case 2348: case 2349: case 2350: case 2351: case 2352: case 2353: case 2354: case 2490: case 2491: case 2492: case 2493: case 2494: case 2495: case 2496: case 2497: case 2498: case 2634: case 2635: case 2636: case 2637: case 2638: case 2639: case 2640: case 2641: case 2642: case 2778: case 2779: case 2780: case 2781: case 2782: case 2783: case 2784: case 2785: case 2786: case 2922: case 2923: case 2924: case 2925: case 2926: case 2927: case 2928: case 2929: case 2930: case 3066: case 3067: case 3068: case 3069: case 3070: case 3071: case 3072: case 3073: case 3074: case 3210: case 3211: case 3212: case 3213: case 3214: case 3215: case 3216: case 3217: case 3218: return 0;
case 2067: case 2068: case 2069: case 2070: case 2071: case 2072: case 2073: case 2074: case 2075: case 2211: case 2212: case 2213: case 2214: case 2215: case 2216: case 2217: case 2218: case 2219: case 2355: case 2356: case 2357: case 2358: case 2359: case 2360: case 2361: case 2362: case 2363: case 2499: case 2500: case 2501: case 2502: case 2503: case 2504: case 2505: case 2506: case 2507: case 2643: case 2644: case 2645: case 2646: case 2647: case 2648: case 2649: case 2650: case 2651: case 2787: case 2788: case 2789: case 2790: case 2791: case 2792: case 2793: case 2794: case 2795: case 2931: case 2932: case 2933: case 2934: case 2935: case 2936: case 2937: case 2938: case 2939: case 3075: case 3076: case 3077: case 3078: case 3079: case 3080: case 3081: case 3082: case 3083: case 3219: case 3220: case 3221: case 3222: case 3223: case 3224: case 3225: case 3226: case 3227: return 1;
@@ -10727,18 +9954,18 @@ namespace Block
default: return 9;
}
}
- enum South South(short ID)
+ enum South South(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 2064: case 2065: case 2066: case 2073: case 2074: case 2075: case 2082: case 2083: case 2084: case 2091: case 2092: case 2093: case 2100: case 2101: case 2102: case 2109: case 2110: case 2111: case 2118: case 2119: case 2120: case 2127: case 2128: case 2129: case 2136: case 2137: case 2138: case 2145: case 2146: case 2147: case 2154: case 2155: case 2156: case 2163: case 2164: case 2165: case 2172: case 2173: case 2174: case 2181: case 2182: case 2183: case 2190: case 2191: case 2192: case 2199: case 2200: case 2201: case 2208: case 2209: case 2210: case 2217: case 2218: case 2219: case 2226: case 2227: case 2228: case 2235: case 2236: case 2237: case 2244: case 2245: case 2246: case 2253: case 2254: case 2255: case 2262: case 2263: case 2264: case 2271: case 2272: case 2273: case 2280: case 2281: case 2282: case 2289: case 2290: case 2291: case 2298: case 2299: case 2300: case 2307: case 2308: case 2309: case 2316: case 2317: case 2318: case 2325: case 2326: case 2327: case 2334: case 2335: case 2336: case 2343: case 2344: case 2345: case 2352: case 2353: case 2354: case 2361: case 2362: case 2363: case 2370: case 2371: case 2372: case 2379: case 2380: case 2381: case 2388: case 2389: case 2390: case 2397: case 2398: case 2399: case 2406: case 2407: case 2408: case 2415: case 2416: case 2417: case 2424: case 2425: case 2426: case 2433: case 2434: case 2435: case 2442: case 2443: case 2444: case 2451: case 2452: case 2453: case 2460: case 2461: case 2462: case 2469: case 2470: case 2471: case 2478: case 2479: case 2480: case 2487: case 2488: case 2489: case 2496: case 2497: case 2498: case 2505: case 2506: case 2507: case 2514: case 2515: case 2516: case 2523: case 2524: case 2525: case 2532: case 2533: case 2534: case 2541: case 2542: case 2543: case 2550: case 2551: case 2552: case 2559: case 2560: case 2561: case 2568: case 2569: case 2570: case 2577: case 2578: case 2579: case 2586: case 2587: case 2588: case 2595: case 2596: case 2597: case 2604: case 2605: case 2606: case 2613: case 2614: case 2615: case 2622: case 2623: case 2624: case 2631: case 2632: case 2633: case 2640: case 2641: case 2642: case 2649: case 2650: case 2651: case 2658: case 2659: case 2660: case 2667: case 2668: case 2669: case 2676: case 2677: case 2678: case 2685: case 2686: case 2687: case 2694: case 2695: case 2696: case 2703: case 2704: case 2705: case 2712: case 2713: case 2714: case 2721: case 2722: case 2723: case 2730: case 2731: case 2732: case 2739: case 2740: case 2741: case 2748: case 2749: case 2750: case 2757: case 2758: case 2759: case 2766: case 2767: case 2768: case 2775: case 2776: case 2777: case 2784: case 2785: case 2786: case 2793: case 2794: case 2795: case 2802: case 2803: case 2804: case 2811: case 2812: case 2813: case 2820: case 2821: case 2822: case 2829: case 2830: case 2831: case 2838: case 2839: case 2840: case 2847: case 2848: case 2849: case 2856: case 2857: case 2858: case 2865: case 2866: case 2867: case 2874: case 2875: case 2876: case 2883: case 2884: case 2885: case 2892: case 2893: case 2894: case 2901: case 2902: case 2903: case 2910: case 2911: case 2912: case 2919: case 2920: case 2921: case 2928: case 2929: case 2930: case 2937: case 2938: case 2939: case 2946: case 2947: case 2948: case 2955: case 2956: case 2957: case 2964: case 2965: case 2966: case 2973: case 2974: case 2975: case 2982: case 2983: case 2984: case 2991: case 2992: case 2993: case 3000: case 3001: case 3002: case 3009: case 3010: case 3011: case 3018: case 3019: case 3020: case 3027: case 3028: case 3029: case 3036: case 3037: case 3038: case 3045: case 3046: case 3047: case 3054: case 3055: case 3056: case 3063: case 3064: case 3065: case 3072: case 3073: case 3074: case 3081: case 3082: case 3083: case 3090: case 3091: case 3092: case 3099: case 3100: case 3101: case 3108: case 3109: case 3110: case 3117: case 3118: case 3119: case 3126: case 3127: case 3128: case 3135: case 3136: case 3137: case 3144: case 3145: case 3146: case 3153: case 3154: case 3155: case 3162: case 3163: case 3164: case 3171: case 3172: case 3173: case 3180: case 3181: case 3182: case 3189: case 3190: case 3191: case 3198: case 3199: case 3200: case 3207: case 3208: case 3209: case 3216: case 3217: case 3218: case 3225: case 3226: case 3227: case 3234: case 3235: case 3236: case 3243: case 3244: case 3245: case 3252: case 3253: case 3254: case 3261: case 3262: case 3263: case 3270: case 3271: case 3272: case 3279: case 3280: case 3281: case 3288: case 3289: case 3290: case 3297: case 3298: case 3299: case 3306: case 3307: case 3308: case 3315: case 3316: case 3317: case 3324: case 3325: case 3326: case 3333: case 3334: case 3335: case 3342: case 3343: case 3344: case 3351: case 3352: case 3353: return South::None;
case 2061: case 2062: case 2063: case 2070: case 2071: case 2072: case 2079: case 2080: case 2081: case 2088: case 2089: case 2090: case 2097: case 2098: case 2099: case 2106: case 2107: case 2108: case 2115: case 2116: case 2117: case 2124: case 2125: case 2126: case 2133: case 2134: case 2135: case 2142: case 2143: case 2144: case 2151: case 2152: case 2153: case 2160: case 2161: case 2162: case 2169: case 2170: case 2171: case 2178: case 2179: case 2180: case 2187: case 2188: case 2189: case 2196: case 2197: case 2198: case 2205: case 2206: case 2207: case 2214: case 2215: case 2216: case 2223: case 2224: case 2225: case 2232: case 2233: case 2234: case 2241: case 2242: case 2243: case 2250: case 2251: case 2252: case 2259: case 2260: case 2261: case 2268: case 2269: case 2270: case 2277: case 2278: case 2279: case 2286: case 2287: case 2288: case 2295: case 2296: case 2297: case 2304: case 2305: case 2306: case 2313: case 2314: case 2315: case 2322: case 2323: case 2324: case 2331: case 2332: case 2333: case 2340: case 2341: case 2342: case 2349: case 2350: case 2351: case 2358: case 2359: case 2360: case 2367: case 2368: case 2369: case 2376: case 2377: case 2378: case 2385: case 2386: case 2387: case 2394: case 2395: case 2396: case 2403: case 2404: case 2405: case 2412: case 2413: case 2414: case 2421: case 2422: case 2423: case 2430: case 2431: case 2432: case 2439: case 2440: case 2441: case 2448: case 2449: case 2450: case 2457: case 2458: case 2459: case 2466: case 2467: case 2468: case 2475: case 2476: case 2477: case 2484: case 2485: case 2486: case 2493: case 2494: case 2495: case 2502: case 2503: case 2504: case 2511: case 2512: case 2513: case 2520: case 2521: case 2522: case 2529: case 2530: case 2531: case 2538: case 2539: case 2540: case 2547: case 2548: case 2549: case 2556: case 2557: case 2558: case 2565: case 2566: case 2567: case 2574: case 2575: case 2576: case 2583: case 2584: case 2585: case 2592: case 2593: case 2594: case 2601: case 2602: case 2603: case 2610: case 2611: case 2612: case 2619: case 2620: case 2621: case 2628: case 2629: case 2630: case 2637: case 2638: case 2639: case 2646: case 2647: case 2648: case 2655: case 2656: case 2657: case 2664: case 2665: case 2666: case 2673: case 2674: case 2675: case 2682: case 2683: case 2684: case 2691: case 2692: case 2693: case 2700: case 2701: case 2702: case 2709: case 2710: case 2711: case 2718: case 2719: case 2720: case 2727: case 2728: case 2729: case 2736: case 2737: case 2738: case 2745: case 2746: case 2747: case 2754: case 2755: case 2756: case 2763: case 2764: case 2765: case 2772: case 2773: case 2774: case 2781: case 2782: case 2783: case 2790: case 2791: case 2792: case 2799: case 2800: case 2801: case 2808: case 2809: case 2810: case 2817: case 2818: case 2819: case 2826: case 2827: case 2828: case 2835: case 2836: case 2837: case 2844: case 2845: case 2846: case 2853: case 2854: case 2855: case 2862: case 2863: case 2864: case 2871: case 2872: case 2873: case 2880: case 2881: case 2882: case 2889: case 2890: case 2891: case 2898: case 2899: case 2900: case 2907: case 2908: case 2909: case 2916: case 2917: case 2918: case 2925: case 2926: case 2927: case 2934: case 2935: case 2936: case 2943: case 2944: case 2945: case 2952: case 2953: case 2954: case 2961: case 2962: case 2963: case 2970: case 2971: case 2972: case 2979: case 2980: case 2981: case 2988: case 2989: case 2990: case 2997: case 2998: case 2999: case 3006: case 3007: case 3008: case 3015: case 3016: case 3017: case 3024: case 3025: case 3026: case 3033: case 3034: case 3035: case 3042: case 3043: case 3044: case 3051: case 3052: case 3053: case 3060: case 3061: case 3062: case 3069: case 3070: case 3071: case 3078: case 3079: case 3080: case 3087: case 3088: case 3089: case 3096: case 3097: case 3098: case 3105: case 3106: case 3107: case 3114: case 3115: case 3116: case 3123: case 3124: case 3125: case 3132: case 3133: case 3134: case 3141: case 3142: case 3143: case 3150: case 3151: case 3152: case 3159: case 3160: case 3161: case 3168: case 3169: case 3170: case 3177: case 3178: case 3179: case 3186: case 3187: case 3188: case 3195: case 3196: case 3197: case 3204: case 3205: case 3206: case 3213: case 3214: case 3215: case 3222: case 3223: case 3224: case 3231: case 3232: case 3233: case 3240: case 3241: case 3242: case 3249: case 3250: case 3251: case 3258: case 3259: case 3260: case 3267: case 3268: case 3269: case 3276: case 3277: case 3278: case 3285: case 3286: case 3287: case 3294: case 3295: case 3296: case 3303: case 3304: case 3305: case 3312: case 3313: case 3314: case 3321: case 3322: case 3323: case 3330: case 3331: case 3332: case 3339: case 3340: case 3341: case 3348: case 3349: case 3350: return South::Side;
default: return South::Up;
}
}
- enum West West(short ID)
+ enum West West(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 2060: case 2063: case 2066: case 2069: case 2072: case 2075: case 2078: case 2081: case 2084: case 2087: case 2090: case 2093: case 2096: case 2099: case 2102: case 2105: case 2108: case 2111: case 2114: case 2117: case 2120: case 2123: case 2126: case 2129: case 2132: case 2135: case 2138: case 2141: case 2144: case 2147: case 2150: case 2153: case 2156: case 2159: case 2162: case 2165: case 2168: case 2171: case 2174: case 2177: case 2180: case 2183: case 2186: case 2189: case 2192: case 2195: case 2198: case 2201: case 2204: case 2207: case 2210: case 2213: case 2216: case 2219: case 2222: case 2225: case 2228: case 2231: case 2234: case 2237: case 2240: case 2243: case 2246: case 2249: case 2252: case 2255: case 2258: case 2261: case 2264: case 2267: case 2270: case 2273: case 2276: case 2279: case 2282: case 2285: case 2288: case 2291: case 2294: case 2297: case 2300: case 2303: case 2306: case 2309: case 2312: case 2315: case 2318: case 2321: case 2324: case 2327: case 2330: case 2333: case 2336: case 2339: case 2342: case 2345: case 2348: case 2351: case 2354: case 2357: case 2360: case 2363: case 2366: case 2369: case 2372: case 2375: case 2378: case 2381: case 2384: case 2387: case 2390: case 2393: case 2396: case 2399: case 2402: case 2405: case 2408: case 2411: case 2414: case 2417: case 2420: case 2423: case 2426: case 2429: case 2432: case 2435: case 2438: case 2441: case 2444: case 2447: case 2450: case 2453: case 2456: case 2459: case 2462: case 2465: case 2468: case 2471: case 2474: case 2477: case 2480: case 2483: case 2486: case 2489: case 2492: case 2495: case 2498: case 2501: case 2504: case 2507: case 2510: case 2513: case 2516: case 2519: case 2522: case 2525: case 2528: case 2531: case 2534: case 2537: case 2540: case 2543: case 2546: case 2549: case 2552: case 2555: case 2558: case 2561: case 2564: case 2567: case 2570: case 2573: case 2576: case 2579: case 2582: case 2585: case 2588: case 2591: case 2594: case 2597: case 2600: case 2603: case 2606: case 2609: case 2612: case 2615: case 2618: case 2621: case 2624: case 2627: case 2630: case 2633: case 2636: case 2639: case 2642: case 2645: case 2648: case 2651: case 2654: case 2657: case 2660: case 2663: case 2666: case 2669: case 2672: case 2675: case 2678: case 2681: case 2684: case 2687: case 2690: case 2693: case 2696: case 2699: case 2702: case 2705: case 2708: case 2711: case 2714: case 2717: case 2720: case 2723: case 2726: case 2729: case 2732: case 2735: case 2738: case 2741: case 2744: case 2747: case 2750: case 2753: case 2756: case 2759: case 2762: case 2765: case 2768: case 2771: case 2774: case 2777: case 2780: case 2783: case 2786: case 2789: case 2792: case 2795: case 2798: case 2801: case 2804: case 2807: case 2810: case 2813: case 2816: case 2819: case 2822: case 2825: case 2828: case 2831: case 2834: case 2837: case 2840: case 2843: case 2846: case 2849: case 2852: case 2855: case 2858: case 2861: case 2864: case 2867: case 2870: case 2873: case 2876: case 2879: case 2882: case 2885: case 2888: case 2891: case 2894: case 2897: case 2900: case 2903: case 2906: case 2909: case 2912: case 2915: case 2918: case 2921: case 2924: case 2927: case 2930: case 2933: case 2936: case 2939: case 2942: case 2945: case 2948: case 2951: case 2954: case 2957: case 2960: case 2963: case 2966: case 2969: case 2972: case 2975: case 2978: case 2981: case 2984: case 2987: case 2990: case 2993: case 2996: case 2999: case 3002: case 3005: case 3008: case 3011: case 3014: case 3017: case 3020: case 3023: case 3026: case 3029: case 3032: case 3035: case 3038: case 3041: case 3044: case 3047: case 3050: case 3053: case 3056: case 3059: case 3062: case 3065: case 3068: case 3071: case 3074: case 3077: case 3080: case 3083: case 3086: case 3089: case 3092: case 3095: case 3098: case 3101: case 3104: case 3107: case 3110: case 3113: case 3116: case 3119: case 3122: case 3125: case 3128: case 3131: case 3134: case 3137: case 3140: case 3143: case 3146: case 3149: case 3152: case 3155: case 3158: case 3161: case 3164: case 3167: case 3170: case 3173: case 3176: case 3179: case 3182: case 3185: case 3188: case 3191: case 3194: case 3197: case 3200: case 3203: case 3206: case 3209: case 3212: case 3215: case 3218: case 3221: case 3224: case 3227: case 3230: case 3233: case 3236: case 3239: case 3242: case 3245: case 3248: case 3251: case 3254: case 3257: case 3260: case 3263: case 3266: case 3269: case 3272: case 3275: case 3278: case 3281: case 3284: case 3287: case 3290: case 3293: case 3296: case 3299: case 3302: case 3305: case 3308: case 3311: case 3314: case 3317: case 3320: case 3323: case 3326: case 3329: case 3332: case 3335: case 3338: case 3341: case 3344: case 3347: case 3350: case 3353: return West::None;
case 2059: case 2062: case 2065: case 2068: case 2071: case 2074: case 2077: case 2080: case 2083: case 2086: case 2089: case 2092: case 2095: case 2098: case 2101: case 2104: case 2107: case 2110: case 2113: case 2116: case 2119: case 2122: case 2125: case 2128: case 2131: case 2134: case 2137: case 2140: case 2143: case 2146: case 2149: case 2152: case 2155: case 2158: case 2161: case 2164: case 2167: case 2170: case 2173: case 2176: case 2179: case 2182: case 2185: case 2188: case 2191: case 2194: case 2197: case 2200: case 2203: case 2206: case 2209: case 2212: case 2215: case 2218: case 2221: case 2224: case 2227: case 2230: case 2233: case 2236: case 2239: case 2242: case 2245: case 2248: case 2251: case 2254: case 2257: case 2260: case 2263: case 2266: case 2269: case 2272: case 2275: case 2278: case 2281: case 2284: case 2287: case 2290: case 2293: case 2296: case 2299: case 2302: case 2305: case 2308: case 2311: case 2314: case 2317: case 2320: case 2323: case 2326: case 2329: case 2332: case 2335: case 2338: case 2341: case 2344: case 2347: case 2350: case 2353: case 2356: case 2359: case 2362: case 2365: case 2368: case 2371: case 2374: case 2377: case 2380: case 2383: case 2386: case 2389: case 2392: case 2395: case 2398: case 2401: case 2404: case 2407: case 2410: case 2413: case 2416: case 2419: case 2422: case 2425: case 2428: case 2431: case 2434: case 2437: case 2440: case 2443: case 2446: case 2449: case 2452: case 2455: case 2458: case 2461: case 2464: case 2467: case 2470: case 2473: case 2476: case 2479: case 2482: case 2485: case 2488: case 2491: case 2494: case 2497: case 2500: case 2503: case 2506: case 2509: case 2512: case 2515: case 2518: case 2521: case 2524: case 2527: case 2530: case 2533: case 2536: case 2539: case 2542: case 2545: case 2548: case 2551: case 2554: case 2557: case 2560: case 2563: case 2566: case 2569: case 2572: case 2575: case 2578: case 2581: case 2584: case 2587: case 2590: case 2593: case 2596: case 2599: case 2602: case 2605: case 2608: case 2611: case 2614: case 2617: case 2620: case 2623: case 2626: case 2629: case 2632: case 2635: case 2638: case 2641: case 2644: case 2647: case 2650: case 2653: case 2656: case 2659: case 2662: case 2665: case 2668: case 2671: case 2674: case 2677: case 2680: case 2683: case 2686: case 2689: case 2692: case 2695: case 2698: case 2701: case 2704: case 2707: case 2710: case 2713: case 2716: case 2719: case 2722: case 2725: case 2728: case 2731: case 2734: case 2737: case 2740: case 2743: case 2746: case 2749: case 2752: case 2755: case 2758: case 2761: case 2764: case 2767: case 2770: case 2773: case 2776: case 2779: case 2782: case 2785: case 2788: case 2791: case 2794: case 2797: case 2800: case 2803: case 2806: case 2809: case 2812: case 2815: case 2818: case 2821: case 2824: case 2827: case 2830: case 2833: case 2836: case 2839: case 2842: case 2845: case 2848: case 2851: case 2854: case 2857: case 2860: case 2863: case 2866: case 2869: case 2872: case 2875: case 2878: case 2881: case 2884: case 2887: case 2890: case 2893: case 2896: case 2899: case 2902: case 2905: case 2908: case 2911: case 2914: case 2917: case 2920: case 2923: case 2926: case 2929: case 2932: case 2935: case 2938: case 2941: case 2944: case 2947: case 2950: case 2953: case 2956: case 2959: case 2962: case 2965: case 2968: case 2971: case 2974: case 2977: case 2980: case 2983: case 2986: case 2989: case 2992: case 2995: case 2998: case 3001: case 3004: case 3007: case 3010: case 3013: case 3016: case 3019: case 3022: case 3025: case 3028: case 3031: case 3034: case 3037: case 3040: case 3043: case 3046: case 3049: case 3052: case 3055: case 3058: case 3061: case 3064: case 3067: case 3070: case 3073: case 3076: case 3079: case 3082: case 3085: case 3088: case 3091: case 3094: case 3097: case 3100: case 3103: case 3106: case 3109: case 3112: case 3115: case 3118: case 3121: case 3124: case 3127: case 3130: case 3133: case 3136: case 3139: case 3142: case 3145: case 3148: case 3151: case 3154: case 3157: case 3160: case 3163: case 3166: case 3169: case 3172: case 3175: case 3178: case 3181: case 3184: case 3187: case 3190: case 3193: case 3196: case 3199: case 3202: case 3205: case 3208: case 3211: case 3214: case 3217: case 3220: case 3223: case 3226: case 3229: case 3232: case 3235: case 3238: case 3241: case 3244: case 3247: case 3250: case 3253: case 3256: case 3259: case 3262: case 3265: case 3268: case 3271: case 3274: case 3277: case 3280: case 3283: case 3286: case 3289: case 3292: case 3295: case 3298: case 3301: case 3304: case 3307: case 3310: case 3313: case 3316: case 3319: case 3322: case 3325: case 3328: case 3331: case 3334: case 3337: case 3340: case 3343: case 3346: case 3349: case 3352: return West::Side;
@@ -10748,13 +9975,13 @@ namespace Block
}
namespace Repeater
{
- short Repeater()
+ BlockState Repeater()
{
return 4034;
}
- unsigned char Delay(short ID)
+ unsigned char Delay(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 4031: case 4032: case 4033: case 4034: case 4035: case 4036: case 4037: case 4038: case 4039: case 4040: case 4041: case 4042: case 4043: case 4044: case 4045: case 4046: return 1;
case 4047: case 4048: case 4049: case 4050: case 4051: case 4052: case 4053: case 4054: case 4055: case 4056: case 4057: case 4058: case 4059: case 4060: case 4061: case 4062: return 2;
@@ -10762,9 +9989,9 @@ namespace Block
default: return 4;
}
}
- eBlockFace Facing(short ID)
+ eBlockFace Facing(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 4039: case 4040: case 4041: case 4042: case 4055: case 4056: case 4057: case 4058: case 4071: case 4072: case 4073: case 4074: case 4087: case 4088: case 4089: case 4090: return eBlockFace::BLOCK_FACE_XM;
case 4043: case 4044: case 4045: case 4046: case 4059: case 4060: case 4061: case 4062: case 4075: case 4076: case 4077: case 4078: case 4091: case 4092: case 4093: case 4094: return eBlockFace::BLOCK_FACE_XP;
@@ -10772,17 +9999,17 @@ namespace Block
default: return eBlockFace::BLOCK_FACE_ZP;
}
}
- bool Locked(short ID)
+ bool Locked(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 4033: case 4034: case 4037: case 4038: case 4041: case 4042: case 4045: case 4046: case 4049: case 4050: case 4053: case 4054: case 4057: case 4058: case 4061: case 4062: case 4065: case 4066: case 4069: case 4070: case 4073: case 4074: case 4077: case 4078: case 4081: case 4082: case 4085: case 4086: case 4089: case 4090: case 4093: case 4094: return false;
default: return true;
}
}
- bool Powered(short ID)
+ bool Powered(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 4032: case 4034: case 4036: case 4038: case 4040: case 4042: case 4044: case 4046: case 4048: case 4050: case 4052: case 4054: case 4056: case 4058: case 4060: case 4062: case 4064: case 4066: case 4068: case 4070: case 4072: case 4074: case 4076: case 4078: case 4080: case 4082: case 4084: case 4086: case 4088: case 4090: case 4092: case 4094: return false;
default: return true;
@@ -10791,21 +10018,21 @@ namespace Block
}
namespace RepeatingCommandBlock
{
- short RepeatingCommandBlock()
+ BlockState RepeatingCommandBlock()
{
return 9231;
}
- bool Conditional(short ID)
+ bool Conditional(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 9231: case 9232: case 9233: case 9234: case 9235: case 9236: return false;
default: return true;
}
}
- eBlockFace Facing(short ID)
+ eBlockFace Facing(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 9228: case 9234: return eBlockFace::BLOCK_FACE_XM;
case 9226: case 9232: return eBlockFace::BLOCK_FACE_XP;
@@ -10818,13 +10045,13 @@ namespace Block
}
namespace RespawnAnchor
{
- short RespawnAnchor()
+ BlockState RespawnAnchor()
{
return 15829;
}
- unsigned char Charges(short ID)
+ unsigned char Charges(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 15829: return 0;
case 15830: return 1;
@@ -10836,13 +10063,13 @@ namespace Block
}
namespace RoseBush
{
- short RoseBush()
+ BlockState RoseBush()
{
return 7890;
}
- enum Half Half(short ID)
+ enum Half Half(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 7890: return Half::Lower;
default: return Half::Upper;
@@ -10857,13 +10084,13 @@ namespace Block
}
namespace SandstoneSlab
{
- short SandstoneSlab()
+ BlockState SandstoneSlab()
{
return 8351;
}
- enum Type Type(short ID)
+ enum Type Type(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 8351: return Type::Bottom;
case 8353: return Type::Double;
@@ -10873,13 +10100,13 @@ namespace Block
}
namespace SandstoneStairs
{
- short SandstoneStairs()
+ BlockState SandstoneStairs()
{
return 5181;
}
- eBlockFace Facing(short ID)
+ eBlockFace Facing(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 5211: case 5213: case 5215: case 5217: case 5219: case 5221: case 5223: case 5225: case 5227: case 5229: return eBlockFace::BLOCK_FACE_XM;
case 5231: case 5233: case 5235: case 5237: case 5239: case 5241: case 5243: case 5245: case 5247: case 5249: return eBlockFace::BLOCK_FACE_XP;
@@ -10887,17 +10114,17 @@ namespace Block
default: return eBlockFace::BLOCK_FACE_ZP;
}
}
- enum Half Half(short ID)
+ enum Half Half(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 5181: case 5183: case 5185: case 5187: case 5189: case 5201: case 5203: case 5205: case 5207: case 5209: case 5221: case 5223: case 5225: case 5227: case 5229: case 5241: case 5243: case 5245: case 5247: case 5249: return Half::Bottom;
default: return Half::Top;
}
}
- enum Shape Shape(short ID)
+ enum Shape Shape(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 5173: case 5183: case 5193: case 5203: case 5213: case 5223: case 5233: case 5243: return Shape::InnerLeft;
case 5175: case 5185: case 5195: case 5205: case 5215: case 5225: case 5235: case 5245: return Shape::InnerRight;
@@ -10909,48 +10136,48 @@ namespace Block
}
namespace SandstoneWall
{
- short SandstoneWall()
+ BlockState SandstoneWall()
{
return 13786;
}
- enum East East(short ID)
+ enum East East(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 13894: case 13895: case 13896: case 13900: case 13901: case 13902: case 13906: case 13907: case 13908: case 13912: case 13913: case 13914: case 13918: case 13919: case 13920: case 13924: case 13925: case 13926: case 13930: case 13931: case 13932: case 13936: case 13937: case 13938: case 13942: case 13943: case 13944: case 13948: case 13949: case 13950: case 13954: case 13955: case 13956: case 13960: case 13961: case 13962: case 13966: case 13967: case 13968: case 13972: case 13973: case 13974: case 13978: case 13979: case 13980: case 13984: case 13985: case 13986: case 13990: case 13991: case 13992: case 13996: case 13997: case 13998: return East::Low;
case 13786: case 13787: case 13788: case 13792: case 13793: case 13794: case 13798: case 13799: case 13800: case 13804: case 13805: case 13806: case 13810: case 13811: case 13812: case 13816: case 13817: case 13818: case 13822: case 13823: case 13824: case 13828: case 13829: case 13830: case 13834: case 13835: case 13836: case 13840: case 13841: case 13842: case 13846: case 13847: case 13848: case 13852: case 13853: case 13854: case 13858: case 13859: case 13860: case 13864: case 13865: case 13866: case 13870: case 13871: case 13872: case 13876: case 13877: case 13878: case 13882: case 13883: case 13884: case 13888: case 13889: case 13890: return East::None;
default: return East::Tall;
}
}
- enum North North(short ID)
+ enum North North(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 13822: case 13823: case 13824: case 13828: case 13829: case 13830: case 13834: case 13835: case 13836: case 13840: case 13841: case 13842: case 13846: case 13847: case 13848: case 13852: case 13853: case 13854: case 13930: case 13931: case 13932: case 13936: case 13937: case 13938: case 13942: case 13943: case 13944: case 13948: case 13949: case 13950: case 13954: case 13955: case 13956: case 13960: case 13961: case 13962: case 14038: case 14039: case 14040: case 14044: case 14045: case 14046: case 14050: case 14051: case 14052: case 14056: case 14057: case 14058: case 14062: case 14063: case 14064: case 14068: case 14069: case 14070: return North::Low;
case 13786: case 13787: case 13788: case 13792: case 13793: case 13794: case 13798: case 13799: case 13800: case 13804: case 13805: case 13806: case 13810: case 13811: case 13812: case 13816: case 13817: case 13818: case 13894: case 13895: case 13896: case 13900: case 13901: case 13902: case 13906: case 13907: case 13908: case 13912: case 13913: case 13914: case 13918: case 13919: case 13920: case 13924: case 13925: case 13926: case 14002: case 14003: case 14004: case 14008: case 14009: case 14010: case 14014: case 14015: case 14016: case 14020: case 14021: case 14022: case 14026: case 14027: case 14028: case 14032: case 14033: case 14034: return North::None;
default: return North::Tall;
}
}
- enum South South(short ID)
+ enum South South(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 13798: case 13799: case 13800: case 13804: case 13805: case 13806: case 13834: case 13835: case 13836: case 13840: case 13841: case 13842: case 13870: case 13871: case 13872: case 13876: case 13877: case 13878: case 13906: case 13907: case 13908: case 13912: case 13913: case 13914: case 13942: case 13943: case 13944: case 13948: case 13949: case 13950: case 13978: case 13979: case 13980: case 13984: case 13985: case 13986: case 14014: case 14015: case 14016: case 14020: case 14021: case 14022: case 14050: case 14051: case 14052: case 14056: case 14057: case 14058: case 14086: case 14087: case 14088: case 14092: case 14093: case 14094: return South::Low;
case 13786: case 13787: case 13788: case 13792: case 13793: case 13794: case 13822: case 13823: case 13824: case 13828: case 13829: case 13830: case 13858: case 13859: case 13860: case 13864: case 13865: case 13866: case 13894: case 13895: case 13896: case 13900: case 13901: case 13902: case 13930: case 13931: case 13932: case 13936: case 13937: case 13938: case 13966: case 13967: case 13968: case 13972: case 13973: case 13974: case 14002: case 14003: case 14004: case 14008: case 14009: case 14010: case 14038: case 14039: case 14040: case 14044: case 14045: case 14046: case 14074: case 14075: case 14076: case 14080: case 14081: case 14082: return South::None;
default: return South::Tall;
}
}
- bool Up(short ID)
+ bool Up(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 13792: case 13793: case 13794: case 13804: case 13805: case 13806: case 13816: case 13817: case 13818: case 13828: case 13829: case 13830: case 13840: case 13841: case 13842: case 13852: case 13853: case 13854: case 13864: case 13865: case 13866: case 13876: case 13877: case 13878: case 13888: case 13889: case 13890: case 13900: case 13901: case 13902: case 13912: case 13913: case 13914: case 13924: case 13925: case 13926: case 13936: case 13937: case 13938: case 13948: case 13949: case 13950: case 13960: case 13961: case 13962: case 13972: case 13973: case 13974: case 13984: case 13985: case 13986: case 13996: case 13997: case 13998: case 14008: case 14009: case 14010: case 14020: case 14021: case 14022: case 14032: case 14033: case 14034: case 14044: case 14045: case 14046: case 14056: case 14057: case 14058: case 14068: case 14069: case 14070: case 14080: case 14081: case 14082: case 14092: case 14093: case 14094: case 14104: case 14105: case 14106: return false;
default: return true;
}
}
- enum West West(short ID)
+ enum West West(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 13787: case 13793: case 13799: case 13805: case 13811: case 13817: case 13823: case 13829: case 13835: case 13841: case 13847: case 13853: case 13859: case 13865: case 13871: case 13877: case 13883: case 13889: case 13895: case 13901: case 13907: case 13913: case 13919: case 13925: case 13931: case 13937: case 13943: case 13949: case 13955: case 13961: case 13967: case 13973: case 13979: case 13985: case 13991: case 13997: case 14003: case 14009: case 14015: case 14021: case 14027: case 14033: case 14039: case 14045: case 14051: case 14057: case 14063: case 14069: case 14075: case 14081: case 14087: case 14093: case 14099: case 14105: return West::Low;
case 13786: case 13792: case 13798: case 13804: case 13810: case 13816: case 13822: case 13828: case 13834: case 13840: case 13846: case 13852: case 13858: case 13864: case 13870: case 13876: case 13882: case 13888: case 13894: case 13900: case 13906: case 13912: case 13918: case 13924: case 13930: case 13936: case 13942: case 13948: case 13954: case 13960: case 13966: case 13972: case 13978: case 13984: case 13990: case 13996: case 14002: case 14008: case 14014: case 14020: case 14026: case 14032: case 14038: case 14044: case 14050: case 14056: case 14062: case 14068: case 14074: case 14080: case 14086: case 14092: case 14098: case 14104: return West::None;
@@ -10960,21 +10187,21 @@ namespace Block
}
namespace Scaffolding
{
- short Scaffolding()
+ BlockState Scaffolding()
{
return 14786;
}
- bool Bottom(short ID)
+ bool Bottom(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 14772: case 14774: case 14776: case 14778: case 14780: case 14782: case 14784: case 14786: return false;
default: return true;
}
}
- unsigned char Distance(short ID)
+ unsigned char Distance(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 14756: case 14772: return 0;
case 14758: case 14774: return 1;
@@ -10992,13 +10219,13 @@ namespace Block
}
namespace SeaPickle
{
- short SeaPickle()
+ BlockState SeaPickle()
{
return 9640;
}
- unsigned char Pickles(short ID)
+ unsigned char Pickles(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 9641: return 1;
case 9643: return 2;
@@ -11015,13 +10242,13 @@ namespace Block
}
namespace ShulkerBox
{
- short ShulkerBox()
+ BlockState ShulkerBox()
{
return 9276;
}
- eBlockFace Facing(short ID)
+ eBlockFace Facing(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 9275: return eBlockFace::BLOCK_FACE_XM;
case 9273: return eBlockFace::BLOCK_FACE_XP;
@@ -11034,13 +10261,13 @@ namespace Block
}
namespace SkeletonSkull
{
- short SkeletonSkull()
+ BlockState SkeletonSkull()
{
return 6490;
}
- unsigned char Rotation(short ID)
+ unsigned char Rotation(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 6490: return 0;
case 6491: return 1;
@@ -11063,13 +10290,13 @@ namespace Block
}
namespace SkeletonWallSkull
{
- short SkeletonWallSkull()
+ BlockState SkeletonWallSkull()
{
return 6506;
}
- eBlockFace Facing(short ID)
+ eBlockFace Facing(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 6508: return eBlockFace::BLOCK_FACE_XM;
case 6509: return eBlockFace::BLOCK_FACE_XP;
@@ -11086,13 +10313,13 @@ namespace Block
}
namespace Smoker
{
- short Smoker()
+ BlockState Smoker()
{
return 14804;
}
- eBlockFace Facing(short ID)
+ eBlockFace Facing(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 14807: case 14808: return eBlockFace::BLOCK_FACE_XM;
case 14809: case 14810: return eBlockFace::BLOCK_FACE_XP;
@@ -11100,9 +10327,9 @@ namespace Block
default: return eBlockFace::BLOCK_FACE_ZP;
}
}
- bool Lit(short ID)
+ bool Lit(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 14804: case 14806: case 14808: case 14810: return false;
default: return true;
@@ -11114,13 +10341,13 @@ namespace Block
}
namespace SmoothQuartzSlab
{
- short SmoothQuartzSlab()
+ BlockState SmoothQuartzSlab()
{
return 10834;
}
- enum Type Type(short ID)
+ enum Type Type(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 10834: return Type::Bottom;
case 10836: return Type::Double;
@@ -11130,13 +10357,13 @@ namespace Block
}
namespace SmoothQuartzStairs
{
- short SmoothQuartzStairs()
+ BlockState SmoothQuartzStairs()
{
return 10320;
}
- eBlockFace Facing(short ID)
+ eBlockFace Facing(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 10350: case 10352: case 10354: case 10356: case 10358: case 10360: case 10362: case 10364: case 10366: case 10368: return eBlockFace::BLOCK_FACE_XM;
case 10370: case 10372: case 10374: case 10376: case 10378: case 10380: case 10382: case 10384: case 10386: case 10388: return eBlockFace::BLOCK_FACE_XP;
@@ -11144,17 +10371,17 @@ namespace Block
default: return eBlockFace::BLOCK_FACE_ZP;
}
}
- enum Half Half(short ID)
+ enum Half Half(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 10320: case 10322: case 10324: case 10326: case 10328: case 10340: case 10342: case 10344: case 10346: case 10348: case 10360: case 10362: case 10364: case 10366: case 10368: case 10380: case 10382: case 10384: case 10386: case 10388: return Half::Bottom;
default: return Half::Top;
}
}
- enum Shape Shape(short ID)
+ enum Shape Shape(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 10312: case 10322: case 10332: case 10342: case 10352: case 10362: case 10372: case 10382: return Shape::InnerLeft;
case 10314: case 10324: case 10334: case 10344: case 10354: case 10364: case 10374: case 10384: return Shape::InnerRight;
@@ -11169,13 +10396,13 @@ namespace Block
}
namespace SmoothRedSandstoneSlab
{
- short SmoothRedSandstoneSlab()
+ BlockState SmoothRedSandstoneSlab()
{
return 10798;
}
- enum Type Type(short ID)
+ enum Type Type(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 10798: return Type::Bottom;
case 10800: return Type::Double;
@@ -11185,13 +10412,13 @@ namespace Block
}
namespace SmoothRedSandstoneStairs
{
- short SmoothRedSandstoneStairs()
+ BlockState SmoothRedSandstoneStairs()
{
return 9760;
}
- eBlockFace Facing(short ID)
+ eBlockFace Facing(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 9790: case 9792: case 9794: case 9796: case 9798: case 9800: case 9802: case 9804: case 9806: case 9808: return eBlockFace::BLOCK_FACE_XM;
case 9810: case 9812: case 9814: case 9816: case 9818: case 9820: case 9822: case 9824: case 9826: case 9828: return eBlockFace::BLOCK_FACE_XP;
@@ -11199,17 +10426,17 @@ namespace Block
default: return eBlockFace::BLOCK_FACE_ZP;
}
}
- enum Half Half(short ID)
+ enum Half Half(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 9760: case 9762: case 9764: case 9766: case 9768: case 9780: case 9782: case 9784: case 9786: case 9788: case 9800: case 9802: case 9804: case 9806: case 9808: case 9820: case 9822: case 9824: case 9826: case 9828: return Half::Bottom;
default: return Half::Top;
}
}
- enum Shape Shape(short ID)
+ enum Shape Shape(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 9752: case 9762: case 9772: case 9782: case 9792: case 9802: case 9812: case 9822: return Shape::InnerLeft;
case 9754: case 9764: case 9774: case 9784: case 9794: case 9804: case 9814: case 9824: return Shape::InnerRight;
@@ -11224,13 +10451,13 @@ namespace Block
}
namespace SmoothSandstoneSlab
{
- short SmoothSandstoneSlab()
+ BlockState SmoothSandstoneSlab()
{
return 10828;
}
- enum Type Type(short ID)
+ enum Type Type(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 10828: return Type::Bottom;
case 10830: return Type::Double;
@@ -11240,13 +10467,13 @@ namespace Block
}
namespace SmoothSandstoneStairs
{
- short SmoothSandstoneStairs()
+ BlockState SmoothSandstoneStairs()
{
return 10240;
}
- eBlockFace Facing(short ID)
+ eBlockFace Facing(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 10270: case 10272: case 10274: case 10276: case 10278: case 10280: case 10282: case 10284: case 10286: case 10288: return eBlockFace::BLOCK_FACE_XM;
case 10290: case 10292: case 10294: case 10296: case 10298: case 10300: case 10302: case 10304: case 10306: case 10308: return eBlockFace::BLOCK_FACE_XP;
@@ -11254,17 +10481,17 @@ namespace Block
default: return eBlockFace::BLOCK_FACE_ZP;
}
}
- enum Half Half(short ID)
+ enum Half Half(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 10240: case 10242: case 10244: case 10246: case 10248: case 10260: case 10262: case 10264: case 10266: case 10268: case 10280: case 10282: case 10284: case 10286: case 10288: case 10300: case 10302: case 10304: case 10306: case 10308: return Half::Bottom;
default: return Half::Top;
}
}
- enum Shape Shape(short ID)
+ enum Shape Shape(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 10232: case 10242: case 10252: case 10262: case 10272: case 10282: case 10292: case 10302: return Shape::InnerLeft;
case 10234: case 10244: case 10254: case 10264: case 10274: case 10284: case 10294: case 10304: return Shape::InnerRight;
@@ -11279,13 +10506,13 @@ namespace Block
}
namespace SmoothStoneSlab
{
- short SmoothStoneSlab()
+ BlockState SmoothStoneSlab()
{
return 8345;
}
- enum Type Type(short ID)
+ enum Type Type(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 8345: return Type::Bottom;
case 8347: return Type::Double;
@@ -11295,13 +10522,13 @@ namespace Block
}
namespace Snow
{
- short Snow()
+ BlockState Snow()
{
return 3921;
}
- unsigned char Layers(short ID)
+ unsigned char Layers(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 3921: return 1;
case 3922: return 2;
@@ -11319,13 +10546,13 @@ namespace Block
}
namespace SoulCampfire
{
- short SoulCampfire()
+ BlockState SoulCampfire()
{
return 14925;
}
- eBlockFace Facing(short ID)
+ eBlockFace Facing(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 14939: case 14941: case 14943: case 14945: return eBlockFace::BLOCK_FACE_XM;
case 14947: case 14949: case 14951: case 14953: return eBlockFace::BLOCK_FACE_XP;
@@ -11333,17 +10560,17 @@ namespace Block
default: return eBlockFace::BLOCK_FACE_ZP;
}
}
- bool Lit(short ID)
+ bool Lit(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 14927: case 14929: case 14935: case 14937: case 14943: case 14945: case 14951: case 14953: return false;
default: return true;
}
}
- bool SignalFire(short ID)
+ bool SignalFire(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 14925: case 14929: case 14933: case 14937: case 14941: case 14945: case 14949: case 14953: return false;
default: return true;
@@ -11355,13 +10582,13 @@ namespace Block
}
namespace SoulLantern
{
- short SoulLantern()
+ BlockState SoulLantern()
{
return 14889;
}
- bool Hanging(short ID)
+ bool Hanging(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 14889: return false;
default: return true;
@@ -11379,13 +10606,13 @@ namespace Block
}
namespace SoulWallTorch
{
- short SoulWallTorch()
+ BlockState SoulWallTorch()
{
return 4009;
}
- eBlockFace Facing(short ID)
+ eBlockFace Facing(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 4011: return eBlockFace::BLOCK_FACE_XM;
case 4012: return eBlockFace::BLOCK_FACE_XP;
@@ -11402,22 +10629,22 @@ namespace Block
}
namespace SpruceButton
{
- short SpruceButton()
+ BlockState SpruceButton()
{
return 6379;
}
- enum Face Face(short ID)
+ enum Face Face(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 6386: case 6387: case 6388: case 6389: case 6390: case 6391: case 6392: case 6393: return Face::Ceiling;
case 6370: case 6371: case 6372: case 6373: case 6374: case 6375: case 6376: case 6377: return Face::Floor;
default: return Face::Wall;
}
}
- eBlockFace Facing(short ID)
+ eBlockFace Facing(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 6374: case 6375: case 6382: case 6383: case 6390: case 6391: return eBlockFace::BLOCK_FACE_XM;
case 6376: case 6377: case 6384: case 6385: case 6392: case 6393: return eBlockFace::BLOCK_FACE_XP;
@@ -11425,9 +10652,9 @@ namespace Block
default: return eBlockFace::BLOCK_FACE_ZP;
}
}
- bool Powered(short ID)
+ bool Powered(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 6371: case 6373: case 6375: case 6377: case 6379: case 6381: case 6383: case 6385: case 6387: case 6389: case 6391: case 6393: return false;
default: return true;
@@ -11436,13 +10663,13 @@ namespace Block
}
namespace SpruceDoor
{
- short SpruceDoor()
+ BlockState SpruceDoor()
{
return 8749;
}
- eBlockFace Facing(short ID)
+ eBlockFace Facing(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 8770: case 8771: case 8772: case 8773: case 8774: case 8775: case 8776: case 8777: case 8778: case 8779: case 8780: case 8781: case 8782: case 8783: case 8784: case 8785: return eBlockFace::BLOCK_FACE_XM;
case 8786: case 8787: case 8788: case 8789: case 8790: case 8791: case 8792: case 8793: case 8794: case 8795: case 8796: case 8797: case 8798: case 8799: case 8800: case 8801: return eBlockFace::BLOCK_FACE_XP;
@@ -11450,33 +10677,33 @@ namespace Block
default: return eBlockFace::BLOCK_FACE_ZP;
}
}
- enum Half Half(short ID)
+ enum Half Half(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 8746: case 8747: case 8748: case 8749: case 8750: case 8751: case 8752: case 8753: case 8762: case 8763: case 8764: case 8765: case 8766: case 8767: case 8768: case 8769: case 8778: case 8779: case 8780: case 8781: case 8782: case 8783: case 8784: case 8785: case 8794: case 8795: case 8796: case 8797: case 8798: case 8799: case 8800: case 8801: return Half::Lower;
default: return Half::Upper;
}
}
- enum Hinge Hinge(short ID)
+ enum Hinge Hinge(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 8738: case 8739: case 8740: case 8741: case 8746: case 8747: case 8748: case 8749: case 8754: case 8755: case 8756: case 8757: case 8762: case 8763: case 8764: case 8765: case 8770: case 8771: case 8772: case 8773: case 8778: case 8779: case 8780: case 8781: case 8786: case 8787: case 8788: case 8789: case 8794: case 8795: case 8796: case 8797: return Hinge::Left;
default: return Hinge::Right;
}
}
- bool Open(short ID)
+ bool Open(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 8740: case 8741: case 8744: case 8745: case 8748: case 8749: case 8752: case 8753: case 8756: case 8757: case 8760: case 8761: case 8764: case 8765: case 8768: case 8769: case 8772: case 8773: case 8776: case 8777: case 8780: case 8781: case 8784: case 8785: case 8788: case 8789: case 8792: case 8793: case 8796: case 8797: case 8800: case 8801: return false;
default: return true;
}
}
- bool Powered(short ID)
+ bool Powered(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 8739: case 8741: case 8743: case 8745: case 8747: case 8749: case 8751: case 8753: case 8755: case 8757: case 8759: case 8761: case 8763: case 8765: case 8767: case 8769: case 8771: case 8773: case 8775: case 8777: case 8779: case 8781: case 8783: case 8785: case 8787: case 8789: case 8791: case 8793: case 8795: case 8797: case 8799: case 8801: return false;
default: return true;
@@ -11485,37 +10712,37 @@ namespace Block
}
namespace SpruceFence
{
- short SpruceFence()
+ BlockState SpruceFence()
{
return 8609;
}
- bool East(short ID)
+ bool East(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 8596: case 8597: case 8600: case 8601: case 8604: case 8605: case 8608: case 8609: return false;
default: return true;
}
}
- bool North(short ID)
+ bool North(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 8588: case 8589: case 8592: case 8593: case 8604: case 8605: case 8608: case 8609: return false;
default: return true;
}
}
- bool South(short ID)
+ bool South(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 8584: case 8585: case 8592: case 8593: case 8600: case 8601: case 8608: case 8609: return false;
default: return true;
}
}
- bool West(short ID)
+ bool West(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 8581: case 8585: case 8589: case 8593: case 8597: case 8601: case 8605: case 8609: return false;
default: return true;
@@ -11524,13 +10751,13 @@ namespace Block
}
namespace SpruceFenceGate
{
- short SpruceFenceGate()
+ BlockState SpruceFenceGate()
{
return 8425;
}
- eBlockFace Facing(short ID)
+ eBlockFace Facing(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 8434: case 8435: case 8436: case 8437: case 8438: case 8439: case 8440: case 8441: return eBlockFace::BLOCK_FACE_XM;
case 8442: case 8443: case 8444: case 8445: case 8446: case 8447: case 8448: case 8449: return eBlockFace::BLOCK_FACE_XP;
@@ -11538,25 +10765,25 @@ namespace Block
default: return eBlockFace::BLOCK_FACE_ZP;
}
}
- bool InWall(short ID)
+ bool InWall(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 8422: case 8423: case 8424: case 8425: case 8430: case 8431: case 8432: case 8433: case 8438: case 8439: case 8440: case 8441: case 8446: case 8447: case 8448: case 8449: return false;
default: return true;
}
}
- bool Open(short ID)
+ bool Open(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 8420: case 8421: case 8424: case 8425: case 8428: case 8429: case 8432: case 8433: case 8436: case 8437: case 8440: case 8441: case 8444: case 8445: case 8448: case 8449: return false;
default: return true;
}
}
- bool Powered(short ID)
+ bool Powered(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 8419: case 8421: case 8423: case 8425: case 8427: case 8429: case 8431: case 8433: case 8435: case 8437: case 8439: case 8441: case 8443: case 8445: case 8447: case 8449: return false;
default: return true;
@@ -11565,13 +10792,13 @@ namespace Block
}
namespace SpruceLeaves
{
- short SpruceLeaves()
+ BlockState SpruceLeaves()
{
return 172;
}
- unsigned char Distance(short ID)
+ unsigned char Distance(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 159: case 160: return 1;
case 161: case 162: return 2;
@@ -11582,9 +10809,9 @@ namespace Block
default: return 7;
}
}
- bool Persistent(short ID)
+ bool Persistent(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 160: case 162: case 164: case 166: case 168: case 170: case 172: return false;
default: return true;
@@ -11593,13 +10820,13 @@ namespace Block
}
namespace SpruceLog
{
- short SpruceLog()
+ BlockState SpruceLog()
{
return 77;
}
- enum Axis Axis(short ID)
+ enum Axis Axis(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 76: return Axis::X;
case 77: return Axis::Y;
@@ -11612,13 +10839,13 @@ namespace Block
}
namespace SprucePressurePlate
{
- short SprucePressurePlate()
+ BlockState SprucePressurePlate()
{
return 3876;
}
- bool Powered(short ID)
+ bool Powered(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 3876: return false;
default: return true;
@@ -11627,13 +10854,13 @@ namespace Block
}
namespace SpruceSapling
{
- short SpruceSapling()
+ BlockState SpruceSapling()
{
return 23;
}
- unsigned char Stage(short ID)
+ unsigned char Stage(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 23: return 0;
default: return 1;
@@ -11642,13 +10869,13 @@ namespace Block
}
namespace SpruceSign
{
- short SpruceSign()
+ BlockState SpruceSign()
{
return 3414;
}
- unsigned char Rotation(short ID)
+ unsigned char Rotation(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 3414: return 0;
case 3416: return 1;
@@ -11671,13 +10898,13 @@ namespace Block
}
namespace SpruceSlab
{
- short SpruceSlab()
+ BlockState SpruceSlab()
{
return 8309;
}
- enum Type Type(short ID)
+ enum Type Type(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 8309: return Type::Bottom;
case 8311: return Type::Double;
@@ -11687,13 +10914,13 @@ namespace Block
}
namespace SpruceStairs
{
- short SpruceStairs()
+ BlockState SpruceStairs()
{
return 5415;
}
- eBlockFace Facing(short ID)
+ eBlockFace Facing(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 5445: case 5447: case 5449: case 5451: case 5453: case 5455: case 5457: case 5459: case 5461: case 5463: return eBlockFace::BLOCK_FACE_XM;
case 5465: case 5467: case 5469: case 5471: case 5473: case 5475: case 5477: case 5479: case 5481: case 5483: return eBlockFace::BLOCK_FACE_XP;
@@ -11701,17 +10928,17 @@ namespace Block
default: return eBlockFace::BLOCK_FACE_ZP;
}
}
- enum Half Half(short ID)
+ enum Half Half(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 5415: case 5417: case 5419: case 5421: case 5423: case 5435: case 5437: case 5439: case 5441: case 5443: case 5455: case 5457: case 5459: case 5461: case 5463: case 5475: case 5477: case 5479: case 5481: case 5483: return Half::Bottom;
default: return Half::Top;
}
}
- enum Shape Shape(short ID)
+ enum Shape Shape(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 5407: case 5417: case 5427: case 5437: case 5447: case 5457: case 5467: case 5477: return Shape::InnerLeft;
case 5409: case 5419: case 5429: case 5439: case 5449: case 5459: case 5469: case 5479: return Shape::InnerRight;
@@ -11723,13 +10950,13 @@ namespace Block
}
namespace SpruceTrapdoor
{
- short SpruceTrapdoor()
+ BlockState SpruceTrapdoor()
{
return 4190;
}
- eBlockFace Facing(short ID)
+ eBlockFace Facing(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 4208: case 4210: case 4212: case 4214: case 4216: case 4218: case 4220: case 4222: return eBlockFace::BLOCK_FACE_XM;
case 4224: case 4226: case 4228: case 4230: case 4232: case 4234: case 4236: case 4238: return eBlockFace::BLOCK_FACE_XP;
@@ -11737,25 +10964,25 @@ namespace Block
default: return eBlockFace::BLOCK_FACE_ZP;
}
}
- enum Half Half(short ID)
+ enum Half Half(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 4184: case 4186: case 4188: case 4190: case 4200: case 4202: case 4204: case 4206: case 4216: case 4218: case 4220: case 4222: case 4232: case 4234: case 4236: case 4238: return Half::Bottom;
default: return Half::Top;
}
}
- bool Open(short ID)
+ bool Open(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 4180: case 4182: case 4188: case 4190: case 4196: case 4198: case 4204: case 4206: case 4212: case 4214: case 4220: case 4222: case 4228: case 4230: case 4236: case 4238: return false;
default: return true;
}
}
- bool Powered(short ID)
+ bool Powered(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 4178: case 4182: case 4186: case 4190: case 4194: case 4198: case 4202: case 4206: case 4210: case 4214: case 4218: case 4222: case 4226: case 4230: case 4234: case 4238: return false;
default: return true;
@@ -11764,13 +10991,13 @@ namespace Block
}
namespace SpruceWallSign
{
- short SpruceWallSign()
+ BlockState SpruceWallSign()
{
return 3744;
}
- eBlockFace Facing(short ID)
+ eBlockFace Facing(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 3748: return eBlockFace::BLOCK_FACE_XM;
case 3750: return eBlockFace::BLOCK_FACE_XP;
@@ -11781,13 +11008,13 @@ namespace Block
}
namespace SpruceWood
{
- short SpruceWood()
+ BlockState SpruceWood()
{
return 113;
}
- enum Axis Axis(short ID)
+ enum Axis Axis(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 112: return Axis::X;
case 113: return Axis::Y;
@@ -11797,21 +11024,21 @@ namespace Block
}
namespace StickyPiston
{
- short StickyPiston()
+ BlockState StickyPiston()
{
return 1335;
}
- bool Extended(short ID)
+ bool Extended(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 1335: case 1336: case 1337: case 1338: case 1339: case 1340: return false;
default: return true;
}
}
- eBlockFace Facing(short ID)
+ eBlockFace Facing(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 1332: case 1338: return eBlockFace::BLOCK_FACE_XM;
case 1330: case 1336: return eBlockFace::BLOCK_FACE_XP;
@@ -11827,13 +11054,13 @@ namespace Block
}
namespace StoneBrickSlab
{
- short StoneBrickSlab()
+ BlockState StoneBrickSlab()
{
return 8381;
}
- enum Type Type(short ID)
+ enum Type Type(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 8381: return Type::Bottom;
case 8383: return Type::Double;
@@ -11843,13 +11070,13 @@ namespace Block
}
namespace StoneBrickStairs
{
- short StoneBrickStairs()
+ BlockState StoneBrickStairs()
{
return 4943;
}
- eBlockFace Facing(short ID)
+ eBlockFace Facing(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 4973: case 4975: case 4977: case 4979: case 4981: case 4983: case 4985: case 4987: case 4989: case 4991: return eBlockFace::BLOCK_FACE_XM;
case 4993: case 4995: case 4997: case 4999: case 5001: case 5003: case 5005: case 5007: case 5009: case 5011: return eBlockFace::BLOCK_FACE_XP;
@@ -11857,17 +11084,17 @@ namespace Block
default: return eBlockFace::BLOCK_FACE_ZP;
}
}
- enum Half Half(short ID)
+ enum Half Half(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 4943: case 4945: case 4947: case 4949: case 4951: case 4963: case 4965: case 4967: case 4969: case 4971: case 4983: case 4985: case 4987: case 4989: case 4991: case 5003: case 5005: case 5007: case 5009: case 5011: return Half::Bottom;
default: return Half::Top;
}
}
- enum Shape Shape(short ID)
+ enum Shape Shape(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 4935: case 4945: case 4955: case 4965: case 4975: case 4985: case 4995: case 5005: return Shape::InnerLeft;
case 4937: case 4947: case 4957: case 4967: case 4977: case 4987: case 4997: case 5007: return Shape::InnerRight;
@@ -11879,48 +11106,48 @@ namespace Block
}
namespace StoneBrickWall
{
- short StoneBrickWall()
+ BlockState StoneBrickWall()
{
return 12490;
}
- enum East East(short ID)
+ enum East East(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 12598: case 12599: case 12600: case 12604: case 12605: case 12606: case 12610: case 12611: case 12612: case 12616: case 12617: case 12618: case 12622: case 12623: case 12624: case 12628: case 12629: case 12630: case 12634: case 12635: case 12636: case 12640: case 12641: case 12642: case 12646: case 12647: case 12648: case 12652: case 12653: case 12654: case 12658: case 12659: case 12660: case 12664: case 12665: case 12666: case 12670: case 12671: case 12672: case 12676: case 12677: case 12678: case 12682: case 12683: case 12684: case 12688: case 12689: case 12690: case 12694: case 12695: case 12696: case 12700: case 12701: case 12702: return East::Low;
case 12490: case 12491: case 12492: case 12496: case 12497: case 12498: case 12502: case 12503: case 12504: case 12508: case 12509: case 12510: case 12514: case 12515: case 12516: case 12520: case 12521: case 12522: case 12526: case 12527: case 12528: case 12532: case 12533: case 12534: case 12538: case 12539: case 12540: case 12544: case 12545: case 12546: case 12550: case 12551: case 12552: case 12556: case 12557: case 12558: case 12562: case 12563: case 12564: case 12568: case 12569: case 12570: case 12574: case 12575: case 12576: case 12580: case 12581: case 12582: case 12586: case 12587: case 12588: case 12592: case 12593: case 12594: return East::None;
default: return East::Tall;
}
}
- enum North North(short ID)
+ enum North North(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 12526: case 12527: case 12528: case 12532: case 12533: case 12534: case 12538: case 12539: case 12540: case 12544: case 12545: case 12546: case 12550: case 12551: case 12552: case 12556: case 12557: case 12558: case 12634: case 12635: case 12636: case 12640: case 12641: case 12642: case 12646: case 12647: case 12648: case 12652: case 12653: case 12654: case 12658: case 12659: case 12660: case 12664: case 12665: case 12666: case 12742: case 12743: case 12744: case 12748: case 12749: case 12750: case 12754: case 12755: case 12756: case 12760: case 12761: case 12762: case 12766: case 12767: case 12768: case 12772: case 12773: case 12774: return North::Low;
case 12490: case 12491: case 12492: case 12496: case 12497: case 12498: case 12502: case 12503: case 12504: case 12508: case 12509: case 12510: case 12514: case 12515: case 12516: case 12520: case 12521: case 12522: case 12598: case 12599: case 12600: case 12604: case 12605: case 12606: case 12610: case 12611: case 12612: case 12616: case 12617: case 12618: case 12622: case 12623: case 12624: case 12628: case 12629: case 12630: case 12706: case 12707: case 12708: case 12712: case 12713: case 12714: case 12718: case 12719: case 12720: case 12724: case 12725: case 12726: case 12730: case 12731: case 12732: case 12736: case 12737: case 12738: return North::None;
default: return North::Tall;
}
}
- enum South South(short ID)
+ enum South South(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 12502: case 12503: case 12504: case 12508: case 12509: case 12510: case 12538: case 12539: case 12540: case 12544: case 12545: case 12546: case 12574: case 12575: case 12576: case 12580: case 12581: case 12582: case 12610: case 12611: case 12612: case 12616: case 12617: case 12618: case 12646: case 12647: case 12648: case 12652: case 12653: case 12654: case 12682: case 12683: case 12684: case 12688: case 12689: case 12690: case 12718: case 12719: case 12720: case 12724: case 12725: case 12726: case 12754: case 12755: case 12756: case 12760: case 12761: case 12762: case 12790: case 12791: case 12792: case 12796: case 12797: case 12798: return South::Low;
case 12490: case 12491: case 12492: case 12496: case 12497: case 12498: case 12526: case 12527: case 12528: case 12532: case 12533: case 12534: case 12562: case 12563: case 12564: case 12568: case 12569: case 12570: case 12598: case 12599: case 12600: case 12604: case 12605: case 12606: case 12634: case 12635: case 12636: case 12640: case 12641: case 12642: case 12670: case 12671: case 12672: case 12676: case 12677: case 12678: case 12706: case 12707: case 12708: case 12712: case 12713: case 12714: case 12742: case 12743: case 12744: case 12748: case 12749: case 12750: case 12778: case 12779: case 12780: case 12784: case 12785: case 12786: return South::None;
default: return South::Tall;
}
}
- bool Up(short ID)
+ bool Up(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 12496: case 12497: case 12498: case 12508: case 12509: case 12510: case 12520: case 12521: case 12522: case 12532: case 12533: case 12534: case 12544: case 12545: case 12546: case 12556: case 12557: case 12558: case 12568: case 12569: case 12570: case 12580: case 12581: case 12582: case 12592: case 12593: case 12594: case 12604: case 12605: case 12606: case 12616: case 12617: case 12618: case 12628: case 12629: case 12630: case 12640: case 12641: case 12642: case 12652: case 12653: case 12654: case 12664: case 12665: case 12666: case 12676: case 12677: case 12678: case 12688: case 12689: case 12690: case 12700: case 12701: case 12702: case 12712: case 12713: case 12714: case 12724: case 12725: case 12726: case 12736: case 12737: case 12738: case 12748: case 12749: case 12750: case 12760: case 12761: case 12762: case 12772: case 12773: case 12774: case 12784: case 12785: case 12786: case 12796: case 12797: case 12798: case 12808: case 12809: case 12810: return false;
default: return true;
}
}
- enum West West(short ID)
+ enum West West(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 12491: case 12497: case 12503: case 12509: case 12515: case 12521: case 12527: case 12533: case 12539: case 12545: case 12551: case 12557: case 12563: case 12569: case 12575: case 12581: case 12587: case 12593: case 12599: case 12605: case 12611: case 12617: case 12623: case 12629: case 12635: case 12641: case 12647: case 12653: case 12659: case 12665: case 12671: case 12677: case 12683: case 12689: case 12695: case 12701: case 12707: case 12713: case 12719: case 12725: case 12731: case 12737: case 12743: case 12749: case 12755: case 12761: case 12767: case 12773: case 12779: case 12785: case 12791: case 12797: case 12803: case 12809: return West::Low;
case 12490: case 12496: case 12502: case 12508: case 12514: case 12520: case 12526: case 12532: case 12538: case 12544: case 12550: case 12556: case 12562: case 12568: case 12574: case 12580: case 12586: case 12592: case 12598: case 12604: case 12610: case 12616: case 12622: case 12628: case 12634: case 12640: case 12646: case 12652: case 12658: case 12664: case 12670: case 12676: case 12682: case 12688: case 12694: case 12700: case 12706: case 12712: case 12718: case 12724: case 12730: case 12736: case 12742: case 12748: case 12754: case 12760: case 12766: case 12772: case 12778: case 12784: case 12790: case 12796: case 12802: case 12808: return West::None;
@@ -11933,22 +11160,22 @@ namespace Block
}
namespace StoneButton
{
- short StoneButton()
+ BlockState StoneButton()
{
return 3906;
}
- enum Face Face(short ID)
+ enum Face Face(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 3913: case 3914: case 3915: case 3916: case 3917: case 3918: case 3919: case 3920: return Face::Ceiling;
case 3897: case 3898: case 3899: case 3900: case 3901: case 3902: case 3903: case 3904: return Face::Floor;
default: return Face::Wall;
}
}
- eBlockFace Facing(short ID)
+ eBlockFace Facing(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 3901: case 3902: case 3909: case 3910: case 3917: case 3918: return eBlockFace::BLOCK_FACE_XM;
case 3903: case 3904: case 3911: case 3912: case 3919: case 3920: return eBlockFace::BLOCK_FACE_XP;
@@ -11956,9 +11183,9 @@ namespace Block
default: return eBlockFace::BLOCK_FACE_ZP;
}
}
- bool Powered(short ID)
+ bool Powered(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 3898: case 3900: case 3902: case 3904: case 3906: case 3908: case 3910: case 3912: case 3914: case 3916: case 3918: case 3920: return false;
default: return true;
@@ -11967,13 +11194,13 @@ namespace Block
}
namespace StonePressurePlate
{
- short StonePressurePlate()
+ BlockState StonePressurePlate()
{
return 3808;
}
- bool Powered(short ID)
+ bool Powered(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 3808: return false;
default: return true;
@@ -11982,13 +11209,13 @@ namespace Block
}
namespace StoneSlab
{
- short StoneSlab()
+ BlockState StoneSlab()
{
return 8339;
}
- enum Type Type(short ID)
+ enum Type Type(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 8339: return Type::Bottom;
case 8341: return Type::Double;
@@ -11998,13 +11225,13 @@ namespace Block
}
namespace StoneStairs
{
- short StoneStairs()
+ BlockState StoneStairs()
{
return 10160;
}
- eBlockFace Facing(short ID)
+ eBlockFace Facing(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 10190: case 10192: case 10194: case 10196: case 10198: case 10200: case 10202: case 10204: case 10206: case 10208: return eBlockFace::BLOCK_FACE_XM;
case 10210: case 10212: case 10214: case 10216: case 10218: case 10220: case 10222: case 10224: case 10226: case 10228: return eBlockFace::BLOCK_FACE_XP;
@@ -12012,17 +11239,17 @@ namespace Block
default: return eBlockFace::BLOCK_FACE_ZP;
}
}
- enum Half Half(short ID)
+ enum Half Half(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 10160: case 10162: case 10164: case 10166: case 10168: case 10180: case 10182: case 10184: case 10186: case 10188: case 10200: case 10202: case 10204: case 10206: case 10208: case 10220: case 10222: case 10224: case 10226: case 10228: return Half::Bottom;
default: return Half::Top;
}
}
- enum Shape Shape(short ID)
+ enum Shape Shape(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 10152: case 10162: case 10172: case 10182: case 10192: case 10202: case 10212: case 10222: return Shape::InnerLeft;
case 10154: case 10164: case 10174: case 10184: case 10194: case 10204: case 10214: case 10224: return Shape::InnerRight;
@@ -12034,13 +11261,13 @@ namespace Block
}
namespace Stonecutter
{
- short Stonecutter()
+ BlockState Stonecutter()
{
return 14850;
}
- eBlockFace Facing(short ID)
+ eBlockFace Facing(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 14852: return eBlockFace::BLOCK_FACE_XM;
case 14853: return eBlockFace::BLOCK_FACE_XP;
@@ -12051,13 +11278,13 @@ namespace Block
}
namespace StrippedAcaciaLog
{
- short StrippedAcaciaLog()
+ BlockState StrippedAcaciaLog()
{
return 101;
}
- enum Axis Axis(short ID)
+ enum Axis Axis(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 100: return Axis::X;
case 101: return Axis::Y;
@@ -12067,13 +11294,13 @@ namespace Block
}
namespace StrippedAcaciaWood
{
- short StrippedAcaciaWood()
+ BlockState StrippedAcaciaWood()
{
return 140;
}
- enum Axis Axis(short ID)
+ enum Axis Axis(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 139: return Axis::X;
case 140: return Axis::Y;
@@ -12083,13 +11310,13 @@ namespace Block
}
namespace StrippedBirchLog
{
- short StrippedBirchLog()
+ BlockState StrippedBirchLog()
{
return 95;
}
- enum Axis Axis(short ID)
+ enum Axis Axis(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 94: return Axis::X;
case 95: return Axis::Y;
@@ -12099,13 +11326,13 @@ namespace Block
}
namespace StrippedBirchWood
{
- short StrippedBirchWood()
+ BlockState StrippedBirchWood()
{
return 134;
}
- enum Axis Axis(short ID)
+ enum Axis Axis(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 133: return Axis::X;
case 134: return Axis::Y;
@@ -12115,13 +11342,13 @@ namespace Block
}
namespace StrippedCrimsonHyphae
{
- short StrippedCrimsonHyphae()
+ BlockState StrippedCrimsonHyphae()
{
return 14985;
}
- enum Axis Axis(short ID)
+ enum Axis Axis(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 14984: return Axis::X;
case 14985: return Axis::Y;
@@ -12131,13 +11358,13 @@ namespace Block
}
namespace StrippedCrimsonStem
{
- short StrippedCrimsonStem()
+ BlockState StrippedCrimsonStem()
{
return 14979;
}
- enum Axis Axis(short ID)
+ enum Axis Axis(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 14978: return Axis::X;
case 14979: return Axis::Y;
@@ -12147,13 +11374,13 @@ namespace Block
}
namespace StrippedDarkOakLog
{
- short StrippedDarkOakLog()
+ BlockState StrippedDarkOakLog()
{
return 104;
}
- enum Axis Axis(short ID)
+ enum Axis Axis(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 103: return Axis::X;
case 104: return Axis::Y;
@@ -12163,13 +11390,13 @@ namespace Block
}
namespace StrippedDarkOakWood
{
- short StrippedDarkOakWood()
+ BlockState StrippedDarkOakWood()
{
return 143;
}
- enum Axis Axis(short ID)
+ enum Axis Axis(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 142: return Axis::X;
case 143: return Axis::Y;
@@ -12179,13 +11406,13 @@ namespace Block
}
namespace StrippedJungleLog
{
- short StrippedJungleLog()
+ BlockState StrippedJungleLog()
{
return 98;
}
- enum Axis Axis(short ID)
+ enum Axis Axis(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 97: return Axis::X;
case 98: return Axis::Y;
@@ -12195,13 +11422,13 @@ namespace Block
}
namespace StrippedJungleWood
{
- short StrippedJungleWood()
+ BlockState StrippedJungleWood()
{
return 137;
}
- enum Axis Axis(short ID)
+ enum Axis Axis(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 136: return Axis::X;
case 137: return Axis::Y;
@@ -12211,13 +11438,13 @@ namespace Block
}
namespace StrippedOakLog
{
- short StrippedOakLog()
+ BlockState StrippedOakLog()
{
return 107;
}
- enum Axis Axis(short ID)
+ enum Axis Axis(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 106: return Axis::X;
case 107: return Axis::Y;
@@ -12227,13 +11454,13 @@ namespace Block
}
namespace StrippedOakWood
{
- short StrippedOakWood()
+ BlockState StrippedOakWood()
{
return 128;
}
- enum Axis Axis(short ID)
+ enum Axis Axis(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 127: return Axis::X;
case 128: return Axis::Y;
@@ -12243,13 +11470,13 @@ namespace Block
}
namespace StrippedSpruceLog
{
- short StrippedSpruceLog()
+ BlockState StrippedSpruceLog()
{
return 92;
}
- enum Axis Axis(short ID)
+ enum Axis Axis(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 91: return Axis::X;
case 92: return Axis::Y;
@@ -12259,13 +11486,13 @@ namespace Block
}
namespace StrippedSpruceWood
{
- short StrippedSpruceWood()
+ BlockState StrippedSpruceWood()
{
return 131;
}
- enum Axis Axis(short ID)
+ enum Axis Axis(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 130: return Axis::X;
case 131: return Axis::Y;
@@ -12275,13 +11502,13 @@ namespace Block
}
namespace StrippedWarpedHyphae
{
- short StrippedWarpedHyphae()
+ BlockState StrippedWarpedHyphae()
{
return 14968;
}
- enum Axis Axis(short ID)
+ enum Axis Axis(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 14967: return Axis::X;
case 14968: return Axis::Y;
@@ -12291,13 +11518,13 @@ namespace Block
}
namespace StrippedWarpedStem
{
- short StrippedWarpedStem()
+ BlockState StrippedWarpedStem()
{
return 14962;
}
- enum Axis Axis(short ID)
+ enum Axis Axis(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 14961: return Axis::X;
case 14962: return Axis::Y;
@@ -12307,13 +11534,13 @@ namespace Block
}
namespace StructureBlock
{
- short StructureBlock()
+ BlockState StructureBlock()
{
return 15735;
}
- enum Mode Mode(short ID)
+ enum Mode Mode(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 15737: return Mode::Corner;
case 15738: return Mode::Data;
@@ -12327,13 +11554,13 @@ namespace Block
}
namespace SugarCane
{
- short SugarCane()
+ BlockState SugarCane()
{
return 3948;
}
- unsigned char Age(short ID)
+ unsigned char Age(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 3948: return 0;
case 3949: return 1;
@@ -12356,13 +11583,13 @@ namespace Block
}
namespace Sunflower
{
- short Sunflower()
+ BlockState Sunflower()
{
return 7886;
}
- enum Half Half(short ID)
+ enum Half Half(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 7886: return Half::Lower;
default: return Half::Upper;
@@ -12371,13 +11598,13 @@ namespace Block
}
namespace SweetBerryBush
{
- short SweetBerryBush()
+ BlockState SweetBerryBush()
{
return 14954;
}
- unsigned char Age(short ID)
+ unsigned char Age(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 14954: return 0;
case 14955: return 1;
@@ -12388,13 +11615,13 @@ namespace Block
}
namespace TNT
{
- short TNT()
+ BlockState TNT()
{
return 1431;
}
- bool Unstable(short ID)
+ bool Unstable(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 1431: return false;
default: return true;
@@ -12403,13 +11630,13 @@ namespace Block
}
namespace TallGrass
{
- short TallGrass()
+ BlockState TallGrass()
{
return 7894;
}
- enum Half Half(short ID)
+ enum Half Half(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 7894: return Half::Lower;
default: return Half::Upper;
@@ -12418,13 +11645,13 @@ namespace Block
}
namespace TallSeagrass
{
- short TallSeagrass()
+ BlockState TallSeagrass()
{
return 1347;
}
- enum Half Half(short ID)
+ enum Half Half(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 1347: return Half::Lower;
default: return Half::Upper;
@@ -12433,13 +11660,13 @@ namespace Block
}
namespace Target
{
- short Target()
+ BlockState Target()
{
return 15760;
}
- unsigned char Power(short ID)
+ unsigned char Power(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 15760: return 0;
case 15761: return 1;
@@ -12468,13 +11695,13 @@ namespace Block
}
namespace TrappedChest
{
- short TrappedChest()
+ BlockState TrappedChest()
{
return 6623;
}
- eBlockFace Facing(short ID)
+ eBlockFace Facing(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 6635: case 6637: case 6639: return eBlockFace::BLOCK_FACE_XM;
case 6641: case 6643: case 6645: return eBlockFace::BLOCK_FACE_XP;
@@ -12482,9 +11709,9 @@ namespace Block
default: return eBlockFace::BLOCK_FACE_ZP;
}
}
- enum Type Type(short ID)
+ enum Type Type(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 6625: case 6631: case 6637: case 6643: return Type::Left;
case 6627: case 6633: case 6639: case 6645: return Type::Right;
@@ -12494,61 +11721,61 @@ namespace Block
}
namespace Tripwire
{
- short Tripwire()
+ BlockState Tripwire()
{
return 5402;
}
- bool Attached(short ID)
+ bool Attached(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 5339: case 5340: case 5341: case 5342: case 5343: case 5344: case 5345: case 5346: case 5347: case 5348: case 5349: case 5350: case 5351: case 5352: case 5353: case 5354: case 5355: case 5356: case 5357: case 5358: case 5359: case 5360: case 5361: case 5362: case 5363: case 5364: case 5365: case 5366: case 5367: case 5368: case 5369: case 5370: case 5371: case 5372: case 5373: case 5374: case 5375: case 5376: case 5377: case 5378: case 5379: case 5380: case 5381: case 5382: case 5383: case 5384: case 5385: case 5386: case 5387: case 5388: case 5389: case 5390: case 5391: case 5392: case 5393: case 5394: case 5395: case 5396: case 5397: case 5398: case 5399: case 5400: case 5401: case 5402: return false;
default: return true;
}
}
- bool Disarmed(short ID)
+ bool Disarmed(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 5307: case 5308: case 5309: case 5310: case 5311: case 5312: case 5313: case 5314: case 5315: case 5316: case 5317: case 5318: case 5319: case 5320: case 5321: case 5322: case 5323: case 5324: case 5325: case 5326: case 5327: case 5328: case 5329: case 5330: case 5331: case 5332: case 5333: case 5334: case 5335: case 5336: case 5337: case 5338: case 5371: case 5372: case 5373: case 5374: case 5375: case 5376: case 5377: case 5378: case 5379: case 5380: case 5381: case 5382: case 5383: case 5384: case 5385: case 5386: case 5387: case 5388: case 5389: case 5390: case 5391: case 5392: case 5393: case 5394: case 5395: case 5396: case 5397: case 5398: case 5399: case 5400: case 5401: case 5402: return false;
default: return true;
}
}
- bool East(short ID)
+ bool East(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 5291: case 5292: case 5293: case 5294: case 5295: case 5296: case 5297: case 5298: case 5299: case 5300: case 5301: case 5302: case 5303: case 5304: case 5305: case 5306: case 5323: case 5324: case 5325: case 5326: case 5327: case 5328: case 5329: case 5330: case 5331: case 5332: case 5333: case 5334: case 5335: case 5336: case 5337: case 5338: case 5355: case 5356: case 5357: case 5358: case 5359: case 5360: case 5361: case 5362: case 5363: case 5364: case 5365: case 5366: case 5367: case 5368: case 5369: case 5370: case 5387: case 5388: case 5389: case 5390: case 5391: case 5392: case 5393: case 5394: case 5395: case 5396: case 5397: case 5398: case 5399: case 5400: case 5401: case 5402: return false;
default: return true;
}
}
- bool North(short ID)
+ bool North(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 5283: case 5284: case 5285: case 5286: case 5287: case 5288: case 5289: case 5290: case 5299: case 5300: case 5301: case 5302: case 5303: case 5304: case 5305: case 5306: case 5315: case 5316: case 5317: case 5318: case 5319: case 5320: case 5321: case 5322: case 5331: case 5332: case 5333: case 5334: case 5335: case 5336: case 5337: case 5338: case 5347: case 5348: case 5349: case 5350: case 5351: case 5352: case 5353: case 5354: case 5363: case 5364: case 5365: case 5366: case 5367: case 5368: case 5369: case 5370: case 5379: case 5380: case 5381: case 5382: case 5383: case 5384: case 5385: case 5386: case 5395: case 5396: case 5397: case 5398: case 5399: case 5400: case 5401: case 5402: return false;
default: return true;
}
}
- bool Powered(short ID)
+ bool Powered(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 5279: case 5280: case 5281: case 5282: case 5287: case 5288: case 5289: case 5290: case 5295: case 5296: case 5297: case 5298: case 5303: case 5304: case 5305: case 5306: case 5311: case 5312: case 5313: case 5314: case 5319: case 5320: case 5321: case 5322: case 5327: case 5328: case 5329: case 5330: case 5335: case 5336: case 5337: case 5338: case 5343: case 5344: case 5345: case 5346: case 5351: case 5352: case 5353: case 5354: case 5359: case 5360: case 5361: case 5362: case 5367: case 5368: case 5369: case 5370: case 5375: case 5376: case 5377: case 5378: case 5383: case 5384: case 5385: case 5386: case 5391: case 5392: case 5393: case 5394: case 5399: case 5400: case 5401: case 5402: return false;
default: return true;
}
}
- bool South(short ID)
+ bool South(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 5277: case 5278: case 5281: case 5282: case 5285: case 5286: case 5289: case 5290: case 5293: case 5294: case 5297: case 5298: case 5301: case 5302: case 5305: case 5306: case 5309: case 5310: case 5313: case 5314: case 5317: case 5318: case 5321: case 5322: case 5325: case 5326: case 5329: case 5330: case 5333: case 5334: case 5337: case 5338: case 5341: case 5342: case 5345: case 5346: case 5349: case 5350: case 5353: case 5354: case 5357: case 5358: case 5361: case 5362: case 5365: case 5366: case 5369: case 5370: case 5373: case 5374: case 5377: case 5378: case 5381: case 5382: case 5385: case 5386: case 5389: case 5390: case 5393: case 5394: case 5397: case 5398: case 5401: case 5402: return false;
default: return true;
}
}
- bool West(short ID)
+ bool West(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 5276: case 5278: case 5280: case 5282: case 5284: case 5286: case 5288: case 5290: case 5292: case 5294: case 5296: case 5298: case 5300: case 5302: case 5304: case 5306: case 5308: case 5310: case 5312: case 5314: case 5316: case 5318: case 5320: case 5322: case 5324: case 5326: case 5328: case 5330: case 5332: case 5334: case 5336: case 5338: case 5340: case 5342: case 5344: case 5346: case 5348: case 5350: case 5352: case 5354: case 5356: case 5358: case 5360: case 5362: case 5364: case 5366: case 5368: case 5370: case 5372: case 5374: case 5376: case 5378: case 5380: case 5382: case 5384: case 5386: case 5388: case 5390: case 5392: case 5394: case 5396: case 5398: case 5400: case 5402: return false;
default: return true;
@@ -12557,21 +11784,21 @@ namespace Block
}
namespace TripwireHook
{
- short TripwireHook()
+ BlockState TripwireHook()
{
return 5268;
}
- bool Attached(short ID)
+ bool Attached(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 5267: case 5268: case 5269: case 5270: case 5271: case 5272: case 5273: case 5274: return false;
default: return true;
}
}
- eBlockFace Facing(short ID)
+ eBlockFace Facing(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 5263: case 5264: case 5271: case 5272: return eBlockFace::BLOCK_FACE_XM;
case 5265: case 5266: case 5273: case 5274: return eBlockFace::BLOCK_FACE_XP;
@@ -12579,9 +11806,9 @@ namespace Block
default: return eBlockFace::BLOCK_FACE_ZP;
}
}
- bool Powered(short ID)
+ bool Powered(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 5260: case 5262: case 5264: case 5266: case 5268: case 5270: case 5272: case 5274: return false;
default: return true;
@@ -12599,13 +11826,13 @@ namespace Block
}
namespace TubeCoralWallFan
{
- short TubeCoralWallFan()
+ BlockState TubeCoralWallFan()
{
return 9600;
}
- eBlockFace Facing(short ID)
+ eBlockFace Facing(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 9605: return eBlockFace::BLOCK_FACE_XM;
case 9607: return eBlockFace::BLOCK_FACE_XP;
@@ -12616,13 +11843,13 @@ namespace Block
}
namespace TurtleEgg
{
- short TurtleEgg()
+ BlockState TurtleEgg()
{
return 9498;
}
- unsigned char Eggs(short ID)
+ unsigned char Eggs(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 9498: case 9499: case 9500: return 1;
case 9501: case 9502: case 9503: return 2;
@@ -12630,9 +11857,9 @@ namespace Block
default: return 4;
}
}
- unsigned char Hatch(short ID)
+ unsigned char Hatch(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 9498: case 9501: case 9504: case 9507: return 0;
case 9499: case 9502: case 9505: case 9508: return 1;
@@ -12642,13 +11869,13 @@ namespace Block
}
namespace TwistingVines
{
- short TwistingVines()
+ BlockState TwistingVines()
{
return 15017;
}
- unsigned char Age(short ID)
+ unsigned char Age(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 15017: return 0;
case 15018: return 1;
@@ -12684,45 +11911,45 @@ namespace Block
}
namespace Vine
{
- short Vine()
+ BlockState Vine()
{
return 4819;
}
- bool East(short ID)
+ bool East(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 4804: case 4805: case 4806: case 4807: case 4808: case 4809: case 4810: case 4811: case 4812: case 4813: case 4814: case 4815: case 4816: case 4817: case 4818: case 4819: return false;
default: return true;
}
}
- bool North(short ID)
+ bool North(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 4796: case 4797: case 4798: case 4799: case 4800: case 4801: case 4802: case 4803: case 4812: case 4813: case 4814: case 4815: case 4816: case 4817: case 4818: case 4819: return false;
default: return true;
}
}
- bool South(short ID)
+ bool South(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 4792: case 4793: case 4794: case 4795: case 4800: case 4801: case 4802: case 4803: case 4808: case 4809: case 4810: case 4811: case 4816: case 4817: case 4818: case 4819: return false;
default: return true;
}
}
- bool Up(short ID)
+ bool Up(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 4790: case 4791: case 4794: case 4795: case 4798: case 4799: case 4802: case 4803: case 4806: case 4807: case 4810: case 4811: case 4814: case 4815: case 4818: case 4819: return false;
default: return true;
}
}
- bool West(short ID)
+ bool West(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 4789: case 4791: case 4793: case 4795: case 4797: case 4799: case 4801: case 4803: case 4805: case 4807: case 4809: case 4811: case 4813: case 4815: case 4817: case 4819: return false;
default: return true;
@@ -12734,13 +11961,13 @@ namespace Block
}
namespace WallTorch
{
- short WallTorch()
+ BlockState WallTorch()
{
return 1436;
}
- eBlockFace Facing(short ID)
+ eBlockFace Facing(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 1438: return eBlockFace::BLOCK_FACE_XM;
case 1439: return eBlockFace::BLOCK_FACE_XP;
@@ -12751,22 +11978,22 @@ namespace Block
}
namespace WarpedButton
{
- short WarpedButton()
+ BlockState WarpedButton()
{
return 15512;
}
- enum Face Face(short ID)
+ enum Face Face(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 15519: case 15520: case 15521: case 15522: case 15523: case 15524: case 15525: case 15526: return Face::Ceiling;
case 15503: case 15504: case 15505: case 15506: case 15507: case 15508: case 15509: case 15510: return Face::Floor;
default: return Face::Wall;
}
}
- eBlockFace Facing(short ID)
+ eBlockFace Facing(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 15507: case 15508: case 15515: case 15516: case 15523: case 15524: return eBlockFace::BLOCK_FACE_XM;
case 15509: case 15510: case 15517: case 15518: case 15525: case 15526: return eBlockFace::BLOCK_FACE_XP;
@@ -12774,9 +12001,9 @@ namespace Block
default: return eBlockFace::BLOCK_FACE_ZP;
}
}
- bool Powered(short ID)
+ bool Powered(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 15504: case 15506: case 15508: case 15510: case 15512: case 15514: case 15516: case 15518: case 15520: case 15522: case 15524: case 15526: return false;
default: return true;
@@ -12785,13 +12012,13 @@ namespace Block
}
namespace WarpedDoor
{
- short WarpedDoor()
+ BlockState WarpedDoor()
{
return 15602;
}
- eBlockFace Facing(short ID)
+ eBlockFace Facing(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 15623: case 15624: case 15625: case 15626: case 15627: case 15628: case 15629: case 15630: case 15631: case 15632: case 15633: case 15634: case 15635: case 15636: case 15637: case 15638: return eBlockFace::BLOCK_FACE_XM;
case 15639: case 15640: case 15641: case 15642: case 15643: case 15644: case 15645: case 15646: case 15647: case 15648: case 15649: case 15650: case 15651: case 15652: case 15653: case 15654: return eBlockFace::BLOCK_FACE_XP;
@@ -12799,33 +12026,33 @@ namespace Block
default: return eBlockFace::BLOCK_FACE_ZP;
}
}
- enum Half Half(short ID)
+ enum Half Half(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 15599: case 15600: case 15601: case 15602: case 15603: case 15604: case 15605: case 15606: case 15615: case 15616: case 15617: case 15618: case 15619: case 15620: case 15621: case 15622: case 15631: case 15632: case 15633: case 15634: case 15635: case 15636: case 15637: case 15638: case 15647: case 15648: case 15649: case 15650: case 15651: case 15652: case 15653: case 15654: return Half::Lower;
default: return Half::Upper;
}
}
- enum Hinge Hinge(short ID)
+ enum Hinge Hinge(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 15591: case 15592: case 15593: case 15594: case 15599: case 15600: case 15601: case 15602: case 15607: case 15608: case 15609: case 15610: case 15615: case 15616: case 15617: case 15618: case 15623: case 15624: case 15625: case 15626: case 15631: case 15632: case 15633: case 15634: case 15639: case 15640: case 15641: case 15642: case 15647: case 15648: case 15649: case 15650: return Hinge::Left;
default: return Hinge::Right;
}
}
- bool Open(short ID)
+ bool Open(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 15593: case 15594: case 15597: case 15598: case 15601: case 15602: case 15605: case 15606: case 15609: case 15610: case 15613: case 15614: case 15617: case 15618: case 15621: case 15622: case 15625: case 15626: case 15629: case 15630: case 15633: case 15634: case 15637: case 15638: case 15641: case 15642: case 15645: case 15646: case 15649: case 15650: case 15653: case 15654: return false;
default: return true;
}
}
- bool Powered(short ID)
+ bool Powered(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 15592: case 15594: case 15596: case 15598: case 15600: case 15602: case 15604: case 15606: case 15608: case 15610: case 15612: case 15614: case 15616: case 15618: case 15620: case 15622: case 15624: case 15626: case 15628: case 15630: case 15632: case 15634: case 15636: case 15638: case 15640: case 15642: case 15644: case 15646: case 15648: case 15650: case 15652: case 15654: return false;
default: return true;
@@ -12834,37 +12061,37 @@ namespace Block
}
namespace WarpedFence
{
- short WarpedFence()
+ BlockState WarpedFence()
{
return 15126;
}
- bool East(short ID)
+ bool East(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 15113: case 15114: case 15117: case 15118: case 15121: case 15122: case 15125: case 15126: return false;
default: return true;
}
}
- bool North(short ID)
+ bool North(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 15105: case 15106: case 15109: case 15110: case 15121: case 15122: case 15125: case 15126: return false;
default: return true;
}
}
- bool South(short ID)
+ bool South(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 15101: case 15102: case 15109: case 15110: case 15117: case 15118: case 15125: case 15126: return false;
default: return true;
}
}
- bool West(short ID)
+ bool West(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 15098: case 15102: case 15106: case 15110: case 15114: case 15118: case 15122: case 15126: return false;
default: return true;
@@ -12873,13 +12100,13 @@ namespace Block
}
namespace WarpedFenceGate
{
- short WarpedFenceGate()
+ BlockState WarpedFenceGate()
{
return 15294;
}
- eBlockFace Facing(short ID)
+ eBlockFace Facing(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 15303: case 15304: case 15305: case 15306: case 15307: case 15308: case 15309: case 15310: return eBlockFace::BLOCK_FACE_XM;
case 15311: case 15312: case 15313: case 15314: case 15315: case 15316: case 15317: case 15318: return eBlockFace::BLOCK_FACE_XP;
@@ -12887,25 +12114,25 @@ namespace Block
default: return eBlockFace::BLOCK_FACE_ZP;
}
}
- bool InWall(short ID)
+ bool InWall(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 15291: case 15292: case 15293: case 15294: case 15299: case 15300: case 15301: case 15302: case 15307: case 15308: case 15309: case 15310: case 15315: case 15316: case 15317: case 15318: return false;
default: return true;
}
}
- bool Open(short ID)
+ bool Open(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 15289: case 15290: case 15293: case 15294: case 15297: case 15298: case 15301: case 15302: case 15305: case 15306: case 15309: case 15310: case 15313: case 15314: case 15317: case 15318: return false;
default: return true;
}
}
- bool Powered(short ID)
+ bool Powered(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 15288: case 15290: case 15292: case 15294: case 15296: case 15298: case 15300: case 15302: case 15304: case 15306: case 15308: case 15310: case 15312: case 15314: case 15316: case 15318: return false;
default: return true;
@@ -12917,13 +12144,13 @@ namespace Block
}
namespace WarpedHyphae
{
- short WarpedHyphae()
+ BlockState WarpedHyphae()
{
return 14965;
}
- enum Axis Axis(short ID)
+ enum Axis Axis(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 14964: return Axis::X;
case 14965: return Axis::Y;
@@ -12939,13 +12166,13 @@ namespace Block
}
namespace WarpedPressurePlate
{
- short WarpedPressurePlate()
+ BlockState WarpedPressurePlate()
{
return 15062;
}
- bool Powered(short ID)
+ bool Powered(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 15062: return false;
default: return true;
@@ -12957,13 +12184,13 @@ namespace Block
}
namespace WarpedSign
{
- short WarpedSign()
+ BlockState WarpedSign()
{
return 15688;
}
- unsigned char Rotation(short ID)
+ unsigned char Rotation(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 15688: return 0;
case 15690: return 1;
@@ -12986,13 +12213,13 @@ namespace Block
}
namespace WarpedSlab
{
- short WarpedSlab()
+ BlockState WarpedSlab()
{
return 15056;
}
- enum Type Type(short ID)
+ enum Type Type(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 15056: return Type::Bottom;
case 15058: return Type::Double;
@@ -13002,13 +12229,13 @@ namespace Block
}
namespace WarpedStairs
{
- short WarpedStairs()
+ BlockState WarpedStairs()
{
return 15410;
}
- eBlockFace Facing(short ID)
+ eBlockFace Facing(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 15440: case 15442: case 15444: case 15446: case 15448: case 15450: case 15452: case 15454: case 15456: case 15458: return eBlockFace::BLOCK_FACE_XM;
case 15460: case 15462: case 15464: case 15466: case 15468: case 15470: case 15472: case 15474: case 15476: case 15478: return eBlockFace::BLOCK_FACE_XP;
@@ -13016,17 +12243,17 @@ namespace Block
default: return eBlockFace::BLOCK_FACE_ZP;
}
}
- enum Half Half(short ID)
+ enum Half Half(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 15410: case 15412: case 15414: case 15416: case 15418: case 15430: case 15432: case 15434: case 15436: case 15438: case 15450: case 15452: case 15454: case 15456: case 15458: case 15470: case 15472: case 15474: case 15476: case 15478: return Half::Bottom;
default: return Half::Top;
}
}
- enum Shape Shape(short ID)
+ enum Shape Shape(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 15402: case 15412: case 15422: case 15432: case 15442: case 15452: case 15462: case 15472: return Shape::InnerLeft;
case 15404: case 15414: case 15424: case 15434: case 15444: case 15454: case 15464: case 15474: return Shape::InnerRight;
@@ -13038,13 +12265,13 @@ namespace Block
}
namespace WarpedStem
{
- short WarpedStem()
+ BlockState WarpedStem()
{
return 14959;
}
- enum Axis Axis(short ID)
+ enum Axis Axis(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 14958: return Axis::X;
case 14959: return Axis::Y;
@@ -13054,13 +12281,13 @@ namespace Block
}
namespace WarpedTrapdoor
{
- short WarpedTrapdoor()
+ BlockState WarpedTrapdoor()
{
return 15206;
}
- eBlockFace Facing(short ID)
+ eBlockFace Facing(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 15224: case 15226: case 15228: case 15230: case 15232: case 15234: case 15236: case 15238: return eBlockFace::BLOCK_FACE_XM;
case 15240: case 15242: case 15244: case 15246: case 15248: case 15250: case 15252: case 15254: return eBlockFace::BLOCK_FACE_XP;
@@ -13068,25 +12295,25 @@ namespace Block
default: return eBlockFace::BLOCK_FACE_ZP;
}
}
- enum Half Half(short ID)
+ enum Half Half(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 15200: case 15202: case 15204: case 15206: case 15216: case 15218: case 15220: case 15222: case 15232: case 15234: case 15236: case 15238: case 15248: case 15250: case 15252: case 15254: return Half::Bottom;
default: return Half::Top;
}
}
- bool Open(short ID)
+ bool Open(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 15196: case 15198: case 15204: case 15206: case 15212: case 15214: case 15220: case 15222: case 15228: case 15230: case 15236: case 15238: case 15244: case 15246: case 15252: case 15254: return false;
default: return true;
}
}
- bool Powered(short ID)
+ bool Powered(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 15194: case 15198: case 15202: case 15206: case 15210: case 15214: case 15218: case 15222: case 15226: case 15230: case 15234: case 15238: case 15242: case 15246: case 15250: case 15254: return false;
default: return true;
@@ -13095,13 +12322,13 @@ namespace Block
}
namespace WarpedWallSign
{
- short WarpedWallSign()
+ BlockState WarpedWallSign()
{
return 15728;
}
- eBlockFace Facing(short ID)
+ eBlockFace Facing(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 15732: return eBlockFace::BLOCK_FACE_XM;
case 15734: return eBlockFace::BLOCK_FACE_XP;
@@ -13115,13 +12342,13 @@ namespace Block
}
namespace Water
{
- short Water()
+ BlockState Water()
{
return 34;
}
- unsigned char Level(short ID)
+ unsigned char Level(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 34: return 0;
case 35: return 1;
@@ -13144,13 +12371,13 @@ namespace Block
}
namespace WeepingVines
{
- short WeepingVines()
+ BlockState WeepingVines()
{
return 14990;
}
- unsigned char Age(short ID)
+ unsigned char Age(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 14990: return 0;
case 14991: return 1;
@@ -13189,13 +12416,13 @@ namespace Block
}
namespace Wheat
{
- short Wheat()
+ BlockState Wheat()
{
return 3357;
}
- unsigned char Age(short ID)
+ unsigned char Age(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 3357: return 0;
case 3358: return 1;
@@ -13210,13 +12437,13 @@ namespace Block
}
namespace WhiteBanner
{
- short WhiteBanner()
+ BlockState WhiteBanner()
{
return 7897;
}
- unsigned char Rotation(short ID)
+ unsigned char Rotation(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 7897: return 0;
case 7898: return 1;
@@ -13239,13 +12466,13 @@ namespace Block
}
namespace WhiteBed
{
- short WhiteBed()
+ BlockState WhiteBed()
{
return 1052;
}
- eBlockFace Facing(short ID)
+ eBlockFace Facing(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 1057: case 1058: case 1059: case 1060: return eBlockFace::BLOCK_FACE_XM;
case 1061: case 1062: case 1063: case 1064: return eBlockFace::BLOCK_FACE_XP;
@@ -13253,17 +12480,17 @@ namespace Block
default: return eBlockFace::BLOCK_FACE_ZP;
}
}
- bool Occupied(short ID)
+ bool Occupied(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 1051: case 1052: case 1055: case 1056: case 1059: case 1060: case 1063: case 1064: return false;
default: return true;
}
}
- enum Part Part(short ID)
+ enum Part Part(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 1050: case 1052: case 1054: case 1056: case 1058: case 1060: case 1062: case 1064: return Part::Foot;
default: return Part::Head;
@@ -13281,13 +12508,13 @@ namespace Block
}
namespace WhiteGlazedTerracotta
{
- short WhiteGlazedTerracotta()
+ BlockState WhiteGlazedTerracotta()
{
return 9374;
}
- eBlockFace Facing(short ID)
+ eBlockFace Facing(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 9376: return eBlockFace::BLOCK_FACE_XM;
case 9377: return eBlockFace::BLOCK_FACE_XP;
@@ -13298,13 +12525,13 @@ namespace Block
}
namespace WhiteShulkerBox
{
- short WhiteShulkerBox()
+ BlockState WhiteShulkerBox()
{
return 9282;
}
- eBlockFace Facing(short ID)
+ eBlockFace Facing(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 9281: return eBlockFace::BLOCK_FACE_XM;
case 9279: return eBlockFace::BLOCK_FACE_XP;
@@ -13320,37 +12547,37 @@ namespace Block
}
namespace WhiteStainedGlassPane
{
- short WhiteStainedGlassPane()
+ BlockState WhiteStainedGlassPane()
{
return 6894;
}
- bool East(short ID)
+ bool East(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 6881: case 6882: case 6885: case 6886: case 6889: case 6890: case 6893: case 6894: return false;
default: return true;
}
}
- bool North(short ID)
+ bool North(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 6873: case 6874: case 6877: case 6878: case 6889: case 6890: case 6893: case 6894: return false;
default: return true;
}
}
- bool South(short ID)
+ bool South(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 6869: case 6870: case 6877: case 6878: case 6885: case 6886: case 6893: case 6894: return false;
default: return true;
}
}
- bool West(short ID)
+ bool West(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 6866: case 6870: case 6874: case 6878: case 6882: case 6886: case 6890: case 6894: return false;
default: return true;
@@ -13365,13 +12592,13 @@ namespace Block
}
namespace WhiteWallBanner
{
- short WhiteWallBanner()
+ BlockState WhiteWallBanner()
{
return 8153;
}
- eBlockFace Facing(short ID)
+ eBlockFace Facing(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 8155: return eBlockFace::BLOCK_FACE_XM;
case 8156: return eBlockFace::BLOCK_FACE_XP;
@@ -13388,13 +12615,13 @@ namespace Block
}
namespace WitherSkeletonSkull
{
- short WitherSkeletonSkull()
+ BlockState WitherSkeletonSkull()
{
return 6510;
}
- unsigned char Rotation(short ID)
+ unsigned char Rotation(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 6510: return 0;
case 6511: return 1;
@@ -13417,13 +12644,13 @@ namespace Block
}
namespace WitherSkeletonWallSkull
{
- short WitherSkeletonWallSkull()
+ BlockState WitherSkeletonWallSkull()
{
return 6526;
}
- eBlockFace Facing(short ID)
+ eBlockFace Facing(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 6528: return eBlockFace::BLOCK_FACE_XM;
case 6529: return eBlockFace::BLOCK_FACE_XP;
@@ -13434,13 +12661,13 @@ namespace Block
}
namespace YellowBanner
{
- short YellowBanner()
+ BlockState YellowBanner()
{
return 7961;
}
- unsigned char Rotation(short ID)
+ unsigned char Rotation(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 7961: return 0;
case 7962: return 1;
@@ -13463,13 +12690,13 @@ namespace Block
}
namespace YellowBed
{
- short YellowBed()
+ BlockState YellowBed()
{
return 1116;
}
- eBlockFace Facing(short ID)
+ eBlockFace Facing(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 1121: case 1122: case 1123: case 1124: return eBlockFace::BLOCK_FACE_XM;
case 1125: case 1126: case 1127: case 1128: return eBlockFace::BLOCK_FACE_XP;
@@ -13477,17 +12704,17 @@ namespace Block
default: return eBlockFace::BLOCK_FACE_ZP;
}
}
- bool Occupied(short ID)
+ bool Occupied(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 1115: case 1116: case 1119: case 1120: case 1123: case 1124: case 1127: case 1128: return false;
default: return true;
}
}
- enum Part Part(short ID)
+ enum Part Part(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 1114: case 1116: case 1118: case 1120: case 1122: case 1124: case 1126: case 1128: return Part::Foot;
default: return Part::Head;
@@ -13505,13 +12732,13 @@ namespace Block
}
namespace YellowGlazedTerracotta
{
- short YellowGlazedTerracotta()
+ BlockState YellowGlazedTerracotta()
{
return 9390;
}
- eBlockFace Facing(short ID)
+ eBlockFace Facing(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 9392: return eBlockFace::BLOCK_FACE_XM;
case 9393: return eBlockFace::BLOCK_FACE_XP;
@@ -13522,13 +12749,13 @@ namespace Block
}
namespace YellowShulkerBox
{
- short YellowShulkerBox()
+ BlockState YellowShulkerBox()
{
return 9306;
}
- eBlockFace Facing(short ID)
+ eBlockFace Facing(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 9305: return eBlockFace::BLOCK_FACE_XM;
case 9303: return eBlockFace::BLOCK_FACE_XP;
@@ -13544,37 +12771,37 @@ namespace Block
}
namespace YellowStainedGlassPane
{
- short YellowStainedGlassPane()
+ BlockState YellowStainedGlassPane()
{
return 7022;
}
- bool East(short ID)
+ bool East(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 7009: case 7010: case 7013: case 7014: case 7017: case 7018: case 7021: case 7022: return false;
default: return true;
}
}
- bool North(short ID)
+ bool North(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 7001: case 7002: case 7005: case 7006: case 7017: case 7018: case 7021: case 7022: return false;
default: return true;
}
}
- bool South(short ID)
+ bool South(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 6997: case 6998: case 7005: case 7006: case 7013: case 7014: case 7021: case 7022: return false;
default: return true;
}
}
- bool West(short ID)
+ bool West(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 6994: case 6998: case 7002: case 7006: case 7010: case 7014: case 7018: case 7022: return false;
default: return true;
@@ -13586,13 +12813,13 @@ namespace Block
}
namespace YellowWallBanner
{
- short YellowWallBanner()
+ BlockState YellowWallBanner()
{
return 8169;
}
- eBlockFace Facing(short ID)
+ eBlockFace Facing(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 8171: return eBlockFace::BLOCK_FACE_XM;
case 8172: return eBlockFace::BLOCK_FACE_XP;
@@ -13606,13 +12833,13 @@ namespace Block
}
namespace ZombieHead
{
- short ZombieHead()
+ BlockState ZombieHead()
{
return 6530;
}
- unsigned char Rotation(short ID)
+ unsigned char Rotation(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 6530: return 0;
case 6531: return 1;
@@ -13635,13 +12862,13 @@ namespace Block
}
namespace ZombieWallHead
{
- short ZombieWallHead()
+ BlockState ZombieWallHead()
{
return 6546;
}
- eBlockFace Facing(short ID)
+ eBlockFace Facing(const BlockState Block)
{
- switch (ID)
+ switch (Block.ID)
{
case 6548: return eBlockFace::BLOCK_FACE_XM;
case 6549: return eBlockFace::BLOCK_FACE_XP;
@@ -13651,3 +12878,773 @@ namespace Block
}
}
}
+
+BlockType BlockState::Type() const
+{
+ switch (ID)
+ {
+ case 6442: case 6443: case 6444: case 6445: case 6446: case 6447: case 6448: case 6449: case 6450: case 6451: case 6452: case 6453: case 6454: case 6455: case 6456: case 6457: case 6458: case 6459: case 6460: case 6461: case 6462: case 6463: case 6464: case 6465: return BlockType::AcaciaButton;
+ case 8930: case 8931: case 8932: case 8933: case 8934: case 8935: case 8936: case 8937: case 8938: case 8939: case 8940: case 8941: case 8942: case 8943: case 8944: case 8945: case 8946: case 8947: case 8948: case 8949: case 8950: case 8951: case 8952: case 8953: case 8954: case 8955: case 8956: case 8957: case 8958: case 8959: case 8960: case 8961: case 8962: case 8963: case 8964: case 8965: case 8966: case 8967: case 8968: case 8969: case 8970: case 8971: case 8972: case 8973: case 8974: case 8975: case 8976: case 8977: case 8978: case 8979: case 8980: case 8981: case 8982: case 8983: case 8984: case 8985: case 8986: case 8987: case 8988: case 8989: case 8990: case 8991: case 8992: case 8993: return BlockType::AcaciaDoor;
+ case 8676: case 8677: case 8680: case 8681: case 8684: case 8685: case 8688: case 8689: case 8692: case 8693: case 8696: case 8697: case 8700: case 8701: case 8704: case 8705: return BlockType::AcaciaFence;
+ case 8514: case 8515: case 8516: case 8517: case 8518: case 8519: case 8520: case 8521: case 8522: case 8523: case 8524: case 8525: case 8526: case 8527: case 8528: case 8529: case 8530: case 8531: case 8532: case 8533: case 8534: case 8535: case 8536: case 8537: case 8538: case 8539: case 8540: case 8541: case 8542: case 8543: case 8544: case 8545: return BlockType::AcaciaFenceGate;
+ case 201: case 202: case 203: case 204: case 205: case 206: case 207: case 208: case 209: case 210: case 211: case 212: case 213: case 214: return BlockType::AcaciaLeaves;
+ case 85: case 86: case 87: return BlockType::AcaciaLog;
+ case 19: return BlockType::AcaciaPlanks;
+ case 3881: case 3882: return BlockType::AcaciaPressurePlate;
+ case 29: case 30: return BlockType::AcaciaSapling;
+ case 3478: case 3480: case 3482: case 3484: case 3486: case 3488: case 3490: case 3492: case 3494: case 3496: case 3498: case 3500: case 3502: case 3504: case 3506: case 3508: return BlockType::AcaciaSign;
+ case 8325: case 8327: case 8329: return BlockType::AcaciaSlab;
+ case 7376: case 7378: case 7380: case 7382: case 7384: case 7386: case 7388: case 7390: case 7392: case 7394: case 7396: case 7398: case 7400: case 7402: case 7404: case 7406: case 7408: case 7410: case 7412: case 7414: case 7416: case 7418: case 7420: case 7422: case 7424: case 7426: case 7428: case 7430: case 7432: case 7434: case 7436: case 7438: case 7440: case 7442: case 7444: case 7446: case 7448: case 7450: case 7452: case 7454: return BlockType::AcaciaStairs;
+ case 4368: case 4370: case 4372: case 4374: case 4376: case 4378: case 4380: case 4382: case 4384: case 4386: case 4388: case 4390: case 4392: case 4394: case 4396: case 4398: case 4400: case 4402: case 4404: case 4406: case 4408: case 4410: case 4412: case 4414: case 4416: case 4418: case 4420: case 4422: case 4424: case 4426: case 4428: case 4430: return BlockType::AcaciaTrapdoor;
+ case 3760: case 3762: case 3764: case 3766: return BlockType::AcaciaWallSign;
+ case 121: case 122: case 123: return BlockType::AcaciaWood;
+ case 6823: case 6824: case 6825: case 6826: case 6827: case 6828: case 6829: case 6830: case 6831: case 6832: case 6833: case 6834: return BlockType::ActivatorRail;
+ case -0: return BlockType::Air;
+ case 1415: return BlockType::Allium;
+ case 15827: return BlockType::AncientDebris;
+ case 6: return BlockType::Andesite;
+ case 10844: case 10846: case 10848: return BlockType::AndesiteSlab;
+ case 10470: case 10472: case 10474: case 10476: case 10478: case 10480: case 10482: case 10484: case 10486: case 10488: case 10490: case 10492: case 10494: case 10496: case 10498: case 10500: case 10502: case 10504: case 10506: case 10508: case 10510: case 10512: case 10514: case 10516: case 10518: case 10520: case 10522: case 10524: case 10526: case 10528: case 10530: case 10532: case 10534: case 10536: case 10538: case 10540: case 10542: case 10544: case 10546: case 10548: return BlockType::AndesiteStairs;
+ case 13138: case 13139: case 13140: case 13144: case 13145: case 13146: case 13150: case 13151: case 13152: case 13156: case 13157: case 13158: case 13162: case 13163: case 13164: case 13168: case 13169: case 13170: case 13174: case 13175: case 13176: case 13180: case 13181: case 13182: case 13186: case 13187: case 13188: case 13192: case 13193: case 13194: case 13198: case 13199: case 13200: case 13204: case 13205: case 13206: case 13210: case 13211: case 13212: case 13216: case 13217: case 13218: case 13222: case 13223: case 13224: case 13228: case 13229: case 13230: case 13234: case 13235: case 13236: case 13240: case 13241: case 13242: case 13246: case 13247: case 13248: case 13252: case 13253: case 13254: case 13258: case 13259: case 13260: case 13264: case 13265: case 13266: case 13270: case 13271: case 13272: case 13276: case 13277: case 13278: case 13282: case 13283: case 13284: case 13288: case 13289: case 13290: case 13294: case 13295: case 13296: case 13300: case 13301: case 13302: case 13306: case 13307: case 13308: case 13312: case 13313: case 13314: case 13318: case 13319: case 13320: case 13324: case 13325: case 13326: case 13330: case 13331: case 13332: case 13336: case 13337: case 13338: case 13342: case 13343: case 13344: case 13348: case 13349: case 13350: case 13354: case 13355: case 13356: case 13360: case 13361: case 13362: case 13366: case 13367: case 13368: case 13372: case 13373: case 13374: case 13378: case 13379: case 13380: case 13384: case 13385: case 13386: case 13390: case 13391: case 13392: case 13396: case 13397: case 13398: case 13402: case 13403: case 13404: case 13408: case 13409: case 13410: case 13414: case 13415: case 13416: case 13420: case 13421: case 13422: case 13426: case 13427: case 13428: case 13432: case 13433: case 13434: case 13438: case 13439: case 13440: case 13444: case 13445: case 13446: case 13450: case 13451: case 13452: case 13456: case 13457: case 13458: return BlockType::AndesiteWall;
+ case 6610: case 6611: case 6612: case 6613: return BlockType::Anvil;
+ case 4768: case 4769: case 4770: case 4771: return BlockType::AttachedMelonStem;
+ case 4764: case 4765: case 4766: case 4767: return BlockType::AttachedPumpkinStem;
+ case 1416: return BlockType::AzureBluet;
+ case 9652: case 9653: case 9654: case 9655: case 9656: case 9657: case 9658: case 9659: case 9660: case 9661: case 9662: case 9663: return BlockType::Bamboo;
+ case 9651: return BlockType::BambooSapling;
+ case 14791: case 14792: case 14793: case 14794: case 14795: case 14796: case 14797: case 14798: case 14799: case 14800: case 14801: case 14802: return BlockType::Barrel;
+ case 7536: return BlockType::Barrier;
+ case 4002: case 4003: case 4004: return BlockType::Basalt;
+ case 5656: return BlockType::Beacon;
+ case 33: return BlockType::Bedrock;
+ case 15776: case 15777: case 15778: case 15779: case 15780: case 15781: case 15782: case 15783: case 15784: case 15785: case 15786: case 15787: case 15788: case 15789: case 15790: case 15791: case 15792: case 15793: case 15794: case 15795: case 15796: case 15797: case 15798: case 15799: return BlockType::BeeNest;
+ case 15800: case 15801: case 15802: case 15803: case 15804: case 15805: case 15806: case 15807: case 15808: case 15809: case 15810: case 15811: case 15812: case 15813: case 15814: case 15815: case 15816: case 15817: case 15818: case 15819: case 15820: case 15821: case 15822: case 15823: return BlockType::Beehive;
+ case 9219: case 9220: case 9221: case 9222: return BlockType::Beetroots;
+ case 14854: case 14855: case 14856: case 14857: case 14858: case 14859: case 14860: case 14861: case 14862: case 14863: case 14864: case 14865: case 14866: case 14867: case 14868: case 14869: case 14870: case 14871: case 14872: case 14873: case 14874: case 14875: case 14876: case 14877: case 14878: case 14879: case 14880: case 14881: case 14882: case 14883: case 14884: case 14885: return BlockType::Bell;
+ case 6394: case 6395: case 6396: case 6397: case 6398: case 6399: case 6400: case 6401: case 6402: case 6403: case 6404: case 6405: case 6406: case 6407: case 6408: case 6409: case 6410: case 6411: case 6412: case 6413: case 6414: case 6415: case 6416: case 6417: return BlockType::BirchButton;
+ case 8802: case 8803: case 8804: case 8805: case 8806: case 8807: case 8808: case 8809: case 8810: case 8811: case 8812: case 8813: case 8814: case 8815: case 8816: case 8817: case 8818: case 8819: case 8820: case 8821: case 8822: case 8823: case 8824: case 8825: case 8826: case 8827: case 8828: case 8829: case 8830: case 8831: case 8832: case 8833: case 8834: case 8835: case 8836: case 8837: case 8838: case 8839: case 8840: case 8841: case 8842: case 8843: case 8844: case 8845: case 8846: case 8847: case 8848: case 8849: case 8850: case 8851: case 8852: case 8853: case 8854: case 8855: case 8856: case 8857: case 8858: case 8859: case 8860: case 8861: case 8862: case 8863: case 8864: case 8865: return BlockType::BirchDoor;
+ case 8612: case 8613: case 8616: case 8617: case 8620: case 8621: case 8624: case 8625: case 8628: case 8629: case 8632: case 8633: case 8636: case 8637: case 8640: case 8641: return BlockType::BirchFence;
+ case 8450: case 8451: case 8452: case 8453: case 8454: case 8455: case 8456: case 8457: case 8458: case 8459: case 8460: case 8461: case 8462: case 8463: case 8464: case 8465: case 8466: case 8467: case 8468: case 8469: case 8470: case 8471: case 8472: case 8473: case 8474: case 8475: case 8476: case 8477: case 8478: case 8479: case 8480: case 8481: return BlockType::BirchFenceGate;
+ case 173: case 174: case 175: case 176: case 177: case 178: case 179: case 180: case 181: case 182: case 183: case 184: case 185: case 186: return BlockType::BirchLeaves;
+ case 79: case 80: case 81: return BlockType::BirchLog;
+ case 17: return BlockType::BirchPlanks;
+ case 3877: case 3878: return BlockType::BirchPressurePlate;
+ case 25: case 26: return BlockType::BirchSapling;
+ case 3446: case 3448: case 3450: case 3452: case 3454: case 3456: case 3458: case 3460: case 3462: case 3464: case 3466: case 3468: case 3470: case 3472: case 3474: case 3476: return BlockType::BirchSign;
+ case 8313: case 8315: case 8317: return BlockType::BirchSlab;
+ case 5485: case 5487: case 5489: case 5491: case 5493: case 5495: case 5497: case 5499: case 5501: case 5503: case 5505: case 5507: case 5509: case 5511: case 5513: case 5515: case 5517: case 5519: case 5521: case 5523: case 5525: case 5527: case 5529: case 5531: case 5533: case 5535: case 5537: case 5539: case 5541: case 5543: case 5545: case 5547: case 5549: case 5551: case 5553: case 5555: case 5557: case 5559: case 5561: case 5563: return BlockType::BirchStairs;
+ case 4240: case 4242: case 4244: case 4246: case 4248: case 4250: case 4252: case 4254: case 4256: case 4258: case 4260: case 4262: case 4264: case 4266: case 4268: case 4270: case 4272: case 4274: case 4276: case 4278: case 4280: case 4282: case 4284: case 4286: case 4288: case 4290: case 4292: case 4294: case 4296: case 4298: case 4300: case 4302: return BlockType::BirchTrapdoor;
+ case 3752: case 3754: case 3756: case 3758: return BlockType::BirchWallSign;
+ case 115: case 116: case 117: return BlockType::BirchWood;
+ case 8137: case 8138: case 8139: case 8140: case 8141: case 8142: case 8143: case 8144: case 8145: case 8146: case 8147: case 8148: case 8149: case 8150: case 8151: case 8152: return BlockType::BlackBanner;
+ case 1289: case 1290: case 1291: case 1292: case 1293: case 1294: case 1295: case 1296: case 1297: case 1298: case 1299: case 1300: case 1301: case 1302: case 1303: case 1304: return BlockType::BlackBed;
+ case 7881: return BlockType::BlackCarpet;
+ case 9453: return BlockType::BlackConcrete;
+ case 9469: return BlockType::BlackConcretePowder;
+ case 9434: case 9435: case 9436: case 9437: return BlockType::BlackGlazedTerracotta;
+ case 9368: case 9369: case 9370: case 9371: case 9372: case 9373: return BlockType::BlackShulkerBox;
+ case 4110: return BlockType::BlackStainedGlass;
+ case 7345: case 7346: case 7349: case 7350: case 7353: case 7354: case 7357: case 7358: case 7361: case 7362: case 7365: case 7366: case 7369: case 7370: case 7373: case 7374: return BlockType::BlackStainedGlassPane;
+ case 6862: return BlockType::BlackTerracotta;
+ case 8213: case 8214: case 8215: case 8216: return BlockType::BlackWallBanner;
+ case 1399: return BlockType::BlackWool;
+ case 15839: return BlockType::Blackstone;
+ case 16245: case 16247: case 16249: return BlockType::BlackstoneSlab;
+ case 15841: case 15843: case 15845: case 15847: case 15849: case 15851: case 15853: case 15855: case 15857: case 15859: case 15861: case 15863: case 15865: case 15867: case 15869: case 15871: case 15873: case 15875: case 15877: case 15879: case 15881: case 15883: case 15885: case 15887: case 15889: case 15891: case 15893: case 15895: case 15897: case 15899: case 15901: case 15903: case 15905: case 15907: case 15909: case 15911: case 15913: case 15915: case 15917: case 15919: return BlockType::BlackstoneStairs;
+ case 15923: case 15924: case 15925: case 15929: case 15930: case 15931: case 15935: case 15936: case 15937: case 15941: case 15942: case 15943: case 15947: case 15948: case 15949: case 15953: case 15954: case 15955: case 15959: case 15960: case 15961: case 15965: case 15966: case 15967: case 15971: case 15972: case 15973: case 15977: case 15978: case 15979: case 15983: case 15984: case 15985: case 15989: case 15990: case 15991: case 15995: case 15996: case 15997: case 16001: case 16002: case 16003: case 16007: case 16008: case 16009: case 16013: case 16014: case 16015: case 16019: case 16020: case 16021: case 16025: case 16026: case 16027: case 16031: case 16032: case 16033: case 16037: case 16038: case 16039: case 16043: case 16044: case 16045: case 16049: case 16050: case 16051: case 16055: case 16056: case 16057: case 16061: case 16062: case 16063: case 16067: case 16068: case 16069: case 16073: case 16074: case 16075: case 16079: case 16080: case 16081: case 16085: case 16086: case 16087: case 16091: case 16092: case 16093: case 16097: case 16098: case 16099: case 16103: case 16104: case 16105: case 16109: case 16110: case 16111: case 16115: case 16116: case 16117: case 16121: case 16122: case 16123: case 16127: case 16128: case 16129: case 16133: case 16134: case 16135: case 16139: case 16140: case 16141: case 16145: case 16146: case 16147: case 16151: case 16152: case 16153: case 16157: case 16158: case 16159: case 16163: case 16164: case 16165: case 16169: case 16170: case 16171: case 16175: case 16176: case 16177: case 16181: case 16182: case 16183: case 16187: case 16188: case 16189: case 16193: case 16194: case 16195: case 16199: case 16200: case 16201: case 16205: case 16206: case 16207: case 16211: case 16212: case 16213: case 16217: case 16218: case 16219: case 16223: case 16224: case 16225: case 16229: case 16230: case 16231: case 16235: case 16236: case 16237: case 16241: case 16242: case 16243: return BlockType::BlackstoneWall;
+ case 14811: case 14812: case 14813: case 14814: case 14815: case 14816: case 14817: case 14818: return BlockType::BlastFurnace;
+ case 8073: case 8074: case 8075: case 8076: case 8077: case 8078: case 8079: case 8080: case 8081: case 8082: case 8083: case 8084: case 8085: case 8086: case 8087: case 8088: return BlockType::BlueBanner;
+ case 1225: case 1226: case 1227: case 1228: case 1229: case 1230: case 1231: case 1232: case 1233: case 1234: case 1235: case 1236: case 1237: case 1238: case 1239: case 1240: return BlockType::BlueBed;
+ case 7877: return BlockType::BlueCarpet;
+ case 9449: return BlockType::BlueConcrete;
+ case 9465: return BlockType::BlueConcretePowder;
+ case 9418: case 9419: case 9420: case 9421: return BlockType::BlueGlazedTerracotta;
+ case 9648: return BlockType::BlueIce;
+ case 1414: return BlockType::BlueOrchid;
+ case 9344: case 9345: case 9346: case 9347: case 9348: case 9349: return BlockType::BlueShulkerBox;
+ case 4106: return BlockType::BlueStainedGlass;
+ case 7217: case 7218: case 7221: case 7222: case 7225: case 7226: case 7229: case 7230: case 7233: case 7234: case 7237: case 7238: case 7241: case 7242: case 7245: case 7246: return BlockType::BlueStainedGlassPane;
+ case 6858: return BlockType::BlueTerracotta;
+ case 8197: case 8198: case 8199: case 8200: return BlockType::BlueWallBanner;
+ case 1395: return BlockType::BlueWool;
+ case 9256: case 9257: case 9258: return BlockType::BoneBlock;
+ case 1432: return BlockType::Bookshelf;
+ case 9533: return BlockType::BrainCoral;
+ case 9516: return BlockType::BrainCoralBlock;
+ case 9553: return BlockType::BrainCoralFan;
+ case 9609: case 9611: case 9613: case 9615: return BlockType::BrainCoralWallFan;
+ case 5133: case 5134: case 5135: case 5136: case 5137: case 5138: case 5139: case 5140: return BlockType::BrewingStand;
+ case 8373: case 8375: case 8377: return BlockType::BrickSlab;
+ case 4853: case 4855: case 4857: case 4859: case 4861: case 4863: case 4865: case 4867: case 4869: case 4871: case 4873: case 4875: case 4877: case 4879: case 4881: case 4883: case 4885: case 4887: case 4889: case 4891: case 4893: case 4895: case 4897: case 4899: case 4901: case 4903: case 4905: case 4907: case 4909: case 4911: case 4913: case 4915: case 4917: case 4919: case 4921: case 4923: case 4925: case 4927: case 4929: case 4931: return BlockType::BrickStairs;
+ case 10870: case 10871: case 10872: case 10876: case 10877: case 10878: case 10882: case 10883: case 10884: case 10888: case 10889: case 10890: case 10894: case 10895: case 10896: case 10900: case 10901: case 10902: case 10906: case 10907: case 10908: case 10912: case 10913: case 10914: case 10918: case 10919: case 10920: case 10924: case 10925: case 10926: case 10930: case 10931: case 10932: case 10936: case 10937: case 10938: case 10942: case 10943: case 10944: case 10948: case 10949: case 10950: case 10954: case 10955: case 10956: case 10960: case 10961: case 10962: case 10966: case 10967: case 10968: case 10972: case 10973: case 10974: case 10978: case 10979: case 10980: case 10984: case 10985: case 10986: case 10990: case 10991: case 10992: case 10996: case 10997: case 10998: case 11002: case 11003: case 11004: case 11008: case 11009: case 11010: case 11014: case 11015: case 11016: case 11020: case 11021: case 11022: case 11026: case 11027: case 11028: case 11032: case 11033: case 11034: case 11038: case 11039: case 11040: case 11044: case 11045: case 11046: case 11050: case 11051: case 11052: case 11056: case 11057: case 11058: case 11062: case 11063: case 11064: case 11068: case 11069: case 11070: case 11074: case 11075: case 11076: case 11080: case 11081: case 11082: case 11086: case 11087: case 11088: case 11092: case 11093: case 11094: case 11098: case 11099: case 11100: case 11104: case 11105: case 11106: case 11110: case 11111: case 11112: case 11116: case 11117: case 11118: case 11122: case 11123: case 11124: case 11128: case 11129: case 11130: case 11134: case 11135: case 11136: case 11140: case 11141: case 11142: case 11146: case 11147: case 11148: case 11152: case 11153: case 11154: case 11158: case 11159: case 11160: case 11164: case 11165: case 11166: case 11170: case 11171: case 11172: case 11176: case 11177: case 11178: case 11182: case 11183: case 11184: case 11188: case 11189: case 11190: return BlockType::BrickWall;
+ case 1429: return BlockType::Bricks;
+ case 8089: case 8090: case 8091: case 8092: case 8093: case 8094: case 8095: case 8096: case 8097: case 8098: case 8099: case 8100: case 8101: case 8102: case 8103: case 8104: return BlockType::BrownBanner;
+ case 1241: case 1242: case 1243: case 1244: case 1245: case 1246: case 1247: case 1248: case 1249: case 1250: case 1251: case 1252: case 1253: case 1254: case 1255: case 1256: return BlockType::BrownBed;
+ case 7878: return BlockType::BrownCarpet;
+ case 9450: return BlockType::BrownConcrete;
+ case 9466: return BlockType::BrownConcretePowder;
+ case 9422: case 9423: case 9424: case 9425: return BlockType::BrownGlazedTerracotta;
+ case 1425: return BlockType::BrownMushroom;
+ case 4505: case 4506: case 4507: case 4508: case 4509: case 4510: case 4511: case 4512: case 4513: case 4514: case 4515: case 4516: case 4517: case 4518: case 4519: case 4520: case 4521: case 4522: case 4523: case 4524: case 4525: case 4526: case 4527: case 4528: case 4529: case 4530: case 4531: case 4532: case 4533: case 4534: case 4535: case 4536: case 4537: case 4538: case 4539: case 4540: case 4541: case 4542: case 4543: case 4544: case 4545: case 4546: case 4547: case 4548: case 4549: case 4550: case 4551: case 4552: case 4553: case 4554: case 4555: case 4556: case 4557: case 4558: case 4559: case 4560: case 4561: case 4562: case 4563: case 4564: case 4565: case 4566: case 4567: case 4568: return BlockType::BrownMushroomBlock;
+ case 9350: case 9351: case 9352: case 9353: case 9354: case 9355: return BlockType::BrownShulkerBox;
+ case 4107: return BlockType::BrownStainedGlass;
+ case 7249: case 7250: case 7253: case 7254: case 7257: case 7258: case 7261: case 7262: case 7265: case 7266: case 7269: case 7270: case 7273: case 7274: case 7277: case 7278: return BlockType::BrownStainedGlassPane;
+ case 6859: return BlockType::BrownTerracotta;
+ case 8201: case 8202: case 8203: case 8204: return BlockType::BrownWallBanner;
+ case 1396: return BlockType::BrownWool;
+ case 9667: case 9668: return BlockType::BubbleColumn;
+ case 9535: return BlockType::BubbleCoral;
+ case 9517: return BlockType::BubbleCoralBlock;
+ case 9555: return BlockType::BubbleCoralFan;
+ case 9617: case 9619: case 9621: case 9623: return BlockType::BubbleCoralWallFan;
+ case 3931: case 3932: case 3933: case 3934: case 3935: case 3936: case 3937: case 3938: case 3939: case 3940: case 3941: case 3942: case 3943: case 3944: case 3945: case 3946: return BlockType::Cactus;
+ case 4024: case 4025: case 4026: case 4027: case 4028: case 4029: case 4030: return BlockType::Cake;
+ case 14891: case 14893: case 14895: case 14897: case 14899: case 14901: case 14903: case 14905: case 14907: case 14909: case 14911: case 14913: case 14915: case 14917: case 14919: case 14921: return BlockType::Campfire;
+ case 6330: case 6331: case 6332: case 6333: case 6334: case 6335: case 6336: case 6337: return BlockType::Carrots;
+ case 14819: return BlockType::CartographyTable;
+ case 4016: case 4017: case 4018: case 4019: return BlockType::CarvedPumpkin;
+ case 5141: case 5142: case 5143: case 5144: return BlockType::Cauldron;
+ case 9666: return BlockType::CaveAir;
+ case 4730: return BlockType::Chain;
+ case 9237: case 9238: case 9239: case 9240: case 9241: case 9242: case 9243: case 9244: case 9245: case 9246: case 9247: case 9248: return BlockType::ChainCommandBlock;
+ case 2035: case 2037: case 2039: case 2041: case 2043: case 2045: case 2047: case 2049: case 2051: case 2053: case 2055: case 2057: return BlockType::Chest;
+ case 6614: case 6615: case 6616: case 6617: return BlockType::ChippedAnvil;
+ case 17101: return BlockType::ChiseledNetherBricks;
+ case 16253: return BlockType::ChiseledPolishedBlackstone;
+ case 6739: return BlockType::ChiseledQuartzBlock;
+ case 8218: return BlockType::ChiseledRedSandstone;
+ case 247: return BlockType::ChiseledSandstone;
+ case 4498: return BlockType::ChiseledStoneBricks;
+ case 9128: case 9129: case 9130: case 9131: case 9132: case 9133: return BlockType::ChorusFlower;
+ case 9064: case 9065: case 9066: case 9067: case 9068: case 9069: case 9070: case 9071: case 9072: case 9073: case 9074: case 9075: case 9076: case 9077: case 9078: case 9079: case 9080: case 9081: case 9082: case 9083: case 9084: case 9085: case 9086: case 9087: case 9088: case 9089: case 9090: case 9091: case 9092: case 9093: case 9094: case 9095: case 9096: case 9097: case 9098: case 9099: case 9100: case 9101: case 9102: case 9103: case 9104: case 9105: case 9106: case 9107: case 9108: case 9109: case 9110: case 9111: case 9112: case 9113: case 9114: case 9115: case 9116: case 9117: case 9118: case 9119: case 9120: case 9121: case 9122: case 9123: case 9124: case 9125: case 9126: case 9127: return BlockType::ChorusPlant;
+ case 3947: return BlockType::Clay;
+ case 7883: return BlockType::CoalBlock;
+ case 71: return BlockType::CoalOre;
+ case 11: return BlockType::CoarseDirt;
+ case 14: return BlockType::Cobblestone;
+ case 8367: case 8369: case 8371: return BlockType::CobblestoneSlab;
+ case 3656: case 3658: case 3660: case 3662: case 3664: case 3666: case 3668: case 3670: case 3672: case 3674: case 3676: case 3678: case 3680: case 3682: case 3684: case 3686: case 3688: case 3690: case 3692: case 3694: case 3696: case 3698: case 3700: case 3702: case 3704: case 3706: case 3708: case 3710: case 3712: case 3714: case 3716: case 3718: case 3720: case 3722: case 3724: case 3726: case 3728: case 3730: case 3732: case 3734: return BlockType::CobblestoneStairs;
+ case 5660: case 5661: case 5662: case 5666: case 5667: case 5668: case 5672: case 5673: case 5674: case 5678: case 5679: case 5680: case 5684: case 5685: case 5686: case 5690: case 5691: case 5692: case 5696: case 5697: case 5698: case 5702: case 5703: case 5704: case 5708: case 5709: case 5710: case 5714: case 5715: case 5716: case 5720: case 5721: case 5722: case 5726: case 5727: case 5728: case 5732: case 5733: case 5734: case 5738: case 5739: case 5740: case 5744: case 5745: case 5746: case 5750: case 5751: case 5752: case 5756: case 5757: case 5758: case 5762: case 5763: case 5764: case 5768: case 5769: case 5770: case 5774: case 5775: case 5776: case 5780: case 5781: case 5782: case 5786: case 5787: case 5788: case 5792: case 5793: case 5794: case 5798: case 5799: case 5800: case 5804: case 5805: case 5806: case 5810: case 5811: case 5812: case 5816: case 5817: case 5818: case 5822: case 5823: case 5824: case 5828: case 5829: case 5830: case 5834: case 5835: case 5836: case 5840: case 5841: case 5842: case 5846: case 5847: case 5848: case 5852: case 5853: case 5854: case 5858: case 5859: case 5860: case 5864: case 5865: case 5866: case 5870: case 5871: case 5872: case 5876: case 5877: case 5878: case 5882: case 5883: case 5884: case 5888: case 5889: case 5890: case 5894: case 5895: case 5896: case 5900: case 5901: case 5902: case 5906: case 5907: case 5908: case 5912: case 5913: case 5914: case 5918: case 5919: case 5920: case 5924: case 5925: case 5926: case 5930: case 5931: case 5932: case 5936: case 5937: case 5938: case 5942: case 5943: case 5944: case 5948: case 5949: case 5950: case 5954: case 5955: case 5956: case 5960: case 5961: case 5962: case 5966: case 5967: case 5968: case 5972: case 5973: case 5974: case 5978: case 5979: case 5980: return BlockType::CobblestoneWall;
+ case 1341: return BlockType::Cobweb;
+ case 5158: case 5159: case 5160: case 5161: case 5162: case 5163: case 5164: case 5165: case 5166: case 5167: case 5168: case 5169: return BlockType::Cocoa;
+ case 5644: case 5645: case 5646: case 5647: case 5648: case 5649: case 5650: case 5651: case 5652: case 5653: case 5654: case 5655: return BlockType::CommandBlock;
+ case 6678: case 6679: case 6680: case 6681: case 6682: case 6683: case 6684: case 6685: case 6686: case 6687: case 6688: case 6689: case 6690: case 6691: case 6692: case 6693: return BlockType::Comparator;
+ case 15751: case 15752: case 15753: case 15754: case 15755: case 15756: case 15757: case 15758: case 15759: return BlockType::Composter;
+ case 9650: return BlockType::Conduit;
+ case 1422: return BlockType::Cornflower;
+ case 17102: return BlockType::CrackedNetherBricks;
+ case 16252: return BlockType::CrackedPolishedBlackstoneBricks;
+ case 4497: return BlockType::CrackedStoneBricks;
+ case 3356: return BlockType::CraftingTable;
+ case 6570: case 6571: case 6572: case 6573: case 6574: case 6575: case 6576: case 6577: case 6578: case 6579: case 6580: case 6581: case 6582: case 6583: case 6584: case 6585: return BlockType::CreeperHead;
+ case 6586: case 6587: case 6588: case 6589: return BlockType::CreeperWallHead;
+ case 15479: case 15480: case 15481: case 15482: case 15483: case 15484: case 15485: case 15486: case 15487: case 15488: case 15489: case 15490: case 15491: case 15492: case 15493: case 15494: case 15495: case 15496: case 15497: case 15498: case 15499: case 15500: case 15501: case 15502: return BlockType::CrimsonButton;
+ case 15527: case 15528: case 15529: case 15530: case 15531: case 15532: case 15533: case 15534: case 15535: case 15536: case 15537: case 15538: case 15539: case 15540: case 15541: case 15542: case 15543: case 15544: case 15545: case 15546: case 15547: case 15548: case 15549: case 15550: case 15551: case 15552: case 15553: case 15554: case 15555: case 15556: case 15557: case 15558: case 15559: case 15560: case 15561: case 15562: case 15563: case 15564: case 15565: case 15566: case 15567: case 15568: case 15569: case 15570: case 15571: case 15572: case 15573: case 15574: case 15575: case 15576: case 15577: case 15578: case 15579: case 15580: case 15581: case 15582: case 15583: case 15584: case 15585: case 15586: case 15587: case 15588: case 15589: case 15590: return BlockType::CrimsonDoor;
+ case 15065: case 15066: case 15069: case 15070: case 15073: case 15074: case 15077: case 15078: case 15081: case 15082: case 15085: case 15086: case 15089: case 15090: case 15093: case 15094: return BlockType::CrimsonFence;
+ case 15255: case 15256: case 15257: case 15258: case 15259: case 15260: case 15261: case 15262: case 15263: case 15264: case 15265: case 15266: case 15267: case 15268: case 15269: case 15270: case 15271: case 15272: case 15273: case 15274: case 15275: case 15276: case 15277: case 15278: case 15279: case 15280: case 15281: case 15282: case 15283: case 15284: case 15285: case 15286: return BlockType::CrimsonFenceGate;
+ case 14988: return BlockType::CrimsonFungus;
+ case 14981: case 14982: case 14983: return BlockType::CrimsonHyphae;
+ case 14987: return BlockType::CrimsonNylium;
+ case 15045: return BlockType::CrimsonPlanks;
+ case 15059: case 15060: return BlockType::CrimsonPressurePlate;
+ case 15044: return BlockType::CrimsonRoots;
+ case 15656: case 15658: case 15660: case 15662: case 15664: case 15666: case 15668: case 15670: case 15672: case 15674: case 15676: case 15678: case 15680: case 15682: case 15684: case 15686: return BlockType::CrimsonSign;
+ case 15048: case 15050: case 15052: return BlockType::CrimsonSlab;
+ case 15320: case 15322: case 15324: case 15326: case 15328: case 15330: case 15332: case 15334: case 15336: case 15338: case 15340: case 15342: case 15344: case 15346: case 15348: case 15350: case 15352: case 15354: case 15356: case 15358: case 15360: case 15362: case 15364: case 15366: case 15368: case 15370: case 15372: case 15374: case 15376: case 15378: case 15380: case 15382: case 15384: case 15386: case 15388: case 15390: case 15392: case 15394: case 15396: case 15398: return BlockType::CrimsonStairs;
+ case 14975: case 14976: case 14977: return BlockType::CrimsonStem;
+ case 15128: case 15130: case 15132: case 15134: case 15136: case 15138: case 15140: case 15142: case 15144: case 15146: case 15148: case 15150: case 15152: case 15154: case 15156: case 15158: case 15160: case 15162: case 15164: case 15166: case 15168: case 15170: case 15172: case 15174: case 15176: case 15178: case 15180: case 15182: case 15184: case 15186: case 15188: case 15190: return BlockType::CrimsonTrapdoor;
+ case 15720: case 15722: case 15724: case 15726: return BlockType::CrimsonWallSign;
+ case 15828: return BlockType::CryingObsidian;
+ case 8219: return BlockType::CutRedSandstone;
+ case 8403: case 8405: case 8407: return BlockType::CutRedSandstoneSlab;
+ case 248: return BlockType::CutSandstone;
+ case 8355: case 8357: case 8359: return BlockType::CutSandstoneSlab;
+ case 8041: case 8042: case 8043: case 8044: case 8045: case 8046: case 8047: case 8048: case 8049: case 8050: case 8051: case 8052: case 8053: case 8054: case 8055: case 8056: return BlockType::CyanBanner;
+ case 1193: case 1194: case 1195: case 1196: case 1197: case 1198: case 1199: case 1200: case 1201: case 1202: case 1203: case 1204: case 1205: case 1206: case 1207: case 1208: return BlockType::CyanBed;
+ case 7875: return BlockType::CyanCarpet;
+ case 9447: return BlockType::CyanConcrete;
+ case 9463: return BlockType::CyanConcretePowder;
+ case 9410: case 9411: case 9412: case 9413: return BlockType::CyanGlazedTerracotta;
+ case 9332: case 9333: case 9334: case 9335: case 9336: case 9337: return BlockType::CyanShulkerBox;
+ case 4104: return BlockType::CyanStainedGlass;
+ case 7153: case 7154: case 7157: case 7158: case 7161: case 7162: case 7165: case 7166: case 7169: case 7170: case 7173: case 7174: case 7177: case 7178: case 7181: case 7182: return BlockType::CyanStainedGlassPane;
+ case 6856: return BlockType::CyanTerracotta;
+ case 8189: case 8190: case 8191: case 8192: return BlockType::CyanWallBanner;
+ case 1393: return BlockType::CyanWool;
+ case 6618: case 6619: case 6620: case 6621: return BlockType::DamagedAnvil;
+ case 1412: return BlockType::Dandelion;
+ case 6466: case 6467: case 6468: case 6469: case 6470: case 6471: case 6472: case 6473: case 6474: case 6475: case 6476: case 6477: case 6478: case 6479: case 6480: case 6481: case 6482: case 6483: case 6484: case 6485: case 6486: case 6487: case 6488: case 6489: return BlockType::DarkOakButton;
+ case 8994: case 8995: case 8996: case 8997: case 8998: case 8999: case 9000: case 9001: case 9002: case 9003: case 9004: case 9005: case 9006: case 9007: case 9008: case 9009: case 9010: case 9011: case 9012: case 9013: case 9014: case 9015: case 9016: case 9017: case 9018: case 9019: case 9020: case 9021: case 9022: case 9023: case 9024: case 9025: case 9026: case 9027: case 9028: case 9029: case 9030: case 9031: case 9032: case 9033: case 9034: case 9035: case 9036: case 9037: case 9038: case 9039: case 9040: case 9041: case 9042: case 9043: case 9044: case 9045: case 9046: case 9047: case 9048: case 9049: case 9050: case 9051: case 9052: case 9053: case 9054: case 9055: case 9056: case 9057: return BlockType::DarkOakDoor;
+ case 8708: case 8709: case 8712: case 8713: case 8716: case 8717: case 8720: case 8721: case 8724: case 8725: case 8728: case 8729: case 8732: case 8733: case 8736: case 8737: return BlockType::DarkOakFence;
+ case 8546: case 8547: case 8548: case 8549: case 8550: case 8551: case 8552: case 8553: case 8554: case 8555: case 8556: case 8557: case 8558: case 8559: case 8560: case 8561: case 8562: case 8563: case 8564: case 8565: case 8566: case 8567: case 8568: case 8569: case 8570: case 8571: case 8572: case 8573: case 8574: case 8575: case 8576: case 8577: return BlockType::DarkOakFenceGate;
+ case 215: case 216: case 217: case 218: case 219: case 220: case 221: case 222: case 223: case 224: case 225: case 226: case 227: case 228: return BlockType::DarkOakLeaves;
+ case 88: case 89: case 90: return BlockType::DarkOakLog;
+ case 20: return BlockType::DarkOakPlanks;
+ case 3883: case 3884: return BlockType::DarkOakPressurePlate;
+ case 31: case 32: return BlockType::DarkOakSapling;
+ case 3542: case 3544: case 3546: case 3548: case 3550: case 3552: case 3554: case 3556: case 3558: case 3560: case 3562: case 3564: case 3566: case 3568: case 3570: case 3572: return BlockType::DarkOakSign;
+ case 8331: case 8333: case 8335: return BlockType::DarkOakSlab;
+ case 7456: case 7458: case 7460: case 7462: case 7464: case 7466: case 7468: case 7470: case 7472: case 7474: case 7476: case 7478: case 7480: case 7482: case 7484: case 7486: case 7488: case 7490: case 7492: case 7494: case 7496: case 7498: case 7500: case 7502: case 7504: case 7506: case 7508: case 7510: case 7512: case 7514: case 7516: case 7518: case 7520: case 7522: case 7524: case 7526: case 7528: case 7530: case 7532: case 7534: return BlockType::DarkOakStairs;
+ case 4432: case 4434: case 4436: case 4438: case 4440: case 4442: case 4444: case 4446: case 4448: case 4450: case 4452: case 4454: case 4456: case 4458: case 4460: case 4462: case 4464: case 4466: case 4468: case 4470: case 4472: case 4474: case 4476: case 4478: case 4480: case 4482: case 4484: case 4486: case 4488: case 4490: case 4492: case 4494: return BlockType::DarkOakTrapdoor;
+ case 3776: case 3778: case 3780: case 3782: return BlockType::DarkOakWallSign;
+ case 124: case 125: case 126: return BlockType::DarkOakWood;
+ case 7603: return BlockType::DarkPrismarine;
+ case 7857: case 7859: case 7861: return BlockType::DarkPrismarineSlab;
+ case 7765: case 7767: case 7769: case 7771: case 7773: case 7775: case 7777: case 7779: case 7781: case 7783: case 7785: case 7787: case 7789: case 7791: case 7793: case 7795: case 7797: case 7799: case 7801: case 7803: case 7805: case 7807: case 7809: case 7811: case 7813: case 7815: case 7817: case 7819: case 7821: case 7823: case 7825: case 7827: case 7829: case 7831: case 7833: case 7835: case 7837: case 7839: case 7841: case 7843: return BlockType::DarkPrismarineStairs;
+ case 6694: case 6695: case 6696: case 6697: case 6698: case 6699: case 6700: case 6701: case 6702: case 6703: case 6704: case 6705: case 6706: case 6707: case 6708: case 6709: case 6710: case 6711: case 6712: case 6713: case 6714: case 6715: case 6716: case 6717: case 6718: case 6719: case 6720: case 6721: case 6722: case 6723: case 6724: case 6725: return BlockType::DaylightDetector;
+ case 9523: return BlockType::DeadBrainCoral;
+ case 9511: return BlockType::DeadBrainCoralBlock;
+ case 9543: return BlockType::DeadBrainCoralFan;
+ case 9569: case 9571: case 9573: case 9575: return BlockType::DeadBrainCoralWallFan;
+ case 9525: return BlockType::DeadBubbleCoral;
+ case 9512: return BlockType::DeadBubbleCoralBlock;
+ case 9545: return BlockType::DeadBubbleCoralFan;
+ case 9577: case 9579: case 9581: case 9583: return BlockType::DeadBubbleCoralWallFan;
+ case 1344: return BlockType::DeadBush;
+ case 9527: return BlockType::DeadFireCoral;
+ case 9513: return BlockType::DeadFireCoralBlock;
+ case 9547: return BlockType::DeadFireCoralFan;
+ case 9585: case 9587: case 9589: case 9591: return BlockType::DeadFireCoralWallFan;
+ case 9529: return BlockType::DeadHornCoral;
+ case 9514: return BlockType::DeadHornCoralBlock;
+ case 9549: return BlockType::DeadHornCoralFan;
+ case 9593: case 9595: case 9597: case 9599: return BlockType::DeadHornCoralWallFan;
+ case 9521: return BlockType::DeadTubeCoral;
+ case 9510: return BlockType::DeadTubeCoralBlock;
+ case 9541: return BlockType::DeadTubeCoralFan;
+ case 9561: case 9563: case 9565: case 9567: return BlockType::DeadTubeCoralWallFan;
+ case 1317: case 1318: case 1319: case 1320: case 1321: case 1322: case 1323: case 1324: case 1325: case 1326: case 1327: case 1328: return BlockType::DetectorRail;
+ case 3355: return BlockType::DiamondBlock;
+ case 3354: return BlockType::DiamondOre;
+ case 4: return BlockType::Diorite;
+ case 10862: case 10864: case 10866: return BlockType::DioriteSlab;
+ case 10710: case 10712: case 10714: case 10716: case 10718: case 10720: case 10722: case 10724: case 10726: case 10728: case 10730: case 10732: case 10734: case 10736: case 10738: case 10740: case 10742: case 10744: case 10746: case 10748: case 10750: case 10752: case 10754: case 10756: case 10758: case 10760: case 10762: case 10764: case 10766: case 10768: case 10770: case 10772: case 10774: case 10776: case 10778: case 10780: case 10782: case 10784: case 10786: case 10788: return BlockType::DioriteStairs;
+ case 14434: case 14435: case 14436: case 14440: case 14441: case 14442: case 14446: case 14447: case 14448: case 14452: case 14453: case 14454: case 14458: case 14459: case 14460: case 14464: case 14465: case 14466: case 14470: case 14471: case 14472: case 14476: case 14477: case 14478: case 14482: case 14483: case 14484: case 14488: case 14489: case 14490: case 14494: case 14495: case 14496: case 14500: case 14501: case 14502: case 14506: case 14507: case 14508: case 14512: case 14513: case 14514: case 14518: case 14519: case 14520: case 14524: case 14525: case 14526: case 14530: case 14531: case 14532: case 14536: case 14537: case 14538: case 14542: case 14543: case 14544: case 14548: case 14549: case 14550: case 14554: case 14555: case 14556: case 14560: case 14561: case 14562: case 14566: case 14567: case 14568: case 14572: case 14573: case 14574: case 14578: case 14579: case 14580: case 14584: case 14585: case 14586: case 14590: case 14591: case 14592: case 14596: case 14597: case 14598: case 14602: case 14603: case 14604: case 14608: case 14609: case 14610: case 14614: case 14615: case 14616: case 14620: case 14621: case 14622: case 14626: case 14627: case 14628: case 14632: case 14633: case 14634: case 14638: case 14639: case 14640: case 14644: case 14645: case 14646: case 14650: case 14651: case 14652: case 14656: case 14657: case 14658: case 14662: case 14663: case 14664: case 14668: case 14669: case 14670: case 14674: case 14675: case 14676: case 14680: case 14681: case 14682: case 14686: case 14687: case 14688: case 14692: case 14693: case 14694: case 14698: case 14699: case 14700: case 14704: case 14705: case 14706: case 14710: case 14711: case 14712: case 14716: case 14717: case 14718: case 14722: case 14723: case 14724: case 14728: case 14729: case 14730: case 14734: case 14735: case 14736: case 14740: case 14741: case 14742: case 14746: case 14747: case 14748: case 14752: case 14753: case 14754: return BlockType::DioriteWall;
+ case 10: return BlockType::Dirt;
+ case 234: case 235: case 236: case 237: case 238: case 239: case 240: case 241: case 242: case 243: case 244: case 245: return BlockType::Dispenser;
+ case 5155: return BlockType::DragonEgg;
+ case 6590: case 6591: case 6592: case 6593: case 6594: case 6595: case 6596: case 6597: case 6598: case 6599: case 6600: case 6601: case 6602: case 6603: case 6604: case 6605: return BlockType::DragonHead;
+ case 6606: case 6607: case 6608: case 6609: return BlockType::DragonWallHead;
+ case 9497: return BlockType::DriedKelpBlock;
+ case 6835: case 6836: case 6837: case 6838: case 6839: case 6840: case 6841: case 6842: case 6843: case 6844: case 6845: case 6846: return BlockType::Dropper;
+ case 5403: return BlockType::EmeraldBlock;
+ case 5250: return BlockType::EmeraldOre;
+ case 5132: return BlockType::EnchantingTable;
+ case 9224: return BlockType::EndGateway;
+ case 5145: return BlockType::EndPortal;
+ case 5146: case 5147: case 5148: case 5149: case 5150: case 5151: case 5152: case 5153: return BlockType::EndPortalFrame;
+ case 9058: case 9059: case 9060: case 9061: case 9062: case 9063: return BlockType::EndRod;
+ case 5154: return BlockType::EndStone;
+ case 10820: case 10822: case 10824: return BlockType::EndStoneBrickSlab;
+ case 10070: case 10072: case 10074: case 10076: case 10078: case 10080: case 10082: case 10084: case 10086: case 10088: case 10090: case 10092: case 10094: case 10096: case 10098: case 10100: case 10102: case 10104: case 10106: case 10108: case 10110: case 10112: case 10114: case 10116: case 10118: case 10120: case 10122: case 10124: case 10126: case 10128: case 10130: case 10132: case 10134: case 10136: case 10138: case 10140: case 10142: case 10144: case 10146: case 10148: return BlockType::EndStoneBrickStairs;
+ case 14110: case 14111: case 14112: case 14116: case 14117: case 14118: case 14122: case 14123: case 14124: case 14128: case 14129: case 14130: case 14134: case 14135: case 14136: case 14140: case 14141: case 14142: case 14146: case 14147: case 14148: case 14152: case 14153: case 14154: case 14158: case 14159: case 14160: case 14164: case 14165: case 14166: case 14170: case 14171: case 14172: case 14176: case 14177: case 14178: case 14182: case 14183: case 14184: case 14188: case 14189: case 14190: case 14194: case 14195: case 14196: case 14200: case 14201: case 14202: case 14206: case 14207: case 14208: case 14212: case 14213: case 14214: case 14218: case 14219: case 14220: case 14224: case 14225: case 14226: case 14230: case 14231: case 14232: case 14236: case 14237: case 14238: case 14242: case 14243: case 14244: case 14248: case 14249: case 14250: case 14254: case 14255: case 14256: case 14260: case 14261: case 14262: case 14266: case 14267: case 14268: case 14272: case 14273: case 14274: case 14278: case 14279: case 14280: case 14284: case 14285: case 14286: case 14290: case 14291: case 14292: case 14296: case 14297: case 14298: case 14302: case 14303: case 14304: case 14308: case 14309: case 14310: case 14314: case 14315: case 14316: case 14320: case 14321: case 14322: case 14326: case 14327: case 14328: case 14332: case 14333: case 14334: case 14338: case 14339: case 14340: case 14344: case 14345: case 14346: case 14350: case 14351: case 14352: case 14356: case 14357: case 14358: case 14362: case 14363: case 14364: case 14368: case 14369: case 14370: case 14374: case 14375: case 14376: case 14380: case 14381: case 14382: case 14386: case 14387: case 14388: case 14392: case 14393: case 14394: case 14398: case 14399: case 14400: case 14404: case 14405: case 14406: case 14410: case 14411: case 14412: case 14416: case 14417: case 14418: case 14422: case 14423: case 14424: case 14428: case 14429: case 14430: return BlockType::EndStoneBrickWall;
+ case 9218: return BlockType::EndStoneBricks;
+ case 5252: case 5254: case 5256: case 5258: return BlockType::EnderChest;
+ case 3365: case 3366: case 3367: case 3368: case 3369: case 3370: case 3371: case 3372: return BlockType::Farmland;
+ case 1343: return BlockType::Fern;
+ case 1440: case 1441: case 1442: case 1443: case 1444: case 1445: case 1446: case 1447: case 1448: case 1449: case 1450: case 1451: case 1452: case 1453: case 1454: case 1455: case 1456: case 1457: case 1458: case 1459: case 1460: case 1461: case 1462: case 1463: case 1464: case 1465: case 1466: case 1467: case 1468: case 1469: case 1470: case 1471: case 1472: case 1473: case 1474: case 1475: case 1476: case 1477: case 1478: case 1479: case 1480: case 1481: case 1482: case 1483: case 1484: case 1485: case 1486: case 1487: case 1488: case 1489: case 1490: case 1491: case 1492: case 1493: case 1494: case 1495: case 1496: case 1497: case 1498: case 1499: case 1500: case 1501: case 1502: case 1503: case 1504: case 1505: case 1506: case 1507: case 1508: case 1509: case 1510: case 1511: case 1512: case 1513: case 1514: case 1515: case 1516: case 1517: case 1518: case 1519: case 1520: case 1521: case 1522: case 1523: case 1524: case 1525: case 1526: case 1527: case 1528: case 1529: case 1530: case 1531: case 1532: case 1533: case 1534: case 1535: case 1536: case 1537: case 1538: case 1539: case 1540: case 1541: case 1542: case 1543: case 1544: case 1545: case 1546: case 1547: case 1548: case 1549: case 1550: case 1551: case 1552: case 1553: case 1554: case 1555: case 1556: case 1557: case 1558: case 1559: case 1560: case 1561: case 1562: case 1563: case 1564: case 1565: case 1566: case 1567: case 1568: case 1569: case 1570: case 1571: case 1572: case 1573: case 1574: case 1575: case 1576: case 1577: case 1578: case 1579: case 1580: case 1581: case 1582: case 1583: case 1584: case 1585: case 1586: case 1587: case 1588: case 1589: case 1590: case 1591: case 1592: case 1593: case 1594: case 1595: case 1596: case 1597: case 1598: case 1599: case 1600: case 1601: case 1602: case 1603: case 1604: case 1605: case 1606: case 1607: case 1608: case 1609: case 1610: case 1611: case 1612: case 1613: case 1614: case 1615: case 1616: case 1617: case 1618: case 1619: case 1620: case 1621: case 1622: case 1623: case 1624: case 1625: case 1626: case 1627: case 1628: case 1629: case 1630: case 1631: case 1632: case 1633: case 1634: case 1635: case 1636: case 1637: case 1638: case 1639: case 1640: case 1641: case 1642: case 1643: case 1644: case 1645: case 1646: case 1647: case 1648: case 1649: case 1650: case 1651: case 1652: case 1653: case 1654: case 1655: case 1656: case 1657: case 1658: case 1659: case 1660: case 1661: case 1662: case 1663: case 1664: case 1665: case 1666: case 1667: case 1668: case 1669: case 1670: case 1671: case 1672: case 1673: case 1674: case 1675: case 1676: case 1677: case 1678: case 1679: case 1680: case 1681: case 1682: case 1683: case 1684: case 1685: case 1686: case 1687: case 1688: case 1689: case 1690: case 1691: case 1692: case 1693: case 1694: case 1695: case 1696: case 1697: case 1698: case 1699: case 1700: case 1701: case 1702: case 1703: case 1704: case 1705: case 1706: case 1707: case 1708: case 1709: case 1710: case 1711: case 1712: case 1713: case 1714: case 1715: case 1716: case 1717: case 1718: case 1719: case 1720: case 1721: case 1722: case 1723: case 1724: case 1725: case 1726: case 1727: case 1728: case 1729: case 1730: case 1731: case 1732: case 1733: case 1734: case 1735: case 1736: case 1737: case 1738: case 1739: case 1740: case 1741: case 1742: case 1743: case 1744: case 1745: case 1746: case 1747: case 1748: case 1749: case 1750: case 1751: case 1752: case 1753: case 1754: case 1755: case 1756: case 1757: case 1758: case 1759: case 1760: case 1761: case 1762: case 1763: case 1764: case 1765: case 1766: case 1767: case 1768: case 1769: case 1770: case 1771: case 1772: case 1773: case 1774: case 1775: case 1776: case 1777: case 1778: case 1779: case 1780: case 1781: case 1782: case 1783: case 1784: case 1785: case 1786: case 1787: case 1788: case 1789: case 1790: case 1791: case 1792: case 1793: case 1794: case 1795: case 1796: case 1797: case 1798: case 1799: case 1800: case 1801: case 1802: case 1803: case 1804: case 1805: case 1806: case 1807: case 1808: case 1809: case 1810: case 1811: case 1812: case 1813: case 1814: case 1815: case 1816: case 1817: case 1818: case 1819: case 1820: case 1821: case 1822: case 1823: case 1824: case 1825: case 1826: case 1827: case 1828: case 1829: case 1830: case 1831: case 1832: case 1833: case 1834: case 1835: case 1836: case 1837: case 1838: case 1839: case 1840: case 1841: case 1842: case 1843: case 1844: case 1845: case 1846: case 1847: case 1848: case 1849: case 1850: case 1851: case 1852: case 1853: case 1854: case 1855: case 1856: case 1857: case 1858: case 1859: case 1860: case 1861: case 1862: case 1863: case 1864: case 1865: case 1866: case 1867: case 1868: case 1869: case 1870: case 1871: case 1872: case 1873: case 1874: case 1875: case 1876: case 1877: case 1878: case 1879: case 1880: case 1881: case 1882: case 1883: case 1884: case 1885: case 1886: case 1887: case 1888: case 1889: case 1890: case 1891: case 1892: case 1893: case 1894: case 1895: case 1896: case 1897: case 1898: case 1899: case 1900: case 1901: case 1902: case 1903: case 1904: case 1905: case 1906: case 1907: case 1908: case 1909: case 1910: case 1911: case 1912: case 1913: case 1914: case 1915: case 1916: case 1917: case 1918: case 1919: case 1920: case 1921: case 1922: case 1923: case 1924: case 1925: case 1926: case 1927: case 1928: case 1929: case 1930: case 1931: case 1932: case 1933: case 1934: case 1935: case 1936: case 1937: case 1938: case 1939: case 1940: case 1941: case 1942: case 1943: case 1944: case 1945: case 1946: case 1947: case 1948: case 1949: case 1950: case 1951: return BlockType::Fire;
+ case 9537: return BlockType::FireCoral;
+ case 9518: return BlockType::FireCoralBlock;
+ case 9557: return BlockType::FireCoralFan;
+ case 9625: case 9627: case 9629: case 9631: return BlockType::FireCoralWallFan;
+ case 14820: return BlockType::FletchingTable;
+ case 6305: return BlockType::FlowerPot;
+ case 9249: case 9250: case 9251: case 9252: return BlockType::FrostedIce;
+ case 3373: case 3374: case 3375: case 3376: case 3377: case 3378: case 3379: case 3380: return BlockType::Furnace;
+ case 16664: return BlockType::GildedBlackstone;
+ case 231: return BlockType::Glass;
+ case 4733: case 4734: case 4737: case 4738: case 4741: case 4742: case 4745: case 4746: case 4749: case 4750: case 4753: case 4754: case 4757: case 4758: case 4761: case 4762: return BlockType::GlassPane;
+ case 4013: return BlockType::Glowstone;
+ case 1427: return BlockType::GoldBlock;
+ case 69: return BlockType::GoldOre;
+ case 2: return BlockType::Granite;
+ case 10838: case 10840: case 10842: return BlockType::GraniteSlab;
+ case 10390: case 10392: case 10394: case 10396: case 10398: case 10400: case 10402: case 10404: case 10406: case 10408: case 10410: case 10412: case 10414: case 10416: case 10418: case 10420: case 10422: case 10424: case 10426: case 10428: case 10430: case 10432: case 10434: case 10436: case 10438: case 10440: case 10442: case 10444: case 10446: case 10448: case 10450: case 10452: case 10454: case 10456: case 10458: case 10460: case 10462: case 10464: case 10466: case 10468: return BlockType::GraniteStairs;
+ case 12166: case 12167: case 12168: case 12172: case 12173: case 12174: case 12178: case 12179: case 12180: case 12184: case 12185: case 12186: case 12190: case 12191: case 12192: case 12196: case 12197: case 12198: case 12202: case 12203: case 12204: case 12208: case 12209: case 12210: case 12214: case 12215: case 12216: case 12220: case 12221: case 12222: case 12226: case 12227: case 12228: case 12232: case 12233: case 12234: case 12238: case 12239: case 12240: case 12244: case 12245: case 12246: case 12250: case 12251: case 12252: case 12256: case 12257: case 12258: case 12262: case 12263: case 12264: case 12268: case 12269: case 12270: case 12274: case 12275: case 12276: case 12280: case 12281: case 12282: case 12286: case 12287: case 12288: case 12292: case 12293: case 12294: case 12298: case 12299: case 12300: case 12304: case 12305: case 12306: case 12310: case 12311: case 12312: case 12316: case 12317: case 12318: case 12322: case 12323: case 12324: case 12328: case 12329: case 12330: case 12334: case 12335: case 12336: case 12340: case 12341: case 12342: case 12346: case 12347: case 12348: case 12352: case 12353: case 12354: case 12358: case 12359: case 12360: case 12364: case 12365: case 12366: case 12370: case 12371: case 12372: case 12376: case 12377: case 12378: case 12382: case 12383: case 12384: case 12388: case 12389: case 12390: case 12394: case 12395: case 12396: case 12400: case 12401: case 12402: case 12406: case 12407: case 12408: case 12412: case 12413: case 12414: case 12418: case 12419: case 12420: case 12424: case 12425: case 12426: case 12430: case 12431: case 12432: case 12436: case 12437: case 12438: case 12442: case 12443: case 12444: case 12448: case 12449: case 12450: case 12454: case 12455: case 12456: case 12460: case 12461: case 12462: case 12466: case 12467: case 12468: case 12472: case 12473: case 12474: case 12478: case 12479: case 12480: case 12484: case 12485: case 12486: return BlockType::GraniteWall;
+ case 1342: return BlockType::Grass;
+ case 8: case 9: return BlockType::GrassBlock;
+ case 9223: return BlockType::GrassPath;
+ case 68: return BlockType::Gravel;
+ case 8009: case 8010: case 8011: case 8012: case 8013: case 8014: case 8015: case 8016: case 8017: case 8018: case 8019: case 8020: case 8021: case 8022: case 8023: case 8024: return BlockType::GrayBanner;
+ case 1161: case 1162: case 1163: case 1164: case 1165: case 1166: case 1167: case 1168: case 1169: case 1170: case 1171: case 1172: case 1173: case 1174: case 1175: case 1176: return BlockType::GrayBed;
+ case 7873: return BlockType::GrayCarpet;
+ case 9445: return BlockType::GrayConcrete;
+ case 9461: return BlockType::GrayConcretePowder;
+ case 9402: case 9403: case 9404: case 9405: return BlockType::GrayGlazedTerracotta;
+ case 9320: case 9321: case 9322: case 9323: case 9324: case 9325: return BlockType::GrayShulkerBox;
+ case 4102: return BlockType::GrayStainedGlass;
+ case 7089: case 7090: case 7093: case 7094: case 7097: case 7098: case 7101: case 7102: case 7105: case 7106: case 7109: case 7110: case 7113: case 7114: case 7117: case 7118: return BlockType::GrayStainedGlassPane;
+ case 6854: return BlockType::GrayTerracotta;
+ case 8181: case 8182: case 8183: case 8184: return BlockType::GrayWallBanner;
+ case 1391: return BlockType::GrayWool;
+ case 8105: case 8106: case 8107: case 8108: case 8109: case 8110: case 8111: case 8112: case 8113: case 8114: case 8115: case 8116: case 8117: case 8118: case 8119: case 8120: return BlockType::GreenBanner;
+ case 1257: case 1258: case 1259: case 1260: case 1261: case 1262: case 1263: case 1264: case 1265: case 1266: case 1267: case 1268: case 1269: case 1270: case 1271: case 1272: return BlockType::GreenBed;
+ case 7879: return BlockType::GreenCarpet;
+ case 9451: return BlockType::GreenConcrete;
+ case 9467: return BlockType::GreenConcretePowder;
+ case 9426: case 9427: case 9428: case 9429: return BlockType::GreenGlazedTerracotta;
+ case 9356: case 9357: case 9358: case 9359: case 9360: case 9361: return BlockType::GreenShulkerBox;
+ case 4108: return BlockType::GreenStainedGlass;
+ case 7281: case 7282: case 7285: case 7286: case 7289: case 7290: case 7293: case 7294: case 7297: case 7298: case 7301: case 7302: case 7305: case 7306: case 7309: case 7310: return BlockType::GreenStainedGlassPane;
+ case 6860: return BlockType::GreenTerracotta;
+ case 8205: case 8206: case 8207: case 8208: return BlockType::GreenWallBanner;
+ case 1397: return BlockType::GreenWool;
+ case 14821: case 14822: case 14823: case 14824: case 14825: case 14826: case 14827: case 14828: case 14829: case 14830: case 14831: case 14832: return BlockType::Grindstone;
+ case 7863: case 7864: case 7865: return BlockType::HayBale;
+ case 6662: case 6663: case 6664: case 6665: case 6666: case 6667: case 6668: case 6669: case 6670: case 6671: case 6672: case 6673: case 6674: case 6675: case 6676: case 6677: return BlockType::HeavyWeightedPressurePlate;
+ case 15824: return BlockType::HoneyBlock;
+ case 15825: return BlockType::HoneycombBlock;
+ case 6728: case 6729: case 6730: case 6731: case 6732: case 6733: case 6734: case 6735: case 6736: case 6737: return BlockType::Hopper;
+ case 9539: return BlockType::HornCoral;
+ case 9519: return BlockType::HornCoralBlock;
+ case 9559: return BlockType::HornCoralFan;
+ case 9633: case 9635: case 9637: case 9639: return BlockType::HornCoralWallFan;
+ case 3929: return BlockType::Ice;
+ case 4504: return BlockType::InfestedChiseledStoneBricks;
+ case 4500: return BlockType::InfestedCobblestone;
+ case 4503: return BlockType::InfestedCrackedStoneBricks;
+ case 4502: return BlockType::InfestedMossyStoneBricks;
+ case 4499: return BlockType::InfestedStone;
+ case 4501: return BlockType::InfestedStoneBricks;
+ case 4699: case 4700: case 4703: case 4704: case 4707: case 4708: case 4711: case 4712: case 4715: case 4716: case 4719: case 4720: case 4723: case 4724: case 4727: case 4728: return BlockType::IronBars;
+ case 1428: return BlockType::IronBlock;
+ case 3809: case 3810: case 3811: case 3812: case 3813: case 3814: case 3815: case 3816: case 3817: case 3818: case 3819: case 3820: case 3821: case 3822: case 3823: case 3824: case 3825: case 3826: case 3827: case 3828: case 3829: case 3830: case 3831: case 3832: case 3833: case 3834: case 3835: case 3836: case 3837: case 3838: case 3839: case 3840: case 3841: case 3842: case 3843: case 3844: case 3845: case 3846: case 3847: case 3848: case 3849: case 3850: case 3851: case 3852: case 3853: case 3854: case 3855: case 3856: case 3857: case 3858: case 3859: case 3860: case 3861: case 3862: case 3863: case 3864: case 3865: case 3866: case 3867: case 3868: case 3869: case 3870: case 3871: case 3872: return BlockType::IronDoor;
+ case 70: return BlockType::IronOre;
+ case 7538: case 7540: case 7542: case 7544: case 7546: case 7548: case 7550: case 7552: case 7554: case 7556: case 7558: case 7560: case 7562: case 7564: case 7566: case 7568: case 7570: case 7572: case 7574: case 7576: case 7578: case 7580: case 7582: case 7584: case 7586: case 7588: case 7590: case 7592: case 7594: case 7596: case 7598: case 7600: return BlockType::IronTrapdoor;
+ case 4020: case 4021: case 4022: case 4023: return BlockType::JackOLantern;
+ case 15739: case 15740: case 15741: case 15742: case 15743: case 15744: case 15745: case 15746: case 15747: case 15748: case 15749: case 15750: return BlockType::Jigsaw;
+ case 3964: case 3965: return BlockType::Jukebox;
+ case 6418: case 6419: case 6420: case 6421: case 6422: case 6423: case 6424: case 6425: case 6426: case 6427: case 6428: case 6429: case 6430: case 6431: case 6432: case 6433: case 6434: case 6435: case 6436: case 6437: case 6438: case 6439: case 6440: case 6441: return BlockType::JungleButton;
+ case 8866: case 8867: case 8868: case 8869: case 8870: case 8871: case 8872: case 8873: case 8874: case 8875: case 8876: case 8877: case 8878: case 8879: case 8880: case 8881: case 8882: case 8883: case 8884: case 8885: case 8886: case 8887: case 8888: case 8889: case 8890: case 8891: case 8892: case 8893: case 8894: case 8895: case 8896: case 8897: case 8898: case 8899: case 8900: case 8901: case 8902: case 8903: case 8904: case 8905: case 8906: case 8907: case 8908: case 8909: case 8910: case 8911: case 8912: case 8913: case 8914: case 8915: case 8916: case 8917: case 8918: case 8919: case 8920: case 8921: case 8922: case 8923: case 8924: case 8925: case 8926: case 8927: case 8928: case 8929: return BlockType::JungleDoor;
+ case 8644: case 8645: case 8648: case 8649: case 8652: case 8653: case 8656: case 8657: case 8660: case 8661: case 8664: case 8665: case 8668: case 8669: case 8672: case 8673: return BlockType::JungleFence;
+ case 8482: case 8483: case 8484: case 8485: case 8486: case 8487: case 8488: case 8489: case 8490: case 8491: case 8492: case 8493: case 8494: case 8495: case 8496: case 8497: case 8498: case 8499: case 8500: case 8501: case 8502: case 8503: case 8504: case 8505: case 8506: case 8507: case 8508: case 8509: case 8510: case 8511: case 8512: case 8513: return BlockType::JungleFenceGate;
+ case 187: case 188: case 189: case 190: case 191: case 192: case 193: case 194: case 195: case 196: case 197: case 198: case 199: case 200: return BlockType::JungleLeaves;
+ case 82: case 83: case 84: return BlockType::JungleLog;
+ case 18: return BlockType::JunglePlanks;
+ case 3879: case 3880: return BlockType::JunglePressurePlate;
+ case 27: case 28: return BlockType::JungleSapling;
+ case 3510: case 3512: case 3514: case 3516: case 3518: case 3520: case 3522: case 3524: case 3526: case 3528: case 3530: case 3532: case 3534: case 3536: case 3538: case 3540: return BlockType::JungleSign;
+ case 8319: case 8321: case 8323: return BlockType::JungleSlab;
+ case 5565: case 5567: case 5569: case 5571: case 5573: case 5575: case 5577: case 5579: case 5581: case 5583: case 5585: case 5587: case 5589: case 5591: case 5593: case 5595: case 5597: case 5599: case 5601: case 5603: case 5605: case 5607: case 5609: case 5611: case 5613: case 5615: case 5617: case 5619: case 5621: case 5623: case 5625: case 5627: case 5629: case 5631: case 5633: case 5635: case 5637: case 5639: case 5641: case 5643: return BlockType::JungleStairs;
+ case 4304: case 4306: case 4308: case 4310: case 4312: case 4314: case 4316: case 4318: case 4320: case 4322: case 4324: case 4326: case 4328: case 4330: case 4332: case 4334: case 4336: case 4338: case 4340: case 4342: case 4344: case 4346: case 4348: case 4350: case 4352: case 4354: case 4356: case 4358: case 4360: case 4362: case 4364: case 4366: return BlockType::JungleTrapdoor;
+ case 3768: case 3770: case 3772: case 3774: return BlockType::JungleWallSign;
+ case 118: case 119: case 120: return BlockType::JungleWood;
+ case 9470: case 9471: case 9472: case 9473: case 9474: case 9475: case 9476: case 9477: case 9478: case 9479: case 9480: case 9481: case 9482: case 9483: case 9484: case 9485: case 9486: case 9487: case 9488: case 9489: case 9490: case 9491: case 9492: case 9493: case 9494: case 9495: return BlockType::Kelp;
+ case 9496: return BlockType::KelpPlant;
+ case 3638: case 3640: case 3642: case 3644: return BlockType::Ladder;
+ case 14886: case 14887: return BlockType::Lantern;
+ case 233: return BlockType::LapisBlock;
+ case 232: return BlockType::LapisOre;
+ case 7895: case 7896: return BlockType::LargeFern;
+ case 50: case 51: case 52: case 53: case 54: case 55: case 56: case 57: case 58: case 59: case 60: case 61: case 62: case 63: case 64: case 65: return BlockType::Lava;
+ case 14833: case 14834: case 14835: case 14836: case 14837: case 14838: case 14839: case 14840: case 14841: case 14842: case 14843: case 14844: case 14845: case 14846: case 14847: case 14848: return BlockType::Lectern;
+ case 3783: case 3784: case 3785: case 3786: case 3787: case 3788: case 3789: case 3790: case 3791: case 3792: case 3793: case 3794: case 3795: case 3796: case 3797: case 3798: case 3799: case 3800: case 3801: case 3802: case 3803: case 3804: case 3805: case 3806: return BlockType::Lever;
+ case 7945: case 7946: case 7947: case 7948: case 7949: case 7950: case 7951: case 7952: case 7953: case 7954: case 7955: case 7956: case 7957: case 7958: case 7959: case 7960: return BlockType::LightBlueBanner;
+ case 1097: case 1098: case 1099: case 1100: case 1101: case 1102: case 1103: case 1104: case 1105: case 1106: case 1107: case 1108: case 1109: case 1110: case 1111: case 1112: return BlockType::LightBlueBed;
+ case 7869: return BlockType::LightBlueCarpet;
+ case 9441: return BlockType::LightBlueConcrete;
+ case 9457: return BlockType::LightBlueConcretePowder;
+ case 9386: case 9387: case 9388: case 9389: return BlockType::LightBlueGlazedTerracotta;
+ case 9296: case 9297: case 9298: case 9299: case 9300: case 9301: return BlockType::LightBlueShulkerBox;
+ case 4098: return BlockType::LightBlueStainedGlass;
+ case 6961: case 6962: case 6965: case 6966: case 6969: case 6970: case 6973: case 6974: case 6977: case 6978: case 6981: case 6982: case 6985: case 6986: case 6989: case 6990: return BlockType::LightBlueStainedGlassPane;
+ case 6850: return BlockType::LightBlueTerracotta;
+ case 8165: case 8166: case 8167: case 8168: return BlockType::LightBlueWallBanner;
+ case 1387: return BlockType::LightBlueWool;
+ case 8025: case 8026: case 8027: case 8028: case 8029: case 8030: case 8031: case 8032: case 8033: case 8034: case 8035: case 8036: case 8037: case 8038: case 8039: case 8040: return BlockType::LightGrayBanner;
+ case 1177: case 1178: case 1179: case 1180: case 1181: case 1182: case 1183: case 1184: case 1185: case 1186: case 1187: case 1188: case 1189: case 1190: case 1191: case 1192: return BlockType::LightGrayBed;
+ case 7874: return BlockType::LightGrayCarpet;
+ case 9446: return BlockType::LightGrayConcrete;
+ case 9462: return BlockType::LightGrayConcretePowder;
+ case 9406: case 9407: case 9408: case 9409: return BlockType::LightGrayGlazedTerracotta;
+ case 9326: case 9327: case 9328: case 9329: case 9330: case 9331: return BlockType::LightGrayShulkerBox;
+ case 4103: return BlockType::LightGrayStainedGlass;
+ case 7121: case 7122: case 7125: case 7126: case 7129: case 7130: case 7133: case 7134: case 7137: case 7138: case 7141: case 7142: case 7145: case 7146: case 7149: case 7150: return BlockType::LightGrayStainedGlassPane;
+ case 6855: return BlockType::LightGrayTerracotta;
+ case 8185: case 8186: case 8187: case 8188: return BlockType::LightGrayWallBanner;
+ case 1392: return BlockType::LightGrayWool;
+ case 6646: case 6647: case 6648: case 6649: case 6650: case 6651: case 6652: case 6653: case 6654: case 6655: case 6656: case 6657: case 6658: case 6659: case 6660: case 6661: return BlockType::LightWeightedPressurePlate;
+ case 7887: case 7888: return BlockType::Lilac;
+ case 1424: return BlockType::LilyOfTheValley;
+ case 5014: return BlockType::LilyPad;
+ case 7977: case 7978: case 7979: case 7980: case 7981: case 7982: case 7983: case 7984: case 7985: case 7986: case 7987: case 7988: case 7989: case 7990: case 7991: case 7992: return BlockType::LimeBanner;
+ case 1129: case 1130: case 1131: case 1132: case 1133: case 1134: case 1135: case 1136: case 1137: case 1138: case 1139: case 1140: case 1141: case 1142: case 1143: case 1144: return BlockType::LimeBed;
+ case 7871: return BlockType::LimeCarpet;
+ case 9443: return BlockType::LimeConcrete;
+ case 9459: return BlockType::LimeConcretePowder;
+ case 9394: case 9395: case 9396: case 9397: return BlockType::LimeGlazedTerracotta;
+ case 9308: case 9309: case 9310: case 9311: case 9312: case 9313: return BlockType::LimeShulkerBox;
+ case 4100: return BlockType::LimeStainedGlass;
+ case 7025: case 7026: case 7029: case 7030: case 7033: case 7034: case 7037: case 7038: case 7041: case 7042: case 7045: case 7046: case 7049: case 7050: case 7053: case 7054: return BlockType::LimeStainedGlassPane;
+ case 6852: return BlockType::LimeTerracotta;
+ case 8173: case 8174: case 8175: case 8176: return BlockType::LimeWallBanner;
+ case 1389: return BlockType::LimeWool;
+ case 15838: return BlockType::Lodestone;
+ case 14787: case 14788: case 14789: case 14790: return BlockType::Loom;
+ case 7929: case 7930: case 7931: case 7932: case 7933: case 7934: case 7935: case 7936: case 7937: case 7938: case 7939: case 7940: case 7941: case 7942: case 7943: case 7944: return BlockType::MagentaBanner;
+ case 1081: case 1082: case 1083: case 1084: case 1085: case 1086: case 1087: case 1088: case 1089: case 1090: case 1091: case 1092: case 1093: case 1094: case 1095: case 1096: return BlockType::MagentaBed;
+ case 7868: return BlockType::MagentaCarpet;
+ case 9440: return BlockType::MagentaConcrete;
+ case 9456: return BlockType::MagentaConcretePowder;
+ case 9382: case 9383: case 9384: case 9385: return BlockType::MagentaGlazedTerracotta;
+ case 9290: case 9291: case 9292: case 9293: case 9294: case 9295: return BlockType::MagentaShulkerBox;
+ case 4097: return BlockType::MagentaStainedGlass;
+ case 6929: case 6930: case 6933: case 6934: case 6937: case 6938: case 6941: case 6942: case 6945: case 6946: case 6949: case 6950: case 6953: case 6954: case 6957: case 6958: return BlockType::MagentaStainedGlassPane;
+ case 6849: return BlockType::MagentaTerracotta;
+ case 8161: case 8162: case 8163: case 8164: return BlockType::MagentaWallBanner;
+ case 1386: return BlockType::MagentaWool;
+ case 9253: return BlockType::MagmaBlock;
+ case 4763: return BlockType::Melon;
+ case 4780: case 4781: case 4782: case 4783: case 4784: case 4785: case 4786: case 4787: return BlockType::MelonStem;
+ case 1433: return BlockType::MossyCobblestone;
+ case 10814: case 10816: case 10818: return BlockType::MossyCobblestoneSlab;
+ case 9990: case 9992: case 9994: case 9996: case 9998: case 10000: case 10002: case 10004: case 10006: case 10008: case 10010: case 10012: case 10014: case 10016: case 10018: case 10020: case 10022: case 10024: case 10026: case 10028: case 10030: case 10032: case 10034: case 10036: case 10038: case 10040: case 10042: case 10044: case 10046: case 10048: case 10050: case 10052: case 10054: case 10056: case 10058: case 10060: case 10062: case 10064: case 10066: case 10068: return BlockType::MossyCobblestoneStairs;
+ case 5984: case 5985: case 5986: case 5990: case 5991: case 5992: case 5996: case 5997: case 5998: case 6002: case 6003: case 6004: case 6008: case 6009: case 6010: case 6014: case 6015: case 6016: case 6020: case 6021: case 6022: case 6026: case 6027: case 6028: case 6032: case 6033: case 6034: case 6038: case 6039: case 6040: case 6044: case 6045: case 6046: case 6050: case 6051: case 6052: case 6056: case 6057: case 6058: case 6062: case 6063: case 6064: case 6068: case 6069: case 6070: case 6074: case 6075: case 6076: case 6080: case 6081: case 6082: case 6086: case 6087: case 6088: case 6092: case 6093: case 6094: case 6098: case 6099: case 6100: case 6104: case 6105: case 6106: case 6110: case 6111: case 6112: case 6116: case 6117: case 6118: case 6122: case 6123: case 6124: case 6128: case 6129: case 6130: case 6134: case 6135: case 6136: case 6140: case 6141: case 6142: case 6146: case 6147: case 6148: case 6152: case 6153: case 6154: case 6158: case 6159: case 6160: case 6164: case 6165: case 6166: case 6170: case 6171: case 6172: case 6176: case 6177: case 6178: case 6182: case 6183: case 6184: case 6188: case 6189: case 6190: case 6194: case 6195: case 6196: case 6200: case 6201: case 6202: case 6206: case 6207: case 6208: case 6212: case 6213: case 6214: case 6218: case 6219: case 6220: case 6224: case 6225: case 6226: case 6230: case 6231: case 6232: case 6236: case 6237: case 6238: case 6242: case 6243: case 6244: case 6248: case 6249: case 6250: case 6254: case 6255: case 6256: case 6260: case 6261: case 6262: case 6266: case 6267: case 6268: case 6272: case 6273: case 6274: case 6278: case 6279: case 6280: case 6284: case 6285: case 6286: case 6290: case 6291: case 6292: case 6296: case 6297: case 6298: case 6302: case 6303: case 6304: return BlockType::MossyCobblestoneWall;
+ case 10802: case 10804: case 10806: return BlockType::MossyStoneBrickSlab;
+ case 9830: case 9832: case 9834: case 9836: case 9838: case 9840: case 9842: case 9844: case 9846: case 9848: case 9850: case 9852: case 9854: case 9856: case 9858: case 9860: case 9862: case 9864: case 9866: case 9868: case 9870: case 9872: case 9874: case 9876: case 9878: case 9880: case 9882: case 9884: case 9886: case 9888: case 9890: case 9892: case 9894: case 9896: case 9898: case 9900: case 9902: case 9904: case 9906: case 9908: return BlockType::MossyStoneBrickStairs;
+ case 11842: case 11843: case 11844: case 11848: case 11849: case 11850: case 11854: case 11855: case 11856: case 11860: case 11861: case 11862: case 11866: case 11867: case 11868: case 11872: case 11873: case 11874: case 11878: case 11879: case 11880: case 11884: case 11885: case 11886: case 11890: case 11891: case 11892: case 11896: case 11897: case 11898: case 11902: case 11903: case 11904: case 11908: case 11909: case 11910: case 11914: case 11915: case 11916: case 11920: case 11921: case 11922: case 11926: case 11927: case 11928: case 11932: case 11933: case 11934: case 11938: case 11939: case 11940: case 11944: case 11945: case 11946: case 11950: case 11951: case 11952: case 11956: case 11957: case 11958: case 11962: case 11963: case 11964: case 11968: case 11969: case 11970: case 11974: case 11975: case 11976: case 11980: case 11981: case 11982: case 11986: case 11987: case 11988: case 11992: case 11993: case 11994: case 11998: case 11999: case 12000: case 12004: case 12005: case 12006: case 12010: case 12011: case 12012: case 12016: case 12017: case 12018: case 12022: case 12023: case 12024: case 12028: case 12029: case 12030: case 12034: case 12035: case 12036: case 12040: case 12041: case 12042: case 12046: case 12047: case 12048: case 12052: case 12053: case 12054: case 12058: case 12059: case 12060: case 12064: case 12065: case 12066: case 12070: case 12071: case 12072: case 12076: case 12077: case 12078: case 12082: case 12083: case 12084: case 12088: case 12089: case 12090: case 12094: case 12095: case 12096: case 12100: case 12101: case 12102: case 12106: case 12107: case 12108: case 12112: case 12113: case 12114: case 12118: case 12119: case 12120: case 12124: case 12125: case 12126: case 12130: case 12131: case 12132: case 12136: case 12137: case 12138: case 12142: case 12143: case 12144: case 12148: case 12149: case 12150: case 12154: case 12155: case 12156: case 12160: case 12161: case 12162: return BlockType::MossyStoneBrickWall;
+ case 4496: return BlockType::MossyStoneBricks;
+ case 1400: case 1401: case 1402: case 1403: case 1404: case 1405: case 1406: case 1407: case 1408: case 1409: case 1410: case 1411: return BlockType::MovingPiston;
+ case 4633: case 4634: case 4635: case 4636: case 4637: case 4638: case 4639: case 4640: case 4641: case 4642: case 4643: case 4644: case 4645: case 4646: case 4647: case 4648: case 4649: case 4650: case 4651: case 4652: case 4653: case 4654: case 4655: case 4656: case 4657: case 4658: case 4659: case 4660: case 4661: case 4662: case 4663: case 4664: case 4665: case 4666: case 4667: case 4668: case 4669: case 4670: case 4671: case 4672: case 4673: case 4674: case 4675: case 4676: case 4677: case 4678: case 4679: case 4680: case 4681: case 4682: case 4683: case 4684: case 4685: case 4686: case 4687: case 4688: case 4689: case 4690: case 4691: case 4692: case 4693: case 4694: case 4695: case 4696: return BlockType::MushroomStem;
+ case 5012: case 5013: return BlockType::Mycelium;
+ case 5018: case 5019: case 5022: case 5023: case 5026: case 5027: case 5030: case 5031: case 5034: case 5035: case 5038: case 5039: case 5042: case 5043: case 5046: case 5047: return BlockType::NetherBrickFence;
+ case 8385: case 8387: case 8389: return BlockType::NetherBrickSlab;
+ case 5049: case 5051: case 5053: case 5055: case 5057: case 5059: case 5061: case 5063: case 5065: case 5067: case 5069: case 5071: case 5073: case 5075: case 5077: case 5079: case 5081: case 5083: case 5085: case 5087: case 5089: case 5091: case 5093: case 5095: case 5097: case 5099: case 5101: case 5103: case 5105: case 5107: case 5109: case 5111: case 5113: case 5115: case 5117: case 5119: case 5121: case 5123: case 5125: case 5127: return BlockType::NetherBrickStairs;
+ case 12814: case 12815: case 12816: case 12820: case 12821: case 12822: case 12826: case 12827: case 12828: case 12832: case 12833: case 12834: case 12838: case 12839: case 12840: case 12844: case 12845: case 12846: case 12850: case 12851: case 12852: case 12856: case 12857: case 12858: case 12862: case 12863: case 12864: case 12868: case 12869: case 12870: case 12874: case 12875: case 12876: case 12880: case 12881: case 12882: case 12886: case 12887: case 12888: case 12892: case 12893: case 12894: case 12898: case 12899: case 12900: case 12904: case 12905: case 12906: case 12910: case 12911: case 12912: case 12916: case 12917: case 12918: case 12922: case 12923: case 12924: case 12928: case 12929: case 12930: case 12934: case 12935: case 12936: case 12940: case 12941: case 12942: case 12946: case 12947: case 12948: case 12952: case 12953: case 12954: case 12958: case 12959: case 12960: case 12964: case 12965: case 12966: case 12970: case 12971: case 12972: case 12976: case 12977: case 12978: case 12982: case 12983: case 12984: case 12988: case 12989: case 12990: case 12994: case 12995: case 12996: case 13000: case 13001: case 13002: case 13006: case 13007: case 13008: case 13012: case 13013: case 13014: case 13018: case 13019: case 13020: case 13024: case 13025: case 13026: case 13030: case 13031: case 13032: case 13036: case 13037: case 13038: case 13042: case 13043: case 13044: case 13048: case 13049: case 13050: case 13054: case 13055: case 13056: case 13060: case 13061: case 13062: case 13066: case 13067: case 13068: case 13072: case 13073: case 13074: case 13078: case 13079: case 13080: case 13084: case 13085: case 13086: case 13090: case 13091: case 13092: case 13096: case 13097: case 13098: case 13102: case 13103: case 13104: case 13108: case 13109: case 13110: case 13114: case 13115: case 13116: case 13120: case 13121: case 13122: case 13126: case 13127: case 13128: case 13132: case 13133: case 13134: return BlockType::NetherBrickWall;
+ case 5015: return BlockType::NetherBricks;
+ case 72: return BlockType::NetherGoldOre;
+ case 4014: case 4015: return BlockType::NetherPortal;
+ case 6727: return BlockType::NetherQuartzOre;
+ case 14974: return BlockType::NetherSprouts;
+ case 5128: case 5129: case 5130: case 5131: return BlockType::NetherWart;
+ case 9254: return BlockType::NetherWartBlock;
+ case 15826: return BlockType::NetheriteBlock;
+ case 3999: return BlockType::Netherrack;
+ case 249: case 250: case 251: case 252: case 253: case 254: case 255: case 256: case 257: case 258: case 259: case 260: case 261: case 262: case 263: case 264: case 265: case 266: case 267: case 268: case 269: case 270: case 271: case 272: case 273: case 274: case 275: case 276: case 277: case 278: case 279: case 280: case 281: case 282: case 283: case 284: case 285: case 286: case 287: case 288: case 289: case 290: case 291: case 292: case 293: case 294: case 295: case 296: case 297: case 298: case 299: case 300: case 301: case 302: case 303: case 304: case 305: case 306: case 307: case 308: case 309: case 310: case 311: case 312: case 313: case 314: case 315: case 316: case 317: case 318: case 319: case 320: case 321: case 322: case 323: case 324: case 325: case 326: case 327: case 328: case 329: case 330: case 331: case 332: case 333: case 334: case 335: case 336: case 337: case 338: case 339: case 340: case 341: case 342: case 343: case 344: case 345: case 346: case 347: case 348: case 349: case 350: case 351: case 352: case 353: case 354: case 355: case 356: case 357: case 358: case 359: case 360: case 361: case 362: case 363: case 364: case 365: case 366: case 367: case 368: case 369: case 370: case 371: case 372: case 373: case 374: case 375: case 376: case 377: case 378: case 379: case 380: case 381: case 382: case 383: case 384: case 385: case 386: case 387: case 388: case 389: case 390: case 391: case 392: case 393: case 394: case 395: case 396: case 397: case 398: case 399: case 400: case 401: case 402: case 403: case 404: case 405: case 406: case 407: case 408: case 409: case 410: case 411: case 412: case 413: case 414: case 415: case 416: case 417: case 418: case 419: case 420: case 421: case 422: case 423: case 424: case 425: case 426: case 427: case 428: case 429: case 430: case 431: case 432: case 433: case 434: case 435: case 436: case 437: case 438: case 439: case 440: case 441: case 442: case 443: case 444: case 445: case 446: case 447: case 448: case 449: case 450: case 451: case 452: case 453: case 454: case 455: case 456: case 457: case 458: case 459: case 460: case 461: case 462: case 463: case 464: case 465: case 466: case 467: case 468: case 469: case 470: case 471: case 472: case 473: case 474: case 475: case 476: case 477: case 478: case 479: case 480: case 481: case 482: case 483: case 484: case 485: case 486: case 487: case 488: case 489: case 490: case 491: case 492: case 493: case 494: case 495: case 496: case 497: case 498: case 499: case 500: case 501: case 502: case 503: case 504: case 505: case 506: case 507: case 508: case 509: case 510: case 511: case 512: case 513: case 514: case 515: case 516: case 517: case 518: case 519: case 520: case 521: case 522: case 523: case 524: case 525: case 526: case 527: case 528: case 529: case 530: case 531: case 532: case 533: case 534: case 535: case 536: case 537: case 538: case 539: case 540: case 541: case 542: case 543: case 544: case 545: case 546: case 547: case 548: case 549: case 550: case 551: case 552: case 553: case 554: case 555: case 556: case 557: case 558: case 559: case 560: case 561: case 562: case 563: case 564: case 565: case 566: case 567: case 568: case 569: case 570: case 571: case 572: case 573: case 574: case 575: case 576: case 577: case 578: case 579: case 580: case 581: case 582: case 583: case 584: case 585: case 586: case 587: case 588: case 589: case 590: case 591: case 592: case 593: case 594: case 595: case 596: case 597: case 598: case 599: case 600: case 601: case 602: case 603: case 604: case 605: case 606: case 607: case 608: case 609: case 610: case 611: case 612: case 613: case 614: case 615: case 616: case 617: case 618: case 619: case 620: case 621: case 622: case 623: case 624: case 625: case 626: case 627: case 628: case 629: case 630: case 631: case 632: case 633: case 634: case 635: case 636: case 637: case 638: case 639: case 640: case 641: case 642: case 643: case 644: case 645: case 646: case 647: case 648: case 649: case 650: case 651: case 652: case 653: case 654: case 655: case 656: case 657: case 658: case 659: case 660: case 661: case 662: case 663: case 664: case 665: case 666: case 667: case 668: case 669: case 670: case 671: case 672: case 673: case 674: case 675: case 676: case 677: case 678: case 679: case 680: case 681: case 682: case 683: case 684: case 685: case 686: case 687: case 688: case 689: case 690: case 691: case 692: case 693: case 694: case 695: case 696: case 697: case 698: case 699: case 700: case 701: case 702: case 703: case 704: case 705: case 706: case 707: case 708: case 709: case 710: case 711: case 712: case 713: case 714: case 715: case 716: case 717: case 718: case 719: case 720: case 721: case 722: case 723: case 724: case 725: case 726: case 727: case 728: case 729: case 730: case 731: case 732: case 733: case 734: case 735: case 736: case 737: case 738: case 739: case 740: case 741: case 742: case 743: case 744: case 745: case 746: case 747: case 748: case 749: case 750: case 751: case 752: case 753: case 754: case 755: case 756: case 757: case 758: case 759: case 760: case 761: case 762: case 763: case 764: case 765: case 766: case 767: case 768: case 769: case 770: case 771: case 772: case 773: case 774: case 775: case 776: case 777: case 778: case 779: case 780: case 781: case 782: case 783: case 784: case 785: case 786: case 787: case 788: case 789: case 790: case 791: case 792: case 793: case 794: case 795: case 796: case 797: case 798: case 799: case 800: case 801: case 802: case 803: case 804: case 805: case 806: case 807: case 808: case 809: case 810: case 811: case 812: case 813: case 814: case 815: case 816: case 817: case 818: case 819: case 820: case 821: case 822: case 823: case 824: case 825: case 826: case 827: case 828: case 829: case 830: case 831: case 832: case 833: case 834: case 835: case 836: case 837: case 838: case 839: case 840: case 841: case 842: case 843: case 844: case 845: case 846: case 847: case 848: case 849: case 850: case 851: case 852: case 853: case 854: case 855: case 856: case 857: case 858: case 859: case 860: case 861: case 862: case 863: case 864: case 865: case 866: case 867: case 868: case 869: case 870: case 871: case 872: case 873: case 874: case 875: case 876: case 877: case 878: case 879: case 880: case 881: case 882: case 883: case 884: case 885: case 886: case 887: case 888: case 889: case 890: case 891: case 892: case 893: case 894: case 895: case 896: case 897: case 898: case 899: case 900: case 901: case 902: case 903: case 904: case 905: case 906: case 907: case 908: case 909: case 910: case 911: case 912: case 913: case 914: case 915: case 916: case 917: case 918: case 919: case 920: case 921: case 922: case 923: case 924: case 925: case 926: case 927: case 928: case 929: case 930: case 931: case 932: case 933: case 934: case 935: case 936: case 937: case 938: case 939: case 940: case 941: case 942: case 943: case 944: case 945: case 946: case 947: case 948: case 949: case 950: case 951: case 952: case 953: case 954: case 955: case 956: case 957: case 958: case 959: case 960: case 961: case 962: case 963: case 964: case 965: case 966: case 967: case 968: case 969: case 970: case 971: case 972: case 973: case 974: case 975: case 976: case 977: case 978: case 979: case 980: case 981: case 982: case 983: case 984: case 985: case 986: case 987: case 988: case 989: case 990: case 991: case 992: case 993: case 994: case 995: case 996: case 997: case 998: case 999: case 1000: case 1001: case 1002: case 1003: case 1004: case 1005: case 1006: case 1007: case 1008: case 1009: case 1010: case 1011: case 1012: case 1013: case 1014: case 1015: case 1016: case 1017: case 1018: case 1019: case 1020: case 1021: case 1022: case 1023: case 1024: case 1025: case 1026: case 1027: case 1028: case 1029: case 1030: case 1031: case 1032: case 1033: case 1034: case 1035: case 1036: case 1037: case 1038: case 1039: case 1040: case 1041: case 1042: case 1043: case 1044: case 1045: case 1046: case 1047: case 1048: return BlockType::NoteBlock;
+ case 6346: case 6347: case 6348: case 6349: case 6350: case 6351: case 6352: case 6353: case 6354: case 6355: case 6356: case 6357: case 6358: case 6359: case 6360: case 6361: case 6362: case 6363: case 6364: case 6365: case 6366: case 6367: case 6368: case 6369: return BlockType::OakButton;
+ case 3573: case 3574: case 3575: case 3576: case 3577: case 3578: case 3579: case 3580: case 3581: case 3582: case 3583: case 3584: case 3585: case 3586: case 3587: case 3588: case 3589: case 3590: case 3591: case 3592: case 3593: case 3594: case 3595: case 3596: case 3597: case 3598: case 3599: case 3600: case 3601: case 3602: case 3603: case 3604: case 3605: case 3606: case 3607: case 3608: case 3609: case 3610: case 3611: case 3612: case 3613: case 3614: case 3615: case 3616: case 3617: case 3618: case 3619: case 3620: case 3621: case 3622: case 3623: case 3624: case 3625: case 3626: case 3627: case 3628: case 3629: case 3630: case 3631: case 3632: case 3633: case 3634: case 3635: case 3636: return BlockType::OakDoor;
+ case 3968: case 3969: case 3972: case 3973: case 3976: case 3977: case 3980: case 3981: case 3984: case 3985: case 3988: case 3989: case 3992: case 3993: case 3996: case 3997: return BlockType::OakFence;
+ case 4820: case 4821: case 4822: case 4823: case 4824: case 4825: case 4826: case 4827: case 4828: case 4829: case 4830: case 4831: case 4832: case 4833: case 4834: case 4835: case 4836: case 4837: case 4838: case 4839: case 4840: case 4841: case 4842: case 4843: case 4844: case 4845: case 4846: case 4847: case 4848: case 4849: case 4850: case 4851: return BlockType::OakFenceGate;
+ case 145: case 146: case 147: case 148: case 149: case 150: case 151: case 152: case 153: case 154: case 155: case 156: case 157: case 158: return BlockType::OakLeaves;
+ case 73: case 74: case 75: return BlockType::OakLog;
+ case 15: return BlockType::OakPlanks;
+ case 3873: case 3874: return BlockType::OakPressurePlate;
+ case 21: case 22: return BlockType::OakSapling;
+ case 3382: case 3384: case 3386: case 3388: case 3390: case 3392: case 3394: case 3396: case 3398: case 3400: case 3402: case 3404: case 3406: case 3408: case 3410: case 3412: return BlockType::OakSign;
+ case 8301: case 8303: case 8305: return BlockType::OakSlab;
+ case 1955: case 1957: case 1959: case 1961: case 1963: case 1965: case 1967: case 1969: case 1971: case 1973: case 1975: case 1977: case 1979: case 1981: case 1983: case 1985: case 1987: case 1989: case 1991: case 1993: case 1995: case 1997: case 1999: case 2001: case 2003: case 2005: case 2007: case 2009: case 2011: case 2013: case 2015: case 2017: case 2019: case 2021: case 2023: case 2025: case 2027: case 2029: case 2031: case 2033: return BlockType::OakStairs;
+ case 4112: case 4114: case 4116: case 4118: case 4120: case 4122: case 4124: case 4126: case 4128: case 4130: case 4132: case 4134: case 4136: case 4138: case 4140: case 4142: case 4144: case 4146: case 4148: case 4150: case 4152: case 4154: case 4156: case 4158: case 4160: case 4162: case 4164: case 4166: case 4168: case 4170: case 4172: case 4174: return BlockType::OakTrapdoor;
+ case 3736: case 3738: case 3740: case 3742: return BlockType::OakWallSign;
+ case 109: case 110: case 111: return BlockType::OakWood;
+ case 9260: case 9261: case 9262: case 9263: case 9264: case 9265: case 9266: case 9267: case 9268: case 9269: case 9270: case 9271: return BlockType::Observer;
+ case 1434: return BlockType::Obsidian;
+ case 7913: case 7914: case 7915: case 7916: case 7917: case 7918: case 7919: case 7920: case 7921: case 7922: case 7923: case 7924: case 7925: case 7926: case 7927: case 7928: return BlockType::OrangeBanner;
+ case 1065: case 1066: case 1067: case 1068: case 1069: case 1070: case 1071: case 1072: case 1073: case 1074: case 1075: case 1076: case 1077: case 1078: case 1079: case 1080: return BlockType::OrangeBed;
+ case 7867: return BlockType::OrangeCarpet;
+ case 9439: return BlockType::OrangeConcrete;
+ case 9455: return BlockType::OrangeConcretePowder;
+ case 9378: case 9379: case 9380: case 9381: return BlockType::OrangeGlazedTerracotta;
+ case 9284: case 9285: case 9286: case 9287: case 9288: case 9289: return BlockType::OrangeShulkerBox;
+ case 4096: return BlockType::OrangeStainedGlass;
+ case 6897: case 6898: case 6901: case 6902: case 6905: case 6906: case 6909: case 6910: case 6913: case 6914: case 6917: case 6918: case 6921: case 6922: case 6925: case 6926: return BlockType::OrangeStainedGlassPane;
+ case 6848: return BlockType::OrangeTerracotta;
+ case 1418: return BlockType::OrangeTulip;
+ case 8157: case 8158: case 8159: case 8160: return BlockType::OrangeWallBanner;
+ case 1385: return BlockType::OrangeWool;
+ case 1421: return BlockType::OxeyeDaisy;
+ case 7884: return BlockType::PackedIce;
+ case 7891: case 7892: return BlockType::Peony;
+ case 8361: case 8363: case 8365: return BlockType::PetrifiedOakSlab;
+ case 7993: case 7994: case 7995: case 7996: case 7997: case 7998: case 7999: case 8000: case 8001: case 8002: case 8003: case 8004: case 8005: case 8006: case 8007: case 8008: return BlockType::PinkBanner;
+ case 1145: case 1146: case 1147: case 1148: case 1149: case 1150: case 1151: case 1152: case 1153: case 1154: case 1155: case 1156: case 1157: case 1158: case 1159: case 1160: return BlockType::PinkBed;
+ case 7872: return BlockType::PinkCarpet;
+ case 9444: return BlockType::PinkConcrete;
+ case 9460: return BlockType::PinkConcretePowder;
+ case 9398: case 9399: case 9400: case 9401: return BlockType::PinkGlazedTerracotta;
+ case 9314: case 9315: case 9316: case 9317: case 9318: case 9319: return BlockType::PinkShulkerBox;
+ case 4101: return BlockType::PinkStainedGlass;
+ case 7057: case 7058: case 7061: case 7062: case 7065: case 7066: case 7069: case 7070: case 7073: case 7074: case 7077: case 7078: case 7081: case 7082: case 7085: case 7086: return BlockType::PinkStainedGlassPane;
+ case 6853: return BlockType::PinkTerracotta;
+ case 1420: return BlockType::PinkTulip;
+ case 8177: case 8178: case 8179: case 8180: return BlockType::PinkWallBanner;
+ case 1390: return BlockType::PinkWool;
+ case 1348: case 1349: case 1350: case 1351: case 1352: case 1353: case 1354: case 1355: case 1356: case 1357: case 1358: case 1359: return BlockType::Piston;
+ case 1360: case 1361: case 1362: case 1363: case 1364: case 1365: case 1366: case 1367: case 1368: case 1369: case 1370: case 1371: case 1372: case 1373: case 1374: case 1375: case 1376: case 1377: case 1378: case 1379: case 1380: case 1381: case 1382: case 1383: return BlockType::PistonHead;
+ case 6550: case 6551: case 6552: case 6553: case 6554: case 6555: case 6556: case 6557: case 6558: case 6559: case 6560: case 6561: case 6562: case 6563: case 6564: case 6565: return BlockType::PlayerHead;
+ case 6566: case 6567: case 6568: case 6569: return BlockType::PlayerWallHead;
+ case 12: case 13: return BlockType::Podzol;
+ case 7: return BlockType::PolishedAndesite;
+ case 10856: case 10858: case 10860: return BlockType::PolishedAndesiteSlab;
+ case 10630: case 10632: case 10634: case 10636: case 10638: case 10640: case 10642: case 10644: case 10646: case 10648: case 10650: case 10652: case 10654: case 10656: case 10658: case 10660: case 10662: case 10664: case 10666: case 10668: case 10670: case 10672: case 10674: case 10676: case 10678: case 10680: case 10682: case 10684: case 10686: case 10688: case 10690: case 10692: case 10694: case 10696: case 10698: case 10700: case 10702: case 10704: case 10706: case 10708: return BlockType::PolishedAndesiteStairs;
+ case 4005: case 4006: case 4007: return BlockType::PolishedBasalt;
+ case 16250: return BlockType::PolishedBlackstone;
+ case 16255: case 16257: case 16259: return BlockType::PolishedBlackstoneBrickSlab;
+ case 16261: case 16263: case 16265: case 16267: case 16269: case 16271: case 16273: case 16275: case 16277: case 16279: case 16281: case 16283: case 16285: case 16287: case 16289: case 16291: case 16293: case 16295: case 16297: case 16299: case 16301: case 16303: case 16305: case 16307: case 16309: case 16311: case 16313: case 16315: case 16317: case 16319: case 16321: case 16323: case 16325: case 16327: case 16329: case 16331: case 16333: case 16335: case 16337: case 16339: return BlockType::PolishedBlackstoneBrickStairs;
+ case 16343: case 16344: case 16345: case 16349: case 16350: case 16351: case 16355: case 16356: case 16357: case 16361: case 16362: case 16363: case 16367: case 16368: case 16369: case 16373: case 16374: case 16375: case 16379: case 16380: case 16381: case 16385: case 16386: case 16387: case 16391: case 16392: case 16393: case 16397: case 16398: case 16399: case 16403: case 16404: case 16405: case 16409: case 16410: case 16411: case 16415: case 16416: case 16417: case 16421: case 16422: case 16423: case 16427: case 16428: case 16429: case 16433: case 16434: case 16435: case 16439: case 16440: case 16441: case 16445: case 16446: case 16447: case 16451: case 16452: case 16453: case 16457: case 16458: case 16459: case 16463: case 16464: case 16465: case 16469: case 16470: case 16471: case 16475: case 16476: case 16477: case 16481: case 16482: case 16483: case 16487: case 16488: case 16489: case 16493: case 16494: case 16495: case 16499: case 16500: case 16501: case 16505: case 16506: case 16507: case 16511: case 16512: case 16513: case 16517: case 16518: case 16519: case 16523: case 16524: case 16525: case 16529: case 16530: case 16531: case 16535: case 16536: case 16537: case 16541: case 16542: case 16543: case 16547: case 16548: case 16549: case 16553: case 16554: case 16555: case 16559: case 16560: case 16561: case 16565: case 16566: case 16567: case 16571: case 16572: case 16573: case 16577: case 16578: case 16579: case 16583: case 16584: case 16585: case 16589: case 16590: case 16591: case 16595: case 16596: case 16597: case 16601: case 16602: case 16603: case 16607: case 16608: case 16609: case 16613: case 16614: case 16615: case 16619: case 16620: case 16621: case 16625: case 16626: case 16627: case 16631: case 16632: case 16633: case 16637: case 16638: case 16639: case 16643: case 16644: case 16645: case 16649: case 16650: case 16651: case 16655: case 16656: case 16657: case 16661: case 16662: case 16663: return BlockType::PolishedBlackstoneBrickWall;
+ case 16251: return BlockType::PolishedBlackstoneBricks;
+ case 16753: case 16754: case 16755: case 16756: case 16757: case 16758: case 16759: case 16760: case 16761: case 16762: case 16763: case 16764: case 16765: case 16766: case 16767: case 16768: case 16769: case 16770: case 16771: case 16772: case 16773: case 16774: case 16775: case 16776: return BlockType::PolishedBlackstoneButton;
+ case 16751: case 16752: return BlockType::PolishedBlackstonePressurePlate;
+ case 16746: case 16748: case 16750: return BlockType::PolishedBlackstoneSlab;
+ case 16666: case 16668: case 16670: case 16672: case 16674: case 16676: case 16678: case 16680: case 16682: case 16684: case 16686: case 16688: case 16690: case 16692: case 16694: case 16696: case 16698: case 16700: case 16702: case 16704: case 16706: case 16708: case 16710: case 16712: case 16714: case 16716: case 16718: case 16720: case 16722: case 16724: case 16726: case 16728: case 16730: case 16732: case 16734: case 16736: case 16738: case 16740: case 16742: case 16744: return BlockType::PolishedBlackstoneStairs;
+ case 16780: case 16781: case 16782: case 16786: case 16787: case 16788: case 16792: case 16793: case 16794: case 16798: case 16799: case 16800: case 16804: case 16805: case 16806: case 16810: case 16811: case 16812: case 16816: case 16817: case 16818: case 16822: case 16823: case 16824: case 16828: case 16829: case 16830: case 16834: case 16835: case 16836: case 16840: case 16841: case 16842: case 16846: case 16847: case 16848: case 16852: case 16853: case 16854: case 16858: case 16859: case 16860: case 16864: case 16865: case 16866: case 16870: case 16871: case 16872: case 16876: case 16877: case 16878: case 16882: case 16883: case 16884: case 16888: case 16889: case 16890: case 16894: case 16895: case 16896: case 16900: case 16901: case 16902: case 16906: case 16907: case 16908: case 16912: case 16913: case 16914: case 16918: case 16919: case 16920: case 16924: case 16925: case 16926: case 16930: case 16931: case 16932: case 16936: case 16937: case 16938: case 16942: case 16943: case 16944: case 16948: case 16949: case 16950: case 16954: case 16955: case 16956: case 16960: case 16961: case 16962: case 16966: case 16967: case 16968: case 16972: case 16973: case 16974: case 16978: case 16979: case 16980: case 16984: case 16985: case 16986: case 16990: case 16991: case 16992: case 16996: case 16997: case 16998: case 17002: case 17003: case 17004: case 17008: case 17009: case 17010: case 17014: case 17015: case 17016: case 17020: case 17021: case 17022: case 17026: case 17027: case 17028: case 17032: case 17033: case 17034: case 17038: case 17039: case 17040: case 17044: case 17045: case 17046: case 17050: case 17051: case 17052: case 17056: case 17057: case 17058: case 17062: case 17063: case 17064: case 17068: case 17069: case 17070: case 17074: case 17075: case 17076: case 17080: case 17081: case 17082: case 17086: case 17087: case 17088: case 17092: case 17093: case 17094: case 17098: case 17099: case 17100: return BlockType::PolishedBlackstoneWall;
+ case 5: return BlockType::PolishedDiorite;
+ case 10808: case 10810: case 10812: return BlockType::PolishedDioriteSlab;
+ case 9910: case 9912: case 9914: case 9916: case 9918: case 9920: case 9922: case 9924: case 9926: case 9928: case 9930: case 9932: case 9934: case 9936: case 9938: case 9940: case 9942: case 9944: case 9946: case 9948: case 9950: case 9952: case 9954: case 9956: case 9958: case 9960: case 9962: case 9964: case 9966: case 9968: case 9970: case 9972: case 9974: case 9976: case 9978: case 9980: case 9982: case 9984: case 9986: case 9988: return BlockType::PolishedDioriteStairs;
+ case 3: return BlockType::PolishedGranite;
+ case 10790: case 10792: case 10794: return BlockType::PolishedGraniteSlab;
+ case 9670: case 9672: case 9674: case 9676: case 9678: case 9680: case 9682: case 9684: case 9686: case 9688: case 9690: case 9692: case 9694: case 9696: case 9698: case 9700: case 9702: case 9704: case 9706: case 9708: case 9710: case 9712: case 9714: case 9716: case 9718: case 9720: case 9722: case 9724: case 9726: case 9728: case 9730: case 9732: case 9734: case 9736: case 9738: case 9740: case 9742: case 9744: case 9746: case 9748: return BlockType::PolishedGraniteStairs;
+ case 1413: return BlockType::Poppy;
+ case 6338: case 6339: case 6340: case 6341: case 6342: case 6343: case 6344: case 6345: return BlockType::Potatoes;
+ case 6310: return BlockType::PottedAcaciaSapling;
+ case 6316: return BlockType::PottedAllium;
+ case 6317: return BlockType::PottedAzureBluet;
+ case 9664: return BlockType::PottedBamboo;
+ case 6308: return BlockType::PottedBirchSapling;
+ case 6315: return BlockType::PottedBlueOrchid;
+ case 6327: return BlockType::PottedBrownMushroom;
+ case 6329: return BlockType::PottedCactus;
+ case 6323: return BlockType::PottedCornflower;
+ case 15834: return BlockType::PottedCrimsonFungus;
+ case 15836: return BlockType::PottedCrimsonRoots;
+ case 6313: return BlockType::PottedDandelion;
+ case 6311: return BlockType::PottedDarkOakSapling;
+ case 6328: return BlockType::PottedDeadBush;
+ case 6312: return BlockType::PottedFern;
+ case 6309: return BlockType::PottedJungleSapling;
+ case 6324: return BlockType::PottedLilyOfTheValley;
+ case 6306: return BlockType::PottedOakSapling;
+ case 6319: return BlockType::PottedOrangeTulip;
+ case 6322: return BlockType::PottedOxeyeDaisy;
+ case 6321: return BlockType::PottedPinkTulip;
+ case 6314: return BlockType::PottedPoppy;
+ case 6326: return BlockType::PottedRedMushroom;
+ case 6318: return BlockType::PottedRedTulip;
+ case 6307: return BlockType::PottedSpruceSapling;
+ case 15835: return BlockType::PottedWarpedFungus;
+ case 15837: return BlockType::PottedWarpedRoots;
+ case 6320: return BlockType::PottedWhiteTulip;
+ case 6325: return BlockType::PottedWitherRose;
+ case 1305: case 1306: case 1307: case 1308: case 1309: case 1310: case 1311: case 1312: case 1313: case 1314: case 1315: case 1316: return BlockType::PoweredRail;
+ case 7601: return BlockType::Prismarine;
+ case 7851: case 7853: case 7855: return BlockType::PrismarineBrickSlab;
+ case 7685: case 7687: case 7689: case 7691: case 7693: case 7695: case 7697: case 7699: case 7701: case 7703: case 7705: case 7707: case 7709: case 7711: case 7713: case 7715: case 7717: case 7719: case 7721: case 7723: case 7725: case 7727: case 7729: case 7731: case 7733: case 7735: case 7737: case 7739: case 7741: case 7743: case 7745: case 7747: case 7749: case 7751: case 7753: case 7755: case 7757: case 7759: case 7761: case 7763: return BlockType::PrismarineBrickStairs;
+ case 7602: return BlockType::PrismarineBricks;
+ case 7845: case 7847: case 7849: return BlockType::PrismarineSlab;
+ case 7605: case 7607: case 7609: case 7611: case 7613: case 7615: case 7617: case 7619: case 7621: case 7623: case 7625: case 7627: case 7629: case 7631: case 7633: case 7635: case 7637: case 7639: case 7641: case 7643: case 7645: case 7647: case 7649: case 7651: case 7653: case 7655: case 7657: case 7659: case 7661: case 7663: case 7665: case 7667: case 7669: case 7671: case 7673: case 7675: case 7677: case 7679: case 7681: case 7683: return BlockType::PrismarineStairs;
+ case 11194: case 11195: case 11196: case 11200: case 11201: case 11202: case 11206: case 11207: case 11208: case 11212: case 11213: case 11214: case 11218: case 11219: case 11220: case 11224: case 11225: case 11226: case 11230: case 11231: case 11232: case 11236: case 11237: case 11238: case 11242: case 11243: case 11244: case 11248: case 11249: case 11250: case 11254: case 11255: case 11256: case 11260: case 11261: case 11262: case 11266: case 11267: case 11268: case 11272: case 11273: case 11274: case 11278: case 11279: case 11280: case 11284: case 11285: case 11286: case 11290: case 11291: case 11292: case 11296: case 11297: case 11298: case 11302: case 11303: case 11304: case 11308: case 11309: case 11310: case 11314: case 11315: case 11316: case 11320: case 11321: case 11322: case 11326: case 11327: case 11328: case 11332: case 11333: case 11334: case 11338: case 11339: case 11340: case 11344: case 11345: case 11346: case 11350: case 11351: case 11352: case 11356: case 11357: case 11358: case 11362: case 11363: case 11364: case 11368: case 11369: case 11370: case 11374: case 11375: case 11376: case 11380: case 11381: case 11382: case 11386: case 11387: case 11388: case 11392: case 11393: case 11394: case 11398: case 11399: case 11400: case 11404: case 11405: case 11406: case 11410: case 11411: case 11412: case 11416: case 11417: case 11418: case 11422: case 11423: case 11424: case 11428: case 11429: case 11430: case 11434: case 11435: case 11436: case 11440: case 11441: case 11442: case 11446: case 11447: case 11448: case 11452: case 11453: case 11454: case 11458: case 11459: case 11460: case 11464: case 11465: case 11466: case 11470: case 11471: case 11472: case 11476: case 11477: case 11478: case 11482: case 11483: case 11484: case 11488: case 11489: case 11490: case 11494: case 11495: case 11496: case 11500: case 11501: case 11502: case 11506: case 11507: case 11508: case 11512: case 11513: case 11514: return BlockType::PrismarineWall;
+ case 3998: return BlockType::Pumpkin;
+ case 4772: case 4773: case 4774: case 4775: case 4776: case 4777: case 4778: case 4779: return BlockType::PumpkinStem;
+ case 8057: case 8058: case 8059: case 8060: case 8061: case 8062: case 8063: case 8064: case 8065: case 8066: case 8067: case 8068: case 8069: case 8070: case 8071: case 8072: return BlockType::PurpleBanner;
+ case 1209: case 1210: case 1211: case 1212: case 1213: case 1214: case 1215: case 1216: case 1217: case 1218: case 1219: case 1220: case 1221: case 1222: case 1223: case 1224: return BlockType::PurpleBed;
+ case 7876: return BlockType::PurpleCarpet;
+ case 9448: return BlockType::PurpleConcrete;
+ case 9464: return BlockType::PurpleConcretePowder;
+ case 9414: case 9415: case 9416: case 9417: return BlockType::PurpleGlazedTerracotta;
+ case 9338: case 9339: case 9340: case 9341: case 9342: case 9343: return BlockType::PurpleShulkerBox;
+ case 4105: return BlockType::PurpleStainedGlass;
+ case 7185: case 7186: case 7189: case 7190: case 7193: case 7194: case 7197: case 7198: case 7201: case 7202: case 7205: case 7206: case 7209: case 7210: case 7213: case 7214: return BlockType::PurpleStainedGlassPane;
+ case 6857: return BlockType::PurpleTerracotta;
+ case 8193: case 8194: case 8195: case 8196: return BlockType::PurpleWallBanner;
+ case 1394: return BlockType::PurpleWool;
+ case 9134: return BlockType::PurpurBlock;
+ case 9135: case 9136: case 9137: return BlockType::PurpurPillar;
+ case 8409: case 8411: case 8413: return BlockType::PurpurSlab;
+ case 9139: case 9141: case 9143: case 9145: case 9147: case 9149: case 9151: case 9153: case 9155: case 9157: case 9159: case 9161: case 9163: case 9165: case 9167: case 9169: case 9171: case 9173: case 9175: case 9177: case 9179: case 9181: case 9183: case 9185: case 9187: case 9189: case 9191: case 9193: case 9195: case 9197: case 9199: case 9201: case 9203: case 9205: case 9207: case 9209: case 9211: case 9213: case 9215: case 9217: return BlockType::PurpurStairs;
+ case 6738: return BlockType::QuartzBlock;
+ case 17103: return BlockType::QuartzBricks;
+ case 6740: case 6741: case 6742: return BlockType::QuartzPillar;
+ case 8391: case 8393: case 8395: return BlockType::QuartzSlab;
+ case 6744: case 6746: case 6748: case 6750: case 6752: case 6754: case 6756: case 6758: case 6760: case 6762: case 6764: case 6766: case 6768: case 6770: case 6772: case 6774: case 6776: case 6778: case 6780: case 6782: case 6784: case 6786: case 6788: case 6790: case 6792: case 6794: case 6796: case 6798: case 6800: case 6802: case 6804: case 6806: case 6808: case 6810: case 6812: case 6814: case 6816: case 6818: case 6820: case 6822: return BlockType::QuartzStairs;
+ case 3645: case 3646: case 3647: case 3648: case 3649: case 3650: case 3651: case 3652: case 3653: case 3654: return BlockType::Rail;
+ case 8121: case 8122: case 8123: case 8124: case 8125: case 8126: case 8127: case 8128: case 8129: case 8130: case 8131: case 8132: case 8133: case 8134: case 8135: case 8136: return BlockType::RedBanner;
+ case 1273: case 1274: case 1275: case 1276: case 1277: case 1278: case 1279: case 1280: case 1281: case 1282: case 1283: case 1284: case 1285: case 1286: case 1287: case 1288: return BlockType::RedBed;
+ case 7880: return BlockType::RedCarpet;
+ case 9452: return BlockType::RedConcrete;
+ case 9468: return BlockType::RedConcretePowder;
+ case 9430: case 9431: case 9432: case 9433: return BlockType::RedGlazedTerracotta;
+ case 1426: return BlockType::RedMushroom;
+ case 4569: case 4570: case 4571: case 4572: case 4573: case 4574: case 4575: case 4576: case 4577: case 4578: case 4579: case 4580: case 4581: case 4582: case 4583: case 4584: case 4585: case 4586: case 4587: case 4588: case 4589: case 4590: case 4591: case 4592: case 4593: case 4594: case 4595: case 4596: case 4597: case 4598: case 4599: case 4600: case 4601: case 4602: case 4603: case 4604: case 4605: case 4606: case 4607: case 4608: case 4609: case 4610: case 4611: case 4612: case 4613: case 4614: case 4615: case 4616: case 4617: case 4618: case 4619: case 4620: case 4621: case 4622: case 4623: case 4624: case 4625: case 4626: case 4627: case 4628: case 4629: case 4630: case 4631: case 4632: return BlockType::RedMushroomBlock;
+ case 10850: case 10852: case 10854: return BlockType::RedNetherBrickSlab;
+ case 10550: case 10552: case 10554: case 10556: case 10558: case 10560: case 10562: case 10564: case 10566: case 10568: case 10570: case 10572: case 10574: case 10576: case 10578: case 10580: case 10582: case 10584: case 10586: case 10588: case 10590: case 10592: case 10594: case 10596: case 10598: case 10600: case 10602: case 10604: case 10606: case 10608: case 10610: case 10612: case 10614: case 10616: case 10618: case 10620: case 10622: case 10624: case 10626: case 10628: return BlockType::RedNetherBrickStairs;
+ case 13462: case 13463: case 13464: case 13468: case 13469: case 13470: case 13474: case 13475: case 13476: case 13480: case 13481: case 13482: case 13486: case 13487: case 13488: case 13492: case 13493: case 13494: case 13498: case 13499: case 13500: case 13504: case 13505: case 13506: case 13510: case 13511: case 13512: case 13516: case 13517: case 13518: case 13522: case 13523: case 13524: case 13528: case 13529: case 13530: case 13534: case 13535: case 13536: case 13540: case 13541: case 13542: case 13546: case 13547: case 13548: case 13552: case 13553: case 13554: case 13558: case 13559: case 13560: case 13564: case 13565: case 13566: case 13570: case 13571: case 13572: case 13576: case 13577: case 13578: case 13582: case 13583: case 13584: case 13588: case 13589: case 13590: case 13594: case 13595: case 13596: case 13600: case 13601: case 13602: case 13606: case 13607: case 13608: case 13612: case 13613: case 13614: case 13618: case 13619: case 13620: case 13624: case 13625: case 13626: case 13630: case 13631: case 13632: case 13636: case 13637: case 13638: case 13642: case 13643: case 13644: case 13648: case 13649: case 13650: case 13654: case 13655: case 13656: case 13660: case 13661: case 13662: case 13666: case 13667: case 13668: case 13672: case 13673: case 13674: case 13678: case 13679: case 13680: case 13684: case 13685: case 13686: case 13690: case 13691: case 13692: case 13696: case 13697: case 13698: case 13702: case 13703: case 13704: case 13708: case 13709: case 13710: case 13714: case 13715: case 13716: case 13720: case 13721: case 13722: case 13726: case 13727: case 13728: case 13732: case 13733: case 13734: case 13738: case 13739: case 13740: case 13744: case 13745: case 13746: case 13750: case 13751: case 13752: case 13756: case 13757: case 13758: case 13762: case 13763: case 13764: case 13768: case 13769: case 13770: case 13774: case 13775: case 13776: case 13780: case 13781: case 13782: return BlockType::RedNetherBrickWall;
+ case 9255: return BlockType::RedNetherBricks;
+ case 67: return BlockType::RedSand;
+ case 8217: return BlockType::RedSandstone;
+ case 8397: case 8399: case 8401: return BlockType::RedSandstoneSlab;
+ case 8221: case 8223: case 8225: case 8227: case 8229: case 8231: case 8233: case 8235: case 8237: case 8239: case 8241: case 8243: case 8245: case 8247: case 8249: case 8251: case 8253: case 8255: case 8257: case 8259: case 8261: case 8263: case 8265: case 8267: case 8269: case 8271: case 8273: case 8275: case 8277: case 8279: case 8281: case 8283: case 8285: case 8287: case 8289: case 8291: case 8293: case 8295: case 8297: case 8299: return BlockType::RedSandstoneStairs;
+ case 11518: case 11519: case 11520: case 11524: case 11525: case 11526: case 11530: case 11531: case 11532: case 11536: case 11537: case 11538: case 11542: case 11543: case 11544: case 11548: case 11549: case 11550: case 11554: case 11555: case 11556: case 11560: case 11561: case 11562: case 11566: case 11567: case 11568: case 11572: case 11573: case 11574: case 11578: case 11579: case 11580: case 11584: case 11585: case 11586: case 11590: case 11591: case 11592: case 11596: case 11597: case 11598: case 11602: case 11603: case 11604: case 11608: case 11609: case 11610: case 11614: case 11615: case 11616: case 11620: case 11621: case 11622: case 11626: case 11627: case 11628: case 11632: case 11633: case 11634: case 11638: case 11639: case 11640: case 11644: case 11645: case 11646: case 11650: case 11651: case 11652: case 11656: case 11657: case 11658: case 11662: case 11663: case 11664: case 11668: case 11669: case 11670: case 11674: case 11675: case 11676: case 11680: case 11681: case 11682: case 11686: case 11687: case 11688: case 11692: case 11693: case 11694: case 11698: case 11699: case 11700: case 11704: case 11705: case 11706: case 11710: case 11711: case 11712: case 11716: case 11717: case 11718: case 11722: case 11723: case 11724: case 11728: case 11729: case 11730: case 11734: case 11735: case 11736: case 11740: case 11741: case 11742: case 11746: case 11747: case 11748: case 11752: case 11753: case 11754: case 11758: case 11759: case 11760: case 11764: case 11765: case 11766: case 11770: case 11771: case 11772: case 11776: case 11777: case 11778: case 11782: case 11783: case 11784: case 11788: case 11789: case 11790: case 11794: case 11795: case 11796: case 11800: case 11801: case 11802: case 11806: case 11807: case 11808: case 11812: case 11813: case 11814: case 11818: case 11819: case 11820: case 11824: case 11825: case 11826: case 11830: case 11831: case 11832: case 11836: case 11837: case 11838: return BlockType::RedSandstoneWall;
+ case 9362: case 9363: case 9364: case 9365: case 9366: case 9367: return BlockType::RedShulkerBox;
+ case 4109: return BlockType::RedStainedGlass;
+ case 7313: case 7314: case 7317: case 7318: case 7321: case 7322: case 7325: case 7326: case 7329: case 7330: case 7333: case 7334: case 7337: case 7338: case 7341: case 7342: return BlockType::RedStainedGlassPane;
+ case 6861: return BlockType::RedTerracotta;
+ case 1417: return BlockType::RedTulip;
+ case 8209: case 8210: case 8211: case 8212: return BlockType::RedWallBanner;
+ case 1398: return BlockType::RedWool;
+ case 6726: return BlockType::RedstoneBlock;
+ case 5156: case 5157: return BlockType::RedstoneLamp;
+ case 3885: case 3886: return BlockType::RedstoneOre;
+ case 3887: case 3888: return BlockType::RedstoneTorch;
+ case 3889: case 3890: case 3891: case 3892: case 3893: case 3894: case 3895: case 3896: return BlockType::RedstoneWallTorch;
+ case 2058: case 2059: case 2060: case 2061: case 2062: case 2063: case 2064: case 2065: case 2066: case 2067: case 2068: case 2069: case 2070: case 2071: case 2072: case 2073: case 2074: case 2075: case 2076: case 2077: case 2078: case 2079: case 2080: case 2081: case 2082: case 2083: case 2084: case 2085: case 2086: case 2087: case 2088: case 2089: case 2090: case 2091: case 2092: case 2093: case 2094: case 2095: case 2096: case 2097: case 2098: case 2099: case 2100: case 2101: case 2102: case 2103: case 2104: case 2105: case 2106: case 2107: case 2108: case 2109: case 2110: case 2111: case 2112: case 2113: case 2114: case 2115: case 2116: case 2117: case 2118: case 2119: case 2120: case 2121: case 2122: case 2123: case 2124: case 2125: case 2126: case 2127: case 2128: case 2129: case 2130: case 2131: case 2132: case 2133: case 2134: case 2135: case 2136: case 2137: case 2138: case 2139: case 2140: case 2141: case 2142: case 2143: case 2144: case 2145: case 2146: case 2147: case 2148: case 2149: case 2150: case 2151: case 2152: case 2153: case 2154: case 2155: case 2156: case 2157: case 2158: case 2159: case 2160: case 2161: case 2162: case 2163: case 2164: case 2165: case 2166: case 2167: case 2168: case 2169: case 2170: case 2171: case 2172: case 2173: case 2174: case 2175: case 2176: case 2177: case 2178: case 2179: case 2180: case 2181: case 2182: case 2183: case 2184: case 2185: case 2186: case 2187: case 2188: case 2189: case 2190: case 2191: case 2192: case 2193: case 2194: case 2195: case 2196: case 2197: case 2198: case 2199: case 2200: case 2201: case 2202: case 2203: case 2204: case 2205: case 2206: case 2207: case 2208: case 2209: case 2210: case 2211: case 2212: case 2213: case 2214: case 2215: case 2216: case 2217: case 2218: case 2219: case 2220: case 2221: case 2222: case 2223: case 2224: case 2225: case 2226: case 2227: case 2228: case 2229: case 2230: case 2231: case 2232: case 2233: case 2234: case 2235: case 2236: case 2237: case 2238: case 2239: case 2240: case 2241: case 2242: case 2243: case 2244: case 2245: case 2246: case 2247: case 2248: case 2249: case 2250: case 2251: case 2252: case 2253: case 2254: case 2255: case 2256: case 2257: case 2258: case 2259: case 2260: case 2261: case 2262: case 2263: case 2264: case 2265: case 2266: case 2267: case 2268: case 2269: case 2270: case 2271: case 2272: case 2273: case 2274: case 2275: case 2276: case 2277: case 2278: case 2279: case 2280: case 2281: case 2282: case 2283: case 2284: case 2285: case 2286: case 2287: case 2288: case 2289: case 2290: case 2291: case 2292: case 2293: case 2294: case 2295: case 2296: case 2297: case 2298: case 2299: case 2300: case 2301: case 2302: case 2303: case 2304: case 2305: case 2306: case 2307: case 2308: case 2309: case 2310: case 2311: case 2312: case 2313: case 2314: case 2315: case 2316: case 2317: case 2318: case 2319: case 2320: case 2321: case 2322: case 2323: case 2324: case 2325: case 2326: case 2327: case 2328: case 2329: case 2330: case 2331: case 2332: case 2333: case 2334: case 2335: case 2336: case 2337: case 2338: case 2339: case 2340: case 2341: case 2342: case 2343: case 2344: case 2345: case 2346: case 2347: case 2348: case 2349: case 2350: case 2351: case 2352: case 2353: case 2354: case 2355: case 2356: case 2357: case 2358: case 2359: case 2360: case 2361: case 2362: case 2363: case 2364: case 2365: case 2366: case 2367: case 2368: case 2369: case 2370: case 2371: case 2372: case 2373: case 2374: case 2375: case 2376: case 2377: case 2378: case 2379: case 2380: case 2381: case 2382: case 2383: case 2384: case 2385: case 2386: case 2387: case 2388: case 2389: case 2390: case 2391: case 2392: case 2393: case 2394: case 2395: case 2396: case 2397: case 2398: case 2399: case 2400: case 2401: case 2402: case 2403: case 2404: case 2405: case 2406: case 2407: case 2408: case 2409: case 2410: case 2411: case 2412: case 2413: case 2414: case 2415: case 2416: case 2417: case 2418: case 2419: case 2420: case 2421: case 2422: case 2423: case 2424: case 2425: case 2426: case 2427: case 2428: case 2429: case 2430: case 2431: case 2432: case 2433: case 2434: case 2435: case 2436: case 2437: case 2438: case 2439: case 2440: case 2441: case 2442: case 2443: case 2444: case 2445: case 2446: case 2447: case 2448: case 2449: case 2450: case 2451: case 2452: case 2453: case 2454: case 2455: case 2456: case 2457: case 2458: case 2459: case 2460: case 2461: case 2462: case 2463: case 2464: case 2465: case 2466: case 2467: case 2468: case 2469: case 2470: case 2471: case 2472: case 2473: case 2474: case 2475: case 2476: case 2477: case 2478: case 2479: case 2480: case 2481: case 2482: case 2483: case 2484: case 2485: case 2486: case 2487: case 2488: case 2489: case 2490: case 2491: case 2492: case 2493: case 2494: case 2495: case 2496: case 2497: case 2498: case 2499: case 2500: case 2501: case 2502: case 2503: case 2504: case 2505: case 2506: case 2507: case 2508: case 2509: case 2510: case 2511: case 2512: case 2513: case 2514: case 2515: case 2516: case 2517: case 2518: case 2519: case 2520: case 2521: case 2522: case 2523: case 2524: case 2525: case 2526: case 2527: case 2528: case 2529: case 2530: case 2531: case 2532: case 2533: case 2534: case 2535: case 2536: case 2537: case 2538: case 2539: case 2540: case 2541: case 2542: case 2543: case 2544: case 2545: case 2546: case 2547: case 2548: case 2549: case 2550: case 2551: case 2552: case 2553: case 2554: case 2555: case 2556: case 2557: case 2558: case 2559: case 2560: case 2561: case 2562: case 2563: case 2564: case 2565: case 2566: case 2567: case 2568: case 2569: case 2570: case 2571: case 2572: case 2573: case 2574: case 2575: case 2576: case 2577: case 2578: case 2579: case 2580: case 2581: case 2582: case 2583: case 2584: case 2585: case 2586: case 2587: case 2588: case 2589: case 2590: case 2591: case 2592: case 2593: case 2594: case 2595: case 2596: case 2597: case 2598: case 2599: case 2600: case 2601: case 2602: case 2603: case 2604: case 2605: case 2606: case 2607: case 2608: case 2609: case 2610: case 2611: case 2612: case 2613: case 2614: case 2615: case 2616: case 2617: case 2618: case 2619: case 2620: case 2621: case 2622: case 2623: case 2624: case 2625: case 2626: case 2627: case 2628: case 2629: case 2630: case 2631: case 2632: case 2633: case 2634: case 2635: case 2636: case 2637: case 2638: case 2639: case 2640: case 2641: case 2642: case 2643: case 2644: case 2645: case 2646: case 2647: case 2648: case 2649: case 2650: case 2651: case 2652: case 2653: case 2654: case 2655: case 2656: case 2657: case 2658: case 2659: case 2660: case 2661: case 2662: case 2663: case 2664: case 2665: case 2666: case 2667: case 2668: case 2669: case 2670: case 2671: case 2672: case 2673: case 2674: case 2675: case 2676: case 2677: case 2678: case 2679: case 2680: case 2681: case 2682: case 2683: case 2684: case 2685: case 2686: case 2687: case 2688: case 2689: case 2690: case 2691: case 2692: case 2693: case 2694: case 2695: case 2696: case 2697: case 2698: case 2699: case 2700: case 2701: case 2702: case 2703: case 2704: case 2705: case 2706: case 2707: case 2708: case 2709: case 2710: case 2711: case 2712: case 2713: case 2714: case 2715: case 2716: case 2717: case 2718: case 2719: case 2720: case 2721: case 2722: case 2723: case 2724: case 2725: case 2726: case 2727: case 2728: case 2729: case 2730: case 2731: case 2732: case 2733: case 2734: case 2735: case 2736: case 2737: case 2738: case 2739: case 2740: case 2741: case 2742: case 2743: case 2744: case 2745: case 2746: case 2747: case 2748: case 2749: case 2750: case 2751: case 2752: case 2753: case 2754: case 2755: case 2756: case 2757: case 2758: case 2759: case 2760: case 2761: case 2762: case 2763: case 2764: case 2765: case 2766: case 2767: case 2768: case 2769: case 2770: case 2771: case 2772: case 2773: case 2774: case 2775: case 2776: case 2777: case 2778: case 2779: case 2780: case 2781: case 2782: case 2783: case 2784: case 2785: case 2786: case 2787: case 2788: case 2789: case 2790: case 2791: case 2792: case 2793: case 2794: case 2795: case 2796: case 2797: case 2798: case 2799: case 2800: case 2801: case 2802: case 2803: case 2804: case 2805: case 2806: case 2807: case 2808: case 2809: case 2810: case 2811: case 2812: case 2813: case 2814: case 2815: case 2816: case 2817: case 2818: case 2819: case 2820: case 2821: case 2822: case 2823: case 2824: case 2825: case 2826: case 2827: case 2828: case 2829: case 2830: case 2831: case 2832: case 2833: case 2834: case 2835: case 2836: case 2837: case 2838: case 2839: case 2840: case 2841: case 2842: case 2843: case 2844: case 2845: case 2846: case 2847: case 2848: case 2849: case 2850: case 2851: case 2852: case 2853: case 2854: case 2855: case 2856: case 2857: case 2858: case 2859: case 2860: case 2861: case 2862: case 2863: case 2864: case 2865: case 2866: case 2867: case 2868: case 2869: case 2870: case 2871: case 2872: case 2873: case 2874: case 2875: case 2876: case 2877: case 2878: case 2879: case 2880: case 2881: case 2882: case 2883: case 2884: case 2885: case 2886: case 2887: case 2888: case 2889: case 2890: case 2891: case 2892: case 2893: case 2894: case 2895: case 2896: case 2897: case 2898: case 2899: case 2900: case 2901: case 2902: case 2903: case 2904: case 2905: case 2906: case 2907: case 2908: case 2909: case 2910: case 2911: case 2912: case 2913: case 2914: case 2915: case 2916: case 2917: case 2918: case 2919: case 2920: case 2921: case 2922: case 2923: case 2924: case 2925: case 2926: case 2927: case 2928: case 2929: case 2930: case 2931: case 2932: case 2933: case 2934: case 2935: case 2936: case 2937: case 2938: case 2939: case 2940: case 2941: case 2942: case 2943: case 2944: case 2945: case 2946: case 2947: case 2948: case 2949: case 2950: case 2951: case 2952: case 2953: case 2954: case 2955: case 2956: case 2957: case 2958: case 2959: case 2960: case 2961: case 2962: case 2963: case 2964: case 2965: case 2966: case 2967: case 2968: case 2969: case 2970: case 2971: case 2972: case 2973: case 2974: case 2975: case 2976: case 2977: case 2978: case 2979: case 2980: case 2981: case 2982: case 2983: case 2984: case 2985: case 2986: case 2987: case 2988: case 2989: case 2990: case 2991: case 2992: case 2993: case 2994: case 2995: case 2996: case 2997: case 2998: case 2999: case 3000: case 3001: case 3002: case 3003: case 3004: case 3005: case 3006: case 3007: case 3008: case 3009: case 3010: case 3011: case 3012: case 3013: case 3014: case 3015: case 3016: case 3017: case 3018: case 3019: case 3020: case 3021: case 3022: case 3023: case 3024: case 3025: case 3026: case 3027: case 3028: case 3029: case 3030: case 3031: case 3032: case 3033: case 3034: case 3035: case 3036: case 3037: case 3038: case 3039: case 3040: case 3041: case 3042: case 3043: case 3044: case 3045: case 3046: case 3047: case 3048: case 3049: case 3050: case 3051: case 3052: case 3053: case 3054: case 3055: case 3056: case 3057: case 3058: case 3059: case 3060: case 3061: case 3062: case 3063: case 3064: case 3065: case 3066: case 3067: case 3068: case 3069: case 3070: case 3071: case 3072: case 3073: case 3074: case 3075: case 3076: case 3077: case 3078: case 3079: case 3080: case 3081: case 3082: case 3083: case 3084: case 3085: case 3086: case 3087: case 3088: case 3089: case 3090: case 3091: case 3092: case 3093: case 3094: case 3095: case 3096: case 3097: case 3098: case 3099: case 3100: case 3101: case 3102: case 3103: case 3104: case 3105: case 3106: case 3107: case 3108: case 3109: case 3110: case 3111: case 3112: case 3113: case 3114: case 3115: case 3116: case 3117: case 3118: case 3119: case 3120: case 3121: case 3122: case 3123: case 3124: case 3125: case 3126: case 3127: case 3128: case 3129: case 3130: case 3131: case 3132: case 3133: case 3134: case 3135: case 3136: case 3137: case 3138: case 3139: case 3140: case 3141: case 3142: case 3143: case 3144: case 3145: case 3146: case 3147: case 3148: case 3149: case 3150: case 3151: case 3152: case 3153: case 3154: case 3155: case 3156: case 3157: case 3158: case 3159: case 3160: case 3161: case 3162: case 3163: case 3164: case 3165: case 3166: case 3167: case 3168: case 3169: case 3170: case 3171: case 3172: case 3173: case 3174: case 3175: case 3176: case 3177: case 3178: case 3179: case 3180: case 3181: case 3182: case 3183: case 3184: case 3185: case 3186: case 3187: case 3188: case 3189: case 3190: case 3191: case 3192: case 3193: case 3194: case 3195: case 3196: case 3197: case 3198: case 3199: case 3200: case 3201: case 3202: case 3203: case 3204: case 3205: case 3206: case 3207: case 3208: case 3209: case 3210: case 3211: case 3212: case 3213: case 3214: case 3215: case 3216: case 3217: case 3218: case 3219: case 3220: case 3221: case 3222: case 3223: case 3224: case 3225: case 3226: case 3227: case 3228: case 3229: case 3230: case 3231: case 3232: case 3233: case 3234: case 3235: case 3236: case 3237: case 3238: case 3239: case 3240: case 3241: case 3242: case 3243: case 3244: case 3245: case 3246: case 3247: case 3248: case 3249: case 3250: case 3251: case 3252: case 3253: case 3254: case 3255: case 3256: case 3257: case 3258: case 3259: case 3260: case 3261: case 3262: case 3263: case 3264: case 3265: case 3266: case 3267: case 3268: case 3269: case 3270: case 3271: case 3272: case 3273: case 3274: case 3275: case 3276: case 3277: case 3278: case 3279: case 3280: case 3281: case 3282: case 3283: case 3284: case 3285: case 3286: case 3287: case 3288: case 3289: case 3290: case 3291: case 3292: case 3293: case 3294: case 3295: case 3296: case 3297: case 3298: case 3299: case 3300: case 3301: case 3302: case 3303: case 3304: case 3305: case 3306: case 3307: case 3308: case 3309: case 3310: case 3311: case 3312: case 3313: case 3314: case 3315: case 3316: case 3317: case 3318: case 3319: case 3320: case 3321: case 3322: case 3323: case 3324: case 3325: case 3326: case 3327: case 3328: case 3329: case 3330: case 3331: case 3332: case 3333: case 3334: case 3335: case 3336: case 3337: case 3338: case 3339: case 3340: case 3341: case 3342: case 3343: case 3344: case 3345: case 3346: case 3347: case 3348: case 3349: case 3350: case 3351: case 3352: case 3353: return BlockType::RedstoneWire;
+ case 4031: case 4032: case 4033: case 4034: case 4035: case 4036: case 4037: case 4038: case 4039: case 4040: case 4041: case 4042: case 4043: case 4044: case 4045: case 4046: case 4047: case 4048: case 4049: case 4050: case 4051: case 4052: case 4053: case 4054: case 4055: case 4056: case 4057: case 4058: case 4059: case 4060: case 4061: case 4062: case 4063: case 4064: case 4065: case 4066: case 4067: case 4068: case 4069: case 4070: case 4071: case 4072: case 4073: case 4074: case 4075: case 4076: case 4077: case 4078: case 4079: case 4080: case 4081: case 4082: case 4083: case 4084: case 4085: case 4086: case 4087: case 4088: case 4089: case 4090: case 4091: case 4092: case 4093: case 4094: return BlockType::Repeater;
+ case 9225: case 9226: case 9227: case 9228: case 9229: case 9230: case 9231: case 9232: case 9233: case 9234: case 9235: case 9236: return BlockType::RepeatingCommandBlock;
+ case 15829: case 15830: case 15831: case 15832: case 15833: return BlockType::RespawnAnchor;
+ case 7889: case 7890: return BlockType::RoseBush;
+ case 66: return BlockType::Sand;
+ case 246: return BlockType::Sandstone;
+ case 8349: case 8351: case 8353: return BlockType::SandstoneSlab;
+ case 5171: case 5173: case 5175: case 5177: case 5179: case 5181: case 5183: case 5185: case 5187: case 5189: case 5191: case 5193: case 5195: case 5197: case 5199: case 5201: case 5203: case 5205: case 5207: case 5209: case 5211: case 5213: case 5215: case 5217: case 5219: case 5221: case 5223: case 5225: case 5227: case 5229: case 5231: case 5233: case 5235: case 5237: case 5239: case 5241: case 5243: case 5245: case 5247: case 5249: return BlockType::SandstoneStairs;
+ case 13786: case 13787: case 13788: case 13792: case 13793: case 13794: case 13798: case 13799: case 13800: case 13804: case 13805: case 13806: case 13810: case 13811: case 13812: case 13816: case 13817: case 13818: case 13822: case 13823: case 13824: case 13828: case 13829: case 13830: case 13834: case 13835: case 13836: case 13840: case 13841: case 13842: case 13846: case 13847: case 13848: case 13852: case 13853: case 13854: case 13858: case 13859: case 13860: case 13864: case 13865: case 13866: case 13870: case 13871: case 13872: case 13876: case 13877: case 13878: case 13882: case 13883: case 13884: case 13888: case 13889: case 13890: case 13894: case 13895: case 13896: case 13900: case 13901: case 13902: case 13906: case 13907: case 13908: case 13912: case 13913: case 13914: case 13918: case 13919: case 13920: case 13924: case 13925: case 13926: case 13930: case 13931: case 13932: case 13936: case 13937: case 13938: case 13942: case 13943: case 13944: case 13948: case 13949: case 13950: case 13954: case 13955: case 13956: case 13960: case 13961: case 13962: case 13966: case 13967: case 13968: case 13972: case 13973: case 13974: case 13978: case 13979: case 13980: case 13984: case 13985: case 13986: case 13990: case 13991: case 13992: case 13996: case 13997: case 13998: case 14002: case 14003: case 14004: case 14008: case 14009: case 14010: case 14014: case 14015: case 14016: case 14020: case 14021: case 14022: case 14026: case 14027: case 14028: case 14032: case 14033: case 14034: case 14038: case 14039: case 14040: case 14044: case 14045: case 14046: case 14050: case 14051: case 14052: case 14056: case 14057: case 14058: case 14062: case 14063: case 14064: case 14068: case 14069: case 14070: case 14074: case 14075: case 14076: case 14080: case 14081: case 14082: case 14086: case 14087: case 14088: case 14092: case 14093: case 14094: case 14098: case 14099: case 14100: case 14104: case 14105: case 14106: return BlockType::SandstoneWall;
+ case 14756: case 14758: case 14760: case 14762: case 14764: case 14766: case 14768: case 14770: case 14772: case 14774: case 14776: case 14778: case 14780: case 14782: case 14784: case 14786: return BlockType::Scaffolding;
+ case 7862: return BlockType::SeaLantern;
+ case 9641: case 9643: case 9645: case 9647: return BlockType::SeaPickle;
+ case 1345: return BlockType::Seagrass;
+ case 14989: return BlockType::Shroomlight;
+ case 9272: case 9273: case 9274: case 9275: case 9276: case 9277: return BlockType::ShulkerBox;
+ case 6490: case 6491: case 6492: case 6493: case 6494: case 6495: case 6496: case 6497: case 6498: case 6499: case 6500: case 6501: case 6502: case 6503: case 6504: case 6505: return BlockType::SkeletonSkull;
+ case 6506: case 6507: case 6508: case 6509: return BlockType::SkeletonWallSkull;
+ case 7535: return BlockType::SlimeBlock;
+ case 14849: return BlockType::SmithingTable;
+ case 14803: case 14804: case 14805: case 14806: case 14807: case 14808: case 14809: case 14810: return BlockType::Smoker;
+ case 8416: return BlockType::SmoothQuartz;
+ case 10832: case 10834: case 10836: return BlockType::SmoothQuartzSlab;
+ case 10310: case 10312: case 10314: case 10316: case 10318: case 10320: case 10322: case 10324: case 10326: case 10328: case 10330: case 10332: case 10334: case 10336: case 10338: case 10340: case 10342: case 10344: case 10346: case 10348: case 10350: case 10352: case 10354: case 10356: case 10358: case 10360: case 10362: case 10364: case 10366: case 10368: case 10370: case 10372: case 10374: case 10376: case 10378: case 10380: case 10382: case 10384: case 10386: case 10388: return BlockType::SmoothQuartzStairs;
+ case 8417: return BlockType::SmoothRedSandstone;
+ case 10796: case 10798: case 10800: return BlockType::SmoothRedSandstoneSlab;
+ case 9750: case 9752: case 9754: case 9756: case 9758: case 9760: case 9762: case 9764: case 9766: case 9768: case 9770: case 9772: case 9774: case 9776: case 9778: case 9780: case 9782: case 9784: case 9786: case 9788: case 9790: case 9792: case 9794: case 9796: case 9798: case 9800: case 9802: case 9804: case 9806: case 9808: case 9810: case 9812: case 9814: case 9816: case 9818: case 9820: case 9822: case 9824: case 9826: case 9828: return BlockType::SmoothRedSandstoneStairs;
+ case 8415: return BlockType::SmoothSandstone;
+ case 10826: case 10828: case 10830: return BlockType::SmoothSandstoneSlab;
+ case 10230: case 10232: case 10234: case 10236: case 10238: case 10240: case 10242: case 10244: case 10246: case 10248: case 10250: case 10252: case 10254: case 10256: case 10258: case 10260: case 10262: case 10264: case 10266: case 10268: case 10270: case 10272: case 10274: case 10276: case 10278: case 10280: case 10282: case 10284: case 10286: case 10288: case 10290: case 10292: case 10294: case 10296: case 10298: case 10300: case 10302: case 10304: case 10306: case 10308: return BlockType::SmoothSandstoneStairs;
+ case 8414: return BlockType::SmoothStone;
+ case 8343: case 8345: case 8347: return BlockType::SmoothStoneSlab;
+ case 3921: case 3922: case 3923: case 3924: case 3925: case 3926: case 3927: case 3928: return BlockType::Snow;
+ case 3930: return BlockType::SnowBlock;
+ case 14923: case 14925: case 14927: case 14929: case 14931: case 14933: case 14935: case 14937: case 14939: case 14941: case 14943: case 14945: case 14947: case 14949: case 14951: case 14953: return BlockType::SoulCampfire;
+ case 1952: return BlockType::SoulFire;
+ case 14888: case 14889: return BlockType::SoulLantern;
+ case 4000: return BlockType::SoulSand;
+ case 4001: return BlockType::SoulSoil;
+ case 4008: return BlockType::SoulTorch;
+ case 4009: case 4010: case 4011: case 4012: return BlockType::SoulWallTorch;
+ case 1953: return BlockType::Spawner;
+ case 229: return BlockType::Sponge;
+ case 6370: case 6371: case 6372: case 6373: case 6374: case 6375: case 6376: case 6377: case 6378: case 6379: case 6380: case 6381: case 6382: case 6383: case 6384: case 6385: case 6386: case 6387: case 6388: case 6389: case 6390: case 6391: case 6392: case 6393: return BlockType::SpruceButton;
+ case 8738: case 8739: case 8740: case 8741: case 8742: case 8743: case 8744: case 8745: case 8746: case 8747: case 8748: case 8749: case 8750: case 8751: case 8752: case 8753: case 8754: case 8755: case 8756: case 8757: case 8758: case 8759: case 8760: case 8761: case 8762: case 8763: case 8764: case 8765: case 8766: case 8767: case 8768: case 8769: case 8770: case 8771: case 8772: case 8773: case 8774: case 8775: case 8776: case 8777: case 8778: case 8779: case 8780: case 8781: case 8782: case 8783: case 8784: case 8785: case 8786: case 8787: case 8788: case 8789: case 8790: case 8791: case 8792: case 8793: case 8794: case 8795: case 8796: case 8797: case 8798: case 8799: case 8800: case 8801: return BlockType::SpruceDoor;
+ case 8580: case 8581: case 8584: case 8585: case 8588: case 8589: case 8592: case 8593: case 8596: case 8597: case 8600: case 8601: case 8604: case 8605: case 8608: case 8609: return BlockType::SpruceFence;
+ case 8418: case 8419: case 8420: case 8421: case 8422: case 8423: case 8424: case 8425: case 8426: case 8427: case 8428: case 8429: case 8430: case 8431: case 8432: case 8433: case 8434: case 8435: case 8436: case 8437: case 8438: case 8439: case 8440: case 8441: case 8442: case 8443: case 8444: case 8445: case 8446: case 8447: case 8448: case 8449: return BlockType::SpruceFenceGate;
+ case 159: case 160: case 161: case 162: case 163: case 164: case 165: case 166: case 167: case 168: case 169: case 170: case 171: case 172: return BlockType::SpruceLeaves;
+ case 76: case 77: case 78: return BlockType::SpruceLog;
+ case 16: return BlockType::SprucePlanks;
+ case 3875: case 3876: return BlockType::SprucePressurePlate;
+ case 23: case 24: return BlockType::SpruceSapling;
+ case 3414: case 3416: case 3418: case 3420: case 3422: case 3424: case 3426: case 3428: case 3430: case 3432: case 3434: case 3436: case 3438: case 3440: case 3442: case 3444: return BlockType::SpruceSign;
+ case 8307: case 8309: case 8311: return BlockType::SpruceSlab;
+ case 5405: case 5407: case 5409: case 5411: case 5413: case 5415: case 5417: case 5419: case 5421: case 5423: case 5425: case 5427: case 5429: case 5431: case 5433: case 5435: case 5437: case 5439: case 5441: case 5443: case 5445: case 5447: case 5449: case 5451: case 5453: case 5455: case 5457: case 5459: case 5461: case 5463: case 5465: case 5467: case 5469: case 5471: case 5473: case 5475: case 5477: case 5479: case 5481: case 5483: return BlockType::SpruceStairs;
+ case 4176: case 4178: case 4180: case 4182: case 4184: case 4186: case 4188: case 4190: case 4192: case 4194: case 4196: case 4198: case 4200: case 4202: case 4204: case 4206: case 4208: case 4210: case 4212: case 4214: case 4216: case 4218: case 4220: case 4222: case 4224: case 4226: case 4228: case 4230: case 4232: case 4234: case 4236: case 4238: return BlockType::SpruceTrapdoor;
+ case 3744: case 3746: case 3748: case 3750: return BlockType::SpruceWallSign;
+ case 112: case 113: case 114: return BlockType::SpruceWood;
+ case 1329: case 1330: case 1331: case 1332: case 1333: case 1334: case 1335: case 1336: case 1337: case 1338: case 1339: case 1340: return BlockType::StickyPiston;
+ case 1: return BlockType::Stone;
+ case 8379: case 8381: case 8383: return BlockType::StoneBrickSlab;
+ case 4933: case 4935: case 4937: case 4939: case 4941: case 4943: case 4945: case 4947: case 4949: case 4951: case 4953: case 4955: case 4957: case 4959: case 4961: case 4963: case 4965: case 4967: case 4969: case 4971: case 4973: case 4975: case 4977: case 4979: case 4981: case 4983: case 4985: case 4987: case 4989: case 4991: case 4993: case 4995: case 4997: case 4999: case 5001: case 5003: case 5005: case 5007: case 5009: case 5011: return BlockType::StoneBrickStairs;
+ case 12490: case 12491: case 12492: case 12496: case 12497: case 12498: case 12502: case 12503: case 12504: case 12508: case 12509: case 12510: case 12514: case 12515: case 12516: case 12520: case 12521: case 12522: case 12526: case 12527: case 12528: case 12532: case 12533: case 12534: case 12538: case 12539: case 12540: case 12544: case 12545: case 12546: case 12550: case 12551: case 12552: case 12556: case 12557: case 12558: case 12562: case 12563: case 12564: case 12568: case 12569: case 12570: case 12574: case 12575: case 12576: case 12580: case 12581: case 12582: case 12586: case 12587: case 12588: case 12592: case 12593: case 12594: case 12598: case 12599: case 12600: case 12604: case 12605: case 12606: case 12610: case 12611: case 12612: case 12616: case 12617: case 12618: case 12622: case 12623: case 12624: case 12628: case 12629: case 12630: case 12634: case 12635: case 12636: case 12640: case 12641: case 12642: case 12646: case 12647: case 12648: case 12652: case 12653: case 12654: case 12658: case 12659: case 12660: case 12664: case 12665: case 12666: case 12670: case 12671: case 12672: case 12676: case 12677: case 12678: case 12682: case 12683: case 12684: case 12688: case 12689: case 12690: case 12694: case 12695: case 12696: case 12700: case 12701: case 12702: case 12706: case 12707: case 12708: case 12712: case 12713: case 12714: case 12718: case 12719: case 12720: case 12724: case 12725: case 12726: case 12730: case 12731: case 12732: case 12736: case 12737: case 12738: case 12742: case 12743: case 12744: case 12748: case 12749: case 12750: case 12754: case 12755: case 12756: case 12760: case 12761: case 12762: case 12766: case 12767: case 12768: case 12772: case 12773: case 12774: case 12778: case 12779: case 12780: case 12784: case 12785: case 12786: case 12790: case 12791: case 12792: case 12796: case 12797: case 12798: case 12802: case 12803: case 12804: case 12808: case 12809: case 12810: return BlockType::StoneBrickWall;
+ case 4495: return BlockType::StoneBricks;
+ case 3897: case 3898: case 3899: case 3900: case 3901: case 3902: case 3903: case 3904: case 3905: case 3906: case 3907: case 3908: case 3909: case 3910: case 3911: case 3912: case 3913: case 3914: case 3915: case 3916: case 3917: case 3918: case 3919: case 3920: return BlockType::StoneButton;
+ case 3807: case 3808: return BlockType::StonePressurePlate;
+ case 8337: case 8339: case 8341: return BlockType::StoneSlab;
+ case 10150: case 10152: case 10154: case 10156: case 10158: case 10160: case 10162: case 10164: case 10166: case 10168: case 10170: case 10172: case 10174: case 10176: case 10178: case 10180: case 10182: case 10184: case 10186: case 10188: case 10190: case 10192: case 10194: case 10196: case 10198: case 10200: case 10202: case 10204: case 10206: case 10208: case 10210: case 10212: case 10214: case 10216: case 10218: case 10220: case 10222: case 10224: case 10226: case 10228: return BlockType::StoneStairs;
+ case 14850: case 14851: case 14852: case 14853: return BlockType::Stonecutter;
+ case 100: case 101: case 102: return BlockType::StrippedAcaciaLog;
+ case 139: case 140: case 141: return BlockType::StrippedAcaciaWood;
+ case 94: case 95: case 96: return BlockType::StrippedBirchLog;
+ case 133: case 134: case 135: return BlockType::StrippedBirchWood;
+ case 14984: case 14985: case 14986: return BlockType::StrippedCrimsonHyphae;
+ case 14978: case 14979: case 14980: return BlockType::StrippedCrimsonStem;
+ case 103: case 104: case 105: return BlockType::StrippedDarkOakLog;
+ case 142: case 143: case 144: return BlockType::StrippedDarkOakWood;
+ case 97: case 98: case 99: return BlockType::StrippedJungleLog;
+ case 136: case 137: case 138: return BlockType::StrippedJungleWood;
+ case 106: case 107: case 108: return BlockType::StrippedOakLog;
+ case 127: case 128: case 129: return BlockType::StrippedOakWood;
+ case 91: case 92: case 93: return BlockType::StrippedSpruceLog;
+ case 130: case 131: case 132: return BlockType::StrippedSpruceWood;
+ case 14967: case 14968: case 14969: return BlockType::StrippedWarpedHyphae;
+ case 14961: case 14962: case 14963: return BlockType::StrippedWarpedStem;
+ case 15735: case 15736: case 15737: case 15738: return BlockType::StructureBlock;
+ case 9259: return BlockType::StructureVoid;
+ case 3948: case 3949: case 3950: case 3951: case 3952: case 3953: case 3954: case 3955: case 3956: case 3957: case 3958: case 3959: case 3960: case 3961: case 3962: case 3963: return BlockType::SugarCane;
+ case 7885: case 7886: return BlockType::Sunflower;
+ case 14954: case 14955: case 14956: case 14957: return BlockType::SweetBerryBush;
+ case 1430: case 1431: return BlockType::TNT;
+ case 7893: case 7894: return BlockType::TallGrass;
+ case 1346: case 1347: return BlockType::TallSeagrass;
+ case 15760: case 15761: case 15762: case 15763: case 15764: case 15765: case 15766: case 15767: case 15768: case 15769: case 15770: case 15771: case 15772: case 15773: case 15774: case 15775: return BlockType::Target;
+ case 7882: return BlockType::Terracotta;
+ case 1435: return BlockType::Torch;
+ case 6623: case 6625: case 6627: case 6629: case 6631: case 6633: case 6635: case 6637: case 6639: case 6641: case 6643: case 6645: return BlockType::TrappedChest;
+ case 5275: case 5276: case 5277: case 5278: case 5279: case 5280: case 5281: case 5282: case 5283: case 5284: case 5285: case 5286: case 5287: case 5288: case 5289: case 5290: case 5291: case 5292: case 5293: case 5294: case 5295: case 5296: case 5297: case 5298: case 5299: case 5300: case 5301: case 5302: case 5303: case 5304: case 5305: case 5306: case 5307: case 5308: case 5309: case 5310: case 5311: case 5312: case 5313: case 5314: case 5315: case 5316: case 5317: case 5318: case 5319: case 5320: case 5321: case 5322: case 5323: case 5324: case 5325: case 5326: case 5327: case 5328: case 5329: case 5330: case 5331: case 5332: case 5333: case 5334: case 5335: case 5336: case 5337: case 5338: case 5339: case 5340: case 5341: case 5342: case 5343: case 5344: case 5345: case 5346: case 5347: case 5348: case 5349: case 5350: case 5351: case 5352: case 5353: case 5354: case 5355: case 5356: case 5357: case 5358: case 5359: case 5360: case 5361: case 5362: case 5363: case 5364: case 5365: case 5366: case 5367: case 5368: case 5369: case 5370: case 5371: case 5372: case 5373: case 5374: case 5375: case 5376: case 5377: case 5378: case 5379: case 5380: case 5381: case 5382: case 5383: case 5384: case 5385: case 5386: case 5387: case 5388: case 5389: case 5390: case 5391: case 5392: case 5393: case 5394: case 5395: case 5396: case 5397: case 5398: case 5399: case 5400: case 5401: case 5402: return BlockType::Tripwire;
+ case 5259: case 5260: case 5261: case 5262: case 5263: case 5264: case 5265: case 5266: case 5267: case 5268: case 5269: case 5270: case 5271: case 5272: case 5273: case 5274: return BlockType::TripwireHook;
+ case 9531: return BlockType::TubeCoral;
+ case 9515: return BlockType::TubeCoralBlock;
+ case 9551: return BlockType::TubeCoralFan;
+ case 9601: case 9603: case 9605: case 9607: return BlockType::TubeCoralWallFan;
+ case 9498: case 9499: case 9500: case 9501: case 9502: case 9503: case 9504: case 9505: case 9506: case 9507: case 9508: case 9509: return BlockType::TurtleEgg;
+ case 15017: case 15018: case 15019: case 15020: case 15021: case 15022: case 15023: case 15024: case 15025: case 15026: case 15027: case 15028: case 15029: case 15030: case 15031: case 15032: case 15033: case 15034: case 15035: case 15036: case 15037: case 15038: case 15039: case 15040: case 15041: case 15042: return BlockType::TwistingVines;
+ case 15043: return BlockType::TwistingVinesPlant;
+ case 4788: case 4789: case 4790: case 4791: case 4792: case 4793: case 4794: case 4795: case 4796: case 4797: case 4798: case 4799: case 4800: case 4801: case 4802: case 4803: case 4804: case 4805: case 4806: case 4807: case 4808: case 4809: case 4810: case 4811: case 4812: case 4813: case 4814: case 4815: case 4816: case 4817: case 4818: case 4819: return BlockType::Vine;
+ case 9665: return BlockType::VoidAir;
+ case 1436: case 1437: case 1438: case 1439: return BlockType::WallTorch;
+ case 15503: case 15504: case 15505: case 15506: case 15507: case 15508: case 15509: case 15510: case 15511: case 15512: case 15513: case 15514: case 15515: case 15516: case 15517: case 15518: case 15519: case 15520: case 15521: case 15522: case 15523: case 15524: case 15525: case 15526: return BlockType::WarpedButton;
+ case 15591: case 15592: case 15593: case 15594: case 15595: case 15596: case 15597: case 15598: case 15599: case 15600: case 15601: case 15602: case 15603: case 15604: case 15605: case 15606: case 15607: case 15608: case 15609: case 15610: case 15611: case 15612: case 15613: case 15614: case 15615: case 15616: case 15617: case 15618: case 15619: case 15620: case 15621: case 15622: case 15623: case 15624: case 15625: case 15626: case 15627: case 15628: case 15629: case 15630: case 15631: case 15632: case 15633: case 15634: case 15635: case 15636: case 15637: case 15638: case 15639: case 15640: case 15641: case 15642: case 15643: case 15644: case 15645: case 15646: case 15647: case 15648: case 15649: case 15650: case 15651: case 15652: case 15653: case 15654: return BlockType::WarpedDoor;
+ case 15097: case 15098: case 15101: case 15102: case 15105: case 15106: case 15109: case 15110: case 15113: case 15114: case 15117: case 15118: case 15121: case 15122: case 15125: case 15126: return BlockType::WarpedFence;
+ case 15287: case 15288: case 15289: case 15290: case 15291: case 15292: case 15293: case 15294: case 15295: case 15296: case 15297: case 15298: case 15299: case 15300: case 15301: case 15302: case 15303: case 15304: case 15305: case 15306: case 15307: case 15308: case 15309: case 15310: case 15311: case 15312: case 15313: case 15314: case 15315: case 15316: case 15317: case 15318: return BlockType::WarpedFenceGate;
+ case 14971: return BlockType::WarpedFungus;
+ case 14964: case 14965: case 14966: return BlockType::WarpedHyphae;
+ case 14970: return BlockType::WarpedNylium;
+ case 15046: return BlockType::WarpedPlanks;
+ case 15061: case 15062: return BlockType::WarpedPressurePlate;
+ case 14973: return BlockType::WarpedRoots;
+ case 15688: case 15690: case 15692: case 15694: case 15696: case 15698: case 15700: case 15702: case 15704: case 15706: case 15708: case 15710: case 15712: case 15714: case 15716: case 15718: return BlockType::WarpedSign;
+ case 15054: case 15056: case 15058: return BlockType::WarpedSlab;
+ case 15400: case 15402: case 15404: case 15406: case 15408: case 15410: case 15412: case 15414: case 15416: case 15418: case 15420: case 15422: case 15424: case 15426: case 15428: case 15430: case 15432: case 15434: case 15436: case 15438: case 15440: case 15442: case 15444: case 15446: case 15448: case 15450: case 15452: case 15454: case 15456: case 15458: case 15460: case 15462: case 15464: case 15466: case 15468: case 15470: case 15472: case 15474: case 15476: case 15478: return BlockType::WarpedStairs;
+ case 14958: case 14959: case 14960: return BlockType::WarpedStem;
+ case 15192: case 15194: case 15196: case 15198: case 15200: case 15202: case 15204: case 15206: case 15208: case 15210: case 15212: case 15214: case 15216: case 15218: case 15220: case 15222: case 15224: case 15226: case 15228: case 15230: case 15232: case 15234: case 15236: case 15238: case 15240: case 15242: case 15244: case 15246: case 15248: case 15250: case 15252: case 15254: return BlockType::WarpedTrapdoor;
+ case 15728: case 15730: case 15732: case 15734: return BlockType::WarpedWallSign;
+ case 14972: return BlockType::WarpedWartBlock;
+ case 34: case 35: case 36: case 37: case 38: case 39: case 40: case 41: case 42: case 43: case 44: case 45: case 46: case 47: case 48: case 49: return BlockType::Water;
+ case 14990: case 14991: case 14992: case 14993: case 14994: case 14995: case 14996: case 14997: case 14998: case 14999: case 15000: case 15001: case 15002: case 15003: case 15004: case 15005: case 15006: case 15007: case 15008: case 15009: case 15010: case 15011: case 15012: case 15013: case 15014: case 15015: return BlockType::WeepingVines;
+ case 15016: return BlockType::WeepingVinesPlant;
+ case 230: return BlockType::WetSponge;
+ case 3357: case 3358: case 3359: case 3360: case 3361: case 3362: case 3363: case 3364: return BlockType::Wheat;
+ case 7897: case 7898: case 7899: case 7900: case 7901: case 7902: case 7903: case 7904: case 7905: case 7906: case 7907: case 7908: case 7909: case 7910: case 7911: case 7912: return BlockType::WhiteBanner;
+ case 1049: case 1050: case 1051: case 1052: case 1053: case 1054: case 1055: case 1056: case 1057: case 1058: case 1059: case 1060: case 1061: case 1062: case 1063: case 1064: return BlockType::WhiteBed;
+ case 7866: return BlockType::WhiteCarpet;
+ case 9438: return BlockType::WhiteConcrete;
+ case 9454: return BlockType::WhiteConcretePowder;
+ case 9374: case 9375: case 9376: case 9377: return BlockType::WhiteGlazedTerracotta;
+ case 9278: case 9279: case 9280: case 9281: case 9282: case 9283: return BlockType::WhiteShulkerBox;
+ case 4095: return BlockType::WhiteStainedGlass;
+ case 6865: case 6866: case 6869: case 6870: case 6873: case 6874: case 6877: case 6878: case 6881: case 6882: case 6885: case 6886: case 6889: case 6890: case 6893: case 6894: return BlockType::WhiteStainedGlassPane;
+ case 6847: return BlockType::WhiteTerracotta;
+ case 1419: return BlockType::WhiteTulip;
+ case 8153: case 8154: case 8155: case 8156: return BlockType::WhiteWallBanner;
+ case 1384: return BlockType::WhiteWool;
+ case 1423: return BlockType::WitherRose;
+ case 6510: case 6511: case 6512: case 6513: case 6514: case 6515: case 6516: case 6517: case 6518: case 6519: case 6520: case 6521: case 6522: case 6523: case 6524: case 6525: return BlockType::WitherSkeletonSkull;
+ case 6526: case 6527: case 6528: case 6529: return BlockType::WitherSkeletonWallSkull;
+ case 7961: case 7962: case 7963: case 7964: case 7965: case 7966: case 7967: case 7968: case 7969: case 7970: case 7971: case 7972: case 7973: case 7974: case 7975: case 7976: return BlockType::YellowBanner;
+ case 1113: case 1114: case 1115: case 1116: case 1117: case 1118: case 1119: case 1120: case 1121: case 1122: case 1123: case 1124: case 1125: case 1126: case 1127: case 1128: return BlockType::YellowBed;
+ case 7870: return BlockType::YellowCarpet;
+ case 9442: return BlockType::YellowConcrete;
+ case 9458: return BlockType::YellowConcretePowder;
+ case 9390: case 9391: case 9392: case 9393: return BlockType::YellowGlazedTerracotta;
+ case 9302: case 9303: case 9304: case 9305: case 9306: case 9307: return BlockType::YellowShulkerBox;
+ case 4099: return BlockType::YellowStainedGlass;
+ case 6993: case 6994: case 6997: case 6998: case 7001: case 7002: case 7005: case 7006: case 7009: case 7010: case 7013: case 7014: case 7017: case 7018: case 7021: case 7022: return BlockType::YellowStainedGlassPane;
+ case 6851: return BlockType::YellowTerracotta;
+ case 8169: case 8170: case 8171: case 8172: return BlockType::YellowWallBanner;
+ case 1388: return BlockType::YellowWool;
+ case 6530: case 6531: case 6532: case 6533: case 6534: case 6535: case 6536: case 6537: case 6538: case 6539: case 6540: case 6541: case 6542: case 6543: case 6544: case 6545: return BlockType::ZombieHead;
+ default: return BlockType::ZombieWallHead;
+ }
+}
diff --git a/src/Registries/BlockStates.h b/src/Registries/BlockStates.h
new file mode 100644
index 000000000..4419fc896
--- /dev/null
+++ b/src/Registries/BlockStates.h
@@ -0,0 +1,25485 @@
+#pragma once
+
+#include "Globals.h"
+#include "BlockState.h"
+#include "Defines.h"
+
+namespace Block
+{
+ namespace AcaciaButton
+ {
+ enum class Face
+ {
+ Floor,
+ Wall,
+ Ceiling
+ };
+ constexpr BlockState AcaciaButton(const enum Face Face, const eBlockFace Facing, const bool Powered)
+ {
+ if (Face == Face::Floor)
+ if (Facing == eBlockFace::BLOCK_FACE_ZM)
+ if (Powered) return 6442;
+ else return 6443;
+ else if (Facing == eBlockFace::BLOCK_FACE_ZP)
+ if (Powered) return 6444;
+ else return 6445;
+ else if (Facing == eBlockFace::BLOCK_FACE_XM)
+ if (Powered) return 6446;
+ else return 6447;
+ else
+ if (Powered) return 6448;
+ else return 6449;
+ else if (Face == Face::Wall)
+ if (Facing == eBlockFace::BLOCK_FACE_ZM)
+ if (Powered) return 6450;
+ else return 6451;
+ else if (Facing == eBlockFace::BLOCK_FACE_ZP)
+ if (Powered) return 6452;
+ else return 6453;
+ else if (Facing == eBlockFace::BLOCK_FACE_XM)
+ if (Powered) return 6454;
+ else return 6455;
+ else
+ if (Powered) return 6456;
+ else return 6457;
+ else
+ if (Facing == eBlockFace::BLOCK_FACE_ZM)
+ if (Powered) return 6458;
+ else return 6459;
+ else if (Facing == eBlockFace::BLOCK_FACE_ZP)
+ if (Powered) return 6460;
+ else return 6461;
+ else if (Facing == eBlockFace::BLOCK_FACE_XM)
+ if (Powered) return 6462;
+ else return 6463;
+ else
+ if (Powered) return 6464;
+ else return 6465;
+ }
+ BlockState AcaciaButton();
+ enum Face Face(BlockState Block);
+ eBlockFace Facing(BlockState Block);
+ bool Powered(BlockState Block);
+ }
+ namespace AcaciaDoor
+ {
+ enum class Half
+ {
+ Upper,
+ Lower
+ };
+ enum class Hinge
+ {
+ Left,
+ Right
+ };
+ constexpr BlockState AcaciaDoor(const eBlockFace Facing, const enum Half Half, const enum Hinge Hinge, const bool Open, const bool Powered)
+ {
+ if (Facing == eBlockFace::BLOCK_FACE_ZM)
+ if (Half == Half::Upper)
+ if (Hinge == Hinge::Left)
+ if (Open)
+ if (Powered) return 8930;
+ else return 8931;
+ else
+ if (Powered) return 8932;
+ else return 8933;
+ else
+ if (Open)
+ if (Powered) return 8934;
+ else return 8935;
+ else
+ if (Powered) return 8936;
+ else return 8937;
+ else
+ if (Hinge == Hinge::Left)
+ if (Open)
+ if (Powered) return 8938;
+ else return 8939;
+ else
+ if (Powered) return 8940;
+ else return 8941;
+ else
+ if (Open)
+ if (Powered) return 8942;
+ else return 8943;
+ else
+ if (Powered) return 8944;
+ else return 8945;
+ else if (Facing == eBlockFace::BLOCK_FACE_ZP)
+ if (Half == Half::Upper)
+ if (Hinge == Hinge::Left)
+ if (Open)
+ if (Powered) return 8946;
+ else return 8947;
+ else
+ if (Powered) return 8948;
+ else return 8949;
+ else
+ if (Open)
+ if (Powered) return 8950;
+ else return 8951;
+ else
+ if (Powered) return 8952;
+ else return 8953;
+ else
+ if (Hinge == Hinge::Left)
+ if (Open)
+ if (Powered) return 8954;
+ else return 8955;
+ else
+ if (Powered) return 8956;
+ else return 8957;
+ else
+ if (Open)
+ if (Powered) return 8958;
+ else return 8959;
+ else
+ if (Powered) return 8960;
+ else return 8961;
+ else if (Facing == eBlockFace::BLOCK_FACE_XM)
+ if (Half == Half::Upper)
+ if (Hinge == Hinge::Left)
+ if (Open)
+ if (Powered) return 8962;
+ else return 8963;
+ else
+ if (Powered) return 8964;
+ else return 8965;
+ else
+ if (Open)
+ if (Powered) return 8966;
+ else return 8967;
+ else
+ if (Powered) return 8968;
+ else return 8969;
+ else
+ if (Hinge == Hinge::Left)
+ if (Open)
+ if (Powered) return 8970;
+ else return 8971;
+ else
+ if (Powered) return 8972;
+ else return 8973;
+ else
+ if (Open)
+ if (Powered) return 8974;
+ else return 8975;
+ else
+ if (Powered) return 8976;
+ else return 8977;
+ else
+ if (Half == Half::Upper)
+ if (Hinge == Hinge::Left)
+ if (Open)
+ if (Powered) return 8978;
+ else return 8979;
+ else
+ if (Powered) return 8980;
+ else return 8981;
+ else
+ if (Open)
+ if (Powered) return 8982;
+ else return 8983;
+ else
+ if (Powered) return 8984;
+ else return 8985;
+ else
+ if (Hinge == Hinge::Left)
+ if (Open)
+ if (Powered) return 8986;
+ else return 8987;
+ else
+ if (Powered) return 8988;
+ else return 8989;
+ else
+ if (Open)
+ if (Powered) return 8990;
+ else return 8991;
+ else
+ if (Powered) return 8992;
+ else return 8993;
+ }
+ BlockState AcaciaDoor();
+ eBlockFace Facing(BlockState Block);
+ enum Half Half(BlockState Block);
+ enum Hinge Hinge(BlockState Block);
+ bool Open(BlockState Block);
+ bool Powered(BlockState Block);
+ }
+ namespace AcaciaFence
+ {
+ constexpr BlockState AcaciaFence(const bool East, const bool North, const bool South, const bool West)
+ {
+ if (East)
+ if (North)
+ if (South)
+ if (West) return 8676;
+ else return 8677;
+ else
+ if (West) return 8680;
+ else return 8681;
+ else
+ if (South)
+ if (West) return 8684;
+ else return 8685;
+ else
+ if (West) return 8688;
+ else return 8689;
+ else
+ if (North)
+ if (South)
+ if (West) return 8692;
+ else return 8693;
+ else
+ if (West) return 8696;
+ else return 8697;
+ else
+ if (South)
+ if (West) return 8700;
+ else return 8701;
+ else
+ if (West) return 8704;
+ else return 8705;
+ }
+ BlockState AcaciaFence();
+ bool East(BlockState Block);
+ bool North(BlockState Block);
+ bool South(BlockState Block);
+ bool West(BlockState Block);
+ }
+ namespace AcaciaFenceGate
+ {
+ constexpr BlockState AcaciaFenceGate(const eBlockFace Facing, const bool InWall, const bool Open, const bool Powered)
+ {
+ if (Facing == eBlockFace::BLOCK_FACE_ZM)
+ if (InWall)
+ if (Open)
+ if (Powered) return 8514;
+ else return 8515;
+ else
+ if (Powered) return 8516;
+ else return 8517;
+ else
+ if (Open)
+ if (Powered) return 8518;
+ else return 8519;
+ else
+ if (Powered) return 8520;
+ else return 8521;
+ else if (Facing == eBlockFace::BLOCK_FACE_ZP)
+ if (InWall)
+ if (Open)
+ if (Powered) return 8522;
+ else return 8523;
+ else
+ if (Powered) return 8524;
+ else return 8525;
+ else
+ if (Open)
+ if (Powered) return 8526;
+ else return 8527;
+ else
+ if (Powered) return 8528;
+ else return 8529;
+ else if (Facing == eBlockFace::BLOCK_FACE_XM)
+ if (InWall)
+ if (Open)
+ if (Powered) return 8530;
+ else return 8531;
+ else
+ if (Powered) return 8532;
+ else return 8533;
+ else
+ if (Open)
+ if (Powered) return 8534;
+ else return 8535;
+ else
+ if (Powered) return 8536;
+ else return 8537;
+ else
+ if (InWall)
+ if (Open)
+ if (Powered) return 8538;
+ else return 8539;
+ else
+ if (Powered) return 8540;
+ else return 8541;
+ else
+ if (Open)
+ if (Powered) return 8542;
+ else return 8543;
+ else
+ if (Powered) return 8544;
+ else return 8545;
+ }
+ BlockState AcaciaFenceGate();
+ eBlockFace Facing(BlockState Block);
+ bool InWall(BlockState Block);
+ bool Open(BlockState Block);
+ bool Powered(BlockState Block);
+ }
+ namespace AcaciaLeaves
+ {
+ constexpr BlockState AcaciaLeaves(const unsigned char Distance, const bool Persistent)
+ {
+ if (Distance == 1)
+ if (Persistent) return 201;
+ else return 202;
+ else if (Distance == 2)
+ if (Persistent) return 203;
+ else return 204;
+ else if (Distance == 3)
+ if (Persistent) return 205;
+ else return 206;
+ else if (Distance == 4)
+ if (Persistent) return 207;
+ else return 208;
+ else if (Distance == 5)
+ if (Persistent) return 209;
+ else return 210;
+ else if (Distance == 6)
+ if (Persistent) return 211;
+ else return 212;
+ else
+ if (Persistent) return 213;
+ else return 214;
+ }
+ BlockState AcaciaLeaves();
+ unsigned char Distance(BlockState Block);
+ bool Persistent(BlockState Block);
+ }
+ namespace AcaciaLog
+ {
+ enum class Axis
+ {
+ X,
+ Y,
+ Z
+ };
+ constexpr BlockState AcaciaLog(const enum Axis Axis)
+ {
+ if (Axis == Axis::X) return 85;
+ else if (Axis == Axis::Y) return 86;
+ else return 87;
+ }
+ BlockState AcaciaLog();
+ enum Axis Axis(BlockState Block);
+ }
+ namespace AcaciaPlanks
+ {
+ constexpr BlockState AcaciaPlanks()
+ {
+ return 19;
+ }
+ }
+ namespace AcaciaPressurePlate
+ {
+ constexpr BlockState AcaciaPressurePlate(const bool Powered)
+ {
+ if (Powered) return 3881;
+ else return 3882;
+ }
+ BlockState AcaciaPressurePlate();
+ bool Powered(BlockState Block);
+ }
+ namespace AcaciaSapling
+ {
+ constexpr BlockState AcaciaSapling(const unsigned char Stage)
+ {
+ if (Stage == 0) return 29;
+ else return 30;
+ }
+ BlockState AcaciaSapling();
+ unsigned char Stage(BlockState Block);
+ }
+ namespace AcaciaSign
+ {
+ constexpr BlockState AcaciaSign(const unsigned char Rotation)
+ {
+ if (Rotation == 0) return 3478;
+ else if (Rotation == 1) return 3480;
+ else if (Rotation == 2) return 3482;
+ else if (Rotation == 3) return 3484;
+ else if (Rotation == 4) return 3486;
+ else if (Rotation == 5) return 3488;
+ else if (Rotation == 6) return 3490;
+ else if (Rotation == 7) return 3492;
+ else if (Rotation == 8) return 3494;
+ else if (Rotation == 9) return 3496;
+ else if (Rotation == 10) return 3498;
+ else if (Rotation == 11) return 3500;
+ else if (Rotation == 12) return 3502;
+ else if (Rotation == 13) return 3504;
+ else if (Rotation == 14) return 3506;
+ else return 3508;
+ }
+ BlockState AcaciaSign();
+ unsigned char Rotation(BlockState Block);
+ }
+ namespace AcaciaSlab
+ {
+ enum class Type
+ {
+ Top,
+ Bottom,
+ Double
+ };
+ constexpr BlockState AcaciaSlab(const enum Type Type)
+ {
+ if (Type == Type::Top) return 8325;
+ else if (Type == Type::Bottom) return 8327;
+ else return 8329;
+ }
+ BlockState AcaciaSlab();
+ enum Type Type(BlockState Block);
+ }
+ namespace AcaciaStairs
+ {
+ enum class Half
+ {
+ Top,
+ Bottom
+ };
+ enum class Shape
+ {
+ Straight,
+ InnerLeft,
+ InnerRight,
+ OuterLeft,
+ OuterRight
+ };
+ constexpr BlockState AcaciaStairs(const eBlockFace Facing, const enum Half Half, const enum Shape Shape)
+ {
+ if (Facing == eBlockFace::BLOCK_FACE_ZM)
+ if (Half == Half::Top)
+ if (Shape == Shape::Straight) return 7376;
+ else if (Shape == Shape::InnerLeft) return 7378;
+ else if (Shape == Shape::InnerRight) return 7380;
+ else if (Shape == Shape::OuterLeft) return 7382;
+ else return 7384;
+ else
+ if (Shape == Shape::Straight) return 7386;
+ else if (Shape == Shape::InnerLeft) return 7388;
+ else if (Shape == Shape::InnerRight) return 7390;
+ else if (Shape == Shape::OuterLeft) return 7392;
+ else return 7394;
+ else if (Facing == eBlockFace::BLOCK_FACE_ZP)
+ if (Half == Half::Top)
+ if (Shape == Shape::Straight) return 7396;
+ else if (Shape == Shape::InnerLeft) return 7398;
+ else if (Shape == Shape::InnerRight) return 7400;
+ else if (Shape == Shape::OuterLeft) return 7402;
+ else return 7404;
+ else
+ if (Shape == Shape::Straight) return 7406;
+ else if (Shape == Shape::InnerLeft) return 7408;
+ else if (Shape == Shape::InnerRight) return 7410;
+ else if (Shape == Shape::OuterLeft) return 7412;
+ else return 7414;
+ else if (Facing == eBlockFace::BLOCK_FACE_XM)
+ if (Half == Half::Top)
+ if (Shape == Shape::Straight) return 7416;
+ else if (Shape == Shape::InnerLeft) return 7418;
+ else if (Shape == Shape::InnerRight) return 7420;
+ else if (Shape == Shape::OuterLeft) return 7422;
+ else return 7424;
+ else
+ if (Shape == Shape::Straight) return 7426;
+ else if (Shape == Shape::InnerLeft) return 7428;
+ else if (Shape == Shape::InnerRight) return 7430;
+ else if (Shape == Shape::OuterLeft) return 7432;
+ else return 7434;
+ else
+ if (Half == Half::Top)
+ if (Shape == Shape::Straight) return 7436;
+ else if (Shape == Shape::InnerLeft) return 7438;
+ else if (Shape == Shape::InnerRight) return 7440;
+ else if (Shape == Shape::OuterLeft) return 7442;
+ else return 7444;
+ else
+ if (Shape == Shape::Straight) return 7446;
+ else if (Shape == Shape::InnerLeft) return 7448;
+ else if (Shape == Shape::InnerRight) return 7450;
+ else if (Shape == Shape::OuterLeft) return 7452;
+ else return 7454;
+ }
+ BlockState AcaciaStairs();
+ eBlockFace Facing(BlockState Block);
+ enum Half Half(BlockState Block);
+ enum Shape Shape(BlockState Block);
+ }
+ namespace AcaciaTrapdoor
+ {
+ enum class Half
+ {
+ Top,
+ Bottom
+ };
+ constexpr BlockState AcaciaTrapdoor(const eBlockFace Facing, const enum Half Half, const bool Open, const bool Powered)
+ {
+ if (Facing == eBlockFace::BLOCK_FACE_ZM)
+ if (Half == Half::Top)
+ if (Open)
+ if (Powered) return 4368;
+ else return 4370;
+ else
+ if (Powered) return 4372;
+ else return 4374;
+ else
+ if (Open)
+ if (Powered) return 4376;
+ else return 4378;
+ else
+ if (Powered) return 4380;
+ else return 4382;
+ else if (Facing == eBlockFace::BLOCK_FACE_ZP)
+ if (Half == Half::Top)
+ if (Open)
+ if (Powered) return 4384;
+ else return 4386;
+ else
+ if (Powered) return 4388;
+ else return 4390;
+ else
+ if (Open)
+ if (Powered) return 4392;
+ else return 4394;
+ else
+ if (Powered) return 4396;
+ else return 4398;
+ else if (Facing == eBlockFace::BLOCK_FACE_XM)
+ if (Half == Half::Top)
+ if (Open)
+ if (Powered) return 4400;
+ else return 4402;
+ else
+ if (Powered) return 4404;
+ else return 4406;
+ else
+ if (Open)
+ if (Powered) return 4408;
+ else return 4410;
+ else
+ if (Powered) return 4412;
+ else return 4414;
+ else
+ if (Half == Half::Top)
+ if (Open)
+ if (Powered) return 4416;
+ else return 4418;
+ else
+ if (Powered) return 4420;
+ else return 4422;
+ else
+ if (Open)
+ if (Powered) return 4424;
+ else return 4426;
+ else
+ if (Powered) return 4428;
+ else return 4430;
+ }
+ BlockState AcaciaTrapdoor();
+ eBlockFace Facing(BlockState Block);
+ enum Half Half(BlockState Block);
+ bool Open(BlockState Block);
+ bool Powered(BlockState Block);
+ }
+ namespace AcaciaWallSign
+ {
+ constexpr BlockState AcaciaWallSign(const eBlockFace Facing)
+ {
+ if (Facing == eBlockFace::BLOCK_FACE_ZM) return 3760;
+ else if (Facing == eBlockFace::BLOCK_FACE_ZP) return 3762;
+ else if (Facing == eBlockFace::BLOCK_FACE_XM) return 3764;
+ else return 3766;
+ }
+ BlockState AcaciaWallSign();
+ eBlockFace Facing(BlockState Block);
+ }
+ namespace AcaciaWood
+ {
+ enum class Axis
+ {
+ X,
+ Y,
+ Z
+ };
+ constexpr BlockState AcaciaWood(const enum Axis Axis)
+ {
+ if (Axis == Axis::X) return 121;
+ else if (Axis == Axis::Y) return 122;
+ else return 123;
+ }
+ BlockState AcaciaWood();
+ enum Axis Axis(BlockState Block);
+ }
+ namespace ActivatorRail
+ {
+ enum class Shape
+ {
+ NorthSouth,
+ EastWest,
+ AscendingEast,
+ AscendingWest,
+ AscendingNorth,
+ AscendingSouth
+ };
+ constexpr BlockState ActivatorRail(const bool Powered, const enum Shape Shape)
+ {
+ if (Powered)
+ if (Shape == Shape::NorthSouth) return 6823;
+ else if (Shape == Shape::EastWest) return 6824;
+ else if (Shape == Shape::AscendingEast) return 6825;
+ else if (Shape == Shape::AscendingWest) return 6826;
+ else if (Shape == Shape::AscendingNorth) return 6827;
+ else return 6828;
+ else
+ if (Shape == Shape::NorthSouth) return 6829;
+ else if (Shape == Shape::EastWest) return 6830;
+ else if (Shape == Shape::AscendingEast) return 6831;
+ else if (Shape == Shape::AscendingWest) return 6832;
+ else if (Shape == Shape::AscendingNorth) return 6833;
+ else return 6834;
+ }
+ BlockState ActivatorRail();
+ bool Powered(BlockState Block);
+ enum Shape Shape(BlockState Block);
+ }
+ namespace Air
+ {
+ constexpr BlockState Air()
+ {
+ return -0;
+ }
+ }
+ namespace Allium
+ {
+ constexpr BlockState Allium()
+ {
+ return 1415;
+ }
+ }
+ namespace AncientDebris
+ {
+ constexpr BlockState AncientDebris()
+ {
+ return 15827;
+ }
+ }
+ namespace Andesite
+ {
+ constexpr BlockState Andesite()
+ {
+ return 6;
+ }
+ }
+ namespace AndesiteSlab
+ {
+ enum class Type
+ {
+ Top,
+ Bottom,
+ Double
+ };
+ constexpr BlockState AndesiteSlab(const enum Type Type)
+ {
+ if (Type == Type::Top) return 10844;
+ else if (Type == Type::Bottom) return 10846;
+ else return 10848;
+ }
+ BlockState AndesiteSlab();
+ enum Type Type(BlockState Block);
+ }
+ namespace AndesiteStairs
+ {
+ enum class Half
+ {
+ Top,
+ Bottom
+ };
+ enum class Shape
+ {
+ Straight,
+ InnerLeft,
+ InnerRight,
+ OuterLeft,
+ OuterRight
+ };
+ constexpr BlockState AndesiteStairs(const eBlockFace Facing, const enum Half Half, const enum Shape Shape)
+ {
+ if (Facing == eBlockFace::BLOCK_FACE_ZM)
+ if (Half == Half::Top)
+ if (Shape == Shape::Straight) return 10470;
+ else if (Shape == Shape::InnerLeft) return 10472;
+ else if (Shape == Shape::InnerRight) return 10474;
+ else if (Shape == Shape::OuterLeft) return 10476;
+ else return 10478;
+ else
+ if (Shape == Shape::Straight) return 10480;
+ else if (Shape == Shape::InnerLeft) return 10482;
+ else if (Shape == Shape::InnerRight) return 10484;
+ else if (Shape == Shape::OuterLeft) return 10486;
+ else return 10488;
+ else if (Facing == eBlockFace::BLOCK_FACE_ZP)
+ if (Half == Half::Top)
+ if (Shape == Shape::Straight) return 10490;
+ else if (Shape == Shape::InnerLeft) return 10492;
+ else if (Shape == Shape::InnerRight) return 10494;
+ else if (Shape == Shape::OuterLeft) return 10496;
+ else return 10498;
+ else
+ if (Shape == Shape::Straight) return 10500;
+ else if (Shape == Shape::InnerLeft) return 10502;
+ else if (Shape == Shape::InnerRight) return 10504;
+ else if (Shape == Shape::OuterLeft) return 10506;
+ else return 10508;
+ else if (Facing == eBlockFace::BLOCK_FACE_XM)
+ if (Half == Half::Top)
+ if (Shape == Shape::Straight) return 10510;
+ else if (Shape == Shape::InnerLeft) return 10512;
+ else if (Shape == Shape::InnerRight) return 10514;
+ else if (Shape == Shape::OuterLeft) return 10516;
+ else return 10518;
+ else
+ if (Shape == Shape::Straight) return 10520;
+ else if (Shape == Shape::InnerLeft) return 10522;
+ else if (Shape == Shape::InnerRight) return 10524;
+ else if (Shape == Shape::OuterLeft) return 10526;
+ else return 10528;
+ else
+ if (Half == Half::Top)
+ if (Shape == Shape::Straight) return 10530;
+ else if (Shape == Shape::InnerLeft) return 10532;
+ else if (Shape == Shape::InnerRight) return 10534;
+ else if (Shape == Shape::OuterLeft) return 10536;
+ else return 10538;
+ else
+ if (Shape == Shape::Straight) return 10540;
+ else if (Shape == Shape::InnerLeft) return 10542;
+ else if (Shape == Shape::InnerRight) return 10544;
+ else if (Shape == Shape::OuterLeft) return 10546;
+ else return 10548;
+ }
+ BlockState AndesiteStairs();
+ eBlockFace Facing(BlockState Block);
+ enum Half Half(BlockState Block);
+ enum Shape Shape(BlockState Block);
+ }
+ namespace AndesiteWall
+ {
+ enum class East
+ {
+ None,
+ Low,
+ Tall
+ };
+ enum class North
+ {
+ None,
+ Low,
+ Tall
+ };
+ enum class South
+ {
+ None,
+ Low,
+ Tall
+ };
+ enum class West
+ {
+ None,
+ Low,
+ Tall
+ };
+ constexpr BlockState AndesiteWall(const enum East East, const enum North North, const enum South South, const bool Up, const enum West West)
+ {
+ if (East == East::None)
+ if (North == North::None)
+ if (South == South::None)
+ if (Up)
+ if (West == West::None) return 13138;
+ else if (West == West::Low) return 13139;
+ else return 13140;
+ else
+ if (West == West::None) return 13144;
+ else if (West == West::Low) return 13145;
+ else return 13146;
+ else if (South == South::Low)
+ if (Up)
+ if (West == West::None) return 13150;
+ else if (West == West::Low) return 13151;
+ else return 13152;
+ else
+ if (West == West::None) return 13156;
+ else if (West == West::Low) return 13157;
+ else return 13158;
+ else
+ if (Up)
+ if (West == West::None) return 13162;
+ else if (West == West::Low) return 13163;
+ else return 13164;
+ else
+ if (West == West::None) return 13168;
+ else if (West == West::Low) return 13169;
+ else return 13170;
+ else if (North == North::Low)
+ if (South == South::None)
+ if (Up)
+ if (West == West::None) return 13174;
+ else if (West == West::Low) return 13175;
+ else return 13176;
+ else
+ if (West == West::None) return 13180;
+ else if (West == West::Low) return 13181;
+ else return 13182;
+ else if (South == South::Low)
+ if (Up)
+ if (West == West::None) return 13186;
+ else if (West == West::Low) return 13187;
+ else return 13188;
+ else
+ if (West == West::None) return 13192;
+ else if (West == West::Low) return 13193;
+ else return 13194;
+ else
+ if (Up)
+ if (West == West::None) return 13198;
+ else if (West == West::Low) return 13199;
+ else return 13200;
+ else
+ if (West == West::None) return 13204;
+ else if (West == West::Low) return 13205;
+ else return 13206;
+ else
+ if (South == South::None)
+ if (Up)
+ if (West == West::None) return 13210;
+ else if (West == West::Low) return 13211;
+ else return 13212;
+ else
+ if (West == West::None) return 13216;
+ else if (West == West::Low) return 13217;
+ else return 13218;
+ else if (South == South::Low)
+ if (Up)
+ if (West == West::None) return 13222;
+ else if (West == West::Low) return 13223;
+ else return 13224;
+ else
+ if (West == West::None) return 13228;
+ else if (West == West::Low) return 13229;
+ else return 13230;
+ else
+ if (Up)
+ if (West == West::None) return 13234;
+ else if (West == West::Low) return 13235;
+ else return 13236;
+ else
+ if (West == West::None) return 13240;
+ else if (West == West::Low) return 13241;
+ else return 13242;
+ else if (East == East::Low)
+ if (North == North::None)
+ if (South == South::None)
+ if (Up)
+ if (West == West::None) return 13246;
+ else if (West == West::Low) return 13247;
+ else return 13248;
+ else
+ if (West == West::None) return 13252;
+ else if (West == West::Low) return 13253;
+ else return 13254;
+ else if (South == South::Low)
+ if (Up)
+ if (West == West::None) return 13258;
+ else if (West == West::Low) return 13259;
+ else return 13260;
+ else
+ if (West == West::None) return 13264;
+ else if (West == West::Low) return 13265;
+ else return 13266;
+ else
+ if (Up)
+ if (West == West::None) return 13270;
+ else if (West == West::Low) return 13271;
+ else return 13272;
+ else
+ if (West == West::None) return 13276;
+ else if (West == West::Low) return 13277;
+ else return 13278;
+ else if (North == North::Low)
+ if (South == South::None)
+ if (Up)
+ if (West == West::None) return 13282;
+ else if (West == West::Low) return 13283;
+ else return 13284;
+ else
+ if (West == West::None) return 13288;
+ else if (West == West::Low) return 13289;
+ else return 13290;
+ else if (South == South::Low)
+ if (Up)
+ if (West == West::None) return 13294;
+ else if (West == West::Low) return 13295;
+ else return 13296;
+ else
+ if (West == West::None) return 13300;
+ else if (West == West::Low) return 13301;
+ else return 13302;
+ else
+ if (Up)
+ if (West == West::None) return 13306;
+ else if (West == West::Low) return 13307;
+ else return 13308;
+ else
+ if (West == West::None) return 13312;
+ else if (West == West::Low) return 13313;
+ else return 13314;
+ else
+ if (South == South::None)
+ if (Up)
+ if (West == West::None) return 13318;
+ else if (West == West::Low) return 13319;
+ else return 13320;
+ else
+ if (West == West::None) return 13324;
+ else if (West == West::Low) return 13325;
+ else return 13326;
+ else if (South == South::Low)
+ if (Up)
+ if (West == West::None) return 13330;
+ else if (West == West::Low) return 13331;
+ else return 13332;
+ else
+ if (West == West::None) return 13336;
+ else if (West == West::Low) return 13337;
+ else return 13338;
+ else
+ if (Up)
+ if (West == West::None) return 13342;
+ else if (West == West::Low) return 13343;
+ else return 13344;
+ else
+ if (West == West::None) return 13348;
+ else if (West == West::Low) return 13349;
+ else return 13350;
+ else
+ if (North == North::None)
+ if (South == South::None)
+ if (Up)
+ if (West == West::None) return 13354;
+ else if (West == West::Low) return 13355;
+ else return 13356;
+ else
+ if (West == West::None) return 13360;
+ else if (West == West::Low) return 13361;
+ else return 13362;
+ else if (South == South::Low)
+ if (Up)
+ if (West == West::None) return 13366;
+ else if (West == West::Low) return 13367;
+ else return 13368;
+ else
+ if (West == West::None) return 13372;
+ else if (West == West::Low) return 13373;
+ else return 13374;
+ else
+ if (Up)
+ if (West == West::None) return 13378;
+ else if (West == West::Low) return 13379;
+ else return 13380;
+ else
+ if (West == West::None) return 13384;
+ else if (West == West::Low) return 13385;
+ else return 13386;
+ else if (North == North::Low)
+ if (South == South::None)
+ if (Up)
+ if (West == West::None) return 13390;
+ else if (West == West::Low) return 13391;
+ else return 13392;
+ else
+ if (West == West::None) return 13396;
+ else if (West == West::Low) return 13397;
+ else return 13398;
+ else if (South == South::Low)
+ if (Up)
+ if (West == West::None) return 13402;
+ else if (West == West::Low) return 13403;
+ else return 13404;
+ else
+ if (West == West::None) return 13408;
+ else if (West == West::Low) return 13409;
+ else return 13410;
+ else
+ if (Up)
+ if (West == West::None) return 13414;
+ else if (West == West::Low) return 13415;
+ else return 13416;
+ else
+ if (West == West::None) return 13420;
+ else if (West == West::Low) return 13421;
+ else return 13422;
+ else
+ if (South == South::None)
+ if (Up)
+ if (West == West::None) return 13426;
+ else if (West == West::Low) return 13427;
+ else return 13428;
+ else
+ if (West == West::None) return 13432;
+ else if (West == West::Low) return 13433;
+ else return 13434;
+ else if (South == South::Low)
+ if (Up)
+ if (West == West::None) return 13438;
+ else if (West == West::Low) return 13439;
+ else return 13440;
+ else
+ if (West == West::None) return 13444;
+ else if (West == West::Low) return 13445;
+ else return 13446;
+ else
+ if (Up)
+ if (West == West::None) return 13450;
+ else if (West == West::Low) return 13451;
+ else return 13452;
+ else
+ if (West == West::None) return 13456;
+ else if (West == West::Low) return 13457;
+ else return 13458;
+ }
+ BlockState AndesiteWall();
+ enum East East(BlockState Block);
+ enum North North(BlockState Block);
+ enum South South(BlockState Block);
+ bool Up(BlockState Block);
+ enum West West(BlockState Block);
+ }
+ namespace Anvil
+ {
+ constexpr BlockState Anvil(const eBlockFace Facing)
+ {
+ if (Facing == eBlockFace::BLOCK_FACE_ZM) return 6610;
+ else if (Facing == eBlockFace::BLOCK_FACE_ZP) return 6611;
+ else if (Facing == eBlockFace::BLOCK_FACE_XM) return 6612;
+ else return 6613;
+ }
+ BlockState Anvil();
+ eBlockFace Facing(BlockState Block);
+ }
+ namespace AttachedMelonStem
+ {
+ constexpr BlockState AttachedMelonStem(const eBlockFace Facing)
+ {
+ if (Facing == eBlockFace::BLOCK_FACE_ZM) return 4768;
+ else if (Facing == eBlockFace::BLOCK_FACE_ZP) return 4769;
+ else if (Facing == eBlockFace::BLOCK_FACE_XM) return 4770;
+ else return 4771;
+ }
+ BlockState AttachedMelonStem();
+ eBlockFace Facing(BlockState Block);
+ }
+ namespace AttachedPumpkinStem
+ {
+ constexpr BlockState AttachedPumpkinStem(const eBlockFace Facing)
+ {
+ if (Facing == eBlockFace::BLOCK_FACE_ZM) return 4764;
+ else if (Facing == eBlockFace::BLOCK_FACE_ZP) return 4765;
+ else if (Facing == eBlockFace::BLOCK_FACE_XM) return 4766;
+ else return 4767;
+ }
+ BlockState AttachedPumpkinStem();
+ eBlockFace Facing(BlockState Block);
+ }
+ namespace AzureBluet
+ {
+ constexpr BlockState AzureBluet()
+ {
+ return 1416;
+ }
+ }
+ namespace Bamboo
+ {
+ enum class Leaves
+ {
+ None,
+ Small,
+ Large
+ };
+ constexpr BlockState Bamboo(const unsigned char Age, const enum Leaves Leaves, const unsigned char Stage)
+ {
+ if (Age == 0)
+ if (Leaves == Leaves::None)
+ if (Stage == 0) return 9652;
+ else return 9653;
+ else if (Leaves == Leaves::Small)
+ if (Stage == 0) return 9654;
+ else return 9655;
+ else
+ if (Stage == 0) return 9656;
+ else return 9657;
+ else
+ if (Leaves == Leaves::None)
+ if (Stage == 0) return 9658;
+ else return 9659;
+ else if (Leaves == Leaves::Small)
+ if (Stage == 0) return 9660;
+ else return 9661;
+ else
+ if (Stage == 0) return 9662;
+ else return 9663;
+ }
+ BlockState Bamboo();
+ unsigned char Age(BlockState Block);
+ enum Leaves Leaves(BlockState Block);
+ unsigned char Stage(BlockState Block);
+ }
+ namespace BambooSapling
+ {
+ constexpr BlockState BambooSapling()
+ {
+ return 9651;
+ }
+ }
+ namespace Barrel
+ {
+ constexpr BlockState Barrel(const eBlockFace Facing, const bool Open)
+ {
+ if (Facing == eBlockFace::BLOCK_FACE_ZM)
+ if (Open) return 14791;
+ else return 14792;
+ else if (Facing == eBlockFace::BLOCK_FACE_XP)
+ if (Open) return 14793;
+ else return 14794;
+ else if (Facing == eBlockFace::BLOCK_FACE_ZP)
+ if (Open) return 14795;
+ else return 14796;
+ else if (Facing == eBlockFace::BLOCK_FACE_XM)
+ if (Open) return 14797;
+ else return 14798;
+ else if (Facing == eBlockFace::BLOCK_FACE_YP)
+ if (Open) return 14799;
+ else return 14800;
+ else
+ if (Open) return 14801;
+ else return 14802;
+ }
+ BlockState Barrel();
+ eBlockFace Facing(BlockState Block);
+ bool Open(BlockState Block);
+ }
+ namespace Barrier
+ {
+ constexpr BlockState Barrier()
+ {
+ return 7536;
+ }
+ }
+ namespace Basalt
+ {
+ enum class Axis
+ {
+ X,
+ Y,
+ Z
+ };
+ constexpr BlockState Basalt(const enum Axis Axis)
+ {
+ if (Axis == Axis::X) return 4002;
+ else if (Axis == Axis::Y) return 4003;
+ else return 4004;
+ }
+ BlockState Basalt();
+ enum Axis Axis(BlockState Block);
+ }
+ namespace Beacon
+ {
+ constexpr BlockState Beacon()
+ {
+ return 5656;
+ }
+ }
+ namespace Bedrock
+ {
+ constexpr BlockState Bedrock()
+ {
+ return 33;
+ }
+ }
+ namespace BeeNest
+ {
+ constexpr BlockState BeeNest(const eBlockFace Facing, const unsigned char HoneyLevel)
+ {
+ if (Facing == eBlockFace::BLOCK_FACE_ZM)
+ if (HoneyLevel == 0) return 15776;
+ else if (HoneyLevel == 1) return 15777;
+ else if (HoneyLevel == 2) return 15778;
+ else if (HoneyLevel == 3) return 15779;
+ else if (HoneyLevel == 4) return 15780;
+ else return 15781;
+ else if (Facing == eBlockFace::BLOCK_FACE_ZP)
+ if (HoneyLevel == 0) return 15782;
+ else if (HoneyLevel == 1) return 15783;
+ else if (HoneyLevel == 2) return 15784;
+ else if (HoneyLevel == 3) return 15785;
+ else if (HoneyLevel == 4) return 15786;
+ else return 15787;
+ else if (Facing == eBlockFace::BLOCK_FACE_XM)
+ if (HoneyLevel == 0) return 15788;
+ else if (HoneyLevel == 1) return 15789;
+ else if (HoneyLevel == 2) return 15790;
+ else if (HoneyLevel == 3) return 15791;
+ else if (HoneyLevel == 4) return 15792;
+ else return 15793;
+ else
+ if (HoneyLevel == 0) return 15794;
+ else if (HoneyLevel == 1) return 15795;
+ else if (HoneyLevel == 2) return 15796;
+ else if (HoneyLevel == 3) return 15797;
+ else if (HoneyLevel == 4) return 15798;
+ else return 15799;
+ }
+ BlockState BeeNest();
+ eBlockFace Facing(BlockState Block);
+ unsigned char HoneyLevel(BlockState Block);
+ }
+ namespace Beehive
+ {
+ constexpr BlockState Beehive(const eBlockFace Facing, const unsigned char HoneyLevel)
+ {
+ if (Facing == eBlockFace::BLOCK_FACE_ZM)
+ if (HoneyLevel == 0) return 15800;
+ else if (HoneyLevel == 1) return 15801;
+ else if (HoneyLevel == 2) return 15802;
+ else if (HoneyLevel == 3) return 15803;
+ else if (HoneyLevel == 4) return 15804;
+ else return 15805;
+ else if (Facing == eBlockFace::BLOCK_FACE_ZP)
+ if (HoneyLevel == 0) return 15806;
+ else if (HoneyLevel == 1) return 15807;
+ else if (HoneyLevel == 2) return 15808;
+ else if (HoneyLevel == 3) return 15809;
+ else if (HoneyLevel == 4) return 15810;
+ else return 15811;
+ else if (Facing == eBlockFace::BLOCK_FACE_XM)
+ if (HoneyLevel == 0) return 15812;
+ else if (HoneyLevel == 1) return 15813;
+ else if (HoneyLevel == 2) return 15814;
+ else if (HoneyLevel == 3) return 15815;
+ else if (HoneyLevel == 4) return 15816;
+ else return 15817;
+ else
+ if (HoneyLevel == 0) return 15818;
+ else if (HoneyLevel == 1) return 15819;
+ else if (HoneyLevel == 2) return 15820;
+ else if (HoneyLevel == 3) return 15821;
+ else if (HoneyLevel == 4) return 15822;
+ else return 15823;
+ }
+ BlockState Beehive();
+ eBlockFace Facing(BlockState Block);
+ unsigned char HoneyLevel(BlockState Block);
+ }
+ namespace Beetroots
+ {
+ constexpr BlockState Beetroots(const unsigned char Age)
+ {
+ if (Age == 0) return 9219;
+ else if (Age == 1) return 9220;
+ else if (Age == 2) return 9221;
+ else return 9222;
+ }
+ BlockState Beetroots();
+ unsigned char Age(BlockState Block);
+ }
+ namespace Bell
+ {
+ enum class Attachment
+ {
+ Floor,
+ Ceiling,
+ SingleWall,
+ DoubleWall
+ };
+ constexpr BlockState Bell(const enum Attachment Attachment, const eBlockFace Facing, const bool Powered)
+ {
+ if (Attachment == Attachment::Floor)
+ if (Facing == eBlockFace::BLOCK_FACE_ZM)
+ if (Powered) return 14854;
+ else return 14855;
+ else if (Facing == eBlockFace::BLOCK_FACE_ZP)
+ if (Powered) return 14856;
+ else return 14857;
+ else if (Facing == eBlockFace::BLOCK_FACE_XM)
+ if (Powered) return 14858;
+ else return 14859;
+ else
+ if (Powered) return 14860;
+ else return 14861;
+ else if (Attachment == Attachment::Ceiling)
+ if (Facing == eBlockFace::BLOCK_FACE_ZM)
+ if (Powered) return 14862;
+ else return 14863;
+ else if (Facing == eBlockFace::BLOCK_FACE_ZP)
+ if (Powered) return 14864;
+ else return 14865;
+ else if (Facing == eBlockFace::BLOCK_FACE_XM)
+ if (Powered) return 14866;
+ else return 14867;
+ else
+ if (Powered) return 14868;
+ else return 14869;
+ else if (Attachment == Attachment::SingleWall)
+ if (Facing == eBlockFace::BLOCK_FACE_ZM)
+ if (Powered) return 14870;
+ else return 14871;
+ else if (Facing == eBlockFace::BLOCK_FACE_ZP)
+ if (Powered) return 14872;
+ else return 14873;
+ else if (Facing == eBlockFace::BLOCK_FACE_XM)
+ if (Powered) return 14874;
+ else return 14875;
+ else
+ if (Powered) return 14876;
+ else return 14877;
+ else
+ if (Facing == eBlockFace::BLOCK_FACE_ZM)
+ if (Powered) return 14878;
+ else return 14879;
+ else if (Facing == eBlockFace::BLOCK_FACE_ZP)
+ if (Powered) return 14880;
+ else return 14881;
+ else if (Facing == eBlockFace::BLOCK_FACE_XM)
+ if (Powered) return 14882;
+ else return 14883;
+ else
+ if (Powered) return 14884;
+ else return 14885;
+ }
+ BlockState Bell();
+ enum Attachment Attachment(BlockState Block);
+ eBlockFace Facing(BlockState Block);
+ bool Powered(BlockState Block);
+ }
+ namespace BirchButton
+ {
+ enum class Face
+ {
+ Floor,
+ Wall,
+ Ceiling
+ };
+ constexpr BlockState BirchButton(const enum Face Face, const eBlockFace Facing, const bool Powered)
+ {
+ if (Face == Face::Floor)
+ if (Facing == eBlockFace::BLOCK_FACE_ZM)
+ if (Powered) return 6394;
+ else return 6395;
+ else if (Facing == eBlockFace::BLOCK_FACE_ZP)
+ if (Powered) return 6396;
+ else return 6397;
+ else if (Facing == eBlockFace::BLOCK_FACE_XM)
+ if (Powered) return 6398;
+ else return 6399;
+ else
+ if (Powered) return 6400;
+ else return 6401;
+ else if (Face == Face::Wall)
+ if (Facing == eBlockFace::BLOCK_FACE_ZM)
+ if (Powered) return 6402;
+ else return 6403;
+ else if (Facing == eBlockFace::BLOCK_FACE_ZP)
+ if (Powered) return 6404;
+ else return 6405;
+ else if (Facing == eBlockFace::BLOCK_FACE_XM)
+ if (Powered) return 6406;
+ else return 6407;
+ else
+ if (Powered) return 6408;
+ else return 6409;
+ else
+ if (Facing == eBlockFace::BLOCK_FACE_ZM)
+ if (Powered) return 6410;
+ else return 6411;
+ else if (Facing == eBlockFace::BLOCK_FACE_ZP)
+ if (Powered) return 6412;
+ else return 6413;
+ else if (Facing == eBlockFace::BLOCK_FACE_XM)
+ if (Powered) return 6414;
+ else return 6415;
+ else
+ if (Powered) return 6416;
+ else return 6417;
+ }
+ BlockState BirchButton();
+ enum Face Face(BlockState Block);
+ eBlockFace Facing(BlockState Block);
+ bool Powered(BlockState Block);
+ }
+ namespace BirchDoor
+ {
+ enum class Half
+ {
+ Upper,
+ Lower
+ };
+ enum class Hinge
+ {
+ Left,
+ Right
+ };
+ constexpr BlockState BirchDoor(const eBlockFace Facing, const enum Half Half, const enum Hinge Hinge, const bool Open, const bool Powered)
+ {
+ if (Facing == eBlockFace::BLOCK_FACE_ZM)
+ if (Half == Half::Upper)
+ if (Hinge == Hinge::Left)
+ if (Open)
+ if (Powered) return 8802;
+ else return 8803;
+ else
+ if (Powered) return 8804;
+ else return 8805;
+ else
+ if (Open)
+ if (Powered) return 8806;
+ else return 8807;
+ else
+ if (Powered) return 8808;
+ else return 8809;
+ else
+ if (Hinge == Hinge::Left)
+ if (Open)
+ if (Powered) return 8810;
+ else return 8811;
+ else
+ if (Powered) return 8812;
+ else return 8813;
+ else
+ if (Open)
+ if (Powered) return 8814;
+ else return 8815;
+ else
+ if (Powered) return 8816;
+ else return 8817;
+ else if (Facing == eBlockFace::BLOCK_FACE_ZP)
+ if (Half == Half::Upper)
+ if (Hinge == Hinge::Left)
+ if (Open)
+ if (Powered) return 8818;
+ else return 8819;
+ else
+ if (Powered) return 8820;
+ else return 8821;
+ else
+ if (Open)
+ if (Powered) return 8822;
+ else return 8823;
+ else
+ if (Powered) return 8824;
+ else return 8825;
+ else
+ if (Hinge == Hinge::Left)
+ if (Open)
+ if (Powered) return 8826;
+ else return 8827;
+ else
+ if (Powered) return 8828;
+ else return 8829;
+ else
+ if (Open)
+ if (Powered) return 8830;
+ else return 8831;
+ else
+ if (Powered) return 8832;
+ else return 8833;
+ else if (Facing == eBlockFace::BLOCK_FACE_XM)
+ if (Half == Half::Upper)
+ if (Hinge == Hinge::Left)
+ if (Open)
+ if (Powered) return 8834;
+ else return 8835;
+ else
+ if (Powered) return 8836;
+ else return 8837;
+ else
+ if (Open)
+ if (Powered) return 8838;
+ else return 8839;
+ else
+ if (Powered) return 8840;
+ else return 8841;
+ else
+ if (Hinge == Hinge::Left)
+ if (Open)
+ if (Powered) return 8842;
+ else return 8843;
+ else
+ if (Powered) return 8844;
+ else return 8845;
+ else
+ if (Open)
+ if (Powered) return 8846;
+ else return 8847;
+ else
+ if (Powered) return 8848;
+ else return 8849;
+ else
+ if (Half == Half::Upper)
+ if (Hinge == Hinge::Left)
+ if (Open)
+ if (Powered) return 8850;
+ else return 8851;
+ else
+ if (Powered) return 8852;
+ else return 8853;
+ else
+ if (Open)
+ if (Powered) return 8854;
+ else return 8855;
+ else
+ if (Powered) return 8856;
+ else return 8857;
+ else
+ if (Hinge == Hinge::Left)
+ if (Open)
+ if (Powered) return 8858;
+ else return 8859;
+ else
+ if (Powered) return 8860;
+ else return 8861;
+ else
+ if (Open)
+ if (Powered) return 8862;
+ else return 8863;
+ else
+ if (Powered) return 8864;
+ else return 8865;
+ }
+ BlockState BirchDoor();
+ eBlockFace Facing(BlockState Block);
+ enum Half Half(BlockState Block);
+ enum Hinge Hinge(BlockState Block);
+ bool Open(BlockState Block);
+ bool Powered(BlockState Block);
+ }
+ namespace BirchFence
+ {
+ constexpr BlockState BirchFence(const bool East, const bool North, const bool South, const bool West)
+ {
+ if (East)
+ if (North)
+ if (South)
+ if (West) return 8612;
+ else return 8613;
+ else
+ if (West) return 8616;
+ else return 8617;
+ else
+ if (South)
+ if (West) return 8620;
+ else return 8621;
+ else
+ if (West) return 8624;
+ else return 8625;
+ else
+ if (North)
+ if (South)
+ if (West) return 8628;
+ else return 8629;
+ else
+ if (West) return 8632;
+ else return 8633;
+ else
+ if (South)
+ if (West) return 8636;
+ else return 8637;
+ else
+ if (West) return 8640;
+ else return 8641;
+ }
+ BlockState BirchFence();
+ bool East(BlockState Block);
+ bool North(BlockState Block);
+ bool South(BlockState Block);
+ bool West(BlockState Block);
+ }
+ namespace BirchFenceGate
+ {
+ constexpr BlockState BirchFenceGate(const eBlockFace Facing, const bool InWall, const bool Open, const bool Powered)
+ {
+ if (Facing == eBlockFace::BLOCK_FACE_ZM)
+ if (InWall)
+ if (Open)
+ if (Powered) return 8450;
+ else return 8451;
+ else
+ if (Powered) return 8452;
+ else return 8453;
+ else
+ if (Open)
+ if (Powered) return 8454;
+ else return 8455;
+ else
+ if (Powered) return 8456;
+ else return 8457;
+ else if (Facing == eBlockFace::BLOCK_FACE_ZP)
+ if (InWall)
+ if (Open)
+ if (Powered) return 8458;
+ else return 8459;
+ else
+ if (Powered) return 8460;
+ else return 8461;
+ else
+ if (Open)
+ if (Powered) return 8462;
+ else return 8463;
+ else
+ if (Powered) return 8464;
+ else return 8465;
+ else if (Facing == eBlockFace::BLOCK_FACE_XM)
+ if (InWall)
+ if (Open)
+ if (Powered) return 8466;
+ else return 8467;
+ else
+ if (Powered) return 8468;
+ else return 8469;
+ else
+ if (Open)
+ if (Powered) return 8470;
+ else return 8471;
+ else
+ if (Powered) return 8472;
+ else return 8473;
+ else
+ if (InWall)
+ if (Open)
+ if (Powered) return 8474;
+ else return 8475;
+ else
+ if (Powered) return 8476;
+ else return 8477;
+ else
+ if (Open)
+ if (Powered) return 8478;
+ else return 8479;
+ else
+ if (Powered) return 8480;
+ else return 8481;
+ }
+ BlockState BirchFenceGate();
+ eBlockFace Facing(BlockState Block);
+ bool InWall(BlockState Block);
+ bool Open(BlockState Block);
+ bool Powered(BlockState Block);
+ }
+ namespace BirchLeaves
+ {
+ constexpr BlockState BirchLeaves(const unsigned char Distance, const bool Persistent)
+ {
+ if (Distance == 1)
+ if (Persistent) return 173;
+ else return 174;
+ else if (Distance == 2)
+ if (Persistent) return 175;
+ else return 176;
+ else if (Distance == 3)
+ if (Persistent) return 177;
+ else return 178;
+ else if (Distance == 4)
+ if (Persistent) return 179;
+ else return 180;
+ else if (Distance == 5)
+ if (Persistent) return 181;
+ else return 182;
+ else if (Distance == 6)
+ if (Persistent) return 183;
+ else return 184;
+ else
+ if (Persistent) return 185;
+ else return 186;
+ }
+ BlockState BirchLeaves();
+ unsigned char Distance(BlockState Block);
+ bool Persistent(BlockState Block);
+ }
+ namespace BirchLog
+ {
+ enum class Axis
+ {
+ X,
+ Y,
+ Z
+ };
+ constexpr BlockState BirchLog(const enum Axis Axis)
+ {
+ if (Axis == Axis::X) return 79;
+ else if (Axis == Axis::Y) return 80;
+ else return 81;
+ }
+ BlockState BirchLog();
+ enum Axis Axis(BlockState Block);
+ }
+ namespace BirchPlanks
+ {
+ constexpr BlockState BirchPlanks()
+ {
+ return 17;
+ }
+ }
+ namespace BirchPressurePlate
+ {
+ constexpr BlockState BirchPressurePlate(const bool Powered)
+ {
+ if (Powered) return 3877;
+ else return 3878;
+ }
+ BlockState BirchPressurePlate();
+ bool Powered(BlockState Block);
+ }
+ namespace BirchSapling
+ {
+ constexpr BlockState BirchSapling(const unsigned char Stage)
+ {
+ if (Stage == 0) return 25;
+ else return 26;
+ }
+ BlockState BirchSapling();
+ unsigned char Stage(BlockState Block);
+ }
+ namespace BirchSign
+ {
+ constexpr BlockState BirchSign(const unsigned char Rotation)
+ {
+ if (Rotation == 0) return 3446;
+ else if (Rotation == 1) return 3448;
+ else if (Rotation == 2) return 3450;
+ else if (Rotation == 3) return 3452;
+ else if (Rotation == 4) return 3454;
+ else if (Rotation == 5) return 3456;
+ else if (Rotation == 6) return 3458;
+ else if (Rotation == 7) return 3460;
+ else if (Rotation == 8) return 3462;
+ else if (Rotation == 9) return 3464;
+ else if (Rotation == 10) return 3466;
+ else if (Rotation == 11) return 3468;
+ else if (Rotation == 12) return 3470;
+ else if (Rotation == 13) return 3472;
+ else if (Rotation == 14) return 3474;
+ else return 3476;
+ }
+ BlockState BirchSign();
+ unsigned char Rotation(BlockState Block);
+ }
+ namespace BirchSlab
+ {
+ enum class Type
+ {
+ Top,
+ Bottom,
+ Double
+ };
+ constexpr BlockState BirchSlab(const enum Type Type)
+ {
+ if (Type == Type::Top) return 8313;
+ else if (Type == Type::Bottom) return 8315;
+ else return 8317;
+ }
+ BlockState BirchSlab();
+ enum Type Type(BlockState Block);
+ }
+ namespace BirchStairs
+ {
+ enum class Half
+ {
+ Top,
+ Bottom
+ };
+ enum class Shape
+ {
+ Straight,
+ InnerLeft,
+ InnerRight,
+ OuterLeft,
+ OuterRight
+ };
+ constexpr BlockState BirchStairs(const eBlockFace Facing, const enum Half Half, const enum Shape Shape)
+ {
+ if (Facing == eBlockFace::BLOCK_FACE_ZM)
+ if (Half == Half::Top)
+ if (Shape == Shape::Straight) return 5485;
+ else if (Shape == Shape::InnerLeft) return 5487;
+ else if (Shape == Shape::InnerRight) return 5489;
+ else if (Shape == Shape::OuterLeft) return 5491;
+ else return 5493;
+ else
+ if (Shape == Shape::Straight) return 5495;
+ else if (Shape == Shape::InnerLeft) return 5497;
+ else if (Shape == Shape::InnerRight) return 5499;
+ else if (Shape == Shape::OuterLeft) return 5501;
+ else return 5503;
+ else if (Facing == eBlockFace::BLOCK_FACE_ZP)
+ if (Half == Half::Top)
+ if (Shape == Shape::Straight) return 5505;
+ else if (Shape == Shape::InnerLeft) return 5507;
+ else if (Shape == Shape::InnerRight) return 5509;
+ else if (Shape == Shape::OuterLeft) return 5511;
+ else return 5513;
+ else
+ if (Shape == Shape::Straight) return 5515;
+ else if (Shape == Shape::InnerLeft) return 5517;
+ else if (Shape == Shape::InnerRight) return 5519;
+ else if (Shape == Shape::OuterLeft) return 5521;
+ else return 5523;
+ else if (Facing == eBlockFace::BLOCK_FACE_XM)
+ if (Half == Half::Top)
+ if (Shape == Shape::Straight) return 5525;
+ else if (Shape == Shape::InnerLeft) return 5527;
+ else if (Shape == Shape::InnerRight) return 5529;
+ else if (Shape == Shape::OuterLeft) return 5531;
+ else return 5533;
+ else
+ if (Shape == Shape::Straight) return 5535;
+ else if (Shape == Shape::InnerLeft) return 5537;
+ else if (Shape == Shape::InnerRight) return 5539;
+ else if (Shape == Shape::OuterLeft) return 5541;
+ else return 5543;
+ else
+ if (Half == Half::Top)
+ if (Shape == Shape::Straight) return 5545;
+ else if (Shape == Shape::InnerLeft) return 5547;
+ else if (Shape == Shape::InnerRight) return 5549;
+ else if (Shape == Shape::OuterLeft) return 5551;
+ else return 5553;
+ else
+ if (Shape == Shape::Straight) return 5555;
+ else if (Shape == Shape::InnerLeft) return 5557;
+ else if (Shape == Shape::InnerRight) return 5559;
+ else if (Shape == Shape::OuterLeft) return 5561;
+ else return 5563;
+ }
+ BlockState BirchStairs();
+ eBlockFace Facing(BlockState Block);
+ enum Half Half(BlockState Block);
+ enum Shape Shape(BlockState Block);
+ }
+ namespace BirchTrapdoor
+ {
+ enum class Half
+ {
+ Top,
+ Bottom
+ };
+ constexpr BlockState BirchTrapdoor(const eBlockFace Facing, const enum Half Half, const bool Open, const bool Powered)
+ {
+ if (Facing == eBlockFace::BLOCK_FACE_ZM)
+ if (Half == Half::Top)
+ if (Open)
+ if (Powered) return 4240;
+ else return 4242;
+ else
+ if (Powered) return 4244;
+ else return 4246;
+ else
+ if (Open)
+ if (Powered) return 4248;
+ else return 4250;
+ else
+ if (Powered) return 4252;
+ else return 4254;
+ else if (Facing == eBlockFace::BLOCK_FACE_ZP)
+ if (Half == Half::Top)
+ if (Open)
+ if (Powered) return 4256;
+ else return 4258;
+ else
+ if (Powered) return 4260;
+ else return 4262;
+ else
+ if (Open)
+ if (Powered) return 4264;
+ else return 4266;
+ else
+ if (Powered) return 4268;
+ else return 4270;
+ else if (Facing == eBlockFace::BLOCK_FACE_XM)
+ if (Half == Half::Top)
+ if (Open)
+ if (Powered) return 4272;
+ else return 4274;
+ else
+ if (Powered) return 4276;
+ else return 4278;
+ else
+ if (Open)
+ if (Powered) return 4280;
+ else return 4282;
+ else
+ if (Powered) return 4284;
+ else return 4286;
+ else
+ if (Half == Half::Top)
+ if (Open)
+ if (Powered) return 4288;
+ else return 4290;
+ else
+ if (Powered) return 4292;
+ else return 4294;
+ else
+ if (Open)
+ if (Powered) return 4296;
+ else return 4298;
+ else
+ if (Powered) return 4300;
+ else return 4302;
+ }
+ BlockState BirchTrapdoor();
+ eBlockFace Facing(BlockState Block);
+ enum Half Half(BlockState Block);
+ bool Open(BlockState Block);
+ bool Powered(BlockState Block);
+ }
+ namespace BirchWallSign
+ {
+ constexpr BlockState BirchWallSign(const eBlockFace Facing)
+ {
+ if (Facing == eBlockFace::BLOCK_FACE_ZM) return 3752;
+ else if (Facing == eBlockFace::BLOCK_FACE_ZP) return 3754;
+ else if (Facing == eBlockFace::BLOCK_FACE_XM) return 3756;
+ else return 3758;
+ }
+ BlockState BirchWallSign();
+ eBlockFace Facing(BlockState Block);
+ }
+ namespace BirchWood
+ {
+ enum class Axis
+ {
+ X,
+ Y,
+ Z
+ };
+ constexpr BlockState BirchWood(const enum Axis Axis)
+ {
+ if (Axis == Axis::X) return 115;
+ else if (Axis == Axis::Y) return 116;
+ else return 117;
+ }
+ BlockState BirchWood();
+ enum Axis Axis(BlockState Block);
+ }
+ namespace BlackBanner
+ {
+ constexpr BlockState BlackBanner(const unsigned char Rotation)
+ {
+ if (Rotation == 0) return 8137;
+ else if (Rotation == 1) return 8138;
+ else if (Rotation == 2) return 8139;
+ else if (Rotation == 3) return 8140;
+ else if (Rotation == 4) return 8141;
+ else if (Rotation == 5) return 8142;
+ else if (Rotation == 6) return 8143;
+ else if (Rotation == 7) return 8144;
+ else if (Rotation == 8) return 8145;
+ else if (Rotation == 9) return 8146;
+ else if (Rotation == 10) return 8147;
+ else if (Rotation == 11) return 8148;
+ else if (Rotation == 12) return 8149;
+ else if (Rotation == 13) return 8150;
+ else if (Rotation == 14) return 8151;
+ else return 8152;
+ }
+ BlockState BlackBanner();
+ unsigned char Rotation(BlockState Block);
+ }
+ namespace BlackBed
+ {
+ enum class Part
+ {
+ Head,
+ Foot
+ };
+ constexpr BlockState BlackBed(const eBlockFace Facing, const bool Occupied, const enum Part Part)
+ {
+ if (Facing == eBlockFace::BLOCK_FACE_ZM)
+ if (Occupied)
+ if (Part == Part::Head) return 1289;
+ else return 1290;
+ else
+ if (Part == Part::Head) return 1291;
+ else return 1292;
+ else if (Facing == eBlockFace::BLOCK_FACE_ZP)
+ if (Occupied)
+ if (Part == Part::Head) return 1293;
+ else return 1294;
+ else
+ if (Part == Part::Head) return 1295;
+ else return 1296;
+ else if (Facing == eBlockFace::BLOCK_FACE_XM)
+ if (Occupied)
+ if (Part == Part::Head) return 1297;
+ else return 1298;
+ else
+ if (Part == Part::Head) return 1299;
+ else return 1300;
+ else
+ if (Occupied)
+ if (Part == Part::Head) return 1301;
+ else return 1302;
+ else
+ if (Part == Part::Head) return 1303;
+ else return 1304;
+ }
+ BlockState BlackBed();
+ eBlockFace Facing(BlockState Block);
+ bool Occupied(BlockState Block);
+ enum Part Part(BlockState Block);
+ }
+ namespace BlackCarpet
+ {
+ constexpr BlockState BlackCarpet()
+ {
+ return 7881;
+ }
+ }
+ namespace BlackConcrete
+ {
+ constexpr BlockState BlackConcrete()
+ {
+ return 9453;
+ }
+ }
+ namespace BlackConcretePowder
+ {
+ constexpr BlockState BlackConcretePowder()
+ {
+ return 9469;
+ }
+ }
+ namespace BlackGlazedTerracotta
+ {
+ constexpr BlockState BlackGlazedTerracotta(const eBlockFace Facing)
+ {
+ if (Facing == eBlockFace::BLOCK_FACE_ZM) return 9434;
+ else if (Facing == eBlockFace::BLOCK_FACE_ZP) return 9435;
+ else if (Facing == eBlockFace::BLOCK_FACE_XM) return 9436;
+ else return 9437;
+ }
+ BlockState BlackGlazedTerracotta();
+ eBlockFace Facing(BlockState Block);
+ }
+ namespace BlackShulkerBox
+ {
+ constexpr BlockState BlackShulkerBox(const eBlockFace Facing)
+ {
+ if (Facing == eBlockFace::BLOCK_FACE_ZM) return 9368;
+ else if (Facing == eBlockFace::BLOCK_FACE_XP) return 9369;
+ else if (Facing == eBlockFace::BLOCK_FACE_ZP) return 9370;
+ else if (Facing == eBlockFace::BLOCK_FACE_XM) return 9371;
+ else if (Facing == eBlockFace::BLOCK_FACE_YP) return 9372;
+ else return 9373;
+ }
+ BlockState BlackShulkerBox();
+ eBlockFace Facing(BlockState Block);
+ }
+ namespace BlackStainedGlass
+ {
+ constexpr BlockState BlackStainedGlass()
+ {
+ return 4110;
+ }
+ }
+ namespace BlackStainedGlassPane
+ {
+ constexpr BlockState BlackStainedGlassPane(const bool East, const bool North, const bool South, const bool West)
+ {
+ if (East)
+ if (North)
+ if (South)
+ if (West) return 7345;
+ else return 7346;
+ else
+ if (West) return 7349;
+ else return 7350;
+ else
+ if (South)
+ if (West) return 7353;
+ else return 7354;
+ else
+ if (West) return 7357;
+ else return 7358;
+ else
+ if (North)
+ if (South)
+ if (West) return 7361;
+ else return 7362;
+ else
+ if (West) return 7365;
+ else return 7366;
+ else
+ if (South)
+ if (West) return 7369;
+ else return 7370;
+ else
+ if (West) return 7373;
+ else return 7374;
+ }
+ BlockState BlackStainedGlassPane();
+ bool East(BlockState Block);
+ bool North(BlockState Block);
+ bool South(BlockState Block);
+ bool West(BlockState Block);
+ }
+ namespace BlackTerracotta
+ {
+ constexpr BlockState BlackTerracotta()
+ {
+ return 6862;
+ }
+ }
+ namespace BlackWallBanner
+ {
+ constexpr BlockState BlackWallBanner(const eBlockFace Facing)
+ {
+ if (Facing == eBlockFace::BLOCK_FACE_ZM) return 8213;
+ else if (Facing == eBlockFace::BLOCK_FACE_ZP) return 8214;
+ else if (Facing == eBlockFace::BLOCK_FACE_XM) return 8215;
+ else return 8216;
+ }
+ BlockState BlackWallBanner();
+ eBlockFace Facing(BlockState Block);
+ }
+ namespace BlackWool
+ {
+ constexpr BlockState BlackWool()
+ {
+ return 1399;
+ }
+ }
+ namespace Blackstone
+ {
+ constexpr BlockState Blackstone()
+ {
+ return 15839;
+ }
+ }
+ namespace BlackstoneSlab
+ {
+ enum class Type
+ {
+ Top,
+ Bottom,
+ Double
+ };
+ constexpr BlockState BlackstoneSlab(const enum Type Type)
+ {
+ if (Type == Type::Top) return 16245;
+ else if (Type == Type::Bottom) return 16247;
+ else return 16249;
+ }
+ BlockState BlackstoneSlab();
+ enum Type Type(BlockState Block);
+ }
+ namespace BlackstoneStairs
+ {
+ enum class Half
+ {
+ Top,
+ Bottom
+ };
+ enum class Shape
+ {
+ Straight,
+ InnerLeft,
+ InnerRight,
+ OuterLeft,
+ OuterRight
+ };
+ constexpr BlockState BlackstoneStairs(const eBlockFace Facing, const enum Half Half, const enum Shape Shape)
+ {
+ if (Facing == eBlockFace::BLOCK_FACE_ZM)
+ if (Half == Half::Top)
+ if (Shape == Shape::Straight) return 15841;
+ else if (Shape == Shape::InnerLeft) return 15843;
+ else if (Shape == Shape::InnerRight) return 15845;
+ else if (Shape == Shape::OuterLeft) return 15847;
+ else return 15849;
+ else
+ if (Shape == Shape::Straight) return 15851;
+ else if (Shape == Shape::InnerLeft) return 15853;
+ else if (Shape == Shape::InnerRight) return 15855;
+ else if (Shape == Shape::OuterLeft) return 15857;
+ else return 15859;
+ else if (Facing == eBlockFace::BLOCK_FACE_ZP)
+ if (Half == Half::Top)
+ if (Shape == Shape::Straight) return 15861;
+ else if (Shape == Shape::InnerLeft) return 15863;
+ else if (Shape == Shape::InnerRight) return 15865;
+ else if (Shape == Shape::OuterLeft) return 15867;
+ else return 15869;
+ else
+ if (Shape == Shape::Straight) return 15871;
+ else if (Shape == Shape::InnerLeft) return 15873;
+ else if (Shape == Shape::InnerRight) return 15875;
+ else if (Shape == Shape::OuterLeft) return 15877;
+ else return 15879;
+ else if (Facing == eBlockFace::BLOCK_FACE_XM)
+ if (Half == Half::Top)
+ if (Shape == Shape::Straight) return 15881;
+ else if (Shape == Shape::InnerLeft) return 15883;
+ else if (Shape == Shape::InnerRight) return 15885;
+ else if (Shape == Shape::OuterLeft) return 15887;
+ else return 15889;
+ else
+ if (Shape == Shape::Straight) return 15891;
+ else if (Shape == Shape::InnerLeft) return 15893;
+ else if (Shape == Shape::InnerRight) return 15895;
+ else if (Shape == Shape::OuterLeft) return 15897;
+ else return 15899;
+ else
+ if (Half == Half::Top)
+ if (Shape == Shape::Straight) return 15901;
+ else if (Shape == Shape::InnerLeft) return 15903;
+ else if (Shape == Shape::InnerRight) return 15905;
+ else if (Shape == Shape::OuterLeft) return 15907;
+ else return 15909;
+ else
+ if (Shape == Shape::Straight) return 15911;
+ else if (Shape == Shape::InnerLeft) return 15913;
+ else if (Shape == Shape::InnerRight) return 15915;
+ else if (Shape == Shape::OuterLeft) return 15917;
+ else return 15919;
+ }
+ BlockState BlackstoneStairs();
+ eBlockFace Facing(BlockState Block);
+ enum Half Half(BlockState Block);
+ enum Shape Shape(BlockState Block);
+ }
+ namespace BlackstoneWall
+ {
+ enum class East
+ {
+ None,
+ Low,
+ Tall
+ };
+ enum class North
+ {
+ None,
+ Low,
+ Tall
+ };
+ enum class South
+ {
+ None,
+ Low,
+ Tall
+ };
+ enum class West
+ {
+ None,
+ Low,
+ Tall
+ };
+ constexpr BlockState BlackstoneWall(const enum East East, const enum North North, const enum South South, const bool Up, const enum West West)
+ {
+ if (East == East::None)
+ if (North == North::None)
+ if (South == South::None)
+ if (Up)
+ if (West == West::None) return 15923;
+ else if (West == West::Low) return 15924;
+ else return 15925;
+ else
+ if (West == West::None) return 15929;
+ else if (West == West::Low) return 15930;
+ else return 15931;
+ else if (South == South::Low)
+ if (Up)
+ if (West == West::None) return 15935;
+ else if (West == West::Low) return 15936;
+ else return 15937;
+ else
+ if (West == West::None) return 15941;
+ else if (West == West::Low) return 15942;
+ else return 15943;
+ else
+ if (Up)
+ if (West == West::None) return 15947;
+ else if (West == West::Low) return 15948;
+ else return 15949;
+ else
+ if (West == West::None) return 15953;
+ else if (West == West::Low) return 15954;
+ else return 15955;
+ else if (North == North::Low)
+ if (South == South::None)
+ if (Up)
+ if (West == West::None) return 15959;
+ else if (West == West::Low) return 15960;
+ else return 15961;
+ else
+ if (West == West::None) return 15965;
+ else if (West == West::Low) return 15966;
+ else return 15967;
+ else if (South == South::Low)
+ if (Up)
+ if (West == West::None) return 15971;
+ else if (West == West::Low) return 15972;
+ else return 15973;
+ else
+ if (West == West::None) return 15977;
+ else if (West == West::Low) return 15978;
+ else return 15979;
+ else
+ if (Up)
+ if (West == West::None) return 15983;
+ else if (West == West::Low) return 15984;
+ else return 15985;
+ else
+ if (West == West::None) return 15989;
+ else if (West == West::Low) return 15990;
+ else return 15991;
+ else
+ if (South == South::None)
+ if (Up)
+ if (West == West::None) return 15995;
+ else if (West == West::Low) return 15996;
+ else return 15997;
+ else
+ if (West == West::None) return 16001;
+ else if (West == West::Low) return 16002;
+ else return 16003;
+ else if (South == South::Low)
+ if (Up)
+ if (West == West::None) return 16007;
+ else if (West == West::Low) return 16008;
+ else return 16009;
+ else
+ if (West == West::None) return 16013;
+ else if (West == West::Low) return 16014;
+ else return 16015;
+ else
+ if (Up)
+ if (West == West::None) return 16019;
+ else if (West == West::Low) return 16020;
+ else return 16021;
+ else
+ if (West == West::None) return 16025;
+ else if (West == West::Low) return 16026;
+ else return 16027;
+ else if (East == East::Low)
+ if (North == North::None)
+ if (South == South::None)
+ if (Up)
+ if (West == West::None) return 16031;
+ else if (West == West::Low) return 16032;
+ else return 16033;
+ else
+ if (West == West::None) return 16037;
+ else if (West == West::Low) return 16038;
+ else return 16039;
+ else if (South == South::Low)
+ if (Up)
+ if (West == West::None) return 16043;
+ else if (West == West::Low) return 16044;
+ else return 16045;
+ else
+ if (West == West::None) return 16049;
+ else if (West == West::Low) return 16050;
+ else return 16051;
+ else
+ if (Up)
+ if (West == West::None) return 16055;
+ else if (West == West::Low) return 16056;
+ else return 16057;
+ else
+ if (West == West::None) return 16061;
+ else if (West == West::Low) return 16062;
+ else return 16063;
+ else if (North == North::Low)
+ if (South == South::None)
+ if (Up)
+ if (West == West::None) return 16067;
+ else if (West == West::Low) return 16068;
+ else return 16069;
+ else
+ if (West == West::None) return 16073;
+ else if (West == West::Low) return 16074;
+ else return 16075;
+ else if (South == South::Low)
+ if (Up)
+ if (West == West::None) return 16079;
+ else if (West == West::Low) return 16080;
+ else return 16081;
+ else
+ if (West == West::None) return 16085;
+ else if (West == West::Low) return 16086;
+ else return 16087;
+ else
+ if (Up)
+ if (West == West::None) return 16091;
+ else if (West == West::Low) return 16092;
+ else return 16093;
+ else
+ if (West == West::None) return 16097;
+ else if (West == West::Low) return 16098;
+ else return 16099;
+ else
+ if (South == South::None)
+ if (Up)
+ if (West == West::None) return 16103;
+ else if (West == West::Low) return 16104;
+ else return 16105;
+ else
+ if (West == West::None) return 16109;
+ else if (West == West::Low) return 16110;
+ else return 16111;
+ else if (South == South::Low)
+ if (Up)
+ if (West == West::None) return 16115;
+ else if (West == West::Low) return 16116;
+ else return 16117;
+ else
+ if (West == West::None) return 16121;
+ else if (West == West::Low) return 16122;
+ else return 16123;
+ else
+ if (Up)
+ if (West == West::None) return 16127;
+ else if (West == West::Low) return 16128;
+ else return 16129;
+ else
+ if (West == West::None) return 16133;
+ else if (West == West::Low) return 16134;
+ else return 16135;
+ else
+ if (North == North::None)
+ if (South == South::None)
+ if (Up)
+ if (West == West::None) return 16139;
+ else if (West == West::Low) return 16140;
+ else return 16141;
+ else
+ if (West == West::None) return 16145;
+ else if (West == West::Low) return 16146;
+ else return 16147;
+ else if (South == South::Low)
+ if (Up)
+ if (West == West::None) return 16151;
+ else if (West == West::Low) return 16152;
+ else return 16153;
+ else
+ if (West == West::None) return 16157;
+ else if (West == West::Low) return 16158;
+ else return 16159;
+ else
+ if (Up)
+ if (West == West::None) return 16163;
+ else if (West == West::Low) return 16164;
+ else return 16165;
+ else
+ if (West == West::None) return 16169;
+ else if (West == West::Low) return 16170;
+ else return 16171;
+ else if (North == North::Low)
+ if (South == South::None)
+ if (Up)
+ if (West == West::None) return 16175;
+ else if (West == West::Low) return 16176;
+ else return 16177;
+ else
+ if (West == West::None) return 16181;
+ else if (West == West::Low) return 16182;
+ else return 16183;
+ else if (South == South::Low)
+ if (Up)
+ if (West == West::None) return 16187;
+ else if (West == West::Low) return 16188;
+ else return 16189;
+ else
+ if (West == West::None) return 16193;
+ else if (West == West::Low) return 16194;
+ else return 16195;
+ else
+ if (Up)
+ if (West == West::None) return 16199;
+ else if (West == West::Low) return 16200;
+ else return 16201;
+ else
+ if (West == West::None) return 16205;
+ else if (West == West::Low) return 16206;
+ else return 16207;
+ else
+ if (South == South::None)
+ if (Up)
+ if (West == West::None) return 16211;
+ else if (West == West::Low) return 16212;
+ else return 16213;
+ else
+ if (West == West::None) return 16217;
+ else if (West == West::Low) return 16218;
+ else return 16219;
+ else if (South == South::Low)
+ if (Up)
+ if (West == West::None) return 16223;
+ else if (West == West::Low) return 16224;
+ else return 16225;
+ else
+ if (West == West::None) return 16229;
+ else if (West == West::Low) return 16230;
+ else return 16231;
+ else
+ if (Up)
+ if (West == West::None) return 16235;
+ else if (West == West::Low) return 16236;
+ else return 16237;
+ else
+ if (West == West::None) return 16241;
+ else if (West == West::Low) return 16242;
+ else return 16243;
+ }
+ BlockState BlackstoneWall();
+ enum East East(BlockState Block);
+ enum North North(BlockState Block);
+ enum South South(BlockState Block);
+ bool Up(BlockState Block);
+ enum West West(BlockState Block);
+ }
+ namespace BlastFurnace
+ {
+ constexpr BlockState BlastFurnace(const eBlockFace Facing, const bool Lit)
+ {
+ if (Facing == eBlockFace::BLOCK_FACE_ZM)
+ if (Lit) return 14811;
+ else return 14812;
+ else if (Facing == eBlockFace::BLOCK_FACE_ZP)
+ if (Lit) return 14813;
+ else return 14814;
+ else if (Facing == eBlockFace::BLOCK_FACE_XM)
+ if (Lit) return 14815;
+ else return 14816;
+ else
+ if (Lit) return 14817;
+ else return 14818;
+ }
+ BlockState BlastFurnace();
+ eBlockFace Facing(BlockState Block);
+ bool Lit(BlockState Block);
+ }
+ namespace BlueBanner
+ {
+ constexpr BlockState BlueBanner(const unsigned char Rotation)
+ {
+ if (Rotation == 0) return 8073;
+ else if (Rotation == 1) return 8074;
+ else if (Rotation == 2) return 8075;
+ else if (Rotation == 3) return 8076;
+ else if (Rotation == 4) return 8077;
+ else if (Rotation == 5) return 8078;
+ else if (Rotation == 6) return 8079;
+ else if (Rotation == 7) return 8080;
+ else if (Rotation == 8) return 8081;
+ else if (Rotation == 9) return 8082;
+ else if (Rotation == 10) return 8083;
+ else if (Rotation == 11) return 8084;
+ else if (Rotation == 12) return 8085;
+ else if (Rotation == 13) return 8086;
+ else if (Rotation == 14) return 8087;
+ else return 8088;
+ }
+ BlockState BlueBanner();
+ unsigned char Rotation(BlockState Block);
+ }
+ namespace BlueBed
+ {
+ enum class Part
+ {
+ Head,
+ Foot
+ };
+ constexpr BlockState BlueBed(const eBlockFace Facing, const bool Occupied, const enum Part Part)
+ {
+ if (Facing == eBlockFace::BLOCK_FACE_ZM)
+ if (Occupied)
+ if (Part == Part::Head) return 1225;
+ else return 1226;
+ else
+ if (Part == Part::Head) return 1227;
+ else return 1228;
+ else if (Facing == eBlockFace::BLOCK_FACE_ZP)
+ if (Occupied)
+ if (Part == Part::Head) return 1229;
+ else return 1230;
+ else
+ if (Part == Part::Head) return 1231;
+ else return 1232;
+ else if (Facing == eBlockFace::BLOCK_FACE_XM)
+ if (Occupied)
+ if (Part == Part::Head) return 1233;
+ else return 1234;
+ else
+ if (Part == Part::Head) return 1235;
+ else return 1236;
+ else
+ if (Occupied)
+ if (Part == Part::Head) return 1237;
+ else return 1238;
+ else
+ if (Part == Part::Head) return 1239;
+ else return 1240;
+ }
+ BlockState BlueBed();
+ eBlockFace Facing(BlockState Block);
+ bool Occupied(BlockState Block);
+ enum Part Part(BlockState Block);
+ }
+ namespace BlueCarpet
+ {
+ constexpr BlockState BlueCarpet()
+ {
+ return 7877;
+ }
+ }
+ namespace BlueConcrete
+ {
+ constexpr BlockState BlueConcrete()
+ {
+ return 9449;
+ }
+ }
+ namespace BlueConcretePowder
+ {
+ constexpr BlockState BlueConcretePowder()
+ {
+ return 9465;
+ }
+ }
+ namespace BlueGlazedTerracotta
+ {
+ constexpr BlockState BlueGlazedTerracotta(const eBlockFace Facing)
+ {
+ if (Facing == eBlockFace::BLOCK_FACE_ZM) return 9418;
+ else if (Facing == eBlockFace::BLOCK_FACE_ZP) return 9419;
+ else if (Facing == eBlockFace::BLOCK_FACE_XM) return 9420;
+ else return 9421;
+ }
+ BlockState BlueGlazedTerracotta();
+ eBlockFace Facing(BlockState Block);
+ }
+ namespace BlueIce
+ {
+ constexpr BlockState BlueIce()
+ {
+ return 9648;
+ }
+ }
+ namespace BlueOrchid
+ {
+ constexpr BlockState BlueOrchid()
+ {
+ return 1414;
+ }
+ }
+ namespace BlueShulkerBox
+ {
+ constexpr BlockState BlueShulkerBox(const eBlockFace Facing)
+ {
+ if (Facing == eBlockFace::BLOCK_FACE_ZM) return 9344;
+ else if (Facing == eBlockFace::BLOCK_FACE_XP) return 9345;
+ else if (Facing == eBlockFace::BLOCK_FACE_ZP) return 9346;
+ else if (Facing == eBlockFace::BLOCK_FACE_XM) return 9347;
+ else if (Facing == eBlockFace::BLOCK_FACE_YP) return 9348;
+ else return 9349;
+ }
+ BlockState BlueShulkerBox();
+ eBlockFace Facing(BlockState Block);
+ }
+ namespace BlueStainedGlass
+ {
+ constexpr BlockState BlueStainedGlass()
+ {
+ return 4106;
+ }
+ }
+ namespace BlueStainedGlassPane
+ {
+ constexpr BlockState BlueStainedGlassPane(const bool East, const bool North, const bool South, const bool West)
+ {
+ if (East)
+ if (North)
+ if (South)
+ if (West) return 7217;
+ else return 7218;
+ else
+ if (West) return 7221;
+ else return 7222;
+ else
+ if (South)
+ if (West) return 7225;
+ else return 7226;
+ else
+ if (West) return 7229;
+ else return 7230;
+ else
+ if (North)
+ if (South)
+ if (West) return 7233;
+ else return 7234;
+ else
+ if (West) return 7237;
+ else return 7238;
+ else
+ if (South)
+ if (West) return 7241;
+ else return 7242;
+ else
+ if (West) return 7245;
+ else return 7246;
+ }
+ BlockState BlueStainedGlassPane();
+ bool East(BlockState Block);
+ bool North(BlockState Block);
+ bool South(BlockState Block);
+ bool West(BlockState Block);
+ }
+ namespace BlueTerracotta
+ {
+ constexpr BlockState BlueTerracotta()
+ {
+ return 6858;
+ }
+ }
+ namespace BlueWallBanner
+ {
+ constexpr BlockState BlueWallBanner(const eBlockFace Facing)
+ {
+ if (Facing == eBlockFace::BLOCK_FACE_ZM) return 8197;
+ else if (Facing == eBlockFace::BLOCK_FACE_ZP) return 8198;
+ else if (Facing == eBlockFace::BLOCK_FACE_XM) return 8199;
+ else return 8200;
+ }
+ BlockState BlueWallBanner();
+ eBlockFace Facing(BlockState Block);
+ }
+ namespace BlueWool
+ {
+ constexpr BlockState BlueWool()
+ {
+ return 1395;
+ }
+ }
+ namespace BoneBlock
+ {
+ enum class Axis
+ {
+ X,
+ Y,
+ Z
+ };
+ constexpr BlockState BoneBlock(const enum Axis Axis)
+ {
+ if (Axis == Axis::X) return 9256;
+ else if (Axis == Axis::Y) return 9257;
+ else return 9258;
+ }
+ BlockState BoneBlock();
+ enum Axis Axis(BlockState Block);
+ }
+ namespace Bookshelf
+ {
+ constexpr BlockState Bookshelf()
+ {
+ return 1432;
+ }
+ }
+ namespace BrainCoral
+ {
+ constexpr BlockState BrainCoral()
+ {
+ return 9533;
+ }
+ }
+ namespace BrainCoralBlock
+ {
+ constexpr BlockState BrainCoralBlock()
+ {
+ return 9516;
+ }
+ }
+ namespace BrainCoralFan
+ {
+ constexpr BlockState BrainCoralFan()
+ {
+ return 9553;
+ }
+ }
+ namespace BrainCoralWallFan
+ {
+ constexpr BlockState BrainCoralWallFan(const eBlockFace Facing)
+ {
+ if (Facing == eBlockFace::BLOCK_FACE_ZM) return 9609;
+ else if (Facing == eBlockFace::BLOCK_FACE_ZP) return 9611;
+ else if (Facing == eBlockFace::BLOCK_FACE_XM) return 9613;
+ else return 9615;
+ }
+ BlockState BrainCoralWallFan();
+ eBlockFace Facing(BlockState Block);
+ }
+ namespace BrewingStand
+ {
+ constexpr BlockState BrewingStand(const bool HasBottle_0, const bool HasBottle_1, const bool HasBottle_2)
+ {
+ if (HasBottle_0)
+ if (HasBottle_1)
+ if (HasBottle_2) return 5133;
+ else return 5134;
+ else
+ if (HasBottle_2) return 5135;
+ else return 5136;
+ else
+ if (HasBottle_1)
+ if (HasBottle_2) return 5137;
+ else return 5138;
+ else
+ if (HasBottle_2) return 5139;
+ else return 5140;
+ }
+ BlockState BrewingStand();
+ bool HasBottle_0(BlockState Block);
+ bool HasBottle_1(BlockState Block);
+ bool HasBottle_2(BlockState Block);
+ }
+ namespace BrickSlab
+ {
+ enum class Type
+ {
+ Top,
+ Bottom,
+ Double
+ };
+ constexpr BlockState BrickSlab(const enum Type Type)
+ {
+ if (Type == Type::Top) return 8373;
+ else if (Type == Type::Bottom) return 8375;
+ else return 8377;
+ }
+ BlockState BrickSlab();
+ enum Type Type(BlockState Block);
+ }
+ namespace BrickStairs
+ {
+ enum class Half
+ {
+ Top,
+ Bottom
+ };
+ enum class Shape
+ {
+ Straight,
+ InnerLeft,
+ InnerRight,
+ OuterLeft,
+ OuterRight
+ };
+ constexpr BlockState BrickStairs(const eBlockFace Facing, const enum Half Half, const enum Shape Shape)
+ {
+ if (Facing == eBlockFace::BLOCK_FACE_ZM)
+ if (Half == Half::Top)
+ if (Shape == Shape::Straight) return 4853;
+ else if (Shape == Shape::InnerLeft) return 4855;
+ else if (Shape == Shape::InnerRight) return 4857;
+ else if (Shape == Shape::OuterLeft) return 4859;
+ else return 4861;
+ else
+ if (Shape == Shape::Straight) return 4863;
+ else if (Shape == Shape::InnerLeft) return 4865;
+ else if (Shape == Shape::InnerRight) return 4867;
+ else if (Shape == Shape::OuterLeft) return 4869;
+ else return 4871;
+ else if (Facing == eBlockFace::BLOCK_FACE_ZP)
+ if (Half == Half::Top)
+ if (Shape == Shape::Straight) return 4873;
+ else if (Shape == Shape::InnerLeft) return 4875;
+ else if (Shape == Shape::InnerRight) return 4877;
+ else if (Shape == Shape::OuterLeft) return 4879;
+ else return 4881;
+ else
+ if (Shape == Shape::Straight) return 4883;
+ else if (Shape == Shape::InnerLeft) return 4885;
+ else if (Shape == Shape::InnerRight) return 4887;
+ else if (Shape == Shape::OuterLeft) return 4889;
+ else return 4891;
+ else if (Facing == eBlockFace::BLOCK_FACE_XM)
+ if (Half == Half::Top)
+ if (Shape == Shape::Straight) return 4893;
+ else if (Shape == Shape::InnerLeft) return 4895;
+ else if (Shape == Shape::InnerRight) return 4897;
+ else if (Shape == Shape::OuterLeft) return 4899;
+ else return 4901;
+ else
+ if (Shape == Shape::Straight) return 4903;
+ else if (Shape == Shape::InnerLeft) return 4905;
+ else if (Shape == Shape::InnerRight) return 4907;
+ else if (Shape == Shape::OuterLeft) return 4909;
+ else return 4911;
+ else
+ if (Half == Half::Top)
+ if (Shape == Shape::Straight) return 4913;
+ else if (Shape == Shape::InnerLeft) return 4915;
+ else if (Shape == Shape::InnerRight) return 4917;
+ else if (Shape == Shape::OuterLeft) return 4919;
+ else return 4921;
+ else
+ if (Shape == Shape::Straight) return 4923;
+ else if (Shape == Shape::InnerLeft) return 4925;
+ else if (Shape == Shape::InnerRight) return 4927;
+ else if (Shape == Shape::OuterLeft) return 4929;
+ else return 4931;
+ }
+ BlockState BrickStairs();
+ eBlockFace Facing(BlockState Block);
+ enum Half Half(BlockState Block);
+ enum Shape Shape(BlockState Block);
+ }
+ namespace BrickWall
+ {
+ enum class East
+ {
+ None,
+ Low,
+ Tall
+ };
+ enum class North
+ {
+ None,
+ Low,
+ Tall
+ };
+ enum class South
+ {
+ None,
+ Low,
+ Tall
+ };
+ enum class West
+ {
+ None,
+ Low,
+ Tall
+ };
+ constexpr BlockState BrickWall(const enum East East, const enum North North, const enum South South, const bool Up, const enum West West)
+ {
+ if (East == East::None)
+ if (North == North::None)
+ if (South == South::None)
+ if (Up)
+ if (West == West::None) return 10870;
+ else if (West == West::Low) return 10871;
+ else return 10872;
+ else
+ if (West == West::None) return 10876;
+ else if (West == West::Low) return 10877;
+ else return 10878;
+ else if (South == South::Low)
+ if (Up)
+ if (West == West::None) return 10882;
+ else if (West == West::Low) return 10883;
+ else return 10884;
+ else
+ if (West == West::None) return 10888;
+ else if (West == West::Low) return 10889;
+ else return 10890;
+ else
+ if (Up)
+ if (West == West::None) return 10894;
+ else if (West == West::Low) return 10895;
+ else return 10896;
+ else
+ if (West == West::None) return 10900;
+ else if (West == West::Low) return 10901;
+ else return 10902;
+ else if (North == North::Low)
+ if (South == South::None)
+ if (Up)
+ if (West == West::None) return 10906;
+ else if (West == West::Low) return 10907;
+ else return 10908;
+ else
+ if (West == West::None) return 10912;
+ else if (West == West::Low) return 10913;
+ else return 10914;
+ else if (South == South::Low)
+ if (Up)
+ if (West == West::None) return 10918;
+ else if (West == West::Low) return 10919;
+ else return 10920;
+ else
+ if (West == West::None) return 10924;
+ else if (West == West::Low) return 10925;
+ else return 10926;
+ else
+ if (Up)
+ if (West == West::None) return 10930;
+ else if (West == West::Low) return 10931;
+ else return 10932;
+ else
+ if (West == West::None) return 10936;
+ else if (West == West::Low) return 10937;
+ else return 10938;
+ else
+ if (South == South::None)
+ if (Up)
+ if (West == West::None) return 10942;
+ else if (West == West::Low) return 10943;
+ else return 10944;
+ else
+ if (West == West::None) return 10948;
+ else if (West == West::Low) return 10949;
+ else return 10950;
+ else if (South == South::Low)
+ if (Up)
+ if (West == West::None) return 10954;
+ else if (West == West::Low) return 10955;
+ else return 10956;
+ else
+ if (West == West::None) return 10960;
+ else if (West == West::Low) return 10961;
+ else return 10962;
+ else
+ if (Up)
+ if (West == West::None) return 10966;
+ else if (West == West::Low) return 10967;
+ else return 10968;
+ else
+ if (West == West::None) return 10972;
+ else if (West == West::Low) return 10973;
+ else return 10974;
+ else if (East == East::Low)
+ if (North == North::None)
+ if (South == South::None)
+ if (Up)
+ if (West == West::None) return 10978;
+ else if (West == West::Low) return 10979;
+ else return 10980;
+ else
+ if (West == West::None) return 10984;
+ else if (West == West::Low) return 10985;
+ else return 10986;
+ else if (South == South::Low)
+ if (Up)
+ if (West == West::None) return 10990;
+ else if (West == West::Low) return 10991;
+ else return 10992;
+ else
+ if (West == West::None) return 10996;
+ else if (West == West::Low) return 10997;
+ else return 10998;
+ else
+ if (Up)
+ if (West == West::None) return 11002;
+ else if (West == West::Low) return 11003;
+ else return 11004;
+ else
+ if (West == West::None) return 11008;
+ else if (West == West::Low) return 11009;
+ else return 11010;
+ else if (North == North::Low)
+ if (South == South::None)
+ if (Up)
+ if (West == West::None) return 11014;
+ else if (West == West::Low) return 11015;
+ else return 11016;
+ else
+ if (West == West::None) return 11020;
+ else if (West == West::Low) return 11021;
+ else return 11022;
+ else if (South == South::Low)
+ if (Up)
+ if (West == West::None) return 11026;
+ else if (West == West::Low) return 11027;
+ else return 11028;
+ else
+ if (West == West::None) return 11032;
+ else if (West == West::Low) return 11033;
+ else return 11034;
+ else
+ if (Up)
+ if (West == West::None) return 11038;
+ else if (West == West::Low) return 11039;
+ else return 11040;
+ else
+ if (West == West::None) return 11044;
+ else if (West == West::Low) return 11045;
+ else return 11046;
+ else
+ if (South == South::None)
+ if (Up)
+ if (West == West::None) return 11050;
+ else if (West == West::Low) return 11051;
+ else return 11052;
+ else
+ if (West == West::None) return 11056;
+ else if (West == West::Low) return 11057;
+ else return 11058;
+ else if (South == South::Low)
+ if (Up)
+ if (West == West::None) return 11062;
+ else if (West == West::Low) return 11063;
+ else return 11064;
+ else
+ if (West == West::None) return 11068;
+ else if (West == West::Low) return 11069;
+ else return 11070;
+ else
+ if (Up)
+ if (West == West::None) return 11074;
+ else if (West == West::Low) return 11075;
+ else return 11076;
+ else
+ if (West == West::None) return 11080;
+ else if (West == West::Low) return 11081;
+ else return 11082;
+ else
+ if (North == North::None)
+ if (South == South::None)
+ if (Up)
+ if (West == West::None) return 11086;
+ else if (West == West::Low) return 11087;
+ else return 11088;
+ else
+ if (West == West::None) return 11092;
+ else if (West == West::Low) return 11093;
+ else return 11094;
+ else if (South == South::Low)
+ if (Up)
+ if (West == West::None) return 11098;
+ else if (West == West::Low) return 11099;
+ else return 11100;
+ else
+ if (West == West::None) return 11104;
+ else if (West == West::Low) return 11105;
+ else return 11106;
+ else
+ if (Up)
+ if (West == West::None) return 11110;
+ else if (West == West::Low) return 11111;
+ else return 11112;
+ else
+ if (West == West::None) return 11116;
+ else if (West == West::Low) return 11117;
+ else return 11118;
+ else if (North == North::Low)
+ if (South == South::None)
+ if (Up)
+ if (West == West::None) return 11122;
+ else if (West == West::Low) return 11123;
+ else return 11124;
+ else
+ if (West == West::None) return 11128;
+ else if (West == West::Low) return 11129;
+ else return 11130;
+ else if (South == South::Low)
+ if (Up)
+ if (West == West::None) return 11134;
+ else if (West == West::Low) return 11135;
+ else return 11136;
+ else
+ if (West == West::None) return 11140;
+ else if (West == West::Low) return 11141;
+ else return 11142;
+ else
+ if (Up)
+ if (West == West::None) return 11146;
+ else if (West == West::Low) return 11147;
+ else return 11148;
+ else
+ if (West == West::None) return 11152;
+ else if (West == West::Low) return 11153;
+ else return 11154;
+ else
+ if (South == South::None)
+ if (Up)
+ if (West == West::None) return 11158;
+ else if (West == West::Low) return 11159;
+ else return 11160;
+ else
+ if (West == West::None) return 11164;
+ else if (West == West::Low) return 11165;
+ else return 11166;
+ else if (South == South::Low)
+ if (Up)
+ if (West == West::None) return 11170;
+ else if (West == West::Low) return 11171;
+ else return 11172;
+ else
+ if (West == West::None) return 11176;
+ else if (West == West::Low) return 11177;
+ else return 11178;
+ else
+ if (Up)
+ if (West == West::None) return 11182;
+ else if (West == West::Low) return 11183;
+ else return 11184;
+ else
+ if (West == West::None) return 11188;
+ else if (West == West::Low) return 11189;
+ else return 11190;
+ }
+ BlockState BrickWall();
+ enum East East(BlockState Block);
+ enum North North(BlockState Block);
+ enum South South(BlockState Block);
+ bool Up(BlockState Block);
+ enum West West(BlockState Block);
+ }
+ namespace Bricks
+ {
+ constexpr BlockState Bricks()
+ {
+ return 1429;
+ }
+ }
+ namespace BrownBanner
+ {
+ constexpr BlockState BrownBanner(const unsigned char Rotation)
+ {
+ if (Rotation == 0) return 8089;
+ else if (Rotation == 1) return 8090;
+ else if (Rotation == 2) return 8091;
+ else if (Rotation == 3) return 8092;
+ else if (Rotation == 4) return 8093;
+ else if (Rotation == 5) return 8094;
+ else if (Rotation == 6) return 8095;
+ else if (Rotation == 7) return 8096;
+ else if (Rotation == 8) return 8097;
+ else if (Rotation == 9) return 8098;
+ else if (Rotation == 10) return 8099;
+ else if (Rotation == 11) return 8100;
+ else if (Rotation == 12) return 8101;
+ else if (Rotation == 13) return 8102;
+ else if (Rotation == 14) return 8103;
+ else return 8104;
+ }
+ BlockState BrownBanner();
+ unsigned char Rotation(BlockState Block);
+ }
+ namespace BrownBed
+ {
+ enum class Part
+ {
+ Head,
+ Foot
+ };
+ constexpr BlockState BrownBed(const eBlockFace Facing, const bool Occupied, const enum Part Part)
+ {
+ if (Facing == eBlockFace::BLOCK_FACE_ZM)
+ if (Occupied)
+ if (Part == Part::Head) return 1241;
+ else return 1242;
+ else
+ if (Part == Part::Head) return 1243;
+ else return 1244;
+ else if (Facing == eBlockFace::BLOCK_FACE_ZP)
+ if (Occupied)
+ if (Part == Part::Head) return 1245;
+ else return 1246;
+ else
+ if (Part == Part::Head) return 1247;
+ else return 1248;
+ else if (Facing == eBlockFace::BLOCK_FACE_XM)
+ if (Occupied)
+ if (Part == Part::Head) return 1249;
+ else return 1250;
+ else
+ if (Part == Part::Head) return 1251;
+ else return 1252;
+ else
+ if (Occupied)
+ if (Part == Part::Head) return 1253;
+ else return 1254;
+ else
+ if (Part == Part::Head) return 1255;
+ else return 1256;
+ }
+ BlockState BrownBed();
+ eBlockFace Facing(BlockState Block);
+ bool Occupied(BlockState Block);
+ enum Part Part(BlockState Block);
+ }
+ namespace BrownCarpet
+ {
+ constexpr BlockState BrownCarpet()
+ {
+ return 7878;
+ }
+ }
+ namespace BrownConcrete
+ {
+ constexpr BlockState BrownConcrete()
+ {
+ return 9450;
+ }
+ }
+ namespace BrownConcretePowder
+ {
+ constexpr BlockState BrownConcretePowder()
+ {
+ return 9466;
+ }
+ }
+ namespace BrownGlazedTerracotta
+ {
+ constexpr BlockState BrownGlazedTerracotta(const eBlockFace Facing)
+ {
+ if (Facing == eBlockFace::BLOCK_FACE_ZM) return 9422;
+ else if (Facing == eBlockFace::BLOCK_FACE_ZP) return 9423;
+ else if (Facing == eBlockFace::BLOCK_FACE_XM) return 9424;
+ else return 9425;
+ }
+ BlockState BrownGlazedTerracotta();
+ eBlockFace Facing(BlockState Block);
+ }
+ namespace BrownMushroom
+ {
+ constexpr BlockState BrownMushroom()
+ {
+ return 1425;
+ }
+ }
+ namespace BrownMushroomBlock
+ {
+ constexpr BlockState BrownMushroomBlock(const bool Down, const bool East, const bool North, const bool South, const bool Up, const bool West)
+ {
+ if (Down)
+ if (East)
+ if (North)
+ if (South)
+ if (Up)
+ if (West) return 4505;
+ else return 4506;
+ else
+ if (West) return 4507;
+ else return 4508;
+ else
+ if (Up)
+ if (West) return 4509;
+ else return 4510;
+ else
+ if (West) return 4511;
+ else return 4512;
+ else
+ if (South)
+ if (Up)
+ if (West) return 4513;
+ else return 4514;
+ else
+ if (West) return 4515;
+ else return 4516;
+ else
+ if (Up)
+ if (West) return 4517;
+ else return 4518;
+ else
+ if (West) return 4519;
+ else return 4520;
+ else
+ if (North)
+ if (South)
+ if (Up)
+ if (West) return 4521;
+ else return 4522;
+ else
+ if (West) return 4523;
+ else return 4524;
+ else
+ if (Up)
+ if (West) return 4525;
+ else return 4526;
+ else
+ if (West) return 4527;
+ else return 4528;
+ else
+ if (South)
+ if (Up)
+ if (West) return 4529;
+ else return 4530;
+ else
+ if (West) return 4531;
+ else return 4532;
+ else
+ if (Up)
+ if (West) return 4533;
+ else return 4534;
+ else
+ if (West) return 4535;
+ else return 4536;
+ else
+ if (East)
+ if (North)
+ if (South)
+ if (Up)
+ if (West) return 4537;
+ else return 4538;
+ else
+ if (West) return 4539;
+ else return 4540;
+ else
+ if (Up)
+ if (West) return 4541;
+ else return 4542;
+ else
+ if (West) return 4543;
+ else return 4544;
+ else
+ if (South)
+ if (Up)
+ if (West) return 4545;
+ else return 4546;
+ else
+ if (West) return 4547;
+ else return 4548;
+ else
+ if (Up)
+ if (West) return 4549;
+ else return 4550;
+ else
+ if (West) return 4551;
+ else return 4552;
+ else
+ if (North)
+ if (South)
+ if (Up)
+ if (West) return 4553;
+ else return 4554;
+ else
+ if (West) return 4555;
+ else return 4556;
+ else
+ if (Up)
+ if (West) return 4557;
+ else return 4558;
+ else
+ if (West) return 4559;
+ else return 4560;
+ else
+ if (South)
+ if (Up)
+ if (West) return 4561;
+ else return 4562;
+ else
+ if (West) return 4563;
+ else return 4564;
+ else
+ if (Up)
+ if (West) return 4565;
+ else return 4566;
+ else
+ if (West) return 4567;
+ else return 4568;
+ }
+ BlockState BrownMushroomBlock();
+ bool Down(BlockState Block);
+ bool East(BlockState Block);
+ bool North(BlockState Block);
+ bool South(BlockState Block);
+ bool Up(BlockState Block);
+ bool West(BlockState Block);
+ }
+ namespace BrownShulkerBox
+ {
+ constexpr BlockState BrownShulkerBox(const eBlockFace Facing)
+ {
+ if (Facing == eBlockFace::BLOCK_FACE_ZM) return 9350;
+ else if (Facing == eBlockFace::BLOCK_FACE_XP) return 9351;
+ else if (Facing == eBlockFace::BLOCK_FACE_ZP) return 9352;
+ else if (Facing == eBlockFace::BLOCK_FACE_XM) return 9353;
+ else if (Facing == eBlockFace::BLOCK_FACE_YP) return 9354;
+ else return 9355;
+ }
+ BlockState BrownShulkerBox();
+ eBlockFace Facing(BlockState Block);
+ }
+ namespace BrownStainedGlass
+ {
+ constexpr BlockState BrownStainedGlass()
+ {
+ return 4107;
+ }
+ }
+ namespace BrownStainedGlassPane
+ {
+ constexpr BlockState BrownStainedGlassPane(const bool East, const bool North, const bool South, const bool West)
+ {
+ if (East)
+ if (North)
+ if (South)
+ if (West) return 7249;
+ else return 7250;
+ else
+ if (West) return 7253;
+ else return 7254;
+ else
+ if (South)
+ if (West) return 7257;
+ else return 7258;
+ else
+ if (West) return 7261;
+ else return 7262;
+ else
+ if (North)
+ if (South)
+ if (West) return 7265;
+ else return 7266;
+ else
+ if (West) return 7269;
+ else return 7270;
+ else
+ if (South)
+ if (West) return 7273;
+ else return 7274;
+ else
+ if (West) return 7277;
+ else return 7278;
+ }
+ BlockState BrownStainedGlassPane();
+ bool East(BlockState Block);
+ bool North(BlockState Block);
+ bool South(BlockState Block);
+ bool West(BlockState Block);
+ }
+ namespace BrownTerracotta
+ {
+ constexpr BlockState BrownTerracotta()
+ {
+ return 6859;
+ }
+ }
+ namespace BrownWallBanner
+ {
+ constexpr BlockState BrownWallBanner(const eBlockFace Facing)
+ {
+ if (Facing == eBlockFace::BLOCK_FACE_ZM) return 8201;
+ else if (Facing == eBlockFace::BLOCK_FACE_ZP) return 8202;
+ else if (Facing == eBlockFace::BLOCK_FACE_XM) return 8203;
+ else return 8204;
+ }
+ BlockState BrownWallBanner();
+ eBlockFace Facing(BlockState Block);
+ }
+ namespace BrownWool
+ {
+ constexpr BlockState BrownWool()
+ {
+ return 1396;
+ }
+ }
+ namespace BubbleColumn
+ {
+ constexpr BlockState BubbleColumn(const bool Drag)
+ {
+ if (Drag) return 9667;
+ else return 9668;
+ }
+ BlockState BubbleColumn();
+ bool Drag(BlockState Block);
+ }
+ namespace BubbleCoral
+ {
+ constexpr BlockState BubbleCoral()
+ {
+ return 9535;
+ }
+ }
+ namespace BubbleCoralBlock
+ {
+ constexpr BlockState BubbleCoralBlock()
+ {
+ return 9517;
+ }
+ }
+ namespace BubbleCoralFan
+ {
+ constexpr BlockState BubbleCoralFan()
+ {
+ return 9555;
+ }
+ }
+ namespace BubbleCoralWallFan
+ {
+ constexpr BlockState BubbleCoralWallFan(const eBlockFace Facing)
+ {
+ if (Facing == eBlockFace::BLOCK_FACE_ZM) return 9617;
+ else if (Facing == eBlockFace::BLOCK_FACE_ZP) return 9619;
+ else if (Facing == eBlockFace::BLOCK_FACE_XM) return 9621;
+ else return 9623;
+ }
+ BlockState BubbleCoralWallFan();
+ eBlockFace Facing(BlockState Block);
+ }
+ namespace Cactus
+ {
+ constexpr BlockState Cactus(const unsigned char Age)
+ {
+ if (Age == 0) return 3931;
+ else if (Age == 1) return 3932;
+ else if (Age == 2) return 3933;
+ else if (Age == 3) return 3934;
+ else if (Age == 4) return 3935;
+ else if (Age == 5) return 3936;
+ else if (Age == 6) return 3937;
+ else if (Age == 7) return 3938;
+ else if (Age == 8) return 3939;
+ else if (Age == 9) return 3940;
+ else if (Age == 10) return 3941;
+ else if (Age == 11) return 3942;
+ else if (Age == 12) return 3943;
+ else if (Age == 13) return 3944;
+ else if (Age == 14) return 3945;
+ else return 3946;
+ }
+ BlockState Cactus();
+ unsigned char Age(BlockState Block);
+ }
+ namespace Cake
+ {
+ constexpr BlockState Cake(const unsigned char Bites)
+ {
+ if (Bites == 0) return 4024;
+ else if (Bites == 1) return 4025;
+ else if (Bites == 2) return 4026;
+ else if (Bites == 3) return 4027;
+ else if (Bites == 4) return 4028;
+ else if (Bites == 5) return 4029;
+ else return 4030;
+ }
+ BlockState Cake();
+ unsigned char Bites(BlockState Block);
+ }
+ namespace Campfire
+ {
+ constexpr BlockState Campfire(const eBlockFace Facing, const bool Lit, const bool SignalFire)
+ {
+ if (Facing == eBlockFace::BLOCK_FACE_ZM)
+ if (Lit)
+ if (SignalFire) return 14891;
+ else return 14893;
+ else
+ if (SignalFire) return 14895;
+ else return 14897;
+ else if (Facing == eBlockFace::BLOCK_FACE_ZP)
+ if (Lit)
+ if (SignalFire) return 14899;
+ else return 14901;
+ else
+ if (SignalFire) return 14903;
+ else return 14905;
+ else if (Facing == eBlockFace::BLOCK_FACE_XM)
+ if (Lit)
+ if (SignalFire) return 14907;
+ else return 14909;
+ else
+ if (SignalFire) return 14911;
+ else return 14913;
+ else
+ if (Lit)
+ if (SignalFire) return 14915;
+ else return 14917;
+ else
+ if (SignalFire) return 14919;
+ else return 14921;
+ }
+ BlockState Campfire();
+ eBlockFace Facing(BlockState Block);
+ bool Lit(BlockState Block);
+ bool SignalFire(BlockState Block);
+ }
+ namespace Carrots
+ {
+ constexpr BlockState Carrots(const unsigned char Age)
+ {
+ if (Age == 0) return 6330;
+ else if (Age == 1) return 6331;
+ else if (Age == 2) return 6332;
+ else if (Age == 3) return 6333;
+ else if (Age == 4) return 6334;
+ else if (Age == 5) return 6335;
+ else if (Age == 6) return 6336;
+ else return 6337;
+ }
+ BlockState Carrots();
+ unsigned char Age(BlockState Block);
+ }
+ namespace CartographyTable
+ {
+ constexpr BlockState CartographyTable()
+ {
+ return 14819;
+ }
+ }
+ namespace CarvedPumpkin
+ {
+ constexpr BlockState CarvedPumpkin(const eBlockFace Facing)
+ {
+ if (Facing == eBlockFace::BLOCK_FACE_ZM) return 4016;
+ else if (Facing == eBlockFace::BLOCK_FACE_ZP) return 4017;
+ else if (Facing == eBlockFace::BLOCK_FACE_XM) return 4018;
+ else return 4019;
+ }
+ BlockState CarvedPumpkin();
+ eBlockFace Facing(BlockState Block);
+ }
+ namespace Cauldron
+ {
+ constexpr BlockState Cauldron(const unsigned char Level)
+ {
+ if (Level == 0) return 5141;
+ else if (Level == 1) return 5142;
+ else if (Level == 2) return 5143;
+ else return 5144;
+ }
+ BlockState Cauldron();
+ unsigned char Level(BlockState Block);
+ }
+ namespace CaveAir
+ {
+ constexpr BlockState CaveAir()
+ {
+ return 9666;
+ }
+ }
+ namespace Chain
+ {
+ constexpr BlockState Chain()
+ {
+ return 4730;
+ }
+ }
+ namespace ChainCommandBlock
+ {
+ constexpr BlockState ChainCommandBlock(const bool Conditional, const eBlockFace Facing)
+ {
+ if (Conditional)
+ if (Facing == eBlockFace::BLOCK_FACE_ZM) return 9237;
+ else if (Facing == eBlockFace::BLOCK_FACE_XP) return 9238;
+ else if (Facing == eBlockFace::BLOCK_FACE_ZP) return 9239;
+ else if (Facing == eBlockFace::BLOCK_FACE_XM) return 9240;
+ else if (Facing == eBlockFace::BLOCK_FACE_YP) return 9241;
+ else return 9242;
+ else
+ if (Facing == eBlockFace::BLOCK_FACE_ZM) return 9243;
+ else if (Facing == eBlockFace::BLOCK_FACE_XP) return 9244;
+ else if (Facing == eBlockFace::BLOCK_FACE_ZP) return 9245;
+ else if (Facing == eBlockFace::BLOCK_FACE_XM) return 9246;
+ else if (Facing == eBlockFace::BLOCK_FACE_YP) return 9247;
+ else return 9248;
+ }
+ BlockState ChainCommandBlock();
+ bool Conditional(BlockState Block);
+ eBlockFace Facing(BlockState Block);
+ }
+ namespace Chest
+ {
+ enum class Type
+ {
+ Single,
+ Left,
+ Right
+ };
+ constexpr BlockState Chest(const eBlockFace Facing, const enum Type Type)
+ {
+ if (Facing == eBlockFace::BLOCK_FACE_ZM)
+ if (Type == Type::Single) return 2035;
+ else if (Type == Type::Left) return 2037;
+ else return 2039;
+ else if (Facing == eBlockFace::BLOCK_FACE_ZP)
+ if (Type == Type::Single) return 2041;
+ else if (Type == Type::Left) return 2043;
+ else return 2045;
+ else if (Facing == eBlockFace::BLOCK_FACE_XM)
+ if (Type == Type::Single) return 2047;
+ else if (Type == Type::Left) return 2049;
+ else return 2051;
+ else
+ if (Type == Type::Single) return 2053;
+ else if (Type == Type::Left) return 2055;
+ else return 2057;
+ }
+ BlockState Chest();
+ eBlockFace Facing(BlockState Block);
+ enum Type Type(BlockState Block);
+ }
+ namespace ChippedAnvil
+ {
+ constexpr BlockState ChippedAnvil(const eBlockFace Facing)
+ {
+ if (Facing == eBlockFace::BLOCK_FACE_ZM) return 6614;
+ else if (Facing == eBlockFace::BLOCK_FACE_ZP) return 6615;
+ else if (Facing == eBlockFace::BLOCK_FACE_XM) return 6616;
+ else return 6617;
+ }
+ BlockState ChippedAnvil();
+ eBlockFace Facing(BlockState Block);
+ }
+ namespace ChiseledNetherBricks
+ {
+ constexpr BlockState ChiseledNetherBricks()
+ {
+ return 17101;
+ }
+ }
+ namespace ChiseledPolishedBlackstone
+ {
+ constexpr BlockState ChiseledPolishedBlackstone()
+ {
+ return 16253;
+ }
+ }
+ namespace ChiseledQuartzBlock
+ {
+ constexpr BlockState ChiseledQuartzBlock()
+ {
+ return 6739;
+ }
+ }
+ namespace ChiseledRedSandstone
+ {
+ constexpr BlockState ChiseledRedSandstone()
+ {
+ return 8218;
+ }
+ }
+ namespace ChiseledSandstone
+ {
+ constexpr BlockState ChiseledSandstone()
+ {
+ return 247;
+ }
+ }
+ namespace ChiseledStoneBricks
+ {
+ constexpr BlockState ChiseledStoneBricks()
+ {
+ return 4498;
+ }
+ }
+ namespace ChorusFlower
+ {
+ constexpr BlockState ChorusFlower(const unsigned char Age)
+ {
+ if (Age == 0) return 9128;
+ else if (Age == 1) return 9129;
+ else if (Age == 2) return 9130;
+ else if (Age == 3) return 9131;
+ else if (Age == 4) return 9132;
+ else return 9133;
+ }
+ BlockState ChorusFlower();
+ unsigned char Age(BlockState Block);
+ }
+ namespace ChorusPlant
+ {
+ constexpr BlockState ChorusPlant(const bool Down, const bool East, const bool North, const bool South, const bool Up, const bool West)
+ {
+ if (Down)
+ if (East)
+ if (North)
+ if (South)
+ if (Up)
+ if (West) return 9064;
+ else return 9065;
+ else
+ if (West) return 9066;
+ else return 9067;
+ else
+ if (Up)
+ if (West) return 9068;
+ else return 9069;
+ else
+ if (West) return 9070;
+ else return 9071;
+ else
+ if (South)
+ if (Up)
+ if (West) return 9072;
+ else return 9073;
+ else
+ if (West) return 9074;
+ else return 9075;
+ else
+ if (Up)
+ if (West) return 9076;
+ else return 9077;
+ else
+ if (West) return 9078;
+ else return 9079;
+ else
+ if (North)
+ if (South)
+ if (Up)
+ if (West) return 9080;
+ else return 9081;
+ else
+ if (West) return 9082;
+ else return 9083;
+ else
+ if (Up)
+ if (West) return 9084;
+ else return 9085;
+ else
+ if (West) return 9086;
+ else return 9087;
+ else
+ if (South)
+ if (Up)
+ if (West) return 9088;
+ else return 9089;
+ else
+ if (West) return 9090;
+ else return 9091;
+ else
+ if (Up)
+ if (West) return 9092;
+ else return 9093;
+ else
+ if (West) return 9094;
+ else return 9095;
+ else
+ if (East)
+ if (North)
+ if (South)
+ if (Up)
+ if (West) return 9096;
+ else return 9097;
+ else
+ if (West) return 9098;
+ else return 9099;
+ else
+ if (Up)
+ if (West) return 9100;
+ else return 9101;
+ else
+ if (West) return 9102;
+ else return 9103;
+ else
+ if (South)
+ if (Up)
+ if (West) return 9104;
+ else return 9105;
+ else
+ if (West) return 9106;
+ else return 9107;
+ else
+ if (Up)
+ if (West) return 9108;
+ else return 9109;
+ else
+ if (West) return 9110;
+ else return 9111;
+ else
+ if (North)
+ if (South)
+ if (Up)
+ if (West) return 9112;
+ else return 9113;
+ else
+ if (West) return 9114;
+ else return 9115;
+ else
+ if (Up)
+ if (West) return 9116;
+ else return 9117;
+ else
+ if (West) return 9118;
+ else return 9119;
+ else
+ if (South)
+ if (Up)
+ if (West) return 9120;
+ else return 9121;
+ else
+ if (West) return 9122;
+ else return 9123;
+ else
+ if (Up)
+ if (West) return 9124;
+ else return 9125;
+ else
+ if (West) return 9126;
+ else return 9127;
+ }
+ BlockState ChorusPlant();
+ bool Down(BlockState Block);
+ bool East(BlockState Block);
+ bool North(BlockState Block);
+ bool South(BlockState Block);
+ bool Up(BlockState Block);
+ bool West(BlockState Block);
+ }
+ namespace Clay
+ {
+ constexpr BlockState Clay()
+ {
+ return 3947;
+ }
+ }
+ namespace CoalBlock
+ {
+ constexpr BlockState CoalBlock()
+ {
+ return 7883;
+ }
+ }
+ namespace CoalOre
+ {
+ constexpr BlockState CoalOre()
+ {
+ return 71;
+ }
+ }
+ namespace CoarseDirt
+ {
+ constexpr BlockState CoarseDirt()
+ {
+ return 11;
+ }
+ }
+ namespace Cobblestone
+ {
+ constexpr BlockState Cobblestone()
+ {
+ return 14;
+ }
+ }
+ namespace CobblestoneSlab
+ {
+ enum class Type
+ {
+ Top,
+ Bottom,
+ Double
+ };
+ constexpr BlockState CobblestoneSlab(const enum Type Type)
+ {
+ if (Type == Type::Top) return 8367;
+ else if (Type == Type::Bottom) return 8369;
+ else return 8371;
+ }
+ BlockState CobblestoneSlab();
+ enum Type Type(BlockState Block);
+ }
+ namespace CobblestoneStairs
+ {
+ enum class Half
+ {
+ Top,
+ Bottom
+ };
+ enum class Shape
+ {
+ Straight,
+ InnerLeft,
+ InnerRight,
+ OuterLeft,
+ OuterRight
+ };
+ constexpr BlockState CobblestoneStairs(const eBlockFace Facing, const enum Half Half, const enum Shape Shape)
+ {
+ if (Facing == eBlockFace::BLOCK_FACE_ZM)
+ if (Half == Half::Top)
+ if (Shape == Shape::Straight) return 3656;
+ else if (Shape == Shape::InnerLeft) return 3658;
+ else if (Shape == Shape::InnerRight) return 3660;
+ else if (Shape == Shape::OuterLeft) return 3662;
+ else return 3664;
+ else
+ if (Shape == Shape::Straight) return 3666;
+ else if (Shape == Shape::InnerLeft) return 3668;
+ else if (Shape == Shape::InnerRight) return 3670;
+ else if (Shape == Shape::OuterLeft) return 3672;
+ else return 3674;
+ else if (Facing == eBlockFace::BLOCK_FACE_ZP)
+ if (Half == Half::Top)
+ if (Shape == Shape::Straight) return 3676;
+ else if (Shape == Shape::InnerLeft) return 3678;
+ else if (Shape == Shape::InnerRight) return 3680;
+ else if (Shape == Shape::OuterLeft) return 3682;
+ else return 3684;
+ else
+ if (Shape == Shape::Straight) return 3686;
+ else if (Shape == Shape::InnerLeft) return 3688;
+ else if (Shape == Shape::InnerRight) return 3690;
+ else if (Shape == Shape::OuterLeft) return 3692;
+ else return 3694;
+ else if (Facing == eBlockFace::BLOCK_FACE_XM)
+ if (Half == Half::Top)
+ if (Shape == Shape::Straight) return 3696;
+ else if (Shape == Shape::InnerLeft) return 3698;
+ else if (Shape == Shape::InnerRight) return 3700;
+ else if (Shape == Shape::OuterLeft) return 3702;
+ else return 3704;
+ else
+ if (Shape == Shape::Straight) return 3706;
+ else if (Shape == Shape::InnerLeft) return 3708;
+ else if (Shape == Shape::InnerRight) return 3710;
+ else if (Shape == Shape::OuterLeft) return 3712;
+ else return 3714;
+ else
+ if (Half == Half::Top)
+ if (Shape == Shape::Straight) return 3716;
+ else if (Shape == Shape::InnerLeft) return 3718;
+ else if (Shape == Shape::InnerRight) return 3720;
+ else if (Shape == Shape::OuterLeft) return 3722;
+ else return 3724;
+ else
+ if (Shape == Shape::Straight) return 3726;
+ else if (Shape == Shape::InnerLeft) return 3728;
+ else if (Shape == Shape::InnerRight) return 3730;
+ else if (Shape == Shape::OuterLeft) return 3732;
+ else return 3734;
+ }
+ BlockState CobblestoneStairs();
+ eBlockFace Facing(BlockState Block);
+ enum Half Half(BlockState Block);
+ enum Shape Shape(BlockState Block);
+ }
+ namespace CobblestoneWall
+ {
+ enum class East
+ {
+ None,
+ Low,
+ Tall
+ };
+ enum class North
+ {
+ None,
+ Low,
+ Tall
+ };
+ enum class South
+ {
+ None,
+ Low,
+ Tall
+ };
+ enum class West
+ {
+ None,
+ Low,
+ Tall
+ };
+ constexpr BlockState CobblestoneWall(const enum East East, const enum North North, const enum South South, const bool Up, const enum West West)
+ {
+ if (East == East::None)
+ if (North == North::None)
+ if (South == South::None)
+ if (Up)
+ if (West == West::None) return 5660;
+ else if (West == West::Low) return 5661;
+ else return 5662;
+ else
+ if (West == West::None) return 5666;
+ else if (West == West::Low) return 5667;
+ else return 5668;
+ else if (South == South::Low)
+ if (Up)
+ if (West == West::None) return 5672;
+ else if (West == West::Low) return 5673;
+ else return 5674;
+ else
+ if (West == West::None) return 5678;
+ else if (West == West::Low) return 5679;
+ else return 5680;
+ else
+ if (Up)
+ if (West == West::None) return 5684;
+ else if (West == West::Low) return 5685;
+ else return 5686;
+ else
+ if (West == West::None) return 5690;
+ else if (West == West::Low) return 5691;
+ else return 5692;
+ else if (North == North::Low)
+ if (South == South::None)
+ if (Up)
+ if (West == West::None) return 5696;
+ else if (West == West::Low) return 5697;
+ else return 5698;
+ else
+ if (West == West::None) return 5702;
+ else if (West == West::Low) return 5703;
+ else return 5704;
+ else if (South == South::Low)
+ if (Up)
+ if (West == West::None) return 5708;
+ else if (West == West::Low) return 5709;
+ else return 5710;
+ else
+ if (West == West::None) return 5714;
+ else if (West == West::Low) return 5715;
+ else return 5716;
+ else
+ if (Up)
+ if (West == West::None) return 5720;
+ else if (West == West::Low) return 5721;
+ else return 5722;
+ else
+ if (West == West::None) return 5726;
+ else if (West == West::Low) return 5727;
+ else return 5728;
+ else
+ if (South == South::None)
+ if (Up)
+ if (West == West::None) return 5732;
+ else if (West == West::Low) return 5733;
+ else return 5734;
+ else
+ if (West == West::None) return 5738;
+ else if (West == West::Low) return 5739;
+ else return 5740;
+ else if (South == South::Low)
+ if (Up)
+ if (West == West::None) return 5744;
+ else if (West == West::Low) return 5745;
+ else return 5746;
+ else
+ if (West == West::None) return 5750;
+ else if (West == West::Low) return 5751;
+ else return 5752;
+ else
+ if (Up)
+ if (West == West::None) return 5756;
+ else if (West == West::Low) return 5757;
+ else return 5758;
+ else
+ if (West == West::None) return 5762;
+ else if (West == West::Low) return 5763;
+ else return 5764;
+ else if (East == East::Low)
+ if (North == North::None)
+ if (South == South::None)
+ if (Up)
+ if (West == West::None) return 5768;
+ else if (West == West::Low) return 5769;
+ else return 5770;
+ else
+ if (West == West::None) return 5774;
+ else if (West == West::Low) return 5775;
+ else return 5776;
+ else if (South == South::Low)
+ if (Up)
+ if (West == West::None) return 5780;
+ else if (West == West::Low) return 5781;
+ else return 5782;
+ else
+ if (West == West::None) return 5786;
+ else if (West == West::Low) return 5787;
+ else return 5788;
+ else
+ if (Up)
+ if (West == West::None) return 5792;
+ else if (West == West::Low) return 5793;
+ else return 5794;
+ else
+ if (West == West::None) return 5798;
+ else if (West == West::Low) return 5799;
+ else return 5800;
+ else if (North == North::Low)
+ if (South == South::None)
+ if (Up)
+ if (West == West::None) return 5804;
+ else if (West == West::Low) return 5805;
+ else return 5806;
+ else
+ if (West == West::None) return 5810;
+ else if (West == West::Low) return 5811;
+ else return 5812;
+ else if (South == South::Low)
+ if (Up)
+ if (West == West::None) return 5816;
+ else if (West == West::Low) return 5817;
+ else return 5818;
+ else
+ if (West == West::None) return 5822;
+ else if (West == West::Low) return 5823;
+ else return 5824;
+ else
+ if (Up)
+ if (West == West::None) return 5828;
+ else if (West == West::Low) return 5829;
+ else return 5830;
+ else
+ if (West == West::None) return 5834;
+ else if (West == West::Low) return 5835;
+ else return 5836;
+ else
+ if (South == South::None)
+ if (Up)
+ if (West == West::None) return 5840;
+ else if (West == West::Low) return 5841;
+ else return 5842;
+ else
+ if (West == West::None) return 5846;
+ else if (West == West::Low) return 5847;
+ else return 5848;
+ else if (South == South::Low)
+ if (Up)
+ if (West == West::None) return 5852;
+ else if (West == West::Low) return 5853;
+ else return 5854;
+ else
+ if (West == West::None) return 5858;
+ else if (West == West::Low) return 5859;
+ else return 5860;
+ else
+ if (Up)
+ if (West == West::None) return 5864;
+ else if (West == West::Low) return 5865;
+ else return 5866;
+ else
+ if (West == West::None) return 5870;
+ else if (West == West::Low) return 5871;
+ else return 5872;
+ else
+ if (North == North::None)
+ if (South == South::None)
+ if (Up)
+ if (West == West::None) return 5876;
+ else if (West == West::Low) return 5877;
+ else return 5878;
+ else
+ if (West == West::None) return 5882;
+ else if (West == West::Low) return 5883;
+ else return 5884;
+ else if (South == South::Low)
+ if (Up)
+ if (West == West::None) return 5888;
+ else if (West == West::Low) return 5889;
+ else return 5890;
+ else
+ if (West == West::None) return 5894;
+ else if (West == West::Low) return 5895;
+ else return 5896;
+ else
+ if (Up)
+ if (West == West::None) return 5900;
+ else if (West == West::Low) return 5901;
+ else return 5902;
+ else
+ if (West == West::None) return 5906;
+ else if (West == West::Low) return 5907;
+ else return 5908;
+ else if (North == North::Low)
+ if (South == South::None)
+ if (Up)
+ if (West == West::None) return 5912;
+ else if (West == West::Low) return 5913;
+ else return 5914;
+ else
+ if (West == West::None) return 5918;
+ else if (West == West::Low) return 5919;
+ else return 5920;
+ else if (South == South::Low)
+ if (Up)
+ if (West == West::None) return 5924;
+ else if (West == West::Low) return 5925;
+ else return 5926;
+ else
+ if (West == West::None) return 5930;
+ else if (West == West::Low) return 5931;
+ else return 5932;
+ else
+ if (Up)
+ if (West == West::None) return 5936;
+ else if (West == West::Low) return 5937;
+ else return 5938;
+ else
+ if (West == West::None) return 5942;
+ else if (West == West::Low) return 5943;
+ else return 5944;
+ else
+ if (South == South::None)
+ if (Up)
+ if (West == West::None) return 5948;
+ else if (West == West::Low) return 5949;
+ else return 5950;
+ else
+ if (West == West::None) return 5954;
+ else if (West == West::Low) return 5955;
+ else return 5956;
+ else if (South == South::Low)
+ if (Up)
+ if (West == West::None) return 5960;
+ else if (West == West::Low) return 5961;
+ else return 5962;
+ else
+ if (West == West::None) return 5966;
+ else if (West == West::Low) return 5967;
+ else return 5968;
+ else
+ if (Up)
+ if (West == West::None) return 5972;
+ else if (West == West::Low) return 5973;
+ else return 5974;
+ else
+ if (West == West::None) return 5978;
+ else if (West == West::Low) return 5979;
+ else return 5980;
+ }
+ BlockState CobblestoneWall();
+ enum East East(BlockState Block);
+ enum North North(BlockState Block);
+ enum South South(BlockState Block);
+ bool Up(BlockState Block);
+ enum West West(BlockState Block);
+ }
+ namespace Cobweb
+ {
+ constexpr BlockState Cobweb()
+ {
+ return 1341;
+ }
+ }
+ namespace Cocoa
+ {
+ constexpr BlockState Cocoa(const unsigned char Age, const eBlockFace Facing)
+ {
+ if (Age == 0)
+ if (Facing == eBlockFace::BLOCK_FACE_ZM) return 5158;
+ else if (Facing == eBlockFace::BLOCK_FACE_ZP) return 5159;
+ else if (Facing == eBlockFace::BLOCK_FACE_XM) return 5160;
+ else return 5161;
+ else if (Age == 1)
+ if (Facing == eBlockFace::BLOCK_FACE_ZM) return 5162;
+ else if (Facing == eBlockFace::BLOCK_FACE_ZP) return 5163;
+ else if (Facing == eBlockFace::BLOCK_FACE_XM) return 5164;
+ else return 5165;
+ else
+ if (Facing == eBlockFace::BLOCK_FACE_ZM) return 5166;
+ else if (Facing == eBlockFace::BLOCK_FACE_ZP) return 5167;
+ else if (Facing == eBlockFace::BLOCK_FACE_XM) return 5168;
+ else return 5169;
+ }
+ BlockState Cocoa();
+ unsigned char Age(BlockState Block);
+ eBlockFace Facing(BlockState Block);
+ }
+ namespace CommandBlock
+ {
+ constexpr BlockState CommandBlock(const bool Conditional, const eBlockFace Facing)
+ {
+ if (Conditional)
+ if (Facing == eBlockFace::BLOCK_FACE_ZM) return 5644;
+ else if (Facing == eBlockFace::BLOCK_FACE_XP) return 5645;
+ else if (Facing == eBlockFace::BLOCK_FACE_ZP) return 5646;
+ else if (Facing == eBlockFace::BLOCK_FACE_XM) return 5647;
+ else if (Facing == eBlockFace::BLOCK_FACE_YP) return 5648;
+ else return 5649;
+ else
+ if (Facing == eBlockFace::BLOCK_FACE_ZM) return 5650;
+ else if (Facing == eBlockFace::BLOCK_FACE_XP) return 5651;
+ else if (Facing == eBlockFace::BLOCK_FACE_ZP) return 5652;
+ else if (Facing == eBlockFace::BLOCK_FACE_XM) return 5653;
+ else if (Facing == eBlockFace::BLOCK_FACE_YP) return 5654;
+ else return 5655;
+ }
+ BlockState CommandBlock();
+ bool Conditional(BlockState Block);
+ eBlockFace Facing(BlockState Block);
+ }
+ namespace Comparator
+ {
+ enum class Mode
+ {
+ Compare,
+ Subtract
+ };
+ constexpr BlockState Comparator(const eBlockFace Facing, const enum Mode Mode, const bool Powered)
+ {
+ if (Facing == eBlockFace::BLOCK_FACE_ZM)
+ if (Mode == Mode::Compare)
+ if (Powered) return 6678;
+ else return 6679;
+ else
+ if (Powered) return 6680;
+ else return 6681;
+ else if (Facing == eBlockFace::BLOCK_FACE_ZP)
+ if (Mode == Mode::Compare)
+ if (Powered) return 6682;
+ else return 6683;
+ else
+ if (Powered) return 6684;
+ else return 6685;
+ else if (Facing == eBlockFace::BLOCK_FACE_XM)
+ if (Mode == Mode::Compare)
+ if (Powered) return 6686;
+ else return 6687;
+ else
+ if (Powered) return 6688;
+ else return 6689;
+ else
+ if (Mode == Mode::Compare)
+ if (Powered) return 6690;
+ else return 6691;
+ else
+ if (Powered) return 6692;
+ else return 6693;
+ }
+ BlockState Comparator();
+ eBlockFace Facing(BlockState Block);
+ enum Mode Mode(BlockState Block);
+ bool Powered(BlockState Block);
+ }
+ namespace Composter
+ {
+ constexpr BlockState Composter(const unsigned char Level)
+ {
+ if (Level == 0) return 15751;
+ else if (Level == 1) return 15752;
+ else if (Level == 2) return 15753;
+ else if (Level == 3) return 15754;
+ else if (Level == 4) return 15755;
+ else if (Level == 5) return 15756;
+ else if (Level == 6) return 15757;
+ else if (Level == 7) return 15758;
+ else return 15759;
+ }
+ BlockState Composter();
+ unsigned char Level(BlockState Block);
+ }
+ namespace Conduit
+ {
+ constexpr BlockState Conduit()
+ {
+ return 9650;
+ }
+ }
+ namespace Cornflower
+ {
+ constexpr BlockState Cornflower()
+ {
+ return 1422;
+ }
+ }
+ namespace CrackedNetherBricks
+ {
+ constexpr BlockState CrackedNetherBricks()
+ {
+ return 17102;
+ }
+ }
+ namespace CrackedPolishedBlackstoneBricks
+ {
+ constexpr BlockState CrackedPolishedBlackstoneBricks()
+ {
+ return 16252;
+ }
+ }
+ namespace CrackedStoneBricks
+ {
+ constexpr BlockState CrackedStoneBricks()
+ {
+ return 4497;
+ }
+ }
+ namespace CraftingTable
+ {
+ constexpr BlockState CraftingTable()
+ {
+ return 3356;
+ }
+ }
+ namespace CreeperHead
+ {
+ constexpr BlockState CreeperHead(const unsigned char Rotation)
+ {
+ if (Rotation == 0) return 6570;
+ else if (Rotation == 1) return 6571;
+ else if (Rotation == 2) return 6572;
+ else if (Rotation == 3) return 6573;
+ else if (Rotation == 4) return 6574;
+ else if (Rotation == 5) return 6575;
+ else if (Rotation == 6) return 6576;
+ else if (Rotation == 7) return 6577;
+ else if (Rotation == 8) return 6578;
+ else if (Rotation == 9) return 6579;
+ else if (Rotation == 10) return 6580;
+ else if (Rotation == 11) return 6581;
+ else if (Rotation == 12) return 6582;
+ else if (Rotation == 13) return 6583;
+ else if (Rotation == 14) return 6584;
+ else return 6585;
+ }
+ BlockState CreeperHead();
+ unsigned char Rotation(BlockState Block);
+ }
+ namespace CreeperWallHead
+ {
+ constexpr BlockState CreeperWallHead(const eBlockFace Facing)
+ {
+ if (Facing == eBlockFace::BLOCK_FACE_ZM) return 6586;
+ else if (Facing == eBlockFace::BLOCK_FACE_ZP) return 6587;
+ else if (Facing == eBlockFace::BLOCK_FACE_XM) return 6588;
+ else return 6589;
+ }
+ BlockState CreeperWallHead();
+ eBlockFace Facing(BlockState Block);
+ }
+ namespace CrimsonButton
+ {
+ enum class Face
+ {
+ Floor,
+ Wall,
+ Ceiling
+ };
+ constexpr BlockState CrimsonButton(const enum Face Face, const eBlockFace Facing, const bool Powered)
+ {
+ if (Face == Face::Floor)
+ if (Facing == eBlockFace::BLOCK_FACE_ZM)
+ if (Powered) return 15479;
+ else return 15480;
+ else if (Facing == eBlockFace::BLOCK_FACE_ZP)
+ if (Powered) return 15481;
+ else return 15482;
+ else if (Facing == eBlockFace::BLOCK_FACE_XM)
+ if (Powered) return 15483;
+ else return 15484;
+ else
+ if (Powered) return 15485;
+ else return 15486;
+ else if (Face == Face::Wall)
+ if (Facing == eBlockFace::BLOCK_FACE_ZM)
+ if (Powered) return 15487;
+ else return 15488;
+ else if (Facing == eBlockFace::BLOCK_FACE_ZP)
+ if (Powered) return 15489;
+ else return 15490;
+ else if (Facing == eBlockFace::BLOCK_FACE_XM)
+ if (Powered) return 15491;
+ else return 15492;
+ else
+ if (Powered) return 15493;
+ else return 15494;
+ else
+ if (Facing == eBlockFace::BLOCK_FACE_ZM)
+ if (Powered) return 15495;
+ else return 15496;
+ else if (Facing == eBlockFace::BLOCK_FACE_ZP)
+ if (Powered) return 15497;
+ else return 15498;
+ else if (Facing == eBlockFace::BLOCK_FACE_XM)
+ if (Powered) return 15499;
+ else return 15500;
+ else
+ if (Powered) return 15501;
+ else return 15502;
+ }
+ BlockState CrimsonButton();
+ enum Face Face(BlockState Block);
+ eBlockFace Facing(BlockState Block);
+ bool Powered(BlockState Block);
+ }
+ namespace CrimsonDoor
+ {
+ enum class Half
+ {
+ Upper,
+ Lower
+ };
+ enum class Hinge
+ {
+ Left,
+ Right
+ };
+ constexpr BlockState CrimsonDoor(const eBlockFace Facing, const enum Half Half, const enum Hinge Hinge, const bool Open, const bool Powered)
+ {
+ if (Facing == eBlockFace::BLOCK_FACE_ZM)
+ if (Half == Half::Upper)
+ if (Hinge == Hinge::Left)
+ if (Open)
+ if (Powered) return 15527;
+ else return 15528;
+ else
+ if (Powered) return 15529;
+ else return 15530;
+ else
+ if (Open)
+ if (Powered) return 15531;
+ else return 15532;
+ else
+ if (Powered) return 15533;
+ else return 15534;
+ else
+ if (Hinge == Hinge::Left)
+ if (Open)
+ if (Powered) return 15535;
+ else return 15536;
+ else
+ if (Powered) return 15537;
+ else return 15538;
+ else
+ if (Open)
+ if (Powered) return 15539;
+ else return 15540;
+ else
+ if (Powered) return 15541;
+ else return 15542;
+ else if (Facing == eBlockFace::BLOCK_FACE_ZP)
+ if (Half == Half::Upper)
+ if (Hinge == Hinge::Left)
+ if (Open)
+ if (Powered) return 15543;
+ else return 15544;
+ else
+ if (Powered) return 15545;
+ else return 15546;
+ else
+ if (Open)
+ if (Powered) return 15547;
+ else return 15548;
+ else
+ if (Powered) return 15549;
+ else return 15550;
+ else
+ if (Hinge == Hinge::Left)
+ if (Open)
+ if (Powered) return 15551;
+ else return 15552;
+ else
+ if (Powered) return 15553;
+ else return 15554;
+ else
+ if (Open)
+ if (Powered) return 15555;
+ else return 15556;
+ else
+ if (Powered) return 15557;
+ else return 15558;
+ else if (Facing == eBlockFace::BLOCK_FACE_XM)
+ if (Half == Half::Upper)
+ if (Hinge == Hinge::Left)
+ if (Open)
+ if (Powered) return 15559;
+ else return 15560;
+ else
+ if (Powered) return 15561;
+ else return 15562;
+ else
+ if (Open)
+ if (Powered) return 15563;
+ else return 15564;
+ else
+ if (Powered) return 15565;
+ else return 15566;
+ else
+ if (Hinge == Hinge::Left)
+ if (Open)
+ if (Powered) return 15567;
+ else return 15568;
+ else
+ if (Powered) return 15569;
+ else return 15570;
+ else
+ if (Open)
+ if (Powered) return 15571;
+ else return 15572;
+ else
+ if (Powered) return 15573;
+ else return 15574;
+ else
+ if (Half == Half::Upper)
+ if (Hinge == Hinge::Left)
+ if (Open)
+ if (Powered) return 15575;
+ else return 15576;
+ else
+ if (Powered) return 15577;
+ else return 15578;
+ else
+ if (Open)
+ if (Powered) return 15579;
+ else return 15580;
+ else
+ if (Powered) return 15581;
+ else return 15582;
+ else
+ if (Hinge == Hinge::Left)
+ if (Open)
+ if (Powered) return 15583;
+ else return 15584;
+ else
+ if (Powered) return 15585;
+ else return 15586;
+ else
+ if (Open)
+ if (Powered) return 15587;
+ else return 15588;
+ else
+ if (Powered) return 15589;
+ else return 15590;
+ }
+ BlockState CrimsonDoor();
+ eBlockFace Facing(BlockState Block);
+ enum Half Half(BlockState Block);
+ enum Hinge Hinge(BlockState Block);
+ bool Open(BlockState Block);
+ bool Powered(BlockState Block);
+ }
+ namespace CrimsonFence
+ {
+ constexpr BlockState CrimsonFence(const bool East, const bool North, const bool South, const bool West)
+ {
+ if (East)
+ if (North)
+ if (South)
+ if (West) return 15065;
+ else return 15066;
+ else
+ if (West) return 15069;
+ else return 15070;
+ else
+ if (South)
+ if (West) return 15073;
+ else return 15074;
+ else
+ if (West) return 15077;
+ else return 15078;
+ else
+ if (North)
+ if (South)
+ if (West) return 15081;
+ else return 15082;
+ else
+ if (West) return 15085;
+ else return 15086;
+ else
+ if (South)
+ if (West) return 15089;
+ else return 15090;
+ else
+ if (West) return 15093;
+ else return 15094;
+ }
+ BlockState CrimsonFence();
+ bool East(BlockState Block);
+ bool North(BlockState Block);
+ bool South(BlockState Block);
+ bool West(BlockState Block);
+ }
+ namespace CrimsonFenceGate
+ {
+ constexpr BlockState CrimsonFenceGate(const eBlockFace Facing, const bool InWall, const bool Open, const bool Powered)
+ {
+ if (Facing == eBlockFace::BLOCK_FACE_ZM)
+ if (InWall)
+ if (Open)
+ if (Powered) return 15255;
+ else return 15256;
+ else
+ if (Powered) return 15257;
+ else return 15258;
+ else
+ if (Open)
+ if (Powered) return 15259;
+ else return 15260;
+ else
+ if (Powered) return 15261;
+ else return 15262;
+ else if (Facing == eBlockFace::BLOCK_FACE_ZP)
+ if (InWall)
+ if (Open)
+ if (Powered) return 15263;
+ else return 15264;
+ else
+ if (Powered) return 15265;
+ else return 15266;
+ else
+ if (Open)
+ if (Powered) return 15267;
+ else return 15268;
+ else
+ if (Powered) return 15269;
+ else return 15270;
+ else if (Facing == eBlockFace::BLOCK_FACE_XM)
+ if (InWall)
+ if (Open)
+ if (Powered) return 15271;
+ else return 15272;
+ else
+ if (Powered) return 15273;
+ else return 15274;
+ else
+ if (Open)
+ if (Powered) return 15275;
+ else return 15276;
+ else
+ if (Powered) return 15277;
+ else return 15278;
+ else
+ if (InWall)
+ if (Open)
+ if (Powered) return 15279;
+ else return 15280;
+ else
+ if (Powered) return 15281;
+ else return 15282;
+ else
+ if (Open)
+ if (Powered) return 15283;
+ else return 15284;
+ else
+ if (Powered) return 15285;
+ else return 15286;
+ }
+ BlockState CrimsonFenceGate();
+ eBlockFace Facing(BlockState Block);
+ bool InWall(BlockState Block);
+ bool Open(BlockState Block);
+ bool Powered(BlockState Block);
+ }
+ namespace CrimsonFungus
+ {
+ constexpr BlockState CrimsonFungus()
+ {
+ return 14988;
+ }
+ }
+ namespace CrimsonHyphae
+ {
+ enum class Axis
+ {
+ X,
+ Y,
+ Z
+ };
+ constexpr BlockState CrimsonHyphae(const enum Axis Axis)
+ {
+ if (Axis == Axis::X) return 14981;
+ else if (Axis == Axis::Y) return 14982;
+ else return 14983;
+ }
+ BlockState CrimsonHyphae();
+ enum Axis Axis(BlockState Block);
+ }
+ namespace CrimsonNylium
+ {
+ constexpr BlockState CrimsonNylium()
+ {
+ return 14987;
+ }
+ }
+ namespace CrimsonPlanks
+ {
+ constexpr BlockState CrimsonPlanks()
+ {
+ return 15045;
+ }
+ }
+ namespace CrimsonPressurePlate
+ {
+ constexpr BlockState CrimsonPressurePlate(const bool Powered)
+ {
+ if (Powered) return 15059;
+ else return 15060;
+ }
+ BlockState CrimsonPressurePlate();
+ bool Powered(BlockState Block);
+ }
+ namespace CrimsonRoots
+ {
+ constexpr BlockState CrimsonRoots()
+ {
+ return 15044;
+ }
+ }
+ namespace CrimsonSign
+ {
+ constexpr BlockState CrimsonSign(const unsigned char Rotation)
+ {
+ if (Rotation == 0) return 15656;
+ else if (Rotation == 1) return 15658;
+ else if (Rotation == 2) return 15660;
+ else if (Rotation == 3) return 15662;
+ else if (Rotation == 4) return 15664;
+ else if (Rotation == 5) return 15666;
+ else if (Rotation == 6) return 15668;
+ else if (Rotation == 7) return 15670;
+ else if (Rotation == 8) return 15672;
+ else if (Rotation == 9) return 15674;
+ else if (Rotation == 10) return 15676;
+ else if (Rotation == 11) return 15678;
+ else if (Rotation == 12) return 15680;
+ else if (Rotation == 13) return 15682;
+ else if (Rotation == 14) return 15684;
+ else return 15686;
+ }
+ BlockState CrimsonSign();
+ unsigned char Rotation(BlockState Block);
+ }
+ namespace CrimsonSlab
+ {
+ enum class Type
+ {
+ Top,
+ Bottom,
+ Double
+ };
+ constexpr BlockState CrimsonSlab(const enum Type Type)
+ {
+ if (Type == Type::Top) return 15048;
+ else if (Type == Type::Bottom) return 15050;
+ else return 15052;
+ }
+ BlockState CrimsonSlab();
+ enum Type Type(BlockState Block);
+ }
+ namespace CrimsonStairs
+ {
+ enum class Half
+ {
+ Top,
+ Bottom
+ };
+ enum class Shape
+ {
+ Straight,
+ InnerLeft,
+ InnerRight,
+ OuterLeft,
+ OuterRight
+ };
+ constexpr BlockState CrimsonStairs(const eBlockFace Facing, const enum Half Half, const enum Shape Shape)
+ {
+ if (Facing == eBlockFace::BLOCK_FACE_ZM)
+ if (Half == Half::Top)
+ if (Shape == Shape::Straight) return 15320;
+ else if (Shape == Shape::InnerLeft) return 15322;
+ else if (Shape == Shape::InnerRight) return 15324;
+ else if (Shape == Shape::OuterLeft) return 15326;
+ else return 15328;
+ else
+ if (Shape == Shape::Straight) return 15330;
+ else if (Shape == Shape::InnerLeft) return 15332;
+ else if (Shape == Shape::InnerRight) return 15334;
+ else if (Shape == Shape::OuterLeft) return 15336;
+ else return 15338;
+ else if (Facing == eBlockFace::BLOCK_FACE_ZP)
+ if (Half == Half::Top)
+ if (Shape == Shape::Straight) return 15340;
+ else if (Shape == Shape::InnerLeft) return 15342;
+ else if (Shape == Shape::InnerRight) return 15344;
+ else if (Shape == Shape::OuterLeft) return 15346;
+ else return 15348;
+ else
+ if (Shape == Shape::Straight) return 15350;
+ else if (Shape == Shape::InnerLeft) return 15352;
+ else if (Shape == Shape::InnerRight) return 15354;
+ else if (Shape == Shape::OuterLeft) return 15356;
+ else return 15358;
+ else if (Facing == eBlockFace::BLOCK_FACE_XM)
+ if (Half == Half::Top)
+ if (Shape == Shape::Straight) return 15360;
+ else if (Shape == Shape::InnerLeft) return 15362;
+ else if (Shape == Shape::InnerRight) return 15364;
+ else if (Shape == Shape::OuterLeft) return 15366;
+ else return 15368;
+ else
+ if (Shape == Shape::Straight) return 15370;
+ else if (Shape == Shape::InnerLeft) return 15372;
+ else if (Shape == Shape::InnerRight) return 15374;
+ else if (Shape == Shape::OuterLeft) return 15376;
+ else return 15378;
+ else
+ if (Half == Half::Top)
+ if (Shape == Shape::Straight) return 15380;
+ else if (Shape == Shape::InnerLeft) return 15382;
+ else if (Shape == Shape::InnerRight) return 15384;
+ else if (Shape == Shape::OuterLeft) return 15386;
+ else return 15388;
+ else
+ if (Shape == Shape::Straight) return 15390;
+ else if (Shape == Shape::InnerLeft) return 15392;
+ else if (Shape == Shape::InnerRight) return 15394;
+ else if (Shape == Shape::OuterLeft) return 15396;
+ else return 15398;
+ }
+ BlockState CrimsonStairs();
+ eBlockFace Facing(BlockState Block);
+ enum Half Half(BlockState Block);
+ enum Shape Shape(BlockState Block);
+ }
+ namespace CrimsonStem
+ {
+ enum class Axis
+ {
+ X,
+ Y,
+ Z
+ };
+ constexpr BlockState CrimsonStem(const enum Axis Axis)
+ {
+ if (Axis == Axis::X) return 14975;
+ else if (Axis == Axis::Y) return 14976;
+ else return 14977;
+ }
+ BlockState CrimsonStem();
+ enum Axis Axis(BlockState Block);
+ }
+ namespace CrimsonTrapdoor
+ {
+ enum class Half
+ {
+ Top,
+ Bottom
+ };
+ constexpr BlockState CrimsonTrapdoor(const eBlockFace Facing, const enum Half Half, const bool Open, const bool Powered)
+ {
+ if (Facing == eBlockFace::BLOCK_FACE_ZM)
+ if (Half == Half::Top)
+ if (Open)
+ if (Powered) return 15128;
+ else return 15130;
+ else
+ if (Powered) return 15132;
+ else return 15134;
+ else
+ if (Open)
+ if (Powered) return 15136;
+ else return 15138;
+ else
+ if (Powered) return 15140;
+ else return 15142;
+ else if (Facing == eBlockFace::BLOCK_FACE_ZP)
+ if (Half == Half::Top)
+ if (Open)
+ if (Powered) return 15144;
+ else return 15146;
+ else
+ if (Powered) return 15148;
+ else return 15150;
+ else
+ if (Open)
+ if (Powered) return 15152;
+ else return 15154;
+ else
+ if (Powered) return 15156;
+ else return 15158;
+ else if (Facing == eBlockFace::BLOCK_FACE_XM)
+ if (Half == Half::Top)
+ if (Open)
+ if (Powered) return 15160;
+ else return 15162;
+ else
+ if (Powered) return 15164;
+ else return 15166;
+ else
+ if (Open)
+ if (Powered) return 15168;
+ else return 15170;
+ else
+ if (Powered) return 15172;
+ else return 15174;
+ else
+ if (Half == Half::Top)
+ if (Open)
+ if (Powered) return 15176;
+ else return 15178;
+ else
+ if (Powered) return 15180;
+ else return 15182;
+ else
+ if (Open)
+ if (Powered) return 15184;
+ else return 15186;
+ else
+ if (Powered) return 15188;
+ else return 15190;
+ }
+ BlockState CrimsonTrapdoor();
+ eBlockFace Facing(BlockState Block);
+ enum Half Half(BlockState Block);
+ bool Open(BlockState Block);
+ bool Powered(BlockState Block);
+ }
+ namespace CrimsonWallSign
+ {
+ constexpr BlockState CrimsonWallSign(const eBlockFace Facing)
+ {
+ if (Facing == eBlockFace::BLOCK_FACE_ZM) return 15720;
+ else if (Facing == eBlockFace::BLOCK_FACE_ZP) return 15722;
+ else if (Facing == eBlockFace::BLOCK_FACE_XM) return 15724;
+ else return 15726;
+ }
+ BlockState CrimsonWallSign();
+ eBlockFace Facing(BlockState Block);
+ }
+ namespace CryingObsidian
+ {
+ constexpr BlockState CryingObsidian()
+ {
+ return 15828;
+ }
+ }
+ namespace CutRedSandstone
+ {
+ constexpr BlockState CutRedSandstone()
+ {
+ return 8219;
+ }
+ }
+ namespace CutRedSandstoneSlab
+ {
+ enum class Type
+ {
+ Top,
+ Bottom,
+ Double
+ };
+ constexpr BlockState CutRedSandstoneSlab(const enum Type Type)
+ {
+ if (Type == Type::Top) return 8403;
+ else if (Type == Type::Bottom) return 8405;
+ else return 8407;
+ }
+ BlockState CutRedSandstoneSlab();
+ enum Type Type(BlockState Block);
+ }
+ namespace CutSandstone
+ {
+ constexpr BlockState CutSandstone()
+ {
+ return 248;
+ }
+ }
+ namespace CutSandstoneSlab
+ {
+ enum class Type
+ {
+ Top,
+ Bottom,
+ Double
+ };
+ constexpr BlockState CutSandstoneSlab(const enum Type Type)
+ {
+ if (Type == Type::Top) return 8355;
+ else if (Type == Type::Bottom) return 8357;
+ else return 8359;
+ }
+ BlockState CutSandstoneSlab();
+ enum Type Type(BlockState Block);
+ }
+ namespace CyanBanner
+ {
+ constexpr BlockState CyanBanner(const unsigned char Rotation)
+ {
+ if (Rotation == 0) return 8041;
+ else if (Rotation == 1) return 8042;
+ else if (Rotation == 2) return 8043;
+ else if (Rotation == 3) return 8044;
+ else if (Rotation == 4) return 8045;
+ else if (Rotation == 5) return 8046;
+ else if (Rotation == 6) return 8047;
+ else if (Rotation == 7) return 8048;
+ else if (Rotation == 8) return 8049;
+ else if (Rotation == 9) return 8050;
+ else if (Rotation == 10) return 8051;
+ else if (Rotation == 11) return 8052;
+ else if (Rotation == 12) return 8053;
+ else if (Rotation == 13) return 8054;
+ else if (Rotation == 14) return 8055;
+ else return 8056;
+ }
+ BlockState CyanBanner();
+ unsigned char Rotation(BlockState Block);
+ }
+ namespace CyanBed
+ {
+ enum class Part
+ {
+ Head,
+ Foot
+ };
+ constexpr BlockState CyanBed(const eBlockFace Facing, const bool Occupied, const enum Part Part)
+ {
+ if (Facing == eBlockFace::BLOCK_FACE_ZM)
+ if (Occupied)
+ if (Part == Part::Head) return 1193;
+ else return 1194;
+ else
+ if (Part == Part::Head) return 1195;
+ else return 1196;
+ else if (Facing == eBlockFace::BLOCK_FACE_ZP)
+ if (Occupied)
+ if (Part == Part::Head) return 1197;
+ else return 1198;
+ else
+ if (Part == Part::Head) return 1199;
+ else return 1200;
+ else if (Facing == eBlockFace::BLOCK_FACE_XM)
+ if (Occupied)
+ if (Part == Part::Head) return 1201;
+ else return 1202;
+ else
+ if (Part == Part::Head) return 1203;
+ else return 1204;
+ else
+ if (Occupied)
+ if (Part == Part::Head) return 1205;
+ else return 1206;
+ else
+ if (Part == Part::Head) return 1207;
+ else return 1208;
+ }
+ BlockState CyanBed();
+ eBlockFace Facing(BlockState Block);
+ bool Occupied(BlockState Block);
+ enum Part Part(BlockState Block);
+ }
+ namespace CyanCarpet
+ {
+ constexpr BlockState CyanCarpet()
+ {
+ return 7875;
+ }
+ }
+ namespace CyanConcrete
+ {
+ constexpr BlockState CyanConcrete()
+ {
+ return 9447;
+ }
+ }
+ namespace CyanConcretePowder
+ {
+ constexpr BlockState CyanConcretePowder()
+ {
+ return 9463;
+ }
+ }
+ namespace CyanGlazedTerracotta
+ {
+ constexpr BlockState CyanGlazedTerracotta(const eBlockFace Facing)
+ {
+ if (Facing == eBlockFace::BLOCK_FACE_ZM) return 9410;
+ else if (Facing == eBlockFace::BLOCK_FACE_ZP) return 9411;
+ else if (Facing == eBlockFace::BLOCK_FACE_XM) return 9412;
+ else return 9413;
+ }
+ BlockState CyanGlazedTerracotta();
+ eBlockFace Facing(BlockState Block);
+ }
+ namespace CyanShulkerBox
+ {
+ constexpr BlockState CyanShulkerBox(const eBlockFace Facing)
+ {
+ if (Facing == eBlockFace::BLOCK_FACE_ZM) return 9332;
+ else if (Facing == eBlockFace::BLOCK_FACE_XP) return 9333;
+ else if (Facing == eBlockFace::BLOCK_FACE_ZP) return 9334;
+ else if (Facing == eBlockFace::BLOCK_FACE_XM) return 9335;
+ else if (Facing == eBlockFace::BLOCK_FACE_YP) return 9336;
+ else return 9337;
+ }
+ BlockState CyanShulkerBox();
+ eBlockFace Facing(BlockState Block);
+ }
+ namespace CyanStainedGlass
+ {
+ constexpr BlockState CyanStainedGlass()
+ {
+ return 4104;
+ }
+ }
+ namespace CyanStainedGlassPane
+ {
+ constexpr BlockState CyanStainedGlassPane(const bool East, const bool North, const bool South, const bool West)
+ {
+ if (East)
+ if (North)
+ if (South)
+ if (West) return 7153;
+ else return 7154;
+ else
+ if (West) return 7157;
+ else return 7158;
+ else
+ if (South)
+ if (West) return 7161;
+ else return 7162;
+ else
+ if (West) return 7165;
+ else return 7166;
+ else
+ if (North)
+ if (South)
+ if (West) return 7169;
+ else return 7170;
+ else
+ if (West) return 7173;
+ else return 7174;
+ else
+ if (South)
+ if (West) return 7177;
+ else return 7178;
+ else
+ if (West) return 7181;
+ else return 7182;
+ }
+ BlockState CyanStainedGlassPane();
+ bool East(BlockState Block);
+ bool North(BlockState Block);
+ bool South(BlockState Block);
+ bool West(BlockState Block);
+ }
+ namespace CyanTerracotta
+ {
+ constexpr BlockState CyanTerracotta()
+ {
+ return 6856;
+ }
+ }
+ namespace CyanWallBanner
+ {
+ constexpr BlockState CyanWallBanner(const eBlockFace Facing)
+ {
+ if (Facing == eBlockFace::BLOCK_FACE_ZM) return 8189;
+ else if (Facing == eBlockFace::BLOCK_FACE_ZP) return 8190;
+ else if (Facing == eBlockFace::BLOCK_FACE_XM) return 8191;
+ else return 8192;
+ }
+ BlockState CyanWallBanner();
+ eBlockFace Facing(BlockState Block);
+ }
+ namespace CyanWool
+ {
+ constexpr BlockState CyanWool()
+ {
+ return 1393;
+ }
+ }
+ namespace DamagedAnvil
+ {
+ constexpr BlockState DamagedAnvil(const eBlockFace Facing)
+ {
+ if (Facing == eBlockFace::BLOCK_FACE_ZM) return 6618;
+ else if (Facing == eBlockFace::BLOCK_FACE_ZP) return 6619;
+ else if (Facing == eBlockFace::BLOCK_FACE_XM) return 6620;
+ else return 6621;
+ }
+ BlockState DamagedAnvil();
+ eBlockFace Facing(BlockState Block);
+ }
+ namespace Dandelion
+ {
+ constexpr BlockState Dandelion()
+ {
+ return 1412;
+ }
+ }
+ namespace DarkOakButton
+ {
+ enum class Face
+ {
+ Floor,
+ Wall,
+ Ceiling
+ };
+ constexpr BlockState DarkOakButton(const enum Face Face, const eBlockFace Facing, const bool Powered)
+ {
+ if (Face == Face::Floor)
+ if (Facing == eBlockFace::BLOCK_FACE_ZM)
+ if (Powered) return 6466;
+ else return 6467;
+ else if (Facing == eBlockFace::BLOCK_FACE_ZP)
+ if (Powered) return 6468;
+ else return 6469;
+ else if (Facing == eBlockFace::BLOCK_FACE_XM)
+ if (Powered) return 6470;
+ else return 6471;
+ else
+ if (Powered) return 6472;
+ else return 6473;
+ else if (Face == Face::Wall)
+ if (Facing == eBlockFace::BLOCK_FACE_ZM)
+ if (Powered) return 6474;
+ else return 6475;
+ else if (Facing == eBlockFace::BLOCK_FACE_ZP)
+ if (Powered) return 6476;
+ else return 6477;
+ else if (Facing == eBlockFace::BLOCK_FACE_XM)
+ if (Powered) return 6478;
+ else return 6479;
+ else
+ if (Powered) return 6480;
+ else return 6481;
+ else
+ if (Facing == eBlockFace::BLOCK_FACE_ZM)
+ if (Powered) return 6482;
+ else return 6483;
+ else if (Facing == eBlockFace::BLOCK_FACE_ZP)
+ if (Powered) return 6484;
+ else return 6485;
+ else if (Facing == eBlockFace::BLOCK_FACE_XM)
+ if (Powered) return 6486;
+ else return 6487;
+ else
+ if (Powered) return 6488;
+ else return 6489;
+ }
+ BlockState DarkOakButton();
+ enum Face Face(BlockState Block);
+ eBlockFace Facing(BlockState Block);
+ bool Powered(BlockState Block);
+ }
+ namespace DarkOakDoor
+ {
+ enum class Half
+ {
+ Upper,
+ Lower
+ };
+ enum class Hinge
+ {
+ Left,
+ Right
+ };
+ constexpr BlockState DarkOakDoor(const eBlockFace Facing, const enum Half Half, const enum Hinge Hinge, const bool Open, const bool Powered)
+ {
+ if (Facing == eBlockFace::BLOCK_FACE_ZM)
+ if (Half == Half::Upper)
+ if (Hinge == Hinge::Left)
+ if (Open)
+ if (Powered) return 8994;
+ else return 8995;
+ else
+ if (Powered) return 8996;
+ else return 8997;
+ else
+ if (Open)
+ if (Powered) return 8998;
+ else return 8999;
+ else
+ if (Powered) return 9000;
+ else return 9001;
+ else
+ if (Hinge == Hinge::Left)
+ if (Open)
+ if (Powered) return 9002;
+ else return 9003;
+ else
+ if (Powered) return 9004;
+ else return 9005;
+ else
+ if (Open)
+ if (Powered) return 9006;
+ else return 9007;
+ else
+ if (Powered) return 9008;
+ else return 9009;
+ else if (Facing == eBlockFace::BLOCK_FACE_ZP)
+ if (Half == Half::Upper)
+ if (Hinge == Hinge::Left)
+ if (Open)
+ if (Powered) return 9010;
+ else return 9011;
+ else
+ if (Powered) return 9012;
+ else return 9013;
+ else
+ if (Open)
+ if (Powered) return 9014;
+ else return 9015;
+ else
+ if (Powered) return 9016;
+ else return 9017;
+ else
+ if (Hinge == Hinge::Left)
+ if (Open)
+ if (Powered) return 9018;
+ else return 9019;
+ else
+ if (Powered) return 9020;
+ else return 9021;
+ else
+ if (Open)
+ if (Powered) return 9022;
+ else return 9023;
+ else
+ if (Powered) return 9024;
+ else return 9025;
+ else if (Facing == eBlockFace::BLOCK_FACE_XM)
+ if (Half == Half::Upper)
+ if (Hinge == Hinge::Left)
+ if (Open)
+ if (Powered) return 9026;
+ else return 9027;
+ else
+ if (Powered) return 9028;
+ else return 9029;
+ else
+ if (Open)
+ if (Powered) return 9030;
+ else return 9031;
+ else
+ if (Powered) return 9032;
+ else return 9033;
+ else
+ if (Hinge == Hinge::Left)
+ if (Open)
+ if (Powered) return 9034;
+ else return 9035;
+ else
+ if (Powered) return 9036;
+ else return 9037;
+ else
+ if (Open)
+ if (Powered) return 9038;
+ else return 9039;
+ else
+ if (Powered) return 9040;
+ else return 9041;
+ else
+ if (Half == Half::Upper)
+ if (Hinge == Hinge::Left)
+ if (Open)
+ if (Powered) return 9042;
+ else return 9043;
+ else
+ if (Powered) return 9044;
+ else return 9045;
+ else
+ if (Open)
+ if (Powered) return 9046;
+ else return 9047;
+ else
+ if (Powered) return 9048;
+ else return 9049;
+ else
+ if (Hinge == Hinge::Left)
+ if (Open)
+ if (Powered) return 9050;
+ else return 9051;
+ else
+ if (Powered) return 9052;
+ else return 9053;
+ else
+ if (Open)
+ if (Powered) return 9054;
+ else return 9055;
+ else
+ if (Powered) return 9056;
+ else return 9057;
+ }
+ BlockState DarkOakDoor();
+ eBlockFace Facing(BlockState Block);
+ enum Half Half(BlockState Block);
+ enum Hinge Hinge(BlockState Block);
+ bool Open(BlockState Block);
+ bool Powered(BlockState Block);
+ }
+ namespace DarkOakFence
+ {
+ constexpr BlockState DarkOakFence(const bool East, const bool North, const bool South, const bool West)
+ {
+ if (East)
+ if (North)
+ if (South)
+ if (West) return 8708;
+ else return 8709;
+ else
+ if (West) return 8712;
+ else return 8713;
+ else
+ if (South)
+ if (West) return 8716;
+ else return 8717;
+ else
+ if (West) return 8720;
+ else return 8721;
+ else
+ if (North)
+ if (South)
+ if (West) return 8724;
+ else return 8725;
+ else
+ if (West) return 8728;
+ else return 8729;
+ else
+ if (South)
+ if (West) return 8732;
+ else return 8733;
+ else
+ if (West) return 8736;
+ else return 8737;
+ }
+ BlockState DarkOakFence();
+ bool East(BlockState Block);
+ bool North(BlockState Block);
+ bool South(BlockState Block);
+ bool West(BlockState Block);
+ }
+ namespace DarkOakFenceGate
+ {
+ constexpr BlockState DarkOakFenceGate(const eBlockFace Facing, const bool InWall, const bool Open, const bool Powered)
+ {
+ if (Facing == eBlockFace::BLOCK_FACE_ZM)
+ if (InWall)
+ if (Open)
+ if (Powered) return 8546;
+ else return 8547;
+ else
+ if (Powered) return 8548;
+ else return 8549;
+ else
+ if (Open)
+ if (Powered) return 8550;
+ else return 8551;
+ else
+ if (Powered) return 8552;
+ else return 8553;
+ else if (Facing == eBlockFace::BLOCK_FACE_ZP)
+ if (InWall)
+ if (Open)
+ if (Powered) return 8554;
+ else return 8555;
+ else
+ if (Powered) return 8556;
+ else return 8557;
+ else
+ if (Open)
+ if (Powered) return 8558;
+ else return 8559;
+ else
+ if (Powered) return 8560;
+ else return 8561;
+ else if (Facing == eBlockFace::BLOCK_FACE_XM)
+ if (InWall)
+ if (Open)
+ if (Powered) return 8562;
+ else return 8563;
+ else
+ if (Powered) return 8564;
+ else return 8565;
+ else
+ if (Open)
+ if (Powered) return 8566;
+ else return 8567;
+ else
+ if (Powered) return 8568;
+ else return 8569;
+ else
+ if (InWall)
+ if (Open)
+ if (Powered) return 8570;
+ else return 8571;
+ else
+ if (Powered) return 8572;
+ else return 8573;
+ else
+ if (Open)
+ if (Powered) return 8574;
+ else return 8575;
+ else
+ if (Powered) return 8576;
+ else return 8577;
+ }
+ BlockState DarkOakFenceGate();
+ eBlockFace Facing(BlockState Block);
+ bool InWall(BlockState Block);
+ bool Open(BlockState Block);
+ bool Powered(BlockState Block);
+ }
+ namespace DarkOakLeaves
+ {
+ constexpr BlockState DarkOakLeaves(const unsigned char Distance, const bool Persistent)
+ {
+ if (Distance == 1)
+ if (Persistent) return 215;
+ else return 216;
+ else if (Distance == 2)
+ if (Persistent) return 217;
+ else return 218;
+ else if (Distance == 3)
+ if (Persistent) return 219;
+ else return 220;
+ else if (Distance == 4)
+ if (Persistent) return 221;
+ else return 222;
+ else if (Distance == 5)
+ if (Persistent) return 223;
+ else return 224;
+ else if (Distance == 6)
+ if (Persistent) return 225;
+ else return 226;
+ else
+ if (Persistent) return 227;
+ else return 228;
+ }
+ BlockState DarkOakLeaves();
+ unsigned char Distance(BlockState Block);
+ bool Persistent(BlockState Block);
+ }
+ namespace DarkOakLog
+ {
+ enum class Axis
+ {
+ X,
+ Y,
+ Z
+ };
+ constexpr BlockState DarkOakLog(const enum Axis Axis)
+ {
+ if (Axis == Axis::X) return 88;
+ else if (Axis == Axis::Y) return 89;
+ else return 90;
+ }
+ BlockState DarkOakLog();
+ enum Axis Axis(BlockState Block);
+ }
+ namespace DarkOakPlanks
+ {
+ constexpr BlockState DarkOakPlanks()
+ {
+ return 20;
+ }
+ }
+ namespace DarkOakPressurePlate
+ {
+ constexpr BlockState DarkOakPressurePlate(const bool Powered)
+ {
+ if (Powered) return 3883;
+ else return 3884;
+ }
+ BlockState DarkOakPressurePlate();
+ bool Powered(BlockState Block);
+ }
+ namespace DarkOakSapling
+ {
+ constexpr BlockState DarkOakSapling(const unsigned char Stage)
+ {
+ if (Stage == 0) return 31;
+ else return 32;
+ }
+ BlockState DarkOakSapling();
+ unsigned char Stage(BlockState Block);
+ }
+ namespace DarkOakSign
+ {
+ constexpr BlockState DarkOakSign(const unsigned char Rotation)
+ {
+ if (Rotation == 0) return 3542;
+ else if (Rotation == 1) return 3544;
+ else if (Rotation == 2) return 3546;
+ else if (Rotation == 3) return 3548;
+ else if (Rotation == 4) return 3550;
+ else if (Rotation == 5) return 3552;
+ else if (Rotation == 6) return 3554;
+ else if (Rotation == 7) return 3556;
+ else if (Rotation == 8) return 3558;
+ else if (Rotation == 9) return 3560;
+ else if (Rotation == 10) return 3562;
+ else if (Rotation == 11) return 3564;
+ else if (Rotation == 12) return 3566;
+ else if (Rotation == 13) return 3568;
+ else if (Rotation == 14) return 3570;
+ else return 3572;
+ }
+ BlockState DarkOakSign();
+ unsigned char Rotation(BlockState Block);
+ }
+ namespace DarkOakSlab
+ {
+ enum class Type
+ {
+ Top,
+ Bottom,
+ Double
+ };
+ constexpr BlockState DarkOakSlab(const enum Type Type)
+ {
+ if (Type == Type::Top) return 8331;
+ else if (Type == Type::Bottom) return 8333;
+ else return 8335;
+ }
+ BlockState DarkOakSlab();
+ enum Type Type(BlockState Block);
+ }
+ namespace DarkOakStairs
+ {
+ enum class Half
+ {
+ Top,
+ Bottom
+ };
+ enum class Shape
+ {
+ Straight,
+ InnerLeft,
+ InnerRight,
+ OuterLeft,
+ OuterRight
+ };
+ constexpr BlockState DarkOakStairs(const eBlockFace Facing, const enum Half Half, const enum Shape Shape)
+ {
+ if (Facing == eBlockFace::BLOCK_FACE_ZM)
+ if (Half == Half::Top)
+ if (Shape == Shape::Straight) return 7456;
+ else if (Shape == Shape::InnerLeft) return 7458;
+ else if (Shape == Shape::InnerRight) return 7460;
+ else if (Shape == Shape::OuterLeft) return 7462;
+ else return 7464;
+ else
+ if (Shape == Shape::Straight) return 7466;
+ else if (Shape == Shape::InnerLeft) return 7468;
+ else if (Shape == Shape::InnerRight) return 7470;
+ else if (Shape == Shape::OuterLeft) return 7472;
+ else return 7474;
+ else if (Facing == eBlockFace::BLOCK_FACE_ZP)
+ if (Half == Half::Top)
+ if (Shape == Shape::Straight) return 7476;
+ else if (Shape == Shape::InnerLeft) return 7478;
+ else if (Shape == Shape::InnerRight) return 7480;
+ else if (Shape == Shape::OuterLeft) return 7482;
+ else return 7484;
+ else
+ if (Shape == Shape::Straight) return 7486;
+ else if (Shape == Shape::InnerLeft) return 7488;
+ else if (Shape == Shape::InnerRight) return 7490;
+ else if (Shape == Shape::OuterLeft) return 7492;
+ else return 7494;
+ else if (Facing == eBlockFace::BLOCK_FACE_XM)
+ if (Half == Half::Top)
+ if (Shape == Shape::Straight) return 7496;
+ else if (Shape == Shape::InnerLeft) return 7498;
+ else if (Shape == Shape::InnerRight) return 7500;
+ else if (Shape == Shape::OuterLeft) return 7502;
+ else return 7504;
+ else
+ if (Shape == Shape::Straight) return 7506;
+ else if (Shape == Shape::InnerLeft) return 7508;
+ else if (Shape == Shape::InnerRight) return 7510;
+ else if (Shape == Shape::OuterLeft) return 7512;
+ else return 7514;
+ else
+ if (Half == Half::Top)
+ if (Shape == Shape::Straight) return 7516;
+ else if (Shape == Shape::InnerLeft) return 7518;
+ else if (Shape == Shape::InnerRight) return 7520;
+ else if (Shape == Shape::OuterLeft) return 7522;
+ else return 7524;
+ else
+ if (Shape == Shape::Straight) return 7526;
+ else if (Shape == Shape::InnerLeft) return 7528;
+ else if (Shape == Shape::InnerRight) return 7530;
+ else if (Shape == Shape::OuterLeft) return 7532;
+ else return 7534;
+ }
+ BlockState DarkOakStairs();
+ eBlockFace Facing(BlockState Block);
+ enum Half Half(BlockState Block);
+ enum Shape Shape(BlockState Block);
+ }
+ namespace DarkOakTrapdoor
+ {
+ enum class Half
+ {
+ Top,
+ Bottom
+ };
+ constexpr BlockState DarkOakTrapdoor(const eBlockFace Facing, const enum Half Half, const bool Open, const bool Powered)
+ {
+ if (Facing == eBlockFace::BLOCK_FACE_ZM)
+ if (Half == Half::Top)
+ if (Open)
+ if (Powered) return 4432;
+ else return 4434;
+ else
+ if (Powered) return 4436;
+ else return 4438;
+ else
+ if (Open)
+ if (Powered) return 4440;
+ else return 4442;
+ else
+ if (Powered) return 4444;
+ else return 4446;
+ else if (Facing == eBlockFace::BLOCK_FACE_ZP)
+ if (Half == Half::Top)
+ if (Open)
+ if (Powered) return 4448;
+ else return 4450;
+ else
+ if (Powered) return 4452;
+ else return 4454;
+ else
+ if (Open)
+ if (Powered) return 4456;
+ else return 4458;
+ else
+ if (Powered) return 4460;
+ else return 4462;
+ else if (Facing == eBlockFace::BLOCK_FACE_XM)
+ if (Half == Half::Top)
+ if (Open)
+ if (Powered) return 4464;
+ else return 4466;
+ else
+ if (Powered) return 4468;
+ else return 4470;
+ else
+ if (Open)
+ if (Powered) return 4472;
+ else return 4474;
+ else
+ if (Powered) return 4476;
+ else return 4478;
+ else
+ if (Half == Half::Top)
+ if (Open)
+ if (Powered) return 4480;
+ else return 4482;
+ else
+ if (Powered) return 4484;
+ else return 4486;
+ else
+ if (Open)
+ if (Powered) return 4488;
+ else return 4490;
+ else
+ if (Powered) return 4492;
+ else return 4494;
+ }
+ BlockState DarkOakTrapdoor();
+ eBlockFace Facing(BlockState Block);
+ enum Half Half(BlockState Block);
+ bool Open(BlockState Block);
+ bool Powered(BlockState Block);
+ }
+ namespace DarkOakWallSign
+ {
+ constexpr BlockState DarkOakWallSign(const eBlockFace Facing)
+ {
+ if (Facing == eBlockFace::BLOCK_FACE_ZM) return 3776;
+ else if (Facing == eBlockFace::BLOCK_FACE_ZP) return 3778;
+ else if (Facing == eBlockFace::BLOCK_FACE_XM) return 3780;
+ else return 3782;
+ }
+ BlockState DarkOakWallSign();
+ eBlockFace Facing(BlockState Block);
+ }
+ namespace DarkOakWood
+ {
+ enum class Axis
+ {
+ X,
+ Y,
+ Z
+ };
+ constexpr BlockState DarkOakWood(const enum Axis Axis)
+ {
+ if (Axis == Axis::X) return 124;
+ else if (Axis == Axis::Y) return 125;
+ else return 126;
+ }
+ BlockState DarkOakWood();
+ enum Axis Axis(BlockState Block);
+ }
+ namespace DarkPrismarine
+ {
+ constexpr BlockState DarkPrismarine()
+ {
+ return 7603;
+ }
+ }
+ namespace DarkPrismarineSlab
+ {
+ enum class Type
+ {
+ Top,
+ Bottom,
+ Double
+ };
+ constexpr BlockState DarkPrismarineSlab(const enum Type Type)
+ {
+ if (Type == Type::Top) return 7857;
+ else if (Type == Type::Bottom) return 7859;
+ else return 7861;
+ }
+ BlockState DarkPrismarineSlab();
+ enum Type Type(BlockState Block);
+ }
+ namespace DarkPrismarineStairs
+ {
+ enum class Half
+ {
+ Top,
+ Bottom
+ };
+ enum class Shape
+ {
+ Straight,
+ InnerLeft,
+ InnerRight,
+ OuterLeft,
+ OuterRight
+ };
+ constexpr BlockState DarkPrismarineStairs(const eBlockFace Facing, const enum Half Half, const enum Shape Shape)
+ {
+ if (Facing == eBlockFace::BLOCK_FACE_ZM)
+ if (Half == Half::Top)
+ if (Shape == Shape::Straight) return 7765;
+ else if (Shape == Shape::InnerLeft) return 7767;
+ else if (Shape == Shape::InnerRight) return 7769;
+ else if (Shape == Shape::OuterLeft) return 7771;
+ else return 7773;
+ else
+ if (Shape == Shape::Straight) return 7775;
+ else if (Shape == Shape::InnerLeft) return 7777;
+ else if (Shape == Shape::InnerRight) return 7779;
+ else if (Shape == Shape::OuterLeft) return 7781;
+ else return 7783;
+ else if (Facing == eBlockFace::BLOCK_FACE_ZP)
+ if (Half == Half::Top)
+ if (Shape == Shape::Straight) return 7785;
+ else if (Shape == Shape::InnerLeft) return 7787;
+ else if (Shape == Shape::InnerRight) return 7789;
+ else if (Shape == Shape::OuterLeft) return 7791;
+ else return 7793;
+ else
+ if (Shape == Shape::Straight) return 7795;
+ else if (Shape == Shape::InnerLeft) return 7797;
+ else if (Shape == Shape::InnerRight) return 7799;
+ else if (Shape == Shape::OuterLeft) return 7801;
+ else return 7803;
+ else if (Facing == eBlockFace::BLOCK_FACE_XM)
+ if (Half == Half::Top)
+ if (Shape == Shape::Straight) return 7805;
+ else if (Shape == Shape::InnerLeft) return 7807;
+ else if (Shape == Shape::InnerRight) return 7809;
+ else if (Shape == Shape::OuterLeft) return 7811;
+ else return 7813;
+ else
+ if (Shape == Shape::Straight) return 7815;
+ else if (Shape == Shape::InnerLeft) return 7817;
+ else if (Shape == Shape::InnerRight) return 7819;
+ else if (Shape == Shape::OuterLeft) return 7821;
+ else return 7823;
+ else
+ if (Half == Half::Top)
+ if (Shape == Shape::Straight) return 7825;
+ else if (Shape == Shape::InnerLeft) return 7827;
+ else if (Shape == Shape::InnerRight) return 7829;
+ else if (Shape == Shape::OuterLeft) return 7831;
+ else return 7833;
+ else
+ if (Shape == Shape::Straight) return 7835;
+ else if (Shape == Shape::InnerLeft) return 7837;
+ else if (Shape == Shape::InnerRight) return 7839;
+ else if (Shape == Shape::OuterLeft) return 7841;
+ else return 7843;
+ }
+ BlockState DarkPrismarineStairs();
+ eBlockFace Facing(BlockState Block);
+ enum Half Half(BlockState Block);
+ enum Shape Shape(BlockState Block);
+ }
+ namespace DaylightDetector
+ {
+ constexpr BlockState DaylightDetector(const bool Inverted, const unsigned char Power)
+ {
+ if (Inverted)
+ if (Power == 0) return 6694;
+ else if (Power == 1) return 6695;
+ else if (Power == 2) return 6696;
+ else if (Power == 3) return 6697;
+ else if (Power == 4) return 6698;
+ else if (Power == 5) return 6699;
+ else if (Power == 6) return 6700;
+ else if (Power == 7) return 6701;
+ else if (Power == 8) return 6702;
+ else if (Power == 9) return 6703;
+ else if (Power == 10) return 6704;
+ else if (Power == 11) return 6705;
+ else if (Power == 12) return 6706;
+ else if (Power == 13) return 6707;
+ else if (Power == 14) return 6708;
+ else return 6709;
+ else
+ if (Power == 0) return 6710;
+ else if (Power == 1) return 6711;
+ else if (Power == 2) return 6712;
+ else if (Power == 3) return 6713;
+ else if (Power == 4) return 6714;
+ else if (Power == 5) return 6715;
+ else if (Power == 6) return 6716;
+ else if (Power == 7) return 6717;
+ else if (Power == 8) return 6718;
+ else if (Power == 9) return 6719;
+ else if (Power == 10) return 6720;
+ else if (Power == 11) return 6721;
+ else if (Power == 12) return 6722;
+ else if (Power == 13) return 6723;
+ else if (Power == 14) return 6724;
+ else return 6725;
+ }
+ BlockState DaylightDetector();
+ bool Inverted(BlockState Block);
+ unsigned char Power(BlockState Block);
+ }
+ namespace DeadBrainCoral
+ {
+ constexpr BlockState DeadBrainCoral()
+ {
+ return 9523;
+ }
+ }
+ namespace DeadBrainCoralBlock
+ {
+ constexpr BlockState DeadBrainCoralBlock()
+ {
+ return 9511;
+ }
+ }
+ namespace DeadBrainCoralFan
+ {
+ constexpr BlockState DeadBrainCoralFan()
+ {
+ return 9543;
+ }
+ }
+ namespace DeadBrainCoralWallFan
+ {
+ constexpr BlockState DeadBrainCoralWallFan(const eBlockFace Facing)
+ {
+ if (Facing == eBlockFace::BLOCK_FACE_ZM) return 9569;
+ else if (Facing == eBlockFace::BLOCK_FACE_ZP) return 9571;
+ else if (Facing == eBlockFace::BLOCK_FACE_XM) return 9573;
+ else return 9575;
+ }
+ BlockState DeadBrainCoralWallFan();
+ eBlockFace Facing(BlockState Block);
+ }
+ namespace DeadBubbleCoral
+ {
+ constexpr BlockState DeadBubbleCoral()
+ {
+ return 9525;
+ }
+ }
+ namespace DeadBubbleCoralBlock
+ {
+ constexpr BlockState DeadBubbleCoralBlock()
+ {
+ return 9512;
+ }
+ }
+ namespace DeadBubbleCoralFan
+ {
+ constexpr BlockState DeadBubbleCoralFan()
+ {
+ return 9545;
+ }
+ }
+ namespace DeadBubbleCoralWallFan
+ {
+ constexpr BlockState DeadBubbleCoralWallFan(const eBlockFace Facing)
+ {
+ if (Facing == eBlockFace::BLOCK_FACE_ZM) return 9577;
+ else if (Facing == eBlockFace::BLOCK_FACE_ZP) return 9579;
+ else if (Facing == eBlockFace::BLOCK_FACE_XM) return 9581;
+ else return 9583;
+ }
+ BlockState DeadBubbleCoralWallFan();
+ eBlockFace Facing(BlockState Block);
+ }
+ namespace DeadBush
+ {
+ constexpr BlockState DeadBush()
+ {
+ return 1344;
+ }
+ }
+ namespace DeadFireCoral
+ {
+ constexpr BlockState DeadFireCoral()
+ {
+ return 9527;
+ }
+ }
+ namespace DeadFireCoralBlock
+ {
+ constexpr BlockState DeadFireCoralBlock()
+ {
+ return 9513;
+ }
+ }
+ namespace DeadFireCoralFan
+ {
+ constexpr BlockState DeadFireCoralFan()
+ {
+ return 9547;
+ }
+ }
+ namespace DeadFireCoralWallFan
+ {
+ constexpr BlockState DeadFireCoralWallFan(const eBlockFace Facing)
+ {
+ if (Facing == eBlockFace::BLOCK_FACE_ZM) return 9585;
+ else if (Facing == eBlockFace::BLOCK_FACE_ZP) return 9587;
+ else if (Facing == eBlockFace::BLOCK_FACE_XM) return 9589;
+ else return 9591;
+ }
+ BlockState DeadFireCoralWallFan();
+ eBlockFace Facing(BlockState Block);
+ }
+ namespace DeadHornCoral
+ {
+ constexpr BlockState DeadHornCoral()
+ {
+ return 9529;
+ }
+ }
+ namespace DeadHornCoralBlock
+ {
+ constexpr BlockState DeadHornCoralBlock()
+ {
+ return 9514;
+ }
+ }
+ namespace DeadHornCoralFan
+ {
+ constexpr BlockState DeadHornCoralFan()
+ {
+ return 9549;
+ }
+ }
+ namespace DeadHornCoralWallFan
+ {
+ constexpr BlockState DeadHornCoralWallFan(const eBlockFace Facing)
+ {
+ if (Facing == eBlockFace::BLOCK_FACE_ZM) return 9593;
+ else if (Facing == eBlockFace::BLOCK_FACE_ZP) return 9595;
+ else if (Facing == eBlockFace::BLOCK_FACE_XM) return 9597;
+ else return 9599;
+ }
+ BlockState DeadHornCoralWallFan();
+ eBlockFace Facing(BlockState Block);
+ }
+ namespace DeadTubeCoral
+ {
+ constexpr BlockState DeadTubeCoral()
+ {
+ return 9521;
+ }
+ }
+ namespace DeadTubeCoralBlock
+ {
+ constexpr BlockState DeadTubeCoralBlock()
+ {
+ return 9510;
+ }
+ }
+ namespace DeadTubeCoralFan
+ {
+ constexpr BlockState DeadTubeCoralFan()
+ {
+ return 9541;
+ }
+ }
+ namespace DeadTubeCoralWallFan
+ {
+ constexpr BlockState DeadTubeCoralWallFan(const eBlockFace Facing)
+ {
+ if (Facing == eBlockFace::BLOCK_FACE_ZM) return 9561;
+ else if (Facing == eBlockFace::BLOCK_FACE_ZP) return 9563;
+ else if (Facing == eBlockFace::BLOCK_FACE_XM) return 9565;
+ else return 9567;
+ }
+ BlockState DeadTubeCoralWallFan();
+ eBlockFace Facing(BlockState Block);
+ }
+ namespace DetectorRail
+ {
+ enum class Shape
+ {
+ NorthSouth,
+ EastWest,
+ AscendingEast,
+ AscendingWest,
+ AscendingNorth,
+ AscendingSouth
+ };
+ constexpr BlockState DetectorRail(const bool Powered, const enum Shape Shape)
+ {
+ if (Powered)
+ if (Shape == Shape::NorthSouth) return 1317;
+ else if (Shape == Shape::EastWest) return 1318;
+ else if (Shape == Shape::AscendingEast) return 1319;
+ else if (Shape == Shape::AscendingWest) return 1320;
+ else if (Shape == Shape::AscendingNorth) return 1321;
+ else return 1322;
+ else
+ if (Shape == Shape::NorthSouth) return 1323;
+ else if (Shape == Shape::EastWest) return 1324;
+ else if (Shape == Shape::AscendingEast) return 1325;
+ else if (Shape == Shape::AscendingWest) return 1326;
+ else if (Shape == Shape::AscendingNorth) return 1327;
+ else return 1328;
+ }
+ BlockState DetectorRail();
+ bool Powered(BlockState Block);
+ enum Shape Shape(BlockState Block);
+ }
+ namespace DiamondBlock
+ {
+ constexpr BlockState DiamondBlock()
+ {
+ return 3355;
+ }
+ }
+ namespace DiamondOre
+ {
+ constexpr BlockState DiamondOre()
+ {
+ return 3354;
+ }
+ }
+ namespace Diorite
+ {
+ constexpr BlockState Diorite()
+ {
+ return 4;
+ }
+ }
+ namespace DioriteSlab
+ {
+ enum class Type
+ {
+ Top,
+ Bottom,
+ Double
+ };
+ constexpr BlockState DioriteSlab(const enum Type Type)
+ {
+ if (Type == Type::Top) return 10862;
+ else if (Type == Type::Bottom) return 10864;
+ else return 10866;
+ }
+ BlockState DioriteSlab();
+ enum Type Type(BlockState Block);
+ }
+ namespace DioriteStairs
+ {
+ enum class Half
+ {
+ Top,
+ Bottom
+ };
+ enum class Shape
+ {
+ Straight,
+ InnerLeft,
+ InnerRight,
+ OuterLeft,
+ OuterRight
+ };
+ constexpr BlockState DioriteStairs(const eBlockFace Facing, const enum Half Half, const enum Shape Shape)
+ {
+ if (Facing == eBlockFace::BLOCK_FACE_ZM)
+ if (Half == Half::Top)
+ if (Shape == Shape::Straight) return 10710;
+ else if (Shape == Shape::InnerLeft) return 10712;
+ else if (Shape == Shape::InnerRight) return 10714;
+ else if (Shape == Shape::OuterLeft) return 10716;
+ else return 10718;
+ else
+ if (Shape == Shape::Straight) return 10720;
+ else if (Shape == Shape::InnerLeft) return 10722;
+ else if (Shape == Shape::InnerRight) return 10724;
+ else if (Shape == Shape::OuterLeft) return 10726;
+ else return 10728;
+ else if (Facing == eBlockFace::BLOCK_FACE_ZP)
+ if (Half == Half::Top)
+ if (Shape == Shape::Straight) return 10730;
+ else if (Shape == Shape::InnerLeft) return 10732;
+ else if (Shape == Shape::InnerRight) return 10734;
+ else if (Shape == Shape::OuterLeft) return 10736;
+ else return 10738;
+ else
+ if (Shape == Shape::Straight) return 10740;
+ else if (Shape == Shape::InnerLeft) return 10742;
+ else if (Shape == Shape::InnerRight) return 10744;
+ else if (Shape == Shape::OuterLeft) return 10746;
+ else return 10748;
+ else if (Facing == eBlockFace::BLOCK_FACE_XM)
+ if (Half == Half::Top)
+ if (Shape == Shape::Straight) return 10750;
+ else if (Shape == Shape::InnerLeft) return 10752;
+ else if (Shape == Shape::InnerRight) return 10754;
+ else if (Shape == Shape::OuterLeft) return 10756;
+ else return 10758;
+ else
+ if (Shape == Shape::Straight) return 10760;
+ else if (Shape == Shape::InnerLeft) return 10762;
+ else if (Shape == Shape::InnerRight) return 10764;
+ else if (Shape == Shape::OuterLeft) return 10766;
+ else return 10768;
+ else
+ if (Half == Half::Top)
+ if (Shape == Shape::Straight) return 10770;
+ else if (Shape == Shape::InnerLeft) return 10772;
+ else if (Shape == Shape::InnerRight) return 10774;
+ else if (Shape == Shape::OuterLeft) return 10776;
+ else return 10778;
+ else
+ if (Shape == Shape::Straight) return 10780;
+ else if (Shape == Shape::InnerLeft) return 10782;
+ else if (Shape == Shape::InnerRight) return 10784;
+ else if (Shape == Shape::OuterLeft) return 10786;
+ else return 10788;
+ }
+ BlockState DioriteStairs();
+ eBlockFace Facing(BlockState Block);
+ enum Half Half(BlockState Block);
+ enum Shape Shape(BlockState Block);
+ }
+ namespace DioriteWall
+ {
+ enum class East
+ {
+ None,
+ Low,
+ Tall
+ };
+ enum class North
+ {
+ None,
+ Low,
+ Tall
+ };
+ enum class South
+ {
+ None,
+ Low,
+ Tall
+ };
+ enum class West
+ {
+ None,
+ Low,
+ Tall
+ };
+ constexpr BlockState DioriteWall(const enum East East, const enum North North, const enum South South, const bool Up, const enum West West)
+ {
+ if (East == East::None)
+ if (North == North::None)
+ if (South == South::None)
+ if (Up)
+ if (West == West::None) return 14434;
+ else if (West == West::Low) return 14435;
+ else return 14436;
+ else
+ if (West == West::None) return 14440;
+ else if (West == West::Low) return 14441;
+ else return 14442;
+ else if (South == South::Low)
+ if (Up)
+ if (West == West::None) return 14446;
+ else if (West == West::Low) return 14447;
+ else return 14448;
+ else
+ if (West == West::None) return 14452;
+ else if (West == West::Low) return 14453;
+ else return 14454;
+ else
+ if (Up)
+ if (West == West::None) return 14458;
+ else if (West == West::Low) return 14459;
+ else return 14460;
+ else
+ if (West == West::None) return 14464;
+ else if (West == West::Low) return 14465;
+ else return 14466;
+ else if (North == North::Low)
+ if (South == South::None)
+ if (Up)
+ if (West == West::None) return 14470;
+ else if (West == West::Low) return 14471;
+ else return 14472;
+ else
+ if (West == West::None) return 14476;
+ else if (West == West::Low) return 14477;
+ else return 14478;
+ else if (South == South::Low)
+ if (Up)
+ if (West == West::None) return 14482;
+ else if (West == West::Low) return 14483;
+ else return 14484;
+ else
+ if (West == West::None) return 14488;
+ else if (West == West::Low) return 14489;
+ else return 14490;
+ else
+ if (Up)
+ if (West == West::None) return 14494;
+ else if (West == West::Low) return 14495;
+ else return 14496;
+ else
+ if (West == West::None) return 14500;
+ else if (West == West::Low) return 14501;
+ else return 14502;
+ else
+ if (South == South::None)
+ if (Up)
+ if (West == West::None) return 14506;
+ else if (West == West::Low) return 14507;
+ else return 14508;
+ else
+ if (West == West::None) return 14512;
+ else if (West == West::Low) return 14513;
+ else return 14514;
+ else if (South == South::Low)
+ if (Up)
+ if (West == West::None) return 14518;
+ else if (West == West::Low) return 14519;
+ else return 14520;
+ else
+ if (West == West::None) return 14524;
+ else if (West == West::Low) return 14525;
+ else return 14526;
+ else
+ if (Up)
+ if (West == West::None) return 14530;
+ else if (West == West::Low) return 14531;
+ else return 14532;
+ else
+ if (West == West::None) return 14536;
+ else if (West == West::Low) return 14537;
+ else return 14538;
+ else if (East == East::Low)
+ if (North == North::None)
+ if (South == South::None)
+ if (Up)
+ if (West == West::None) return 14542;
+ else if (West == West::Low) return 14543;
+ else return 14544;
+ else
+ if (West == West::None) return 14548;
+ else if (West == West::Low) return 14549;
+ else return 14550;
+ else if (South == South::Low)
+ if (Up)
+ if (West == West::None) return 14554;
+ else if (West == West::Low) return 14555;
+ else return 14556;
+ else
+ if (West == West::None) return 14560;
+ else if (West == West::Low) return 14561;
+ else return 14562;
+ else
+ if (Up)
+ if (West == West::None) return 14566;
+ else if (West == West::Low) return 14567;
+ else return 14568;
+ else
+ if (West == West::None) return 14572;
+ else if (West == West::Low) return 14573;
+ else return 14574;
+ else if (North == North::Low)
+ if (South == South::None)
+ if (Up)
+ if (West == West::None) return 14578;
+ else if (West == West::Low) return 14579;
+ else return 14580;
+ else
+ if (West == West::None) return 14584;
+ else if (West == West::Low) return 14585;
+ else return 14586;
+ else if (South == South::Low)
+ if (Up)
+ if (West == West::None) return 14590;
+ else if (West == West::Low) return 14591;
+ else return 14592;
+ else
+ if (West == West::None) return 14596;
+ else if (West == West::Low) return 14597;
+ else return 14598;
+ else
+ if (Up)
+ if (West == West::None) return 14602;
+ else if (West == West::Low) return 14603;
+ else return 14604;
+ else
+ if (West == West::None) return 14608;
+ else if (West == West::Low) return 14609;
+ else return 14610;
+ else
+ if (South == South::None)
+ if (Up)
+ if (West == West::None) return 14614;
+ else if (West == West::Low) return 14615;
+ else return 14616;
+ else
+ if (West == West::None) return 14620;
+ else if (West == West::Low) return 14621;
+ else return 14622;
+ else if (South == South::Low)
+ if (Up)
+ if (West == West::None) return 14626;
+ else if (West == West::Low) return 14627;
+ else return 14628;
+ else
+ if (West == West::None) return 14632;
+ else if (West == West::Low) return 14633;
+ else return 14634;
+ else
+ if (Up)
+ if (West == West::None) return 14638;
+ else if (West == West::Low) return 14639;
+ else return 14640;
+ else
+ if (West == West::None) return 14644;
+ else if (West == West::Low) return 14645;
+ else return 14646;
+ else
+ if (North == North::None)
+ if (South == South::None)
+ if (Up)
+ if (West == West::None) return 14650;
+ else if (West == West::Low) return 14651;
+ else return 14652;
+ else
+ if (West == West::None) return 14656;
+ else if (West == West::Low) return 14657;
+ else return 14658;
+ else if (South == South::Low)
+ if (Up)
+ if (West == West::None) return 14662;
+ else if (West == West::Low) return 14663;
+ else return 14664;
+ else
+ if (West == West::None) return 14668;
+ else if (West == West::Low) return 14669;
+ else return 14670;
+ else
+ if (Up)
+ if (West == West::None) return 14674;
+ else if (West == West::Low) return 14675;
+ else return 14676;
+ else
+ if (West == West::None) return 14680;
+ else if (West == West::Low) return 14681;
+ else return 14682;
+ else if (North == North::Low)
+ if (South == South::None)
+ if (Up)
+ if (West == West::None) return 14686;
+ else if (West == West::Low) return 14687;
+ else return 14688;
+ else
+ if (West == West::None) return 14692;
+ else if (West == West::Low) return 14693;
+ else return 14694;
+ else if (South == South::Low)
+ if (Up)
+ if (West == West::None) return 14698;
+ else if (West == West::Low) return 14699;
+ else return 14700;
+ else
+ if (West == West::None) return 14704;
+ else if (West == West::Low) return 14705;
+ else return 14706;
+ else
+ if (Up)
+ if (West == West::None) return 14710;
+ else if (West == West::Low) return 14711;
+ else return 14712;
+ else
+ if (West == West::None) return 14716;
+ else if (West == West::Low) return 14717;
+ else return 14718;
+ else
+ if (South == South::None)
+ if (Up)
+ if (West == West::None) return 14722;
+ else if (West == West::Low) return 14723;
+ else return 14724;
+ else
+ if (West == West::None) return 14728;
+ else if (West == West::Low) return 14729;
+ else return 14730;
+ else if (South == South::Low)
+ if (Up)
+ if (West == West::None) return 14734;
+ else if (West == West::Low) return 14735;
+ else return 14736;
+ else
+ if (West == West::None) return 14740;
+ else if (West == West::Low) return 14741;
+ else return 14742;
+ else
+ if (Up)
+ if (West == West::None) return 14746;
+ else if (West == West::Low) return 14747;
+ else return 14748;
+ else
+ if (West == West::None) return 14752;
+ else if (West == West::Low) return 14753;
+ else return 14754;
+ }
+ BlockState DioriteWall();
+ enum East East(BlockState Block);
+ enum North North(BlockState Block);
+ enum South South(BlockState Block);
+ bool Up(BlockState Block);
+ enum West West(BlockState Block);
+ }
+ namespace Dirt
+ {
+ constexpr BlockState Dirt()
+ {
+ return 10;
+ }
+ }
+ namespace Dispenser
+ {
+ constexpr BlockState Dispenser(const eBlockFace Facing, const bool Triggered)
+ {
+ if (Facing == eBlockFace::BLOCK_FACE_ZM)
+ if (Triggered) return 234;
+ else return 235;
+ else if (Facing == eBlockFace::BLOCK_FACE_XP)
+ if (Triggered) return 236;
+ else return 237;
+ else if (Facing == eBlockFace::BLOCK_FACE_ZP)
+ if (Triggered) return 238;
+ else return 239;
+ else if (Facing == eBlockFace::BLOCK_FACE_XM)
+ if (Triggered) return 240;
+ else return 241;
+ else if (Facing == eBlockFace::BLOCK_FACE_YP)
+ if (Triggered) return 242;
+ else return 243;
+ else
+ if (Triggered) return 244;
+ else return 245;
+ }
+ BlockState Dispenser();
+ eBlockFace Facing(BlockState Block);
+ bool Triggered(BlockState Block);
+ }
+ namespace DragonEgg
+ {
+ constexpr BlockState DragonEgg()
+ {
+ return 5155;
+ }
+ }
+ namespace DragonHead
+ {
+ constexpr BlockState DragonHead(const unsigned char Rotation)
+ {
+ if (Rotation == 0) return 6590;
+ else if (Rotation == 1) return 6591;
+ else if (Rotation == 2) return 6592;
+ else if (Rotation == 3) return 6593;
+ else if (Rotation == 4) return 6594;
+ else if (Rotation == 5) return 6595;
+ else if (Rotation == 6) return 6596;
+ else if (Rotation == 7) return 6597;
+ else if (Rotation == 8) return 6598;
+ else if (Rotation == 9) return 6599;
+ else if (Rotation == 10) return 6600;
+ else if (Rotation == 11) return 6601;
+ else if (Rotation == 12) return 6602;
+ else if (Rotation == 13) return 6603;
+ else if (Rotation == 14) return 6604;
+ else return 6605;
+ }
+ BlockState DragonHead();
+ unsigned char Rotation(BlockState Block);
+ }
+ namespace DragonWallHead
+ {
+ constexpr BlockState DragonWallHead(const eBlockFace Facing)
+ {
+ if (Facing == eBlockFace::BLOCK_FACE_ZM) return 6606;
+ else if (Facing == eBlockFace::BLOCK_FACE_ZP) return 6607;
+ else if (Facing == eBlockFace::BLOCK_FACE_XM) return 6608;
+ else return 6609;
+ }
+ BlockState DragonWallHead();
+ eBlockFace Facing(BlockState Block);
+ }
+ namespace DriedKelpBlock
+ {
+ constexpr BlockState DriedKelpBlock()
+ {
+ return 9497;
+ }
+ }
+ namespace Dropper
+ {
+ constexpr BlockState Dropper(const eBlockFace Facing, const bool Triggered)
+ {
+ if (Facing == eBlockFace::BLOCK_FACE_ZM)
+ if (Triggered) return 6835;
+ else return 6836;
+ else if (Facing == eBlockFace::BLOCK_FACE_XP)
+ if (Triggered) return 6837;
+ else return 6838;
+ else if (Facing == eBlockFace::BLOCK_FACE_ZP)
+ if (Triggered) return 6839;
+ else return 6840;
+ else if (Facing == eBlockFace::BLOCK_FACE_XM)
+ if (Triggered) return 6841;
+ else return 6842;
+ else if (Facing == eBlockFace::BLOCK_FACE_YP)
+ if (Triggered) return 6843;
+ else return 6844;
+ else
+ if (Triggered) return 6845;
+ else return 6846;
+ }
+ BlockState Dropper();
+ eBlockFace Facing(BlockState Block);
+ bool Triggered(BlockState Block);
+ }
+ namespace EmeraldBlock
+ {
+ constexpr BlockState EmeraldBlock()
+ {
+ return 5403;
+ }
+ }
+ namespace EmeraldOre
+ {
+ constexpr BlockState EmeraldOre()
+ {
+ return 5250;
+ }
+ }
+ namespace EnchantingTable
+ {
+ constexpr BlockState EnchantingTable()
+ {
+ return 5132;
+ }
+ }
+ namespace EndGateway
+ {
+ constexpr BlockState EndGateway()
+ {
+ return 9224;
+ }
+ }
+ namespace EndPortal
+ {
+ constexpr BlockState EndPortal()
+ {
+ return 5145;
+ }
+ }
+ namespace EndPortalFrame
+ {
+ constexpr BlockState EndPortalFrame(const bool Eye, const eBlockFace Facing)
+ {
+ if (Eye)
+ if (Facing == eBlockFace::BLOCK_FACE_ZM) return 5146;
+ else if (Facing == eBlockFace::BLOCK_FACE_ZP) return 5147;
+ else if (Facing == eBlockFace::BLOCK_FACE_XM) return 5148;
+ else return 5149;
+ else
+ if (Facing == eBlockFace::BLOCK_FACE_ZM) return 5150;
+ else if (Facing == eBlockFace::BLOCK_FACE_ZP) return 5151;
+ else if (Facing == eBlockFace::BLOCK_FACE_XM) return 5152;
+ else return 5153;
+ }
+ BlockState EndPortalFrame();
+ bool Eye(BlockState Block);
+ eBlockFace Facing(BlockState Block);
+ }
+ namespace EndRod
+ {
+ constexpr BlockState EndRod(const eBlockFace Facing)
+ {
+ if (Facing == eBlockFace::BLOCK_FACE_ZM) return 9058;
+ else if (Facing == eBlockFace::BLOCK_FACE_XP) return 9059;
+ else if (Facing == eBlockFace::BLOCK_FACE_ZP) return 9060;
+ else if (Facing == eBlockFace::BLOCK_FACE_XM) return 9061;
+ else if (Facing == eBlockFace::BLOCK_FACE_YP) return 9062;
+ else return 9063;
+ }
+ BlockState EndRod();
+ eBlockFace Facing(BlockState Block);
+ }
+ namespace EndStone
+ {
+ constexpr BlockState EndStone()
+ {
+ return 5154;
+ }
+ }
+ namespace EndStoneBrickSlab
+ {
+ enum class Type
+ {
+ Top,
+ Bottom,
+ Double
+ };
+ constexpr BlockState EndStoneBrickSlab(const enum Type Type)
+ {
+ if (Type == Type::Top) return 10820;
+ else if (Type == Type::Bottom) return 10822;
+ else return 10824;
+ }
+ BlockState EndStoneBrickSlab();
+ enum Type Type(BlockState Block);
+ }
+ namespace EndStoneBrickStairs
+ {
+ enum class Half
+ {
+ Top,
+ Bottom
+ };
+ enum class Shape
+ {
+ Straight,
+ InnerLeft,
+ InnerRight,
+ OuterLeft,
+ OuterRight
+ };
+ constexpr BlockState EndStoneBrickStairs(const eBlockFace Facing, const enum Half Half, const enum Shape Shape)
+ {
+ if (Facing == eBlockFace::BLOCK_FACE_ZM)
+ if (Half == Half::Top)
+ if (Shape == Shape::Straight) return 10070;
+ else if (Shape == Shape::InnerLeft) return 10072;
+ else if (Shape == Shape::InnerRight) return 10074;
+ else if (Shape == Shape::OuterLeft) return 10076;
+ else return 10078;
+ else
+ if (Shape == Shape::Straight) return 10080;
+ else if (Shape == Shape::InnerLeft) return 10082;
+ else if (Shape == Shape::InnerRight) return 10084;
+ else if (Shape == Shape::OuterLeft) return 10086;
+ else return 10088;
+ else if (Facing == eBlockFace::BLOCK_FACE_ZP)
+ if (Half == Half::Top)
+ if (Shape == Shape::Straight) return 10090;
+ else if (Shape == Shape::InnerLeft) return 10092;
+ else if (Shape == Shape::InnerRight) return 10094;
+ else if (Shape == Shape::OuterLeft) return 10096;
+ else return 10098;
+ else
+ if (Shape == Shape::Straight) return 10100;
+ else if (Shape == Shape::InnerLeft) return 10102;
+ else if (Shape == Shape::InnerRight) return 10104;
+ else if (Shape == Shape::OuterLeft) return 10106;
+ else return 10108;
+ else if (Facing == eBlockFace::BLOCK_FACE_XM)
+ if (Half == Half::Top)
+ if (Shape == Shape::Straight) return 10110;
+ else if (Shape == Shape::InnerLeft) return 10112;
+ else if (Shape == Shape::InnerRight) return 10114;
+ else if (Shape == Shape::OuterLeft) return 10116;
+ else return 10118;
+ else
+ if (Shape == Shape::Straight) return 10120;
+ else if (Shape == Shape::InnerLeft) return 10122;
+ else if (Shape == Shape::InnerRight) return 10124;
+ else if (Shape == Shape::OuterLeft) return 10126;
+ else return 10128;
+ else
+ if (Half == Half::Top)
+ if (Shape == Shape::Straight) return 10130;
+ else if (Shape == Shape::InnerLeft) return 10132;
+ else if (Shape == Shape::InnerRight) return 10134;
+ else if (Shape == Shape::OuterLeft) return 10136;
+ else return 10138;
+ else
+ if (Shape == Shape::Straight) return 10140;
+ else if (Shape == Shape::InnerLeft) return 10142;
+ else if (Shape == Shape::InnerRight) return 10144;
+ else if (Shape == Shape::OuterLeft) return 10146;
+ else return 10148;
+ }
+ BlockState EndStoneBrickStairs();
+ eBlockFace Facing(BlockState Block);
+ enum Half Half(BlockState Block);
+ enum Shape Shape(BlockState Block);
+ }
+ namespace EndStoneBrickWall
+ {
+ enum class East
+ {
+ None,
+ Low,
+ Tall
+ };
+ enum class North
+ {
+ None,
+ Low,
+ Tall
+ };
+ enum class South
+ {
+ None,
+ Low,
+ Tall
+ };
+ enum class West
+ {
+ None,
+ Low,
+ Tall
+ };
+ constexpr BlockState EndStoneBrickWall(const enum East East, const enum North North, const enum South South, const bool Up, const enum West West)
+ {
+ if (East == East::None)
+ if (North == North::None)
+ if (South == South::None)
+ if (Up)
+ if (West == West::None) return 14110;
+ else if (West == West::Low) return 14111;
+ else return 14112;
+ else
+ if (West == West::None) return 14116;
+ else if (West == West::Low) return 14117;
+ else return 14118;
+ else if (South == South::Low)
+ if (Up)
+ if (West == West::None) return 14122;
+ else if (West == West::Low) return 14123;
+ else return 14124;
+ else
+ if (West == West::None) return 14128;
+ else if (West == West::Low) return 14129;
+ else return 14130;
+ else
+ if (Up)
+ if (West == West::None) return 14134;
+ else if (West == West::Low) return 14135;
+ else return 14136;
+ else
+ if (West == West::None) return 14140;
+ else if (West == West::Low) return 14141;
+ else return 14142;
+ else if (North == North::Low)
+ if (South == South::None)
+ if (Up)
+ if (West == West::None) return 14146;
+ else if (West == West::Low) return 14147;
+ else return 14148;
+ else
+ if (West == West::None) return 14152;
+ else if (West == West::Low) return 14153;
+ else return 14154;
+ else if (South == South::Low)
+ if (Up)
+ if (West == West::None) return 14158;
+ else if (West == West::Low) return 14159;
+ else return 14160;
+ else
+ if (West == West::None) return 14164;
+ else if (West == West::Low) return 14165;
+ else return 14166;
+ else
+ if (Up)
+ if (West == West::None) return 14170;
+ else if (West == West::Low) return 14171;
+ else return 14172;
+ else
+ if (West == West::None) return 14176;
+ else if (West == West::Low) return 14177;
+ else return 14178;
+ else
+ if (South == South::None)
+ if (Up)
+ if (West == West::None) return 14182;
+ else if (West == West::Low) return 14183;
+ else return 14184;
+ else
+ if (West == West::None) return 14188;
+ else if (West == West::Low) return 14189;
+ else return 14190;
+ else if (South == South::Low)
+ if (Up)
+ if (West == West::None) return 14194;
+ else if (West == West::Low) return 14195;
+ else return 14196;
+ else
+ if (West == West::None) return 14200;
+ else if (West == West::Low) return 14201;
+ else return 14202;
+ else
+ if (Up)
+ if (West == West::None) return 14206;
+ else if (West == West::Low) return 14207;
+ else return 14208;
+ else
+ if (West == West::None) return 14212;
+ else if (West == West::Low) return 14213;
+ else return 14214;
+ else if (East == East::Low)
+ if (North == North::None)
+ if (South == South::None)
+ if (Up)
+ if (West == West::None) return 14218;
+ else if (West == West::Low) return 14219;
+ else return 14220;
+ else
+ if (West == West::None) return 14224;
+ else if (West == West::Low) return 14225;
+ else return 14226;
+ else if (South == South::Low)
+ if (Up)
+ if (West == West::None) return 14230;
+ else if (West == West::Low) return 14231;
+ else return 14232;
+ else
+ if (West == West::None) return 14236;
+ else if (West == West::Low) return 14237;
+ else return 14238;
+ else
+ if (Up)
+ if (West == West::None) return 14242;
+ else if (West == West::Low) return 14243;
+ else return 14244;
+ else
+ if (West == West::None) return 14248;
+ else if (West == West::Low) return 14249;
+ else return 14250;
+ else if (North == North::Low)
+ if (South == South::None)
+ if (Up)
+ if (West == West::None) return 14254;
+ else if (West == West::Low) return 14255;
+ else return 14256;
+ else
+ if (West == West::None) return 14260;
+ else if (West == West::Low) return 14261;
+ else return 14262;
+ else if (South == South::Low)
+ if (Up)
+ if (West == West::None) return 14266;
+ else if (West == West::Low) return 14267;
+ else return 14268;
+ else
+ if (West == West::None) return 14272;
+ else if (West == West::Low) return 14273;
+ else return 14274;
+ else
+ if (Up)
+ if (West == West::None) return 14278;
+ else if (West == West::Low) return 14279;
+ else return 14280;
+ else
+ if (West == West::None) return 14284;
+ else if (West == West::Low) return 14285;
+ else return 14286;
+ else
+ if (South == South::None)
+ if (Up)
+ if (West == West::None) return 14290;
+ else if (West == West::Low) return 14291;
+ else return 14292;
+ else
+ if (West == West::None) return 14296;
+ else if (West == West::Low) return 14297;
+ else return 14298;
+ else if (South == South::Low)
+ if (Up)
+ if (West == West::None) return 14302;
+ else if (West == West::Low) return 14303;
+ else return 14304;
+ else
+ if (West == West::None) return 14308;
+ else if (West == West::Low) return 14309;
+ else return 14310;
+ else
+ if (Up)
+ if (West == West::None) return 14314;
+ else if (West == West::Low) return 14315;
+ else return 14316;
+ else
+ if (West == West::None) return 14320;
+ else if (West == West::Low) return 14321;
+ else return 14322;
+ else
+ if (North == North::None)
+ if (South == South::None)
+ if (Up)
+ if (West == West::None) return 14326;
+ else if (West == West::Low) return 14327;
+ else return 14328;
+ else
+ if (West == West::None) return 14332;
+ else if (West == West::Low) return 14333;
+ else return 14334;
+ else if (South == South::Low)
+ if (Up)
+ if (West == West::None) return 14338;
+ else if (West == West::Low) return 14339;
+ else return 14340;
+ else
+ if (West == West::None) return 14344;
+ else if (West == West::Low) return 14345;
+ else return 14346;
+ else
+ if (Up)
+ if (West == West::None) return 14350;
+ else if (West == West::Low) return 14351;
+ else return 14352;
+ else
+ if (West == West::None) return 14356;
+ else if (West == West::Low) return 14357;
+ else return 14358;
+ else if (North == North::Low)
+ if (South == South::None)
+ if (Up)
+ if (West == West::None) return 14362;
+ else if (West == West::Low) return 14363;
+ else return 14364;
+ else
+ if (West == West::None) return 14368;
+ else if (West == West::Low) return 14369;
+ else return 14370;
+ else if (South == South::Low)
+ if (Up)
+ if (West == West::None) return 14374;
+ else if (West == West::Low) return 14375;
+ else return 14376;
+ else
+ if (West == West::None) return 14380;
+ else if (West == West::Low) return 14381;
+ else return 14382;
+ else
+ if (Up)
+ if (West == West::None) return 14386;
+ else if (West == West::Low) return 14387;
+ else return 14388;
+ else
+ if (West == West::None) return 14392;
+ else if (West == West::Low) return 14393;
+ else return 14394;
+ else
+ if (South == South::None)
+ if (Up)
+ if (West == West::None) return 14398;
+ else if (West == West::Low) return 14399;
+ else return 14400;
+ else
+ if (West == West::None) return 14404;
+ else if (West == West::Low) return 14405;
+ else return 14406;
+ else if (South == South::Low)
+ if (Up)
+ if (West == West::None) return 14410;
+ else if (West == West::Low) return 14411;
+ else return 14412;
+ else
+ if (West == West::None) return 14416;
+ else if (West == West::Low) return 14417;
+ else return 14418;
+ else
+ if (Up)
+ if (West == West::None) return 14422;
+ else if (West == West::Low) return 14423;
+ else return 14424;
+ else
+ if (West == West::None) return 14428;
+ else if (West == West::Low) return 14429;
+ else return 14430;
+ }
+ BlockState EndStoneBrickWall();
+ enum East East(BlockState Block);
+ enum North North(BlockState Block);
+ enum South South(BlockState Block);
+ bool Up(BlockState Block);
+ enum West West(BlockState Block);
+ }
+ namespace EndStoneBricks
+ {
+ constexpr BlockState EndStoneBricks()
+ {
+ return 9218;
+ }
+ }
+ namespace EnderChest
+ {
+ constexpr BlockState EnderChest(const eBlockFace Facing)
+ {
+ if (Facing == eBlockFace::BLOCK_FACE_ZM) return 5252;
+ else if (Facing == eBlockFace::BLOCK_FACE_ZP) return 5254;
+ else if (Facing == eBlockFace::BLOCK_FACE_XM) return 5256;
+ else return 5258;
+ }
+ BlockState EnderChest();
+ eBlockFace Facing(BlockState Block);
+ }
+ namespace Farmland
+ {
+ constexpr BlockState Farmland(const unsigned char Moisture)
+ {
+ if (Moisture == 0) return 3365;
+ else if (Moisture == 1) return 3366;
+ else if (Moisture == 2) return 3367;
+ else if (Moisture == 3) return 3368;
+ else if (Moisture == 4) return 3369;
+ else if (Moisture == 5) return 3370;
+ else if (Moisture == 6) return 3371;
+ else return 3372;
+ }
+ BlockState Farmland();
+ unsigned char Moisture(BlockState Block);
+ }
+ namespace Fern
+ {
+ constexpr BlockState Fern()
+ {
+ return 1343;
+ }
+ }
+ namespace Fire
+ {
+ constexpr BlockState Fire(const unsigned char Age, const bool East, const bool North, const bool South, const bool Up, const bool West)
+ {
+ if (Age == 0)
+ if (East)
+ if (North)
+ if (South)
+ if (Up)
+ if (West) return 1440;
+ else return 1441;
+ else
+ if (West) return 1442;
+ else return 1443;
+ else
+ if (Up)
+ if (West) return 1444;
+ else return 1445;
+ else
+ if (West) return 1446;
+ else return 1447;
+ else
+ if (South)
+ if (Up)
+ if (West) return 1448;
+ else return 1449;
+ else
+ if (West) return 1450;
+ else return 1451;
+ else
+ if (Up)
+ if (West) return 1452;
+ else return 1453;
+ else
+ if (West) return 1454;
+ else return 1455;
+ else
+ if (North)
+ if (South)
+ if (Up)
+ if (West) return 1456;
+ else return 1457;
+ else
+ if (West) return 1458;
+ else return 1459;
+ else
+ if (Up)
+ if (West) return 1460;
+ else return 1461;
+ else
+ if (West) return 1462;
+ else return 1463;
+ else
+ if (South)
+ if (Up)
+ if (West) return 1464;
+ else return 1465;
+ else
+ if (West) return 1466;
+ else return 1467;
+ else
+ if (Up)
+ if (West) return 1468;
+ else return 1469;
+ else
+ if (West) return 1470;
+ else return 1471;
+ else if (Age == 1)
+ if (East)
+ if (North)
+ if (South)
+ if (Up)
+ if (West) return 1472;
+ else return 1473;
+ else
+ if (West) return 1474;
+ else return 1475;
+ else
+ if (Up)
+ if (West) return 1476;
+ else return 1477;
+ else
+ if (West) return 1478;
+ else return 1479;
+ else
+ if (South)
+ if (Up)
+ if (West) return 1480;
+ else return 1481;
+ else
+ if (West) return 1482;
+ else return 1483;
+ else
+ if (Up)
+ if (West) return 1484;
+ else return 1485;
+ else
+ if (West) return 1486;
+ else return 1487;
+ else
+ if (North)
+ if (South)
+ if (Up)
+ if (West) return 1488;
+ else return 1489;
+ else
+ if (West) return 1490;
+ else return 1491;
+ else
+ if (Up)
+ if (West) return 1492;
+ else return 1493;
+ else
+ if (West) return 1494;
+ else return 1495;
+ else
+ if (South)
+ if (Up)
+ if (West) return 1496;
+ else return 1497;
+ else
+ if (West) return 1498;
+ else return 1499;
+ else
+ if (Up)
+ if (West) return 1500;
+ else return 1501;
+ else
+ if (West) return 1502;
+ else return 1503;
+ else if (Age == 2)
+ if (East)
+ if (North)
+ if (South)
+ if (Up)
+ if (West) return 1504;
+ else return 1505;
+ else
+ if (West) return 1506;
+ else return 1507;
+ else
+ if (Up)
+ if (West) return 1508;
+ else return 1509;
+ else
+ if (West) return 1510;
+ else return 1511;
+ else
+ if (South)
+ if (Up)
+ if (West) return 1512;
+ else return 1513;
+ else
+ if (West) return 1514;
+ else return 1515;
+ else
+ if (Up)
+ if (West) return 1516;
+ else return 1517;
+ else
+ if (West) return 1518;
+ else return 1519;
+ else
+ if (North)
+ if (South)
+ if (Up)
+ if (West) return 1520;
+ else return 1521;
+ else
+ if (West) return 1522;
+ else return 1523;
+ else
+ if (Up)
+ if (West) return 1524;
+ else return 1525;
+ else
+ if (West) return 1526;
+ else return 1527;
+ else
+ if (South)
+ if (Up)
+ if (West) return 1528;
+ else return 1529;
+ else
+ if (West) return 1530;
+ else return 1531;
+ else
+ if (Up)
+ if (West) return 1532;
+ else return 1533;
+ else
+ if (West) return 1534;
+ else return 1535;
+ else if (Age == 3)
+ if (East)
+ if (North)
+ if (South)
+ if (Up)
+ if (West) return 1536;
+ else return 1537;
+ else
+ if (West) return 1538;
+ else return 1539;
+ else
+ if (Up)
+ if (West) return 1540;
+ else return 1541;
+ else
+ if (West) return 1542;
+ else return 1543;
+ else
+ if (South)
+ if (Up)
+ if (West) return 1544;
+ else return 1545;
+ else
+ if (West) return 1546;
+ else return 1547;
+ else
+ if (Up)
+ if (West) return 1548;
+ else return 1549;
+ else
+ if (West) return 1550;
+ else return 1551;
+ else
+ if (North)
+ if (South)
+ if (Up)
+ if (West) return 1552;
+ else return 1553;
+ else
+ if (West) return 1554;
+ else return 1555;
+ else
+ if (Up)
+ if (West) return 1556;
+ else return 1557;
+ else
+ if (West) return 1558;
+ else return 1559;
+ else
+ if (South)
+ if (Up)
+ if (West) return 1560;
+ else return 1561;
+ else
+ if (West) return 1562;
+ else return 1563;
+ else
+ if (Up)
+ if (West) return 1564;
+ else return 1565;
+ else
+ if (West) return 1566;
+ else return 1567;
+ else if (Age == 4)
+ if (East)
+ if (North)
+ if (South)
+ if (Up)
+ if (West) return 1568;
+ else return 1569;
+ else
+ if (West) return 1570;
+ else return 1571;
+ else
+ if (Up)
+ if (West) return 1572;
+ else return 1573;
+ else
+ if (West) return 1574;
+ else return 1575;
+ else
+ if (South)
+ if (Up)
+ if (West) return 1576;
+ else return 1577;
+ else
+ if (West) return 1578;
+ else return 1579;
+ else
+ if (Up)
+ if (West) return 1580;
+ else return 1581;
+ else
+ if (West) return 1582;
+ else return 1583;
+ else
+ if (North)
+ if (South)
+ if (Up)
+ if (West) return 1584;
+ else return 1585;
+ else
+ if (West) return 1586;
+ else return 1587;
+ else
+ if (Up)
+ if (West) return 1588;
+ else return 1589;
+ else
+ if (West) return 1590;
+ else return 1591;
+ else
+ if (South)
+ if (Up)
+ if (West) return 1592;
+ else return 1593;
+ else
+ if (West) return 1594;
+ else return 1595;
+ else
+ if (Up)
+ if (West) return 1596;
+ else return 1597;
+ else
+ if (West) return 1598;
+ else return 1599;
+ else if (Age == 5)
+ if (East)
+ if (North)
+ if (South)
+ if (Up)
+ if (West) return 1600;
+ else return 1601;
+ else
+ if (West) return 1602;
+ else return 1603;
+ else
+ if (Up)
+ if (West) return 1604;
+ else return 1605;
+ else
+ if (West) return 1606;
+ else return 1607;
+ else
+ if (South)
+ if (Up)
+ if (West) return 1608;
+ else return 1609;
+ else
+ if (West) return 1610;
+ else return 1611;
+ else
+ if (Up)
+ if (West) return 1612;
+ else return 1613;
+ else
+ if (West) return 1614;
+ else return 1615;
+ else
+ if (North)
+ if (South)
+ if (Up)
+ if (West) return 1616;
+ else return 1617;
+ else
+ if (West) return 1618;
+ else return 1619;
+ else
+ if (Up)
+ if (West) return 1620;
+ else return 1621;
+ else
+ if (West) return 1622;
+ else return 1623;
+ else
+ if (South)
+ if (Up)
+ if (West) return 1624;
+ else return 1625;
+ else
+ if (West) return 1626;
+ else return 1627;
+ else
+ if (Up)
+ if (West) return 1628;
+ else return 1629;
+ else
+ if (West) return 1630;
+ else return 1631;
+ else if (Age == 6)
+ if (East)
+ if (North)
+ if (South)
+ if (Up)
+ if (West) return 1632;
+ else return 1633;
+ else
+ if (West) return 1634;
+ else return 1635;
+ else
+ if (Up)
+ if (West) return 1636;
+ else return 1637;
+ else
+ if (West) return 1638;
+ else return 1639;
+ else
+ if (South)
+ if (Up)
+ if (West) return 1640;
+ else return 1641;
+ else
+ if (West) return 1642;
+ else return 1643;
+ else
+ if (Up)
+ if (West) return 1644;
+ else return 1645;
+ else
+ if (West) return 1646;
+ else return 1647;
+ else
+ if (North)
+ if (South)
+ if (Up)
+ if (West) return 1648;
+ else return 1649;
+ else
+ if (West) return 1650;
+ else return 1651;
+ else
+ if (Up)
+ if (West) return 1652;
+ else return 1653;
+ else
+ if (West) return 1654;
+ else return 1655;
+ else
+ if (South)
+ if (Up)
+ if (West) return 1656;
+ else return 1657;
+ else
+ if (West) return 1658;
+ else return 1659;
+ else
+ if (Up)
+ if (West) return 1660;
+ else return 1661;
+ else
+ if (West) return 1662;
+ else return 1663;
+ else if (Age == 7)
+ if (East)
+ if (North)
+ if (South)
+ if (Up)
+ if (West) return 1664;
+ else return 1665;
+ else
+ if (West) return 1666;
+ else return 1667;
+ else
+ if (Up)
+ if (West) return 1668;
+ else return 1669;
+ else
+ if (West) return 1670;
+ else return 1671;
+ else
+ if (South)
+ if (Up)
+ if (West) return 1672;
+ else return 1673;
+ else
+ if (West) return 1674;
+ else return 1675;
+ else
+ if (Up)
+ if (West) return 1676;
+ else return 1677;
+ else
+ if (West) return 1678;
+ else return 1679;
+ else
+ if (North)
+ if (South)
+ if (Up)
+ if (West) return 1680;
+ else return 1681;
+ else
+ if (West) return 1682;
+ else return 1683;
+ else
+ if (Up)
+ if (West) return 1684;
+ else return 1685;
+ else
+ if (West) return 1686;
+ else return 1687;
+ else
+ if (South)
+ if (Up)
+ if (West) return 1688;
+ else return 1689;
+ else
+ if (West) return 1690;
+ else return 1691;
+ else
+ if (Up)
+ if (West) return 1692;
+ else return 1693;
+ else
+ if (West) return 1694;
+ else return 1695;
+ else if (Age == 8)
+ if (East)
+ if (North)
+ if (South)
+ if (Up)
+ if (West) return 1696;
+ else return 1697;
+ else
+ if (West) return 1698;
+ else return 1699;
+ else
+ if (Up)
+ if (West) return 1700;
+ else return 1701;
+ else
+ if (West) return 1702;
+ else return 1703;
+ else
+ if (South)
+ if (Up)
+ if (West) return 1704;
+ else return 1705;
+ else
+ if (West) return 1706;
+ else return 1707;
+ else
+ if (Up)
+ if (West) return 1708;
+ else return 1709;
+ else
+ if (West) return 1710;
+ else return 1711;
+ else
+ if (North)
+ if (South)
+ if (Up)
+ if (West) return 1712;
+ else return 1713;
+ else
+ if (West) return 1714;
+ else return 1715;
+ else
+ if (Up)
+ if (West) return 1716;
+ else return 1717;
+ else
+ if (West) return 1718;
+ else return 1719;
+ else
+ if (South)
+ if (Up)
+ if (West) return 1720;
+ else return 1721;
+ else
+ if (West) return 1722;
+ else return 1723;
+ else
+ if (Up)
+ if (West) return 1724;
+ else return 1725;
+ else
+ if (West) return 1726;
+ else return 1727;
+ else if (Age == 9)
+ if (East)
+ if (North)
+ if (South)
+ if (Up)
+ if (West) return 1728;
+ else return 1729;
+ else
+ if (West) return 1730;
+ else return 1731;
+ else
+ if (Up)
+ if (West) return 1732;
+ else return 1733;
+ else
+ if (West) return 1734;
+ else return 1735;
+ else
+ if (South)
+ if (Up)
+ if (West) return 1736;
+ else return 1737;
+ else
+ if (West) return 1738;
+ else return 1739;
+ else
+ if (Up)
+ if (West) return 1740;
+ else return 1741;
+ else
+ if (West) return 1742;
+ else return 1743;
+ else
+ if (North)
+ if (South)
+ if (Up)
+ if (West) return 1744;
+ else return 1745;
+ else
+ if (West) return 1746;
+ else return 1747;
+ else
+ if (Up)
+ if (West) return 1748;
+ else return 1749;
+ else
+ if (West) return 1750;
+ else return 1751;
+ else
+ if (South)
+ if (Up)
+ if (West) return 1752;
+ else return 1753;
+ else
+ if (West) return 1754;
+ else return 1755;
+ else
+ if (Up)
+ if (West) return 1756;
+ else return 1757;
+ else
+ if (West) return 1758;
+ else return 1759;
+ else if (Age == 10)
+ if (East)
+ if (North)
+ if (South)
+ if (Up)
+ if (West) return 1760;
+ else return 1761;
+ else
+ if (West) return 1762;
+ else return 1763;
+ else
+ if (Up)
+ if (West) return 1764;
+ else return 1765;
+ else
+ if (West) return 1766;
+ else return 1767;
+ else
+ if (South)
+ if (Up)
+ if (West) return 1768;
+ else return 1769;
+ else
+ if (West) return 1770;
+ else return 1771;
+ else
+ if (Up)
+ if (West) return 1772;
+ else return 1773;
+ else
+ if (West) return 1774;
+ else return 1775;
+ else
+ if (North)
+ if (South)
+ if (Up)
+ if (West) return 1776;
+ else return 1777;
+ else
+ if (West) return 1778;
+ else return 1779;
+ else
+ if (Up)
+ if (West) return 1780;
+ else return 1781;
+ else
+ if (West) return 1782;
+ else return 1783;
+ else
+ if (South)
+ if (Up)
+ if (West) return 1784;
+ else return 1785;
+ else
+ if (West) return 1786;
+ else return 1787;
+ else
+ if (Up)
+ if (West) return 1788;
+ else return 1789;
+ else
+ if (West) return 1790;
+ else return 1791;
+ else if (Age == 11)
+ if (East)
+ if (North)
+ if (South)
+ if (Up)
+ if (West) return 1792;
+ else return 1793;
+ else
+ if (West) return 1794;
+ else return 1795;
+ else
+ if (Up)
+ if (West) return 1796;
+ else return 1797;
+ else
+ if (West) return 1798;
+ else return 1799;
+ else
+ if (South)
+ if (Up)
+ if (West) return 1800;
+ else return 1801;
+ else
+ if (West) return 1802;
+ else return 1803;
+ else
+ if (Up)
+ if (West) return 1804;
+ else return 1805;
+ else
+ if (West) return 1806;
+ else return 1807;
+ else
+ if (North)
+ if (South)
+ if (Up)
+ if (West) return 1808;
+ else return 1809;
+ else
+ if (West) return 1810;
+ else return 1811;
+ else
+ if (Up)
+ if (West) return 1812;
+ else return 1813;
+ else
+ if (West) return 1814;
+ else return 1815;
+ else
+ if (South)
+ if (Up)
+ if (West) return 1816;
+ else return 1817;
+ else
+ if (West) return 1818;
+ else return 1819;
+ else
+ if (Up)
+ if (West) return 1820;
+ else return 1821;
+ else
+ if (West) return 1822;
+ else return 1823;
+ else if (Age == 12)
+ if (East)
+ if (North)
+ if (South)
+ if (Up)
+ if (West) return 1824;
+ else return 1825;
+ else
+ if (West) return 1826;
+ else return 1827;
+ else
+ if (Up)
+ if (West) return 1828;
+ else return 1829;
+ else
+ if (West) return 1830;
+ else return 1831;
+ else
+ if (South)
+ if (Up)
+ if (West) return 1832;
+ else return 1833;
+ else
+ if (West) return 1834;
+ else return 1835;
+ else
+ if (Up)
+ if (West) return 1836;
+ else return 1837;
+ else
+ if (West) return 1838;
+ else return 1839;
+ else
+ if (North)
+ if (South)
+ if (Up)
+ if (West) return 1840;
+ else return 1841;
+ else
+ if (West) return 1842;
+ else return 1843;
+ else
+ if (Up)
+ if (West) return 1844;
+ else return 1845;
+ else
+ if (West) return 1846;
+ else return 1847;
+ else
+ if (South)
+ if (Up)
+ if (West) return 1848;
+ else return 1849;
+ else
+ if (West) return 1850;
+ else return 1851;
+ else
+ if (Up)
+ if (West) return 1852;
+ else return 1853;
+ else
+ if (West) return 1854;
+ else return 1855;
+ else if (Age == 13)
+ if (East)
+ if (North)
+ if (South)
+ if (Up)
+ if (West) return 1856;
+ else return 1857;
+ else
+ if (West) return 1858;
+ else return 1859;
+ else
+ if (Up)
+ if (West) return 1860;
+ else return 1861;
+ else
+ if (West) return 1862;
+ else return 1863;
+ else
+ if (South)
+ if (Up)
+ if (West) return 1864;
+ else return 1865;
+ else
+ if (West) return 1866;
+ else return 1867;
+ else
+ if (Up)
+ if (West) return 1868;
+ else return 1869;
+ else
+ if (West) return 1870;
+ else return 1871;
+ else
+ if (North)
+ if (South)
+ if (Up)
+ if (West) return 1872;
+ else return 1873;
+ else
+ if (West) return 1874;
+ else return 1875;
+ else
+ if (Up)
+ if (West) return 1876;
+ else return 1877;
+ else
+ if (West) return 1878;
+ else return 1879;
+ else
+ if (South)
+ if (Up)
+ if (West) return 1880;
+ else return 1881;
+ else
+ if (West) return 1882;
+ else return 1883;
+ else
+ if (Up)
+ if (West) return 1884;
+ else return 1885;
+ else
+ if (West) return 1886;
+ else return 1887;
+ else if (Age == 14)
+ if (East)
+ if (North)
+ if (South)
+ if (Up)
+ if (West) return 1888;
+ else return 1889;
+ else
+ if (West) return 1890;
+ else return 1891;
+ else
+ if (Up)
+ if (West) return 1892;
+ else return 1893;
+ else
+ if (West) return 1894;
+ else return 1895;
+ else
+ if (South)
+ if (Up)
+ if (West) return 1896;
+ else return 1897;
+ else
+ if (West) return 1898;
+ else return 1899;
+ else
+ if (Up)
+ if (West) return 1900;
+ else return 1901;
+ else
+ if (West) return 1902;
+ else return 1903;
+ else
+ if (North)
+ if (South)
+ if (Up)
+ if (West) return 1904;
+ else return 1905;
+ else
+ if (West) return 1906;
+ else return 1907;
+ else
+ if (Up)
+ if (West) return 1908;
+ else return 1909;
+ else
+ if (West) return 1910;
+ else return 1911;
+ else
+ if (South)
+ if (Up)
+ if (West) return 1912;
+ else return 1913;
+ else
+ if (West) return 1914;
+ else return 1915;
+ else
+ if (Up)
+ if (West) return 1916;
+ else return 1917;
+ else
+ if (West) return 1918;
+ else return 1919;
+ else
+ if (East)
+ if (North)
+ if (South)
+ if (Up)
+ if (West) return 1920;
+ else return 1921;
+ else
+ if (West) return 1922;
+ else return 1923;
+ else
+ if (Up)
+ if (West) return 1924;
+ else return 1925;
+ else
+ if (West) return 1926;
+ else return 1927;
+ else
+ if (South)
+ if (Up)
+ if (West) return 1928;
+ else return 1929;
+ else
+ if (West) return 1930;
+ else return 1931;
+ else
+ if (Up)
+ if (West) return 1932;
+ else return 1933;
+ else
+ if (West) return 1934;
+ else return 1935;
+ else
+ if (North)
+ if (South)
+ if (Up)
+ if (West) return 1936;
+ else return 1937;
+ else
+ if (West) return 1938;
+ else return 1939;
+ else
+ if (Up)
+ if (West) return 1940;
+ else return 1941;
+ else
+ if (West) return 1942;
+ else return 1943;
+ else
+ if (South)
+ if (Up)
+ if (West) return 1944;
+ else return 1945;
+ else
+ if (West) return 1946;
+ else return 1947;
+ else
+ if (Up)
+ if (West) return 1948;
+ else return 1949;
+ else
+ if (West) return 1950;
+ else return 1951;
+ }
+ BlockState Fire();
+ unsigned char Age(BlockState Block);
+ bool East(BlockState Block);
+ bool North(BlockState Block);
+ bool South(BlockState Block);
+ bool Up(BlockState Block);
+ bool West(BlockState Block);
+ }
+ namespace FireCoral
+ {
+ constexpr BlockState FireCoral()
+ {
+ return 9537;
+ }
+ }
+ namespace FireCoralBlock
+ {
+ constexpr BlockState FireCoralBlock()
+ {
+ return 9518;
+ }
+ }
+ namespace FireCoralFan
+ {
+ constexpr BlockState FireCoralFan()
+ {
+ return 9557;
+ }
+ }
+ namespace FireCoralWallFan
+ {
+ constexpr BlockState FireCoralWallFan(const eBlockFace Facing)
+ {
+ if (Facing == eBlockFace::BLOCK_FACE_ZM) return 9625;
+ else if (Facing == eBlockFace::BLOCK_FACE_ZP) return 9627;
+ else if (Facing == eBlockFace::BLOCK_FACE_XM) return 9629;
+ else return 9631;
+ }
+ BlockState FireCoralWallFan();
+ eBlockFace Facing(BlockState Block);
+ }
+ namespace FletchingTable
+ {
+ constexpr BlockState FletchingTable()
+ {
+ return 14820;
+ }
+ }
+ namespace FlowerPot
+ {
+ constexpr BlockState FlowerPot()
+ {
+ return 6305;
+ }
+ }
+ namespace FrostedIce
+ {
+ constexpr BlockState FrostedIce(const unsigned char Age)
+ {
+ if (Age == 0) return 9249;
+ else if (Age == 1) return 9250;
+ else if (Age == 2) return 9251;
+ else return 9252;
+ }
+ BlockState FrostedIce();
+ unsigned char Age(BlockState Block);
+ }
+ namespace Furnace
+ {
+ constexpr BlockState Furnace(const eBlockFace Facing, const bool Lit)
+ {
+ if (Facing == eBlockFace::BLOCK_FACE_ZM)
+ if (Lit) return 3373;
+ else return 3374;
+ else if (Facing == eBlockFace::BLOCK_FACE_ZP)
+ if (Lit) return 3375;
+ else return 3376;
+ else if (Facing == eBlockFace::BLOCK_FACE_XM)
+ if (Lit) return 3377;
+ else return 3378;
+ else
+ if (Lit) return 3379;
+ else return 3380;
+ }
+ BlockState Furnace();
+ eBlockFace Facing(BlockState Block);
+ bool Lit(BlockState Block);
+ }
+ namespace GildedBlackstone
+ {
+ constexpr BlockState GildedBlackstone()
+ {
+ return 16664;
+ }
+ }
+ namespace Glass
+ {
+ constexpr BlockState Glass()
+ {
+ return 231;
+ }
+ }
+ namespace GlassPane
+ {
+ constexpr BlockState GlassPane(const bool East, const bool North, const bool South, const bool West)
+ {
+ if (East)
+ if (North)
+ if (South)
+ if (West) return 4733;
+ else return 4734;
+ else
+ if (West) return 4737;
+ else return 4738;
+ else
+ if (South)
+ if (West) return 4741;
+ else return 4742;
+ else
+ if (West) return 4745;
+ else return 4746;
+ else
+ if (North)
+ if (South)
+ if (West) return 4749;
+ else return 4750;
+ else
+ if (West) return 4753;
+ else return 4754;
+ else
+ if (South)
+ if (West) return 4757;
+ else return 4758;
+ else
+ if (West) return 4761;
+ else return 4762;
+ }
+ BlockState GlassPane();
+ bool East(BlockState Block);
+ bool North(BlockState Block);
+ bool South(BlockState Block);
+ bool West(BlockState Block);
+ }
+ namespace Glowstone
+ {
+ constexpr BlockState Glowstone()
+ {
+ return 4013;
+ }
+ }
+ namespace GoldBlock
+ {
+ constexpr BlockState GoldBlock()
+ {
+ return 1427;
+ }
+ }
+ namespace GoldOre
+ {
+ constexpr BlockState GoldOre()
+ {
+ return 69;
+ }
+ }
+ namespace Granite
+ {
+ constexpr BlockState Granite()
+ {
+ return 2;
+ }
+ }
+ namespace GraniteSlab
+ {
+ enum class Type
+ {
+ Top,
+ Bottom,
+ Double
+ };
+ constexpr BlockState GraniteSlab(const enum Type Type)
+ {
+ if (Type == Type::Top) return 10838;
+ else if (Type == Type::Bottom) return 10840;
+ else return 10842;
+ }
+ BlockState GraniteSlab();
+ enum Type Type(BlockState Block);
+ }
+ namespace GraniteStairs
+ {
+ enum class Half
+ {
+ Top,
+ Bottom
+ };
+ enum class Shape
+ {
+ Straight,
+ InnerLeft,
+ InnerRight,
+ OuterLeft,
+ OuterRight
+ };
+ constexpr BlockState GraniteStairs(const eBlockFace Facing, const enum Half Half, const enum Shape Shape)
+ {
+ if (Facing == eBlockFace::BLOCK_FACE_ZM)
+ if (Half == Half::Top)
+ if (Shape == Shape::Straight) return 10390;
+ else if (Shape == Shape::InnerLeft) return 10392;
+ else if (Shape == Shape::InnerRight) return 10394;
+ else if (Shape == Shape::OuterLeft) return 10396;
+ else return 10398;
+ else
+ if (Shape == Shape::Straight) return 10400;
+ else if (Shape == Shape::InnerLeft) return 10402;
+ else if (Shape == Shape::InnerRight) return 10404;
+ else if (Shape == Shape::OuterLeft) return 10406;
+ else return 10408;
+ else if (Facing == eBlockFace::BLOCK_FACE_ZP)
+ if (Half == Half::Top)
+ if (Shape == Shape::Straight) return 10410;
+ else if (Shape == Shape::InnerLeft) return 10412;
+ else if (Shape == Shape::InnerRight) return 10414;
+ else if (Shape == Shape::OuterLeft) return 10416;
+ else return 10418;
+ else
+ if (Shape == Shape::Straight) return 10420;
+ else if (Shape == Shape::InnerLeft) return 10422;
+ else if (Shape == Shape::InnerRight) return 10424;
+ else if (Shape == Shape::OuterLeft) return 10426;
+ else return 10428;
+ else if (Facing == eBlockFace::BLOCK_FACE_XM)
+ if (Half == Half::Top)
+ if (Shape == Shape::Straight) return 10430;
+ else if (Shape == Shape::InnerLeft) return 10432;
+ else if (Shape == Shape::InnerRight) return 10434;
+ else if (Shape == Shape::OuterLeft) return 10436;
+ else return 10438;
+ else
+ if (Shape == Shape::Straight) return 10440;
+ else if (Shape == Shape::InnerLeft) return 10442;
+ else if (Shape == Shape::InnerRight) return 10444;
+ else if (Shape == Shape::OuterLeft) return 10446;
+ else return 10448;
+ else
+ if (Half == Half::Top)
+ if (Shape == Shape::Straight) return 10450;
+ else if (Shape == Shape::InnerLeft) return 10452;
+ else if (Shape == Shape::InnerRight) return 10454;
+ else if (Shape == Shape::OuterLeft) return 10456;
+ else return 10458;
+ else
+ if (Shape == Shape::Straight) return 10460;
+ else if (Shape == Shape::InnerLeft) return 10462;
+ else if (Shape == Shape::InnerRight) return 10464;
+ else if (Shape == Shape::OuterLeft) return 10466;
+ else return 10468;
+ }
+ BlockState GraniteStairs();
+ eBlockFace Facing(BlockState Block);
+ enum Half Half(BlockState Block);
+ enum Shape Shape(BlockState Block);
+ }
+ namespace GraniteWall
+ {
+ enum class East
+ {
+ None,
+ Low,
+ Tall
+ };
+ enum class North
+ {
+ None,
+ Low,
+ Tall
+ };
+ enum class South
+ {
+ None,
+ Low,
+ Tall
+ };
+ enum class West
+ {
+ None,
+ Low,
+ Tall
+ };
+ constexpr BlockState GraniteWall(const enum East East, const enum North North, const enum South South, const bool Up, const enum West West)
+ {
+ if (East == East::None)
+ if (North == North::None)
+ if (South == South::None)
+ if (Up)
+ if (West == West::None) return 12166;
+ else if (West == West::Low) return 12167;
+ else return 12168;
+ else
+ if (West == West::None) return 12172;
+ else if (West == West::Low) return 12173;
+ else return 12174;
+ else if (South == South::Low)
+ if (Up)
+ if (West == West::None) return 12178;
+ else if (West == West::Low) return 12179;
+ else return 12180;
+ else
+ if (West == West::None) return 12184;
+ else if (West == West::Low) return 12185;
+ else return 12186;
+ else
+ if (Up)
+ if (West == West::None) return 12190;
+ else if (West == West::Low) return 12191;
+ else return 12192;
+ else
+ if (West == West::None) return 12196;
+ else if (West == West::Low) return 12197;
+ else return 12198;
+ else if (North == North::Low)
+ if (South == South::None)
+ if (Up)
+ if (West == West::None) return 12202;
+ else if (West == West::Low) return 12203;
+ else return 12204;
+ else
+ if (West == West::None) return 12208;
+ else if (West == West::Low) return 12209;
+ else return 12210;
+ else if (South == South::Low)
+ if (Up)
+ if (West == West::None) return 12214;
+ else if (West == West::Low) return 12215;
+ else return 12216;
+ else
+ if (West == West::None) return 12220;
+ else if (West == West::Low) return 12221;
+ else return 12222;
+ else
+ if (Up)
+ if (West == West::None) return 12226;
+ else if (West == West::Low) return 12227;
+ else return 12228;
+ else
+ if (West == West::None) return 12232;
+ else if (West == West::Low) return 12233;
+ else return 12234;
+ else
+ if (South == South::None)
+ if (Up)
+ if (West == West::None) return 12238;
+ else if (West == West::Low) return 12239;
+ else return 12240;
+ else
+ if (West == West::None) return 12244;
+ else if (West == West::Low) return 12245;
+ else return 12246;
+ else if (South == South::Low)
+ if (Up)
+ if (West == West::None) return 12250;
+ else if (West == West::Low) return 12251;
+ else return 12252;
+ else
+ if (West == West::None) return 12256;
+ else if (West == West::Low) return 12257;
+ else return 12258;
+ else
+ if (Up)
+ if (West == West::None) return 12262;
+ else if (West == West::Low) return 12263;
+ else return 12264;
+ else
+ if (West == West::None) return 12268;
+ else if (West == West::Low) return 12269;
+ else return 12270;
+ else if (East == East::Low)
+ if (North == North::None)
+ if (South == South::None)
+ if (Up)
+ if (West == West::None) return 12274;
+ else if (West == West::Low) return 12275;
+ else return 12276;
+ else
+ if (West == West::None) return 12280;
+ else if (West == West::Low) return 12281;
+ else return 12282;
+ else if (South == South::Low)
+ if (Up)
+ if (West == West::None) return 12286;
+ else if (West == West::Low) return 12287;
+ else return 12288;
+ else
+ if (West == West::None) return 12292;
+ else if (West == West::Low) return 12293;
+ else return 12294;
+ else
+ if (Up)
+ if (West == West::None) return 12298;
+ else if (West == West::Low) return 12299;
+ else return 12300;
+ else
+ if (West == West::None) return 12304;
+ else if (West == West::Low) return 12305;
+ else return 12306;
+ else if (North == North::Low)
+ if (South == South::None)
+ if (Up)
+ if (West == West::None) return 12310;
+ else if (West == West::Low) return 12311;
+ else return 12312;
+ else
+ if (West == West::None) return 12316;
+ else if (West == West::Low) return 12317;
+ else return 12318;
+ else if (South == South::Low)
+ if (Up)
+ if (West == West::None) return 12322;
+ else if (West == West::Low) return 12323;
+ else return 12324;
+ else
+ if (West == West::None) return 12328;
+ else if (West == West::Low) return 12329;
+ else return 12330;
+ else
+ if (Up)
+ if (West == West::None) return 12334;
+ else if (West == West::Low) return 12335;
+ else return 12336;
+ else
+ if (West == West::None) return 12340;
+ else if (West == West::Low) return 12341;
+ else return 12342;
+ else
+ if (South == South::None)
+ if (Up)
+ if (West == West::None) return 12346;
+ else if (West == West::Low) return 12347;
+ else return 12348;
+ else
+ if (West == West::None) return 12352;
+ else if (West == West::Low) return 12353;
+ else return 12354;
+ else if (South == South::Low)
+ if (Up)
+ if (West == West::None) return 12358;
+ else if (West == West::Low) return 12359;
+ else return 12360;
+ else
+ if (West == West::None) return 12364;
+ else if (West == West::Low) return 12365;
+ else return 12366;
+ else
+ if (Up)
+ if (West == West::None) return 12370;
+ else if (West == West::Low) return 12371;
+ else return 12372;
+ else
+ if (West == West::None) return 12376;
+ else if (West == West::Low) return 12377;
+ else return 12378;
+ else
+ if (North == North::None)
+ if (South == South::None)
+ if (Up)
+ if (West == West::None) return 12382;
+ else if (West == West::Low) return 12383;
+ else return 12384;
+ else
+ if (West == West::None) return 12388;
+ else if (West == West::Low) return 12389;
+ else return 12390;
+ else if (South == South::Low)
+ if (Up)
+ if (West == West::None) return 12394;
+ else if (West == West::Low) return 12395;
+ else return 12396;
+ else
+ if (West == West::None) return 12400;
+ else if (West == West::Low) return 12401;
+ else return 12402;
+ else
+ if (Up)
+ if (West == West::None) return 12406;
+ else if (West == West::Low) return 12407;
+ else return 12408;
+ else
+ if (West == West::None) return 12412;
+ else if (West == West::Low) return 12413;
+ else return 12414;
+ else if (North == North::Low)
+ if (South == South::None)
+ if (Up)
+ if (West == West::None) return 12418;
+ else if (West == West::Low) return 12419;
+ else return 12420;
+ else
+ if (West == West::None) return 12424;
+ else if (West == West::Low) return 12425;
+ else return 12426;
+ else if (South == South::Low)
+ if (Up)
+ if (West == West::None) return 12430;
+ else if (West == West::Low) return 12431;
+ else return 12432;
+ else
+ if (West == West::None) return 12436;
+ else if (West == West::Low) return 12437;
+ else return 12438;
+ else
+ if (Up)
+ if (West == West::None) return 12442;
+ else if (West == West::Low) return 12443;
+ else return 12444;
+ else
+ if (West == West::None) return 12448;
+ else if (West == West::Low) return 12449;
+ else return 12450;
+ else
+ if (South == South::None)
+ if (Up)
+ if (West == West::None) return 12454;
+ else if (West == West::Low) return 12455;
+ else return 12456;
+ else
+ if (West == West::None) return 12460;
+ else if (West == West::Low) return 12461;
+ else return 12462;
+ else if (South == South::Low)
+ if (Up)
+ if (West == West::None) return 12466;
+ else if (West == West::Low) return 12467;
+ else return 12468;
+ else
+ if (West == West::None) return 12472;
+ else if (West == West::Low) return 12473;
+ else return 12474;
+ else
+ if (Up)
+ if (West == West::None) return 12478;
+ else if (West == West::Low) return 12479;
+ else return 12480;
+ else
+ if (West == West::None) return 12484;
+ else if (West == West::Low) return 12485;
+ else return 12486;
+ }
+ BlockState GraniteWall();
+ enum East East(BlockState Block);
+ enum North North(BlockState Block);
+ enum South South(BlockState Block);
+ bool Up(BlockState Block);
+ enum West West(BlockState Block);
+ }
+ namespace Grass
+ {
+ constexpr BlockState Grass()
+ {
+ return 1342;
+ }
+ }
+ namespace GrassBlock
+ {
+ constexpr BlockState GrassBlock(const bool Snowy)
+ {
+ if (Snowy) return 8;
+ else return 9;
+ }
+ BlockState GrassBlock();
+ bool Snowy(BlockState Block);
+ }
+ namespace GrassPath
+ {
+ constexpr BlockState GrassPath()
+ {
+ return 9223;
+ }
+ }
+ namespace Gravel
+ {
+ constexpr BlockState Gravel()
+ {
+ return 68;
+ }
+ }
+ namespace GrayBanner
+ {
+ constexpr BlockState GrayBanner(const unsigned char Rotation)
+ {
+ if (Rotation == 0) return 8009;
+ else if (Rotation == 1) return 8010;
+ else if (Rotation == 2) return 8011;
+ else if (Rotation == 3) return 8012;
+ else if (Rotation == 4) return 8013;
+ else if (Rotation == 5) return 8014;
+ else if (Rotation == 6) return 8015;
+ else if (Rotation == 7) return 8016;
+ else if (Rotation == 8) return 8017;
+ else if (Rotation == 9) return 8018;
+ else if (Rotation == 10) return 8019;
+ else if (Rotation == 11) return 8020;
+ else if (Rotation == 12) return 8021;
+ else if (Rotation == 13) return 8022;
+ else if (Rotation == 14) return 8023;
+ else return 8024;
+ }
+ BlockState GrayBanner();
+ unsigned char Rotation(BlockState Block);
+ }
+ namespace GrayBed
+ {
+ enum class Part
+ {
+ Head,
+ Foot
+ };
+ constexpr BlockState GrayBed(const eBlockFace Facing, const bool Occupied, const enum Part Part)
+ {
+ if (Facing == eBlockFace::BLOCK_FACE_ZM)
+ if (Occupied)
+ if (Part == Part::Head) return 1161;
+ else return 1162;
+ else
+ if (Part == Part::Head) return 1163;
+ else return 1164;
+ else if (Facing == eBlockFace::BLOCK_FACE_ZP)
+ if (Occupied)
+ if (Part == Part::Head) return 1165;
+ else return 1166;
+ else
+ if (Part == Part::Head) return 1167;
+ else return 1168;
+ else if (Facing == eBlockFace::BLOCK_FACE_XM)
+ if (Occupied)
+ if (Part == Part::Head) return 1169;
+ else return 1170;
+ else
+ if (Part == Part::Head) return 1171;
+ else return 1172;
+ else
+ if (Occupied)
+ if (Part == Part::Head) return 1173;
+ else return 1174;
+ else
+ if (Part == Part::Head) return 1175;
+ else return 1176;
+ }
+ BlockState GrayBed();
+ eBlockFace Facing(BlockState Block);
+ bool Occupied(BlockState Block);
+ enum Part Part(BlockState Block);
+ }
+ namespace GrayCarpet
+ {
+ constexpr BlockState GrayCarpet()
+ {
+ return 7873;
+ }
+ }
+ namespace GrayConcrete
+ {
+ constexpr BlockState GrayConcrete()
+ {
+ return 9445;
+ }
+ }
+ namespace GrayConcretePowder
+ {
+ constexpr BlockState GrayConcretePowder()
+ {
+ return 9461;
+ }
+ }
+ namespace GrayGlazedTerracotta
+ {
+ constexpr BlockState GrayGlazedTerracotta(const eBlockFace Facing)
+ {
+ if (Facing == eBlockFace::BLOCK_FACE_ZM) return 9402;
+ else if (Facing == eBlockFace::BLOCK_FACE_ZP) return 9403;
+ else if (Facing == eBlockFace::BLOCK_FACE_XM) return 9404;
+ else return 9405;
+ }
+ BlockState GrayGlazedTerracotta();
+ eBlockFace Facing(BlockState Block);
+ }
+ namespace GrayShulkerBox
+ {
+ constexpr BlockState GrayShulkerBox(const eBlockFace Facing)
+ {
+ if (Facing == eBlockFace::BLOCK_FACE_ZM) return 9320;
+ else if (Facing == eBlockFace::BLOCK_FACE_XP) return 9321;
+ else if (Facing == eBlockFace::BLOCK_FACE_ZP) return 9322;
+ else if (Facing == eBlockFace::BLOCK_FACE_XM) return 9323;
+ else if (Facing == eBlockFace::BLOCK_FACE_YP) return 9324;
+ else return 9325;
+ }
+ BlockState GrayShulkerBox();
+ eBlockFace Facing(BlockState Block);
+ }
+ namespace GrayStainedGlass
+ {
+ constexpr BlockState GrayStainedGlass()
+ {
+ return 4102;
+ }
+ }
+ namespace GrayStainedGlassPane
+ {
+ constexpr BlockState GrayStainedGlassPane(const bool East, const bool North, const bool South, const bool West)
+ {
+ if (East)
+ if (North)
+ if (South)
+ if (West) return 7089;
+ else return 7090;
+ else
+ if (West) return 7093;
+ else return 7094;
+ else
+ if (South)
+ if (West) return 7097;
+ else return 7098;
+ else
+ if (West) return 7101;
+ else return 7102;
+ else
+ if (North)
+ if (South)
+ if (West) return 7105;
+ else return 7106;
+ else
+ if (West) return 7109;
+ else return 7110;
+ else
+ if (South)
+ if (West) return 7113;
+ else return 7114;
+ else
+ if (West) return 7117;
+ else return 7118;
+ }
+ BlockState GrayStainedGlassPane();
+ bool East(BlockState Block);
+ bool North(BlockState Block);
+ bool South(BlockState Block);
+ bool West(BlockState Block);
+ }
+ namespace GrayTerracotta
+ {
+ constexpr BlockState GrayTerracotta()
+ {
+ return 6854;
+ }
+ }
+ namespace GrayWallBanner
+ {
+ constexpr BlockState GrayWallBanner(const eBlockFace Facing)
+ {
+ if (Facing == eBlockFace::BLOCK_FACE_ZM) return 8181;
+ else if (Facing == eBlockFace::BLOCK_FACE_ZP) return 8182;
+ else if (Facing == eBlockFace::BLOCK_FACE_XM) return 8183;
+ else return 8184;
+ }
+ BlockState GrayWallBanner();
+ eBlockFace Facing(BlockState Block);
+ }
+ namespace GrayWool
+ {
+ constexpr BlockState GrayWool()
+ {
+ return 1391;
+ }
+ }
+ namespace GreenBanner
+ {
+ constexpr BlockState GreenBanner(const unsigned char Rotation)
+ {
+ if (Rotation == 0) return 8105;
+ else if (Rotation == 1) return 8106;
+ else if (Rotation == 2) return 8107;
+ else if (Rotation == 3) return 8108;
+ else if (Rotation == 4) return 8109;
+ else if (Rotation == 5) return 8110;
+ else if (Rotation == 6) return 8111;
+ else if (Rotation == 7) return 8112;
+ else if (Rotation == 8) return 8113;
+ else if (Rotation == 9) return 8114;
+ else if (Rotation == 10) return 8115;
+ else if (Rotation == 11) return 8116;
+ else if (Rotation == 12) return 8117;
+ else if (Rotation == 13) return 8118;
+ else if (Rotation == 14) return 8119;
+ else return 8120;
+ }
+ BlockState GreenBanner();
+ unsigned char Rotation(BlockState Block);
+ }
+ namespace GreenBed
+ {
+ enum class Part
+ {
+ Head,
+ Foot
+ };
+ constexpr BlockState GreenBed(const eBlockFace Facing, const bool Occupied, const enum Part Part)
+ {
+ if (Facing == eBlockFace::BLOCK_FACE_ZM)
+ if (Occupied)
+ if (Part == Part::Head) return 1257;
+ else return 1258;
+ else
+ if (Part == Part::Head) return 1259;
+ else return 1260;
+ else if (Facing == eBlockFace::BLOCK_FACE_ZP)
+ if (Occupied)
+ if (Part == Part::Head) return 1261;
+ else return 1262;
+ else
+ if (Part == Part::Head) return 1263;
+ else return 1264;
+ else if (Facing == eBlockFace::BLOCK_FACE_XM)
+ if (Occupied)
+ if (Part == Part::Head) return 1265;
+ else return 1266;
+ else
+ if (Part == Part::Head) return 1267;
+ else return 1268;
+ else
+ if (Occupied)
+ if (Part == Part::Head) return 1269;
+ else return 1270;
+ else
+ if (Part == Part::Head) return 1271;
+ else return 1272;
+ }
+ BlockState GreenBed();
+ eBlockFace Facing(BlockState Block);
+ bool Occupied(BlockState Block);
+ enum Part Part(BlockState Block);
+ }
+ namespace GreenCarpet
+ {
+ constexpr BlockState GreenCarpet()
+ {
+ return 7879;
+ }
+ }
+ namespace GreenConcrete
+ {
+ constexpr BlockState GreenConcrete()
+ {
+ return 9451;
+ }
+ }
+ namespace GreenConcretePowder
+ {
+ constexpr BlockState GreenConcretePowder()
+ {
+ return 9467;
+ }
+ }
+ namespace GreenGlazedTerracotta
+ {
+ constexpr BlockState GreenGlazedTerracotta(const eBlockFace Facing)
+ {
+ if (Facing == eBlockFace::BLOCK_FACE_ZM) return 9426;
+ else if (Facing == eBlockFace::BLOCK_FACE_ZP) return 9427;
+ else if (Facing == eBlockFace::BLOCK_FACE_XM) return 9428;
+ else return 9429;
+ }
+ BlockState GreenGlazedTerracotta();
+ eBlockFace Facing(BlockState Block);
+ }
+ namespace GreenShulkerBox
+ {
+ constexpr BlockState GreenShulkerBox(const eBlockFace Facing)
+ {
+ if (Facing == eBlockFace::BLOCK_FACE_ZM) return 9356;
+ else if (Facing == eBlockFace::BLOCK_FACE_XP) return 9357;
+ else if (Facing == eBlockFace::BLOCK_FACE_ZP) return 9358;
+ else if (Facing == eBlockFace::BLOCK_FACE_XM) return 9359;
+ else if (Facing == eBlockFace::BLOCK_FACE_YP) return 9360;
+ else return 9361;
+ }
+ BlockState GreenShulkerBox();
+ eBlockFace Facing(BlockState Block);
+ }
+ namespace GreenStainedGlass
+ {
+ constexpr BlockState GreenStainedGlass()
+ {
+ return 4108;
+ }
+ }
+ namespace GreenStainedGlassPane
+ {
+ constexpr BlockState GreenStainedGlassPane(const bool East, const bool North, const bool South, const bool West)
+ {
+ if (East)
+ if (North)
+ if (South)
+ if (West) return 7281;
+ else return 7282;
+ else
+ if (West) return 7285;
+ else return 7286;
+ else
+ if (South)
+ if (West) return 7289;
+ else return 7290;
+ else
+ if (West) return 7293;
+ else return 7294;
+ else
+ if (North)
+ if (South)
+ if (West) return 7297;
+ else return 7298;
+ else
+ if (West) return 7301;
+ else return 7302;
+ else
+ if (South)
+ if (West) return 7305;
+ else return 7306;
+ else
+ if (West) return 7309;
+ else return 7310;
+ }
+ BlockState GreenStainedGlassPane();
+ bool East(BlockState Block);
+ bool North(BlockState Block);
+ bool South(BlockState Block);
+ bool West(BlockState Block);
+ }
+ namespace GreenTerracotta
+ {
+ constexpr BlockState GreenTerracotta()
+ {
+ return 6860;
+ }
+ }
+ namespace GreenWallBanner
+ {
+ constexpr BlockState GreenWallBanner(const eBlockFace Facing)
+ {
+ if (Facing == eBlockFace::BLOCK_FACE_ZM) return 8205;
+ else if (Facing == eBlockFace::BLOCK_FACE_ZP) return 8206;
+ else if (Facing == eBlockFace::BLOCK_FACE_XM) return 8207;
+ else return 8208;
+ }
+ BlockState GreenWallBanner();
+ eBlockFace Facing(BlockState Block);
+ }
+ namespace GreenWool
+ {
+ constexpr BlockState GreenWool()
+ {
+ return 1397;
+ }
+ }
+ namespace Grindstone
+ {
+ enum class Face
+ {
+ Floor,
+ Wall,
+ Ceiling
+ };
+ constexpr BlockState Grindstone(const enum Face Face, const eBlockFace Facing)
+ {
+ if (Face == Face::Floor)
+ if (Facing == eBlockFace::BLOCK_FACE_ZM) return 14821;
+ else if (Facing == eBlockFace::BLOCK_FACE_ZP) return 14822;
+ else if (Facing == eBlockFace::BLOCK_FACE_XM) return 14823;
+ else return 14824;
+ else if (Face == Face::Wall)
+ if (Facing == eBlockFace::BLOCK_FACE_ZM) return 14825;
+ else if (Facing == eBlockFace::BLOCK_FACE_ZP) return 14826;
+ else if (Facing == eBlockFace::BLOCK_FACE_XM) return 14827;
+ else return 14828;
+ else
+ if (Facing == eBlockFace::BLOCK_FACE_ZM) return 14829;
+ else if (Facing == eBlockFace::BLOCK_FACE_ZP) return 14830;
+ else if (Facing == eBlockFace::BLOCK_FACE_XM) return 14831;
+ else return 14832;
+ }
+ BlockState Grindstone();
+ enum Face Face(BlockState Block);
+ eBlockFace Facing(BlockState Block);
+ }
+ namespace HayBale
+ {
+ enum class Axis
+ {
+ X,
+ Y,
+ Z
+ };
+ constexpr BlockState HayBale(const enum Axis Axis)
+ {
+ if (Axis == Axis::X) return 7863;
+ else if (Axis == Axis::Y) return 7864;
+ else return 7865;
+ }
+ BlockState HayBale();
+ enum Axis Axis(BlockState Block);
+ }
+ namespace HeavyWeightedPressurePlate
+ {
+ constexpr BlockState HeavyWeightedPressurePlate(const unsigned char Power)
+ {
+ if (Power == 0) return 6662;
+ else if (Power == 1) return 6663;
+ else if (Power == 2) return 6664;
+ else if (Power == 3) return 6665;
+ else if (Power == 4) return 6666;
+ else if (Power == 5) return 6667;
+ else if (Power == 6) return 6668;
+ else if (Power == 7) return 6669;
+ else if (Power == 8) return 6670;
+ else if (Power == 9) return 6671;
+ else if (Power == 10) return 6672;
+ else if (Power == 11) return 6673;
+ else if (Power == 12) return 6674;
+ else if (Power == 13) return 6675;
+ else if (Power == 14) return 6676;
+ else return 6677;
+ }
+ BlockState HeavyWeightedPressurePlate();
+ unsigned char Power(BlockState Block);
+ }
+ namespace HoneyBlock
+ {
+ constexpr BlockState HoneyBlock()
+ {
+ return 15824;
+ }
+ }
+ namespace HoneycombBlock
+ {
+ constexpr BlockState HoneycombBlock()
+ {
+ return 15825;
+ }
+ }
+ namespace Hopper
+ {
+ constexpr BlockState Hopper(const bool Enabled, const eBlockFace Facing)
+ {
+ if (Enabled)
+ if (Facing == eBlockFace::BLOCK_FACE_YM) return 6728;
+ else if (Facing == eBlockFace::BLOCK_FACE_ZM) return 6729;
+ else if (Facing == eBlockFace::BLOCK_FACE_ZP) return 6730;
+ else if (Facing == eBlockFace::BLOCK_FACE_XM) return 6731;
+ else return 6732;
+ else
+ if (Facing == eBlockFace::BLOCK_FACE_YM) return 6733;
+ else if (Facing == eBlockFace::BLOCK_FACE_ZM) return 6734;
+ else if (Facing == eBlockFace::BLOCK_FACE_ZP) return 6735;
+ else if (Facing == eBlockFace::BLOCK_FACE_XM) return 6736;
+ else return 6737;
+ }
+ BlockState Hopper();
+ bool Enabled(BlockState Block);
+ eBlockFace Facing(BlockState Block);
+ }
+ namespace HornCoral
+ {
+ constexpr BlockState HornCoral()
+ {
+ return 9539;
+ }
+ }
+ namespace HornCoralBlock
+ {
+ constexpr BlockState HornCoralBlock()
+ {
+ return 9519;
+ }
+ }
+ namespace HornCoralFan
+ {
+ constexpr BlockState HornCoralFan()
+ {
+ return 9559;
+ }
+ }
+ namespace HornCoralWallFan
+ {
+ constexpr BlockState HornCoralWallFan(const eBlockFace Facing)
+ {
+ if (Facing == eBlockFace::BLOCK_FACE_ZM) return 9633;
+ else if (Facing == eBlockFace::BLOCK_FACE_ZP) return 9635;
+ else if (Facing == eBlockFace::BLOCK_FACE_XM) return 9637;
+ else return 9639;
+ }
+ BlockState HornCoralWallFan();
+ eBlockFace Facing(BlockState Block);
+ }
+ namespace Ice
+ {
+ constexpr BlockState Ice()
+ {
+ return 3929;
+ }
+ }
+ namespace InfestedChiseledStoneBricks
+ {
+ constexpr BlockState InfestedChiseledStoneBricks()
+ {
+ return 4504;
+ }
+ }
+ namespace InfestedCobblestone
+ {
+ constexpr BlockState InfestedCobblestone()
+ {
+ return 4500;
+ }
+ }
+ namespace InfestedCrackedStoneBricks
+ {
+ constexpr BlockState InfestedCrackedStoneBricks()
+ {
+ return 4503;
+ }
+ }
+ namespace InfestedMossyStoneBricks
+ {
+ constexpr BlockState InfestedMossyStoneBricks()
+ {
+ return 4502;
+ }
+ }
+ namespace InfestedStone
+ {
+ constexpr BlockState InfestedStone()
+ {
+ return 4499;
+ }
+ }
+ namespace InfestedStoneBricks
+ {
+ constexpr BlockState InfestedStoneBricks()
+ {
+ return 4501;
+ }
+ }
+ namespace IronBars
+ {
+ constexpr BlockState IronBars(const bool East, const bool North, const bool South, const bool West)
+ {
+ if (East)
+ if (North)
+ if (South)
+ if (West) return 4699;
+ else return 4700;
+ else
+ if (West) return 4703;
+ else return 4704;
+ else
+ if (South)
+ if (West) return 4707;
+ else return 4708;
+ else
+ if (West) return 4711;
+ else return 4712;
+ else
+ if (North)
+ if (South)
+ if (West) return 4715;
+ else return 4716;
+ else
+ if (West) return 4719;
+ else return 4720;
+ else
+ if (South)
+ if (West) return 4723;
+ else return 4724;
+ else
+ if (West) return 4727;
+ else return 4728;
+ }
+ BlockState IronBars();
+ bool East(BlockState Block);
+ bool North(BlockState Block);
+ bool South(BlockState Block);
+ bool West(BlockState Block);
+ }
+ namespace IronBlock
+ {
+ constexpr BlockState IronBlock()
+ {
+ return 1428;
+ }
+ }
+ namespace IronDoor
+ {
+ enum class Half
+ {
+ Upper,
+ Lower
+ };
+ enum class Hinge
+ {
+ Left,
+ Right
+ };
+ constexpr BlockState IronDoor(const eBlockFace Facing, const enum Half Half, const enum Hinge Hinge, const bool Open, const bool Powered)
+ {
+ if (Facing == eBlockFace::BLOCK_FACE_ZM)
+ if (Half == Half::Upper)
+ if (Hinge == Hinge::Left)
+ if (Open)
+ if (Powered) return 3809;
+ else return 3810;
+ else
+ if (Powered) return 3811;
+ else return 3812;
+ else
+ if (Open)
+ if (Powered) return 3813;
+ else return 3814;
+ else
+ if (Powered) return 3815;
+ else return 3816;
+ else
+ if (Hinge == Hinge::Left)
+ if (Open)
+ if (Powered) return 3817;
+ else return 3818;
+ else
+ if (Powered) return 3819;
+ else return 3820;
+ else
+ if (Open)
+ if (Powered) return 3821;
+ else return 3822;
+ else
+ if (Powered) return 3823;
+ else return 3824;
+ else if (Facing == eBlockFace::BLOCK_FACE_ZP)
+ if (Half == Half::Upper)
+ if (Hinge == Hinge::Left)
+ if (Open)
+ if (Powered) return 3825;
+ else return 3826;
+ else
+ if (Powered) return 3827;
+ else return 3828;
+ else
+ if (Open)
+ if (Powered) return 3829;
+ else return 3830;
+ else
+ if (Powered) return 3831;
+ else return 3832;
+ else
+ if (Hinge == Hinge::Left)
+ if (Open)
+ if (Powered) return 3833;
+ else return 3834;
+ else
+ if (Powered) return 3835;
+ else return 3836;
+ else
+ if (Open)
+ if (Powered) return 3837;
+ else return 3838;
+ else
+ if (Powered) return 3839;
+ else return 3840;
+ else if (Facing == eBlockFace::BLOCK_FACE_XM)
+ if (Half == Half::Upper)
+ if (Hinge == Hinge::Left)
+ if (Open)
+ if (Powered) return 3841;
+ else return 3842;
+ else
+ if (Powered) return 3843;
+ else return 3844;
+ else
+ if (Open)
+ if (Powered) return 3845;
+ else return 3846;
+ else
+ if (Powered) return 3847;
+ else return 3848;
+ else
+ if (Hinge == Hinge::Left)
+ if (Open)
+ if (Powered) return 3849;
+ else return 3850;
+ else
+ if (Powered) return 3851;
+ else return 3852;
+ else
+ if (Open)
+ if (Powered) return 3853;
+ else return 3854;
+ else
+ if (Powered) return 3855;
+ else return 3856;
+ else
+ if (Half == Half::Upper)
+ if (Hinge == Hinge::Left)
+ if (Open)
+ if (Powered) return 3857;
+ else return 3858;
+ else
+ if (Powered) return 3859;
+ else return 3860;
+ else
+ if (Open)
+ if (Powered) return 3861;
+ else return 3862;
+ else
+ if (Powered) return 3863;
+ else return 3864;
+ else
+ if (Hinge == Hinge::Left)
+ if (Open)
+ if (Powered) return 3865;
+ else return 3866;
+ else
+ if (Powered) return 3867;
+ else return 3868;
+ else
+ if (Open)
+ if (Powered) return 3869;
+ else return 3870;
+ else
+ if (Powered) return 3871;
+ else return 3872;
+ }
+ BlockState IronDoor();
+ eBlockFace Facing(BlockState Block);
+ enum Half Half(BlockState Block);
+ enum Hinge Hinge(BlockState Block);
+ bool Open(BlockState Block);
+ bool Powered(BlockState Block);
+ }
+ namespace IronOre
+ {
+ constexpr BlockState IronOre()
+ {
+ return 70;
+ }
+ }
+ namespace IronTrapdoor
+ {
+ enum class Half
+ {
+ Top,
+ Bottom
+ };
+ constexpr BlockState IronTrapdoor(const eBlockFace Facing, const enum Half Half, const bool Open, const bool Powered)
+ {
+ if (Facing == eBlockFace::BLOCK_FACE_ZM)
+ if (Half == Half::Top)
+ if (Open)
+ if (Powered) return 7538;
+ else return 7540;
+ else
+ if (Powered) return 7542;
+ else return 7544;
+ else
+ if (Open)
+ if (Powered) return 7546;
+ else return 7548;
+ else
+ if (Powered) return 7550;
+ else return 7552;
+ else if (Facing == eBlockFace::BLOCK_FACE_ZP)
+ if (Half == Half::Top)
+ if (Open)
+ if (Powered) return 7554;
+ else return 7556;
+ else
+ if (Powered) return 7558;
+ else return 7560;
+ else
+ if (Open)
+ if (Powered) return 7562;
+ else return 7564;
+ else
+ if (Powered) return 7566;
+ else return 7568;
+ else if (Facing == eBlockFace::BLOCK_FACE_XM)
+ if (Half == Half::Top)
+ if (Open)
+ if (Powered) return 7570;
+ else return 7572;
+ else
+ if (Powered) return 7574;
+ else return 7576;
+ else
+ if (Open)
+ if (Powered) return 7578;
+ else return 7580;
+ else
+ if (Powered) return 7582;
+ else return 7584;
+ else
+ if (Half == Half::Top)
+ if (Open)
+ if (Powered) return 7586;
+ else return 7588;
+ else
+ if (Powered) return 7590;
+ else return 7592;
+ else
+ if (Open)
+ if (Powered) return 7594;
+ else return 7596;
+ else
+ if (Powered) return 7598;
+ else return 7600;
+ }
+ BlockState IronTrapdoor();
+ eBlockFace Facing(BlockState Block);
+ enum Half Half(BlockState Block);
+ bool Open(BlockState Block);
+ bool Powered(BlockState Block);
+ }
+ namespace JackOLantern
+ {
+ constexpr BlockState JackOLantern(const eBlockFace Facing)
+ {
+ if (Facing == eBlockFace::BLOCK_FACE_ZM) return 4020;
+ else if (Facing == eBlockFace::BLOCK_FACE_ZP) return 4021;
+ else if (Facing == eBlockFace::BLOCK_FACE_XM) return 4022;
+ else return 4023;
+ }
+ BlockState JackOLantern();
+ eBlockFace Facing(BlockState Block);
+ }
+ namespace Jigsaw
+ {
+ enum class Orientation
+ {
+ DownEast,
+ DownNorth,
+ DownSouth,
+ DownWest,
+ UpEast,
+ UpNorth,
+ UpSouth,
+ UpWest,
+ WestUp,
+ EastUp,
+ NorthUp,
+ SouthUp
+ };
+ constexpr BlockState Jigsaw(const enum Orientation Orientation)
+ {
+ if (Orientation == Orientation::DownEast) return 15739;
+ else if (Orientation == Orientation::DownNorth) return 15740;
+ else if (Orientation == Orientation::DownSouth) return 15741;
+ else if (Orientation == Orientation::DownWest) return 15742;
+ else if (Orientation == Orientation::UpEast) return 15743;
+ else if (Orientation == Orientation::UpNorth) return 15744;
+ else if (Orientation == Orientation::UpSouth) return 15745;
+ else if (Orientation == Orientation::UpWest) return 15746;
+ else if (Orientation == Orientation::WestUp) return 15747;
+ else if (Orientation == Orientation::EastUp) return 15748;
+ else if (Orientation == Orientation::NorthUp) return 15749;
+ else return 15750;
+ }
+ BlockState Jigsaw();
+ enum Orientation Orientation(BlockState Block);
+ }
+ namespace Jukebox
+ {
+ constexpr BlockState Jukebox(const bool HasRecord)
+ {
+ if (HasRecord) return 3964;
+ else return 3965;
+ }
+ BlockState Jukebox();
+ bool HasRecord(BlockState Block);
+ }
+ namespace JungleButton
+ {
+ enum class Face
+ {
+ Floor,
+ Wall,
+ Ceiling
+ };
+ constexpr BlockState JungleButton(const enum Face Face, const eBlockFace Facing, const bool Powered)
+ {
+ if (Face == Face::Floor)
+ if (Facing == eBlockFace::BLOCK_FACE_ZM)
+ if (Powered) return 6418;
+ else return 6419;
+ else if (Facing == eBlockFace::BLOCK_FACE_ZP)
+ if (Powered) return 6420;
+ else return 6421;
+ else if (Facing == eBlockFace::BLOCK_FACE_XM)
+ if (Powered) return 6422;
+ else return 6423;
+ else
+ if (Powered) return 6424;
+ else return 6425;
+ else if (Face == Face::Wall)
+ if (Facing == eBlockFace::BLOCK_FACE_ZM)
+ if (Powered) return 6426;
+ else return 6427;
+ else if (Facing == eBlockFace::BLOCK_FACE_ZP)
+ if (Powered) return 6428;
+ else return 6429;
+ else if (Facing == eBlockFace::BLOCK_FACE_XM)
+ if (Powered) return 6430;
+ else return 6431;
+ else
+ if (Powered) return 6432;
+ else return 6433;
+ else
+ if (Facing == eBlockFace::BLOCK_FACE_ZM)
+ if (Powered) return 6434;
+ else return 6435;
+ else if (Facing == eBlockFace::BLOCK_FACE_ZP)
+ if (Powered) return 6436;
+ else return 6437;
+ else if (Facing == eBlockFace::BLOCK_FACE_XM)
+ if (Powered) return 6438;
+ else return 6439;
+ else
+ if (Powered) return 6440;
+ else return 6441;
+ }
+ BlockState JungleButton();
+ enum Face Face(BlockState Block);
+ eBlockFace Facing(BlockState Block);
+ bool Powered(BlockState Block);
+ }
+ namespace JungleDoor
+ {
+ enum class Half
+ {
+ Upper,
+ Lower
+ };
+ enum class Hinge
+ {
+ Left,
+ Right
+ };
+ constexpr BlockState JungleDoor(const eBlockFace Facing, const enum Half Half, const enum Hinge Hinge, const bool Open, const bool Powered)
+ {
+ if (Facing == eBlockFace::BLOCK_FACE_ZM)
+ if (Half == Half::Upper)
+ if (Hinge == Hinge::Left)
+ if (Open)
+ if (Powered) return 8866;
+ else return 8867;
+ else
+ if (Powered) return 8868;
+ else return 8869;
+ else
+ if (Open)
+ if (Powered) return 8870;
+ else return 8871;
+ else
+ if (Powered) return 8872;
+ else return 8873;
+ else
+ if (Hinge == Hinge::Left)
+ if (Open)
+ if (Powered) return 8874;
+ else return 8875;
+ else
+ if (Powered) return 8876;
+ else return 8877;
+ else
+ if (Open)
+ if (Powered) return 8878;
+ else return 8879;
+ else
+ if (Powered) return 8880;
+ else return 8881;
+ else if (Facing == eBlockFace::BLOCK_FACE_ZP)
+ if (Half == Half::Upper)
+ if (Hinge == Hinge::Left)
+ if (Open)
+ if (Powered) return 8882;
+ else return 8883;
+ else
+ if (Powered) return 8884;
+ else return 8885;
+ else
+ if (Open)
+ if (Powered) return 8886;
+ else return 8887;
+ else
+ if (Powered) return 8888;
+ else return 8889;
+ else
+ if (Hinge == Hinge::Left)
+ if (Open)
+ if (Powered) return 8890;
+ else return 8891;
+ else
+ if (Powered) return 8892;
+ else return 8893;
+ else
+ if (Open)
+ if (Powered) return 8894;
+ else return 8895;
+ else
+ if (Powered) return 8896;
+ else return 8897;
+ else if (Facing == eBlockFace::BLOCK_FACE_XM)
+ if (Half == Half::Upper)
+ if (Hinge == Hinge::Left)
+ if (Open)
+ if (Powered) return 8898;
+ else return 8899;
+ else
+ if (Powered) return 8900;
+ else return 8901;
+ else
+ if (Open)
+ if (Powered) return 8902;
+ else return 8903;
+ else
+ if (Powered) return 8904;
+ else return 8905;
+ else
+ if (Hinge == Hinge::Left)
+ if (Open)
+ if (Powered) return 8906;
+ else return 8907;
+ else
+ if (Powered) return 8908;
+ else return 8909;
+ else
+ if (Open)
+ if (Powered) return 8910;
+ else return 8911;
+ else
+ if (Powered) return 8912;
+ else return 8913;
+ else
+ if (Half == Half::Upper)
+ if (Hinge == Hinge::Left)
+ if (Open)
+ if (Powered) return 8914;
+ else return 8915;
+ else
+ if (Powered) return 8916;
+ else return 8917;
+ else
+ if (Open)
+ if (Powered) return 8918;
+ else return 8919;
+ else
+ if (Powered) return 8920;
+ else return 8921;
+ else
+ if (Hinge == Hinge::Left)
+ if (Open)
+ if (Powered) return 8922;
+ else return 8923;
+ else
+ if (Powered) return 8924;
+ else return 8925;
+ else
+ if (Open)
+ if (Powered) return 8926;
+ else return 8927;
+ else
+ if (Powered) return 8928;
+ else return 8929;
+ }
+ BlockState JungleDoor();
+ eBlockFace Facing(BlockState Block);
+ enum Half Half(BlockState Block);
+ enum Hinge Hinge(BlockState Block);
+ bool Open(BlockState Block);
+ bool Powered(BlockState Block);
+ }
+ namespace JungleFence
+ {
+ constexpr BlockState JungleFence(const bool East, const bool North, const bool South, const bool West)
+ {
+ if (East)
+ if (North)
+ if (South)
+ if (West) return 8644;
+ else return 8645;
+ else
+ if (West) return 8648;
+ else return 8649;
+ else
+ if (South)
+ if (West) return 8652;
+ else return 8653;
+ else
+ if (West) return 8656;
+ else return 8657;
+ else
+ if (North)
+ if (South)
+ if (West) return 8660;
+ else return 8661;
+ else
+ if (West) return 8664;
+ else return 8665;
+ else
+ if (South)
+ if (West) return 8668;
+ else return 8669;
+ else
+ if (West) return 8672;
+ else return 8673;
+ }
+ BlockState JungleFence();
+ bool East(BlockState Block);
+ bool North(BlockState Block);
+ bool South(BlockState Block);
+ bool West(BlockState Block);
+ }
+ namespace JungleFenceGate
+ {
+ constexpr BlockState JungleFenceGate(const eBlockFace Facing, const bool InWall, const bool Open, const bool Powered)
+ {
+ if (Facing == eBlockFace::BLOCK_FACE_ZM)
+ if (InWall)
+ if (Open)
+ if (Powered) return 8482;
+ else return 8483;
+ else
+ if (Powered) return 8484;
+ else return 8485;
+ else
+ if (Open)
+ if (Powered) return 8486;
+ else return 8487;
+ else
+ if (Powered) return 8488;
+ else return 8489;
+ else if (Facing == eBlockFace::BLOCK_FACE_ZP)
+ if (InWall)
+ if (Open)
+ if (Powered) return 8490;
+ else return 8491;
+ else
+ if (Powered) return 8492;
+ else return 8493;
+ else
+ if (Open)
+ if (Powered) return 8494;
+ else return 8495;
+ else
+ if (Powered) return 8496;
+ else return 8497;
+ else if (Facing == eBlockFace::BLOCK_FACE_XM)
+ if (InWall)
+ if (Open)
+ if (Powered) return 8498;
+ else return 8499;
+ else
+ if (Powered) return 8500;
+ else return 8501;
+ else
+ if (Open)
+ if (Powered) return 8502;
+ else return 8503;
+ else
+ if (Powered) return 8504;
+ else return 8505;
+ else
+ if (InWall)
+ if (Open)
+ if (Powered) return 8506;
+ else return 8507;
+ else
+ if (Powered) return 8508;
+ else return 8509;
+ else
+ if (Open)
+ if (Powered) return 8510;
+ else return 8511;
+ else
+ if (Powered) return 8512;
+ else return 8513;
+ }
+ BlockState JungleFenceGate();
+ eBlockFace Facing(BlockState Block);
+ bool InWall(BlockState Block);
+ bool Open(BlockState Block);
+ bool Powered(BlockState Block);
+ }
+ namespace JungleLeaves
+ {
+ constexpr BlockState JungleLeaves(const unsigned char Distance, const bool Persistent)
+ {
+ if (Distance == 1)
+ if (Persistent) return 187;
+ else return 188;
+ else if (Distance == 2)
+ if (Persistent) return 189;
+ else return 190;
+ else if (Distance == 3)
+ if (Persistent) return 191;
+ else return 192;
+ else if (Distance == 4)
+ if (Persistent) return 193;
+ else return 194;
+ else if (Distance == 5)
+ if (Persistent) return 195;
+ else return 196;
+ else if (Distance == 6)
+ if (Persistent) return 197;
+ else return 198;
+ else
+ if (Persistent) return 199;
+ else return 200;
+ }
+ BlockState JungleLeaves();
+ unsigned char Distance(BlockState Block);
+ bool Persistent(BlockState Block);
+ }
+ namespace JungleLog
+ {
+ enum class Axis
+ {
+ X,
+ Y,
+ Z
+ };
+ constexpr BlockState JungleLog(const enum Axis Axis)
+ {
+ if (Axis == Axis::X) return 82;
+ else if (Axis == Axis::Y) return 83;
+ else return 84;
+ }
+ BlockState JungleLog();
+ enum Axis Axis(BlockState Block);
+ }
+ namespace JunglePlanks
+ {
+ constexpr BlockState JunglePlanks()
+ {
+ return 18;
+ }
+ }
+ namespace JunglePressurePlate
+ {
+ constexpr BlockState JunglePressurePlate(const bool Powered)
+ {
+ if (Powered) return 3879;
+ else return 3880;
+ }
+ BlockState JunglePressurePlate();
+ bool Powered(BlockState Block);
+ }
+ namespace JungleSapling
+ {
+ constexpr BlockState JungleSapling(const unsigned char Stage)
+ {
+ if (Stage == 0) return 27;
+ else return 28;
+ }
+ BlockState JungleSapling();
+ unsigned char Stage(BlockState Block);
+ }
+ namespace JungleSign
+ {
+ constexpr BlockState JungleSign(const unsigned char Rotation)
+ {
+ if (Rotation == 0) return 3510;
+ else if (Rotation == 1) return 3512;
+ else if (Rotation == 2) return 3514;
+ else if (Rotation == 3) return 3516;
+ else if (Rotation == 4) return 3518;
+ else if (Rotation == 5) return 3520;
+ else if (Rotation == 6) return 3522;
+ else if (Rotation == 7) return 3524;
+ else if (Rotation == 8) return 3526;
+ else if (Rotation == 9) return 3528;
+ else if (Rotation == 10) return 3530;
+ else if (Rotation == 11) return 3532;
+ else if (Rotation == 12) return 3534;
+ else if (Rotation == 13) return 3536;
+ else if (Rotation == 14) return 3538;
+ else return 3540;
+ }
+ BlockState JungleSign();
+ unsigned char Rotation(BlockState Block);
+ }
+ namespace JungleSlab
+ {
+ enum class Type
+ {
+ Top,
+ Bottom,
+ Double
+ };
+ constexpr BlockState JungleSlab(const enum Type Type)
+ {
+ if (Type == Type::Top) return 8319;
+ else if (Type == Type::Bottom) return 8321;
+ else return 8323;
+ }
+ BlockState JungleSlab();
+ enum Type Type(BlockState Block);
+ }
+ namespace JungleStairs
+ {
+ enum class Half
+ {
+ Top,
+ Bottom
+ };
+ enum class Shape
+ {
+ Straight,
+ InnerLeft,
+ InnerRight,
+ OuterLeft,
+ OuterRight
+ };
+ constexpr BlockState JungleStairs(const eBlockFace Facing, const enum Half Half, const enum Shape Shape)
+ {
+ if (Facing == eBlockFace::BLOCK_FACE_ZM)
+ if (Half == Half::Top)
+ if (Shape == Shape::Straight) return 5565;
+ else if (Shape == Shape::InnerLeft) return 5567;
+ else if (Shape == Shape::InnerRight) return 5569;
+ else if (Shape == Shape::OuterLeft) return 5571;
+ else return 5573;
+ else
+ if (Shape == Shape::Straight) return 5575;
+ else if (Shape == Shape::InnerLeft) return 5577;
+ else if (Shape == Shape::InnerRight) return 5579;
+ else if (Shape == Shape::OuterLeft) return 5581;
+ else return 5583;
+ else if (Facing == eBlockFace::BLOCK_FACE_ZP)
+ if (Half == Half::Top)
+ if (Shape == Shape::Straight) return 5585;
+ else if (Shape == Shape::InnerLeft) return 5587;
+ else if (Shape == Shape::InnerRight) return 5589;
+ else if (Shape == Shape::OuterLeft) return 5591;
+ else return 5593;
+ else
+ if (Shape == Shape::Straight) return 5595;
+ else if (Shape == Shape::InnerLeft) return 5597;
+ else if (Shape == Shape::InnerRight) return 5599;
+ else if (Shape == Shape::OuterLeft) return 5601;
+ else return 5603;
+ else if (Facing == eBlockFace::BLOCK_FACE_XM)
+ if (Half == Half::Top)
+ if (Shape == Shape::Straight) return 5605;
+ else if (Shape == Shape::InnerLeft) return 5607;
+ else if (Shape == Shape::InnerRight) return 5609;
+ else if (Shape == Shape::OuterLeft) return 5611;
+ else return 5613;
+ else
+ if (Shape == Shape::Straight) return 5615;
+ else if (Shape == Shape::InnerLeft) return 5617;
+ else if (Shape == Shape::InnerRight) return 5619;
+ else if (Shape == Shape::OuterLeft) return 5621;
+ else return 5623;
+ else
+ if (Half == Half::Top)
+ if (Shape == Shape::Straight) return 5625;
+ else if (Shape == Shape::InnerLeft) return 5627;
+ else if (Shape == Shape::InnerRight) return 5629;
+ else if (Shape == Shape::OuterLeft) return 5631;
+ else return 5633;
+ else
+ if (Shape == Shape::Straight) return 5635;
+ else if (Shape == Shape::InnerLeft) return 5637;
+ else if (Shape == Shape::InnerRight) return 5639;
+ else if (Shape == Shape::OuterLeft) return 5641;
+ else return 5643;
+ }
+ BlockState JungleStairs();
+ eBlockFace Facing(BlockState Block);
+ enum Half Half(BlockState Block);
+ enum Shape Shape(BlockState Block);
+ }
+ namespace JungleTrapdoor
+ {
+ enum class Half
+ {
+ Top,
+ Bottom
+ };
+ constexpr BlockState JungleTrapdoor(const eBlockFace Facing, const enum Half Half, const bool Open, const bool Powered)
+ {
+ if (Facing == eBlockFace::BLOCK_FACE_ZM)
+ if (Half == Half::Top)
+ if (Open)
+ if (Powered) return 4304;
+ else return 4306;
+ else
+ if (Powered) return 4308;
+ else return 4310;
+ else
+ if (Open)
+ if (Powered) return 4312;
+ else return 4314;
+ else
+ if (Powered) return 4316;
+ else return 4318;
+ else if (Facing == eBlockFace::BLOCK_FACE_ZP)
+ if (Half == Half::Top)
+ if (Open)
+ if (Powered) return 4320;
+ else return 4322;
+ else
+ if (Powered) return 4324;
+ else return 4326;
+ else
+ if (Open)
+ if (Powered) return 4328;
+ else return 4330;
+ else
+ if (Powered) return 4332;
+ else return 4334;
+ else if (Facing == eBlockFace::BLOCK_FACE_XM)
+ if (Half == Half::Top)
+ if (Open)
+ if (Powered) return 4336;
+ else return 4338;
+ else
+ if (Powered) return 4340;
+ else return 4342;
+ else
+ if (Open)
+ if (Powered) return 4344;
+ else return 4346;
+ else
+ if (Powered) return 4348;
+ else return 4350;
+ else
+ if (Half == Half::Top)
+ if (Open)
+ if (Powered) return 4352;
+ else return 4354;
+ else
+ if (Powered) return 4356;
+ else return 4358;
+ else
+ if (Open)
+ if (Powered) return 4360;
+ else return 4362;
+ else
+ if (Powered) return 4364;
+ else return 4366;
+ }
+ BlockState JungleTrapdoor();
+ eBlockFace Facing(BlockState Block);
+ enum Half Half(BlockState Block);
+ bool Open(BlockState Block);
+ bool Powered(BlockState Block);
+ }
+ namespace JungleWallSign
+ {
+ constexpr BlockState JungleWallSign(const eBlockFace Facing)
+ {
+ if (Facing == eBlockFace::BLOCK_FACE_ZM) return 3768;
+ else if (Facing == eBlockFace::BLOCK_FACE_ZP) return 3770;
+ else if (Facing == eBlockFace::BLOCK_FACE_XM) return 3772;
+ else return 3774;
+ }
+ BlockState JungleWallSign();
+ eBlockFace Facing(BlockState Block);
+ }
+ namespace JungleWood
+ {
+ enum class Axis
+ {
+ X,
+ Y,
+ Z
+ };
+ constexpr BlockState JungleWood(const enum Axis Axis)
+ {
+ if (Axis == Axis::X) return 118;
+ else if (Axis == Axis::Y) return 119;
+ else return 120;
+ }
+ BlockState JungleWood();
+ enum Axis Axis(BlockState Block);
+ }
+ namespace Kelp
+ {
+ constexpr BlockState Kelp(const unsigned char Age)
+ {
+ if (Age == 0) return 9470;
+ else if (Age == 1) return 9471;
+ else if (Age == 2) return 9472;
+ else if (Age == 3) return 9473;
+ else if (Age == 4) return 9474;
+ else if (Age == 5) return 9475;
+ else if (Age == 6) return 9476;
+ else if (Age == 7) return 9477;
+ else if (Age == 8) return 9478;
+ else if (Age == 9) return 9479;
+ else if (Age == 10) return 9480;
+ else if (Age == 11) return 9481;
+ else if (Age == 12) return 9482;
+ else if (Age == 13) return 9483;
+ else if (Age == 14) return 9484;
+ else if (Age == 15) return 9485;
+ else if (Age == 16) return 9486;
+ else if (Age == 17) return 9487;
+ else if (Age == 18) return 9488;
+ else if (Age == 19) return 9489;
+ else if (Age == 20) return 9490;
+ else if (Age == 21) return 9491;
+ else if (Age == 22) return 9492;
+ else if (Age == 23) return 9493;
+ else if (Age == 24) return 9494;
+ else return 9495;
+ }
+ BlockState Kelp();
+ unsigned char Age(BlockState Block);
+ }
+ namespace KelpPlant
+ {
+ constexpr BlockState KelpPlant()
+ {
+ return 9496;
+ }
+ }
+ namespace Ladder
+ {
+ constexpr BlockState Ladder(const eBlockFace Facing)
+ {
+ if (Facing == eBlockFace::BLOCK_FACE_ZM) return 3638;
+ else if (Facing == eBlockFace::BLOCK_FACE_ZP) return 3640;
+ else if (Facing == eBlockFace::BLOCK_FACE_XM) return 3642;
+ else return 3644;
+ }
+ BlockState Ladder();
+ eBlockFace Facing(BlockState Block);
+ }
+ namespace Lantern
+ {
+ constexpr BlockState Lantern(const bool Hanging)
+ {
+ if (Hanging) return 14886;
+ else return 14887;
+ }
+ BlockState Lantern();
+ bool Hanging(BlockState Block);
+ }
+ namespace LapisBlock
+ {
+ constexpr BlockState LapisBlock()
+ {
+ return 233;
+ }
+ }
+ namespace LapisOre
+ {
+ constexpr BlockState LapisOre()
+ {
+ return 232;
+ }
+ }
+ namespace LargeFern
+ {
+ enum class Half
+ {
+ Upper,
+ Lower
+ };
+ constexpr BlockState LargeFern(const enum Half Half)
+ {
+ if (Half == Half::Upper) return 7895;
+ else return 7896;
+ }
+ BlockState LargeFern();
+ enum Half Half(BlockState Block);
+ }
+ namespace Lava
+ {
+ constexpr BlockState Lava(const unsigned char Level)
+ {
+ if (Level == 0) return 50;
+ else if (Level == 1) return 51;
+ else if (Level == 2) return 52;
+ else if (Level == 3) return 53;
+ else if (Level == 4) return 54;
+ else if (Level == 5) return 55;
+ else if (Level == 6) return 56;
+ else if (Level == 7) return 57;
+ else if (Level == 8) return 58;
+ else if (Level == 9) return 59;
+ else if (Level == 10) return 60;
+ else if (Level == 11) return 61;
+ else if (Level == 12) return 62;
+ else if (Level == 13) return 63;
+ else if (Level == 14) return 64;
+ else return 65;
+ }
+ BlockState Lava();
+ unsigned char Level(BlockState Block);
+ }
+ namespace Lectern
+ {
+ constexpr BlockState Lectern(const eBlockFace Facing, const bool HasBook, const bool Powered)
+ {
+ if (Facing == eBlockFace::BLOCK_FACE_ZM)
+ if (HasBook)
+ if (Powered) return 14833;
+ else return 14834;
+ else
+ if (Powered) return 14835;
+ else return 14836;
+ else if (Facing == eBlockFace::BLOCK_FACE_ZP)
+ if (HasBook)
+ if (Powered) return 14837;
+ else return 14838;
+ else
+ if (Powered) return 14839;
+ else return 14840;
+ else if (Facing == eBlockFace::BLOCK_FACE_XM)
+ if (HasBook)
+ if (Powered) return 14841;
+ else return 14842;
+ else
+ if (Powered) return 14843;
+ else return 14844;
+ else
+ if (HasBook)
+ if (Powered) return 14845;
+ else return 14846;
+ else
+ if (Powered) return 14847;
+ else return 14848;
+ }
+ BlockState Lectern();
+ eBlockFace Facing(BlockState Block);
+ bool HasBook(BlockState Block);
+ bool Powered(BlockState Block);
+ }
+ namespace Lever
+ {
+ enum class Face
+ {
+ Floor,
+ Wall,
+ Ceiling
+ };
+ constexpr BlockState Lever(const enum Face Face, const eBlockFace Facing, const bool Powered)
+ {
+ if (Face == Face::Floor)
+ if (Facing == eBlockFace::BLOCK_FACE_ZM)
+ if (Powered) return 3783;
+ else return 3784;
+ else if (Facing == eBlockFace::BLOCK_FACE_ZP)
+ if (Powered) return 3785;
+ else return 3786;
+ else if (Facing == eBlockFace::BLOCK_FACE_XM)
+ if (Powered) return 3787;
+ else return 3788;
+ else
+ if (Powered) return 3789;
+ else return 3790;
+ else if (Face == Face::Wall)
+ if (Facing == eBlockFace::BLOCK_FACE_ZM)
+ if (Powered) return 3791;
+ else return 3792;
+ else if (Facing == eBlockFace::BLOCK_FACE_ZP)
+ if (Powered) return 3793;
+ else return 3794;
+ else if (Facing == eBlockFace::BLOCK_FACE_XM)
+ if (Powered) return 3795;
+ else return 3796;
+ else
+ if (Powered) return 3797;
+ else return 3798;
+ else
+ if (Facing == eBlockFace::BLOCK_FACE_ZM)
+ if (Powered) return 3799;
+ else return 3800;
+ else if (Facing == eBlockFace::BLOCK_FACE_ZP)
+ if (Powered) return 3801;
+ else return 3802;
+ else if (Facing == eBlockFace::BLOCK_FACE_XM)
+ if (Powered) return 3803;
+ else return 3804;
+ else
+ if (Powered) return 3805;
+ else return 3806;
+ }
+ BlockState Lever();
+ enum Face Face(BlockState Block);
+ eBlockFace Facing(BlockState Block);
+ bool Powered(BlockState Block);
+ }
+ namespace LightBlueBanner
+ {
+ constexpr BlockState LightBlueBanner(const unsigned char Rotation)
+ {
+ if (Rotation == 0) return 7945;
+ else if (Rotation == 1) return 7946;
+ else if (Rotation == 2) return 7947;
+ else if (Rotation == 3) return 7948;
+ else if (Rotation == 4) return 7949;
+ else if (Rotation == 5) return 7950;
+ else if (Rotation == 6) return 7951;
+ else if (Rotation == 7) return 7952;
+ else if (Rotation == 8) return 7953;
+ else if (Rotation == 9) return 7954;
+ else if (Rotation == 10) return 7955;
+ else if (Rotation == 11) return 7956;
+ else if (Rotation == 12) return 7957;
+ else if (Rotation == 13) return 7958;
+ else if (Rotation == 14) return 7959;
+ else return 7960;
+ }
+ BlockState LightBlueBanner();
+ unsigned char Rotation(BlockState Block);
+ }
+ namespace LightBlueBed
+ {
+ enum class Part
+ {
+ Head,
+ Foot
+ };
+ constexpr BlockState LightBlueBed(const eBlockFace Facing, const bool Occupied, const enum Part Part)
+ {
+ if (Facing == eBlockFace::BLOCK_FACE_ZM)
+ if (Occupied)
+ if (Part == Part::Head) return 1097;
+ else return 1098;
+ else
+ if (Part == Part::Head) return 1099;
+ else return 1100;
+ else if (Facing == eBlockFace::BLOCK_FACE_ZP)
+ if (Occupied)
+ if (Part == Part::Head) return 1101;
+ else return 1102;
+ else
+ if (Part == Part::Head) return 1103;
+ else return 1104;
+ else if (Facing == eBlockFace::BLOCK_FACE_XM)
+ if (Occupied)
+ if (Part == Part::Head) return 1105;
+ else return 1106;
+ else
+ if (Part == Part::Head) return 1107;
+ else return 1108;
+ else
+ if (Occupied)
+ if (Part == Part::Head) return 1109;
+ else return 1110;
+ else
+ if (Part == Part::Head) return 1111;
+ else return 1112;
+ }
+ BlockState LightBlueBed();
+ eBlockFace Facing(BlockState Block);
+ bool Occupied(BlockState Block);
+ enum Part Part(BlockState Block);
+ }
+ namespace LightBlueCarpet
+ {
+ constexpr BlockState LightBlueCarpet()
+ {
+ return 7869;
+ }
+ }
+ namespace LightBlueConcrete
+ {
+ constexpr BlockState LightBlueConcrete()
+ {
+ return 9441;
+ }
+ }
+ namespace LightBlueConcretePowder
+ {
+ constexpr BlockState LightBlueConcretePowder()
+ {
+ return 9457;
+ }
+ }
+ namespace LightBlueGlazedTerracotta
+ {
+ constexpr BlockState LightBlueGlazedTerracotta(const eBlockFace Facing)
+ {
+ if (Facing == eBlockFace::BLOCK_FACE_ZM) return 9386;
+ else if (Facing == eBlockFace::BLOCK_FACE_ZP) return 9387;
+ else if (Facing == eBlockFace::BLOCK_FACE_XM) return 9388;
+ else return 9389;
+ }
+ BlockState LightBlueGlazedTerracotta();
+ eBlockFace Facing(BlockState Block);
+ }
+ namespace LightBlueShulkerBox
+ {
+ constexpr BlockState LightBlueShulkerBox(const eBlockFace Facing)
+ {
+ if (Facing == eBlockFace::BLOCK_FACE_ZM) return 9296;
+ else if (Facing == eBlockFace::BLOCK_FACE_XP) return 9297;
+ else if (Facing == eBlockFace::BLOCK_FACE_ZP) return 9298;
+ else if (Facing == eBlockFace::BLOCK_FACE_XM) return 9299;
+ else if (Facing == eBlockFace::BLOCK_FACE_YP) return 9300;
+ else return 9301;
+ }
+ BlockState LightBlueShulkerBox();
+ eBlockFace Facing(BlockState Block);
+ }
+ namespace LightBlueStainedGlass
+ {
+ constexpr BlockState LightBlueStainedGlass()
+ {
+ return 4098;
+ }
+ }
+ namespace LightBlueStainedGlassPane
+ {
+ constexpr BlockState LightBlueStainedGlassPane(const bool East, const bool North, const bool South, const bool West)
+ {
+ if (East)
+ if (North)
+ if (South)
+ if (West) return 6961;
+ else return 6962;
+ else
+ if (West) return 6965;
+ else return 6966;
+ else
+ if (South)
+ if (West) return 6969;
+ else return 6970;
+ else
+ if (West) return 6973;
+ else return 6974;
+ else
+ if (North)
+ if (South)
+ if (West) return 6977;
+ else return 6978;
+ else
+ if (West) return 6981;
+ else return 6982;
+ else
+ if (South)
+ if (West) return 6985;
+ else return 6986;
+ else
+ if (West) return 6989;
+ else return 6990;
+ }
+ BlockState LightBlueStainedGlassPane();
+ bool East(BlockState Block);
+ bool North(BlockState Block);
+ bool South(BlockState Block);
+ bool West(BlockState Block);
+ }
+ namespace LightBlueTerracotta
+ {
+ constexpr BlockState LightBlueTerracotta()
+ {
+ return 6850;
+ }
+ }
+ namespace LightBlueWallBanner
+ {
+ constexpr BlockState LightBlueWallBanner(const eBlockFace Facing)
+ {
+ if (Facing == eBlockFace::BLOCK_FACE_ZM) return 8165;
+ else if (Facing == eBlockFace::BLOCK_FACE_ZP) return 8166;
+ else if (Facing == eBlockFace::BLOCK_FACE_XM) return 8167;
+ else return 8168;
+ }
+ BlockState LightBlueWallBanner();
+ eBlockFace Facing(BlockState Block);
+ }
+ namespace LightBlueWool
+ {
+ constexpr BlockState LightBlueWool()
+ {
+ return 1387;
+ }
+ }
+ namespace LightGrayBanner
+ {
+ constexpr BlockState LightGrayBanner(const unsigned char Rotation)
+ {
+ if (Rotation == 0) return 8025;
+ else if (Rotation == 1) return 8026;
+ else if (Rotation == 2) return 8027;
+ else if (Rotation == 3) return 8028;
+ else if (Rotation == 4) return 8029;
+ else if (Rotation == 5) return 8030;
+ else if (Rotation == 6) return 8031;
+ else if (Rotation == 7) return 8032;
+ else if (Rotation == 8) return 8033;
+ else if (Rotation == 9) return 8034;
+ else if (Rotation == 10) return 8035;
+ else if (Rotation == 11) return 8036;
+ else if (Rotation == 12) return 8037;
+ else if (Rotation == 13) return 8038;
+ else if (Rotation == 14) return 8039;
+ else return 8040;
+ }
+ BlockState LightGrayBanner();
+ unsigned char Rotation(BlockState Block);
+ }
+ namespace LightGrayBed
+ {
+ enum class Part
+ {
+ Head,
+ Foot
+ };
+ constexpr BlockState LightGrayBed(const eBlockFace Facing, const bool Occupied, const enum Part Part)
+ {
+ if (Facing == eBlockFace::BLOCK_FACE_ZM)
+ if (Occupied)
+ if (Part == Part::Head) return 1177;
+ else return 1178;
+ else
+ if (Part == Part::Head) return 1179;
+ else return 1180;
+ else if (Facing == eBlockFace::BLOCK_FACE_ZP)
+ if (Occupied)
+ if (Part == Part::Head) return 1181;
+ else return 1182;
+ else
+ if (Part == Part::Head) return 1183;
+ else return 1184;
+ else if (Facing == eBlockFace::BLOCK_FACE_XM)
+ if (Occupied)
+ if (Part == Part::Head) return 1185;
+ else return 1186;
+ else
+ if (Part == Part::Head) return 1187;
+ else return 1188;
+ else
+ if (Occupied)
+ if (Part == Part::Head) return 1189;
+ else return 1190;
+ else
+ if (Part == Part::Head) return 1191;
+ else return 1192;
+ }
+ BlockState LightGrayBed();
+ eBlockFace Facing(BlockState Block);
+ bool Occupied(BlockState Block);
+ enum Part Part(BlockState Block);
+ }
+ namespace LightGrayCarpet
+ {
+ constexpr BlockState LightGrayCarpet()
+ {
+ return 7874;
+ }
+ }
+ namespace LightGrayConcrete
+ {
+ constexpr BlockState LightGrayConcrete()
+ {
+ return 9446;
+ }
+ }
+ namespace LightGrayConcretePowder
+ {
+ constexpr BlockState LightGrayConcretePowder()
+ {
+ return 9462;
+ }
+ }
+ namespace LightGrayGlazedTerracotta
+ {
+ constexpr BlockState LightGrayGlazedTerracotta(const eBlockFace Facing)
+ {
+ if (Facing == eBlockFace::BLOCK_FACE_ZM) return 9406;
+ else if (Facing == eBlockFace::BLOCK_FACE_ZP) return 9407;
+ else if (Facing == eBlockFace::BLOCK_FACE_XM) return 9408;
+ else return 9409;
+ }
+ BlockState LightGrayGlazedTerracotta();
+ eBlockFace Facing(BlockState Block);
+ }
+ namespace LightGrayShulkerBox
+ {
+ constexpr BlockState LightGrayShulkerBox(const eBlockFace Facing)
+ {
+ if (Facing == eBlockFace::BLOCK_FACE_ZM) return 9326;
+ else if (Facing == eBlockFace::BLOCK_FACE_XP) return 9327;
+ else if (Facing == eBlockFace::BLOCK_FACE_ZP) return 9328;
+ else if (Facing == eBlockFace::BLOCK_FACE_XM) return 9329;
+ else if (Facing == eBlockFace::BLOCK_FACE_YP) return 9330;
+ else return 9331;
+ }
+ BlockState LightGrayShulkerBox();
+ eBlockFace Facing(BlockState Block);
+ }
+ namespace LightGrayStainedGlass
+ {
+ constexpr BlockState LightGrayStainedGlass()
+ {
+ return 4103;
+ }
+ }
+ namespace LightGrayStainedGlassPane
+ {
+ constexpr BlockState LightGrayStainedGlassPane(const bool East, const bool North, const bool South, const bool West)
+ {
+ if (East)
+ if (North)
+ if (South)
+ if (West) return 7121;
+ else return 7122;
+ else
+ if (West) return 7125;
+ else return 7126;
+ else
+ if (South)
+ if (West) return 7129;
+ else return 7130;
+ else
+ if (West) return 7133;
+ else return 7134;
+ else
+ if (North)
+ if (South)
+ if (West) return 7137;
+ else return 7138;
+ else
+ if (West) return 7141;
+ else return 7142;
+ else
+ if (South)
+ if (West) return 7145;
+ else return 7146;
+ else
+ if (West) return 7149;
+ else return 7150;
+ }
+ BlockState LightGrayStainedGlassPane();
+ bool East(BlockState Block);
+ bool North(BlockState Block);
+ bool South(BlockState Block);
+ bool West(BlockState Block);
+ }
+ namespace LightGrayTerracotta
+ {
+ constexpr BlockState LightGrayTerracotta()
+ {
+ return 6855;
+ }
+ }
+ namespace LightGrayWallBanner
+ {
+ constexpr BlockState LightGrayWallBanner(const eBlockFace Facing)
+ {
+ if (Facing == eBlockFace::BLOCK_FACE_ZM) return 8185;
+ else if (Facing == eBlockFace::BLOCK_FACE_ZP) return 8186;
+ else if (Facing == eBlockFace::BLOCK_FACE_XM) return 8187;
+ else return 8188;
+ }
+ BlockState LightGrayWallBanner();
+ eBlockFace Facing(BlockState Block);
+ }
+ namespace LightGrayWool
+ {
+ constexpr BlockState LightGrayWool()
+ {
+ return 1392;
+ }
+ }
+ namespace LightWeightedPressurePlate
+ {
+ constexpr BlockState LightWeightedPressurePlate(const unsigned char Power)
+ {
+ if (Power == 0) return 6646;
+ else if (Power == 1) return 6647;
+ else if (Power == 2) return 6648;
+ else if (Power == 3) return 6649;
+ else if (Power == 4) return 6650;
+ else if (Power == 5) return 6651;
+ else if (Power == 6) return 6652;
+ else if (Power == 7) return 6653;
+ else if (Power == 8) return 6654;
+ else if (Power == 9) return 6655;
+ else if (Power == 10) return 6656;
+ else if (Power == 11) return 6657;
+ else if (Power == 12) return 6658;
+ else if (Power == 13) return 6659;
+ else if (Power == 14) return 6660;
+ else return 6661;
+ }
+ BlockState LightWeightedPressurePlate();
+ unsigned char Power(BlockState Block);
+ }
+ namespace Lilac
+ {
+ enum class Half
+ {
+ Upper,
+ Lower
+ };
+ constexpr BlockState Lilac(const enum Half Half)
+ {
+ if (Half == Half::Upper) return 7887;
+ else return 7888;
+ }
+ BlockState Lilac();
+ enum Half Half(BlockState Block);
+ }
+ namespace LilyOfTheValley
+ {
+ constexpr BlockState LilyOfTheValley()
+ {
+ return 1424;
+ }
+ }
+ namespace LilyPad
+ {
+ constexpr BlockState LilyPad()
+ {
+ return 5014;
+ }
+ }
+ namespace LimeBanner
+ {
+ constexpr BlockState LimeBanner(const unsigned char Rotation)
+ {
+ if (Rotation == 0) return 7977;
+ else if (Rotation == 1) return 7978;
+ else if (Rotation == 2) return 7979;
+ else if (Rotation == 3) return 7980;
+ else if (Rotation == 4) return 7981;
+ else if (Rotation == 5) return 7982;
+ else if (Rotation == 6) return 7983;
+ else if (Rotation == 7) return 7984;
+ else if (Rotation == 8) return 7985;
+ else if (Rotation == 9) return 7986;
+ else if (Rotation == 10) return 7987;
+ else if (Rotation == 11) return 7988;
+ else if (Rotation == 12) return 7989;
+ else if (Rotation == 13) return 7990;
+ else if (Rotation == 14) return 7991;
+ else return 7992;
+ }
+ BlockState LimeBanner();
+ unsigned char Rotation(BlockState Block);
+ }
+ namespace LimeBed
+ {
+ enum class Part
+ {
+ Head,
+ Foot
+ };
+ constexpr BlockState LimeBed(const eBlockFace Facing, const bool Occupied, const enum Part Part)
+ {
+ if (Facing == eBlockFace::BLOCK_FACE_ZM)
+ if (Occupied)
+ if (Part == Part::Head) return 1129;
+ else return 1130;
+ else
+ if (Part == Part::Head) return 1131;
+ else return 1132;
+ else if (Facing == eBlockFace::BLOCK_FACE_ZP)
+ if (Occupied)
+ if (Part == Part::Head) return 1133;
+ else return 1134;
+ else
+ if (Part == Part::Head) return 1135;
+ else return 1136;
+ else if (Facing == eBlockFace::BLOCK_FACE_XM)
+ if (Occupied)
+ if (Part == Part::Head) return 1137;
+ else return 1138;
+ else
+ if (Part == Part::Head) return 1139;
+ else return 1140;
+ else
+ if (Occupied)
+ if (Part == Part::Head) return 1141;
+ else return 1142;
+ else
+ if (Part == Part::Head) return 1143;
+ else return 1144;
+ }
+ BlockState LimeBed();
+ eBlockFace Facing(BlockState Block);
+ bool Occupied(BlockState Block);
+ enum Part Part(BlockState Block);
+ }
+ namespace LimeCarpet
+ {
+ constexpr BlockState LimeCarpet()
+ {
+ return 7871;
+ }
+ }
+ namespace LimeConcrete
+ {
+ constexpr BlockState LimeConcrete()
+ {
+ return 9443;
+ }
+ }
+ namespace LimeConcretePowder
+ {
+ constexpr BlockState LimeConcretePowder()
+ {
+ return 9459;
+ }
+ }
+ namespace LimeGlazedTerracotta
+ {
+ constexpr BlockState LimeGlazedTerracotta(const eBlockFace Facing)
+ {
+ if (Facing == eBlockFace::BLOCK_FACE_ZM) return 9394;
+ else if (Facing == eBlockFace::BLOCK_FACE_ZP) return 9395;
+ else if (Facing == eBlockFace::BLOCK_FACE_XM) return 9396;
+ else return 9397;
+ }
+ BlockState LimeGlazedTerracotta();
+ eBlockFace Facing(BlockState Block);
+ }
+ namespace LimeShulkerBox
+ {
+ constexpr BlockState LimeShulkerBox(const eBlockFace Facing)
+ {
+ if (Facing == eBlockFace::BLOCK_FACE_ZM) return 9308;
+ else if (Facing == eBlockFace::BLOCK_FACE_XP) return 9309;
+ else if (Facing == eBlockFace::BLOCK_FACE_ZP) return 9310;
+ else if (Facing == eBlockFace::BLOCK_FACE_XM) return 9311;
+ else if (Facing == eBlockFace::BLOCK_FACE_YP) return 9312;
+ else return 9313;
+ }
+ BlockState LimeShulkerBox();
+ eBlockFace Facing(BlockState Block);
+ }
+ namespace LimeStainedGlass
+ {
+ constexpr BlockState LimeStainedGlass()
+ {
+ return 4100;
+ }
+ }
+ namespace LimeStainedGlassPane
+ {
+ constexpr BlockState LimeStainedGlassPane(const bool East, const bool North, const bool South, const bool West)
+ {
+ if (East)
+ if (North)
+ if (South)
+ if (West) return 7025;
+ else return 7026;
+ else
+ if (West) return 7029;
+ else return 7030;
+ else
+ if (South)
+ if (West) return 7033;
+ else return 7034;
+ else
+ if (West) return 7037;
+ else return 7038;
+ else
+ if (North)
+ if (South)
+ if (West) return 7041;
+ else return 7042;
+ else
+ if (West) return 7045;
+ else return 7046;
+ else
+ if (South)
+ if (West) return 7049;
+ else return 7050;
+ else
+ if (West) return 7053;
+ else return 7054;
+ }
+ BlockState LimeStainedGlassPane();
+ bool East(BlockState Block);
+ bool North(BlockState Block);
+ bool South(BlockState Block);
+ bool West(BlockState Block);
+ }
+ namespace LimeTerracotta
+ {
+ constexpr BlockState LimeTerracotta()
+ {
+ return 6852;
+ }
+ }
+ namespace LimeWallBanner
+ {
+ constexpr BlockState LimeWallBanner(const eBlockFace Facing)
+ {
+ if (Facing == eBlockFace::BLOCK_FACE_ZM) return 8173;
+ else if (Facing == eBlockFace::BLOCK_FACE_ZP) return 8174;
+ else if (Facing == eBlockFace::BLOCK_FACE_XM) return 8175;
+ else return 8176;
+ }
+ BlockState LimeWallBanner();
+ eBlockFace Facing(BlockState Block);
+ }
+ namespace LimeWool
+ {
+ constexpr BlockState LimeWool()
+ {
+ return 1389;
+ }
+ }
+ namespace Lodestone
+ {
+ constexpr BlockState Lodestone()
+ {
+ return 15838;
+ }
+ }
+ namespace Loom
+ {
+ constexpr BlockState Loom(const eBlockFace Facing)
+ {
+ if (Facing == eBlockFace::BLOCK_FACE_ZM) return 14787;
+ else if (Facing == eBlockFace::BLOCK_FACE_ZP) return 14788;
+ else if (Facing == eBlockFace::BLOCK_FACE_XM) return 14789;
+ else return 14790;
+ }
+ BlockState Loom();
+ eBlockFace Facing(BlockState Block);
+ }
+ namespace MagentaBanner
+ {
+ constexpr BlockState MagentaBanner(const unsigned char Rotation)
+ {
+ if (Rotation == 0) return 7929;
+ else if (Rotation == 1) return 7930;
+ else if (Rotation == 2) return 7931;
+ else if (Rotation == 3) return 7932;
+ else if (Rotation == 4) return 7933;
+ else if (Rotation == 5) return 7934;
+ else if (Rotation == 6) return 7935;
+ else if (Rotation == 7) return 7936;
+ else if (Rotation == 8) return 7937;
+ else if (Rotation == 9) return 7938;
+ else if (Rotation == 10) return 7939;
+ else if (Rotation == 11) return 7940;
+ else if (Rotation == 12) return 7941;
+ else if (Rotation == 13) return 7942;
+ else if (Rotation == 14) return 7943;
+ else return 7944;
+ }
+ BlockState MagentaBanner();
+ unsigned char Rotation(BlockState Block);
+ }
+ namespace MagentaBed
+ {
+ enum class Part
+ {
+ Head,
+ Foot
+ };
+ constexpr BlockState MagentaBed(const eBlockFace Facing, const bool Occupied, const enum Part Part)
+ {
+ if (Facing == eBlockFace::BLOCK_FACE_ZM)
+ if (Occupied)
+ if (Part == Part::Head) return 1081;
+ else return 1082;
+ else
+ if (Part == Part::Head) return 1083;
+ else return 1084;
+ else if (Facing == eBlockFace::BLOCK_FACE_ZP)
+ if (Occupied)
+ if (Part == Part::Head) return 1085;
+ else return 1086;
+ else
+ if (Part == Part::Head) return 1087;
+ else return 1088;
+ else if (Facing == eBlockFace::BLOCK_FACE_XM)
+ if (Occupied)
+ if (Part == Part::Head) return 1089;
+ else return 1090;
+ else
+ if (Part == Part::Head) return 1091;
+ else return 1092;
+ else
+ if (Occupied)
+ if (Part == Part::Head) return 1093;
+ else return 1094;
+ else
+ if (Part == Part::Head) return 1095;
+ else return 1096;
+ }
+ BlockState MagentaBed();
+ eBlockFace Facing(BlockState Block);
+ bool Occupied(BlockState Block);
+ enum Part Part(BlockState Block);
+ }
+ namespace MagentaCarpet
+ {
+ constexpr BlockState MagentaCarpet()
+ {
+ return 7868;
+ }
+ }
+ namespace MagentaConcrete
+ {
+ constexpr BlockState MagentaConcrete()
+ {
+ return 9440;
+ }
+ }
+ namespace MagentaConcretePowder
+ {
+ constexpr BlockState MagentaConcretePowder()
+ {
+ return 9456;
+ }
+ }
+ namespace MagentaGlazedTerracotta
+ {
+ constexpr BlockState MagentaGlazedTerracotta(const eBlockFace Facing)
+ {
+ if (Facing == eBlockFace::BLOCK_FACE_ZM) return 9382;
+ else if (Facing == eBlockFace::BLOCK_FACE_ZP) return 9383;
+ else if (Facing == eBlockFace::BLOCK_FACE_XM) return 9384;
+ else return 9385;
+ }
+ BlockState MagentaGlazedTerracotta();
+ eBlockFace Facing(BlockState Block);
+ }
+ namespace MagentaShulkerBox
+ {
+ constexpr BlockState MagentaShulkerBox(const eBlockFace Facing)
+ {
+ if (Facing == eBlockFace::BLOCK_FACE_ZM) return 9290;
+ else if (Facing == eBlockFace::BLOCK_FACE_XP) return 9291;
+ else if (Facing == eBlockFace::BLOCK_FACE_ZP) return 9292;
+ else if (Facing == eBlockFace::BLOCK_FACE_XM) return 9293;
+ else if (Facing == eBlockFace::BLOCK_FACE_YP) return 9294;
+ else return 9295;
+ }
+ BlockState MagentaShulkerBox();
+ eBlockFace Facing(BlockState Block);
+ }
+ namespace MagentaStainedGlass
+ {
+ constexpr BlockState MagentaStainedGlass()
+ {
+ return 4097;
+ }
+ }
+ namespace MagentaStainedGlassPane
+ {
+ constexpr BlockState MagentaStainedGlassPane(const bool East, const bool North, const bool South, const bool West)
+ {
+ if (East)
+ if (North)
+ if (South)
+ if (West) return 6929;
+ else return 6930;
+ else
+ if (West) return 6933;
+ else return 6934;
+ else
+ if (South)
+ if (West) return 6937;
+ else return 6938;
+ else
+ if (West) return 6941;
+ else return 6942;
+ else
+ if (North)
+ if (South)
+ if (West) return 6945;
+ else return 6946;
+ else
+ if (West) return 6949;
+ else return 6950;
+ else
+ if (South)
+ if (West) return 6953;
+ else return 6954;
+ else
+ if (West) return 6957;
+ else return 6958;
+ }
+ BlockState MagentaStainedGlassPane();
+ bool East(BlockState Block);
+ bool North(BlockState Block);
+ bool South(BlockState Block);
+ bool West(BlockState Block);
+ }
+ namespace MagentaTerracotta
+ {
+ constexpr BlockState MagentaTerracotta()
+ {
+ return 6849;
+ }
+ }
+ namespace MagentaWallBanner
+ {
+ constexpr BlockState MagentaWallBanner(const eBlockFace Facing)
+ {
+ if (Facing == eBlockFace::BLOCK_FACE_ZM) return 8161;
+ else if (Facing == eBlockFace::BLOCK_FACE_ZP) return 8162;
+ else if (Facing == eBlockFace::BLOCK_FACE_XM) return 8163;
+ else return 8164;
+ }
+ BlockState MagentaWallBanner();
+ eBlockFace Facing(BlockState Block);
+ }
+ namespace MagentaWool
+ {
+ constexpr BlockState MagentaWool()
+ {
+ return 1386;
+ }
+ }
+ namespace MagmaBlock
+ {
+ constexpr BlockState MagmaBlock()
+ {
+ return 9253;
+ }
+ }
+ namespace Melon
+ {
+ constexpr BlockState Melon()
+ {
+ return 4763;
+ }
+ }
+ namespace MelonStem
+ {
+ constexpr BlockState MelonStem(const unsigned char Age)
+ {
+ if (Age == 0) return 4780;
+ else if (Age == 1) return 4781;
+ else if (Age == 2) return 4782;
+ else if (Age == 3) return 4783;
+ else if (Age == 4) return 4784;
+ else if (Age == 5) return 4785;
+ else if (Age == 6) return 4786;
+ else return 4787;
+ }
+ BlockState MelonStem();
+ unsigned char Age(BlockState Block);
+ }
+ namespace MossyCobblestone
+ {
+ constexpr BlockState MossyCobblestone()
+ {
+ return 1433;
+ }
+ }
+ namespace MossyCobblestoneSlab
+ {
+ enum class Type
+ {
+ Top,
+ Bottom,
+ Double
+ };
+ constexpr BlockState MossyCobblestoneSlab(const enum Type Type)
+ {
+ if (Type == Type::Top) return 10814;
+ else if (Type == Type::Bottom) return 10816;
+ else return 10818;
+ }
+ BlockState MossyCobblestoneSlab();
+ enum Type Type(BlockState Block);
+ }
+ namespace MossyCobblestoneStairs
+ {
+ enum class Half
+ {
+ Top,
+ Bottom
+ };
+ enum class Shape
+ {
+ Straight,
+ InnerLeft,
+ InnerRight,
+ OuterLeft,
+ OuterRight
+ };
+ constexpr BlockState MossyCobblestoneStairs(const eBlockFace Facing, const enum Half Half, const enum Shape Shape)
+ {
+ if (Facing == eBlockFace::BLOCK_FACE_ZM)
+ if (Half == Half::Top)
+ if (Shape == Shape::Straight) return 9990;
+ else if (Shape == Shape::InnerLeft) return 9992;
+ else if (Shape == Shape::InnerRight) return 9994;
+ else if (Shape == Shape::OuterLeft) return 9996;
+ else return 9998;
+ else
+ if (Shape == Shape::Straight) return 10000;
+ else if (Shape == Shape::InnerLeft) return 10002;
+ else if (Shape == Shape::InnerRight) return 10004;
+ else if (Shape == Shape::OuterLeft) return 10006;
+ else return 10008;
+ else if (Facing == eBlockFace::BLOCK_FACE_ZP)
+ if (Half == Half::Top)
+ if (Shape == Shape::Straight) return 10010;
+ else if (Shape == Shape::InnerLeft) return 10012;
+ else if (Shape == Shape::InnerRight) return 10014;
+ else if (Shape == Shape::OuterLeft) return 10016;
+ else return 10018;
+ else
+ if (Shape == Shape::Straight) return 10020;
+ else if (Shape == Shape::InnerLeft) return 10022;
+ else if (Shape == Shape::InnerRight) return 10024;
+ else if (Shape == Shape::OuterLeft) return 10026;
+ else return 10028;
+ else if (Facing == eBlockFace::BLOCK_FACE_XM)
+ if (Half == Half::Top)
+ if (Shape == Shape::Straight) return 10030;
+ else if (Shape == Shape::InnerLeft) return 10032;
+ else if (Shape == Shape::InnerRight) return 10034;
+ else if (Shape == Shape::OuterLeft) return 10036;
+ else return 10038;
+ else
+ if (Shape == Shape::Straight) return 10040;
+ else if (Shape == Shape::InnerLeft) return 10042;
+ else if (Shape == Shape::InnerRight) return 10044;
+ else if (Shape == Shape::OuterLeft) return 10046;
+ else return 10048;
+ else
+ if (Half == Half::Top)
+ if (Shape == Shape::Straight) return 10050;
+ else if (Shape == Shape::InnerLeft) return 10052;
+ else if (Shape == Shape::InnerRight) return 10054;
+ else if (Shape == Shape::OuterLeft) return 10056;
+ else return 10058;
+ else
+ if (Shape == Shape::Straight) return 10060;
+ else if (Shape == Shape::InnerLeft) return 10062;
+ else if (Shape == Shape::InnerRight) return 10064;
+ else if (Shape == Shape::OuterLeft) return 10066;
+ else return 10068;
+ }
+ BlockState MossyCobblestoneStairs();
+ eBlockFace Facing(BlockState Block);
+ enum Half Half(BlockState Block);
+ enum Shape Shape(BlockState Block);
+ }
+ namespace MossyCobblestoneWall
+ {
+ enum class East
+ {
+ None,
+ Low,
+ Tall
+ };
+ enum class North
+ {
+ None,
+ Low,
+ Tall
+ };
+ enum class South
+ {
+ None,
+ Low,
+ Tall
+ };
+ enum class West
+ {
+ None,
+ Low,
+ Tall
+ };
+ constexpr BlockState MossyCobblestoneWall(const enum East East, const enum North North, const enum South South, const bool Up, const enum West West)
+ {
+ if (East == East::None)
+ if (North == North::None)
+ if (South == South::None)
+ if (Up)
+ if (West == West::None) return 5984;
+ else if (West == West::Low) return 5985;
+ else return 5986;
+ else
+ if (West == West::None) return 5990;
+ else if (West == West::Low) return 5991;
+ else return 5992;
+ else if (South == South::Low)
+ if (Up)
+ if (West == West::None) return 5996;
+ else if (West == West::Low) return 5997;
+ else return 5998;
+ else
+ if (West == West::None) return 6002;
+ else if (West == West::Low) return 6003;
+ else return 6004;
+ else
+ if (Up)
+ if (West == West::None) return 6008;
+ else if (West == West::Low) return 6009;
+ else return 6010;
+ else
+ if (West == West::None) return 6014;
+ else if (West == West::Low) return 6015;
+ else return 6016;
+ else if (North == North::Low)
+ if (South == South::None)
+ if (Up)
+ if (West == West::None) return 6020;
+ else if (West == West::Low) return 6021;
+ else return 6022;
+ else
+ if (West == West::None) return 6026;
+ else if (West == West::Low) return 6027;
+ else return 6028;
+ else if (South == South::Low)
+ if (Up)
+ if (West == West::None) return 6032;
+ else if (West == West::Low) return 6033;
+ else return 6034;
+ else
+ if (West == West::None) return 6038;
+ else if (West == West::Low) return 6039;
+ else return 6040;
+ else
+ if (Up)
+ if (West == West::None) return 6044;
+ else if (West == West::Low) return 6045;
+ else return 6046;
+ else
+ if (West == West::None) return 6050;
+ else if (West == West::Low) return 6051;
+ else return 6052;
+ else
+ if (South == South::None)
+ if (Up)
+ if (West == West::None) return 6056;
+ else if (West == West::Low) return 6057;
+ else return 6058;
+ else
+ if (West == West::None) return 6062;
+ else if (West == West::Low) return 6063;
+ else return 6064;
+ else if (South == South::Low)
+ if (Up)
+ if (West == West::None) return 6068;
+ else if (West == West::Low) return 6069;
+ else return 6070;
+ else
+ if (West == West::None) return 6074;
+ else if (West == West::Low) return 6075;
+ else return 6076;
+ else
+ if (Up)
+ if (West == West::None) return 6080;
+ else if (West == West::Low) return 6081;
+ else return 6082;
+ else
+ if (West == West::None) return 6086;
+ else if (West == West::Low) return 6087;
+ else return 6088;
+ else if (East == East::Low)
+ if (North == North::None)
+ if (South == South::None)
+ if (Up)
+ if (West == West::None) return 6092;
+ else if (West == West::Low) return 6093;
+ else return 6094;
+ else
+ if (West == West::None) return 6098;
+ else if (West == West::Low) return 6099;
+ else return 6100;
+ else if (South == South::Low)
+ if (Up)
+ if (West == West::None) return 6104;
+ else if (West == West::Low) return 6105;
+ else return 6106;
+ else
+ if (West == West::None) return 6110;
+ else if (West == West::Low) return 6111;
+ else return 6112;
+ else
+ if (Up)
+ if (West == West::None) return 6116;
+ else if (West == West::Low) return 6117;
+ else return 6118;
+ else
+ if (West == West::None) return 6122;
+ else if (West == West::Low) return 6123;
+ else return 6124;
+ else if (North == North::Low)
+ if (South == South::None)
+ if (Up)
+ if (West == West::None) return 6128;
+ else if (West == West::Low) return 6129;
+ else return 6130;
+ else
+ if (West == West::None) return 6134;
+ else if (West == West::Low) return 6135;
+ else return 6136;
+ else if (South == South::Low)
+ if (Up)
+ if (West == West::None) return 6140;
+ else if (West == West::Low) return 6141;
+ else return 6142;
+ else
+ if (West == West::None) return 6146;
+ else if (West == West::Low) return 6147;
+ else return 6148;
+ else
+ if (Up)
+ if (West == West::None) return 6152;
+ else if (West == West::Low) return 6153;
+ else return 6154;
+ else
+ if (West == West::None) return 6158;
+ else if (West == West::Low) return 6159;
+ else return 6160;
+ else
+ if (South == South::None)
+ if (Up)
+ if (West == West::None) return 6164;
+ else if (West == West::Low) return 6165;
+ else return 6166;
+ else
+ if (West == West::None) return 6170;
+ else if (West == West::Low) return 6171;
+ else return 6172;
+ else if (South == South::Low)
+ if (Up)
+ if (West == West::None) return 6176;
+ else if (West == West::Low) return 6177;
+ else return 6178;
+ else
+ if (West == West::None) return 6182;
+ else if (West == West::Low) return 6183;
+ else return 6184;
+ else
+ if (Up)
+ if (West == West::None) return 6188;
+ else if (West == West::Low) return 6189;
+ else return 6190;
+ else
+ if (West == West::None) return 6194;
+ else if (West == West::Low) return 6195;
+ else return 6196;
+ else
+ if (North == North::None)
+ if (South == South::None)
+ if (Up)
+ if (West == West::None) return 6200;
+ else if (West == West::Low) return 6201;
+ else return 6202;
+ else
+ if (West == West::None) return 6206;
+ else if (West == West::Low) return 6207;
+ else return 6208;
+ else if (South == South::Low)
+ if (Up)
+ if (West == West::None) return 6212;
+ else if (West == West::Low) return 6213;
+ else return 6214;
+ else
+ if (West == West::None) return 6218;
+ else if (West == West::Low) return 6219;
+ else return 6220;
+ else
+ if (Up)
+ if (West == West::None) return 6224;
+ else if (West == West::Low) return 6225;
+ else return 6226;
+ else
+ if (West == West::None) return 6230;
+ else if (West == West::Low) return 6231;
+ else return 6232;
+ else if (North == North::Low)
+ if (South == South::None)
+ if (Up)
+ if (West == West::None) return 6236;
+ else if (West == West::Low) return 6237;
+ else return 6238;
+ else
+ if (West == West::None) return 6242;
+ else if (West == West::Low) return 6243;
+ else return 6244;
+ else if (South == South::Low)
+ if (Up)
+ if (West == West::None) return 6248;
+ else if (West == West::Low) return 6249;
+ else return 6250;
+ else
+ if (West == West::None) return 6254;
+ else if (West == West::Low) return 6255;
+ else return 6256;
+ else
+ if (Up)
+ if (West == West::None) return 6260;
+ else if (West == West::Low) return 6261;
+ else return 6262;
+ else
+ if (West == West::None) return 6266;
+ else if (West == West::Low) return 6267;
+ else return 6268;
+ else
+ if (South == South::None)
+ if (Up)
+ if (West == West::None) return 6272;
+ else if (West == West::Low) return 6273;
+ else return 6274;
+ else
+ if (West == West::None) return 6278;
+ else if (West == West::Low) return 6279;
+ else return 6280;
+ else if (South == South::Low)
+ if (Up)
+ if (West == West::None) return 6284;
+ else if (West == West::Low) return 6285;
+ else return 6286;
+ else
+ if (West == West::None) return 6290;
+ else if (West == West::Low) return 6291;
+ else return 6292;
+ else
+ if (Up)
+ if (West == West::None) return 6296;
+ else if (West == West::Low) return 6297;
+ else return 6298;
+ else
+ if (West == West::None) return 6302;
+ else if (West == West::Low) return 6303;
+ else return 6304;
+ }
+ BlockState MossyCobblestoneWall();
+ enum East East(BlockState Block);
+ enum North North(BlockState Block);
+ enum South South(BlockState Block);
+ bool Up(BlockState Block);
+ enum West West(BlockState Block);
+ }
+ namespace MossyStoneBrickSlab
+ {
+ enum class Type
+ {
+ Top,
+ Bottom,
+ Double
+ };
+ constexpr BlockState MossyStoneBrickSlab(const enum Type Type)
+ {
+ if (Type == Type::Top) return 10802;
+ else if (Type == Type::Bottom) return 10804;
+ else return 10806;
+ }
+ BlockState MossyStoneBrickSlab();
+ enum Type Type(BlockState Block);
+ }
+ namespace MossyStoneBrickStairs
+ {
+ enum class Half
+ {
+ Top,
+ Bottom
+ };
+ enum class Shape
+ {
+ Straight,
+ InnerLeft,
+ InnerRight,
+ OuterLeft,
+ OuterRight
+ };
+ constexpr BlockState MossyStoneBrickStairs(const eBlockFace Facing, const enum Half Half, const enum Shape Shape)
+ {
+ if (Facing == eBlockFace::BLOCK_FACE_ZM)
+ if (Half == Half::Top)
+ if (Shape == Shape::Straight) return 9830;
+ else if (Shape == Shape::InnerLeft) return 9832;
+ else if (Shape == Shape::InnerRight) return 9834;
+ else if (Shape == Shape::OuterLeft) return 9836;
+ else return 9838;
+ else
+ if (Shape == Shape::Straight) return 9840;
+ else if (Shape == Shape::InnerLeft) return 9842;
+ else if (Shape == Shape::InnerRight) return 9844;
+ else if (Shape == Shape::OuterLeft) return 9846;
+ else return 9848;
+ else if (Facing == eBlockFace::BLOCK_FACE_ZP)
+ if (Half == Half::Top)
+ if (Shape == Shape::Straight) return 9850;
+ else if (Shape == Shape::InnerLeft) return 9852;
+ else if (Shape == Shape::InnerRight) return 9854;
+ else if (Shape == Shape::OuterLeft) return 9856;
+ else return 9858;
+ else
+ if (Shape == Shape::Straight) return 9860;
+ else if (Shape == Shape::InnerLeft) return 9862;
+ else if (Shape == Shape::InnerRight) return 9864;
+ else if (Shape == Shape::OuterLeft) return 9866;
+ else return 9868;
+ else if (Facing == eBlockFace::BLOCK_FACE_XM)
+ if (Half == Half::Top)
+ if (Shape == Shape::Straight) return 9870;
+ else if (Shape == Shape::InnerLeft) return 9872;
+ else if (Shape == Shape::InnerRight) return 9874;
+ else if (Shape == Shape::OuterLeft) return 9876;
+ else return 9878;
+ else
+ if (Shape == Shape::Straight) return 9880;
+ else if (Shape == Shape::InnerLeft) return 9882;
+ else if (Shape == Shape::InnerRight) return 9884;
+ else if (Shape == Shape::OuterLeft) return 9886;
+ else return 9888;
+ else
+ if (Half == Half::Top)
+ if (Shape == Shape::Straight) return 9890;
+ else if (Shape == Shape::InnerLeft) return 9892;
+ else if (Shape == Shape::InnerRight) return 9894;
+ else if (Shape == Shape::OuterLeft) return 9896;
+ else return 9898;
+ else
+ if (Shape == Shape::Straight) return 9900;
+ else if (Shape == Shape::InnerLeft) return 9902;
+ else if (Shape == Shape::InnerRight) return 9904;
+ else if (Shape == Shape::OuterLeft) return 9906;
+ else return 9908;
+ }
+ BlockState MossyStoneBrickStairs();
+ eBlockFace Facing(BlockState Block);
+ enum Half Half(BlockState Block);
+ enum Shape Shape(BlockState Block);
+ }
+ namespace MossyStoneBrickWall
+ {
+ enum class East
+ {
+ None,
+ Low,
+ Tall
+ };
+ enum class North
+ {
+ None,
+ Low,
+ Tall
+ };
+ enum class South
+ {
+ None,
+ Low,
+ Tall
+ };
+ enum class West
+ {
+ None,
+ Low,
+ Tall
+ };
+ constexpr BlockState MossyStoneBrickWall(const enum East East, const enum North North, const enum South South, const bool Up, const enum West West)
+ {
+ if (East == East::None)
+ if (North == North::None)
+ if (South == South::None)
+ if (Up)
+ if (West == West::None) return 11842;
+ else if (West == West::Low) return 11843;
+ else return 11844;
+ else
+ if (West == West::None) return 11848;
+ else if (West == West::Low) return 11849;
+ else return 11850;
+ else if (South == South::Low)
+ if (Up)
+ if (West == West::None) return 11854;
+ else if (West == West::Low) return 11855;
+ else return 11856;
+ else
+ if (West == West::None) return 11860;
+ else if (West == West::Low) return 11861;
+ else return 11862;
+ else
+ if (Up)
+ if (West == West::None) return 11866;
+ else if (West == West::Low) return 11867;
+ else return 11868;
+ else
+ if (West == West::None) return 11872;
+ else if (West == West::Low) return 11873;
+ else return 11874;
+ else if (North == North::Low)
+ if (South == South::None)
+ if (Up)
+ if (West == West::None) return 11878;
+ else if (West == West::Low) return 11879;
+ else return 11880;
+ else
+ if (West == West::None) return 11884;
+ else if (West == West::Low) return 11885;
+ else return 11886;
+ else if (South == South::Low)
+ if (Up)
+ if (West == West::None) return 11890;
+ else if (West == West::Low) return 11891;
+ else return 11892;
+ else
+ if (West == West::None) return 11896;
+ else if (West == West::Low) return 11897;
+ else return 11898;
+ else
+ if (Up)
+ if (West == West::None) return 11902;
+ else if (West == West::Low) return 11903;
+ else return 11904;
+ else
+ if (West == West::None) return 11908;
+ else if (West == West::Low) return 11909;
+ else return 11910;
+ else
+ if (South == South::None)
+ if (Up)
+ if (West == West::None) return 11914;
+ else if (West == West::Low) return 11915;
+ else return 11916;
+ else
+ if (West == West::None) return 11920;
+ else if (West == West::Low) return 11921;
+ else return 11922;
+ else if (South == South::Low)
+ if (Up)
+ if (West == West::None) return 11926;
+ else if (West == West::Low) return 11927;
+ else return 11928;
+ else
+ if (West == West::None) return 11932;
+ else if (West == West::Low) return 11933;
+ else return 11934;
+ else
+ if (Up)
+ if (West == West::None) return 11938;
+ else if (West == West::Low) return 11939;
+ else return 11940;
+ else
+ if (West == West::None) return 11944;
+ else if (West == West::Low) return 11945;
+ else return 11946;
+ else if (East == East::Low)
+ if (North == North::None)
+ if (South == South::None)
+ if (Up)
+ if (West == West::None) return 11950;
+ else if (West == West::Low) return 11951;
+ else return 11952;
+ else
+ if (West == West::None) return 11956;
+ else if (West == West::Low) return 11957;
+ else return 11958;
+ else if (South == South::Low)
+ if (Up)
+ if (West == West::None) return 11962;
+ else if (West == West::Low) return 11963;
+ else return 11964;
+ else
+ if (West == West::None) return 11968;
+ else if (West == West::Low) return 11969;
+ else return 11970;
+ else
+ if (Up)
+ if (West == West::None) return 11974;
+ else if (West == West::Low) return 11975;
+ else return 11976;
+ else
+ if (West == West::None) return 11980;
+ else if (West == West::Low) return 11981;
+ else return 11982;
+ else if (North == North::Low)
+ if (South == South::None)
+ if (Up)
+ if (West == West::None) return 11986;
+ else if (West == West::Low) return 11987;
+ else return 11988;
+ else
+ if (West == West::None) return 11992;
+ else if (West == West::Low) return 11993;
+ else return 11994;
+ else if (South == South::Low)
+ if (Up)
+ if (West == West::None) return 11998;
+ else if (West == West::Low) return 11999;
+ else return 12000;
+ else
+ if (West == West::None) return 12004;
+ else if (West == West::Low) return 12005;
+ else return 12006;
+ else
+ if (Up)
+ if (West == West::None) return 12010;
+ else if (West == West::Low) return 12011;
+ else return 12012;
+ else
+ if (West == West::None) return 12016;
+ else if (West == West::Low) return 12017;
+ else return 12018;
+ else
+ if (South == South::None)
+ if (Up)
+ if (West == West::None) return 12022;
+ else if (West == West::Low) return 12023;
+ else return 12024;
+ else
+ if (West == West::None) return 12028;
+ else if (West == West::Low) return 12029;
+ else return 12030;
+ else if (South == South::Low)
+ if (Up)
+ if (West == West::None) return 12034;
+ else if (West == West::Low) return 12035;
+ else return 12036;
+ else
+ if (West == West::None) return 12040;
+ else if (West == West::Low) return 12041;
+ else return 12042;
+ else
+ if (Up)
+ if (West == West::None) return 12046;
+ else if (West == West::Low) return 12047;
+ else return 12048;
+ else
+ if (West == West::None) return 12052;
+ else if (West == West::Low) return 12053;
+ else return 12054;
+ else
+ if (North == North::None)
+ if (South == South::None)
+ if (Up)
+ if (West == West::None) return 12058;
+ else if (West == West::Low) return 12059;
+ else return 12060;
+ else
+ if (West == West::None) return 12064;
+ else if (West == West::Low) return 12065;
+ else return 12066;
+ else if (South == South::Low)
+ if (Up)
+ if (West == West::None) return 12070;
+ else if (West == West::Low) return 12071;
+ else return 12072;
+ else
+ if (West == West::None) return 12076;
+ else if (West == West::Low) return 12077;
+ else return 12078;
+ else
+ if (Up)
+ if (West == West::None) return 12082;
+ else if (West == West::Low) return 12083;
+ else return 12084;
+ else
+ if (West == West::None) return 12088;
+ else if (West == West::Low) return 12089;
+ else return 12090;
+ else if (North == North::Low)
+ if (South == South::None)
+ if (Up)
+ if (West == West::None) return 12094;
+ else if (West == West::Low) return 12095;
+ else return 12096;
+ else
+ if (West == West::None) return 12100;
+ else if (West == West::Low) return 12101;
+ else return 12102;
+ else if (South == South::Low)
+ if (Up)
+ if (West == West::None) return 12106;
+ else if (West == West::Low) return 12107;
+ else return 12108;
+ else
+ if (West == West::None) return 12112;
+ else if (West == West::Low) return 12113;
+ else return 12114;
+ else
+ if (Up)
+ if (West == West::None) return 12118;
+ else if (West == West::Low) return 12119;
+ else return 12120;
+ else
+ if (West == West::None) return 12124;
+ else if (West == West::Low) return 12125;
+ else return 12126;
+ else
+ if (South == South::None)
+ if (Up)
+ if (West == West::None) return 12130;
+ else if (West == West::Low) return 12131;
+ else return 12132;
+ else
+ if (West == West::None) return 12136;
+ else if (West == West::Low) return 12137;
+ else return 12138;
+ else if (South == South::Low)
+ if (Up)
+ if (West == West::None) return 12142;
+ else if (West == West::Low) return 12143;
+ else return 12144;
+ else
+ if (West == West::None) return 12148;
+ else if (West == West::Low) return 12149;
+ else return 12150;
+ else
+ if (Up)
+ if (West == West::None) return 12154;
+ else if (West == West::Low) return 12155;
+ else return 12156;
+ else
+ if (West == West::None) return 12160;
+ else if (West == West::Low) return 12161;
+ else return 12162;
+ }
+ BlockState MossyStoneBrickWall();
+ enum East East(BlockState Block);
+ enum North North(BlockState Block);
+ enum South South(BlockState Block);
+ bool Up(BlockState Block);
+ enum West West(BlockState Block);
+ }
+ namespace MossyStoneBricks
+ {
+ constexpr BlockState MossyStoneBricks()
+ {
+ return 4496;
+ }
+ }
+ namespace MovingPiston
+ {
+ enum class Type
+ {
+ Normal,
+ Sticky
+ };
+ constexpr BlockState MovingPiston(const eBlockFace Facing, const enum Type Type)
+ {
+ if (Facing == eBlockFace::BLOCK_FACE_ZM)
+ if (Type == Type::Normal) return 1400;
+ else return 1401;
+ else if (Facing == eBlockFace::BLOCK_FACE_XP)
+ if (Type == Type::Normal) return 1402;
+ else return 1403;
+ else if (Facing == eBlockFace::BLOCK_FACE_ZP)
+ if (Type == Type::Normal) return 1404;
+ else return 1405;
+ else if (Facing == eBlockFace::BLOCK_FACE_XM)
+ if (Type == Type::Normal) return 1406;
+ else return 1407;
+ else if (Facing == eBlockFace::BLOCK_FACE_YP)
+ if (Type == Type::Normal) return 1408;
+ else return 1409;
+ else
+ if (Type == Type::Normal) return 1410;
+ else return 1411;
+ }
+ BlockState MovingPiston();
+ eBlockFace Facing(BlockState Block);
+ enum Type Type(BlockState Block);
+ }
+ namespace MushroomStem
+ {
+ constexpr BlockState MushroomStem(const bool Down, const bool East, const bool North, const bool South, const bool Up, const bool West)
+ {
+ if (Down)
+ if (East)
+ if (North)
+ if (South)
+ if (Up)
+ if (West) return 4633;
+ else return 4634;
+ else
+ if (West) return 4635;
+ else return 4636;
+ else
+ if (Up)
+ if (West) return 4637;
+ else return 4638;
+ else
+ if (West) return 4639;
+ else return 4640;
+ else
+ if (South)
+ if (Up)
+ if (West) return 4641;
+ else return 4642;
+ else
+ if (West) return 4643;
+ else return 4644;
+ else
+ if (Up)
+ if (West) return 4645;
+ else return 4646;
+ else
+ if (West) return 4647;
+ else return 4648;
+ else
+ if (North)
+ if (South)
+ if (Up)
+ if (West) return 4649;
+ else return 4650;
+ else
+ if (West) return 4651;
+ else return 4652;
+ else
+ if (Up)
+ if (West) return 4653;
+ else return 4654;
+ else
+ if (West) return 4655;
+ else return 4656;
+ else
+ if (South)
+ if (Up)
+ if (West) return 4657;
+ else return 4658;
+ else
+ if (West) return 4659;
+ else return 4660;
+ else
+ if (Up)
+ if (West) return 4661;
+ else return 4662;
+ else
+ if (West) return 4663;
+ else return 4664;
+ else
+ if (East)
+ if (North)
+ if (South)
+ if (Up)
+ if (West) return 4665;
+ else return 4666;
+ else
+ if (West) return 4667;
+ else return 4668;
+ else
+ if (Up)
+ if (West) return 4669;
+ else return 4670;
+ else
+ if (West) return 4671;
+ else return 4672;
+ else
+ if (South)
+ if (Up)
+ if (West) return 4673;
+ else return 4674;
+ else
+ if (West) return 4675;
+ else return 4676;
+ else
+ if (Up)
+ if (West) return 4677;
+ else return 4678;
+ else
+ if (West) return 4679;
+ else return 4680;
+ else
+ if (North)
+ if (South)
+ if (Up)
+ if (West) return 4681;
+ else return 4682;
+ else
+ if (West) return 4683;
+ else return 4684;
+ else
+ if (Up)
+ if (West) return 4685;
+ else return 4686;
+ else
+ if (West) return 4687;
+ else return 4688;
+ else
+ if (South)
+ if (Up)
+ if (West) return 4689;
+ else return 4690;
+ else
+ if (West) return 4691;
+ else return 4692;
+ else
+ if (Up)
+ if (West) return 4693;
+ else return 4694;
+ else
+ if (West) return 4695;
+ else return 4696;
+ }
+ BlockState MushroomStem();
+ bool Down(BlockState Block);
+ bool East(BlockState Block);
+ bool North(BlockState Block);
+ bool South(BlockState Block);
+ bool Up(BlockState Block);
+ bool West(BlockState Block);
+ }
+ namespace Mycelium
+ {
+ constexpr BlockState Mycelium(const bool Snowy)
+ {
+ if (Snowy) return 5012;
+ else return 5013;
+ }
+ BlockState Mycelium();
+ bool Snowy(BlockState Block);
+ }
+ namespace NetherBrickFence
+ {
+ constexpr BlockState NetherBrickFence(const bool East, const bool North, const bool South, const bool West)
+ {
+ if (East)
+ if (North)
+ if (South)
+ if (West) return 5018;
+ else return 5019;
+ else
+ if (West) return 5022;
+ else return 5023;
+ else
+ if (South)
+ if (West) return 5026;
+ else return 5027;
+ else
+ if (West) return 5030;
+ else return 5031;
+ else
+ if (North)
+ if (South)
+ if (West) return 5034;
+ else return 5035;
+ else
+ if (West) return 5038;
+ else return 5039;
+ else
+ if (South)
+ if (West) return 5042;
+ else return 5043;
+ else
+ if (West) return 5046;
+ else return 5047;
+ }
+ BlockState NetherBrickFence();
+ bool East(BlockState Block);
+ bool North(BlockState Block);
+ bool South(BlockState Block);
+ bool West(BlockState Block);
+ }
+ namespace NetherBrickSlab
+ {
+ enum class Type
+ {
+ Top,
+ Bottom,
+ Double
+ };
+ constexpr BlockState NetherBrickSlab(const enum Type Type)
+ {
+ if (Type == Type::Top) return 8385;
+ else if (Type == Type::Bottom) return 8387;
+ else return 8389;
+ }
+ BlockState NetherBrickSlab();
+ enum Type Type(BlockState Block);
+ }
+ namespace NetherBrickStairs
+ {
+ enum class Half
+ {
+ Top,
+ Bottom
+ };
+ enum class Shape
+ {
+ Straight,
+ InnerLeft,
+ InnerRight,
+ OuterLeft,
+ OuterRight
+ };
+ constexpr BlockState NetherBrickStairs(const eBlockFace Facing, const enum Half Half, const enum Shape Shape)
+ {
+ if (Facing == eBlockFace::BLOCK_FACE_ZM)
+ if (Half == Half::Top)
+ if (Shape == Shape::Straight) return 5049;
+ else if (Shape == Shape::InnerLeft) return 5051;
+ else if (Shape == Shape::InnerRight) return 5053;
+ else if (Shape == Shape::OuterLeft) return 5055;
+ else return 5057;
+ else
+ if (Shape == Shape::Straight) return 5059;
+ else if (Shape == Shape::InnerLeft) return 5061;
+ else if (Shape == Shape::InnerRight) return 5063;
+ else if (Shape == Shape::OuterLeft) return 5065;
+ else return 5067;
+ else if (Facing == eBlockFace::BLOCK_FACE_ZP)
+ if (Half == Half::Top)
+ if (Shape == Shape::Straight) return 5069;
+ else if (Shape == Shape::InnerLeft) return 5071;
+ else if (Shape == Shape::InnerRight) return 5073;
+ else if (Shape == Shape::OuterLeft) return 5075;
+ else return 5077;
+ else
+ if (Shape == Shape::Straight) return 5079;
+ else if (Shape == Shape::InnerLeft) return 5081;
+ else if (Shape == Shape::InnerRight) return 5083;
+ else if (Shape == Shape::OuterLeft) return 5085;
+ else return 5087;
+ else if (Facing == eBlockFace::BLOCK_FACE_XM)
+ if (Half == Half::Top)
+ if (Shape == Shape::Straight) return 5089;
+ else if (Shape == Shape::InnerLeft) return 5091;
+ else if (Shape == Shape::InnerRight) return 5093;
+ else if (Shape == Shape::OuterLeft) return 5095;
+ else return 5097;
+ else
+ if (Shape == Shape::Straight) return 5099;
+ else if (Shape == Shape::InnerLeft) return 5101;
+ else if (Shape == Shape::InnerRight) return 5103;
+ else if (Shape == Shape::OuterLeft) return 5105;
+ else return 5107;
+ else
+ if (Half == Half::Top)
+ if (Shape == Shape::Straight) return 5109;
+ else if (Shape == Shape::InnerLeft) return 5111;
+ else if (Shape == Shape::InnerRight) return 5113;
+ else if (Shape == Shape::OuterLeft) return 5115;
+ else return 5117;
+ else
+ if (Shape == Shape::Straight) return 5119;
+ else if (Shape == Shape::InnerLeft) return 5121;
+ else if (Shape == Shape::InnerRight) return 5123;
+ else if (Shape == Shape::OuterLeft) return 5125;
+ else return 5127;
+ }
+ BlockState NetherBrickStairs();
+ eBlockFace Facing(BlockState Block);
+ enum Half Half(BlockState Block);
+ enum Shape Shape(BlockState Block);
+ }
+ namespace NetherBrickWall
+ {
+ enum class East
+ {
+ None,
+ Low,
+ Tall
+ };
+ enum class North
+ {
+ None,
+ Low,
+ Tall
+ };
+ enum class South
+ {
+ None,
+ Low,
+ Tall
+ };
+ enum class West
+ {
+ None,
+ Low,
+ Tall
+ };
+ constexpr BlockState NetherBrickWall(const enum East East, const enum North North, const enum South South, const bool Up, const enum West West)
+ {
+ if (East == East::None)
+ if (North == North::None)
+ if (South == South::None)
+ if (Up)
+ if (West == West::None) return 12814;
+ else if (West == West::Low) return 12815;
+ else return 12816;
+ else
+ if (West == West::None) return 12820;
+ else if (West == West::Low) return 12821;
+ else return 12822;
+ else if (South == South::Low)
+ if (Up)
+ if (West == West::None) return 12826;
+ else if (West == West::Low) return 12827;
+ else return 12828;
+ else
+ if (West == West::None) return 12832;
+ else if (West == West::Low) return 12833;
+ else return 12834;
+ else
+ if (Up)
+ if (West == West::None) return 12838;
+ else if (West == West::Low) return 12839;
+ else return 12840;
+ else
+ if (West == West::None) return 12844;
+ else if (West == West::Low) return 12845;
+ else return 12846;
+ else if (North == North::Low)
+ if (South == South::None)
+ if (Up)
+ if (West == West::None) return 12850;
+ else if (West == West::Low) return 12851;
+ else return 12852;
+ else
+ if (West == West::None) return 12856;
+ else if (West == West::Low) return 12857;
+ else return 12858;
+ else if (South == South::Low)
+ if (Up)
+ if (West == West::None) return 12862;
+ else if (West == West::Low) return 12863;
+ else return 12864;
+ else
+ if (West == West::None) return 12868;
+ else if (West == West::Low) return 12869;
+ else return 12870;
+ else
+ if (Up)
+ if (West == West::None) return 12874;
+ else if (West == West::Low) return 12875;
+ else return 12876;
+ else
+ if (West == West::None) return 12880;
+ else if (West == West::Low) return 12881;
+ else return 12882;
+ else
+ if (South == South::None)
+ if (Up)
+ if (West == West::None) return 12886;
+ else if (West == West::Low) return 12887;
+ else return 12888;
+ else
+ if (West == West::None) return 12892;
+ else if (West == West::Low) return 12893;
+ else return 12894;
+ else if (South == South::Low)
+ if (Up)
+ if (West == West::None) return 12898;
+ else if (West == West::Low) return 12899;
+ else return 12900;
+ else
+ if (West == West::None) return 12904;
+ else if (West == West::Low) return 12905;
+ else return 12906;
+ else
+ if (Up)
+ if (West == West::None) return 12910;
+ else if (West == West::Low) return 12911;
+ else return 12912;
+ else
+ if (West == West::None) return 12916;
+ else if (West == West::Low) return 12917;
+ else return 12918;
+ else if (East == East::Low)
+ if (North == North::None)
+ if (South == South::None)
+ if (Up)
+ if (West == West::None) return 12922;
+ else if (West == West::Low) return 12923;
+ else return 12924;
+ else
+ if (West == West::None) return 12928;
+ else if (West == West::Low) return 12929;
+ else return 12930;
+ else if (South == South::Low)
+ if (Up)
+ if (West == West::None) return 12934;
+ else if (West == West::Low) return 12935;
+ else return 12936;
+ else
+ if (West == West::None) return 12940;
+ else if (West == West::Low) return 12941;
+ else return 12942;
+ else
+ if (Up)
+ if (West == West::None) return 12946;
+ else if (West == West::Low) return 12947;
+ else return 12948;
+ else
+ if (West == West::None) return 12952;
+ else if (West == West::Low) return 12953;
+ else return 12954;
+ else if (North == North::Low)
+ if (South == South::None)
+ if (Up)
+ if (West == West::None) return 12958;
+ else if (West == West::Low) return 12959;
+ else return 12960;
+ else
+ if (West == West::None) return 12964;
+ else if (West == West::Low) return 12965;
+ else return 12966;
+ else if (South == South::Low)
+ if (Up)
+ if (West == West::None) return 12970;
+ else if (West == West::Low) return 12971;
+ else return 12972;
+ else
+ if (West == West::None) return 12976;
+ else if (West == West::Low) return 12977;
+ else return 12978;
+ else
+ if (Up)
+ if (West == West::None) return 12982;
+ else if (West == West::Low) return 12983;
+ else return 12984;
+ else
+ if (West == West::None) return 12988;
+ else if (West == West::Low) return 12989;
+ else return 12990;
+ else
+ if (South == South::None)
+ if (Up)
+ if (West == West::None) return 12994;
+ else if (West == West::Low) return 12995;
+ else return 12996;
+ else
+ if (West == West::None) return 13000;
+ else if (West == West::Low) return 13001;
+ else return 13002;
+ else if (South == South::Low)
+ if (Up)
+ if (West == West::None) return 13006;
+ else if (West == West::Low) return 13007;
+ else return 13008;
+ else
+ if (West == West::None) return 13012;
+ else if (West == West::Low) return 13013;
+ else return 13014;
+ else
+ if (Up)
+ if (West == West::None) return 13018;
+ else if (West == West::Low) return 13019;
+ else return 13020;
+ else
+ if (West == West::None) return 13024;
+ else if (West == West::Low) return 13025;
+ else return 13026;
+ else
+ if (North == North::None)
+ if (South == South::None)
+ if (Up)
+ if (West == West::None) return 13030;
+ else if (West == West::Low) return 13031;
+ else return 13032;
+ else
+ if (West == West::None) return 13036;
+ else if (West == West::Low) return 13037;
+ else return 13038;
+ else if (South == South::Low)
+ if (Up)
+ if (West == West::None) return 13042;
+ else if (West == West::Low) return 13043;
+ else return 13044;
+ else
+ if (West == West::None) return 13048;
+ else if (West == West::Low) return 13049;
+ else return 13050;
+ else
+ if (Up)
+ if (West == West::None) return 13054;
+ else if (West == West::Low) return 13055;
+ else return 13056;
+ else
+ if (West == West::None) return 13060;
+ else if (West == West::Low) return 13061;
+ else return 13062;
+ else if (North == North::Low)
+ if (South == South::None)
+ if (Up)
+ if (West == West::None) return 13066;
+ else if (West == West::Low) return 13067;
+ else return 13068;
+ else
+ if (West == West::None) return 13072;
+ else if (West == West::Low) return 13073;
+ else return 13074;
+ else if (South == South::Low)
+ if (Up)
+ if (West == West::None) return 13078;
+ else if (West == West::Low) return 13079;
+ else return 13080;
+ else
+ if (West == West::None) return 13084;
+ else if (West == West::Low) return 13085;
+ else return 13086;
+ else
+ if (Up)
+ if (West == West::None) return 13090;
+ else if (West == West::Low) return 13091;
+ else return 13092;
+ else
+ if (West == West::None) return 13096;
+ else if (West == West::Low) return 13097;
+ else return 13098;
+ else
+ if (South == South::None)
+ if (Up)
+ if (West == West::None) return 13102;
+ else if (West == West::Low) return 13103;
+ else return 13104;
+ else
+ if (West == West::None) return 13108;
+ else if (West == West::Low) return 13109;
+ else return 13110;
+ else if (South == South::Low)
+ if (Up)
+ if (West == West::None) return 13114;
+ else if (West == West::Low) return 13115;
+ else return 13116;
+ else
+ if (West == West::None) return 13120;
+ else if (West == West::Low) return 13121;
+ else return 13122;
+ else
+ if (Up)
+ if (West == West::None) return 13126;
+ else if (West == West::Low) return 13127;
+ else return 13128;
+ else
+ if (West == West::None) return 13132;
+ else if (West == West::Low) return 13133;
+ else return 13134;
+ }
+ BlockState NetherBrickWall();
+ enum East East(BlockState Block);
+ enum North North(BlockState Block);
+ enum South South(BlockState Block);
+ bool Up(BlockState Block);
+ enum West West(BlockState Block);
+ }
+ namespace NetherBricks
+ {
+ constexpr BlockState NetherBricks()
+ {
+ return 5015;
+ }
+ }
+ namespace NetherGoldOre
+ {
+ constexpr BlockState NetherGoldOre()
+ {
+ return 72;
+ }
+ }
+ namespace NetherPortal
+ {
+ enum class Axis
+ {
+ X,
+ Z
+ };
+ constexpr BlockState NetherPortal(const enum Axis Axis)
+ {
+ if (Axis == Axis::X) return 4014;
+ else return 4015;
+ }
+ BlockState NetherPortal();
+ enum Axis Axis(BlockState Block);
+ }
+ namespace NetherQuartzOre
+ {
+ constexpr BlockState NetherQuartzOre()
+ {
+ return 6727;
+ }
+ }
+ namespace NetherSprouts
+ {
+ constexpr BlockState NetherSprouts()
+ {
+ return 14974;
+ }
+ }
+ namespace NetherWart
+ {
+ constexpr BlockState NetherWart(const unsigned char Age)
+ {
+ if (Age == 0) return 5128;
+ else if (Age == 1) return 5129;
+ else if (Age == 2) return 5130;
+ else return 5131;
+ }
+ BlockState NetherWart();
+ unsigned char Age(BlockState Block);
+ }
+ namespace NetherWartBlock
+ {
+ constexpr BlockState NetherWartBlock()
+ {
+ return 9254;
+ }
+ }
+ namespace NetheriteBlock
+ {
+ constexpr BlockState NetheriteBlock()
+ {
+ return 15826;
+ }
+ }
+ namespace Netherrack
+ {
+ constexpr BlockState Netherrack()
+ {
+ return 3999;
+ }
+ }
+ namespace NoteBlock
+ {
+ enum class Instrument
+ {
+ Harp,
+ Basedrum,
+ Snare,
+ Hat,
+ Bass,
+ Flute,
+ Bell,
+ Guitar,
+ Chime,
+ Xylophone,
+ IronXylophone,
+ CowBell,
+ Didgeridoo,
+ Bit,
+ Banjo,
+ Pling
+ };
+ constexpr BlockState NoteBlock(const enum Instrument Instrument, const unsigned char Note, const bool Powered)
+ {
+ if (Instrument == Instrument::Harp)
+ if (Note == 0)
+ if (Powered) return 249;
+ else return 250;
+ else if (Note == 1)
+ if (Powered) return 251;
+ else return 252;
+ else if (Note == 2)
+ if (Powered) return 253;
+ else return 254;
+ else if (Note == 3)
+ if (Powered) return 255;
+ else return 256;
+ else if (Note == 4)
+ if (Powered) return 257;
+ else return 258;
+ else if (Note == 5)
+ if (Powered) return 259;
+ else return 260;
+ else if (Note == 6)
+ if (Powered) return 261;
+ else return 262;
+ else if (Note == 7)
+ if (Powered) return 263;
+ else return 264;
+ else if (Note == 8)
+ if (Powered) return 265;
+ else return 266;
+ else if (Note == 9)
+ if (Powered) return 267;
+ else return 268;
+ else if (Note == 10)
+ if (Powered) return 269;
+ else return 270;
+ else if (Note == 11)
+ if (Powered) return 271;
+ else return 272;
+ else if (Note == 12)
+ if (Powered) return 273;
+ else return 274;
+ else if (Note == 13)
+ if (Powered) return 275;
+ else return 276;
+ else if (Note == 14)
+ if (Powered) return 277;
+ else return 278;
+ else if (Note == 15)
+ if (Powered) return 279;
+ else return 280;
+ else if (Note == 16)
+ if (Powered) return 281;
+ else return 282;
+ else if (Note == 17)
+ if (Powered) return 283;
+ else return 284;
+ else if (Note == 18)
+ if (Powered) return 285;
+ else return 286;
+ else if (Note == 19)
+ if (Powered) return 287;
+ else return 288;
+ else if (Note == 20)
+ if (Powered) return 289;
+ else return 290;
+ else if (Note == 21)
+ if (Powered) return 291;
+ else return 292;
+ else if (Note == 22)
+ if (Powered) return 293;
+ else return 294;
+ else if (Note == 23)
+ if (Powered) return 295;
+ else return 296;
+ else
+ if (Powered) return 297;
+ else return 298;
+ else if (Instrument == Instrument::Basedrum)
+ if (Note == 0)
+ if (Powered) return 299;
+ else return 300;
+ else if (Note == 1)
+ if (Powered) return 301;
+ else return 302;
+ else if (Note == 2)
+ if (Powered) return 303;
+ else return 304;
+ else if (Note == 3)
+ if (Powered) return 305;
+ else return 306;
+ else if (Note == 4)
+ if (Powered) return 307;
+ else return 308;
+ else if (Note == 5)
+ if (Powered) return 309;
+ else return 310;
+ else if (Note == 6)
+ if (Powered) return 311;
+ else return 312;
+ else if (Note == 7)
+ if (Powered) return 313;
+ else return 314;
+ else if (Note == 8)
+ if (Powered) return 315;
+ else return 316;
+ else if (Note == 9)
+ if (Powered) return 317;
+ else return 318;
+ else if (Note == 10)
+ if (Powered) return 319;
+ else return 320;
+ else if (Note == 11)
+ if (Powered) return 321;
+ else return 322;
+ else if (Note == 12)
+ if (Powered) return 323;
+ else return 324;
+ else if (Note == 13)
+ if (Powered) return 325;
+ else return 326;
+ else if (Note == 14)
+ if (Powered) return 327;
+ else return 328;
+ else if (Note == 15)
+ if (Powered) return 329;
+ else return 330;
+ else if (Note == 16)
+ if (Powered) return 331;
+ else return 332;
+ else if (Note == 17)
+ if (Powered) return 333;
+ else return 334;
+ else if (Note == 18)
+ if (Powered) return 335;
+ else return 336;
+ else if (Note == 19)
+ if (Powered) return 337;
+ else return 338;
+ else if (Note == 20)
+ if (Powered) return 339;
+ else return 340;
+ else if (Note == 21)
+ if (Powered) return 341;
+ else return 342;
+ else if (Note == 22)
+ if (Powered) return 343;
+ else return 344;
+ else if (Note == 23)
+ if (Powered) return 345;
+ else return 346;
+ else
+ if (Powered) return 347;
+ else return 348;
+ else if (Instrument == Instrument::Snare)
+ if (Note == 0)
+ if (Powered) return 349;
+ else return 350;
+ else if (Note == 1)
+ if (Powered) return 351;
+ else return 352;
+ else if (Note == 2)
+ if (Powered) return 353;
+ else return 354;
+ else if (Note == 3)
+ if (Powered) return 355;
+ else return 356;
+ else if (Note == 4)
+ if (Powered) return 357;
+ else return 358;
+ else if (Note == 5)
+ if (Powered) return 359;
+ else return 360;
+ else if (Note == 6)
+ if (Powered) return 361;
+ else return 362;
+ else if (Note == 7)
+ if (Powered) return 363;
+ else return 364;
+ else if (Note == 8)
+ if (Powered) return 365;
+ else return 366;
+ else if (Note == 9)
+ if (Powered) return 367;
+ else return 368;
+ else if (Note == 10)
+ if (Powered) return 369;
+ else return 370;
+ else if (Note == 11)
+ if (Powered) return 371;
+ else return 372;
+ else if (Note == 12)
+ if (Powered) return 373;
+ else return 374;
+ else if (Note == 13)
+ if (Powered) return 375;
+ else return 376;
+ else if (Note == 14)
+ if (Powered) return 377;
+ else return 378;
+ else if (Note == 15)
+ if (Powered) return 379;
+ else return 380;
+ else if (Note == 16)
+ if (Powered) return 381;
+ else return 382;
+ else if (Note == 17)
+ if (Powered) return 383;
+ else return 384;
+ else if (Note == 18)
+ if (Powered) return 385;
+ else return 386;
+ else if (Note == 19)
+ if (Powered) return 387;
+ else return 388;
+ else if (Note == 20)
+ if (Powered) return 389;
+ else return 390;
+ else if (Note == 21)
+ if (Powered) return 391;
+ else return 392;
+ else if (Note == 22)
+ if (Powered) return 393;
+ else return 394;
+ else if (Note == 23)
+ if (Powered) return 395;
+ else return 396;
+ else
+ if (Powered) return 397;
+ else return 398;
+ else if (Instrument == Instrument::Hat)
+ if (Note == 0)
+ if (Powered) return 399;
+ else return 400;
+ else if (Note == 1)
+ if (Powered) return 401;
+ else return 402;
+ else if (Note == 2)
+ if (Powered) return 403;
+ else return 404;
+ else if (Note == 3)
+ if (Powered) return 405;
+ else return 406;
+ else if (Note == 4)
+ if (Powered) return 407;
+ else return 408;
+ else if (Note == 5)
+ if (Powered) return 409;
+ else return 410;
+ else if (Note == 6)
+ if (Powered) return 411;
+ else return 412;
+ else if (Note == 7)
+ if (Powered) return 413;
+ else return 414;
+ else if (Note == 8)
+ if (Powered) return 415;
+ else return 416;
+ else if (Note == 9)
+ if (Powered) return 417;
+ else return 418;
+ else if (Note == 10)
+ if (Powered) return 419;
+ else return 420;
+ else if (Note == 11)
+ if (Powered) return 421;
+ else return 422;
+ else if (Note == 12)
+ if (Powered) return 423;
+ else return 424;
+ else if (Note == 13)
+ if (Powered) return 425;
+ else return 426;
+ else if (Note == 14)
+ if (Powered) return 427;
+ else return 428;
+ else if (Note == 15)
+ if (Powered) return 429;
+ else return 430;
+ else if (Note == 16)
+ if (Powered) return 431;
+ else return 432;
+ else if (Note == 17)
+ if (Powered) return 433;
+ else return 434;
+ else if (Note == 18)
+ if (Powered) return 435;
+ else return 436;
+ else if (Note == 19)
+ if (Powered) return 437;
+ else return 438;
+ else if (Note == 20)
+ if (Powered) return 439;
+ else return 440;
+ else if (Note == 21)
+ if (Powered) return 441;
+ else return 442;
+ else if (Note == 22)
+ if (Powered) return 443;
+ else return 444;
+ else if (Note == 23)
+ if (Powered) return 445;
+ else return 446;
+ else
+ if (Powered) return 447;
+ else return 448;
+ else if (Instrument == Instrument::Bass)
+ if (Note == 0)
+ if (Powered) return 449;
+ else return 450;
+ else if (Note == 1)
+ if (Powered) return 451;
+ else return 452;
+ else if (Note == 2)
+ if (Powered) return 453;
+ else return 454;
+ else if (Note == 3)
+ if (Powered) return 455;
+ else return 456;
+ else if (Note == 4)
+ if (Powered) return 457;
+ else return 458;
+ else if (Note == 5)
+ if (Powered) return 459;
+ else return 460;
+ else if (Note == 6)
+ if (Powered) return 461;
+ else return 462;
+ else if (Note == 7)
+ if (Powered) return 463;
+ else return 464;
+ else if (Note == 8)
+ if (Powered) return 465;
+ else return 466;
+ else if (Note == 9)
+ if (Powered) return 467;
+ else return 468;
+ else if (Note == 10)
+ if (Powered) return 469;
+ else return 470;
+ else if (Note == 11)
+ if (Powered) return 471;
+ else return 472;
+ else if (Note == 12)
+ if (Powered) return 473;
+ else return 474;
+ else if (Note == 13)
+ if (Powered) return 475;
+ else return 476;
+ else if (Note == 14)
+ if (Powered) return 477;
+ else return 478;
+ else if (Note == 15)
+ if (Powered) return 479;
+ else return 480;
+ else if (Note == 16)
+ if (Powered) return 481;
+ else return 482;
+ else if (Note == 17)
+ if (Powered) return 483;
+ else return 484;
+ else if (Note == 18)
+ if (Powered) return 485;
+ else return 486;
+ else if (Note == 19)
+ if (Powered) return 487;
+ else return 488;
+ else if (Note == 20)
+ if (Powered) return 489;
+ else return 490;
+ else if (Note == 21)
+ if (Powered) return 491;
+ else return 492;
+ else if (Note == 22)
+ if (Powered) return 493;
+ else return 494;
+ else if (Note == 23)
+ if (Powered) return 495;
+ else return 496;
+ else
+ if (Powered) return 497;
+ else return 498;
+ else if (Instrument == Instrument::Flute)
+ if (Note == 0)
+ if (Powered) return 499;
+ else return 500;
+ else if (Note == 1)
+ if (Powered) return 501;
+ else return 502;
+ else if (Note == 2)
+ if (Powered) return 503;
+ else return 504;
+ else if (Note == 3)
+ if (Powered) return 505;
+ else return 506;
+ else if (Note == 4)
+ if (Powered) return 507;
+ else return 508;
+ else if (Note == 5)
+ if (Powered) return 509;
+ else return 510;
+ else if (Note == 6)
+ if (Powered) return 511;
+ else return 512;
+ else if (Note == 7)
+ if (Powered) return 513;
+ else return 514;
+ else if (Note == 8)
+ if (Powered) return 515;
+ else return 516;
+ else if (Note == 9)
+ if (Powered) return 517;
+ else return 518;
+ else if (Note == 10)
+ if (Powered) return 519;
+ else return 520;
+ else if (Note == 11)
+ if (Powered) return 521;
+ else return 522;
+ else if (Note == 12)
+ if (Powered) return 523;
+ else return 524;
+ else if (Note == 13)
+ if (Powered) return 525;
+ else return 526;
+ else if (Note == 14)
+ if (Powered) return 527;
+ else return 528;
+ else if (Note == 15)
+ if (Powered) return 529;
+ else return 530;
+ else if (Note == 16)
+ if (Powered) return 531;
+ else return 532;
+ else if (Note == 17)
+ if (Powered) return 533;
+ else return 534;
+ else if (Note == 18)
+ if (Powered) return 535;
+ else return 536;
+ else if (Note == 19)
+ if (Powered) return 537;
+ else return 538;
+ else if (Note == 20)
+ if (Powered) return 539;
+ else return 540;
+ else if (Note == 21)
+ if (Powered) return 541;
+ else return 542;
+ else if (Note == 22)
+ if (Powered) return 543;
+ else return 544;
+ else if (Note == 23)
+ if (Powered) return 545;
+ else return 546;
+ else
+ if (Powered) return 547;
+ else return 548;
+ else if (Instrument == Instrument::Bell)
+ if (Note == 0)
+ if (Powered) return 549;
+ else return 550;
+ else if (Note == 1)
+ if (Powered) return 551;
+ else return 552;
+ else if (Note == 2)
+ if (Powered) return 553;
+ else return 554;
+ else if (Note == 3)
+ if (Powered) return 555;
+ else return 556;
+ else if (Note == 4)
+ if (Powered) return 557;
+ else return 558;
+ else if (Note == 5)
+ if (Powered) return 559;
+ else return 560;
+ else if (Note == 6)
+ if (Powered) return 561;
+ else return 562;
+ else if (Note == 7)
+ if (Powered) return 563;
+ else return 564;
+ else if (Note == 8)
+ if (Powered) return 565;
+ else return 566;
+ else if (Note == 9)
+ if (Powered) return 567;
+ else return 568;
+ else if (Note == 10)
+ if (Powered) return 569;
+ else return 570;
+ else if (Note == 11)
+ if (Powered) return 571;
+ else return 572;
+ else if (Note == 12)
+ if (Powered) return 573;
+ else return 574;
+ else if (Note == 13)
+ if (Powered) return 575;
+ else return 576;
+ else if (Note == 14)
+ if (Powered) return 577;
+ else return 578;
+ else if (Note == 15)
+ if (Powered) return 579;
+ else return 580;
+ else if (Note == 16)
+ if (Powered) return 581;
+ else return 582;
+ else if (Note == 17)
+ if (Powered) return 583;
+ else return 584;
+ else if (Note == 18)
+ if (Powered) return 585;
+ else return 586;
+ else if (Note == 19)
+ if (Powered) return 587;
+ else return 588;
+ else if (Note == 20)
+ if (Powered) return 589;
+ else return 590;
+ else if (Note == 21)
+ if (Powered) return 591;
+ else return 592;
+ else if (Note == 22)
+ if (Powered) return 593;
+ else return 594;
+ else if (Note == 23)
+ if (Powered) return 595;
+ else return 596;
+ else
+ if (Powered) return 597;
+ else return 598;
+ else if (Instrument == Instrument::Guitar)
+ if (Note == 0)
+ if (Powered) return 599;
+ else return 600;
+ else if (Note == 1)
+ if (Powered) return 601;
+ else return 602;
+ else if (Note == 2)
+ if (Powered) return 603;
+ else return 604;
+ else if (Note == 3)
+ if (Powered) return 605;
+ else return 606;
+ else if (Note == 4)
+ if (Powered) return 607;
+ else return 608;
+ else if (Note == 5)
+ if (Powered) return 609;
+ else return 610;
+ else if (Note == 6)
+ if (Powered) return 611;
+ else return 612;
+ else if (Note == 7)
+ if (Powered) return 613;
+ else return 614;
+ else if (Note == 8)
+ if (Powered) return 615;
+ else return 616;
+ else if (Note == 9)
+ if (Powered) return 617;
+ else return 618;
+ else if (Note == 10)
+ if (Powered) return 619;
+ else return 620;
+ else if (Note == 11)
+ if (Powered) return 621;
+ else return 622;
+ else if (Note == 12)
+ if (Powered) return 623;
+ else return 624;
+ else if (Note == 13)
+ if (Powered) return 625;
+ else return 626;
+ else if (Note == 14)
+ if (Powered) return 627;
+ else return 628;
+ else if (Note == 15)
+ if (Powered) return 629;
+ else return 630;
+ else if (Note == 16)
+ if (Powered) return 631;
+ else return 632;
+ else if (Note == 17)
+ if (Powered) return 633;
+ else return 634;
+ else if (Note == 18)
+ if (Powered) return 635;
+ else return 636;
+ else if (Note == 19)
+ if (Powered) return 637;
+ else return 638;
+ else if (Note == 20)
+ if (Powered) return 639;
+ else return 640;
+ else if (Note == 21)
+ if (Powered) return 641;
+ else return 642;
+ else if (Note == 22)
+ if (Powered) return 643;
+ else return 644;
+ else if (Note == 23)
+ if (Powered) return 645;
+ else return 646;
+ else
+ if (Powered) return 647;
+ else return 648;
+ else if (Instrument == Instrument::Chime)
+ if (Note == 0)
+ if (Powered) return 649;
+ else return 650;
+ else if (Note == 1)
+ if (Powered) return 651;
+ else return 652;
+ else if (Note == 2)
+ if (Powered) return 653;
+ else return 654;
+ else if (Note == 3)
+ if (Powered) return 655;
+ else return 656;
+ else if (Note == 4)
+ if (Powered) return 657;
+ else return 658;
+ else if (Note == 5)
+ if (Powered) return 659;
+ else return 660;
+ else if (Note == 6)
+ if (Powered) return 661;
+ else return 662;
+ else if (Note == 7)
+ if (Powered) return 663;
+ else return 664;
+ else if (Note == 8)
+ if (Powered) return 665;
+ else return 666;
+ else if (Note == 9)
+ if (Powered) return 667;
+ else return 668;
+ else if (Note == 10)
+ if (Powered) return 669;
+ else return 670;
+ else if (Note == 11)
+ if (Powered) return 671;
+ else return 672;
+ else if (Note == 12)
+ if (Powered) return 673;
+ else return 674;
+ else if (Note == 13)
+ if (Powered) return 675;
+ else return 676;
+ else if (Note == 14)
+ if (Powered) return 677;
+ else return 678;
+ else if (Note == 15)
+ if (Powered) return 679;
+ else return 680;
+ else if (Note == 16)
+ if (Powered) return 681;
+ else return 682;
+ else if (Note == 17)
+ if (Powered) return 683;
+ else return 684;
+ else if (Note == 18)
+ if (Powered) return 685;
+ else return 686;
+ else if (Note == 19)
+ if (Powered) return 687;
+ else return 688;
+ else if (Note == 20)
+ if (Powered) return 689;
+ else return 690;
+ else if (Note == 21)
+ if (Powered) return 691;
+ else return 692;
+ else if (Note == 22)
+ if (Powered) return 693;
+ else return 694;
+ else if (Note == 23)
+ if (Powered) return 695;
+ else return 696;
+ else
+ if (Powered) return 697;
+ else return 698;
+ else if (Instrument == Instrument::Xylophone)
+ if (Note == 0)
+ if (Powered) return 699;
+ else return 700;
+ else if (Note == 1)
+ if (Powered) return 701;
+ else return 702;
+ else if (Note == 2)
+ if (Powered) return 703;
+ else return 704;
+ else if (Note == 3)
+ if (Powered) return 705;
+ else return 706;
+ else if (Note == 4)
+ if (Powered) return 707;
+ else return 708;
+ else if (Note == 5)
+ if (Powered) return 709;
+ else return 710;
+ else if (Note == 6)
+ if (Powered) return 711;
+ else return 712;
+ else if (Note == 7)
+ if (Powered) return 713;
+ else return 714;
+ else if (Note == 8)
+ if (Powered) return 715;
+ else return 716;
+ else if (Note == 9)
+ if (Powered) return 717;
+ else return 718;
+ else if (Note == 10)
+ if (Powered) return 719;
+ else return 720;
+ else if (Note == 11)
+ if (Powered) return 721;
+ else return 722;
+ else if (Note == 12)
+ if (Powered) return 723;
+ else return 724;
+ else if (Note == 13)
+ if (Powered) return 725;
+ else return 726;
+ else if (Note == 14)
+ if (Powered) return 727;
+ else return 728;
+ else if (Note == 15)
+ if (Powered) return 729;
+ else return 730;
+ else if (Note == 16)
+ if (Powered) return 731;
+ else return 732;
+ else if (Note == 17)
+ if (Powered) return 733;
+ else return 734;
+ else if (Note == 18)
+ if (Powered) return 735;
+ else return 736;
+ else if (Note == 19)
+ if (Powered) return 737;
+ else return 738;
+ else if (Note == 20)
+ if (Powered) return 739;
+ else return 740;
+ else if (Note == 21)
+ if (Powered) return 741;
+ else return 742;
+ else if (Note == 22)
+ if (Powered) return 743;
+ else return 744;
+ else if (Note == 23)
+ if (Powered) return 745;
+ else return 746;
+ else
+ if (Powered) return 747;
+ else return 748;
+ else if (Instrument == Instrument::IronXylophone)
+ if (Note == 0)
+ if (Powered) return 749;
+ else return 750;
+ else if (Note == 1)
+ if (Powered) return 751;
+ else return 752;
+ else if (Note == 2)
+ if (Powered) return 753;
+ else return 754;
+ else if (Note == 3)
+ if (Powered) return 755;
+ else return 756;
+ else if (Note == 4)
+ if (Powered) return 757;
+ else return 758;
+ else if (Note == 5)
+ if (Powered) return 759;
+ else return 760;
+ else if (Note == 6)
+ if (Powered) return 761;
+ else return 762;
+ else if (Note == 7)
+ if (Powered) return 763;
+ else return 764;
+ else if (Note == 8)
+ if (Powered) return 765;
+ else return 766;
+ else if (Note == 9)
+ if (Powered) return 767;
+ else return 768;
+ else if (Note == 10)
+ if (Powered) return 769;
+ else return 770;
+ else if (Note == 11)
+ if (Powered) return 771;
+ else return 772;
+ else if (Note == 12)
+ if (Powered) return 773;
+ else return 774;
+ else if (Note == 13)
+ if (Powered) return 775;
+ else return 776;
+ else if (Note == 14)
+ if (Powered) return 777;
+ else return 778;
+ else if (Note == 15)
+ if (Powered) return 779;
+ else return 780;
+ else if (Note == 16)
+ if (Powered) return 781;
+ else return 782;
+ else if (Note == 17)
+ if (Powered) return 783;
+ else return 784;
+ else if (Note == 18)
+ if (Powered) return 785;
+ else return 786;
+ else if (Note == 19)
+ if (Powered) return 787;
+ else return 788;
+ else if (Note == 20)
+ if (Powered) return 789;
+ else return 790;
+ else if (Note == 21)
+ if (Powered) return 791;
+ else return 792;
+ else if (Note == 22)
+ if (Powered) return 793;
+ else return 794;
+ else if (Note == 23)
+ if (Powered) return 795;
+ else return 796;
+ else
+ if (Powered) return 797;
+ else return 798;
+ else if (Instrument == Instrument::CowBell)
+ if (Note == 0)
+ if (Powered) return 799;
+ else return 800;
+ else if (Note == 1)
+ if (Powered) return 801;
+ else return 802;
+ else if (Note == 2)
+ if (Powered) return 803;
+ else return 804;
+ else if (Note == 3)
+ if (Powered) return 805;
+ else return 806;
+ else if (Note == 4)
+ if (Powered) return 807;
+ else return 808;
+ else if (Note == 5)
+ if (Powered) return 809;
+ else return 810;
+ else if (Note == 6)
+ if (Powered) return 811;
+ else return 812;
+ else if (Note == 7)
+ if (Powered) return 813;
+ else return 814;
+ else if (Note == 8)
+ if (Powered) return 815;
+ else return 816;
+ else if (Note == 9)
+ if (Powered) return 817;
+ else return 818;
+ else if (Note == 10)
+ if (Powered) return 819;
+ else return 820;
+ else if (Note == 11)
+ if (Powered) return 821;
+ else return 822;
+ else if (Note == 12)
+ if (Powered) return 823;
+ else return 824;
+ else if (Note == 13)
+ if (Powered) return 825;
+ else return 826;
+ else if (Note == 14)
+ if (Powered) return 827;
+ else return 828;
+ else if (Note == 15)
+ if (Powered) return 829;
+ else return 830;
+ else if (Note == 16)
+ if (Powered) return 831;
+ else return 832;
+ else if (Note == 17)
+ if (Powered) return 833;
+ else return 834;
+ else if (Note == 18)
+ if (Powered) return 835;
+ else return 836;
+ else if (Note == 19)
+ if (Powered) return 837;
+ else return 838;
+ else if (Note == 20)
+ if (Powered) return 839;
+ else return 840;
+ else if (Note == 21)
+ if (Powered) return 841;
+ else return 842;
+ else if (Note == 22)
+ if (Powered) return 843;
+ else return 844;
+ else if (Note == 23)
+ if (Powered) return 845;
+ else return 846;
+ else
+ if (Powered) return 847;
+ else return 848;
+ else if (Instrument == Instrument::Didgeridoo)
+ if (Note == 0)
+ if (Powered) return 849;
+ else return 850;
+ else if (Note == 1)
+ if (Powered) return 851;
+ else return 852;
+ else if (Note == 2)
+ if (Powered) return 853;
+ else return 854;
+ else if (Note == 3)
+ if (Powered) return 855;
+ else return 856;
+ else if (Note == 4)
+ if (Powered) return 857;
+ else return 858;
+ else if (Note == 5)
+ if (Powered) return 859;
+ else return 860;
+ else if (Note == 6)
+ if (Powered) return 861;
+ else return 862;
+ else if (Note == 7)
+ if (Powered) return 863;
+ else return 864;
+ else if (Note == 8)
+ if (Powered) return 865;
+ else return 866;
+ else if (Note == 9)
+ if (Powered) return 867;
+ else return 868;
+ else if (Note == 10)
+ if (Powered) return 869;
+ else return 870;
+ else if (Note == 11)
+ if (Powered) return 871;
+ else return 872;
+ else if (Note == 12)
+ if (Powered) return 873;
+ else return 874;
+ else if (Note == 13)
+ if (Powered) return 875;
+ else return 876;
+ else if (Note == 14)
+ if (Powered) return 877;
+ else return 878;
+ else if (Note == 15)
+ if (Powered) return 879;
+ else return 880;
+ else if (Note == 16)
+ if (Powered) return 881;
+ else return 882;
+ else if (Note == 17)
+ if (Powered) return 883;
+ else return 884;
+ else if (Note == 18)
+ if (Powered) return 885;
+ else return 886;
+ else if (Note == 19)
+ if (Powered) return 887;
+ else return 888;
+ else if (Note == 20)
+ if (Powered) return 889;
+ else return 890;
+ else if (Note == 21)
+ if (Powered) return 891;
+ else return 892;
+ else if (Note == 22)
+ if (Powered) return 893;
+ else return 894;
+ else if (Note == 23)
+ if (Powered) return 895;
+ else return 896;
+ else
+ if (Powered) return 897;
+ else return 898;
+ else if (Instrument == Instrument::Bit)
+ if (Note == 0)
+ if (Powered) return 899;
+ else return 900;
+ else if (Note == 1)
+ if (Powered) return 901;
+ else return 902;
+ else if (Note == 2)
+ if (Powered) return 903;
+ else return 904;
+ else if (Note == 3)
+ if (Powered) return 905;
+ else return 906;
+ else if (Note == 4)
+ if (Powered) return 907;
+ else return 908;
+ else if (Note == 5)
+ if (Powered) return 909;
+ else return 910;
+ else if (Note == 6)
+ if (Powered) return 911;
+ else return 912;
+ else if (Note == 7)
+ if (Powered) return 913;
+ else return 914;
+ else if (Note == 8)
+ if (Powered) return 915;
+ else return 916;
+ else if (Note == 9)
+ if (Powered) return 917;
+ else return 918;
+ else if (Note == 10)
+ if (Powered) return 919;
+ else return 920;
+ else if (Note == 11)
+ if (Powered) return 921;
+ else return 922;
+ else if (Note == 12)
+ if (Powered) return 923;
+ else return 924;
+ else if (Note == 13)
+ if (Powered) return 925;
+ else return 926;
+ else if (Note == 14)
+ if (Powered) return 927;
+ else return 928;
+ else if (Note == 15)
+ if (Powered) return 929;
+ else return 930;
+ else if (Note == 16)
+ if (Powered) return 931;
+ else return 932;
+ else if (Note == 17)
+ if (Powered) return 933;
+ else return 934;
+ else if (Note == 18)
+ if (Powered) return 935;
+ else return 936;
+ else if (Note == 19)
+ if (Powered) return 937;
+ else return 938;
+ else if (Note == 20)
+ if (Powered) return 939;
+ else return 940;
+ else if (Note == 21)
+ if (Powered) return 941;
+ else return 942;
+ else if (Note == 22)
+ if (Powered) return 943;
+ else return 944;
+ else if (Note == 23)
+ if (Powered) return 945;
+ else return 946;
+ else
+ if (Powered) return 947;
+ else return 948;
+ else if (Instrument == Instrument::Banjo)
+ if (Note == 0)
+ if (Powered) return 949;
+ else return 950;
+ else if (Note == 1)
+ if (Powered) return 951;
+ else return 952;
+ else if (Note == 2)
+ if (Powered) return 953;
+ else return 954;
+ else if (Note == 3)
+ if (Powered) return 955;
+ else return 956;
+ else if (Note == 4)
+ if (Powered) return 957;
+ else return 958;
+ else if (Note == 5)
+ if (Powered) return 959;
+ else return 960;
+ else if (Note == 6)
+ if (Powered) return 961;
+ else return 962;
+ else if (Note == 7)
+ if (Powered) return 963;
+ else return 964;
+ else if (Note == 8)
+ if (Powered) return 965;
+ else return 966;
+ else if (Note == 9)
+ if (Powered) return 967;
+ else return 968;
+ else if (Note == 10)
+ if (Powered) return 969;
+ else return 970;
+ else if (Note == 11)
+ if (Powered) return 971;
+ else return 972;
+ else if (Note == 12)
+ if (Powered) return 973;
+ else return 974;
+ else if (Note == 13)
+ if (Powered) return 975;
+ else return 976;
+ else if (Note == 14)
+ if (Powered) return 977;
+ else return 978;
+ else if (Note == 15)
+ if (Powered) return 979;
+ else return 980;
+ else if (Note == 16)
+ if (Powered) return 981;
+ else return 982;
+ else if (Note == 17)
+ if (Powered) return 983;
+ else return 984;
+ else if (Note == 18)
+ if (Powered) return 985;
+ else return 986;
+ else if (Note == 19)
+ if (Powered) return 987;
+ else return 988;
+ else if (Note == 20)
+ if (Powered) return 989;
+ else return 990;
+ else if (Note == 21)
+ if (Powered) return 991;
+ else return 992;
+ else if (Note == 22)
+ if (Powered) return 993;
+ else return 994;
+ else if (Note == 23)
+ if (Powered) return 995;
+ else return 996;
+ else
+ if (Powered) return 997;
+ else return 998;
+ else
+ if (Note == 0)
+ if (Powered) return 999;
+ else return 1000;
+ else if (Note == 1)
+ if (Powered) return 1001;
+ else return 1002;
+ else if (Note == 2)
+ if (Powered) return 1003;
+ else return 1004;
+ else if (Note == 3)
+ if (Powered) return 1005;
+ else return 1006;
+ else if (Note == 4)
+ if (Powered) return 1007;
+ else return 1008;
+ else if (Note == 5)
+ if (Powered) return 1009;
+ else return 1010;
+ else if (Note == 6)
+ if (Powered) return 1011;
+ else return 1012;
+ else if (Note == 7)
+ if (Powered) return 1013;
+ else return 1014;
+ else if (Note == 8)
+ if (Powered) return 1015;
+ else return 1016;
+ else if (Note == 9)
+ if (Powered) return 1017;
+ else return 1018;
+ else if (Note == 10)
+ if (Powered) return 1019;
+ else return 1020;
+ else if (Note == 11)
+ if (Powered) return 1021;
+ else return 1022;
+ else if (Note == 12)
+ if (Powered) return 1023;
+ else return 1024;
+ else if (Note == 13)
+ if (Powered) return 1025;
+ else return 1026;
+ else if (Note == 14)
+ if (Powered) return 1027;
+ else return 1028;
+ else if (Note == 15)
+ if (Powered) return 1029;
+ else return 1030;
+ else if (Note == 16)
+ if (Powered) return 1031;
+ else return 1032;
+ else if (Note == 17)
+ if (Powered) return 1033;
+ else return 1034;
+ else if (Note == 18)
+ if (Powered) return 1035;
+ else return 1036;
+ else if (Note == 19)
+ if (Powered) return 1037;
+ else return 1038;
+ else if (Note == 20)
+ if (Powered) return 1039;
+ else return 1040;
+ else if (Note == 21)
+ if (Powered) return 1041;
+ else return 1042;
+ else if (Note == 22)
+ if (Powered) return 1043;
+ else return 1044;
+ else if (Note == 23)
+ if (Powered) return 1045;
+ else return 1046;
+ else
+ if (Powered) return 1047;
+ else return 1048;
+ }
+ BlockState NoteBlock();
+ enum Instrument Instrument(BlockState Block);
+ unsigned char Note(BlockState Block);
+ bool Powered(BlockState Block);
+ }
+ namespace OakButton
+ {
+ enum class Face
+ {
+ Floor,
+ Wall,
+ Ceiling
+ };
+ constexpr BlockState OakButton(const enum Face Face, const eBlockFace Facing, const bool Powered)
+ {
+ if (Face == Face::Floor)
+ if (Facing == eBlockFace::BLOCK_FACE_ZM)
+ if (Powered) return 6346;
+ else return 6347;
+ else if (Facing == eBlockFace::BLOCK_FACE_ZP)
+ if (Powered) return 6348;
+ else return 6349;
+ else if (Facing == eBlockFace::BLOCK_FACE_XM)
+ if (Powered) return 6350;
+ else return 6351;
+ else
+ if (Powered) return 6352;
+ else return 6353;
+ else if (Face == Face::Wall)
+ if (Facing == eBlockFace::BLOCK_FACE_ZM)
+ if (Powered) return 6354;
+ else return 6355;
+ else if (Facing == eBlockFace::BLOCK_FACE_ZP)
+ if (Powered) return 6356;
+ else return 6357;
+ else if (Facing == eBlockFace::BLOCK_FACE_XM)
+ if (Powered) return 6358;
+ else return 6359;
+ else
+ if (Powered) return 6360;
+ else return 6361;
+ else
+ if (Facing == eBlockFace::BLOCK_FACE_ZM)
+ if (Powered) return 6362;
+ else return 6363;
+ else if (Facing == eBlockFace::BLOCK_FACE_ZP)
+ if (Powered) return 6364;
+ else return 6365;
+ else if (Facing == eBlockFace::BLOCK_FACE_XM)
+ if (Powered) return 6366;
+ else return 6367;
+ else
+ if (Powered) return 6368;
+ else return 6369;
+ }
+ BlockState OakButton();
+ enum Face Face(BlockState Block);
+ eBlockFace Facing(BlockState Block);
+ bool Powered(BlockState Block);
+ }
+ namespace OakDoor
+ {
+ enum class Half
+ {
+ Upper,
+ Lower
+ };
+ enum class Hinge
+ {
+ Left,
+ Right
+ };
+ constexpr BlockState OakDoor(const eBlockFace Facing, const enum Half Half, const enum Hinge Hinge, const bool Open, const bool Powered)
+ {
+ if (Facing == eBlockFace::BLOCK_FACE_ZM)
+ if (Half == Half::Upper)
+ if (Hinge == Hinge::Left)
+ if (Open)
+ if (Powered) return 3573;
+ else return 3574;
+ else
+ if (Powered) return 3575;
+ else return 3576;
+ else
+ if (Open)
+ if (Powered) return 3577;
+ else return 3578;
+ else
+ if (Powered) return 3579;
+ else return 3580;
+ else
+ if (Hinge == Hinge::Left)
+ if (Open)
+ if (Powered) return 3581;
+ else return 3582;
+ else
+ if (Powered) return 3583;
+ else return 3584;
+ else
+ if (Open)
+ if (Powered) return 3585;
+ else return 3586;
+ else
+ if (Powered) return 3587;
+ else return 3588;
+ else if (Facing == eBlockFace::BLOCK_FACE_ZP)
+ if (Half == Half::Upper)
+ if (Hinge == Hinge::Left)
+ if (Open)
+ if (Powered) return 3589;
+ else return 3590;
+ else
+ if (Powered) return 3591;
+ else return 3592;
+ else
+ if (Open)
+ if (Powered) return 3593;
+ else return 3594;
+ else
+ if (Powered) return 3595;
+ else return 3596;
+ else
+ if (Hinge == Hinge::Left)
+ if (Open)
+ if (Powered) return 3597;
+ else return 3598;
+ else
+ if (Powered) return 3599;
+ else return 3600;
+ else
+ if (Open)
+ if (Powered) return 3601;
+ else return 3602;
+ else
+ if (Powered) return 3603;
+ else return 3604;
+ else if (Facing == eBlockFace::BLOCK_FACE_XM)
+ if (Half == Half::Upper)
+ if (Hinge == Hinge::Left)
+ if (Open)
+ if (Powered) return 3605;
+ else return 3606;
+ else
+ if (Powered) return 3607;
+ else return 3608;
+ else
+ if (Open)
+ if (Powered) return 3609;
+ else return 3610;
+ else
+ if (Powered) return 3611;
+ else return 3612;
+ else
+ if (Hinge == Hinge::Left)
+ if (Open)
+ if (Powered) return 3613;
+ else return 3614;
+ else
+ if (Powered) return 3615;
+ else return 3616;
+ else
+ if (Open)
+ if (Powered) return 3617;
+ else return 3618;
+ else
+ if (Powered) return 3619;
+ else return 3620;
+ else
+ if (Half == Half::Upper)
+ if (Hinge == Hinge::Left)
+ if (Open)
+ if (Powered) return 3621;
+ else return 3622;
+ else
+ if (Powered) return 3623;
+ else return 3624;
+ else
+ if (Open)
+ if (Powered) return 3625;
+ else return 3626;
+ else
+ if (Powered) return 3627;
+ else return 3628;
+ else
+ if (Hinge == Hinge::Left)
+ if (Open)
+ if (Powered) return 3629;
+ else return 3630;
+ else
+ if (Powered) return 3631;
+ else return 3632;
+ else
+ if (Open)
+ if (Powered) return 3633;
+ else return 3634;
+ else
+ if (Powered) return 3635;
+ else return 3636;
+ }
+ BlockState OakDoor();
+ eBlockFace Facing(BlockState Block);
+ enum Half Half(BlockState Block);
+ enum Hinge Hinge(BlockState Block);
+ bool Open(BlockState Block);
+ bool Powered(BlockState Block);
+ }
+ namespace OakFence
+ {
+ constexpr BlockState OakFence(const bool East, const bool North, const bool South, const bool West)
+ {
+ if (East)
+ if (North)
+ if (South)
+ if (West) return 3968;
+ else return 3969;
+ else
+ if (West) return 3972;
+ else return 3973;
+ else
+ if (South)
+ if (West) return 3976;
+ else return 3977;
+ else
+ if (West) return 3980;
+ else return 3981;
+ else
+ if (North)
+ if (South)
+ if (West) return 3984;
+ else return 3985;
+ else
+ if (West) return 3988;
+ else return 3989;
+ else
+ if (South)
+ if (West) return 3992;
+ else return 3993;
+ else
+ if (West) return 3996;
+ else return 3997;
+ }
+ BlockState OakFence();
+ bool East(BlockState Block);
+ bool North(BlockState Block);
+ bool South(BlockState Block);
+ bool West(BlockState Block);
+ }
+ namespace OakFenceGate
+ {
+ constexpr BlockState OakFenceGate(const eBlockFace Facing, const bool InWall, const bool Open, const bool Powered)
+ {
+ if (Facing == eBlockFace::BLOCK_FACE_ZM)
+ if (InWall)
+ if (Open)
+ if (Powered) return 4820;
+ else return 4821;
+ else
+ if (Powered) return 4822;
+ else return 4823;
+ else
+ if (Open)
+ if (Powered) return 4824;
+ else return 4825;
+ else
+ if (Powered) return 4826;
+ else return 4827;
+ else if (Facing == eBlockFace::BLOCK_FACE_ZP)
+ if (InWall)
+ if (Open)
+ if (Powered) return 4828;
+ else return 4829;
+ else
+ if (Powered) return 4830;
+ else return 4831;
+ else
+ if (Open)
+ if (Powered) return 4832;
+ else return 4833;
+ else
+ if (Powered) return 4834;
+ else return 4835;
+ else if (Facing == eBlockFace::BLOCK_FACE_XM)
+ if (InWall)
+ if (Open)
+ if (Powered) return 4836;
+ else return 4837;
+ else
+ if (Powered) return 4838;
+ else return 4839;
+ else
+ if (Open)
+ if (Powered) return 4840;
+ else return 4841;
+ else
+ if (Powered) return 4842;
+ else return 4843;
+ else
+ if (InWall)
+ if (Open)
+ if (Powered) return 4844;
+ else return 4845;
+ else
+ if (Powered) return 4846;
+ else return 4847;
+ else
+ if (Open)
+ if (Powered) return 4848;
+ else return 4849;
+ else
+ if (Powered) return 4850;
+ else return 4851;
+ }
+ BlockState OakFenceGate();
+ eBlockFace Facing(BlockState Block);
+ bool InWall(BlockState Block);
+ bool Open(BlockState Block);
+ bool Powered(BlockState Block);
+ }
+ namespace OakLeaves
+ {
+ constexpr BlockState OakLeaves(const unsigned char Distance, const bool Persistent)
+ {
+ if (Distance == 1)
+ if (Persistent) return 145;
+ else return 146;
+ else if (Distance == 2)
+ if (Persistent) return 147;
+ else return 148;
+ else if (Distance == 3)
+ if (Persistent) return 149;
+ else return 150;
+ else if (Distance == 4)
+ if (Persistent) return 151;
+ else return 152;
+ else if (Distance == 5)
+ if (Persistent) return 153;
+ else return 154;
+ else if (Distance == 6)
+ if (Persistent) return 155;
+ else return 156;
+ else
+ if (Persistent) return 157;
+ else return 158;
+ }
+ BlockState OakLeaves();
+ unsigned char Distance(BlockState Block);
+ bool Persistent(BlockState Block);
+ }
+ namespace OakLog
+ {
+ enum class Axis
+ {
+ X,
+ Y,
+ Z
+ };
+ constexpr BlockState OakLog(const enum Axis Axis)
+ {
+ if (Axis == Axis::X) return 73;
+ else if (Axis == Axis::Y) return 74;
+ else return 75;
+ }
+ BlockState OakLog();
+ enum Axis Axis(BlockState Block);
+ }
+ namespace OakPlanks
+ {
+ constexpr BlockState OakPlanks()
+ {
+ return 15;
+ }
+ }
+ namespace OakPressurePlate
+ {
+ constexpr BlockState OakPressurePlate(const bool Powered)
+ {
+ if (Powered) return 3873;
+ else return 3874;
+ }
+ BlockState OakPressurePlate();
+ bool Powered(BlockState Block);
+ }
+ namespace OakSapling
+ {
+ constexpr BlockState OakSapling(const unsigned char Stage)
+ {
+ if (Stage == 0) return 21;
+ else return 22;
+ }
+ BlockState OakSapling();
+ unsigned char Stage(BlockState Block);
+ }
+ namespace OakSign
+ {
+ constexpr BlockState OakSign(const unsigned char Rotation)
+ {
+ if (Rotation == 0) return 3382;
+ else if (Rotation == 1) return 3384;
+ else if (Rotation == 2) return 3386;
+ else if (Rotation == 3) return 3388;
+ else if (Rotation == 4) return 3390;
+ else if (Rotation == 5) return 3392;
+ else if (Rotation == 6) return 3394;
+ else if (Rotation == 7) return 3396;
+ else if (Rotation == 8) return 3398;
+ else if (Rotation == 9) return 3400;
+ else if (Rotation == 10) return 3402;
+ else if (Rotation == 11) return 3404;
+ else if (Rotation == 12) return 3406;
+ else if (Rotation == 13) return 3408;
+ else if (Rotation == 14) return 3410;
+ else return 3412;
+ }
+ BlockState OakSign();
+ unsigned char Rotation(BlockState Block);
+ }
+ namespace OakSlab
+ {
+ enum class Type
+ {
+ Top,
+ Bottom,
+ Double
+ };
+ constexpr BlockState OakSlab(const enum Type Type)
+ {
+ if (Type == Type::Top) return 8301;
+ else if (Type == Type::Bottom) return 8303;
+ else return 8305;
+ }
+ BlockState OakSlab();
+ enum Type Type(BlockState Block);
+ }
+ namespace OakStairs
+ {
+ enum class Half
+ {
+ Top,
+ Bottom
+ };
+ enum class Shape
+ {
+ Straight,
+ InnerLeft,
+ InnerRight,
+ OuterLeft,
+ OuterRight
+ };
+ constexpr BlockState OakStairs(const eBlockFace Facing, const enum Half Half, const enum Shape Shape)
+ {
+ if (Facing == eBlockFace::BLOCK_FACE_ZM)
+ if (Half == Half::Top)
+ if (Shape == Shape::Straight) return 1955;
+ else if (Shape == Shape::InnerLeft) return 1957;
+ else if (Shape == Shape::InnerRight) return 1959;
+ else if (Shape == Shape::OuterLeft) return 1961;
+ else return 1963;
+ else
+ if (Shape == Shape::Straight) return 1965;
+ else if (Shape == Shape::InnerLeft) return 1967;
+ else if (Shape == Shape::InnerRight) return 1969;
+ else if (Shape == Shape::OuterLeft) return 1971;
+ else return 1973;
+ else if (Facing == eBlockFace::BLOCK_FACE_ZP)
+ if (Half == Half::Top)
+ if (Shape == Shape::Straight) return 1975;
+ else if (Shape == Shape::InnerLeft) return 1977;
+ else if (Shape == Shape::InnerRight) return 1979;
+ else if (Shape == Shape::OuterLeft) return 1981;
+ else return 1983;
+ else
+ if (Shape == Shape::Straight) return 1985;
+ else if (Shape == Shape::InnerLeft) return 1987;
+ else if (Shape == Shape::InnerRight) return 1989;
+ else if (Shape == Shape::OuterLeft) return 1991;
+ else return 1993;
+ else if (Facing == eBlockFace::BLOCK_FACE_XM)
+ if (Half == Half::Top)
+ if (Shape == Shape::Straight) return 1995;
+ else if (Shape == Shape::InnerLeft) return 1997;
+ else if (Shape == Shape::InnerRight) return 1999;
+ else if (Shape == Shape::OuterLeft) return 2001;
+ else return 2003;
+ else
+ if (Shape == Shape::Straight) return 2005;
+ else if (Shape == Shape::InnerLeft) return 2007;
+ else if (Shape == Shape::InnerRight) return 2009;
+ else if (Shape == Shape::OuterLeft) return 2011;
+ else return 2013;
+ else
+ if (Half == Half::Top)
+ if (Shape == Shape::Straight) return 2015;
+ else if (Shape == Shape::InnerLeft) return 2017;
+ else if (Shape == Shape::InnerRight) return 2019;
+ else if (Shape == Shape::OuterLeft) return 2021;
+ else return 2023;
+ else
+ if (Shape == Shape::Straight) return 2025;
+ else if (Shape == Shape::InnerLeft) return 2027;
+ else if (Shape == Shape::InnerRight) return 2029;
+ else if (Shape == Shape::OuterLeft) return 2031;
+ else return 2033;
+ }
+ BlockState OakStairs();
+ eBlockFace Facing(BlockState Block);
+ enum Half Half(BlockState Block);
+ enum Shape Shape(BlockState Block);
+ }
+ namespace OakTrapdoor
+ {
+ enum class Half
+ {
+ Top,
+ Bottom
+ };
+ constexpr BlockState OakTrapdoor(const eBlockFace Facing, const enum Half Half, const bool Open, const bool Powered)
+ {
+ if (Facing == eBlockFace::BLOCK_FACE_ZM)
+ if (Half == Half::Top)
+ if (Open)
+ if (Powered) return 4112;
+ else return 4114;
+ else
+ if (Powered) return 4116;
+ else return 4118;
+ else
+ if (Open)
+ if (Powered) return 4120;
+ else return 4122;
+ else
+ if (Powered) return 4124;
+ else return 4126;
+ else if (Facing == eBlockFace::BLOCK_FACE_ZP)
+ if (Half == Half::Top)
+ if (Open)
+ if (Powered) return 4128;
+ else return 4130;
+ else
+ if (Powered) return 4132;
+ else return 4134;
+ else
+ if (Open)
+ if (Powered) return 4136;
+ else return 4138;
+ else
+ if (Powered) return 4140;
+ else return 4142;
+ else if (Facing == eBlockFace::BLOCK_FACE_XM)
+ if (Half == Half::Top)
+ if (Open)
+ if (Powered) return 4144;
+ else return 4146;
+ else
+ if (Powered) return 4148;
+ else return 4150;
+ else
+ if (Open)
+ if (Powered) return 4152;
+ else return 4154;
+ else
+ if (Powered) return 4156;
+ else return 4158;
+ else
+ if (Half == Half::Top)
+ if (Open)
+ if (Powered) return 4160;
+ else return 4162;
+ else
+ if (Powered) return 4164;
+ else return 4166;
+ else
+ if (Open)
+ if (Powered) return 4168;
+ else return 4170;
+ else
+ if (Powered) return 4172;
+ else return 4174;
+ }
+ BlockState OakTrapdoor();
+ eBlockFace Facing(BlockState Block);
+ enum Half Half(BlockState Block);
+ bool Open(BlockState Block);
+ bool Powered(BlockState Block);
+ }
+ namespace OakWallSign
+ {
+ constexpr BlockState OakWallSign(const eBlockFace Facing)
+ {
+ if (Facing == eBlockFace::BLOCK_FACE_ZM) return 3736;
+ else if (Facing == eBlockFace::BLOCK_FACE_ZP) return 3738;
+ else if (Facing == eBlockFace::BLOCK_FACE_XM) return 3740;
+ else return 3742;
+ }
+ BlockState OakWallSign();
+ eBlockFace Facing(BlockState Block);
+ }
+ namespace OakWood
+ {
+ enum class Axis
+ {
+ X,
+ Y,
+ Z
+ };
+ constexpr BlockState OakWood(const enum Axis Axis)
+ {
+ if (Axis == Axis::X) return 109;
+ else if (Axis == Axis::Y) return 110;
+ else return 111;
+ }
+ BlockState OakWood();
+ enum Axis Axis(BlockState Block);
+ }
+ namespace Observer
+ {
+ constexpr BlockState Observer(const eBlockFace Facing, const bool Powered)
+ {
+ if (Facing == eBlockFace::BLOCK_FACE_ZM)
+ if (Powered) return 9260;
+ else return 9261;
+ else if (Facing == eBlockFace::BLOCK_FACE_XP)
+ if (Powered) return 9262;
+ else return 9263;
+ else if (Facing == eBlockFace::BLOCK_FACE_ZP)
+ if (Powered) return 9264;
+ else return 9265;
+ else if (Facing == eBlockFace::BLOCK_FACE_XM)
+ if (Powered) return 9266;
+ else return 9267;
+ else if (Facing == eBlockFace::BLOCK_FACE_YP)
+ if (Powered) return 9268;
+ else return 9269;
+ else
+ if (Powered) return 9270;
+ else return 9271;
+ }
+ BlockState Observer();
+ eBlockFace Facing(BlockState Block);
+ bool Powered(BlockState Block);
+ }
+ namespace Obsidian
+ {
+ constexpr BlockState Obsidian()
+ {
+ return 1434;
+ }
+ }
+ namespace OrangeBanner
+ {
+ constexpr BlockState OrangeBanner(const unsigned char Rotation)
+ {
+ if (Rotation == 0) return 7913;
+ else if (Rotation == 1) return 7914;
+ else if (Rotation == 2) return 7915;
+ else if (Rotation == 3) return 7916;
+ else if (Rotation == 4) return 7917;
+ else if (Rotation == 5) return 7918;
+ else if (Rotation == 6) return 7919;
+ else if (Rotation == 7) return 7920;
+ else if (Rotation == 8) return 7921;
+ else if (Rotation == 9) return 7922;
+ else if (Rotation == 10) return 7923;
+ else if (Rotation == 11) return 7924;
+ else if (Rotation == 12) return 7925;
+ else if (Rotation == 13) return 7926;
+ else if (Rotation == 14) return 7927;
+ else return 7928;
+ }
+ BlockState OrangeBanner();
+ unsigned char Rotation(BlockState Block);
+ }
+ namespace OrangeBed
+ {
+ enum class Part
+ {
+ Head,
+ Foot
+ };
+ constexpr BlockState OrangeBed(const eBlockFace Facing, const bool Occupied, const enum Part Part)
+ {
+ if (Facing == eBlockFace::BLOCK_FACE_ZM)
+ if (Occupied)
+ if (Part == Part::Head) return 1065;
+ else return 1066;
+ else
+ if (Part == Part::Head) return 1067;
+ else return 1068;
+ else if (Facing == eBlockFace::BLOCK_FACE_ZP)
+ if (Occupied)
+ if (Part == Part::Head) return 1069;
+ else return 1070;
+ else
+ if (Part == Part::Head) return 1071;
+ else return 1072;
+ else if (Facing == eBlockFace::BLOCK_FACE_XM)
+ if (Occupied)
+ if (Part == Part::Head) return 1073;
+ else return 1074;
+ else
+ if (Part == Part::Head) return 1075;
+ else return 1076;
+ else
+ if (Occupied)
+ if (Part == Part::Head) return 1077;
+ else return 1078;
+ else
+ if (Part == Part::Head) return 1079;
+ else return 1080;
+ }
+ BlockState OrangeBed();
+ eBlockFace Facing(BlockState Block);
+ bool Occupied(BlockState Block);
+ enum Part Part(BlockState Block);
+ }
+ namespace OrangeCarpet
+ {
+ constexpr BlockState OrangeCarpet()
+ {
+ return 7867;
+ }
+ }
+ namespace OrangeConcrete
+ {
+ constexpr BlockState OrangeConcrete()
+ {
+ return 9439;
+ }
+ }
+ namespace OrangeConcretePowder
+ {
+ constexpr BlockState OrangeConcretePowder()
+ {
+ return 9455;
+ }
+ }
+ namespace OrangeGlazedTerracotta
+ {
+ constexpr BlockState OrangeGlazedTerracotta(const eBlockFace Facing)
+ {
+ if (Facing == eBlockFace::BLOCK_FACE_ZM) return 9378;
+ else if (Facing == eBlockFace::BLOCK_FACE_ZP) return 9379;
+ else if (Facing == eBlockFace::BLOCK_FACE_XM) return 9380;
+ else return 9381;
+ }
+ BlockState OrangeGlazedTerracotta();
+ eBlockFace Facing(BlockState Block);
+ }
+ namespace OrangeShulkerBox
+ {
+ constexpr BlockState OrangeShulkerBox(const eBlockFace Facing)
+ {
+ if (Facing == eBlockFace::BLOCK_FACE_ZM) return 9284;
+ else if (Facing == eBlockFace::BLOCK_FACE_XP) return 9285;
+ else if (Facing == eBlockFace::BLOCK_FACE_ZP) return 9286;
+ else if (Facing == eBlockFace::BLOCK_FACE_XM) return 9287;
+ else if (Facing == eBlockFace::BLOCK_FACE_YP) return 9288;
+ else return 9289;
+ }
+ BlockState OrangeShulkerBox();
+ eBlockFace Facing(BlockState Block);
+ }
+ namespace OrangeStainedGlass
+ {
+ constexpr BlockState OrangeStainedGlass()
+ {
+ return 4096;
+ }
+ }
+ namespace OrangeStainedGlassPane
+ {
+ constexpr BlockState OrangeStainedGlassPane(const bool East, const bool North, const bool South, const bool West)
+ {
+ if (East)
+ if (North)
+ if (South)
+ if (West) return 6897;
+ else return 6898;
+ else
+ if (West) return 6901;
+ else return 6902;
+ else
+ if (South)
+ if (West) return 6905;
+ else return 6906;
+ else
+ if (West) return 6909;
+ else return 6910;
+ else
+ if (North)
+ if (South)
+ if (West) return 6913;
+ else return 6914;
+ else
+ if (West) return 6917;
+ else return 6918;
+ else
+ if (South)
+ if (West) return 6921;
+ else return 6922;
+ else
+ if (West) return 6925;
+ else return 6926;
+ }
+ BlockState OrangeStainedGlassPane();
+ bool East(BlockState Block);
+ bool North(BlockState Block);
+ bool South(BlockState Block);
+ bool West(BlockState Block);
+ }
+ namespace OrangeTerracotta
+ {
+ constexpr BlockState OrangeTerracotta()
+ {
+ return 6848;
+ }
+ }
+ namespace OrangeTulip
+ {
+ constexpr BlockState OrangeTulip()
+ {
+ return 1418;
+ }
+ }
+ namespace OrangeWallBanner
+ {
+ constexpr BlockState OrangeWallBanner(const eBlockFace Facing)
+ {
+ if (Facing == eBlockFace::BLOCK_FACE_ZM) return 8157;
+ else if (Facing == eBlockFace::BLOCK_FACE_ZP) return 8158;
+ else if (Facing == eBlockFace::BLOCK_FACE_XM) return 8159;
+ else return 8160;
+ }
+ BlockState OrangeWallBanner();
+ eBlockFace Facing(BlockState Block);
+ }
+ namespace OrangeWool
+ {
+ constexpr BlockState OrangeWool()
+ {
+ return 1385;
+ }
+ }
+ namespace OxeyeDaisy
+ {
+ constexpr BlockState OxeyeDaisy()
+ {
+ return 1421;
+ }
+ }
+ namespace PackedIce
+ {
+ constexpr BlockState PackedIce()
+ {
+ return 7884;
+ }
+ }
+ namespace Peony
+ {
+ enum class Half
+ {
+ Upper,
+ Lower
+ };
+ constexpr BlockState Peony(const enum Half Half)
+ {
+ if (Half == Half::Upper) return 7891;
+ else return 7892;
+ }
+ BlockState Peony();
+ enum Half Half(BlockState Block);
+ }
+ namespace PetrifiedOakSlab
+ {
+ enum class Type
+ {
+ Top,
+ Bottom,
+ Double
+ };
+ constexpr BlockState PetrifiedOakSlab(const enum Type Type)
+ {
+ if (Type == Type::Top) return 8361;
+ else if (Type == Type::Bottom) return 8363;
+ else return 8365;
+ }
+ BlockState PetrifiedOakSlab();
+ enum Type Type(BlockState Block);
+ }
+ namespace PinkBanner
+ {
+ constexpr BlockState PinkBanner(const unsigned char Rotation)
+ {
+ if (Rotation == 0) return 7993;
+ else if (Rotation == 1) return 7994;
+ else if (Rotation == 2) return 7995;
+ else if (Rotation == 3) return 7996;
+ else if (Rotation == 4) return 7997;
+ else if (Rotation == 5) return 7998;
+ else if (Rotation == 6) return 7999;
+ else if (Rotation == 7) return 8000;
+ else if (Rotation == 8) return 8001;
+ else if (Rotation == 9) return 8002;
+ else if (Rotation == 10) return 8003;
+ else if (Rotation == 11) return 8004;
+ else if (Rotation == 12) return 8005;
+ else if (Rotation == 13) return 8006;
+ else if (Rotation == 14) return 8007;
+ else return 8008;
+ }
+ BlockState PinkBanner();
+ unsigned char Rotation(BlockState Block);
+ }
+ namespace PinkBed
+ {
+ enum class Part
+ {
+ Head,
+ Foot
+ };
+ constexpr BlockState PinkBed(const eBlockFace Facing, const bool Occupied, const enum Part Part)
+ {
+ if (Facing == eBlockFace::BLOCK_FACE_ZM)
+ if (Occupied)
+ if (Part == Part::Head) return 1145;
+ else return 1146;
+ else
+ if (Part == Part::Head) return 1147;
+ else return 1148;
+ else if (Facing == eBlockFace::BLOCK_FACE_ZP)
+ if (Occupied)
+ if (Part == Part::Head) return 1149;
+ else return 1150;
+ else
+ if (Part == Part::Head) return 1151;
+ else return 1152;
+ else if (Facing == eBlockFace::BLOCK_FACE_XM)
+ if (Occupied)
+ if (Part == Part::Head) return 1153;
+ else return 1154;
+ else
+ if (Part == Part::Head) return 1155;
+ else return 1156;
+ else
+ if (Occupied)
+ if (Part == Part::Head) return 1157;
+ else return 1158;
+ else
+ if (Part == Part::Head) return 1159;
+ else return 1160;
+ }
+ BlockState PinkBed();
+ eBlockFace Facing(BlockState Block);
+ bool Occupied(BlockState Block);
+ enum Part Part(BlockState Block);
+ }
+ namespace PinkCarpet
+ {
+ constexpr BlockState PinkCarpet()
+ {
+ return 7872;
+ }
+ }
+ namespace PinkConcrete
+ {
+ constexpr BlockState PinkConcrete()
+ {
+ return 9444;
+ }
+ }
+ namespace PinkConcretePowder
+ {
+ constexpr BlockState PinkConcretePowder()
+ {
+ return 9460;
+ }
+ }
+ namespace PinkGlazedTerracotta
+ {
+ constexpr BlockState PinkGlazedTerracotta(const eBlockFace Facing)
+ {
+ if (Facing == eBlockFace::BLOCK_FACE_ZM) return 9398;
+ else if (Facing == eBlockFace::BLOCK_FACE_ZP) return 9399;
+ else if (Facing == eBlockFace::BLOCK_FACE_XM) return 9400;
+ else return 9401;
+ }
+ BlockState PinkGlazedTerracotta();
+ eBlockFace Facing(BlockState Block);
+ }
+ namespace PinkShulkerBox
+ {
+ constexpr BlockState PinkShulkerBox(const eBlockFace Facing)
+ {
+ if (Facing == eBlockFace::BLOCK_FACE_ZM) return 9314;
+ else if (Facing == eBlockFace::BLOCK_FACE_XP) return 9315;
+ else if (Facing == eBlockFace::BLOCK_FACE_ZP) return 9316;
+ else if (Facing == eBlockFace::BLOCK_FACE_XM) return 9317;
+ else if (Facing == eBlockFace::BLOCK_FACE_YP) return 9318;
+ else return 9319;
+ }
+ BlockState PinkShulkerBox();
+ eBlockFace Facing(BlockState Block);
+ }
+ namespace PinkStainedGlass
+ {
+ constexpr BlockState PinkStainedGlass()
+ {
+ return 4101;
+ }
+ }
+ namespace PinkStainedGlassPane
+ {
+ constexpr BlockState PinkStainedGlassPane(const bool East, const bool North, const bool South, const bool West)
+ {
+ if (East)
+ if (North)
+ if (South)
+ if (West) return 7057;
+ else return 7058;
+ else
+ if (West) return 7061;
+ else return 7062;
+ else
+ if (South)
+ if (West) return 7065;
+ else return 7066;
+ else
+ if (West) return 7069;
+ else return 7070;
+ else
+ if (North)
+ if (South)
+ if (West) return 7073;
+ else return 7074;
+ else
+ if (West) return 7077;
+ else return 7078;
+ else
+ if (South)
+ if (West) return 7081;
+ else return 7082;
+ else
+ if (West) return 7085;
+ else return 7086;
+ }
+ BlockState PinkStainedGlassPane();
+ bool East(BlockState Block);
+ bool North(BlockState Block);
+ bool South(BlockState Block);
+ bool West(BlockState Block);
+ }
+ namespace PinkTerracotta
+ {
+ constexpr BlockState PinkTerracotta()
+ {
+ return 6853;
+ }
+ }
+ namespace PinkTulip
+ {
+ constexpr BlockState PinkTulip()
+ {
+ return 1420;
+ }
+ }
+ namespace PinkWallBanner
+ {
+ constexpr BlockState PinkWallBanner(const eBlockFace Facing)
+ {
+ if (Facing == eBlockFace::BLOCK_FACE_ZM) return 8177;
+ else if (Facing == eBlockFace::BLOCK_FACE_ZP) return 8178;
+ else if (Facing == eBlockFace::BLOCK_FACE_XM) return 8179;
+ else return 8180;
+ }
+ BlockState PinkWallBanner();
+ eBlockFace Facing(BlockState Block);
+ }
+ namespace PinkWool
+ {
+ constexpr BlockState PinkWool()
+ {
+ return 1390;
+ }
+ }
+ namespace Piston
+ {
+ constexpr BlockState Piston(const bool Extended, const eBlockFace Facing)
+ {
+ if (Extended)
+ if (Facing == eBlockFace::BLOCK_FACE_ZM) return 1348;
+ else if (Facing == eBlockFace::BLOCK_FACE_XP) return 1349;
+ else if (Facing == eBlockFace::BLOCK_FACE_ZP) return 1350;
+ else if (Facing == eBlockFace::BLOCK_FACE_XM) return 1351;
+ else if (Facing == eBlockFace::BLOCK_FACE_YP) return 1352;
+ else return 1353;
+ else
+ if (Facing == eBlockFace::BLOCK_FACE_ZM) return 1354;
+ else if (Facing == eBlockFace::BLOCK_FACE_XP) return 1355;
+ else if (Facing == eBlockFace::BLOCK_FACE_ZP) return 1356;
+ else if (Facing == eBlockFace::BLOCK_FACE_XM) return 1357;
+ else if (Facing == eBlockFace::BLOCK_FACE_YP) return 1358;
+ else return 1359;
+ }
+ BlockState Piston();
+ bool Extended(BlockState Block);
+ eBlockFace Facing(BlockState Block);
+ }
+ namespace PistonHead
+ {
+ enum class Type
+ {
+ Normal,
+ Sticky
+ };
+ constexpr BlockState PistonHead(const eBlockFace Facing, const bool Short, const enum Type Type)
+ {
+ if (Facing == eBlockFace::BLOCK_FACE_ZM)
+ if (Short)
+ if (Type == Type::Normal) return 1360;
+ else return 1361;
+ else
+ if (Type == Type::Normal) return 1362;
+ else return 1363;
+ else if (Facing == eBlockFace::BLOCK_FACE_XP)
+ if (Short)
+ if (Type == Type::Normal) return 1364;
+ else return 1365;
+ else
+ if (Type == Type::Normal) return 1366;
+ else return 1367;
+ else if (Facing == eBlockFace::BLOCK_FACE_ZP)
+ if (Short)
+ if (Type == Type::Normal) return 1368;
+ else return 1369;
+ else
+ if (Type == Type::Normal) return 1370;
+ else return 1371;
+ else if (Facing == eBlockFace::BLOCK_FACE_XM)
+ if (Short)
+ if (Type == Type::Normal) return 1372;
+ else return 1373;
+ else
+ if (Type == Type::Normal) return 1374;
+ else return 1375;
+ else if (Facing == eBlockFace::BLOCK_FACE_YP)
+ if (Short)
+ if (Type == Type::Normal) return 1376;
+ else return 1377;
+ else
+ if (Type == Type::Normal) return 1378;
+ else return 1379;
+ else
+ if (Short)
+ if (Type == Type::Normal) return 1380;
+ else return 1381;
+ else
+ if (Type == Type::Normal) return 1382;
+ else return 1383;
+ }
+ BlockState PistonHead();
+ eBlockFace Facing(BlockState Block);
+ bool Short(BlockState Block);
+ enum Type Type(BlockState Block);
+ }
+ namespace PlayerHead
+ {
+ constexpr BlockState PlayerHead(const unsigned char Rotation)
+ {
+ if (Rotation == 0) return 6550;
+ else if (Rotation == 1) return 6551;
+ else if (Rotation == 2) return 6552;
+ else if (Rotation == 3) return 6553;
+ else if (Rotation == 4) return 6554;
+ else if (Rotation == 5) return 6555;
+ else if (Rotation == 6) return 6556;
+ else if (Rotation == 7) return 6557;
+ else if (Rotation == 8) return 6558;
+ else if (Rotation == 9) return 6559;
+ else if (Rotation == 10) return 6560;
+ else if (Rotation == 11) return 6561;
+ else if (Rotation == 12) return 6562;
+ else if (Rotation == 13) return 6563;
+ else if (Rotation == 14) return 6564;
+ else return 6565;
+ }
+ BlockState PlayerHead();
+ unsigned char Rotation(BlockState Block);
+ }
+ namespace PlayerWallHead
+ {
+ constexpr BlockState PlayerWallHead(const eBlockFace Facing)
+ {
+ if (Facing == eBlockFace::BLOCK_FACE_ZM) return 6566;
+ else if (Facing == eBlockFace::BLOCK_FACE_ZP) return 6567;
+ else if (Facing == eBlockFace::BLOCK_FACE_XM) return 6568;
+ else return 6569;
+ }
+ BlockState PlayerWallHead();
+ eBlockFace Facing(BlockState Block);
+ }
+ namespace Podzol
+ {
+ constexpr BlockState Podzol(const bool Snowy)
+ {
+ if (Snowy) return 12;
+ else return 13;
+ }
+ BlockState Podzol();
+ bool Snowy(BlockState Block);
+ }
+ namespace PolishedAndesite
+ {
+ constexpr BlockState PolishedAndesite()
+ {
+ return 7;
+ }
+ }
+ namespace PolishedAndesiteSlab
+ {
+ enum class Type
+ {
+ Top,
+ Bottom,
+ Double
+ };
+ constexpr BlockState PolishedAndesiteSlab(const enum Type Type)
+ {
+ if (Type == Type::Top) return 10856;
+ else if (Type == Type::Bottom) return 10858;
+ else return 10860;
+ }
+ BlockState PolishedAndesiteSlab();
+ enum Type Type(BlockState Block);
+ }
+ namespace PolishedAndesiteStairs
+ {
+ enum class Half
+ {
+ Top,
+ Bottom
+ };
+ enum class Shape
+ {
+ Straight,
+ InnerLeft,
+ InnerRight,
+ OuterLeft,
+ OuterRight
+ };
+ constexpr BlockState PolishedAndesiteStairs(const eBlockFace Facing, const enum Half Half, const enum Shape Shape)
+ {
+ if (Facing == eBlockFace::BLOCK_FACE_ZM)
+ if (Half == Half::Top)
+ if (Shape == Shape::Straight) return 10630;
+ else if (Shape == Shape::InnerLeft) return 10632;
+ else if (Shape == Shape::InnerRight) return 10634;
+ else if (Shape == Shape::OuterLeft) return 10636;
+ else return 10638;
+ else
+ if (Shape == Shape::Straight) return 10640;
+ else if (Shape == Shape::InnerLeft) return 10642;
+ else if (Shape == Shape::InnerRight) return 10644;
+ else if (Shape == Shape::OuterLeft) return 10646;
+ else return 10648;
+ else if (Facing == eBlockFace::BLOCK_FACE_ZP)
+ if (Half == Half::Top)
+ if (Shape == Shape::Straight) return 10650;
+ else if (Shape == Shape::InnerLeft) return 10652;
+ else if (Shape == Shape::InnerRight) return 10654;
+ else if (Shape == Shape::OuterLeft) return 10656;
+ else return 10658;
+ else
+ if (Shape == Shape::Straight) return 10660;
+ else if (Shape == Shape::InnerLeft) return 10662;
+ else if (Shape == Shape::InnerRight) return 10664;
+ else if (Shape == Shape::OuterLeft) return 10666;
+ else return 10668;
+ else if (Facing == eBlockFace::BLOCK_FACE_XM)
+ if (Half == Half::Top)
+ if (Shape == Shape::Straight) return 10670;
+ else if (Shape == Shape::InnerLeft) return 10672;
+ else if (Shape == Shape::InnerRight) return 10674;
+ else if (Shape == Shape::OuterLeft) return 10676;
+ else return 10678;
+ else
+ if (Shape == Shape::Straight) return 10680;
+ else if (Shape == Shape::InnerLeft) return 10682;
+ else if (Shape == Shape::InnerRight) return 10684;
+ else if (Shape == Shape::OuterLeft) return 10686;
+ else return 10688;
+ else
+ if (Half == Half::Top)
+ if (Shape == Shape::Straight) return 10690;
+ else if (Shape == Shape::InnerLeft) return 10692;
+ else if (Shape == Shape::InnerRight) return 10694;
+ else if (Shape == Shape::OuterLeft) return 10696;
+ else return 10698;
+ else
+ if (Shape == Shape::Straight) return 10700;
+ else if (Shape == Shape::InnerLeft) return 10702;
+ else if (Shape == Shape::InnerRight) return 10704;
+ else if (Shape == Shape::OuterLeft) return 10706;
+ else return 10708;
+ }
+ BlockState PolishedAndesiteStairs();
+ eBlockFace Facing(BlockState Block);
+ enum Half Half(BlockState Block);
+ enum Shape Shape(BlockState Block);
+ }
+ namespace PolishedBasalt
+ {
+ enum class Axis
+ {
+ X,
+ Y,
+ Z
+ };
+ constexpr BlockState PolishedBasalt(const enum Axis Axis)
+ {
+ if (Axis == Axis::X) return 4005;
+ else if (Axis == Axis::Y) return 4006;
+ else return 4007;
+ }
+ BlockState PolishedBasalt();
+ enum Axis Axis(BlockState Block);
+ }
+ namespace PolishedBlackstone
+ {
+ constexpr BlockState PolishedBlackstone()
+ {
+ return 16250;
+ }
+ }
+ namespace PolishedBlackstoneBrickSlab
+ {
+ enum class Type
+ {
+ Top,
+ Bottom,
+ Double
+ };
+ constexpr BlockState PolishedBlackstoneBrickSlab(const enum Type Type)
+ {
+ if (Type == Type::Top) return 16255;
+ else if (Type == Type::Bottom) return 16257;
+ else return 16259;
+ }
+ BlockState PolishedBlackstoneBrickSlab();
+ enum Type Type(BlockState Block);
+ }
+ namespace PolishedBlackstoneBrickStairs
+ {
+ enum class Half
+ {
+ Top,
+ Bottom
+ };
+ enum class Shape
+ {
+ Straight,
+ InnerLeft,
+ InnerRight,
+ OuterLeft,
+ OuterRight
+ };
+ constexpr BlockState PolishedBlackstoneBrickStairs(const eBlockFace Facing, const enum Half Half, const enum Shape Shape)
+ {
+ if (Facing == eBlockFace::BLOCK_FACE_ZM)
+ if (Half == Half::Top)
+ if (Shape == Shape::Straight) return 16261;
+ else if (Shape == Shape::InnerLeft) return 16263;
+ else if (Shape == Shape::InnerRight) return 16265;
+ else if (Shape == Shape::OuterLeft) return 16267;
+ else return 16269;
+ else
+ if (Shape == Shape::Straight) return 16271;
+ else if (Shape == Shape::InnerLeft) return 16273;
+ else if (Shape == Shape::InnerRight) return 16275;
+ else if (Shape == Shape::OuterLeft) return 16277;
+ else return 16279;
+ else if (Facing == eBlockFace::BLOCK_FACE_ZP)
+ if (Half == Half::Top)
+ if (Shape == Shape::Straight) return 16281;
+ else if (Shape == Shape::InnerLeft) return 16283;
+ else if (Shape == Shape::InnerRight) return 16285;
+ else if (Shape == Shape::OuterLeft) return 16287;
+ else return 16289;
+ else
+ if (Shape == Shape::Straight) return 16291;
+ else if (Shape == Shape::InnerLeft) return 16293;
+ else if (Shape == Shape::InnerRight) return 16295;
+ else if (Shape == Shape::OuterLeft) return 16297;
+ else return 16299;
+ else if (Facing == eBlockFace::BLOCK_FACE_XM)
+ if (Half == Half::Top)
+ if (Shape == Shape::Straight) return 16301;
+ else if (Shape == Shape::InnerLeft) return 16303;
+ else if (Shape == Shape::InnerRight) return 16305;
+ else if (Shape == Shape::OuterLeft) return 16307;
+ else return 16309;
+ else
+ if (Shape == Shape::Straight) return 16311;
+ else if (Shape == Shape::InnerLeft) return 16313;
+ else if (Shape == Shape::InnerRight) return 16315;
+ else if (Shape == Shape::OuterLeft) return 16317;
+ else return 16319;
+ else
+ if (Half == Half::Top)
+ if (Shape == Shape::Straight) return 16321;
+ else if (Shape == Shape::InnerLeft) return 16323;
+ else if (Shape == Shape::InnerRight) return 16325;
+ else if (Shape == Shape::OuterLeft) return 16327;
+ else return 16329;
+ else
+ if (Shape == Shape::Straight) return 16331;
+ else if (Shape == Shape::InnerLeft) return 16333;
+ else if (Shape == Shape::InnerRight) return 16335;
+ else if (Shape == Shape::OuterLeft) return 16337;
+ else return 16339;
+ }
+ BlockState PolishedBlackstoneBrickStairs();
+ eBlockFace Facing(BlockState Block);
+ enum Half Half(BlockState Block);
+ enum Shape Shape(BlockState Block);
+ }
+ namespace PolishedBlackstoneBrickWall
+ {
+ enum class East
+ {
+ None,
+ Low,
+ Tall
+ };
+ enum class North
+ {
+ None,
+ Low,
+ Tall
+ };
+ enum class South
+ {
+ None,
+ Low,
+ Tall
+ };
+ enum class West
+ {
+ None,
+ Low,
+ Tall
+ };
+ constexpr BlockState PolishedBlackstoneBrickWall(const enum East East, const enum North North, const enum South South, const bool Up, const enum West West)
+ {
+ if (East == East::None)
+ if (North == North::None)
+ if (South == South::None)
+ if (Up)
+ if (West == West::None) return 16343;
+ else if (West == West::Low) return 16344;
+ else return 16345;
+ else
+ if (West == West::None) return 16349;
+ else if (West == West::Low) return 16350;
+ else return 16351;
+ else if (South == South::Low)
+ if (Up)
+ if (West == West::None) return 16355;
+ else if (West == West::Low) return 16356;
+ else return 16357;
+ else
+ if (West == West::None) return 16361;
+ else if (West == West::Low) return 16362;
+ else return 16363;
+ else
+ if (Up)
+ if (West == West::None) return 16367;
+ else if (West == West::Low) return 16368;
+ else return 16369;
+ else
+ if (West == West::None) return 16373;
+ else if (West == West::Low) return 16374;
+ else return 16375;
+ else if (North == North::Low)
+ if (South == South::None)
+ if (Up)
+ if (West == West::None) return 16379;
+ else if (West == West::Low) return 16380;
+ else return 16381;
+ else
+ if (West == West::None) return 16385;
+ else if (West == West::Low) return 16386;
+ else return 16387;
+ else if (South == South::Low)
+ if (Up)
+ if (West == West::None) return 16391;
+ else if (West == West::Low) return 16392;
+ else return 16393;
+ else
+ if (West == West::None) return 16397;
+ else if (West == West::Low) return 16398;
+ else return 16399;
+ else
+ if (Up)
+ if (West == West::None) return 16403;
+ else if (West == West::Low) return 16404;
+ else return 16405;
+ else
+ if (West == West::None) return 16409;
+ else if (West == West::Low) return 16410;
+ else return 16411;
+ else
+ if (South == South::None)
+ if (Up)
+ if (West == West::None) return 16415;
+ else if (West == West::Low) return 16416;
+ else return 16417;
+ else
+ if (West == West::None) return 16421;
+ else if (West == West::Low) return 16422;
+ else return 16423;
+ else if (South == South::Low)
+ if (Up)
+ if (West == West::None) return 16427;
+ else if (West == West::Low) return 16428;
+ else return 16429;
+ else
+ if (West == West::None) return 16433;
+ else if (West == West::Low) return 16434;
+ else return 16435;
+ else
+ if (Up)
+ if (West == West::None) return 16439;
+ else if (West == West::Low) return 16440;
+ else return 16441;
+ else
+ if (West == West::None) return 16445;
+ else if (West == West::Low) return 16446;
+ else return 16447;
+ else if (East == East::Low)
+ if (North == North::None)
+ if (South == South::None)
+ if (Up)
+ if (West == West::None) return 16451;
+ else if (West == West::Low) return 16452;
+ else return 16453;
+ else
+ if (West == West::None) return 16457;
+ else if (West == West::Low) return 16458;
+ else return 16459;
+ else if (South == South::Low)
+ if (Up)
+ if (West == West::None) return 16463;
+ else if (West == West::Low) return 16464;
+ else return 16465;
+ else
+ if (West == West::None) return 16469;
+ else if (West == West::Low) return 16470;
+ else return 16471;
+ else
+ if (Up)
+ if (West == West::None) return 16475;
+ else if (West == West::Low) return 16476;
+ else return 16477;
+ else
+ if (West == West::None) return 16481;
+ else if (West == West::Low) return 16482;
+ else return 16483;
+ else if (North == North::Low)
+ if (South == South::None)
+ if (Up)
+ if (West == West::None) return 16487;
+ else if (West == West::Low) return 16488;
+ else return 16489;
+ else
+ if (West == West::None) return 16493;
+ else if (West == West::Low) return 16494;
+ else return 16495;
+ else if (South == South::Low)
+ if (Up)
+ if (West == West::None) return 16499;
+ else if (West == West::Low) return 16500;
+ else return 16501;
+ else
+ if (West == West::None) return 16505;
+ else if (West == West::Low) return 16506;
+ else return 16507;
+ else
+ if (Up)
+ if (West == West::None) return 16511;
+ else if (West == West::Low) return 16512;
+ else return 16513;
+ else
+ if (West == West::None) return 16517;
+ else if (West == West::Low) return 16518;
+ else return 16519;
+ else
+ if (South == South::None)
+ if (Up)
+ if (West == West::None) return 16523;
+ else if (West == West::Low) return 16524;
+ else return 16525;
+ else
+ if (West == West::None) return 16529;
+ else if (West == West::Low) return 16530;
+ else return 16531;
+ else if (South == South::Low)
+ if (Up)
+ if (West == West::None) return 16535;
+ else if (West == West::Low) return 16536;
+ else return 16537;
+ else
+ if (West == West::None) return 16541;
+ else if (West == West::Low) return 16542;
+ else return 16543;
+ else
+ if (Up)
+ if (West == West::None) return 16547;
+ else if (West == West::Low) return 16548;
+ else return 16549;
+ else
+ if (West == West::None) return 16553;
+ else if (West == West::Low) return 16554;
+ else return 16555;
+ else
+ if (North == North::None)
+ if (South == South::None)
+ if (Up)
+ if (West == West::None) return 16559;
+ else if (West == West::Low) return 16560;
+ else return 16561;
+ else
+ if (West == West::None) return 16565;
+ else if (West == West::Low) return 16566;
+ else return 16567;
+ else if (South == South::Low)
+ if (Up)
+ if (West == West::None) return 16571;
+ else if (West == West::Low) return 16572;
+ else return 16573;
+ else
+ if (West == West::None) return 16577;
+ else if (West == West::Low) return 16578;
+ else return 16579;
+ else
+ if (Up)
+ if (West == West::None) return 16583;
+ else if (West == West::Low) return 16584;
+ else return 16585;
+ else
+ if (West == West::None) return 16589;
+ else if (West == West::Low) return 16590;
+ else return 16591;
+ else if (North == North::Low)
+ if (South == South::None)
+ if (Up)
+ if (West == West::None) return 16595;
+ else if (West == West::Low) return 16596;
+ else return 16597;
+ else
+ if (West == West::None) return 16601;
+ else if (West == West::Low) return 16602;
+ else return 16603;
+ else if (South == South::Low)
+ if (Up)
+ if (West == West::None) return 16607;
+ else if (West == West::Low) return 16608;
+ else return 16609;
+ else
+ if (West == West::None) return 16613;
+ else if (West == West::Low) return 16614;
+ else return 16615;
+ else
+ if (Up)
+ if (West == West::None) return 16619;
+ else if (West == West::Low) return 16620;
+ else return 16621;
+ else
+ if (West == West::None) return 16625;
+ else if (West == West::Low) return 16626;
+ else return 16627;
+ else
+ if (South == South::None)
+ if (Up)
+ if (West == West::None) return 16631;
+ else if (West == West::Low) return 16632;
+ else return 16633;
+ else
+ if (West == West::None) return 16637;
+ else if (West == West::Low) return 16638;
+ else return 16639;
+ else if (South == South::Low)
+ if (Up)
+ if (West == West::None) return 16643;
+ else if (West == West::Low) return 16644;
+ else return 16645;
+ else
+ if (West == West::None) return 16649;
+ else if (West == West::Low) return 16650;
+ else return 16651;
+ else
+ if (Up)
+ if (West == West::None) return 16655;
+ else if (West == West::Low) return 16656;
+ else return 16657;
+ else
+ if (West == West::None) return 16661;
+ else if (West == West::Low) return 16662;
+ else return 16663;
+ }
+ BlockState PolishedBlackstoneBrickWall();
+ enum East East(BlockState Block);
+ enum North North(BlockState Block);
+ enum South South(BlockState Block);
+ bool Up(BlockState Block);
+ enum West West(BlockState Block);
+ }
+ namespace PolishedBlackstoneBricks
+ {
+ constexpr BlockState PolishedBlackstoneBricks()
+ {
+ return 16251;
+ }
+ }
+ namespace PolishedBlackstoneButton
+ {
+ enum class Face
+ {
+ Floor,
+ Wall,
+ Ceiling
+ };
+ constexpr BlockState PolishedBlackstoneButton(const enum Face Face, const eBlockFace Facing, const bool Powered)
+ {
+ if (Face == Face::Floor)
+ if (Facing == eBlockFace::BLOCK_FACE_ZM)
+ if (Powered) return 16753;
+ else return 16754;
+ else if (Facing == eBlockFace::BLOCK_FACE_ZP)
+ if (Powered) return 16755;
+ else return 16756;
+ else if (Facing == eBlockFace::BLOCK_FACE_XM)
+ if (Powered) return 16757;
+ else return 16758;
+ else
+ if (Powered) return 16759;
+ else return 16760;
+ else if (Face == Face::Wall)
+ if (Facing == eBlockFace::BLOCK_FACE_ZM)
+ if (Powered) return 16761;
+ else return 16762;
+ else if (Facing == eBlockFace::BLOCK_FACE_ZP)
+ if (Powered) return 16763;
+ else return 16764;
+ else if (Facing == eBlockFace::BLOCK_FACE_XM)
+ if (Powered) return 16765;
+ else return 16766;
+ else
+ if (Powered) return 16767;
+ else return 16768;
+ else
+ if (Facing == eBlockFace::BLOCK_FACE_ZM)
+ if (Powered) return 16769;
+ else return 16770;
+ else if (Facing == eBlockFace::BLOCK_FACE_ZP)
+ if (Powered) return 16771;
+ else return 16772;
+ else if (Facing == eBlockFace::BLOCK_FACE_XM)
+ if (Powered) return 16773;
+ else return 16774;
+ else
+ if (Powered) return 16775;
+ else return 16776;
+ }
+ BlockState PolishedBlackstoneButton();
+ enum Face Face(BlockState Block);
+ eBlockFace Facing(BlockState Block);
+ bool Powered(BlockState Block);
+ }
+ namespace PolishedBlackstonePressurePlate
+ {
+ constexpr BlockState PolishedBlackstonePressurePlate(const bool Powered)
+ {
+ if (Powered) return 16751;
+ else return 16752;
+ }
+ BlockState PolishedBlackstonePressurePlate();
+ bool Powered(BlockState Block);
+ }
+ namespace PolishedBlackstoneSlab
+ {
+ enum class Type
+ {
+ Top,
+ Bottom,
+ Double
+ };
+ constexpr BlockState PolishedBlackstoneSlab(const enum Type Type)
+ {
+ if (Type == Type::Top) return 16746;
+ else if (Type == Type::Bottom) return 16748;
+ else return 16750;
+ }
+ BlockState PolishedBlackstoneSlab();
+ enum Type Type(BlockState Block);
+ }
+ namespace PolishedBlackstoneStairs
+ {
+ enum class Half
+ {
+ Top,
+ Bottom
+ };
+ enum class Shape
+ {
+ Straight,
+ InnerLeft,
+ InnerRight,
+ OuterLeft,
+ OuterRight
+ };
+ constexpr BlockState PolishedBlackstoneStairs(const eBlockFace Facing, const enum Half Half, const enum Shape Shape)
+ {
+ if (Facing == eBlockFace::BLOCK_FACE_ZM)
+ if (Half == Half::Top)
+ if (Shape == Shape::Straight) return 16666;
+ else if (Shape == Shape::InnerLeft) return 16668;
+ else if (Shape == Shape::InnerRight) return 16670;
+ else if (Shape == Shape::OuterLeft) return 16672;
+ else return 16674;
+ else
+ if (Shape == Shape::Straight) return 16676;
+ else if (Shape == Shape::InnerLeft) return 16678;
+ else if (Shape == Shape::InnerRight) return 16680;
+ else if (Shape == Shape::OuterLeft) return 16682;
+ else return 16684;
+ else if (Facing == eBlockFace::BLOCK_FACE_ZP)
+ if (Half == Half::Top)
+ if (Shape == Shape::Straight) return 16686;
+ else if (Shape == Shape::InnerLeft) return 16688;
+ else if (Shape == Shape::InnerRight) return 16690;
+ else if (Shape == Shape::OuterLeft) return 16692;
+ else return 16694;
+ else
+ if (Shape == Shape::Straight) return 16696;
+ else if (Shape == Shape::InnerLeft) return 16698;
+ else if (Shape == Shape::InnerRight) return 16700;
+ else if (Shape == Shape::OuterLeft) return 16702;
+ else return 16704;
+ else if (Facing == eBlockFace::BLOCK_FACE_XM)
+ if (Half == Half::Top)
+ if (Shape == Shape::Straight) return 16706;
+ else if (Shape == Shape::InnerLeft) return 16708;
+ else if (Shape == Shape::InnerRight) return 16710;
+ else if (Shape == Shape::OuterLeft) return 16712;
+ else return 16714;
+ else
+ if (Shape == Shape::Straight) return 16716;
+ else if (Shape == Shape::InnerLeft) return 16718;
+ else if (Shape == Shape::InnerRight) return 16720;
+ else if (Shape == Shape::OuterLeft) return 16722;
+ else return 16724;
+ else
+ if (Half == Half::Top)
+ if (Shape == Shape::Straight) return 16726;
+ else if (Shape == Shape::InnerLeft) return 16728;
+ else if (Shape == Shape::InnerRight) return 16730;
+ else if (Shape == Shape::OuterLeft) return 16732;
+ else return 16734;
+ else
+ if (Shape == Shape::Straight) return 16736;
+ else if (Shape == Shape::InnerLeft) return 16738;
+ else if (Shape == Shape::InnerRight) return 16740;
+ else if (Shape == Shape::OuterLeft) return 16742;
+ else return 16744;
+ }
+ BlockState PolishedBlackstoneStairs();
+ eBlockFace Facing(BlockState Block);
+ enum Half Half(BlockState Block);
+ enum Shape Shape(BlockState Block);
+ }
+ namespace PolishedBlackstoneWall
+ {
+ enum class East
+ {
+ None,
+ Low,
+ Tall
+ };
+ enum class North
+ {
+ None,
+ Low,
+ Tall
+ };
+ enum class South
+ {
+ None,
+ Low,
+ Tall
+ };
+ enum class West
+ {
+ None,
+ Low,
+ Tall
+ };
+ constexpr BlockState PolishedBlackstoneWall(const enum East East, const enum North North, const enum South South, const bool Up, const enum West West)
+ {
+ if (East == East::None)
+ if (North == North::None)
+ if (South == South::None)
+ if (Up)
+ if (West == West::None) return 16780;
+ else if (West == West::Low) return 16781;
+ else return 16782;
+ else
+ if (West == West::None) return 16786;
+ else if (West == West::Low) return 16787;
+ else return 16788;
+ else if (South == South::Low)
+ if (Up)
+ if (West == West::None) return 16792;
+ else if (West == West::Low) return 16793;
+ else return 16794;
+ else
+ if (West == West::None) return 16798;
+ else if (West == West::Low) return 16799;
+ else return 16800;
+ else
+ if (Up)
+ if (West == West::None) return 16804;
+ else if (West == West::Low) return 16805;
+ else return 16806;
+ else
+ if (West == West::None) return 16810;
+ else if (West == West::Low) return 16811;
+ else return 16812;
+ else if (North == North::Low)
+ if (South == South::None)
+ if (Up)
+ if (West == West::None) return 16816;
+ else if (West == West::Low) return 16817;
+ else return 16818;
+ else
+ if (West == West::None) return 16822;
+ else if (West == West::Low) return 16823;
+ else return 16824;
+ else if (South == South::Low)
+ if (Up)
+ if (West == West::None) return 16828;
+ else if (West == West::Low) return 16829;
+ else return 16830;
+ else
+ if (West == West::None) return 16834;
+ else if (West == West::Low) return 16835;
+ else return 16836;
+ else
+ if (Up)
+ if (West == West::None) return 16840;
+ else if (West == West::Low) return 16841;
+ else return 16842;
+ else
+ if (West == West::None) return 16846;
+ else if (West == West::Low) return 16847;
+ else return 16848;
+ else
+ if (South == South::None)
+ if (Up)
+ if (West == West::None) return 16852;
+ else if (West == West::Low) return 16853;
+ else return 16854;
+ else
+ if (West == West::None) return 16858;
+ else if (West == West::Low) return 16859;
+ else return 16860;
+ else if (South == South::Low)
+ if (Up)
+ if (West == West::None) return 16864;
+ else if (West == West::Low) return 16865;
+ else return 16866;
+ else
+ if (West == West::None) return 16870;
+ else if (West == West::Low) return 16871;
+ else return 16872;
+ else
+ if (Up)
+ if (West == West::None) return 16876;
+ else if (West == West::Low) return 16877;
+ else return 16878;
+ else
+ if (West == West::None) return 16882;
+ else if (West == West::Low) return 16883;
+ else return 16884;
+ else if (East == East::Low)
+ if (North == North::None)
+ if (South == South::None)
+ if (Up)
+ if (West == West::None) return 16888;
+ else if (West == West::Low) return 16889;
+ else return 16890;
+ else
+ if (West == West::None) return 16894;
+ else if (West == West::Low) return 16895;
+ else return 16896;
+ else if (South == South::Low)
+ if (Up)
+ if (West == West::None) return 16900;
+ else if (West == West::Low) return 16901;
+ else return 16902;
+ else
+ if (West == West::None) return 16906;
+ else if (West == West::Low) return 16907;
+ else return 16908;
+ else
+ if (Up)
+ if (West == West::None) return 16912;
+ else if (West == West::Low) return 16913;
+ else return 16914;
+ else
+ if (West == West::None) return 16918;
+ else if (West == West::Low) return 16919;
+ else return 16920;
+ else if (North == North::Low)
+ if (South == South::None)
+ if (Up)
+ if (West == West::None) return 16924;
+ else if (West == West::Low) return 16925;
+ else return 16926;
+ else
+ if (West == West::None) return 16930;
+ else if (West == West::Low) return 16931;
+ else return 16932;
+ else if (South == South::Low)
+ if (Up)
+ if (West == West::None) return 16936;
+ else if (West == West::Low) return 16937;
+ else return 16938;
+ else
+ if (West == West::None) return 16942;
+ else if (West == West::Low) return 16943;
+ else return 16944;
+ else
+ if (Up)
+ if (West == West::None) return 16948;
+ else if (West == West::Low) return 16949;
+ else return 16950;
+ else
+ if (West == West::None) return 16954;
+ else if (West == West::Low) return 16955;
+ else return 16956;
+ else
+ if (South == South::None)
+ if (Up)
+ if (West == West::None) return 16960;
+ else if (West == West::Low) return 16961;
+ else return 16962;
+ else
+ if (West == West::None) return 16966;
+ else if (West == West::Low) return 16967;
+ else return 16968;
+ else if (South == South::Low)
+ if (Up)
+ if (West == West::None) return 16972;
+ else if (West == West::Low) return 16973;
+ else return 16974;
+ else
+ if (West == West::None) return 16978;
+ else if (West == West::Low) return 16979;
+ else return 16980;
+ else
+ if (Up)
+ if (West == West::None) return 16984;
+ else if (West == West::Low) return 16985;
+ else return 16986;
+ else
+ if (West == West::None) return 16990;
+ else if (West == West::Low) return 16991;
+ else return 16992;
+ else
+ if (North == North::None)
+ if (South == South::None)
+ if (Up)
+ if (West == West::None) return 16996;
+ else if (West == West::Low) return 16997;
+ else return 16998;
+ else
+ if (West == West::None) return 17002;
+ else if (West == West::Low) return 17003;
+ else return 17004;
+ else if (South == South::Low)
+ if (Up)
+ if (West == West::None) return 17008;
+ else if (West == West::Low) return 17009;
+ else return 17010;
+ else
+ if (West == West::None) return 17014;
+ else if (West == West::Low) return 17015;
+ else return 17016;
+ else
+ if (Up)
+ if (West == West::None) return 17020;
+ else if (West == West::Low) return 17021;
+ else return 17022;
+ else
+ if (West == West::None) return 17026;
+ else if (West == West::Low) return 17027;
+ else return 17028;
+ else if (North == North::Low)
+ if (South == South::None)
+ if (Up)
+ if (West == West::None) return 17032;
+ else if (West == West::Low) return 17033;
+ else return 17034;
+ else
+ if (West == West::None) return 17038;
+ else if (West == West::Low) return 17039;
+ else return 17040;
+ else if (South == South::Low)
+ if (Up)
+ if (West == West::None) return 17044;
+ else if (West == West::Low) return 17045;
+ else return 17046;
+ else
+ if (West == West::None) return 17050;
+ else if (West == West::Low) return 17051;
+ else return 17052;
+ else
+ if (Up)
+ if (West == West::None) return 17056;
+ else if (West == West::Low) return 17057;
+ else return 17058;
+ else
+ if (West == West::None) return 17062;
+ else if (West == West::Low) return 17063;
+ else return 17064;
+ else
+ if (South == South::None)
+ if (Up)
+ if (West == West::None) return 17068;
+ else if (West == West::Low) return 17069;
+ else return 17070;
+ else
+ if (West == West::None) return 17074;
+ else if (West == West::Low) return 17075;
+ else return 17076;
+ else if (South == South::Low)
+ if (Up)
+ if (West == West::None) return 17080;
+ else if (West == West::Low) return 17081;
+ else return 17082;
+ else
+ if (West == West::None) return 17086;
+ else if (West == West::Low) return 17087;
+ else return 17088;
+ else
+ if (Up)
+ if (West == West::None) return 17092;
+ else if (West == West::Low) return 17093;
+ else return 17094;
+ else
+ if (West == West::None) return 17098;
+ else if (West == West::Low) return 17099;
+ else return 17100;
+ }
+ BlockState PolishedBlackstoneWall();
+ enum East East(BlockState Block);
+ enum North North(BlockState Block);
+ enum South South(BlockState Block);
+ bool Up(BlockState Block);
+ enum West West(BlockState Block);
+ }
+ namespace PolishedDiorite
+ {
+ constexpr BlockState PolishedDiorite()
+ {
+ return 5;
+ }
+ }
+ namespace PolishedDioriteSlab
+ {
+ enum class Type
+ {
+ Top,
+ Bottom,
+ Double
+ };
+ constexpr BlockState PolishedDioriteSlab(const enum Type Type)
+ {
+ if (Type == Type::Top) return 10808;
+ else if (Type == Type::Bottom) return 10810;
+ else return 10812;
+ }
+ BlockState PolishedDioriteSlab();
+ enum Type Type(BlockState Block);
+ }
+ namespace PolishedDioriteStairs
+ {
+ enum class Half
+ {
+ Top,
+ Bottom
+ };
+ enum class Shape
+ {
+ Straight,
+ InnerLeft,
+ InnerRight,
+ OuterLeft,
+ OuterRight
+ };
+ constexpr BlockState PolishedDioriteStairs(const eBlockFace Facing, const enum Half Half, const enum Shape Shape)
+ {
+ if (Facing == eBlockFace::BLOCK_FACE_ZM)
+ if (Half == Half::Top)
+ if (Shape == Shape::Straight) return 9910;
+ else if (Shape == Shape::InnerLeft) return 9912;
+ else if (Shape == Shape::InnerRight) return 9914;
+ else if (Shape == Shape::OuterLeft) return 9916;
+ else return 9918;
+ else
+ if (Shape == Shape::Straight) return 9920;
+ else if (Shape == Shape::InnerLeft) return 9922;
+ else if (Shape == Shape::InnerRight) return 9924;
+ else if (Shape == Shape::OuterLeft) return 9926;
+ else return 9928;
+ else if (Facing == eBlockFace::BLOCK_FACE_ZP)
+ if (Half == Half::Top)
+ if (Shape == Shape::Straight) return 9930;
+ else if (Shape == Shape::InnerLeft) return 9932;
+ else if (Shape == Shape::InnerRight) return 9934;
+ else if (Shape == Shape::OuterLeft) return 9936;
+ else return 9938;
+ else
+ if (Shape == Shape::Straight) return 9940;
+ else if (Shape == Shape::InnerLeft) return 9942;
+ else if (Shape == Shape::InnerRight) return 9944;
+ else if (Shape == Shape::OuterLeft) return 9946;
+ else return 9948;
+ else if (Facing == eBlockFace::BLOCK_FACE_XM)
+ if (Half == Half::Top)
+ if (Shape == Shape::Straight) return 9950;
+ else if (Shape == Shape::InnerLeft) return 9952;
+ else if (Shape == Shape::InnerRight) return 9954;
+ else if (Shape == Shape::OuterLeft) return 9956;
+ else return 9958;
+ else
+ if (Shape == Shape::Straight) return 9960;
+ else if (Shape == Shape::InnerLeft) return 9962;
+ else if (Shape == Shape::InnerRight) return 9964;
+ else if (Shape == Shape::OuterLeft) return 9966;
+ else return 9968;
+ else
+ if (Half == Half::Top)
+ if (Shape == Shape::Straight) return 9970;
+ else if (Shape == Shape::InnerLeft) return 9972;
+ else if (Shape == Shape::InnerRight) return 9974;
+ else if (Shape == Shape::OuterLeft) return 9976;
+ else return 9978;
+ else
+ if (Shape == Shape::Straight) return 9980;
+ else if (Shape == Shape::InnerLeft) return 9982;
+ else if (Shape == Shape::InnerRight) return 9984;
+ else if (Shape == Shape::OuterLeft) return 9986;
+ else return 9988;
+ }
+ BlockState PolishedDioriteStairs();
+ eBlockFace Facing(BlockState Block);
+ enum Half Half(BlockState Block);
+ enum Shape Shape(BlockState Block);
+ }
+ namespace PolishedGranite
+ {
+ constexpr BlockState PolishedGranite()
+ {
+ return 3;
+ }
+ }
+ namespace PolishedGraniteSlab
+ {
+ enum class Type
+ {
+ Top,
+ Bottom,
+ Double
+ };
+ constexpr BlockState PolishedGraniteSlab(const enum Type Type)
+ {
+ if (Type == Type::Top) return 10790;
+ else if (Type == Type::Bottom) return 10792;
+ else return 10794;
+ }
+ BlockState PolishedGraniteSlab();
+ enum Type Type(BlockState Block);
+ }
+ namespace PolishedGraniteStairs
+ {
+ enum class Half
+ {
+ Top,
+ Bottom
+ };
+ enum class Shape
+ {
+ Straight,
+ InnerLeft,
+ InnerRight,
+ OuterLeft,
+ OuterRight
+ };
+ constexpr BlockState PolishedGraniteStairs(const eBlockFace Facing, const enum Half Half, const enum Shape Shape)
+ {
+ if (Facing == eBlockFace::BLOCK_FACE_ZM)
+ if (Half == Half::Top)
+ if (Shape == Shape::Straight) return 9670;
+ else if (Shape == Shape::InnerLeft) return 9672;
+ else if (Shape == Shape::InnerRight) return 9674;
+ else if (Shape == Shape::OuterLeft) return 9676;
+ else return 9678;
+ else
+ if (Shape == Shape::Straight) return 9680;
+ else if (Shape == Shape::InnerLeft) return 9682;
+ else if (Shape == Shape::InnerRight) return 9684;
+ else if (Shape == Shape::OuterLeft) return 9686;
+ else return 9688;
+ else if (Facing == eBlockFace::BLOCK_FACE_ZP)
+ if (Half == Half::Top)
+ if (Shape == Shape::Straight) return 9690;
+ else if (Shape == Shape::InnerLeft) return 9692;
+ else if (Shape == Shape::InnerRight) return 9694;
+ else if (Shape == Shape::OuterLeft) return 9696;
+ else return 9698;
+ else
+ if (Shape == Shape::Straight) return 9700;
+ else if (Shape == Shape::InnerLeft) return 9702;
+ else if (Shape == Shape::InnerRight) return 9704;
+ else if (Shape == Shape::OuterLeft) return 9706;
+ else return 9708;
+ else if (Facing == eBlockFace::BLOCK_FACE_XM)
+ if (Half == Half::Top)
+ if (Shape == Shape::Straight) return 9710;
+ else if (Shape == Shape::InnerLeft) return 9712;
+ else if (Shape == Shape::InnerRight) return 9714;
+ else if (Shape == Shape::OuterLeft) return 9716;
+ else return 9718;
+ else
+ if (Shape == Shape::Straight) return 9720;
+ else if (Shape == Shape::InnerLeft) return 9722;
+ else if (Shape == Shape::InnerRight) return 9724;
+ else if (Shape == Shape::OuterLeft) return 9726;
+ else return 9728;
+ else
+ if (Half == Half::Top)
+ if (Shape == Shape::Straight) return 9730;
+ else if (Shape == Shape::InnerLeft) return 9732;
+ else if (Shape == Shape::InnerRight) return 9734;
+ else if (Shape == Shape::OuterLeft) return 9736;
+ else return 9738;
+ else
+ if (Shape == Shape::Straight) return 9740;
+ else if (Shape == Shape::InnerLeft) return 9742;
+ else if (Shape == Shape::InnerRight) return 9744;
+ else if (Shape == Shape::OuterLeft) return 9746;
+ else return 9748;
+ }
+ BlockState PolishedGraniteStairs();
+ eBlockFace Facing(BlockState Block);
+ enum Half Half(BlockState Block);
+ enum Shape Shape(BlockState Block);
+ }
+ namespace Poppy
+ {
+ constexpr BlockState Poppy()
+ {
+ return 1413;
+ }
+ }
+ namespace Potatoes
+ {
+ constexpr BlockState Potatoes(const unsigned char Age)
+ {
+ if (Age == 0) return 6338;
+ else if (Age == 1) return 6339;
+ else if (Age == 2) return 6340;
+ else if (Age == 3) return 6341;
+ else if (Age == 4) return 6342;
+ else if (Age == 5) return 6343;
+ else if (Age == 6) return 6344;
+ else return 6345;
+ }
+ BlockState Potatoes();
+ unsigned char Age(BlockState Block);
+ }
+ namespace PottedAcaciaSapling
+ {
+ constexpr BlockState PottedAcaciaSapling()
+ {
+ return 6310;
+ }
+ }
+ namespace PottedAllium
+ {
+ constexpr BlockState PottedAllium()
+ {
+ return 6316;
+ }
+ }
+ namespace PottedAzureBluet
+ {
+ constexpr BlockState PottedAzureBluet()
+ {
+ return 6317;
+ }
+ }
+ namespace PottedBamboo
+ {
+ constexpr BlockState PottedBamboo()
+ {
+ return 9664;
+ }
+ }
+ namespace PottedBirchSapling
+ {
+ constexpr BlockState PottedBirchSapling()
+ {
+ return 6308;
+ }
+ }
+ namespace PottedBlueOrchid
+ {
+ constexpr BlockState PottedBlueOrchid()
+ {
+ return 6315;
+ }
+ }
+ namespace PottedBrownMushroom
+ {
+ constexpr BlockState PottedBrownMushroom()
+ {
+ return 6327;
+ }
+ }
+ namespace PottedCactus
+ {
+ constexpr BlockState PottedCactus()
+ {
+ return 6329;
+ }
+ }
+ namespace PottedCornflower
+ {
+ constexpr BlockState PottedCornflower()
+ {
+ return 6323;
+ }
+ }
+ namespace PottedCrimsonFungus
+ {
+ constexpr BlockState PottedCrimsonFungus()
+ {
+ return 15834;
+ }
+ }
+ namespace PottedCrimsonRoots
+ {
+ constexpr BlockState PottedCrimsonRoots()
+ {
+ return 15836;
+ }
+ }
+ namespace PottedDandelion
+ {
+ constexpr BlockState PottedDandelion()
+ {
+ return 6313;
+ }
+ }
+ namespace PottedDarkOakSapling
+ {
+ constexpr BlockState PottedDarkOakSapling()
+ {
+ return 6311;
+ }
+ }
+ namespace PottedDeadBush
+ {
+ constexpr BlockState PottedDeadBush()
+ {
+ return 6328;
+ }
+ }
+ namespace PottedFern
+ {
+ constexpr BlockState PottedFern()
+ {
+ return 6312;
+ }
+ }
+ namespace PottedJungleSapling
+ {
+ constexpr BlockState PottedJungleSapling()
+ {
+ return 6309;
+ }
+ }
+ namespace PottedLilyOfTheValley
+ {
+ constexpr BlockState PottedLilyOfTheValley()
+ {
+ return 6324;
+ }
+ }
+ namespace PottedOakSapling
+ {
+ constexpr BlockState PottedOakSapling()
+ {
+ return 6306;
+ }
+ }
+ namespace PottedOrangeTulip
+ {
+ constexpr BlockState PottedOrangeTulip()
+ {
+ return 6319;
+ }
+ }
+ namespace PottedOxeyeDaisy
+ {
+ constexpr BlockState PottedOxeyeDaisy()
+ {
+ return 6322;
+ }
+ }
+ namespace PottedPinkTulip
+ {
+ constexpr BlockState PottedPinkTulip()
+ {
+ return 6321;
+ }
+ }
+ namespace PottedPoppy
+ {
+ constexpr BlockState PottedPoppy()
+ {
+ return 6314;
+ }
+ }
+ namespace PottedRedMushroom
+ {
+ constexpr BlockState PottedRedMushroom()
+ {
+ return 6326;
+ }
+ }
+ namespace PottedRedTulip
+ {
+ constexpr BlockState PottedRedTulip()
+ {
+ return 6318;
+ }
+ }
+ namespace PottedSpruceSapling
+ {
+ constexpr BlockState PottedSpruceSapling()
+ {
+ return 6307;
+ }
+ }
+ namespace PottedWarpedFungus
+ {
+ constexpr BlockState PottedWarpedFungus()
+ {
+ return 15835;
+ }
+ }
+ namespace PottedWarpedRoots
+ {
+ constexpr BlockState PottedWarpedRoots()
+ {
+ return 15837;
+ }
+ }
+ namespace PottedWhiteTulip
+ {
+ constexpr BlockState PottedWhiteTulip()
+ {
+ return 6320;
+ }
+ }
+ namespace PottedWitherRose
+ {
+ constexpr BlockState PottedWitherRose()
+ {
+ return 6325;
+ }
+ }
+ namespace PoweredRail
+ {
+ enum class Shape
+ {
+ NorthSouth,
+ EastWest,
+ AscendingEast,
+ AscendingWest,
+ AscendingNorth,
+ AscendingSouth
+ };
+ constexpr BlockState PoweredRail(const bool Powered, const enum Shape Shape)
+ {
+ if (Powered)
+ if (Shape == Shape::NorthSouth) return 1305;
+ else if (Shape == Shape::EastWest) return 1306;
+ else if (Shape == Shape::AscendingEast) return 1307;
+ else if (Shape == Shape::AscendingWest) return 1308;
+ else if (Shape == Shape::AscendingNorth) return 1309;
+ else return 1310;
+ else
+ if (Shape == Shape::NorthSouth) return 1311;
+ else if (Shape == Shape::EastWest) return 1312;
+ else if (Shape == Shape::AscendingEast) return 1313;
+ else if (Shape == Shape::AscendingWest) return 1314;
+ else if (Shape == Shape::AscendingNorth) return 1315;
+ else return 1316;
+ }
+ BlockState PoweredRail();
+ bool Powered(BlockState Block);
+ enum Shape Shape(BlockState Block);
+ }
+ namespace Prismarine
+ {
+ constexpr BlockState Prismarine()
+ {
+ return 7601;
+ }
+ }
+ namespace PrismarineBrickSlab
+ {
+ enum class Type
+ {
+ Top,
+ Bottom,
+ Double
+ };
+ constexpr BlockState PrismarineBrickSlab(const enum Type Type)
+ {
+ if (Type == Type::Top) return 7851;
+ else if (Type == Type::Bottom) return 7853;
+ else return 7855;
+ }
+ BlockState PrismarineBrickSlab();
+ enum Type Type(BlockState Block);
+ }
+ namespace PrismarineBrickStairs
+ {
+ enum class Half
+ {
+ Top,
+ Bottom
+ };
+ enum class Shape
+ {
+ Straight,
+ InnerLeft,
+ InnerRight,
+ OuterLeft,
+ OuterRight
+ };
+ constexpr BlockState PrismarineBrickStairs(const eBlockFace Facing, const enum Half Half, const enum Shape Shape)
+ {
+ if (Facing == eBlockFace::BLOCK_FACE_ZM)
+ if (Half == Half::Top)
+ if (Shape == Shape::Straight) return 7685;
+ else if (Shape == Shape::InnerLeft) return 7687;
+ else if (Shape == Shape::InnerRight) return 7689;
+ else if (Shape == Shape::OuterLeft) return 7691;
+ else return 7693;
+ else
+ if (Shape == Shape::Straight) return 7695;
+ else if (Shape == Shape::InnerLeft) return 7697;
+ else if (Shape == Shape::InnerRight) return 7699;
+ else if (Shape == Shape::OuterLeft) return 7701;
+ else return 7703;
+ else if (Facing == eBlockFace::BLOCK_FACE_ZP)
+ if (Half == Half::Top)
+ if (Shape == Shape::Straight) return 7705;
+ else if (Shape == Shape::InnerLeft) return 7707;
+ else if (Shape == Shape::InnerRight) return 7709;
+ else if (Shape == Shape::OuterLeft) return 7711;
+ else return 7713;
+ else
+ if (Shape == Shape::Straight) return 7715;
+ else if (Shape == Shape::InnerLeft) return 7717;
+ else if (Shape == Shape::InnerRight) return 7719;
+ else if (Shape == Shape::OuterLeft) return 7721;
+ else return 7723;
+ else if (Facing == eBlockFace::BLOCK_FACE_XM)
+ if (Half == Half::Top)
+ if (Shape == Shape::Straight) return 7725;
+ else if (Shape == Shape::InnerLeft) return 7727;
+ else if (Shape == Shape::InnerRight) return 7729;
+ else if (Shape == Shape::OuterLeft) return 7731;
+ else return 7733;
+ else
+ if (Shape == Shape::Straight) return 7735;
+ else if (Shape == Shape::InnerLeft) return 7737;
+ else if (Shape == Shape::InnerRight) return 7739;
+ else if (Shape == Shape::OuterLeft) return 7741;
+ else return 7743;
+ else
+ if (Half == Half::Top)
+ if (Shape == Shape::Straight) return 7745;
+ else if (Shape == Shape::InnerLeft) return 7747;
+ else if (Shape == Shape::InnerRight) return 7749;
+ else if (Shape == Shape::OuterLeft) return 7751;
+ else return 7753;
+ else
+ if (Shape == Shape::Straight) return 7755;
+ else if (Shape == Shape::InnerLeft) return 7757;
+ else if (Shape == Shape::InnerRight) return 7759;
+ else if (Shape == Shape::OuterLeft) return 7761;
+ else return 7763;
+ }
+ BlockState PrismarineBrickStairs();
+ eBlockFace Facing(BlockState Block);
+ enum Half Half(BlockState Block);
+ enum Shape Shape(BlockState Block);
+ }
+ namespace PrismarineBricks
+ {
+ constexpr BlockState PrismarineBricks()
+ {
+ return 7602;
+ }
+ }
+ namespace PrismarineSlab
+ {
+ enum class Type
+ {
+ Top,
+ Bottom,
+ Double
+ };
+ constexpr BlockState PrismarineSlab(const enum Type Type)
+ {
+ if (Type == Type::Top) return 7845;
+ else if (Type == Type::Bottom) return 7847;
+ else return 7849;
+ }
+ BlockState PrismarineSlab();
+ enum Type Type(BlockState Block);
+ }
+ namespace PrismarineStairs
+ {
+ enum class Half
+ {
+ Top,
+ Bottom
+ };
+ enum class Shape
+ {
+ Straight,
+ InnerLeft,
+ InnerRight,
+ OuterLeft,
+ OuterRight
+ };
+ constexpr BlockState PrismarineStairs(const eBlockFace Facing, const enum Half Half, const enum Shape Shape)
+ {
+ if (Facing == eBlockFace::BLOCK_FACE_ZM)
+ if (Half == Half::Top)
+ if (Shape == Shape::Straight) return 7605;
+ else if (Shape == Shape::InnerLeft) return 7607;
+ else if (Shape == Shape::InnerRight) return 7609;
+ else if (Shape == Shape::OuterLeft) return 7611;
+ else return 7613;
+ else
+ if (Shape == Shape::Straight) return 7615;
+ else if (Shape == Shape::InnerLeft) return 7617;
+ else if (Shape == Shape::InnerRight) return 7619;
+ else if (Shape == Shape::OuterLeft) return 7621;
+ else return 7623;
+ else if (Facing == eBlockFace::BLOCK_FACE_ZP)
+ if (Half == Half::Top)
+ if (Shape == Shape::Straight) return 7625;
+ else if (Shape == Shape::InnerLeft) return 7627;
+ else if (Shape == Shape::InnerRight) return 7629;
+ else if (Shape == Shape::OuterLeft) return 7631;
+ else return 7633;
+ else
+ if (Shape == Shape::Straight) return 7635;
+ else if (Shape == Shape::InnerLeft) return 7637;
+ else if (Shape == Shape::InnerRight) return 7639;
+ else if (Shape == Shape::OuterLeft) return 7641;
+ else return 7643;
+ else if (Facing == eBlockFace::BLOCK_FACE_XM)
+ if (Half == Half::Top)
+ if (Shape == Shape::Straight) return 7645;
+ else if (Shape == Shape::InnerLeft) return 7647;
+ else if (Shape == Shape::InnerRight) return 7649;
+ else if (Shape == Shape::OuterLeft) return 7651;
+ else return 7653;
+ else
+ if (Shape == Shape::Straight) return 7655;
+ else if (Shape == Shape::InnerLeft) return 7657;
+ else if (Shape == Shape::InnerRight) return 7659;
+ else if (Shape == Shape::OuterLeft) return 7661;
+ else return 7663;
+ else
+ if (Half == Half::Top)
+ if (Shape == Shape::Straight) return 7665;
+ else if (Shape == Shape::InnerLeft) return 7667;
+ else if (Shape == Shape::InnerRight) return 7669;
+ else if (Shape == Shape::OuterLeft) return 7671;
+ else return 7673;
+ else
+ if (Shape == Shape::Straight) return 7675;
+ else if (Shape == Shape::InnerLeft) return 7677;
+ else if (Shape == Shape::InnerRight) return 7679;
+ else if (Shape == Shape::OuterLeft) return 7681;
+ else return 7683;
+ }
+ BlockState PrismarineStairs();
+ eBlockFace Facing(BlockState Block);
+ enum Half Half(BlockState Block);
+ enum Shape Shape(BlockState Block);
+ }
+ namespace PrismarineWall
+ {
+ enum class East
+ {
+ None,
+ Low,
+ Tall
+ };
+ enum class North
+ {
+ None,
+ Low,
+ Tall
+ };
+ enum class South
+ {
+ None,
+ Low,
+ Tall
+ };
+ enum class West
+ {
+ None,
+ Low,
+ Tall
+ };
+ constexpr BlockState PrismarineWall(const enum East East, const enum North North, const enum South South, const bool Up, const enum West West)
+ {
+ if (East == East::None)
+ if (North == North::None)
+ if (South == South::None)
+ if (Up)
+ if (West == West::None) return 11194;
+ else if (West == West::Low) return 11195;
+ else return 11196;
+ else
+ if (West == West::None) return 11200;
+ else if (West == West::Low) return 11201;
+ else return 11202;
+ else if (South == South::Low)
+ if (Up)
+ if (West == West::None) return 11206;
+ else if (West == West::Low) return 11207;
+ else return 11208;
+ else
+ if (West == West::None) return 11212;
+ else if (West == West::Low) return 11213;
+ else return 11214;
+ else
+ if (Up)
+ if (West == West::None) return 11218;
+ else if (West == West::Low) return 11219;
+ else return 11220;
+ else
+ if (West == West::None) return 11224;
+ else if (West == West::Low) return 11225;
+ else return 11226;
+ else if (North == North::Low)
+ if (South == South::None)
+ if (Up)
+ if (West == West::None) return 11230;
+ else if (West == West::Low) return 11231;
+ else return 11232;
+ else
+ if (West == West::None) return 11236;
+ else if (West == West::Low) return 11237;
+ else return 11238;
+ else if (South == South::Low)
+ if (Up)
+ if (West == West::None) return 11242;
+ else if (West == West::Low) return 11243;
+ else return 11244;
+ else
+ if (West == West::None) return 11248;
+ else if (West == West::Low) return 11249;
+ else return 11250;
+ else
+ if (Up)
+ if (West == West::None) return 11254;
+ else if (West == West::Low) return 11255;
+ else return 11256;
+ else
+ if (West == West::None) return 11260;
+ else if (West == West::Low) return 11261;
+ else return 11262;
+ else
+ if (South == South::None)
+ if (Up)
+ if (West == West::None) return 11266;
+ else if (West == West::Low) return 11267;
+ else return 11268;
+ else
+ if (West == West::None) return 11272;
+ else if (West == West::Low) return 11273;
+ else return 11274;
+ else if (South == South::Low)
+ if (Up)
+ if (West == West::None) return 11278;
+ else if (West == West::Low) return 11279;
+ else return 11280;
+ else
+ if (West == West::None) return 11284;
+ else if (West == West::Low) return 11285;
+ else return 11286;
+ else
+ if (Up)
+ if (West == West::None) return 11290;
+ else if (West == West::Low) return 11291;
+ else return 11292;
+ else
+ if (West == West::None) return 11296;
+ else if (West == West::Low) return 11297;
+ else return 11298;
+ else if (East == East::Low)
+ if (North == North::None)
+ if (South == South::None)
+ if (Up)
+ if (West == West::None) return 11302;
+ else if (West == West::Low) return 11303;
+ else return 11304;
+ else
+ if (West == West::None) return 11308;
+ else if (West == West::Low) return 11309;
+ else return 11310;
+ else if (South == South::Low)
+ if (Up)
+ if (West == West::None) return 11314;
+ else if (West == West::Low) return 11315;
+ else return 11316;
+ else
+ if (West == West::None) return 11320;
+ else if (West == West::Low) return 11321;
+ else return 11322;
+ else
+ if (Up)
+ if (West == West::None) return 11326;
+ else if (West == West::Low) return 11327;
+ else return 11328;
+ else
+ if (West == West::None) return 11332;
+ else if (West == West::Low) return 11333;
+ else return 11334;
+ else if (North == North::Low)
+ if (South == South::None)
+ if (Up)
+ if (West == West::None) return 11338;
+ else if (West == West::Low) return 11339;
+ else return 11340;
+ else
+ if (West == West::None) return 11344;
+ else if (West == West::Low) return 11345;
+ else return 11346;
+ else if (South == South::Low)
+ if (Up)
+ if (West == West::None) return 11350;
+ else if (West == West::Low) return 11351;
+ else return 11352;
+ else
+ if (West == West::None) return 11356;
+ else if (West == West::Low) return 11357;
+ else return 11358;
+ else
+ if (Up)
+ if (West == West::None) return 11362;
+ else if (West == West::Low) return 11363;
+ else return 11364;
+ else
+ if (West == West::None) return 11368;
+ else if (West == West::Low) return 11369;
+ else return 11370;
+ else
+ if (South == South::None)
+ if (Up)
+ if (West == West::None) return 11374;
+ else if (West == West::Low) return 11375;
+ else return 11376;
+ else
+ if (West == West::None) return 11380;
+ else if (West == West::Low) return 11381;
+ else return 11382;
+ else if (South == South::Low)
+ if (Up)
+ if (West == West::None) return 11386;
+ else if (West == West::Low) return 11387;
+ else return 11388;
+ else
+ if (West == West::None) return 11392;
+ else if (West == West::Low) return 11393;
+ else return 11394;
+ else
+ if (Up)
+ if (West == West::None) return 11398;
+ else if (West == West::Low) return 11399;
+ else return 11400;
+ else
+ if (West == West::None) return 11404;
+ else if (West == West::Low) return 11405;
+ else return 11406;
+ else
+ if (North == North::None)
+ if (South == South::None)
+ if (Up)
+ if (West == West::None) return 11410;
+ else if (West == West::Low) return 11411;
+ else return 11412;
+ else
+ if (West == West::None) return 11416;
+ else if (West == West::Low) return 11417;
+ else return 11418;
+ else if (South == South::Low)
+ if (Up)
+ if (West == West::None) return 11422;
+ else if (West == West::Low) return 11423;
+ else return 11424;
+ else
+ if (West == West::None) return 11428;
+ else if (West == West::Low) return 11429;
+ else return 11430;
+ else
+ if (Up)
+ if (West == West::None) return 11434;
+ else if (West == West::Low) return 11435;
+ else return 11436;
+ else
+ if (West == West::None) return 11440;
+ else if (West == West::Low) return 11441;
+ else return 11442;
+ else if (North == North::Low)
+ if (South == South::None)
+ if (Up)
+ if (West == West::None) return 11446;
+ else if (West == West::Low) return 11447;
+ else return 11448;
+ else
+ if (West == West::None) return 11452;
+ else if (West == West::Low) return 11453;
+ else return 11454;
+ else if (South == South::Low)
+ if (Up)
+ if (West == West::None) return 11458;
+ else if (West == West::Low) return 11459;
+ else return 11460;
+ else
+ if (West == West::None) return 11464;
+ else if (West == West::Low) return 11465;
+ else return 11466;
+ else
+ if (Up)
+ if (West == West::None) return 11470;
+ else if (West == West::Low) return 11471;
+ else return 11472;
+ else
+ if (West == West::None) return 11476;
+ else if (West == West::Low) return 11477;
+ else return 11478;
+ else
+ if (South == South::None)
+ if (Up)
+ if (West == West::None) return 11482;
+ else if (West == West::Low) return 11483;
+ else return 11484;
+ else
+ if (West == West::None) return 11488;
+ else if (West == West::Low) return 11489;
+ else return 11490;
+ else if (South == South::Low)
+ if (Up)
+ if (West == West::None) return 11494;
+ else if (West == West::Low) return 11495;
+ else return 11496;
+ else
+ if (West == West::None) return 11500;
+ else if (West == West::Low) return 11501;
+ else return 11502;
+ else
+ if (Up)
+ if (West == West::None) return 11506;
+ else if (West == West::Low) return 11507;
+ else return 11508;
+ else
+ if (West == West::None) return 11512;
+ else if (West == West::Low) return 11513;
+ else return 11514;
+ }
+ BlockState PrismarineWall();
+ enum East East(BlockState Block);
+ enum North North(BlockState Block);
+ enum South South(BlockState Block);
+ bool Up(BlockState Block);
+ enum West West(BlockState Block);
+ }
+ namespace Pumpkin
+ {
+ constexpr BlockState Pumpkin()
+ {
+ return 3998;
+ }
+ }
+ namespace PumpkinStem
+ {
+ constexpr BlockState PumpkinStem(const unsigned char Age)
+ {
+ if (Age == 0) return 4772;
+ else if (Age == 1) return 4773;
+ else if (Age == 2) return 4774;
+ else if (Age == 3) return 4775;
+ else if (Age == 4) return 4776;
+ else if (Age == 5) return 4777;
+ else if (Age == 6) return 4778;
+ else return 4779;
+ }
+ BlockState PumpkinStem();
+ unsigned char Age(BlockState Block);
+ }
+ namespace PurpleBanner
+ {
+ constexpr BlockState PurpleBanner(const unsigned char Rotation)
+ {
+ if (Rotation == 0) return 8057;
+ else if (Rotation == 1) return 8058;
+ else if (Rotation == 2) return 8059;
+ else if (Rotation == 3) return 8060;
+ else if (Rotation == 4) return 8061;
+ else if (Rotation == 5) return 8062;
+ else if (Rotation == 6) return 8063;
+ else if (Rotation == 7) return 8064;
+ else if (Rotation == 8) return 8065;
+ else if (Rotation == 9) return 8066;
+ else if (Rotation == 10) return 8067;
+ else if (Rotation == 11) return 8068;
+ else if (Rotation == 12) return 8069;
+ else if (Rotation == 13) return 8070;
+ else if (Rotation == 14) return 8071;
+ else return 8072;
+ }
+ BlockState PurpleBanner();
+ unsigned char Rotation(BlockState Block);
+ }
+ namespace PurpleBed
+ {
+ enum class Part
+ {
+ Head,
+ Foot
+ };
+ constexpr BlockState PurpleBed(const eBlockFace Facing, const bool Occupied, const enum Part Part)
+ {
+ if (Facing == eBlockFace::BLOCK_FACE_ZM)
+ if (Occupied)
+ if (Part == Part::Head) return 1209;
+ else return 1210;
+ else
+ if (Part == Part::Head) return 1211;
+ else return 1212;
+ else if (Facing == eBlockFace::BLOCK_FACE_ZP)
+ if (Occupied)
+ if (Part == Part::Head) return 1213;
+ else return 1214;
+ else
+ if (Part == Part::Head) return 1215;
+ else return 1216;
+ else if (Facing == eBlockFace::BLOCK_FACE_XM)
+ if (Occupied)
+ if (Part == Part::Head) return 1217;
+ else return 1218;
+ else
+ if (Part == Part::Head) return 1219;
+ else return 1220;
+ else
+ if (Occupied)
+ if (Part == Part::Head) return 1221;
+ else return 1222;
+ else
+ if (Part == Part::Head) return 1223;
+ else return 1224;
+ }
+ BlockState PurpleBed();
+ eBlockFace Facing(BlockState Block);
+ bool Occupied(BlockState Block);
+ enum Part Part(BlockState Block);
+ }
+ namespace PurpleCarpet
+ {
+ constexpr BlockState PurpleCarpet()
+ {
+ return 7876;
+ }
+ }
+ namespace PurpleConcrete
+ {
+ constexpr BlockState PurpleConcrete()
+ {
+ return 9448;
+ }
+ }
+ namespace PurpleConcretePowder
+ {
+ constexpr BlockState PurpleConcretePowder()
+ {
+ return 9464;
+ }
+ }
+ namespace PurpleGlazedTerracotta
+ {
+ constexpr BlockState PurpleGlazedTerracotta(const eBlockFace Facing)
+ {
+ if (Facing == eBlockFace::BLOCK_FACE_ZM) return 9414;
+ else if (Facing == eBlockFace::BLOCK_FACE_ZP) return 9415;
+ else if (Facing == eBlockFace::BLOCK_FACE_XM) return 9416;
+ else return 9417;
+ }
+ BlockState PurpleGlazedTerracotta();
+ eBlockFace Facing(BlockState Block);
+ }
+ namespace PurpleShulkerBox
+ {
+ constexpr BlockState PurpleShulkerBox(const eBlockFace Facing)
+ {
+ if (Facing == eBlockFace::BLOCK_FACE_ZM) return 9338;
+ else if (Facing == eBlockFace::BLOCK_FACE_XP) return 9339;
+ else if (Facing == eBlockFace::BLOCK_FACE_ZP) return 9340;
+ else if (Facing == eBlockFace::BLOCK_FACE_XM) return 9341;
+ else if (Facing == eBlockFace::BLOCK_FACE_YP) return 9342;
+ else return 9343;
+ }
+ BlockState PurpleShulkerBox();
+ eBlockFace Facing(BlockState Block);
+ }
+ namespace PurpleStainedGlass
+ {
+ constexpr BlockState PurpleStainedGlass()
+ {
+ return 4105;
+ }
+ }
+ namespace PurpleStainedGlassPane
+ {
+ constexpr BlockState PurpleStainedGlassPane(const bool East, const bool North, const bool South, const bool West)
+ {
+ if (East)
+ if (North)
+ if (South)
+ if (West) return 7185;
+ else return 7186;
+ else
+ if (West) return 7189;
+ else return 7190;
+ else
+ if (South)
+ if (West) return 7193;
+ else return 7194;
+ else
+ if (West) return 7197;
+ else return 7198;
+ else
+ if (North)
+ if (South)
+ if (West) return 7201;
+ else return 7202;
+ else
+ if (West) return 7205;
+ else return 7206;
+ else
+ if (South)
+ if (West) return 7209;
+ else return 7210;
+ else
+ if (West) return 7213;
+ else return 7214;
+ }
+ BlockState PurpleStainedGlassPane();
+ bool East(BlockState Block);
+ bool North(BlockState Block);
+ bool South(BlockState Block);
+ bool West(BlockState Block);
+ }
+ namespace PurpleTerracotta
+ {
+ constexpr BlockState PurpleTerracotta()
+ {
+ return 6857;
+ }
+ }
+ namespace PurpleWallBanner
+ {
+ constexpr BlockState PurpleWallBanner(const eBlockFace Facing)
+ {
+ if (Facing == eBlockFace::BLOCK_FACE_ZM) return 8193;
+ else if (Facing == eBlockFace::BLOCK_FACE_ZP) return 8194;
+ else if (Facing == eBlockFace::BLOCK_FACE_XM) return 8195;
+ else return 8196;
+ }
+ BlockState PurpleWallBanner();
+ eBlockFace Facing(BlockState Block);
+ }
+ namespace PurpleWool
+ {
+ constexpr BlockState PurpleWool()
+ {
+ return 1394;
+ }
+ }
+ namespace PurpurBlock
+ {
+ constexpr BlockState PurpurBlock()
+ {
+ return 9134;
+ }
+ }
+ namespace PurpurPillar
+ {
+ enum class Axis
+ {
+ X,
+ Y,
+ Z
+ };
+ constexpr BlockState PurpurPillar(const enum Axis Axis)
+ {
+ if (Axis == Axis::X) return 9135;
+ else if (Axis == Axis::Y) return 9136;
+ else return 9137;
+ }
+ BlockState PurpurPillar();
+ enum Axis Axis(BlockState Block);
+ }
+ namespace PurpurSlab
+ {
+ enum class Type
+ {
+ Top,
+ Bottom,
+ Double
+ };
+ constexpr BlockState PurpurSlab(const enum Type Type)
+ {
+ if (Type == Type::Top) return 8409;
+ else if (Type == Type::Bottom) return 8411;
+ else return 8413;
+ }
+ BlockState PurpurSlab();
+ enum Type Type(BlockState Block);
+ }
+ namespace PurpurStairs
+ {
+ enum class Half
+ {
+ Top,
+ Bottom
+ };
+ enum class Shape
+ {
+ Straight,
+ InnerLeft,
+ InnerRight,
+ OuterLeft,
+ OuterRight
+ };
+ constexpr BlockState PurpurStairs(const eBlockFace Facing, const enum Half Half, const enum Shape Shape)
+ {
+ if (Facing == eBlockFace::BLOCK_FACE_ZM)
+ if (Half == Half::Top)
+ if (Shape == Shape::Straight) return 9139;
+ else if (Shape == Shape::InnerLeft) return 9141;
+ else if (Shape == Shape::InnerRight) return 9143;
+ else if (Shape == Shape::OuterLeft) return 9145;
+ else return 9147;
+ else
+ if (Shape == Shape::Straight) return 9149;
+ else if (Shape == Shape::InnerLeft) return 9151;
+ else if (Shape == Shape::InnerRight) return 9153;
+ else if (Shape == Shape::OuterLeft) return 9155;
+ else return 9157;
+ else if (Facing == eBlockFace::BLOCK_FACE_ZP)
+ if (Half == Half::Top)
+ if (Shape == Shape::Straight) return 9159;
+ else if (Shape == Shape::InnerLeft) return 9161;
+ else if (Shape == Shape::InnerRight) return 9163;
+ else if (Shape == Shape::OuterLeft) return 9165;
+ else return 9167;
+ else
+ if (Shape == Shape::Straight) return 9169;
+ else if (Shape == Shape::InnerLeft) return 9171;
+ else if (Shape == Shape::InnerRight) return 9173;
+ else if (Shape == Shape::OuterLeft) return 9175;
+ else return 9177;
+ else if (Facing == eBlockFace::BLOCK_FACE_XM)
+ if (Half == Half::Top)
+ if (Shape == Shape::Straight) return 9179;
+ else if (Shape == Shape::InnerLeft) return 9181;
+ else if (Shape == Shape::InnerRight) return 9183;
+ else if (Shape == Shape::OuterLeft) return 9185;
+ else return 9187;
+ else
+ if (Shape == Shape::Straight) return 9189;
+ else if (Shape == Shape::InnerLeft) return 9191;
+ else if (Shape == Shape::InnerRight) return 9193;
+ else if (Shape == Shape::OuterLeft) return 9195;
+ else return 9197;
+ else
+ if (Half == Half::Top)
+ if (Shape == Shape::Straight) return 9199;
+ else if (Shape == Shape::InnerLeft) return 9201;
+ else if (Shape == Shape::InnerRight) return 9203;
+ else if (Shape == Shape::OuterLeft) return 9205;
+ else return 9207;
+ else
+ if (Shape == Shape::Straight) return 9209;
+ else if (Shape == Shape::InnerLeft) return 9211;
+ else if (Shape == Shape::InnerRight) return 9213;
+ else if (Shape == Shape::OuterLeft) return 9215;
+ else return 9217;
+ }
+ BlockState PurpurStairs();
+ eBlockFace Facing(BlockState Block);
+ enum Half Half(BlockState Block);
+ enum Shape Shape(BlockState Block);
+ }
+ namespace QuartzBlock
+ {
+ constexpr BlockState QuartzBlock()
+ {
+ return 6738;
+ }
+ }
+ namespace QuartzBricks
+ {
+ constexpr BlockState QuartzBricks()
+ {
+ return 17103;
+ }
+ }
+ namespace QuartzPillar
+ {
+ enum class Axis
+ {
+ X,
+ Y,
+ Z
+ };
+ constexpr BlockState QuartzPillar(const enum Axis Axis)
+ {
+ if (Axis == Axis::X) return 6740;
+ else if (Axis == Axis::Y) return 6741;
+ else return 6742;
+ }
+ BlockState QuartzPillar();
+ enum Axis Axis(BlockState Block);
+ }
+ namespace QuartzSlab
+ {
+ enum class Type
+ {
+ Top,
+ Bottom,
+ Double
+ };
+ constexpr BlockState QuartzSlab(const enum Type Type)
+ {
+ if (Type == Type::Top) return 8391;
+ else if (Type == Type::Bottom) return 8393;
+ else return 8395;
+ }
+ BlockState QuartzSlab();
+ enum Type Type(BlockState Block);
+ }
+ namespace QuartzStairs
+ {
+ enum class Half
+ {
+ Top,
+ Bottom
+ };
+ enum class Shape
+ {
+ Straight,
+ InnerLeft,
+ InnerRight,
+ OuterLeft,
+ OuterRight
+ };
+ constexpr BlockState QuartzStairs(const eBlockFace Facing, const enum Half Half, const enum Shape Shape)
+ {
+ if (Facing == eBlockFace::BLOCK_FACE_ZM)
+ if (Half == Half::Top)
+ if (Shape == Shape::Straight) return 6744;
+ else if (Shape == Shape::InnerLeft) return 6746;
+ else if (Shape == Shape::InnerRight) return 6748;
+ else if (Shape == Shape::OuterLeft) return 6750;
+ else return 6752;
+ else
+ if (Shape == Shape::Straight) return 6754;
+ else if (Shape == Shape::InnerLeft) return 6756;
+ else if (Shape == Shape::InnerRight) return 6758;
+ else if (Shape == Shape::OuterLeft) return 6760;
+ else return 6762;
+ else if (Facing == eBlockFace::BLOCK_FACE_ZP)
+ if (Half == Half::Top)
+ if (Shape == Shape::Straight) return 6764;
+ else if (Shape == Shape::InnerLeft) return 6766;
+ else if (Shape == Shape::InnerRight) return 6768;
+ else if (Shape == Shape::OuterLeft) return 6770;
+ else return 6772;
+ else
+ if (Shape == Shape::Straight) return 6774;
+ else if (Shape == Shape::InnerLeft) return 6776;
+ else if (Shape == Shape::InnerRight) return 6778;
+ else if (Shape == Shape::OuterLeft) return 6780;
+ else return 6782;
+ else if (Facing == eBlockFace::BLOCK_FACE_XM)
+ if (Half == Half::Top)
+ if (Shape == Shape::Straight) return 6784;
+ else if (Shape == Shape::InnerLeft) return 6786;
+ else if (Shape == Shape::InnerRight) return 6788;
+ else if (Shape == Shape::OuterLeft) return 6790;
+ else return 6792;
+ else
+ if (Shape == Shape::Straight) return 6794;
+ else if (Shape == Shape::InnerLeft) return 6796;
+ else if (Shape == Shape::InnerRight) return 6798;
+ else if (Shape == Shape::OuterLeft) return 6800;
+ else return 6802;
+ else
+ if (Half == Half::Top)
+ if (Shape == Shape::Straight) return 6804;
+ else if (Shape == Shape::InnerLeft) return 6806;
+ else if (Shape == Shape::InnerRight) return 6808;
+ else if (Shape == Shape::OuterLeft) return 6810;
+ else return 6812;
+ else
+ if (Shape == Shape::Straight) return 6814;
+ else if (Shape == Shape::InnerLeft) return 6816;
+ else if (Shape == Shape::InnerRight) return 6818;
+ else if (Shape == Shape::OuterLeft) return 6820;
+ else return 6822;
+ }
+ BlockState QuartzStairs();
+ eBlockFace Facing(BlockState Block);
+ enum Half Half(BlockState Block);
+ enum Shape Shape(BlockState Block);
+ }
+ namespace Rail
+ {
+ enum class Shape
+ {
+ NorthSouth,
+ EastWest,
+ AscendingEast,
+ AscendingWest,
+ AscendingNorth,
+ AscendingSouth,
+ SouthEast,
+ SouthWest,
+ NorthWest,
+ NorthEast
+ };
+ constexpr BlockState Rail(const enum Shape Shape)
+ {
+ if (Shape == Shape::NorthSouth) return 3645;
+ else if (Shape == Shape::EastWest) return 3646;
+ else if (Shape == Shape::AscendingEast) return 3647;
+ else if (Shape == Shape::AscendingWest) return 3648;
+ else if (Shape == Shape::AscendingNorth) return 3649;
+ else if (Shape == Shape::AscendingSouth) return 3650;
+ else if (Shape == Shape::SouthEast) return 3651;
+ else if (Shape == Shape::SouthWest) return 3652;
+ else if (Shape == Shape::NorthWest) return 3653;
+ else return 3654;
+ }
+ BlockState Rail();
+ enum Shape Shape(BlockState Block);
+ }
+ namespace RedBanner
+ {
+ constexpr BlockState RedBanner(const unsigned char Rotation)
+ {
+ if (Rotation == 0) return 8121;
+ else if (Rotation == 1) return 8122;
+ else if (Rotation == 2) return 8123;
+ else if (Rotation == 3) return 8124;
+ else if (Rotation == 4) return 8125;
+ else if (Rotation == 5) return 8126;
+ else if (Rotation == 6) return 8127;
+ else if (Rotation == 7) return 8128;
+ else if (Rotation == 8) return 8129;
+ else if (Rotation == 9) return 8130;
+ else if (Rotation == 10) return 8131;
+ else if (Rotation == 11) return 8132;
+ else if (Rotation == 12) return 8133;
+ else if (Rotation == 13) return 8134;
+ else if (Rotation == 14) return 8135;
+ else return 8136;
+ }
+ BlockState RedBanner();
+ unsigned char Rotation(BlockState Block);
+ }
+ namespace RedBed
+ {
+ enum class Part
+ {
+ Head,
+ Foot
+ };
+ constexpr BlockState RedBed(const eBlockFace Facing, const bool Occupied, const enum Part Part)
+ {
+ if (Facing == eBlockFace::BLOCK_FACE_ZM)
+ if (Occupied)
+ if (Part == Part::Head) return 1273;
+ else return 1274;
+ else
+ if (Part == Part::Head) return 1275;
+ else return 1276;
+ else if (Facing == eBlockFace::BLOCK_FACE_ZP)
+ if (Occupied)
+ if (Part == Part::Head) return 1277;
+ else return 1278;
+ else
+ if (Part == Part::Head) return 1279;
+ else return 1280;
+ else if (Facing == eBlockFace::BLOCK_FACE_XM)
+ if (Occupied)
+ if (Part == Part::Head) return 1281;
+ else return 1282;
+ else
+ if (Part == Part::Head) return 1283;
+ else return 1284;
+ else
+ if (Occupied)
+ if (Part == Part::Head) return 1285;
+ else return 1286;
+ else
+ if (Part == Part::Head) return 1287;
+ else return 1288;
+ }
+ BlockState RedBed();
+ eBlockFace Facing(BlockState Block);
+ bool Occupied(BlockState Block);
+ enum Part Part(BlockState Block);
+ }
+ namespace RedCarpet
+ {
+ constexpr BlockState RedCarpet()
+ {
+ return 7880;
+ }
+ }
+ namespace RedConcrete
+ {
+ constexpr BlockState RedConcrete()
+ {
+ return 9452;
+ }
+ }
+ namespace RedConcretePowder
+ {
+ constexpr BlockState RedConcretePowder()
+ {
+ return 9468;
+ }
+ }
+ namespace RedGlazedTerracotta
+ {
+ constexpr BlockState RedGlazedTerracotta(const eBlockFace Facing)
+ {
+ if (Facing == eBlockFace::BLOCK_FACE_ZM) return 9430;
+ else if (Facing == eBlockFace::BLOCK_FACE_ZP) return 9431;
+ else if (Facing == eBlockFace::BLOCK_FACE_XM) return 9432;
+ else return 9433;
+ }
+ BlockState RedGlazedTerracotta();
+ eBlockFace Facing(BlockState Block);
+ }
+ namespace RedMushroom
+ {
+ constexpr BlockState RedMushroom()
+ {
+ return 1426;
+ }
+ }
+ namespace RedMushroomBlock
+ {
+ constexpr BlockState RedMushroomBlock(const bool Down, const bool East, const bool North, const bool South, const bool Up, const bool West)
+ {
+ if (Down)
+ if (East)
+ if (North)
+ if (South)
+ if (Up)
+ if (West) return 4569;
+ else return 4570;
+ else
+ if (West) return 4571;
+ else return 4572;
+ else
+ if (Up)
+ if (West) return 4573;
+ else return 4574;
+ else
+ if (West) return 4575;
+ else return 4576;
+ else
+ if (South)
+ if (Up)
+ if (West) return 4577;
+ else return 4578;
+ else
+ if (West) return 4579;
+ else return 4580;
+ else
+ if (Up)
+ if (West) return 4581;
+ else return 4582;
+ else
+ if (West) return 4583;
+ else return 4584;
+ else
+ if (North)
+ if (South)
+ if (Up)
+ if (West) return 4585;
+ else return 4586;
+ else
+ if (West) return 4587;
+ else return 4588;
+ else
+ if (Up)
+ if (West) return 4589;
+ else return 4590;
+ else
+ if (West) return 4591;
+ else return 4592;
+ else
+ if (South)
+ if (Up)
+ if (West) return 4593;
+ else return 4594;
+ else
+ if (West) return 4595;
+ else return 4596;
+ else
+ if (Up)
+ if (West) return 4597;
+ else return 4598;
+ else
+ if (West) return 4599;
+ else return 4600;
+ else
+ if (East)
+ if (North)
+ if (South)
+ if (Up)
+ if (West) return 4601;
+ else return 4602;
+ else
+ if (West) return 4603;
+ else return 4604;
+ else
+ if (Up)
+ if (West) return 4605;
+ else return 4606;
+ else
+ if (West) return 4607;
+ else return 4608;
+ else
+ if (South)
+ if (Up)
+ if (West) return 4609;
+ else return 4610;
+ else
+ if (West) return 4611;
+ else return 4612;
+ else
+ if (Up)
+ if (West) return 4613;
+ else return 4614;
+ else
+ if (West) return 4615;
+ else return 4616;
+ else
+ if (North)
+ if (South)
+ if (Up)
+ if (West) return 4617;
+ else return 4618;
+ else
+ if (West) return 4619;
+ else return 4620;
+ else
+ if (Up)
+ if (West) return 4621;
+ else return 4622;
+ else
+ if (West) return 4623;
+ else return 4624;
+ else
+ if (South)
+ if (Up)
+ if (West) return 4625;
+ else return 4626;
+ else
+ if (West) return 4627;
+ else return 4628;
+ else
+ if (Up)
+ if (West) return 4629;
+ else return 4630;
+ else
+ if (West) return 4631;
+ else return 4632;
+ }
+ BlockState RedMushroomBlock();
+ bool Down(BlockState Block);
+ bool East(BlockState Block);
+ bool North(BlockState Block);
+ bool South(BlockState Block);
+ bool Up(BlockState Block);
+ bool West(BlockState Block);
+ }
+ namespace RedNetherBrickSlab
+ {
+ enum class Type
+ {
+ Top,
+ Bottom,
+ Double
+ };
+ constexpr BlockState RedNetherBrickSlab(const enum Type Type)
+ {
+ if (Type == Type::Top) return 10850;
+ else if (Type == Type::Bottom) return 10852;
+ else return 10854;
+ }
+ BlockState RedNetherBrickSlab();
+ enum Type Type(BlockState Block);
+ }
+ namespace RedNetherBrickStairs
+ {
+ enum class Half
+ {
+ Top,
+ Bottom
+ };
+ enum class Shape
+ {
+ Straight,
+ InnerLeft,
+ InnerRight,
+ OuterLeft,
+ OuterRight
+ };
+ constexpr BlockState RedNetherBrickStairs(const eBlockFace Facing, const enum Half Half, const enum Shape Shape)
+ {
+ if (Facing == eBlockFace::BLOCK_FACE_ZM)
+ if (Half == Half::Top)
+ if (Shape == Shape::Straight) return 10550;
+ else if (Shape == Shape::InnerLeft) return 10552;
+ else if (Shape == Shape::InnerRight) return 10554;
+ else if (Shape == Shape::OuterLeft) return 10556;
+ else return 10558;
+ else
+ if (Shape == Shape::Straight) return 10560;
+ else if (Shape == Shape::InnerLeft) return 10562;
+ else if (Shape == Shape::InnerRight) return 10564;
+ else if (Shape == Shape::OuterLeft) return 10566;
+ else return 10568;
+ else if (Facing == eBlockFace::BLOCK_FACE_ZP)
+ if (Half == Half::Top)
+ if (Shape == Shape::Straight) return 10570;
+ else if (Shape == Shape::InnerLeft) return 10572;
+ else if (Shape == Shape::InnerRight) return 10574;
+ else if (Shape == Shape::OuterLeft) return 10576;
+ else return 10578;
+ else
+ if (Shape == Shape::Straight) return 10580;
+ else if (Shape == Shape::InnerLeft) return 10582;
+ else if (Shape == Shape::InnerRight) return 10584;
+ else if (Shape == Shape::OuterLeft) return 10586;
+ else return 10588;
+ else if (Facing == eBlockFace::BLOCK_FACE_XM)
+ if (Half == Half::Top)
+ if (Shape == Shape::Straight) return 10590;
+ else if (Shape == Shape::InnerLeft) return 10592;
+ else if (Shape == Shape::InnerRight) return 10594;
+ else if (Shape == Shape::OuterLeft) return 10596;
+ else return 10598;
+ else
+ if (Shape == Shape::Straight) return 10600;
+ else if (Shape == Shape::InnerLeft) return 10602;
+ else if (Shape == Shape::InnerRight) return 10604;
+ else if (Shape == Shape::OuterLeft) return 10606;
+ else return 10608;
+ else
+ if (Half == Half::Top)
+ if (Shape == Shape::Straight) return 10610;
+ else if (Shape == Shape::InnerLeft) return 10612;
+ else if (Shape == Shape::InnerRight) return 10614;
+ else if (Shape == Shape::OuterLeft) return 10616;
+ else return 10618;
+ else
+ if (Shape == Shape::Straight) return 10620;
+ else if (Shape == Shape::InnerLeft) return 10622;
+ else if (Shape == Shape::InnerRight) return 10624;
+ else if (Shape == Shape::OuterLeft) return 10626;
+ else return 10628;
+ }
+ BlockState RedNetherBrickStairs();
+ eBlockFace Facing(BlockState Block);
+ enum Half Half(BlockState Block);
+ enum Shape Shape(BlockState Block);
+ }
+ namespace RedNetherBrickWall
+ {
+ enum class East
+ {
+ None,
+ Low,
+ Tall
+ };
+ enum class North
+ {
+ None,
+ Low,
+ Tall
+ };
+ enum class South
+ {
+ None,
+ Low,
+ Tall
+ };
+ enum class West
+ {
+ None,
+ Low,
+ Tall
+ };
+ constexpr BlockState RedNetherBrickWall(const enum East East, const enum North North, const enum South South, const bool Up, const enum West West)
+ {
+ if (East == East::None)
+ if (North == North::None)
+ if (South == South::None)
+ if (Up)
+ if (West == West::None) return 13462;
+ else if (West == West::Low) return 13463;
+ else return 13464;
+ else
+ if (West == West::None) return 13468;
+ else if (West == West::Low) return 13469;
+ else return 13470;
+ else if (South == South::Low)
+ if (Up)
+ if (West == West::None) return 13474;
+ else if (West == West::Low) return 13475;
+ else return 13476;
+ else
+ if (West == West::None) return 13480;
+ else if (West == West::Low) return 13481;
+ else return 13482;
+ else
+ if (Up)
+ if (West == West::None) return 13486;
+ else if (West == West::Low) return 13487;
+ else return 13488;
+ else
+ if (West == West::None) return 13492;
+ else if (West == West::Low) return 13493;
+ else return 13494;
+ else if (North == North::Low)
+ if (South == South::None)
+ if (Up)
+ if (West == West::None) return 13498;
+ else if (West == West::Low) return 13499;
+ else return 13500;
+ else
+ if (West == West::None) return 13504;
+ else if (West == West::Low) return 13505;
+ else return 13506;
+ else if (South == South::Low)
+ if (Up)
+ if (West == West::None) return 13510;
+ else if (West == West::Low) return 13511;
+ else return 13512;
+ else
+ if (West == West::None) return 13516;
+ else if (West == West::Low) return 13517;
+ else return 13518;
+ else
+ if (Up)
+ if (West == West::None) return 13522;
+ else if (West == West::Low) return 13523;
+ else return 13524;
+ else
+ if (West == West::None) return 13528;
+ else if (West == West::Low) return 13529;
+ else return 13530;
+ else
+ if (South == South::None)
+ if (Up)
+ if (West == West::None) return 13534;
+ else if (West == West::Low) return 13535;
+ else return 13536;
+ else
+ if (West == West::None) return 13540;
+ else if (West == West::Low) return 13541;
+ else return 13542;
+ else if (South == South::Low)
+ if (Up)
+ if (West == West::None) return 13546;
+ else if (West == West::Low) return 13547;
+ else return 13548;
+ else
+ if (West == West::None) return 13552;
+ else if (West == West::Low) return 13553;
+ else return 13554;
+ else
+ if (Up)
+ if (West == West::None) return 13558;
+ else if (West == West::Low) return 13559;
+ else return 13560;
+ else
+ if (West == West::None) return 13564;
+ else if (West == West::Low) return 13565;
+ else return 13566;
+ else if (East == East::Low)
+ if (North == North::None)
+ if (South == South::None)
+ if (Up)
+ if (West == West::None) return 13570;
+ else if (West == West::Low) return 13571;
+ else return 13572;
+ else
+ if (West == West::None) return 13576;
+ else if (West == West::Low) return 13577;
+ else return 13578;
+ else if (South == South::Low)
+ if (Up)
+ if (West == West::None) return 13582;
+ else if (West == West::Low) return 13583;
+ else return 13584;
+ else
+ if (West == West::None) return 13588;
+ else if (West == West::Low) return 13589;
+ else return 13590;
+ else
+ if (Up)
+ if (West == West::None) return 13594;
+ else if (West == West::Low) return 13595;
+ else return 13596;
+ else
+ if (West == West::None) return 13600;
+ else if (West == West::Low) return 13601;
+ else return 13602;
+ else if (North == North::Low)
+ if (South == South::None)
+ if (Up)
+ if (West == West::None) return 13606;
+ else if (West == West::Low) return 13607;
+ else return 13608;
+ else
+ if (West == West::None) return 13612;
+ else if (West == West::Low) return 13613;
+ else return 13614;
+ else if (South == South::Low)
+ if (Up)
+ if (West == West::None) return 13618;
+ else if (West == West::Low) return 13619;
+ else return 13620;
+ else
+ if (West == West::None) return 13624;
+ else if (West == West::Low) return 13625;
+ else return 13626;
+ else
+ if (Up)
+ if (West == West::None) return 13630;
+ else if (West == West::Low) return 13631;
+ else return 13632;
+ else
+ if (West == West::None) return 13636;
+ else if (West == West::Low) return 13637;
+ else return 13638;
+ else
+ if (South == South::None)
+ if (Up)
+ if (West == West::None) return 13642;
+ else if (West == West::Low) return 13643;
+ else return 13644;
+ else
+ if (West == West::None) return 13648;
+ else if (West == West::Low) return 13649;
+ else return 13650;
+ else if (South == South::Low)
+ if (Up)
+ if (West == West::None) return 13654;
+ else if (West == West::Low) return 13655;
+ else return 13656;
+ else
+ if (West == West::None) return 13660;
+ else if (West == West::Low) return 13661;
+ else return 13662;
+ else
+ if (Up)
+ if (West == West::None) return 13666;
+ else if (West == West::Low) return 13667;
+ else return 13668;
+ else
+ if (West == West::None) return 13672;
+ else if (West == West::Low) return 13673;
+ else return 13674;
+ else
+ if (North == North::None)
+ if (South == South::None)
+ if (Up)
+ if (West == West::None) return 13678;
+ else if (West == West::Low) return 13679;
+ else return 13680;
+ else
+ if (West == West::None) return 13684;
+ else if (West == West::Low) return 13685;
+ else return 13686;
+ else if (South == South::Low)
+ if (Up)
+ if (West == West::None) return 13690;
+ else if (West == West::Low) return 13691;
+ else return 13692;
+ else
+ if (West == West::None) return 13696;
+ else if (West == West::Low) return 13697;
+ else return 13698;
+ else
+ if (Up)
+ if (West == West::None) return 13702;
+ else if (West == West::Low) return 13703;
+ else return 13704;
+ else
+ if (West == West::None) return 13708;
+ else if (West == West::Low) return 13709;
+ else return 13710;
+ else if (North == North::Low)
+ if (South == South::None)
+ if (Up)
+ if (West == West::None) return 13714;
+ else if (West == West::Low) return 13715;
+ else return 13716;
+ else
+ if (West == West::None) return 13720;
+ else if (West == West::Low) return 13721;
+ else return 13722;
+ else if (South == South::Low)
+ if (Up)
+ if (West == West::None) return 13726;
+ else if (West == West::Low) return 13727;
+ else return 13728;
+ else
+ if (West == West::None) return 13732;
+ else if (West == West::Low) return 13733;
+ else return 13734;
+ else
+ if (Up)
+ if (West == West::None) return 13738;
+ else if (West == West::Low) return 13739;
+ else return 13740;
+ else
+ if (West == West::None) return 13744;
+ else if (West == West::Low) return 13745;
+ else return 13746;
+ else
+ if (South == South::None)
+ if (Up)
+ if (West == West::None) return 13750;
+ else if (West == West::Low) return 13751;
+ else return 13752;
+ else
+ if (West == West::None) return 13756;
+ else if (West == West::Low) return 13757;
+ else return 13758;
+ else if (South == South::Low)
+ if (Up)
+ if (West == West::None) return 13762;
+ else if (West == West::Low) return 13763;
+ else return 13764;
+ else
+ if (West == West::None) return 13768;
+ else if (West == West::Low) return 13769;
+ else return 13770;
+ else
+ if (Up)
+ if (West == West::None) return 13774;
+ else if (West == West::Low) return 13775;
+ else return 13776;
+ else
+ if (West == West::None) return 13780;
+ else if (West == West::Low) return 13781;
+ else return 13782;
+ }
+ BlockState RedNetherBrickWall();
+ enum East East(BlockState Block);
+ enum North North(BlockState Block);
+ enum South South(BlockState Block);
+ bool Up(BlockState Block);
+ enum West West(BlockState Block);
+ }
+ namespace RedNetherBricks
+ {
+ constexpr BlockState RedNetherBricks()
+ {
+ return 9255;
+ }
+ }
+ namespace RedSand
+ {
+ constexpr BlockState RedSand()
+ {
+ return 67;
+ }
+ }
+ namespace RedSandstone
+ {
+ constexpr BlockState RedSandstone()
+ {
+ return 8217;
+ }
+ }
+ namespace RedSandstoneSlab
+ {
+ enum class Type
+ {
+ Top,
+ Bottom,
+ Double
+ };
+ constexpr BlockState RedSandstoneSlab(const enum Type Type)
+ {
+ if (Type == Type::Top) return 8397;
+ else if (Type == Type::Bottom) return 8399;
+ else return 8401;
+ }
+ BlockState RedSandstoneSlab();
+ enum Type Type(BlockState Block);
+ }
+ namespace RedSandstoneStairs
+ {
+ enum class Half
+ {
+ Top,
+ Bottom
+ };
+ enum class Shape
+ {
+ Straight,
+ InnerLeft,
+ InnerRight,
+ OuterLeft,
+ OuterRight
+ };
+ constexpr BlockState RedSandstoneStairs(const eBlockFace Facing, const enum Half Half, const enum Shape Shape)
+ {
+ if (Facing == eBlockFace::BLOCK_FACE_ZM)
+ if (Half == Half::Top)
+ if (Shape == Shape::Straight) return 8221;
+ else if (Shape == Shape::InnerLeft) return 8223;
+ else if (Shape == Shape::InnerRight) return 8225;
+ else if (Shape == Shape::OuterLeft) return 8227;
+ else return 8229;
+ else
+ if (Shape == Shape::Straight) return 8231;
+ else if (Shape == Shape::InnerLeft) return 8233;
+ else if (Shape == Shape::InnerRight) return 8235;
+ else if (Shape == Shape::OuterLeft) return 8237;
+ else return 8239;
+ else if (Facing == eBlockFace::BLOCK_FACE_ZP)
+ if (Half == Half::Top)
+ if (Shape == Shape::Straight) return 8241;
+ else if (Shape == Shape::InnerLeft) return 8243;
+ else if (Shape == Shape::InnerRight) return 8245;
+ else if (Shape == Shape::OuterLeft) return 8247;
+ else return 8249;
+ else
+ if (Shape == Shape::Straight) return 8251;
+ else if (Shape == Shape::InnerLeft) return 8253;
+ else if (Shape == Shape::InnerRight) return 8255;
+ else if (Shape == Shape::OuterLeft) return 8257;
+ else return 8259;
+ else if (Facing == eBlockFace::BLOCK_FACE_XM)
+ if (Half == Half::Top)
+ if (Shape == Shape::Straight) return 8261;
+ else if (Shape == Shape::InnerLeft) return 8263;
+ else if (Shape == Shape::InnerRight) return 8265;
+ else if (Shape == Shape::OuterLeft) return 8267;
+ else return 8269;
+ else
+ if (Shape == Shape::Straight) return 8271;
+ else if (Shape == Shape::InnerLeft) return 8273;
+ else if (Shape == Shape::InnerRight) return 8275;
+ else if (Shape == Shape::OuterLeft) return 8277;
+ else return 8279;
+ else
+ if (Half == Half::Top)
+ if (Shape == Shape::Straight) return 8281;
+ else if (Shape == Shape::InnerLeft) return 8283;
+ else if (Shape == Shape::InnerRight) return 8285;
+ else if (Shape == Shape::OuterLeft) return 8287;
+ else return 8289;
+ else
+ if (Shape == Shape::Straight) return 8291;
+ else if (Shape == Shape::InnerLeft) return 8293;
+ else if (Shape == Shape::InnerRight) return 8295;
+ else if (Shape == Shape::OuterLeft) return 8297;
+ else return 8299;
+ }
+ BlockState RedSandstoneStairs();
+ eBlockFace Facing(BlockState Block);
+ enum Half Half(BlockState Block);
+ enum Shape Shape(BlockState Block);
+ }
+ namespace RedSandstoneWall
+ {
+ enum class East
+ {
+ None,
+ Low,
+ Tall
+ };
+ enum class North
+ {
+ None,
+ Low,
+ Tall
+ };
+ enum class South
+ {
+ None,
+ Low,
+ Tall
+ };
+ enum class West
+ {
+ None,
+ Low,
+ Tall
+ };
+ constexpr BlockState RedSandstoneWall(const enum East East, const enum North North, const enum South South, const bool Up, const enum West West)
+ {
+ if (East == East::None)
+ if (North == North::None)
+ if (South == South::None)
+ if (Up)
+ if (West == West::None) return 11518;
+ else if (West == West::Low) return 11519;
+ else return 11520;
+ else
+ if (West == West::None) return 11524;
+ else if (West == West::Low) return 11525;
+ else return 11526;
+ else if (South == South::Low)
+ if (Up)
+ if (West == West::None) return 11530;
+ else if (West == West::Low) return 11531;
+ else return 11532;
+ else
+ if (West == West::None) return 11536;
+ else if (West == West::Low) return 11537;
+ else return 11538;
+ else
+ if (Up)
+ if (West == West::None) return 11542;
+ else if (West == West::Low) return 11543;
+ else return 11544;
+ else
+ if (West == West::None) return 11548;
+ else if (West == West::Low) return 11549;
+ else return 11550;
+ else if (North == North::Low)
+ if (South == South::None)
+ if (Up)
+ if (West == West::None) return 11554;
+ else if (West == West::Low) return 11555;
+ else return 11556;
+ else
+ if (West == West::None) return 11560;
+ else if (West == West::Low) return 11561;
+ else return 11562;
+ else if (South == South::Low)
+ if (Up)
+ if (West == West::None) return 11566;
+ else if (West == West::Low) return 11567;
+ else return 11568;
+ else
+ if (West == West::None) return 11572;
+ else if (West == West::Low) return 11573;
+ else return 11574;
+ else
+ if (Up)
+ if (West == West::None) return 11578;
+ else if (West == West::Low) return 11579;
+ else return 11580;
+ else
+ if (West == West::None) return 11584;
+ else if (West == West::Low) return 11585;
+ else return 11586;
+ else
+ if (South == South::None)
+ if (Up)
+ if (West == West::None) return 11590;
+ else if (West == West::Low) return 11591;
+ else return 11592;
+ else
+ if (West == West::None) return 11596;
+ else if (West == West::Low) return 11597;
+ else return 11598;
+ else if (South == South::Low)
+ if (Up)
+ if (West == West::None) return 11602;
+ else if (West == West::Low) return 11603;
+ else return 11604;
+ else
+ if (West == West::None) return 11608;
+ else if (West == West::Low) return 11609;
+ else return 11610;
+ else
+ if (Up)
+ if (West == West::None) return 11614;
+ else if (West == West::Low) return 11615;
+ else return 11616;
+ else
+ if (West == West::None) return 11620;
+ else if (West == West::Low) return 11621;
+ else return 11622;
+ else if (East == East::Low)
+ if (North == North::None)
+ if (South == South::None)
+ if (Up)
+ if (West == West::None) return 11626;
+ else if (West == West::Low) return 11627;
+ else return 11628;
+ else
+ if (West == West::None) return 11632;
+ else if (West == West::Low) return 11633;
+ else return 11634;
+ else if (South == South::Low)
+ if (Up)
+ if (West == West::None) return 11638;
+ else if (West == West::Low) return 11639;
+ else return 11640;
+ else
+ if (West == West::None) return 11644;
+ else if (West == West::Low) return 11645;
+ else return 11646;
+ else
+ if (Up)
+ if (West == West::None) return 11650;
+ else if (West == West::Low) return 11651;
+ else return 11652;
+ else
+ if (West == West::None) return 11656;
+ else if (West == West::Low) return 11657;
+ else return 11658;
+ else if (North == North::Low)
+ if (South == South::None)
+ if (Up)
+ if (West == West::None) return 11662;
+ else if (West == West::Low) return 11663;
+ else return 11664;
+ else
+ if (West == West::None) return 11668;
+ else if (West == West::Low) return 11669;
+ else return 11670;
+ else if (South == South::Low)
+ if (Up)
+ if (West == West::None) return 11674;
+ else if (West == West::Low) return 11675;
+ else return 11676;
+ else
+ if (West == West::None) return 11680;
+ else if (West == West::Low) return 11681;
+ else return 11682;
+ else
+ if (Up)
+ if (West == West::None) return 11686;
+ else if (West == West::Low) return 11687;
+ else return 11688;
+ else
+ if (West == West::None) return 11692;
+ else if (West == West::Low) return 11693;
+ else return 11694;
+ else
+ if (South == South::None)
+ if (Up)
+ if (West == West::None) return 11698;
+ else if (West == West::Low) return 11699;
+ else return 11700;
+ else
+ if (West == West::None) return 11704;
+ else if (West == West::Low) return 11705;
+ else return 11706;
+ else if (South == South::Low)
+ if (Up)
+ if (West == West::None) return 11710;
+ else if (West == West::Low) return 11711;
+ else return 11712;
+ else
+ if (West == West::None) return 11716;
+ else if (West == West::Low) return 11717;
+ else return 11718;
+ else
+ if (Up)
+ if (West == West::None) return 11722;
+ else if (West == West::Low) return 11723;
+ else return 11724;
+ else
+ if (West == West::None) return 11728;
+ else if (West == West::Low) return 11729;
+ else return 11730;
+ else
+ if (North == North::None)
+ if (South == South::None)
+ if (Up)
+ if (West == West::None) return 11734;
+ else if (West == West::Low) return 11735;
+ else return 11736;
+ else
+ if (West == West::None) return 11740;
+ else if (West == West::Low) return 11741;
+ else return 11742;
+ else if (South == South::Low)
+ if (Up)
+ if (West == West::None) return 11746;
+ else if (West == West::Low) return 11747;
+ else return 11748;
+ else
+ if (West == West::None) return 11752;
+ else if (West == West::Low) return 11753;
+ else return 11754;
+ else
+ if (Up)
+ if (West == West::None) return 11758;
+ else if (West == West::Low) return 11759;
+ else return 11760;
+ else
+ if (West == West::None) return 11764;
+ else if (West == West::Low) return 11765;
+ else return 11766;
+ else if (North == North::Low)
+ if (South == South::None)
+ if (Up)
+ if (West == West::None) return 11770;
+ else if (West == West::Low) return 11771;
+ else return 11772;
+ else
+ if (West == West::None) return 11776;
+ else if (West == West::Low) return 11777;
+ else return 11778;
+ else if (South == South::Low)
+ if (Up)
+ if (West == West::None) return 11782;
+ else if (West == West::Low) return 11783;
+ else return 11784;
+ else
+ if (West == West::None) return 11788;
+ else if (West == West::Low) return 11789;
+ else return 11790;
+ else
+ if (Up)
+ if (West == West::None) return 11794;
+ else if (West == West::Low) return 11795;
+ else return 11796;
+ else
+ if (West == West::None) return 11800;
+ else if (West == West::Low) return 11801;
+ else return 11802;
+ else
+ if (South == South::None)
+ if (Up)
+ if (West == West::None) return 11806;
+ else if (West == West::Low) return 11807;
+ else return 11808;
+ else
+ if (West == West::None) return 11812;
+ else if (West == West::Low) return 11813;
+ else return 11814;
+ else if (South == South::Low)
+ if (Up)
+ if (West == West::None) return 11818;
+ else if (West == West::Low) return 11819;
+ else return 11820;
+ else
+ if (West == West::None) return 11824;
+ else if (West == West::Low) return 11825;
+ else return 11826;
+ else
+ if (Up)
+ if (West == West::None) return 11830;
+ else if (West == West::Low) return 11831;
+ else return 11832;
+ else
+ if (West == West::None) return 11836;
+ else if (West == West::Low) return 11837;
+ else return 11838;
+ }
+ BlockState RedSandstoneWall();
+ enum East East(BlockState Block);
+ enum North North(BlockState Block);
+ enum South South(BlockState Block);
+ bool Up(BlockState Block);
+ enum West West(BlockState Block);
+ }
+ namespace RedShulkerBox
+ {
+ constexpr BlockState RedShulkerBox(const eBlockFace Facing)
+ {
+ if (Facing == eBlockFace::BLOCK_FACE_ZM) return 9362;
+ else if (Facing == eBlockFace::BLOCK_FACE_XP) return 9363;
+ else if (Facing == eBlockFace::BLOCK_FACE_ZP) return 9364;
+ else if (Facing == eBlockFace::BLOCK_FACE_XM) return 9365;
+ else if (Facing == eBlockFace::BLOCK_FACE_YP) return 9366;
+ else return 9367;
+ }
+ BlockState RedShulkerBox();
+ eBlockFace Facing(BlockState Block);
+ }
+ namespace RedStainedGlass
+ {
+ constexpr BlockState RedStainedGlass()
+ {
+ return 4109;
+ }
+ }
+ namespace RedStainedGlassPane
+ {
+ constexpr BlockState RedStainedGlassPane(const bool East, const bool North, const bool South, const bool West)
+ {
+ if (East)
+ if (North)
+ if (South)
+ if (West) return 7313;
+ else return 7314;
+ else
+ if (West) return 7317;
+ else return 7318;
+ else
+ if (South)
+ if (West) return 7321;
+ else return 7322;
+ else
+ if (West) return 7325;
+ else return 7326;
+ else
+ if (North)
+ if (South)
+ if (West) return 7329;
+ else return 7330;
+ else
+ if (West) return 7333;
+ else return 7334;
+ else
+ if (South)
+ if (West) return 7337;
+ else return 7338;
+ else
+ if (West) return 7341;
+ else return 7342;
+ }
+ BlockState RedStainedGlassPane();
+ bool East(BlockState Block);
+ bool North(BlockState Block);
+ bool South(BlockState Block);
+ bool West(BlockState Block);
+ }
+ namespace RedTerracotta
+ {
+ constexpr BlockState RedTerracotta()
+ {
+ return 6861;
+ }
+ }
+ namespace RedTulip
+ {
+ constexpr BlockState RedTulip()
+ {
+ return 1417;
+ }
+ }
+ namespace RedWallBanner
+ {
+ constexpr BlockState RedWallBanner(const eBlockFace Facing)
+ {
+ if (Facing == eBlockFace::BLOCK_FACE_ZM) return 8209;
+ else if (Facing == eBlockFace::BLOCK_FACE_ZP) return 8210;
+ else if (Facing == eBlockFace::BLOCK_FACE_XM) return 8211;
+ else return 8212;
+ }
+ BlockState RedWallBanner();
+ eBlockFace Facing(BlockState Block);
+ }
+ namespace RedWool
+ {
+ constexpr BlockState RedWool()
+ {
+ return 1398;
+ }
+ }
+ namespace RedstoneBlock
+ {
+ constexpr BlockState RedstoneBlock()
+ {
+ return 6726;
+ }
+ }
+ namespace RedstoneLamp
+ {
+ constexpr BlockState RedstoneLamp(const bool Lit)
+ {
+ if (Lit) return 5156;
+ else return 5157;
+ }
+ BlockState RedstoneLamp();
+ bool Lit(BlockState Block);
+ }
+ namespace RedstoneOre
+ {
+ constexpr BlockState RedstoneOre(const bool Lit)
+ {
+ if (Lit) return 3885;
+ else return 3886;
+ }
+ BlockState RedstoneOre();
+ bool Lit(BlockState Block);
+ }
+ namespace RedstoneTorch
+ {
+ constexpr BlockState RedstoneTorch(const bool Lit)
+ {
+ if (Lit) return 3887;
+ else return 3888;
+ }
+ BlockState RedstoneTorch();
+ bool Lit(BlockState Block);
+ }
+ namespace RedstoneWallTorch
+ {
+ constexpr BlockState RedstoneWallTorch(const eBlockFace Facing, const bool Lit)
+ {
+ if (Facing == eBlockFace::BLOCK_FACE_ZM)
+ if (Lit) return 3889;
+ else return 3890;
+ else if (Facing == eBlockFace::BLOCK_FACE_ZP)
+ if (Lit) return 3891;
+ else return 3892;
+ else if (Facing == eBlockFace::BLOCK_FACE_XM)
+ if (Lit) return 3893;
+ else return 3894;
+ else
+ if (Lit) return 3895;
+ else return 3896;
+ }
+ BlockState RedstoneWallTorch();
+ eBlockFace Facing(BlockState Block);
+ bool Lit(BlockState Block);
+ }
+ namespace RedstoneWire
+ {
+ enum class East
+ {
+ Up,
+ Side,
+ None
+ };
+ enum class North
+ {
+ Up,
+ Side,
+ None
+ };
+ enum class South
+ {
+ Up,
+ Side,
+ None
+ };
+ enum class West
+ {
+ Up,
+ Side,
+ None
+ };
+ constexpr BlockState RedstoneWire(const enum East East, const enum North North, const unsigned char Power, const enum South South, const enum West West)
+ {
+ if (East == East::Up)
+ if (North == North::Up)
+ if (Power == 0)
+ if (South == South::Up)
+ if (West == West::Up) return 2058;
+ else if (West == West::Side) return 2059;
+ else return 2060;
+ else if (South == South::Side)
+ if (West == West::Up) return 2061;
+ else if (West == West::Side) return 2062;
+ else return 2063;
+ else
+ if (West == West::Up) return 2064;
+ else if (West == West::Side) return 2065;
+ else return 2066;
+ else if (Power == 1)
+ if (South == South::Up)
+ if (West == West::Up) return 2067;
+ else if (West == West::Side) return 2068;
+ else return 2069;
+ else if (South == South::Side)
+ if (West == West::Up) return 2070;
+ else if (West == West::Side) return 2071;
+ else return 2072;
+ else
+ if (West == West::Up) return 2073;
+ else if (West == West::Side) return 2074;
+ else return 2075;
+ else if (Power == 2)
+ if (South == South::Up)
+ if (West == West::Up) return 2076;
+ else if (West == West::Side) return 2077;
+ else return 2078;
+ else if (South == South::Side)
+ if (West == West::Up) return 2079;
+ else if (West == West::Side) return 2080;
+ else return 2081;
+ else
+ if (West == West::Up) return 2082;
+ else if (West == West::Side) return 2083;
+ else return 2084;
+ else if (Power == 3)
+ if (South == South::Up)
+ if (West == West::Up) return 2085;
+ else if (West == West::Side) return 2086;
+ else return 2087;
+ else if (South == South::Side)
+ if (West == West::Up) return 2088;
+ else if (West == West::Side) return 2089;
+ else return 2090;
+ else
+ if (West == West::Up) return 2091;
+ else if (West == West::Side) return 2092;
+ else return 2093;
+ else if (Power == 4)
+ if (South == South::Up)
+ if (West == West::Up) return 2094;
+ else if (West == West::Side) return 2095;
+ else return 2096;
+ else if (South == South::Side)
+ if (West == West::Up) return 2097;
+ else if (West == West::Side) return 2098;
+ else return 2099;
+ else
+ if (West == West::Up) return 2100;
+ else if (West == West::Side) return 2101;
+ else return 2102;
+ else if (Power == 5)
+ if (South == South::Up)
+ if (West == West::Up) return 2103;
+ else if (West == West::Side) return 2104;
+ else return 2105;
+ else if (South == South::Side)
+ if (West == West::Up) return 2106;
+ else if (West == West::Side) return 2107;
+ else return 2108;
+ else
+ if (West == West::Up) return 2109;
+ else if (West == West::Side) return 2110;
+ else return 2111;
+ else if (Power == 6)
+ if (South == South::Up)
+ if (West == West::Up) return 2112;
+ else if (West == West::Side) return 2113;
+ else return 2114;
+ else if (South == South::Side)
+ if (West == West::Up) return 2115;
+ else if (West == West::Side) return 2116;
+ else return 2117;
+ else
+ if (West == West::Up) return 2118;
+ else if (West == West::Side) return 2119;
+ else return 2120;
+ else if (Power == 7)
+ if (South == South::Up)
+ if (West == West::Up) return 2121;
+ else if (West == West::Side) return 2122;
+ else return 2123;
+ else if (South == South::Side)
+ if (West == West::Up) return 2124;
+ else if (West == West::Side) return 2125;
+ else return 2126;
+ else
+ if (West == West::Up) return 2127;
+ else if (West == West::Side) return 2128;
+ else return 2129;
+ else if (Power == 8)
+ if (South == South::Up)
+ if (West == West::Up) return 2130;
+ else if (West == West::Side) return 2131;
+ else return 2132;
+ else if (South == South::Side)
+ if (West == West::Up) return 2133;
+ else if (West == West::Side) return 2134;
+ else return 2135;
+ else
+ if (West == West::Up) return 2136;
+ else if (West == West::Side) return 2137;
+ else return 2138;
+ else if (Power == 9)
+ if (South == South::Up)
+ if (West == West::Up) return 2139;
+ else if (West == West::Side) return 2140;
+ else return 2141;
+ else if (South == South::Side)
+ if (West == West::Up) return 2142;
+ else if (West == West::Side) return 2143;
+ else return 2144;
+ else
+ if (West == West::Up) return 2145;
+ else if (West == West::Side) return 2146;
+ else return 2147;
+ else if (Power == 10)
+ if (South == South::Up)
+ if (West == West::Up) return 2148;
+ else if (West == West::Side) return 2149;
+ else return 2150;
+ else if (South == South::Side)
+ if (West == West::Up) return 2151;
+ else if (West == West::Side) return 2152;
+ else return 2153;
+ else
+ if (West == West::Up) return 2154;
+ else if (West == West::Side) return 2155;
+ else return 2156;
+ else if (Power == 11)
+ if (South == South::Up)
+ if (West == West::Up) return 2157;
+ else if (West == West::Side) return 2158;
+ else return 2159;
+ else if (South == South::Side)
+ if (West == West::Up) return 2160;
+ else if (West == West::Side) return 2161;
+ else return 2162;
+ else
+ if (West == West::Up) return 2163;
+ else if (West == West::Side) return 2164;
+ else return 2165;
+ else if (Power == 12)
+ if (South == South::Up)
+ if (West == West::Up) return 2166;
+ else if (West == West::Side) return 2167;
+ else return 2168;
+ else if (South == South::Side)
+ if (West == West::Up) return 2169;
+ else if (West == West::Side) return 2170;
+ else return 2171;
+ else
+ if (West == West::Up) return 2172;
+ else if (West == West::Side) return 2173;
+ else return 2174;
+ else if (Power == 13)
+ if (South == South::Up)
+ if (West == West::Up) return 2175;
+ else if (West == West::Side) return 2176;
+ else return 2177;
+ else if (South == South::Side)
+ if (West == West::Up) return 2178;
+ else if (West == West::Side) return 2179;
+ else return 2180;
+ else
+ if (West == West::Up) return 2181;
+ else if (West == West::Side) return 2182;
+ else return 2183;
+ else if (Power == 14)
+ if (South == South::Up)
+ if (West == West::Up) return 2184;
+ else if (West == West::Side) return 2185;
+ else return 2186;
+ else if (South == South::Side)
+ if (West == West::Up) return 2187;
+ else if (West == West::Side) return 2188;
+ else return 2189;
+ else
+ if (West == West::Up) return 2190;
+ else if (West == West::Side) return 2191;
+ else return 2192;
+ else
+ if (South == South::Up)
+ if (West == West::Up) return 2193;
+ else if (West == West::Side) return 2194;
+ else return 2195;
+ else if (South == South::Side)
+ if (West == West::Up) return 2196;
+ else if (West == West::Side) return 2197;
+ else return 2198;
+ else
+ if (West == West::Up) return 2199;
+ else if (West == West::Side) return 2200;
+ else return 2201;
+ else if (North == North::Side)
+ if (Power == 0)
+ if (South == South::Up)
+ if (West == West::Up) return 2202;
+ else if (West == West::Side) return 2203;
+ else return 2204;
+ else if (South == South::Side)
+ if (West == West::Up) return 2205;
+ else if (West == West::Side) return 2206;
+ else return 2207;
+ else
+ if (West == West::Up) return 2208;
+ else if (West == West::Side) return 2209;
+ else return 2210;
+ else if (Power == 1)
+ if (South == South::Up)
+ if (West == West::Up) return 2211;
+ else if (West == West::Side) return 2212;
+ else return 2213;
+ else if (South == South::Side)
+ if (West == West::Up) return 2214;
+ else if (West == West::Side) return 2215;
+ else return 2216;
+ else
+ if (West == West::Up) return 2217;
+ else if (West == West::Side) return 2218;
+ else return 2219;
+ else if (Power == 2)
+ if (South == South::Up)
+ if (West == West::Up) return 2220;
+ else if (West == West::Side) return 2221;
+ else return 2222;
+ else if (South == South::Side)
+ if (West == West::Up) return 2223;
+ else if (West == West::Side) return 2224;
+ else return 2225;
+ else
+ if (West == West::Up) return 2226;
+ else if (West == West::Side) return 2227;
+ else return 2228;
+ else if (Power == 3)
+ if (South == South::Up)
+ if (West == West::Up) return 2229;
+ else if (West == West::Side) return 2230;
+ else return 2231;
+ else if (South == South::Side)
+ if (West == West::Up) return 2232;
+ else if (West == West::Side) return 2233;
+ else return 2234;
+ else
+ if (West == West::Up) return 2235;
+ else if (West == West::Side) return 2236;
+ else return 2237;
+ else if (Power == 4)
+ if (South == South::Up)
+ if (West == West::Up) return 2238;
+ else if (West == West::Side) return 2239;
+ else return 2240;
+ else if (South == South::Side)
+ if (West == West::Up) return 2241;
+ else if (West == West::Side) return 2242;
+ else return 2243;
+ else
+ if (West == West::Up) return 2244;
+ else if (West == West::Side) return 2245;
+ else return 2246;
+ else if (Power == 5)
+ if (South == South::Up)
+ if (West == West::Up) return 2247;
+ else if (West == West::Side) return 2248;
+ else return 2249;
+ else if (South == South::Side)
+ if (West == West::Up) return 2250;
+ else if (West == West::Side) return 2251;
+ else return 2252;
+ else
+ if (West == West::Up) return 2253;
+ else if (West == West::Side) return 2254;
+ else return 2255;
+ else if (Power == 6)
+ if (South == South::Up)
+ if (West == West::Up) return 2256;
+ else if (West == West::Side) return 2257;
+ else return 2258;
+ else if (South == South::Side)
+ if (West == West::Up) return 2259;
+ else if (West == West::Side) return 2260;
+ else return 2261;
+ else
+ if (West == West::Up) return 2262;
+ else if (West == West::Side) return 2263;
+ else return 2264;
+ else if (Power == 7)
+ if (South == South::Up)
+ if (West == West::Up) return 2265;
+ else if (West == West::Side) return 2266;
+ else return 2267;
+ else if (South == South::Side)
+ if (West == West::Up) return 2268;
+ else if (West == West::Side) return 2269;
+ else return 2270;
+ else
+ if (West == West::Up) return 2271;
+ else if (West == West::Side) return 2272;
+ else return 2273;
+ else if (Power == 8)
+ if (South == South::Up)
+ if (West == West::Up) return 2274;
+ else if (West == West::Side) return 2275;
+ else return 2276;
+ else if (South == South::Side)
+ if (West == West::Up) return 2277;
+ else if (West == West::Side) return 2278;
+ else return 2279;
+ else
+ if (West == West::Up) return 2280;
+ else if (West == West::Side) return 2281;
+ else return 2282;
+ else if (Power == 9)
+ if (South == South::Up)
+ if (West == West::Up) return 2283;
+ else if (West == West::Side) return 2284;
+ else return 2285;
+ else if (South == South::Side)
+ if (West == West::Up) return 2286;
+ else if (West == West::Side) return 2287;
+ else return 2288;
+ else
+ if (West == West::Up) return 2289;
+ else if (West == West::Side) return 2290;
+ else return 2291;
+ else if (Power == 10)
+ if (South == South::Up)
+ if (West == West::Up) return 2292;
+ else if (West == West::Side) return 2293;
+ else return 2294;
+ else if (South == South::Side)
+ if (West == West::Up) return 2295;
+ else if (West == West::Side) return 2296;
+ else return 2297;
+ else
+ if (West == West::Up) return 2298;
+ else if (West == West::Side) return 2299;
+ else return 2300;
+ else if (Power == 11)
+ if (South == South::Up)
+ if (West == West::Up) return 2301;
+ else if (West == West::Side) return 2302;
+ else return 2303;
+ else if (South == South::Side)
+ if (West == West::Up) return 2304;
+ else if (West == West::Side) return 2305;
+ else return 2306;
+ else
+ if (West == West::Up) return 2307;
+ else if (West == West::Side) return 2308;
+ else return 2309;
+ else if (Power == 12)
+ if (South == South::Up)
+ if (West == West::Up) return 2310;
+ else if (West == West::Side) return 2311;
+ else return 2312;
+ else if (South == South::Side)
+ if (West == West::Up) return 2313;
+ else if (West == West::Side) return 2314;
+ else return 2315;
+ else
+ if (West == West::Up) return 2316;
+ else if (West == West::Side) return 2317;
+ else return 2318;
+ else if (Power == 13)
+ if (South == South::Up)
+ if (West == West::Up) return 2319;
+ else if (West == West::Side) return 2320;
+ else return 2321;
+ else if (South == South::Side)
+ if (West == West::Up) return 2322;
+ else if (West == West::Side) return 2323;
+ else return 2324;
+ else
+ if (West == West::Up) return 2325;
+ else if (West == West::Side) return 2326;
+ else return 2327;
+ else if (Power == 14)
+ if (South == South::Up)
+ if (West == West::Up) return 2328;
+ else if (West == West::Side) return 2329;
+ else return 2330;
+ else if (South == South::Side)
+ if (West == West::Up) return 2331;
+ else if (West == West::Side) return 2332;
+ else return 2333;
+ else
+ if (West == West::Up) return 2334;
+ else if (West == West::Side) return 2335;
+ else return 2336;
+ else
+ if (South == South::Up)
+ if (West == West::Up) return 2337;
+ else if (West == West::Side) return 2338;
+ else return 2339;
+ else if (South == South::Side)
+ if (West == West::Up) return 2340;
+ else if (West == West::Side) return 2341;
+ else return 2342;
+ else
+ if (West == West::Up) return 2343;
+ else if (West == West::Side) return 2344;
+ else return 2345;
+ else
+ if (Power == 0)
+ if (South == South::Up)
+ if (West == West::Up) return 2346;
+ else if (West == West::Side) return 2347;
+ else return 2348;
+ else if (South == South::Side)
+ if (West == West::Up) return 2349;
+ else if (West == West::Side) return 2350;
+ else return 2351;
+ else
+ if (West == West::Up) return 2352;
+ else if (West == West::Side) return 2353;
+ else return 2354;
+ else if (Power == 1)
+ if (South == South::Up)
+ if (West == West::Up) return 2355;
+ else if (West == West::Side) return 2356;
+ else return 2357;
+ else if (South == South::Side)
+ if (West == West::Up) return 2358;
+ else if (West == West::Side) return 2359;
+ else return 2360;
+ else
+ if (West == West::Up) return 2361;
+ else if (West == West::Side) return 2362;
+ else return 2363;
+ else if (Power == 2)
+ if (South == South::Up)
+ if (West == West::Up) return 2364;
+ else if (West == West::Side) return 2365;
+ else return 2366;
+ else if (South == South::Side)
+ if (West == West::Up) return 2367;
+ else if (West == West::Side) return 2368;
+ else return 2369;
+ else
+ if (West == West::Up) return 2370;
+ else if (West == West::Side) return 2371;
+ else return 2372;
+ else if (Power == 3)
+ if (South == South::Up)
+ if (West == West::Up) return 2373;
+ else if (West == West::Side) return 2374;
+ else return 2375;
+ else if (South == South::Side)
+ if (West == West::Up) return 2376;
+ else if (West == West::Side) return 2377;
+ else return 2378;
+ else
+ if (West == West::Up) return 2379;
+ else if (West == West::Side) return 2380;
+ else return 2381;
+ else if (Power == 4)
+ if (South == South::Up)
+ if (West == West::Up) return 2382;
+ else if (West == West::Side) return 2383;
+ else return 2384;
+ else if (South == South::Side)
+ if (West == West::Up) return 2385;
+ else if (West == West::Side) return 2386;
+ else return 2387;
+ else
+ if (West == West::Up) return 2388;
+ else if (West == West::Side) return 2389;
+ else return 2390;
+ else if (Power == 5)
+ if (South == South::Up)
+ if (West == West::Up) return 2391;
+ else if (West == West::Side) return 2392;
+ else return 2393;
+ else if (South == South::Side)
+ if (West == West::Up) return 2394;
+ else if (West == West::Side) return 2395;
+ else return 2396;
+ else
+ if (West == West::Up) return 2397;
+ else if (West == West::Side) return 2398;
+ else return 2399;
+ else if (Power == 6)
+ if (South == South::Up)
+ if (West == West::Up) return 2400;
+ else if (West == West::Side) return 2401;
+ else return 2402;
+ else if (South == South::Side)
+ if (West == West::Up) return 2403;
+ else if (West == West::Side) return 2404;
+ else return 2405;
+ else
+ if (West == West::Up) return 2406;
+ else if (West == West::Side) return 2407;
+ else return 2408;
+ else if (Power == 7)
+ if (South == South::Up)
+ if (West == West::Up) return 2409;
+ else if (West == West::Side) return 2410;
+ else return 2411;
+ else if (South == South::Side)
+ if (West == West::Up) return 2412;
+ else if (West == West::Side) return 2413;
+ else return 2414;
+ else
+ if (West == West::Up) return 2415;
+ else if (West == West::Side) return 2416;
+ else return 2417;
+ else if (Power == 8)
+ if (South == South::Up)
+ if (West == West::Up) return 2418;
+ else if (West == West::Side) return 2419;
+ else return 2420;
+ else if (South == South::Side)
+ if (West == West::Up) return 2421;
+ else if (West == West::Side) return 2422;
+ else return 2423;
+ else
+ if (West == West::Up) return 2424;
+ else if (West == West::Side) return 2425;
+ else return 2426;
+ else if (Power == 9)
+ if (South == South::Up)
+ if (West == West::Up) return 2427;
+ else if (West == West::Side) return 2428;
+ else return 2429;
+ else if (South == South::Side)
+ if (West == West::Up) return 2430;
+ else if (West == West::Side) return 2431;
+ else return 2432;
+ else
+ if (West == West::Up) return 2433;
+ else if (West == West::Side) return 2434;
+ else return 2435;
+ else if (Power == 10)
+ if (South == South::Up)
+ if (West == West::Up) return 2436;
+ else if (West == West::Side) return 2437;
+ else return 2438;
+ else if (South == South::Side)
+ if (West == West::Up) return 2439;
+ else if (West == West::Side) return 2440;
+ else return 2441;
+ else
+ if (West == West::Up) return 2442;
+ else if (West == West::Side) return 2443;
+ else return 2444;
+ else if (Power == 11)
+ if (South == South::Up)
+ if (West == West::Up) return 2445;
+ else if (West == West::Side) return 2446;
+ else return 2447;
+ else if (South == South::Side)
+ if (West == West::Up) return 2448;
+ else if (West == West::Side) return 2449;
+ else return 2450;
+ else
+ if (West == West::Up) return 2451;
+ else if (West == West::Side) return 2452;
+ else return 2453;
+ else if (Power == 12)
+ if (South == South::Up)
+ if (West == West::Up) return 2454;
+ else if (West == West::Side) return 2455;
+ else return 2456;
+ else if (South == South::Side)
+ if (West == West::Up) return 2457;
+ else if (West == West::Side) return 2458;
+ else return 2459;
+ else
+ if (West == West::Up) return 2460;
+ else if (West == West::Side) return 2461;
+ else return 2462;
+ else if (Power == 13)
+ if (South == South::Up)
+ if (West == West::Up) return 2463;
+ else if (West == West::Side) return 2464;
+ else return 2465;
+ else if (South == South::Side)
+ if (West == West::Up) return 2466;
+ else if (West == West::Side) return 2467;
+ else return 2468;
+ else
+ if (West == West::Up) return 2469;
+ else if (West == West::Side) return 2470;
+ else return 2471;
+ else if (Power == 14)
+ if (South == South::Up)
+ if (West == West::Up) return 2472;
+ else if (West == West::Side) return 2473;
+ else return 2474;
+ else if (South == South::Side)
+ if (West == West::Up) return 2475;
+ else if (West == West::Side) return 2476;
+ else return 2477;
+ else
+ if (West == West::Up) return 2478;
+ else if (West == West::Side) return 2479;
+ else return 2480;
+ else
+ if (South == South::Up)
+ if (West == West::Up) return 2481;
+ else if (West == West::Side) return 2482;
+ else return 2483;
+ else if (South == South::Side)
+ if (West == West::Up) return 2484;
+ else if (West == West::Side) return 2485;
+ else return 2486;
+ else
+ if (West == West::Up) return 2487;
+ else if (West == West::Side) return 2488;
+ else return 2489;
+ else if (East == East::Side)
+ if (North == North::Up)
+ if (Power == 0)
+ if (South == South::Up)
+ if (West == West::Up) return 2490;
+ else if (West == West::Side) return 2491;
+ else return 2492;
+ else if (South == South::Side)
+ if (West == West::Up) return 2493;
+ else if (West == West::Side) return 2494;
+ else return 2495;
+ else
+ if (West == West::Up) return 2496;
+ else if (West == West::Side) return 2497;
+ else return 2498;
+ else if (Power == 1)
+ if (South == South::Up)
+ if (West == West::Up) return 2499;
+ else if (West == West::Side) return 2500;
+ else return 2501;
+ else if (South == South::Side)
+ if (West == West::Up) return 2502;
+ else if (West == West::Side) return 2503;
+ else return 2504;
+ else
+ if (West == West::Up) return 2505;
+ else if (West == West::Side) return 2506;
+ else return 2507;
+ else if (Power == 2)
+ if (South == South::Up)
+ if (West == West::Up) return 2508;
+ else if (West == West::Side) return 2509;
+ else return 2510;
+ else if (South == South::Side)
+ if (West == West::Up) return 2511;
+ else if (West == West::Side) return 2512;
+ else return 2513;
+ else
+ if (West == West::Up) return 2514;
+ else if (West == West::Side) return 2515;
+ else return 2516;
+ else if (Power == 3)
+ if (South == South::Up)
+ if (West == West::Up) return 2517;
+ else if (West == West::Side) return 2518;
+ else return 2519;
+ else if (South == South::Side)
+ if (West == West::Up) return 2520;
+ else if (West == West::Side) return 2521;
+ else return 2522;
+ else
+ if (West == West::Up) return 2523;
+ else if (West == West::Side) return 2524;
+ else return 2525;
+ else if (Power == 4)
+ if (South == South::Up)
+ if (West == West::Up) return 2526;
+ else if (West == West::Side) return 2527;
+ else return 2528;
+ else if (South == South::Side)
+ if (West == West::Up) return 2529;
+ else if (West == West::Side) return 2530;
+ else return 2531;
+ else
+ if (West == West::Up) return 2532;
+ else if (West == West::Side) return 2533;
+ else return 2534;
+ else if (Power == 5)
+ if (South == South::Up)
+ if (West == West::Up) return 2535;
+ else if (West == West::Side) return 2536;
+ else return 2537;
+ else if (South == South::Side)
+ if (West == West::Up) return 2538;
+ else if (West == West::Side) return 2539;
+ else return 2540;
+ else
+ if (West == West::Up) return 2541;
+ else if (West == West::Side) return 2542;
+ else return 2543;
+ else if (Power == 6)
+ if (South == South::Up)
+ if (West == West::Up) return 2544;
+ else if (West == West::Side) return 2545;
+ else return 2546;
+ else if (South == South::Side)
+ if (West == West::Up) return 2547;
+ else if (West == West::Side) return 2548;
+ else return 2549;
+ else
+ if (West == West::Up) return 2550;
+ else if (West == West::Side) return 2551;
+ else return 2552;
+ else if (Power == 7)
+ if (South == South::Up)
+ if (West == West::Up) return 2553;
+ else if (West == West::Side) return 2554;
+ else return 2555;
+ else if (South == South::Side)
+ if (West == West::Up) return 2556;
+ else if (West == West::Side) return 2557;
+ else return 2558;
+ else
+ if (West == West::Up) return 2559;
+ else if (West == West::Side) return 2560;
+ else return 2561;
+ else if (Power == 8)
+ if (South == South::Up)
+ if (West == West::Up) return 2562;
+ else if (West == West::Side) return 2563;
+ else return 2564;
+ else if (South == South::Side)
+ if (West == West::Up) return 2565;
+ else if (West == West::Side) return 2566;
+ else return 2567;
+ else
+ if (West == West::Up) return 2568;
+ else if (West == West::Side) return 2569;
+ else return 2570;
+ else if (Power == 9)
+ if (South == South::Up)
+ if (West == West::Up) return 2571;
+ else if (West == West::Side) return 2572;
+ else return 2573;
+ else if (South == South::Side)
+ if (West == West::Up) return 2574;
+ else if (West == West::Side) return 2575;
+ else return 2576;
+ else
+ if (West == West::Up) return 2577;
+ else if (West == West::Side) return 2578;
+ else return 2579;
+ else if (Power == 10)
+ if (South == South::Up)
+ if (West == West::Up) return 2580;
+ else if (West == West::Side) return 2581;
+ else return 2582;
+ else if (South == South::Side)
+ if (West == West::Up) return 2583;
+ else if (West == West::Side) return 2584;
+ else return 2585;
+ else
+ if (West == West::Up) return 2586;
+ else if (West == West::Side) return 2587;
+ else return 2588;
+ else if (Power == 11)
+ if (South == South::Up)
+ if (West == West::Up) return 2589;
+ else if (West == West::Side) return 2590;
+ else return 2591;
+ else if (South == South::Side)
+ if (West == West::Up) return 2592;
+ else if (West == West::Side) return 2593;
+ else return 2594;
+ else
+ if (West == West::Up) return 2595;
+ else if (West == West::Side) return 2596;
+ else return 2597;
+ else if (Power == 12)
+ if (South == South::Up)
+ if (West == West::Up) return 2598;
+ else if (West == West::Side) return 2599;
+ else return 2600;
+ else if (South == South::Side)
+ if (West == West::Up) return 2601;
+ else if (West == West::Side) return 2602;
+ else return 2603;
+ else
+ if (West == West::Up) return 2604;
+ else if (West == West::Side) return 2605;
+ else return 2606;
+ else if (Power == 13)
+ if (South == South::Up)
+ if (West == West::Up) return 2607;
+ else if (West == West::Side) return 2608;
+ else return 2609;
+ else if (South == South::Side)
+ if (West == West::Up) return 2610;
+ else if (West == West::Side) return 2611;
+ else return 2612;
+ else
+ if (West == West::Up) return 2613;
+ else if (West == West::Side) return 2614;
+ else return 2615;
+ else if (Power == 14)
+ if (South == South::Up)
+ if (West == West::Up) return 2616;
+ else if (West == West::Side) return 2617;
+ else return 2618;
+ else if (South == South::Side)
+ if (West == West::Up) return 2619;
+ else if (West == West::Side) return 2620;
+ else return 2621;
+ else
+ if (West == West::Up) return 2622;
+ else if (West == West::Side) return 2623;
+ else return 2624;
+ else
+ if (South == South::Up)
+ if (West == West::Up) return 2625;
+ else if (West == West::Side) return 2626;
+ else return 2627;
+ else if (South == South::Side)
+ if (West == West::Up) return 2628;
+ else if (West == West::Side) return 2629;
+ else return 2630;
+ else
+ if (West == West::Up) return 2631;
+ else if (West == West::Side) return 2632;
+ else return 2633;
+ else if (North == North::Side)
+ if (Power == 0)
+ if (South == South::Up)
+ if (West == West::Up) return 2634;
+ else if (West == West::Side) return 2635;
+ else return 2636;
+ else if (South == South::Side)
+ if (West == West::Up) return 2637;
+ else if (West == West::Side) return 2638;
+ else return 2639;
+ else
+ if (West == West::Up) return 2640;
+ else if (West == West::Side) return 2641;
+ else return 2642;
+ else if (Power == 1)
+ if (South == South::Up)
+ if (West == West::Up) return 2643;
+ else if (West == West::Side) return 2644;
+ else return 2645;
+ else if (South == South::Side)
+ if (West == West::Up) return 2646;
+ else if (West == West::Side) return 2647;
+ else return 2648;
+ else
+ if (West == West::Up) return 2649;
+ else if (West == West::Side) return 2650;
+ else return 2651;
+ else if (Power == 2)
+ if (South == South::Up)
+ if (West == West::Up) return 2652;
+ else if (West == West::Side) return 2653;
+ else return 2654;
+ else if (South == South::Side)
+ if (West == West::Up) return 2655;
+ else if (West == West::Side) return 2656;
+ else return 2657;
+ else
+ if (West == West::Up) return 2658;
+ else if (West == West::Side) return 2659;
+ else return 2660;
+ else if (Power == 3)
+ if (South == South::Up)
+ if (West == West::Up) return 2661;
+ else if (West == West::Side) return 2662;
+ else return 2663;
+ else if (South == South::Side)
+ if (West == West::Up) return 2664;
+ else if (West == West::Side) return 2665;
+ else return 2666;
+ else
+ if (West == West::Up) return 2667;
+ else if (West == West::Side) return 2668;
+ else return 2669;
+ else if (Power == 4)
+ if (South == South::Up)
+ if (West == West::Up) return 2670;
+ else if (West == West::Side) return 2671;
+ else return 2672;
+ else if (South == South::Side)
+ if (West == West::Up) return 2673;
+ else if (West == West::Side) return 2674;
+ else return 2675;
+ else
+ if (West == West::Up) return 2676;
+ else if (West == West::Side) return 2677;
+ else return 2678;
+ else if (Power == 5)
+ if (South == South::Up)
+ if (West == West::Up) return 2679;
+ else if (West == West::Side) return 2680;
+ else return 2681;
+ else if (South == South::Side)
+ if (West == West::Up) return 2682;
+ else if (West == West::Side) return 2683;
+ else return 2684;
+ else
+ if (West == West::Up) return 2685;
+ else if (West == West::Side) return 2686;
+ else return 2687;
+ else if (Power == 6)
+ if (South == South::Up)
+ if (West == West::Up) return 2688;
+ else if (West == West::Side) return 2689;
+ else return 2690;
+ else if (South == South::Side)
+ if (West == West::Up) return 2691;
+ else if (West == West::Side) return 2692;
+ else return 2693;
+ else
+ if (West == West::Up) return 2694;
+ else if (West == West::Side) return 2695;
+ else return 2696;
+ else if (Power == 7)
+ if (South == South::Up)
+ if (West == West::Up) return 2697;
+ else if (West == West::Side) return 2698;
+ else return 2699;
+ else if (South == South::Side)
+ if (West == West::Up) return 2700;
+ else if (West == West::Side) return 2701;
+ else return 2702;
+ else
+ if (West == West::Up) return 2703;
+ else if (West == West::Side) return 2704;
+ else return 2705;
+ else if (Power == 8)
+ if (South == South::Up)
+ if (West == West::Up) return 2706;
+ else if (West == West::Side) return 2707;
+ else return 2708;
+ else if (South == South::Side)
+ if (West == West::Up) return 2709;
+ else if (West == West::Side) return 2710;
+ else return 2711;
+ else
+ if (West == West::Up) return 2712;
+ else if (West == West::Side) return 2713;
+ else return 2714;
+ else if (Power == 9)
+ if (South == South::Up)
+ if (West == West::Up) return 2715;
+ else if (West == West::Side) return 2716;
+ else return 2717;
+ else if (South == South::Side)
+ if (West == West::Up) return 2718;
+ else if (West == West::Side) return 2719;
+ else return 2720;
+ else
+ if (West == West::Up) return 2721;
+ else if (West == West::Side) return 2722;
+ else return 2723;
+ else if (Power == 10)
+ if (South == South::Up)
+ if (West == West::Up) return 2724;
+ else if (West == West::Side) return 2725;
+ else return 2726;
+ else if (South == South::Side)
+ if (West == West::Up) return 2727;
+ else if (West == West::Side) return 2728;
+ else return 2729;
+ else
+ if (West == West::Up) return 2730;
+ else if (West == West::Side) return 2731;
+ else return 2732;
+ else if (Power == 11)
+ if (South == South::Up)
+ if (West == West::Up) return 2733;
+ else if (West == West::Side) return 2734;
+ else return 2735;
+ else if (South == South::Side)
+ if (West == West::Up) return 2736;
+ else if (West == West::Side) return 2737;
+ else return 2738;
+ else
+ if (West == West::Up) return 2739;
+ else if (West == West::Side) return 2740;
+ else return 2741;
+ else if (Power == 12)
+ if (South == South::Up)
+ if (West == West::Up) return 2742;
+ else if (West == West::Side) return 2743;
+ else return 2744;
+ else if (South == South::Side)
+ if (West == West::Up) return 2745;
+ else if (West == West::Side) return 2746;
+ else return 2747;
+ else
+ if (West == West::Up) return 2748;
+ else if (West == West::Side) return 2749;
+ else return 2750;
+ else if (Power == 13)
+ if (South == South::Up)
+ if (West == West::Up) return 2751;
+ else if (West == West::Side) return 2752;
+ else return 2753;
+ else if (South == South::Side)
+ if (West == West::Up) return 2754;
+ else if (West == West::Side) return 2755;
+ else return 2756;
+ else
+ if (West == West::Up) return 2757;
+ else if (West == West::Side) return 2758;
+ else return 2759;
+ else if (Power == 14)
+ if (South == South::Up)
+ if (West == West::Up) return 2760;
+ else if (West == West::Side) return 2761;
+ else return 2762;
+ else if (South == South::Side)
+ if (West == West::Up) return 2763;
+ else if (West == West::Side) return 2764;
+ else return 2765;
+ else
+ if (West == West::Up) return 2766;
+ else if (West == West::Side) return 2767;
+ else return 2768;
+ else
+ if (South == South::Up)
+ if (West == West::Up) return 2769;
+ else if (West == West::Side) return 2770;
+ else return 2771;
+ else if (South == South::Side)
+ if (West == West::Up) return 2772;
+ else if (West == West::Side) return 2773;
+ else return 2774;
+ else
+ if (West == West::Up) return 2775;
+ else if (West == West::Side) return 2776;
+ else return 2777;
+ else
+ if (Power == 0)
+ if (South == South::Up)
+ if (West == West::Up) return 2778;
+ else if (West == West::Side) return 2779;
+ else return 2780;
+ else if (South == South::Side)
+ if (West == West::Up) return 2781;
+ else if (West == West::Side) return 2782;
+ else return 2783;
+ else
+ if (West == West::Up) return 2784;
+ else if (West == West::Side) return 2785;
+ else return 2786;
+ else if (Power == 1)
+ if (South == South::Up)
+ if (West == West::Up) return 2787;
+ else if (West == West::Side) return 2788;
+ else return 2789;
+ else if (South == South::Side)
+ if (West == West::Up) return 2790;
+ else if (West == West::Side) return 2791;
+ else return 2792;
+ else
+ if (West == West::Up) return 2793;
+ else if (West == West::Side) return 2794;
+ else return 2795;
+ else if (Power == 2)
+ if (South == South::Up)
+ if (West == West::Up) return 2796;
+ else if (West == West::Side) return 2797;
+ else return 2798;
+ else if (South == South::Side)
+ if (West == West::Up) return 2799;
+ else if (West == West::Side) return 2800;
+ else return 2801;
+ else
+ if (West == West::Up) return 2802;
+ else if (West == West::Side) return 2803;
+ else return 2804;
+ else if (Power == 3)
+ if (South == South::Up)
+ if (West == West::Up) return 2805;
+ else if (West == West::Side) return 2806;
+ else return 2807;
+ else if (South == South::Side)
+ if (West == West::Up) return 2808;
+ else if (West == West::Side) return 2809;
+ else return 2810;
+ else
+ if (West == West::Up) return 2811;
+ else if (West == West::Side) return 2812;
+ else return 2813;
+ else if (Power == 4)
+ if (South == South::Up)
+ if (West == West::Up) return 2814;
+ else if (West == West::Side) return 2815;
+ else return 2816;
+ else if (South == South::Side)
+ if (West == West::Up) return 2817;
+ else if (West == West::Side) return 2818;
+ else return 2819;
+ else
+ if (West == West::Up) return 2820;
+ else if (West == West::Side) return 2821;
+ else return 2822;
+ else if (Power == 5)
+ if (South == South::Up)
+ if (West == West::Up) return 2823;
+ else if (West == West::Side) return 2824;
+ else return 2825;
+ else if (South == South::Side)
+ if (West == West::Up) return 2826;
+ else if (West == West::Side) return 2827;
+ else return 2828;
+ else
+ if (West == West::Up) return 2829;
+ else if (West == West::Side) return 2830;
+ else return 2831;
+ else if (Power == 6)
+ if (South == South::Up)
+ if (West == West::Up) return 2832;
+ else if (West == West::Side) return 2833;
+ else return 2834;
+ else if (South == South::Side)
+ if (West == West::Up) return 2835;
+ else if (West == West::Side) return 2836;
+ else return 2837;
+ else
+ if (West == West::Up) return 2838;
+ else if (West == West::Side) return 2839;
+ else return 2840;
+ else if (Power == 7)
+ if (South == South::Up)
+ if (West == West::Up) return 2841;
+ else if (West == West::Side) return 2842;
+ else return 2843;
+ else if (South == South::Side)
+ if (West == West::Up) return 2844;
+ else if (West == West::Side) return 2845;
+ else return 2846;
+ else
+ if (West == West::Up) return 2847;
+ else if (West == West::Side) return 2848;
+ else return 2849;
+ else if (Power == 8)
+ if (South == South::Up)
+ if (West == West::Up) return 2850;
+ else if (West == West::Side) return 2851;
+ else return 2852;
+ else if (South == South::Side)
+ if (West == West::Up) return 2853;
+ else if (West == West::Side) return 2854;
+ else return 2855;
+ else
+ if (West == West::Up) return 2856;
+ else if (West == West::Side) return 2857;
+ else return 2858;
+ else if (Power == 9)
+ if (South == South::Up)
+ if (West == West::Up) return 2859;
+ else if (West == West::Side) return 2860;
+ else return 2861;
+ else if (South == South::Side)
+ if (West == West::Up) return 2862;
+ else if (West == West::Side) return 2863;
+ else return 2864;
+ else
+ if (West == West::Up) return 2865;
+ else if (West == West::Side) return 2866;
+ else return 2867;
+ else if (Power == 10)
+ if (South == South::Up)
+ if (West == West::Up) return 2868;
+ else if (West == West::Side) return 2869;
+ else return 2870;
+ else if (South == South::Side)
+ if (West == West::Up) return 2871;
+ else if (West == West::Side) return 2872;
+ else return 2873;
+ else
+ if (West == West::Up) return 2874;
+ else if (West == West::Side) return 2875;
+ else return 2876;
+ else if (Power == 11)
+ if (South == South::Up)
+ if (West == West::Up) return 2877;
+ else if (West == West::Side) return 2878;
+ else return 2879;
+ else if (South == South::Side)
+ if (West == West::Up) return 2880;
+ else if (West == West::Side) return 2881;
+ else return 2882;
+ else
+ if (West == West::Up) return 2883;
+ else if (West == West::Side) return 2884;
+ else return 2885;
+ else if (Power == 12)
+ if (South == South::Up)
+ if (West == West::Up) return 2886;
+ else if (West == West::Side) return 2887;
+ else return 2888;
+ else if (South == South::Side)
+ if (West == West::Up) return 2889;
+ else if (West == West::Side) return 2890;
+ else return 2891;
+ else
+ if (West == West::Up) return 2892;
+ else if (West == West::Side) return 2893;
+ else return 2894;
+ else if (Power == 13)
+ if (South == South::Up)
+ if (West == West::Up) return 2895;
+ else if (West == West::Side) return 2896;
+ else return 2897;
+ else if (South == South::Side)
+ if (West == West::Up) return 2898;
+ else if (West == West::Side) return 2899;
+ else return 2900;
+ else
+ if (West == West::Up) return 2901;
+ else if (West == West::Side) return 2902;
+ else return 2903;
+ else if (Power == 14)
+ if (South == South::Up)
+ if (West == West::Up) return 2904;
+ else if (West == West::Side) return 2905;
+ else return 2906;
+ else if (South == South::Side)
+ if (West == West::Up) return 2907;
+ else if (West == West::Side) return 2908;
+ else return 2909;
+ else
+ if (West == West::Up) return 2910;
+ else if (West == West::Side) return 2911;
+ else return 2912;
+ else
+ if (South == South::Up)
+ if (West == West::Up) return 2913;
+ else if (West == West::Side) return 2914;
+ else return 2915;
+ else if (South == South::Side)
+ if (West == West::Up) return 2916;
+ else if (West == West::Side) return 2917;
+ else return 2918;
+ else
+ if (West == West::Up) return 2919;
+ else if (West == West::Side) return 2920;
+ else return 2921;
+ else
+ if (North == North::Up)
+ if (Power == 0)
+ if (South == South::Up)
+ if (West == West::Up) return 2922;
+ else if (West == West::Side) return 2923;
+ else return 2924;
+ else if (South == South::Side)
+ if (West == West::Up) return 2925;
+ else if (West == West::Side) return 2926;
+ else return 2927;
+ else
+ if (West == West::Up) return 2928;
+ else if (West == West::Side) return 2929;
+ else return 2930;
+ else if (Power == 1)
+ if (South == South::Up)
+ if (West == West::Up) return 2931;
+ else if (West == West::Side) return 2932;
+ else return 2933;
+ else if (South == South::Side)
+ if (West == West::Up) return 2934;
+ else if (West == West::Side) return 2935;
+ else return 2936;
+ else
+ if (West == West::Up) return 2937;
+ else if (West == West::Side) return 2938;
+ else return 2939;
+ else if (Power == 2)
+ if (South == South::Up)
+ if (West == West::Up) return 2940;
+ else if (West == West::Side) return 2941;
+ else return 2942;
+ else if (South == South::Side)
+ if (West == West::Up) return 2943;
+ else if (West == West::Side) return 2944;
+ else return 2945;
+ else
+ if (West == West::Up) return 2946;
+ else if (West == West::Side) return 2947;
+ else return 2948;
+ else if (Power == 3)
+ if (South == South::Up)
+ if (West == West::Up) return 2949;
+ else if (West == West::Side) return 2950;
+ else return 2951;
+ else if (South == South::Side)
+ if (West == West::Up) return 2952;
+ else if (West == West::Side) return 2953;
+ else return 2954;
+ else
+ if (West == West::Up) return 2955;
+ else if (West == West::Side) return 2956;
+ else return 2957;
+ else if (Power == 4)
+ if (South == South::Up)
+ if (West == West::Up) return 2958;
+ else if (West == West::Side) return 2959;
+ else return 2960;
+ else if (South == South::Side)
+ if (West == West::Up) return 2961;
+ else if (West == West::Side) return 2962;
+ else return 2963;
+ else
+ if (West == West::Up) return 2964;
+ else if (West == West::Side) return 2965;
+ else return 2966;
+ else if (Power == 5)
+ if (South == South::Up)
+ if (West == West::Up) return 2967;
+ else if (West == West::Side) return 2968;
+ else return 2969;
+ else if (South == South::Side)
+ if (West == West::Up) return 2970;
+ else if (West == West::Side) return 2971;
+ else return 2972;
+ else
+ if (West == West::Up) return 2973;
+ else if (West == West::Side) return 2974;
+ else return 2975;
+ else if (Power == 6)
+ if (South == South::Up)
+ if (West == West::Up) return 2976;
+ else if (West == West::Side) return 2977;
+ else return 2978;
+ else if (South == South::Side)
+ if (West == West::Up) return 2979;
+ else if (West == West::Side) return 2980;
+ else return 2981;
+ else
+ if (West == West::Up) return 2982;
+ else if (West == West::Side) return 2983;
+ else return 2984;
+ else if (Power == 7)
+ if (South == South::Up)
+ if (West == West::Up) return 2985;
+ else if (West == West::Side) return 2986;
+ else return 2987;
+ else if (South == South::Side)
+ if (West == West::Up) return 2988;
+ else if (West == West::Side) return 2989;
+ else return 2990;
+ else
+ if (West == West::Up) return 2991;
+ else if (West == West::Side) return 2992;
+ else return 2993;
+ else if (Power == 8)
+ if (South == South::Up)
+ if (West == West::Up) return 2994;
+ else if (West == West::Side) return 2995;
+ else return 2996;
+ else if (South == South::Side)
+ if (West == West::Up) return 2997;
+ else if (West == West::Side) return 2998;
+ else return 2999;
+ else
+ if (West == West::Up) return 3000;
+ else if (West == West::Side) return 3001;
+ else return 3002;
+ else if (Power == 9)
+ if (South == South::Up)
+ if (West == West::Up) return 3003;
+ else if (West == West::Side) return 3004;
+ else return 3005;
+ else if (South == South::Side)
+ if (West == West::Up) return 3006;
+ else if (West == West::Side) return 3007;
+ else return 3008;
+ else
+ if (West == West::Up) return 3009;
+ else if (West == West::Side) return 3010;
+ else return 3011;
+ else if (Power == 10)
+ if (South == South::Up)
+ if (West == West::Up) return 3012;
+ else if (West == West::Side) return 3013;
+ else return 3014;
+ else if (South == South::Side)
+ if (West == West::Up) return 3015;
+ else if (West == West::Side) return 3016;
+ else return 3017;
+ else
+ if (West == West::Up) return 3018;
+ else if (West == West::Side) return 3019;
+ else return 3020;
+ else if (Power == 11)
+ if (South == South::Up)
+ if (West == West::Up) return 3021;
+ else if (West == West::Side) return 3022;
+ else return 3023;
+ else if (South == South::Side)
+ if (West == West::Up) return 3024;
+ else if (West == West::Side) return 3025;
+ else return 3026;
+ else
+ if (West == West::Up) return 3027;
+ else if (West == West::Side) return 3028;
+ else return 3029;
+ else if (Power == 12)
+ if (South == South::Up)
+ if (West == West::Up) return 3030;
+ else if (West == West::Side) return 3031;
+ else return 3032;
+ else if (South == South::Side)
+ if (West == West::Up) return 3033;
+ else if (West == West::Side) return 3034;
+ else return 3035;
+ else
+ if (West == West::Up) return 3036;
+ else if (West == West::Side) return 3037;
+ else return 3038;
+ else if (Power == 13)
+ if (South == South::Up)
+ if (West == West::Up) return 3039;
+ else if (West == West::Side) return 3040;
+ else return 3041;
+ else if (South == South::Side)
+ if (West == West::Up) return 3042;
+ else if (West == West::Side) return 3043;
+ else return 3044;
+ else
+ if (West == West::Up) return 3045;
+ else if (West == West::Side) return 3046;
+ else return 3047;
+ else if (Power == 14)
+ if (South == South::Up)
+ if (West == West::Up) return 3048;
+ else if (West == West::Side) return 3049;
+ else return 3050;
+ else if (South == South::Side)
+ if (West == West::Up) return 3051;
+ else if (West == West::Side) return 3052;
+ else return 3053;
+ else
+ if (West == West::Up) return 3054;
+ else if (West == West::Side) return 3055;
+ else return 3056;
+ else
+ if (South == South::Up)
+ if (West == West::Up) return 3057;
+ else if (West == West::Side) return 3058;
+ else return 3059;
+ else if (South == South::Side)
+ if (West == West::Up) return 3060;
+ else if (West == West::Side) return 3061;
+ else return 3062;
+ else
+ if (West == West::Up) return 3063;
+ else if (West == West::Side) return 3064;
+ else return 3065;
+ else if (North == North::Side)
+ if (Power == 0)
+ if (South == South::Up)
+ if (West == West::Up) return 3066;
+ else if (West == West::Side) return 3067;
+ else return 3068;
+ else if (South == South::Side)
+ if (West == West::Up) return 3069;
+ else if (West == West::Side) return 3070;
+ else return 3071;
+ else
+ if (West == West::Up) return 3072;
+ else if (West == West::Side) return 3073;
+ else return 3074;
+ else if (Power == 1)
+ if (South == South::Up)
+ if (West == West::Up) return 3075;
+ else if (West == West::Side) return 3076;
+ else return 3077;
+ else if (South == South::Side)
+ if (West == West::Up) return 3078;
+ else if (West == West::Side) return 3079;
+ else return 3080;
+ else
+ if (West == West::Up) return 3081;
+ else if (West == West::Side) return 3082;
+ else return 3083;
+ else if (Power == 2)
+ if (South == South::Up)
+ if (West == West::Up) return 3084;
+ else if (West == West::Side) return 3085;
+ else return 3086;
+ else if (South == South::Side)
+ if (West == West::Up) return 3087;
+ else if (West == West::Side) return 3088;
+ else return 3089;
+ else
+ if (West == West::Up) return 3090;
+ else if (West == West::Side) return 3091;
+ else return 3092;
+ else if (Power == 3)
+ if (South == South::Up)
+ if (West == West::Up) return 3093;
+ else if (West == West::Side) return 3094;
+ else return 3095;
+ else if (South == South::Side)
+ if (West == West::Up) return 3096;
+ else if (West == West::Side) return 3097;
+ else return 3098;
+ else
+ if (West == West::Up) return 3099;
+ else if (West == West::Side) return 3100;
+ else return 3101;
+ else if (Power == 4)
+ if (South == South::Up)
+ if (West == West::Up) return 3102;
+ else if (West == West::Side) return 3103;
+ else return 3104;
+ else if (South == South::Side)
+ if (West == West::Up) return 3105;
+ else if (West == West::Side) return 3106;
+ else return 3107;
+ else
+ if (West == West::Up) return 3108;
+ else if (West == West::Side) return 3109;
+ else return 3110;
+ else if (Power == 5)
+ if (South == South::Up)
+ if (West == West::Up) return 3111;
+ else if (West == West::Side) return 3112;
+ else return 3113;
+ else if (South == South::Side)
+ if (West == West::Up) return 3114;
+ else if (West == West::Side) return 3115;
+ else return 3116;
+ else
+ if (West == West::Up) return 3117;
+ else if (West == West::Side) return 3118;
+ else return 3119;
+ else if (Power == 6)
+ if (South == South::Up)
+ if (West == West::Up) return 3120;
+ else if (West == West::Side) return 3121;
+ else return 3122;
+ else if (South == South::Side)
+ if (West == West::Up) return 3123;
+ else if (West == West::Side) return 3124;
+ else return 3125;
+ else
+ if (West == West::Up) return 3126;
+ else if (West == West::Side) return 3127;
+ else return 3128;
+ else if (Power == 7)
+ if (South == South::Up)
+ if (West == West::Up) return 3129;
+ else if (West == West::Side) return 3130;
+ else return 3131;
+ else if (South == South::Side)
+ if (West == West::Up) return 3132;
+ else if (West == West::Side) return 3133;
+ else return 3134;
+ else
+ if (West == West::Up) return 3135;
+ else if (West == West::Side) return 3136;
+ else return 3137;
+ else if (Power == 8)
+ if (South == South::Up)
+ if (West == West::Up) return 3138;
+ else if (West == West::Side) return 3139;
+ else return 3140;
+ else if (South == South::Side)
+ if (West == West::Up) return 3141;
+ else if (West == West::Side) return 3142;
+ else return 3143;
+ else
+ if (West == West::Up) return 3144;
+ else if (West == West::Side) return 3145;
+ else return 3146;
+ else if (Power == 9)
+ if (South == South::Up)
+ if (West == West::Up) return 3147;
+ else if (West == West::Side) return 3148;
+ else return 3149;
+ else if (South == South::Side)
+ if (West == West::Up) return 3150;
+ else if (West == West::Side) return 3151;
+ else return 3152;
+ else
+ if (West == West::Up) return 3153;
+ else if (West == West::Side) return 3154;
+ else return 3155;
+ else if (Power == 10)
+ if (South == South::Up)
+ if (West == West::Up) return 3156;
+ else if (West == West::Side) return 3157;
+ else return 3158;
+ else if (South == South::Side)
+ if (West == West::Up) return 3159;
+ else if (West == West::Side) return 3160;
+ else return 3161;
+ else
+ if (West == West::Up) return 3162;
+ else if (West == West::Side) return 3163;
+ else return 3164;
+ else if (Power == 11)
+ if (South == South::Up)
+ if (West == West::Up) return 3165;
+ else if (West == West::Side) return 3166;
+ else return 3167;
+ else if (South == South::Side)
+ if (West == West::Up) return 3168;
+ else if (West == West::Side) return 3169;
+ else return 3170;
+ else
+ if (West == West::Up) return 3171;
+ else if (West == West::Side) return 3172;
+ else return 3173;
+ else if (Power == 12)
+ if (South == South::Up)
+ if (West == West::Up) return 3174;
+ else if (West == West::Side) return 3175;
+ else return 3176;
+ else if (South == South::Side)
+ if (West == West::Up) return 3177;
+ else if (West == West::Side) return 3178;
+ else return 3179;
+ else
+ if (West == West::Up) return 3180;
+ else if (West == West::Side) return 3181;
+ else return 3182;
+ else if (Power == 13)
+ if (South == South::Up)
+ if (West == West::Up) return 3183;
+ else if (West == West::Side) return 3184;
+ else return 3185;
+ else if (South == South::Side)
+ if (West == West::Up) return 3186;
+ else if (West == West::Side) return 3187;
+ else return 3188;
+ else
+ if (West == West::Up) return 3189;
+ else if (West == West::Side) return 3190;
+ else return 3191;
+ else if (Power == 14)
+ if (South == South::Up)
+ if (West == West::Up) return 3192;
+ else if (West == West::Side) return 3193;
+ else return 3194;
+ else if (South == South::Side)
+ if (West == West::Up) return 3195;
+ else if (West == West::Side) return 3196;
+ else return 3197;
+ else
+ if (West == West::Up) return 3198;
+ else if (West == West::Side) return 3199;
+ else return 3200;
+ else
+ if (South == South::Up)
+ if (West == West::Up) return 3201;
+ else if (West == West::Side) return 3202;
+ else return 3203;
+ else if (South == South::Side)
+ if (West == West::Up) return 3204;
+ else if (West == West::Side) return 3205;
+ else return 3206;
+ else
+ if (West == West::Up) return 3207;
+ else if (West == West::Side) return 3208;
+ else return 3209;
+ else
+ if (Power == 0)
+ if (South == South::Up)
+ if (West == West::Up) return 3210;
+ else if (West == West::Side) return 3211;
+ else return 3212;
+ else if (South == South::Side)
+ if (West == West::Up) return 3213;
+ else if (West == West::Side) return 3214;
+ else return 3215;
+ else
+ if (West == West::Up) return 3216;
+ else if (West == West::Side) return 3217;
+ else return 3218;
+ else if (Power == 1)
+ if (South == South::Up)
+ if (West == West::Up) return 3219;
+ else if (West == West::Side) return 3220;
+ else return 3221;
+ else if (South == South::Side)
+ if (West == West::Up) return 3222;
+ else if (West == West::Side) return 3223;
+ else return 3224;
+ else
+ if (West == West::Up) return 3225;
+ else if (West == West::Side) return 3226;
+ else return 3227;
+ else if (Power == 2)
+ if (South == South::Up)
+ if (West == West::Up) return 3228;
+ else if (West == West::Side) return 3229;
+ else return 3230;
+ else if (South == South::Side)
+ if (West == West::Up) return 3231;
+ else if (West == West::Side) return 3232;
+ else return 3233;
+ else
+ if (West == West::Up) return 3234;
+ else if (West == West::Side) return 3235;
+ else return 3236;
+ else if (Power == 3)
+ if (South == South::Up)
+ if (West == West::Up) return 3237;
+ else if (West == West::Side) return 3238;
+ else return 3239;
+ else if (South == South::Side)
+ if (West == West::Up) return 3240;
+ else if (West == West::Side) return 3241;
+ else return 3242;
+ else
+ if (West == West::Up) return 3243;
+ else if (West == West::Side) return 3244;
+ else return 3245;
+ else if (Power == 4)
+ if (South == South::Up)
+ if (West == West::Up) return 3246;
+ else if (West == West::Side) return 3247;
+ else return 3248;
+ else if (South == South::Side)
+ if (West == West::Up) return 3249;
+ else if (West == West::Side) return 3250;
+ else return 3251;
+ else
+ if (West == West::Up) return 3252;
+ else if (West == West::Side) return 3253;
+ else return 3254;
+ else if (Power == 5)
+ if (South == South::Up)
+ if (West == West::Up) return 3255;
+ else if (West == West::Side) return 3256;
+ else return 3257;
+ else if (South == South::Side)
+ if (West == West::Up) return 3258;
+ else if (West == West::Side) return 3259;
+ else return 3260;
+ else
+ if (West == West::Up) return 3261;
+ else if (West == West::Side) return 3262;
+ else return 3263;
+ else if (Power == 6)
+ if (South == South::Up)
+ if (West == West::Up) return 3264;
+ else if (West == West::Side) return 3265;
+ else return 3266;
+ else if (South == South::Side)
+ if (West == West::Up) return 3267;
+ else if (West == West::Side) return 3268;
+ else return 3269;
+ else
+ if (West == West::Up) return 3270;
+ else if (West == West::Side) return 3271;
+ else return 3272;
+ else if (Power == 7)
+ if (South == South::Up)
+ if (West == West::Up) return 3273;
+ else if (West == West::Side) return 3274;
+ else return 3275;
+ else if (South == South::Side)
+ if (West == West::Up) return 3276;
+ else if (West == West::Side) return 3277;
+ else return 3278;
+ else
+ if (West == West::Up) return 3279;
+ else if (West == West::Side) return 3280;
+ else return 3281;
+ else if (Power == 8)
+ if (South == South::Up)
+ if (West == West::Up) return 3282;
+ else if (West == West::Side) return 3283;
+ else return 3284;
+ else if (South == South::Side)
+ if (West == West::Up) return 3285;
+ else if (West == West::Side) return 3286;
+ else return 3287;
+ else
+ if (West == West::Up) return 3288;
+ else if (West == West::Side) return 3289;
+ else return 3290;
+ else if (Power == 9)
+ if (South == South::Up)
+ if (West == West::Up) return 3291;
+ else if (West == West::Side) return 3292;
+ else return 3293;
+ else if (South == South::Side)
+ if (West == West::Up) return 3294;
+ else if (West == West::Side) return 3295;
+ else return 3296;
+ else
+ if (West == West::Up) return 3297;
+ else if (West == West::Side) return 3298;
+ else return 3299;
+ else if (Power == 10)
+ if (South == South::Up)
+ if (West == West::Up) return 3300;
+ else if (West == West::Side) return 3301;
+ else return 3302;
+ else if (South == South::Side)
+ if (West == West::Up) return 3303;
+ else if (West == West::Side) return 3304;
+ else return 3305;
+ else
+ if (West == West::Up) return 3306;
+ else if (West == West::Side) return 3307;
+ else return 3308;
+ else if (Power == 11)
+ if (South == South::Up)
+ if (West == West::Up) return 3309;
+ else if (West == West::Side) return 3310;
+ else return 3311;
+ else if (South == South::Side)
+ if (West == West::Up) return 3312;
+ else if (West == West::Side) return 3313;
+ else return 3314;
+ else
+ if (West == West::Up) return 3315;
+ else if (West == West::Side) return 3316;
+ else return 3317;
+ else if (Power == 12)
+ if (South == South::Up)
+ if (West == West::Up) return 3318;
+ else if (West == West::Side) return 3319;
+ else return 3320;
+ else if (South == South::Side)
+ if (West == West::Up) return 3321;
+ else if (West == West::Side) return 3322;
+ else return 3323;
+ else
+ if (West == West::Up) return 3324;
+ else if (West == West::Side) return 3325;
+ else return 3326;
+ else if (Power == 13)
+ if (South == South::Up)
+ if (West == West::Up) return 3327;
+ else if (West == West::Side) return 3328;
+ else return 3329;
+ else if (South == South::Side)
+ if (West == West::Up) return 3330;
+ else if (West == West::Side) return 3331;
+ else return 3332;
+ else
+ if (West == West::Up) return 3333;
+ else if (West == West::Side) return 3334;
+ else return 3335;
+ else if (Power == 14)
+ if (South == South::Up)
+ if (West == West::Up) return 3336;
+ else if (West == West::Side) return 3337;
+ else return 3338;
+ else if (South == South::Side)
+ if (West == West::Up) return 3339;
+ else if (West == West::Side) return 3340;
+ else return 3341;
+ else
+ if (West == West::Up) return 3342;
+ else if (West == West::Side) return 3343;
+ else return 3344;
+ else
+ if (South == South::Up)
+ if (West == West::Up) return 3345;
+ else if (West == West::Side) return 3346;
+ else return 3347;
+ else if (South == South::Side)
+ if (West == West::Up) return 3348;
+ else if (West == West::Side) return 3349;
+ else return 3350;
+ else
+ if (West == West::Up) return 3351;
+ else if (West == West::Side) return 3352;
+ else return 3353;
+ }
+ BlockState RedstoneWire();
+ enum East East(BlockState Block);
+ enum North North(BlockState Block);
+ unsigned char Power(BlockState Block);
+ enum South South(BlockState Block);
+ enum West West(BlockState Block);
+ }
+ namespace Repeater
+ {
+ constexpr BlockState Repeater(const unsigned char Delay, const eBlockFace Facing, const bool Locked, const bool Powered)
+ {
+ if (Delay == 1)
+ if (Facing == eBlockFace::BLOCK_FACE_ZM)
+ if (Locked)
+ if (Powered) return 4031;
+ else return 4032;
+ else
+ if (Powered) return 4033;
+ else return 4034;
+ else if (Facing == eBlockFace::BLOCK_FACE_ZP)
+ if (Locked)
+ if (Powered) return 4035;
+ else return 4036;
+ else
+ if (Powered) return 4037;
+ else return 4038;
+ else if (Facing == eBlockFace::BLOCK_FACE_XM)
+ if (Locked)
+ if (Powered) return 4039;
+ else return 4040;
+ else
+ if (Powered) return 4041;
+ else return 4042;
+ else
+ if (Locked)
+ if (Powered) return 4043;
+ else return 4044;
+ else
+ if (Powered) return 4045;
+ else return 4046;
+ else if (Delay == 2)
+ if (Facing == eBlockFace::BLOCK_FACE_ZM)
+ if (Locked)
+ if (Powered) return 4047;
+ else return 4048;
+ else
+ if (Powered) return 4049;
+ else return 4050;
+ else if (Facing == eBlockFace::BLOCK_FACE_ZP)
+ if (Locked)
+ if (Powered) return 4051;
+ else return 4052;
+ else
+ if (Powered) return 4053;
+ else return 4054;
+ else if (Facing == eBlockFace::BLOCK_FACE_XM)
+ if (Locked)
+ if (Powered) return 4055;
+ else return 4056;
+ else
+ if (Powered) return 4057;
+ else return 4058;
+ else
+ if (Locked)
+ if (Powered) return 4059;
+ else return 4060;
+ else
+ if (Powered) return 4061;
+ else return 4062;
+ else if (Delay == 3)
+ if (Facing == eBlockFace::BLOCK_FACE_ZM)
+ if (Locked)
+ if (Powered) return 4063;
+ else return 4064;
+ else
+ if (Powered) return 4065;
+ else return 4066;
+ else if (Facing == eBlockFace::BLOCK_FACE_ZP)
+ if (Locked)
+ if (Powered) return 4067;
+ else return 4068;
+ else
+ if (Powered) return 4069;
+ else return 4070;
+ else if (Facing == eBlockFace::BLOCK_FACE_XM)
+ if (Locked)
+ if (Powered) return 4071;
+ else return 4072;
+ else
+ if (Powered) return 4073;
+ else return 4074;
+ else
+ if (Locked)
+ if (Powered) return 4075;
+ else return 4076;
+ else
+ if (Powered) return 4077;
+ else return 4078;
+ else
+ if (Facing == eBlockFace::BLOCK_FACE_ZM)
+ if (Locked)
+ if (Powered) return 4079;
+ else return 4080;
+ else
+ if (Powered) return 4081;
+ else return 4082;
+ else if (Facing == eBlockFace::BLOCK_FACE_ZP)
+ if (Locked)
+ if (Powered) return 4083;
+ else return 4084;
+ else
+ if (Powered) return 4085;
+ else return 4086;
+ else if (Facing == eBlockFace::BLOCK_FACE_XM)
+ if (Locked)
+ if (Powered) return 4087;
+ else return 4088;
+ else
+ if (Powered) return 4089;
+ else return 4090;
+ else
+ if (Locked)
+ if (Powered) return 4091;
+ else return 4092;
+ else
+ if (Powered) return 4093;
+ else return 4094;
+ }
+ BlockState Repeater();
+ unsigned char Delay(BlockState Block);
+ eBlockFace Facing(BlockState Block);
+ bool Locked(BlockState Block);
+ bool Powered(BlockState Block);
+ }
+ namespace RepeatingCommandBlock
+ {
+ constexpr BlockState RepeatingCommandBlock(const bool Conditional, const eBlockFace Facing)
+ {
+ if (Conditional)
+ if (Facing == eBlockFace::BLOCK_FACE_ZM) return 9225;
+ else if (Facing == eBlockFace::BLOCK_FACE_XP) return 9226;
+ else if (Facing == eBlockFace::BLOCK_FACE_ZP) return 9227;
+ else if (Facing == eBlockFace::BLOCK_FACE_XM) return 9228;
+ else if (Facing == eBlockFace::BLOCK_FACE_YP) return 9229;
+ else return 9230;
+ else
+ if (Facing == eBlockFace::BLOCK_FACE_ZM) return 9231;
+ else if (Facing == eBlockFace::BLOCK_FACE_XP) return 9232;
+ else if (Facing == eBlockFace::BLOCK_FACE_ZP) return 9233;
+ else if (Facing == eBlockFace::BLOCK_FACE_XM) return 9234;
+ else if (Facing == eBlockFace::BLOCK_FACE_YP) return 9235;
+ else return 9236;
+ }
+ BlockState RepeatingCommandBlock();
+ bool Conditional(BlockState Block);
+ eBlockFace Facing(BlockState Block);
+ }
+ namespace RespawnAnchor
+ {
+ constexpr BlockState RespawnAnchor(const unsigned char Charges)
+ {
+ if (Charges == 0) return 15829;
+ else if (Charges == 1) return 15830;
+ else if (Charges == 2) return 15831;
+ else if (Charges == 3) return 15832;
+ else return 15833;
+ }
+ BlockState RespawnAnchor();
+ unsigned char Charges(BlockState Block);
+ }
+ namespace RoseBush
+ {
+ enum class Half
+ {
+ Upper,
+ Lower
+ };
+ constexpr BlockState RoseBush(const enum Half Half)
+ {
+ if (Half == Half::Upper) return 7889;
+ else return 7890;
+ }
+ BlockState RoseBush();
+ enum Half Half(BlockState Block);
+ }
+ namespace Sand
+ {
+ constexpr BlockState Sand()
+ {
+ return 66;
+ }
+ }
+ namespace Sandstone
+ {
+ constexpr BlockState Sandstone()
+ {
+ return 246;
+ }
+ }
+ namespace SandstoneSlab
+ {
+ enum class Type
+ {
+ Top,
+ Bottom,
+ Double
+ };
+ constexpr BlockState SandstoneSlab(const enum Type Type)
+ {
+ if (Type == Type::Top) return 8349;
+ else if (Type == Type::Bottom) return 8351;
+ else return 8353;
+ }
+ BlockState SandstoneSlab();
+ enum Type Type(BlockState Block);
+ }
+ namespace SandstoneStairs
+ {
+ enum class Half
+ {
+ Top,
+ Bottom
+ };
+ enum class Shape
+ {
+ Straight,
+ InnerLeft,
+ InnerRight,
+ OuterLeft,
+ OuterRight
+ };
+ constexpr BlockState SandstoneStairs(const eBlockFace Facing, const enum Half Half, const enum Shape Shape)
+ {
+ if (Facing == eBlockFace::BLOCK_FACE_ZM)
+ if (Half == Half::Top)
+ if (Shape == Shape::Straight) return 5171;
+ else if (Shape == Shape::InnerLeft) return 5173;
+ else if (Shape == Shape::InnerRight) return 5175;
+ else if (Shape == Shape::OuterLeft) return 5177;
+ else return 5179;
+ else
+ if (Shape == Shape::Straight) return 5181;
+ else if (Shape == Shape::InnerLeft) return 5183;
+ else if (Shape == Shape::InnerRight) return 5185;
+ else if (Shape == Shape::OuterLeft) return 5187;
+ else return 5189;
+ else if (Facing == eBlockFace::BLOCK_FACE_ZP)
+ if (Half == Half::Top)
+ if (Shape == Shape::Straight) return 5191;
+ else if (Shape == Shape::InnerLeft) return 5193;
+ else if (Shape == Shape::InnerRight) return 5195;
+ else if (Shape == Shape::OuterLeft) return 5197;
+ else return 5199;
+ else
+ if (Shape == Shape::Straight) return 5201;
+ else if (Shape == Shape::InnerLeft) return 5203;
+ else if (Shape == Shape::InnerRight) return 5205;
+ else if (Shape == Shape::OuterLeft) return 5207;
+ else return 5209;
+ else if (Facing == eBlockFace::BLOCK_FACE_XM)
+ if (Half == Half::Top)
+ if (Shape == Shape::Straight) return 5211;
+ else if (Shape == Shape::InnerLeft) return 5213;
+ else if (Shape == Shape::InnerRight) return 5215;
+ else if (Shape == Shape::OuterLeft) return 5217;
+ else return 5219;
+ else
+ if (Shape == Shape::Straight) return 5221;
+ else if (Shape == Shape::InnerLeft) return 5223;
+ else if (Shape == Shape::InnerRight) return 5225;
+ else if (Shape == Shape::OuterLeft) return 5227;
+ else return 5229;
+ else
+ if (Half == Half::Top)
+ if (Shape == Shape::Straight) return 5231;
+ else if (Shape == Shape::InnerLeft) return 5233;
+ else if (Shape == Shape::InnerRight) return 5235;
+ else if (Shape == Shape::OuterLeft) return 5237;
+ else return 5239;
+ else
+ if (Shape == Shape::Straight) return 5241;
+ else if (Shape == Shape::InnerLeft) return 5243;
+ else if (Shape == Shape::InnerRight) return 5245;
+ else if (Shape == Shape::OuterLeft) return 5247;
+ else return 5249;
+ }
+ BlockState SandstoneStairs();
+ eBlockFace Facing(BlockState Block);
+ enum Half Half(BlockState Block);
+ enum Shape Shape(BlockState Block);
+ }
+ namespace SandstoneWall
+ {
+ enum class East
+ {
+ None,
+ Low,
+ Tall
+ };
+ enum class North
+ {
+ None,
+ Low,
+ Tall
+ };
+ enum class South
+ {
+ None,
+ Low,
+ Tall
+ };
+ enum class West
+ {
+ None,
+ Low,
+ Tall
+ };
+ constexpr BlockState SandstoneWall(const enum East East, const enum North North, const enum South South, const bool Up, const enum West West)
+ {
+ if (East == East::None)
+ if (North == North::None)
+ if (South == South::None)
+ if (Up)
+ if (West == West::None) return 13786;
+ else if (West == West::Low) return 13787;
+ else return 13788;
+ else
+ if (West == West::None) return 13792;
+ else if (West == West::Low) return 13793;
+ else return 13794;
+ else if (South == South::Low)
+ if (Up)
+ if (West == West::None) return 13798;
+ else if (West == West::Low) return 13799;
+ else return 13800;
+ else
+ if (West == West::None) return 13804;
+ else if (West == West::Low) return 13805;
+ else return 13806;
+ else
+ if (Up)
+ if (West == West::None) return 13810;
+ else if (West == West::Low) return 13811;
+ else return 13812;
+ else
+ if (West == West::None) return 13816;
+ else if (West == West::Low) return 13817;
+ else return 13818;
+ else if (North == North::Low)
+ if (South == South::None)
+ if (Up)
+ if (West == West::None) return 13822;
+ else if (West == West::Low) return 13823;
+ else return 13824;
+ else
+ if (West == West::None) return 13828;
+ else if (West == West::Low) return 13829;
+ else return 13830;
+ else if (South == South::Low)
+ if (Up)
+ if (West == West::None) return 13834;
+ else if (West == West::Low) return 13835;
+ else return 13836;
+ else
+ if (West == West::None) return 13840;
+ else if (West == West::Low) return 13841;
+ else return 13842;
+ else
+ if (Up)
+ if (West == West::None) return 13846;
+ else if (West == West::Low) return 13847;
+ else return 13848;
+ else
+ if (West == West::None) return 13852;
+ else if (West == West::Low) return 13853;
+ else return 13854;
+ else
+ if (South == South::None)
+ if (Up)
+ if (West == West::None) return 13858;
+ else if (West == West::Low) return 13859;
+ else return 13860;
+ else
+ if (West == West::None) return 13864;
+ else if (West == West::Low) return 13865;
+ else return 13866;
+ else if (South == South::Low)
+ if (Up)
+ if (West == West::None) return 13870;
+ else if (West == West::Low) return 13871;
+ else return 13872;
+ else
+ if (West == West::None) return 13876;
+ else if (West == West::Low) return 13877;
+ else return 13878;
+ else
+ if (Up)
+ if (West == West::None) return 13882;
+ else if (West == West::Low) return 13883;
+ else return 13884;
+ else
+ if (West == West::None) return 13888;
+ else if (West == West::Low) return 13889;
+ else return 13890;
+ else if (East == East::Low)
+ if (North == North::None)
+ if (South == South::None)
+ if (Up)
+ if (West == West::None) return 13894;
+ else if (West == West::Low) return 13895;
+ else return 13896;
+ else
+ if (West == West::None) return 13900;
+ else if (West == West::Low) return 13901;
+ else return 13902;
+ else if (South == South::Low)
+ if (Up)
+ if (West == West::None) return 13906;
+ else if (West == West::Low) return 13907;
+ else return 13908;
+ else
+ if (West == West::None) return 13912;
+ else if (West == West::Low) return 13913;
+ else return 13914;
+ else
+ if (Up)
+ if (West == West::None) return 13918;
+ else if (West == West::Low) return 13919;
+ else return 13920;
+ else
+ if (West == West::None) return 13924;
+ else if (West == West::Low) return 13925;
+ else return 13926;
+ else if (North == North::Low)
+ if (South == South::None)
+ if (Up)
+ if (West == West::None) return 13930;
+ else if (West == West::Low) return 13931;
+ else return 13932;
+ else
+ if (West == West::None) return 13936;
+ else if (West == West::Low) return 13937;
+ else return 13938;
+ else if (South == South::Low)
+ if (Up)
+ if (West == West::None) return 13942;
+ else if (West == West::Low) return 13943;
+ else return 13944;
+ else
+ if (West == West::None) return 13948;
+ else if (West == West::Low) return 13949;
+ else return 13950;
+ else
+ if (Up)
+ if (West == West::None) return 13954;
+ else if (West == West::Low) return 13955;
+ else return 13956;
+ else
+ if (West == West::None) return 13960;
+ else if (West == West::Low) return 13961;
+ else return 13962;
+ else
+ if (South == South::None)
+ if (Up)
+ if (West == West::None) return 13966;
+ else if (West == West::Low) return 13967;
+ else return 13968;
+ else
+ if (West == West::None) return 13972;
+ else if (West == West::Low) return 13973;
+ else return 13974;
+ else if (South == South::Low)
+ if (Up)
+ if (West == West::None) return 13978;
+ else if (West == West::Low) return 13979;
+ else return 13980;
+ else
+ if (West == West::None) return 13984;
+ else if (West == West::Low) return 13985;
+ else return 13986;
+ else
+ if (Up)
+ if (West == West::None) return 13990;
+ else if (West == West::Low) return 13991;
+ else return 13992;
+ else
+ if (West == West::None) return 13996;
+ else if (West == West::Low) return 13997;
+ else return 13998;
+ else
+ if (North == North::None)
+ if (South == South::None)
+ if (Up)
+ if (West == West::None) return 14002;
+ else if (West == West::Low) return 14003;
+ else return 14004;
+ else
+ if (West == West::None) return 14008;
+ else if (West == West::Low) return 14009;
+ else return 14010;
+ else if (South == South::Low)
+ if (Up)
+ if (West == West::None) return 14014;
+ else if (West == West::Low) return 14015;
+ else return 14016;
+ else
+ if (West == West::None) return 14020;
+ else if (West == West::Low) return 14021;
+ else return 14022;
+ else
+ if (Up)
+ if (West == West::None) return 14026;
+ else if (West == West::Low) return 14027;
+ else return 14028;
+ else
+ if (West == West::None) return 14032;
+ else if (West == West::Low) return 14033;
+ else return 14034;
+ else if (North == North::Low)
+ if (South == South::None)
+ if (Up)
+ if (West == West::None) return 14038;
+ else if (West == West::Low) return 14039;
+ else return 14040;
+ else
+ if (West == West::None) return 14044;
+ else if (West == West::Low) return 14045;
+ else return 14046;
+ else if (South == South::Low)
+ if (Up)
+ if (West == West::None) return 14050;
+ else if (West == West::Low) return 14051;
+ else return 14052;
+ else
+ if (West == West::None) return 14056;
+ else if (West == West::Low) return 14057;
+ else return 14058;
+ else
+ if (Up)
+ if (West == West::None) return 14062;
+ else if (West == West::Low) return 14063;
+ else return 14064;
+ else
+ if (West == West::None) return 14068;
+ else if (West == West::Low) return 14069;
+ else return 14070;
+ else
+ if (South == South::None)
+ if (Up)
+ if (West == West::None) return 14074;
+ else if (West == West::Low) return 14075;
+ else return 14076;
+ else
+ if (West == West::None) return 14080;
+ else if (West == West::Low) return 14081;
+ else return 14082;
+ else if (South == South::Low)
+ if (Up)
+ if (West == West::None) return 14086;
+ else if (West == West::Low) return 14087;
+ else return 14088;
+ else
+ if (West == West::None) return 14092;
+ else if (West == West::Low) return 14093;
+ else return 14094;
+ else
+ if (Up)
+ if (West == West::None) return 14098;
+ else if (West == West::Low) return 14099;
+ else return 14100;
+ else
+ if (West == West::None) return 14104;
+ else if (West == West::Low) return 14105;
+ else return 14106;
+ }
+ BlockState SandstoneWall();
+ enum East East(BlockState Block);
+ enum North North(BlockState Block);
+ enum South South(BlockState Block);
+ bool Up(BlockState Block);
+ enum West West(BlockState Block);
+ }
+ namespace Scaffolding
+ {
+ constexpr BlockState Scaffolding(const bool Bottom, const unsigned char Distance)
+ {
+ if (Bottom)
+ if (Distance == 0) return 14756;
+ else if (Distance == 1) return 14758;
+ else if (Distance == 2) return 14760;
+ else if (Distance == 3) return 14762;
+ else if (Distance == 4) return 14764;
+ else if (Distance == 5) return 14766;
+ else if (Distance == 6) return 14768;
+ else return 14770;
+ else
+ if (Distance == 0) return 14772;
+ else if (Distance == 1) return 14774;
+ else if (Distance == 2) return 14776;
+ else if (Distance == 3) return 14778;
+ else if (Distance == 4) return 14780;
+ else if (Distance == 5) return 14782;
+ else if (Distance == 6) return 14784;
+ else return 14786;
+ }
+ BlockState Scaffolding();
+ bool Bottom(BlockState Block);
+ unsigned char Distance(BlockState Block);
+ }
+ namespace SeaLantern
+ {
+ constexpr BlockState SeaLantern()
+ {
+ return 7862;
+ }
+ }
+ namespace SeaPickle
+ {
+ constexpr BlockState SeaPickle(const unsigned char Pickles)
+ {
+ if (Pickles == 1) return 9641;
+ else if (Pickles == 2) return 9643;
+ else if (Pickles == 3) return 9645;
+ else return 9647;
+ }
+ BlockState SeaPickle();
+ unsigned char Pickles(BlockState Block);
+ }
+ namespace Seagrass
+ {
+ constexpr BlockState Seagrass()
+ {
+ return 1345;
+ }
+ }
+ namespace Shroomlight
+ {
+ constexpr BlockState Shroomlight()
+ {
+ return 14989;
+ }
+ }
+ namespace ShulkerBox
+ {
+ constexpr BlockState ShulkerBox(const eBlockFace Facing)
+ {
+ if (Facing == eBlockFace::BLOCK_FACE_ZM) return 9272;
+ else if (Facing == eBlockFace::BLOCK_FACE_XP) return 9273;
+ else if (Facing == eBlockFace::BLOCK_FACE_ZP) return 9274;
+ else if (Facing == eBlockFace::BLOCK_FACE_XM) return 9275;
+ else if (Facing == eBlockFace::BLOCK_FACE_YP) return 9276;
+ else return 9277;
+ }
+ BlockState ShulkerBox();
+ eBlockFace Facing(BlockState Block);
+ }
+ namespace SkeletonSkull
+ {
+ constexpr BlockState SkeletonSkull(const unsigned char Rotation)
+ {
+ if (Rotation == 0) return 6490;
+ else if (Rotation == 1) return 6491;
+ else if (Rotation == 2) return 6492;
+ else if (Rotation == 3) return 6493;
+ else if (Rotation == 4) return 6494;
+ else if (Rotation == 5) return 6495;
+ else if (Rotation == 6) return 6496;
+ else if (Rotation == 7) return 6497;
+ else if (Rotation == 8) return 6498;
+ else if (Rotation == 9) return 6499;
+ else if (Rotation == 10) return 6500;
+ else if (Rotation == 11) return 6501;
+ else if (Rotation == 12) return 6502;
+ else if (Rotation == 13) return 6503;
+ else if (Rotation == 14) return 6504;
+ else return 6505;
+ }
+ BlockState SkeletonSkull();
+ unsigned char Rotation(BlockState Block);
+ }
+ namespace SkeletonWallSkull
+ {
+ constexpr BlockState SkeletonWallSkull(const eBlockFace Facing)
+ {
+ if (Facing == eBlockFace::BLOCK_FACE_ZM) return 6506;
+ else if (Facing == eBlockFace::BLOCK_FACE_ZP) return 6507;
+ else if (Facing == eBlockFace::BLOCK_FACE_XM) return 6508;
+ else return 6509;
+ }
+ BlockState SkeletonWallSkull();
+ eBlockFace Facing(BlockState Block);
+ }
+ namespace SlimeBlock
+ {
+ constexpr BlockState SlimeBlock()
+ {
+ return 7535;
+ }
+ }
+ namespace SmithingTable
+ {
+ constexpr BlockState SmithingTable()
+ {
+ return 14849;
+ }
+ }
+ namespace Smoker
+ {
+ constexpr BlockState Smoker(const eBlockFace Facing, const bool Lit)
+ {
+ if (Facing == eBlockFace::BLOCK_FACE_ZM)
+ if (Lit) return 14803;
+ else return 14804;
+ else if (Facing == eBlockFace::BLOCK_FACE_ZP)
+ if (Lit) return 14805;
+ else return 14806;
+ else if (Facing == eBlockFace::BLOCK_FACE_XM)
+ if (Lit) return 14807;
+ else return 14808;
+ else
+ if (Lit) return 14809;
+ else return 14810;
+ }
+ BlockState Smoker();
+ eBlockFace Facing(BlockState Block);
+ bool Lit(BlockState Block);
+ }
+ namespace SmoothQuartz
+ {
+ constexpr BlockState SmoothQuartz()
+ {
+ return 8416;
+ }
+ }
+ namespace SmoothQuartzSlab
+ {
+ enum class Type
+ {
+ Top,
+ Bottom,
+ Double
+ };
+ constexpr BlockState SmoothQuartzSlab(const enum Type Type)
+ {
+ if (Type == Type::Top) return 10832;
+ else if (Type == Type::Bottom) return 10834;
+ else return 10836;
+ }
+ BlockState SmoothQuartzSlab();
+ enum Type Type(BlockState Block);
+ }
+ namespace SmoothQuartzStairs
+ {
+ enum class Half
+ {
+ Top,
+ Bottom
+ };
+ enum class Shape
+ {
+ Straight,
+ InnerLeft,
+ InnerRight,
+ OuterLeft,
+ OuterRight
+ };
+ constexpr BlockState SmoothQuartzStairs(const eBlockFace Facing, const enum Half Half, const enum Shape Shape)
+ {
+ if (Facing == eBlockFace::BLOCK_FACE_ZM)
+ if (Half == Half::Top)
+ if (Shape == Shape::Straight) return 10310;
+ else if (Shape == Shape::InnerLeft) return 10312;
+ else if (Shape == Shape::InnerRight) return 10314;
+ else if (Shape == Shape::OuterLeft) return 10316;
+ else return 10318;
+ else
+ if (Shape == Shape::Straight) return 10320;
+ else if (Shape == Shape::InnerLeft) return 10322;
+ else if (Shape == Shape::InnerRight) return 10324;
+ else if (Shape == Shape::OuterLeft) return 10326;
+ else return 10328;
+ else if (Facing == eBlockFace::BLOCK_FACE_ZP)
+ if (Half == Half::Top)
+ if (Shape == Shape::Straight) return 10330;
+ else if (Shape == Shape::InnerLeft) return 10332;
+ else if (Shape == Shape::InnerRight) return 10334;
+ else if (Shape == Shape::OuterLeft) return 10336;
+ else return 10338;
+ else
+ if (Shape == Shape::Straight) return 10340;
+ else if (Shape == Shape::InnerLeft) return 10342;
+ else if (Shape == Shape::InnerRight) return 10344;
+ else if (Shape == Shape::OuterLeft) return 10346;
+ else return 10348;
+ else if (Facing == eBlockFace::BLOCK_FACE_XM)
+ if (Half == Half::Top)
+ if (Shape == Shape::Straight) return 10350;
+ else if (Shape == Shape::InnerLeft) return 10352;
+ else if (Shape == Shape::InnerRight) return 10354;
+ else if (Shape == Shape::OuterLeft) return 10356;
+ else return 10358;
+ else
+ if (Shape == Shape::Straight) return 10360;
+ else if (Shape == Shape::InnerLeft) return 10362;
+ else if (Shape == Shape::InnerRight) return 10364;
+ else if (Shape == Shape::OuterLeft) return 10366;
+ else return 10368;
+ else
+ if (Half == Half::Top)
+ if (Shape == Shape::Straight) return 10370;
+ else if (Shape == Shape::InnerLeft) return 10372;
+ else if (Shape == Shape::InnerRight) return 10374;
+ else if (Shape == Shape::OuterLeft) return 10376;
+ else return 10378;
+ else
+ if (Shape == Shape::Straight) return 10380;
+ else if (Shape == Shape::InnerLeft) return 10382;
+ else if (Shape == Shape::InnerRight) return 10384;
+ else if (Shape == Shape::OuterLeft) return 10386;
+ else return 10388;
+ }
+ BlockState SmoothQuartzStairs();
+ eBlockFace Facing(BlockState Block);
+ enum Half Half(BlockState Block);
+ enum Shape Shape(BlockState Block);
+ }
+ namespace SmoothRedSandstone
+ {
+ constexpr BlockState SmoothRedSandstone()
+ {
+ return 8417;
+ }
+ }
+ namespace SmoothRedSandstoneSlab
+ {
+ enum class Type
+ {
+ Top,
+ Bottom,
+ Double
+ };
+ constexpr BlockState SmoothRedSandstoneSlab(const enum Type Type)
+ {
+ if (Type == Type::Top) return 10796;
+ else if (Type == Type::Bottom) return 10798;
+ else return 10800;
+ }
+ BlockState SmoothRedSandstoneSlab();
+ enum Type Type(BlockState Block);
+ }
+ namespace SmoothRedSandstoneStairs
+ {
+ enum class Half
+ {
+ Top,
+ Bottom
+ };
+ enum class Shape
+ {
+ Straight,
+ InnerLeft,
+ InnerRight,
+ OuterLeft,
+ OuterRight
+ };
+ constexpr BlockState SmoothRedSandstoneStairs(const eBlockFace Facing, const enum Half Half, const enum Shape Shape)
+ {
+ if (Facing == eBlockFace::BLOCK_FACE_ZM)
+ if (Half == Half::Top)
+ if (Shape == Shape::Straight) return 9750;
+ else if (Shape == Shape::InnerLeft) return 9752;
+ else if (Shape == Shape::InnerRight) return 9754;
+ else if (Shape == Shape::OuterLeft) return 9756;
+ else return 9758;
+ else
+ if (Shape == Shape::Straight) return 9760;
+ else if (Shape == Shape::InnerLeft) return 9762;
+ else if (Shape == Shape::InnerRight) return 9764;
+ else if (Shape == Shape::OuterLeft) return 9766;
+ else return 9768;
+ else if (Facing == eBlockFace::BLOCK_FACE_ZP)
+ if (Half == Half::Top)
+ if (Shape == Shape::Straight) return 9770;
+ else if (Shape == Shape::InnerLeft) return 9772;
+ else if (Shape == Shape::InnerRight) return 9774;
+ else if (Shape == Shape::OuterLeft) return 9776;
+ else return 9778;
+ else
+ if (Shape == Shape::Straight) return 9780;
+ else if (Shape == Shape::InnerLeft) return 9782;
+ else if (Shape == Shape::InnerRight) return 9784;
+ else if (Shape == Shape::OuterLeft) return 9786;
+ else return 9788;
+ else if (Facing == eBlockFace::BLOCK_FACE_XM)
+ if (Half == Half::Top)
+ if (Shape == Shape::Straight) return 9790;
+ else if (Shape == Shape::InnerLeft) return 9792;
+ else if (Shape == Shape::InnerRight) return 9794;
+ else if (Shape == Shape::OuterLeft) return 9796;
+ else return 9798;
+ else
+ if (Shape == Shape::Straight) return 9800;
+ else if (Shape == Shape::InnerLeft) return 9802;
+ else if (Shape == Shape::InnerRight) return 9804;
+ else if (Shape == Shape::OuterLeft) return 9806;
+ else return 9808;
+ else
+ if (Half == Half::Top)
+ if (Shape == Shape::Straight) return 9810;
+ else if (Shape == Shape::InnerLeft) return 9812;
+ else if (Shape == Shape::InnerRight) return 9814;
+ else if (Shape == Shape::OuterLeft) return 9816;
+ else return 9818;
+ else
+ if (Shape == Shape::Straight) return 9820;
+ else if (Shape == Shape::InnerLeft) return 9822;
+ else if (Shape == Shape::InnerRight) return 9824;
+ else if (Shape == Shape::OuterLeft) return 9826;
+ else return 9828;
+ }
+ BlockState SmoothRedSandstoneStairs();
+ eBlockFace Facing(BlockState Block);
+ enum Half Half(BlockState Block);
+ enum Shape Shape(BlockState Block);
+ }
+ namespace SmoothSandstone
+ {
+ constexpr BlockState SmoothSandstone()
+ {
+ return 8415;
+ }
+ }
+ namespace SmoothSandstoneSlab
+ {
+ enum class Type
+ {
+ Top,
+ Bottom,
+ Double
+ };
+ constexpr BlockState SmoothSandstoneSlab(const enum Type Type)
+ {
+ if (Type == Type::Top) return 10826;
+ else if (Type == Type::Bottom) return 10828;
+ else return 10830;
+ }
+ BlockState SmoothSandstoneSlab();
+ enum Type Type(BlockState Block);
+ }
+ namespace SmoothSandstoneStairs
+ {
+ enum class Half
+ {
+ Top,
+ Bottom
+ };
+ enum class Shape
+ {
+ Straight,
+ InnerLeft,
+ InnerRight,
+ OuterLeft,
+ OuterRight
+ };
+ constexpr BlockState SmoothSandstoneStairs(const eBlockFace Facing, const enum Half Half, const enum Shape Shape)
+ {
+ if (Facing == eBlockFace::BLOCK_FACE_ZM)
+ if (Half == Half::Top)
+ if (Shape == Shape::Straight) return 10230;
+ else if (Shape == Shape::InnerLeft) return 10232;
+ else if (Shape == Shape::InnerRight) return 10234;
+ else if (Shape == Shape::OuterLeft) return 10236;
+ else return 10238;
+ else
+ if (Shape == Shape::Straight) return 10240;
+ else if (Shape == Shape::InnerLeft) return 10242;
+ else if (Shape == Shape::InnerRight) return 10244;
+ else if (Shape == Shape::OuterLeft) return 10246;
+ else return 10248;
+ else if (Facing == eBlockFace::BLOCK_FACE_ZP)
+ if (Half == Half::Top)
+ if (Shape == Shape::Straight) return 10250;
+ else if (Shape == Shape::InnerLeft) return 10252;
+ else if (Shape == Shape::InnerRight) return 10254;
+ else if (Shape == Shape::OuterLeft) return 10256;
+ else return 10258;
+ else
+ if (Shape == Shape::Straight) return 10260;
+ else if (Shape == Shape::InnerLeft) return 10262;
+ else if (Shape == Shape::InnerRight) return 10264;
+ else if (Shape == Shape::OuterLeft) return 10266;
+ else return 10268;
+ else if (Facing == eBlockFace::BLOCK_FACE_XM)
+ if (Half == Half::Top)
+ if (Shape == Shape::Straight) return 10270;
+ else if (Shape == Shape::InnerLeft) return 10272;
+ else if (Shape == Shape::InnerRight) return 10274;
+ else if (Shape == Shape::OuterLeft) return 10276;
+ else return 10278;
+ else
+ if (Shape == Shape::Straight) return 10280;
+ else if (Shape == Shape::InnerLeft) return 10282;
+ else if (Shape == Shape::InnerRight) return 10284;
+ else if (Shape == Shape::OuterLeft) return 10286;
+ else return 10288;
+ else
+ if (Half == Half::Top)
+ if (Shape == Shape::Straight) return 10290;
+ else if (Shape == Shape::InnerLeft) return 10292;
+ else if (Shape == Shape::InnerRight) return 10294;
+ else if (Shape == Shape::OuterLeft) return 10296;
+ else return 10298;
+ else
+ if (Shape == Shape::Straight) return 10300;
+ else if (Shape == Shape::InnerLeft) return 10302;
+ else if (Shape == Shape::InnerRight) return 10304;
+ else if (Shape == Shape::OuterLeft) return 10306;
+ else return 10308;
+ }
+ BlockState SmoothSandstoneStairs();
+ eBlockFace Facing(BlockState Block);
+ enum Half Half(BlockState Block);
+ enum Shape Shape(BlockState Block);
+ }
+ namespace SmoothStone
+ {
+ constexpr BlockState SmoothStone()
+ {
+ return 8414;
+ }
+ }
+ namespace SmoothStoneSlab
+ {
+ enum class Type
+ {
+ Top,
+ Bottom,
+ Double
+ };
+ constexpr BlockState SmoothStoneSlab(const enum Type Type)
+ {
+ if (Type == Type::Top) return 8343;
+ else if (Type == Type::Bottom) return 8345;
+ else return 8347;
+ }
+ BlockState SmoothStoneSlab();
+ enum Type Type(BlockState Block);
+ }
+ namespace Snow
+ {
+ constexpr BlockState Snow(const unsigned char Layers)
+ {
+ if (Layers == 1) return 3921;
+ else if (Layers == 2) return 3922;
+ else if (Layers == 3) return 3923;
+ else if (Layers == 4) return 3924;
+ else if (Layers == 5) return 3925;
+ else if (Layers == 6) return 3926;
+ else if (Layers == 7) return 3927;
+ else return 3928;
+ }
+ BlockState Snow();
+ unsigned char Layers(BlockState Block);
+ }
+ namespace SnowBlock
+ {
+ constexpr BlockState SnowBlock()
+ {
+ return 3930;
+ }
+ }
+ namespace SoulCampfire
+ {
+ constexpr BlockState SoulCampfire(const eBlockFace Facing, const bool Lit, const bool SignalFire)
+ {
+ if (Facing == eBlockFace::BLOCK_FACE_ZM)
+ if (Lit)
+ if (SignalFire) return 14923;
+ else return 14925;
+ else
+ if (SignalFire) return 14927;
+ else return 14929;
+ else if (Facing == eBlockFace::BLOCK_FACE_ZP)
+ if (Lit)
+ if (SignalFire) return 14931;
+ else return 14933;
+ else
+ if (SignalFire) return 14935;
+ else return 14937;
+ else if (Facing == eBlockFace::BLOCK_FACE_XM)
+ if (Lit)
+ if (SignalFire) return 14939;
+ else return 14941;
+ else
+ if (SignalFire) return 14943;
+ else return 14945;
+ else
+ if (Lit)
+ if (SignalFire) return 14947;
+ else return 14949;
+ else
+ if (SignalFire) return 14951;
+ else return 14953;
+ }
+ BlockState SoulCampfire();
+ eBlockFace Facing(BlockState Block);
+ bool Lit(BlockState Block);
+ bool SignalFire(BlockState Block);
+ }
+ namespace SoulFire
+ {
+ constexpr BlockState SoulFire()
+ {
+ return 1952;
+ }
+ }
+ namespace SoulLantern
+ {
+ constexpr BlockState SoulLantern(const bool Hanging)
+ {
+ if (Hanging) return 14888;
+ else return 14889;
+ }
+ BlockState SoulLantern();
+ bool Hanging(BlockState Block);
+ }
+ namespace SoulSand
+ {
+ constexpr BlockState SoulSand()
+ {
+ return 4000;
+ }
+ }
+ namespace SoulSoil
+ {
+ constexpr BlockState SoulSoil()
+ {
+ return 4001;
+ }
+ }
+ namespace SoulTorch
+ {
+ constexpr BlockState SoulTorch()
+ {
+ return 4008;
+ }
+ }
+ namespace SoulWallTorch
+ {
+ constexpr BlockState SoulWallTorch(const eBlockFace Facing)
+ {
+ if (Facing == eBlockFace::BLOCK_FACE_ZM) return 4009;
+ else if (Facing == eBlockFace::BLOCK_FACE_ZP) return 4010;
+ else if (Facing == eBlockFace::BLOCK_FACE_XM) return 4011;
+ else return 4012;
+ }
+ BlockState SoulWallTorch();
+ eBlockFace Facing(BlockState Block);
+ }
+ namespace Spawner
+ {
+ constexpr BlockState Spawner()
+ {
+ return 1953;
+ }
+ }
+ namespace Sponge
+ {
+ constexpr BlockState Sponge()
+ {
+ return 229;
+ }
+ }
+ namespace SpruceButton
+ {
+ enum class Face
+ {
+ Floor,
+ Wall,
+ Ceiling
+ };
+ constexpr BlockState SpruceButton(const enum Face Face, const eBlockFace Facing, const bool Powered)
+ {
+ if (Face == Face::Floor)
+ if (Facing == eBlockFace::BLOCK_FACE_ZM)
+ if (Powered) return 6370;
+ else return 6371;
+ else if (Facing == eBlockFace::BLOCK_FACE_ZP)
+ if (Powered) return 6372;
+ else return 6373;
+ else if (Facing == eBlockFace::BLOCK_FACE_XM)
+ if (Powered) return 6374;
+ else return 6375;
+ else
+ if (Powered) return 6376;
+ else return 6377;
+ else if (Face == Face::Wall)
+ if (Facing == eBlockFace::BLOCK_FACE_ZM)
+ if (Powered) return 6378;
+ else return 6379;
+ else if (Facing == eBlockFace::BLOCK_FACE_ZP)
+ if (Powered) return 6380;
+ else return 6381;
+ else if (Facing == eBlockFace::BLOCK_FACE_XM)
+ if (Powered) return 6382;
+ else return 6383;
+ else
+ if (Powered) return 6384;
+ else return 6385;
+ else
+ if (Facing == eBlockFace::BLOCK_FACE_ZM)
+ if (Powered) return 6386;
+ else return 6387;
+ else if (Facing == eBlockFace::BLOCK_FACE_ZP)
+ if (Powered) return 6388;
+ else return 6389;
+ else if (Facing == eBlockFace::BLOCK_FACE_XM)
+ if (Powered) return 6390;
+ else return 6391;
+ else
+ if (Powered) return 6392;
+ else return 6393;
+ }
+ BlockState SpruceButton();
+ enum Face Face(BlockState Block);
+ eBlockFace Facing(BlockState Block);
+ bool Powered(BlockState Block);
+ }
+ namespace SpruceDoor
+ {
+ enum class Half
+ {
+ Upper,
+ Lower
+ };
+ enum class Hinge
+ {
+ Left,
+ Right
+ };
+ constexpr BlockState SpruceDoor(const eBlockFace Facing, const enum Half Half, const enum Hinge Hinge, const bool Open, const bool Powered)
+ {
+ if (Facing == eBlockFace::BLOCK_FACE_ZM)
+ if (Half == Half::Upper)
+ if (Hinge == Hinge::Left)
+ if (Open)
+ if (Powered) return 8738;
+ else return 8739;
+ else
+ if (Powered) return 8740;
+ else return 8741;
+ else
+ if (Open)
+ if (Powered) return 8742;
+ else return 8743;
+ else
+ if (Powered) return 8744;
+ else return 8745;
+ else
+ if (Hinge == Hinge::Left)
+ if (Open)
+ if (Powered) return 8746;
+ else return 8747;
+ else
+ if (Powered) return 8748;
+ else return 8749;
+ else
+ if (Open)
+ if (Powered) return 8750;
+ else return 8751;
+ else
+ if (Powered) return 8752;
+ else return 8753;
+ else if (Facing == eBlockFace::BLOCK_FACE_ZP)
+ if (Half == Half::Upper)
+ if (Hinge == Hinge::Left)
+ if (Open)
+ if (Powered) return 8754;
+ else return 8755;
+ else
+ if (Powered) return 8756;
+ else return 8757;
+ else
+ if (Open)
+ if (Powered) return 8758;
+ else return 8759;
+ else
+ if (Powered) return 8760;
+ else return 8761;
+ else
+ if (Hinge == Hinge::Left)
+ if (Open)
+ if (Powered) return 8762;
+ else return 8763;
+ else
+ if (Powered) return 8764;
+ else return 8765;
+ else
+ if (Open)
+ if (Powered) return 8766;
+ else return 8767;
+ else
+ if (Powered) return 8768;
+ else return 8769;
+ else if (Facing == eBlockFace::BLOCK_FACE_XM)
+ if (Half == Half::Upper)
+ if (Hinge == Hinge::Left)
+ if (Open)
+ if (Powered) return 8770;
+ else return 8771;
+ else
+ if (Powered) return 8772;
+ else return 8773;
+ else
+ if (Open)
+ if (Powered) return 8774;
+ else return 8775;
+ else
+ if (Powered) return 8776;
+ else return 8777;
+ else
+ if (Hinge == Hinge::Left)
+ if (Open)
+ if (Powered) return 8778;
+ else return 8779;
+ else
+ if (Powered) return 8780;
+ else return 8781;
+ else
+ if (Open)
+ if (Powered) return 8782;
+ else return 8783;
+ else
+ if (Powered) return 8784;
+ else return 8785;
+ else
+ if (Half == Half::Upper)
+ if (Hinge == Hinge::Left)
+ if (Open)
+ if (Powered) return 8786;
+ else return 8787;
+ else
+ if (Powered) return 8788;
+ else return 8789;
+ else
+ if (Open)
+ if (Powered) return 8790;
+ else return 8791;
+ else
+ if (Powered) return 8792;
+ else return 8793;
+ else
+ if (Hinge == Hinge::Left)
+ if (Open)
+ if (Powered) return 8794;
+ else return 8795;
+ else
+ if (Powered) return 8796;
+ else return 8797;
+ else
+ if (Open)
+ if (Powered) return 8798;
+ else return 8799;
+ else
+ if (Powered) return 8800;
+ else return 8801;
+ }
+ BlockState SpruceDoor();
+ eBlockFace Facing(BlockState Block);
+ enum Half Half(BlockState Block);
+ enum Hinge Hinge(BlockState Block);
+ bool Open(BlockState Block);
+ bool Powered(BlockState Block);
+ }
+ namespace SpruceFence
+ {
+ constexpr BlockState SpruceFence(const bool East, const bool North, const bool South, const bool West)
+ {
+ if (East)
+ if (North)
+ if (South)
+ if (West) return 8580;
+ else return 8581;
+ else
+ if (West) return 8584;
+ else return 8585;
+ else
+ if (South)
+ if (West) return 8588;
+ else return 8589;
+ else
+ if (West) return 8592;
+ else return 8593;
+ else
+ if (North)
+ if (South)
+ if (West) return 8596;
+ else return 8597;
+ else
+ if (West) return 8600;
+ else return 8601;
+ else
+ if (South)
+ if (West) return 8604;
+ else return 8605;
+ else
+ if (West) return 8608;
+ else return 8609;
+ }
+ BlockState SpruceFence();
+ bool East(BlockState Block);
+ bool North(BlockState Block);
+ bool South(BlockState Block);
+ bool West(BlockState Block);
+ }
+ namespace SpruceFenceGate
+ {
+ constexpr BlockState SpruceFenceGate(const eBlockFace Facing, const bool InWall, const bool Open, const bool Powered)
+ {
+ if (Facing == eBlockFace::BLOCK_FACE_ZM)
+ if (InWall)
+ if (Open)
+ if (Powered) return 8418;
+ else return 8419;
+ else
+ if (Powered) return 8420;
+ else return 8421;
+ else
+ if (Open)
+ if (Powered) return 8422;
+ else return 8423;
+ else
+ if (Powered) return 8424;
+ else return 8425;
+ else if (Facing == eBlockFace::BLOCK_FACE_ZP)
+ if (InWall)
+ if (Open)
+ if (Powered) return 8426;
+ else return 8427;
+ else
+ if (Powered) return 8428;
+ else return 8429;
+ else
+ if (Open)
+ if (Powered) return 8430;
+ else return 8431;
+ else
+ if (Powered) return 8432;
+ else return 8433;
+ else if (Facing == eBlockFace::BLOCK_FACE_XM)
+ if (InWall)
+ if (Open)
+ if (Powered) return 8434;
+ else return 8435;
+ else
+ if (Powered) return 8436;
+ else return 8437;
+ else
+ if (Open)
+ if (Powered) return 8438;
+ else return 8439;
+ else
+ if (Powered) return 8440;
+ else return 8441;
+ else
+ if (InWall)
+ if (Open)
+ if (Powered) return 8442;
+ else return 8443;
+ else
+ if (Powered) return 8444;
+ else return 8445;
+ else
+ if (Open)
+ if (Powered) return 8446;
+ else return 8447;
+ else
+ if (Powered) return 8448;
+ else return 8449;
+ }
+ BlockState SpruceFenceGate();
+ eBlockFace Facing(BlockState Block);
+ bool InWall(BlockState Block);
+ bool Open(BlockState Block);
+ bool Powered(BlockState Block);
+ }
+ namespace SpruceLeaves
+ {
+ constexpr BlockState SpruceLeaves(const unsigned char Distance, const bool Persistent)
+ {
+ if (Distance == 1)
+ if (Persistent) return 159;
+ else return 160;
+ else if (Distance == 2)
+ if (Persistent) return 161;
+ else return 162;
+ else if (Distance == 3)
+ if (Persistent) return 163;
+ else return 164;
+ else if (Distance == 4)
+ if (Persistent) return 165;
+ else return 166;
+ else if (Distance == 5)
+ if (Persistent) return 167;
+ else return 168;
+ else if (Distance == 6)
+ if (Persistent) return 169;
+ else return 170;
+ else
+ if (Persistent) return 171;
+ else return 172;
+ }
+ BlockState SpruceLeaves();
+ unsigned char Distance(BlockState Block);
+ bool Persistent(BlockState Block);
+ }
+ namespace SpruceLog
+ {
+ enum class Axis
+ {
+ X,
+ Y,
+ Z
+ };
+ constexpr BlockState SpruceLog(const enum Axis Axis)
+ {
+ if (Axis == Axis::X) return 76;
+ else if (Axis == Axis::Y) return 77;
+ else return 78;
+ }
+ BlockState SpruceLog();
+ enum Axis Axis(BlockState Block);
+ }
+ namespace SprucePlanks
+ {
+ constexpr BlockState SprucePlanks()
+ {
+ return 16;
+ }
+ }
+ namespace SprucePressurePlate
+ {
+ constexpr BlockState SprucePressurePlate(const bool Powered)
+ {
+ if (Powered) return 3875;
+ else return 3876;
+ }
+ BlockState SprucePressurePlate();
+ bool Powered(BlockState Block);
+ }
+ namespace SpruceSapling
+ {
+ constexpr BlockState SpruceSapling(const unsigned char Stage)
+ {
+ if (Stage == 0) return 23;
+ else return 24;
+ }
+ BlockState SpruceSapling();
+ unsigned char Stage(BlockState Block);
+ }
+ namespace SpruceSign
+ {
+ constexpr BlockState SpruceSign(const unsigned char Rotation)
+ {
+ if (Rotation == 0) return 3414;
+ else if (Rotation == 1) return 3416;
+ else if (Rotation == 2) return 3418;
+ else if (Rotation == 3) return 3420;
+ else if (Rotation == 4) return 3422;
+ else if (Rotation == 5) return 3424;
+ else if (Rotation == 6) return 3426;
+ else if (Rotation == 7) return 3428;
+ else if (Rotation == 8) return 3430;
+ else if (Rotation == 9) return 3432;
+ else if (Rotation == 10) return 3434;
+ else if (Rotation == 11) return 3436;
+ else if (Rotation == 12) return 3438;
+ else if (Rotation == 13) return 3440;
+ else if (Rotation == 14) return 3442;
+ else return 3444;
+ }
+ BlockState SpruceSign();
+ unsigned char Rotation(BlockState Block);
+ }
+ namespace SpruceSlab
+ {
+ enum class Type
+ {
+ Top,
+ Bottom,
+ Double
+ };
+ constexpr BlockState SpruceSlab(const enum Type Type)
+ {
+ if (Type == Type::Top) return 8307;
+ else if (Type == Type::Bottom) return 8309;
+ else return 8311;
+ }
+ BlockState SpruceSlab();
+ enum Type Type(BlockState Block);
+ }
+ namespace SpruceStairs
+ {
+ enum class Half
+ {
+ Top,
+ Bottom
+ };
+ enum class Shape
+ {
+ Straight,
+ InnerLeft,
+ InnerRight,
+ OuterLeft,
+ OuterRight
+ };
+ constexpr BlockState SpruceStairs(const eBlockFace Facing, const enum Half Half, const enum Shape Shape)
+ {
+ if (Facing == eBlockFace::BLOCK_FACE_ZM)
+ if (Half == Half::Top)
+ if (Shape == Shape::Straight) return 5405;
+ else if (Shape == Shape::InnerLeft) return 5407;
+ else if (Shape == Shape::InnerRight) return 5409;
+ else if (Shape == Shape::OuterLeft) return 5411;
+ else return 5413;
+ else
+ if (Shape == Shape::Straight) return 5415;
+ else if (Shape == Shape::InnerLeft) return 5417;
+ else if (Shape == Shape::InnerRight) return 5419;
+ else if (Shape == Shape::OuterLeft) return 5421;
+ else return 5423;
+ else if (Facing == eBlockFace::BLOCK_FACE_ZP)
+ if (Half == Half::Top)
+ if (Shape == Shape::Straight) return 5425;
+ else if (Shape == Shape::InnerLeft) return 5427;
+ else if (Shape == Shape::InnerRight) return 5429;
+ else if (Shape == Shape::OuterLeft) return 5431;
+ else return 5433;
+ else
+ if (Shape == Shape::Straight) return 5435;
+ else if (Shape == Shape::InnerLeft) return 5437;
+ else if (Shape == Shape::InnerRight) return 5439;
+ else if (Shape == Shape::OuterLeft) return 5441;
+ else return 5443;
+ else if (Facing == eBlockFace::BLOCK_FACE_XM)
+ if (Half == Half::Top)
+ if (Shape == Shape::Straight) return 5445;
+ else if (Shape == Shape::InnerLeft) return 5447;
+ else if (Shape == Shape::InnerRight) return 5449;
+ else if (Shape == Shape::OuterLeft) return 5451;
+ else return 5453;
+ else
+ if (Shape == Shape::Straight) return 5455;
+ else if (Shape == Shape::InnerLeft) return 5457;
+ else if (Shape == Shape::InnerRight) return 5459;
+ else if (Shape == Shape::OuterLeft) return 5461;
+ else return 5463;
+ else
+ if (Half == Half::Top)
+ if (Shape == Shape::Straight) return 5465;
+ else if (Shape == Shape::InnerLeft) return 5467;
+ else if (Shape == Shape::InnerRight) return 5469;
+ else if (Shape == Shape::OuterLeft) return 5471;
+ else return 5473;
+ else
+ if (Shape == Shape::Straight) return 5475;
+ else if (Shape == Shape::InnerLeft) return 5477;
+ else if (Shape == Shape::InnerRight) return 5479;
+ else if (Shape == Shape::OuterLeft) return 5481;
+ else return 5483;
+ }
+ BlockState SpruceStairs();
+ eBlockFace Facing(BlockState Block);
+ enum Half Half(BlockState Block);
+ enum Shape Shape(BlockState Block);
+ }
+ namespace SpruceTrapdoor
+ {
+ enum class Half
+ {
+ Top,
+ Bottom
+ };
+ constexpr BlockState SpruceTrapdoor(const eBlockFace Facing, const enum Half Half, const bool Open, const bool Powered)
+ {
+ if (Facing == eBlockFace::BLOCK_FACE_ZM)
+ if (Half == Half::Top)
+ if (Open)
+ if (Powered) return 4176;
+ else return 4178;
+ else
+ if (Powered) return 4180;
+ else return 4182;
+ else
+ if (Open)
+ if (Powered) return 4184;
+ else return 4186;
+ else
+ if (Powered) return 4188;
+ else return 4190;
+ else if (Facing == eBlockFace::BLOCK_FACE_ZP)
+ if (Half == Half::Top)
+ if (Open)
+ if (Powered) return 4192;
+ else return 4194;
+ else
+ if (Powered) return 4196;
+ else return 4198;
+ else
+ if (Open)
+ if (Powered) return 4200;
+ else return 4202;
+ else
+ if (Powered) return 4204;
+ else return 4206;
+ else if (Facing == eBlockFace::BLOCK_FACE_XM)
+ if (Half == Half::Top)
+ if (Open)
+ if (Powered) return 4208;
+ else return 4210;
+ else
+ if (Powered) return 4212;
+ else return 4214;
+ else
+ if (Open)
+ if (Powered) return 4216;
+ else return 4218;
+ else
+ if (Powered) return 4220;
+ else return 4222;
+ else
+ if (Half == Half::Top)
+ if (Open)
+ if (Powered) return 4224;
+ else return 4226;
+ else
+ if (Powered) return 4228;
+ else return 4230;
+ else
+ if (Open)
+ if (Powered) return 4232;
+ else return 4234;
+ else
+ if (Powered) return 4236;
+ else return 4238;
+ }
+ BlockState SpruceTrapdoor();
+ eBlockFace Facing(BlockState Block);
+ enum Half Half(BlockState Block);
+ bool Open(BlockState Block);
+ bool Powered(BlockState Block);
+ }
+ namespace SpruceWallSign
+ {
+ constexpr BlockState SpruceWallSign(const eBlockFace Facing)
+ {
+ if (Facing == eBlockFace::BLOCK_FACE_ZM) return 3744;
+ else if (Facing == eBlockFace::BLOCK_FACE_ZP) return 3746;
+ else if (Facing == eBlockFace::BLOCK_FACE_XM) return 3748;
+ else return 3750;
+ }
+ BlockState SpruceWallSign();
+ eBlockFace Facing(BlockState Block);
+ }
+ namespace SpruceWood
+ {
+ enum class Axis
+ {
+ X,
+ Y,
+ Z
+ };
+ constexpr BlockState SpruceWood(const enum Axis Axis)
+ {
+ if (Axis == Axis::X) return 112;
+ else if (Axis == Axis::Y) return 113;
+ else return 114;
+ }
+ BlockState SpruceWood();
+ enum Axis Axis(BlockState Block);
+ }
+ namespace StickyPiston
+ {
+ constexpr BlockState StickyPiston(const bool Extended, const eBlockFace Facing)
+ {
+ if (Extended)
+ if (Facing == eBlockFace::BLOCK_FACE_ZM) return 1329;
+ else if (Facing == eBlockFace::BLOCK_FACE_XP) return 1330;
+ else if (Facing == eBlockFace::BLOCK_FACE_ZP) return 1331;
+ else if (Facing == eBlockFace::BLOCK_FACE_XM) return 1332;
+ else if (Facing == eBlockFace::BLOCK_FACE_YP) return 1333;
+ else return 1334;
+ else
+ if (Facing == eBlockFace::BLOCK_FACE_ZM) return 1335;
+ else if (Facing == eBlockFace::BLOCK_FACE_XP) return 1336;
+ else if (Facing == eBlockFace::BLOCK_FACE_ZP) return 1337;
+ else if (Facing == eBlockFace::BLOCK_FACE_XM) return 1338;
+ else if (Facing == eBlockFace::BLOCK_FACE_YP) return 1339;
+ else return 1340;
+ }
+ BlockState StickyPiston();
+ bool Extended(BlockState Block);
+ eBlockFace Facing(BlockState Block);
+ }
+ namespace Stone
+ {
+ constexpr BlockState Stone()
+ {
+ return 1;
+ }
+ }
+ namespace StoneBrickSlab
+ {
+ enum class Type
+ {
+ Top,
+ Bottom,
+ Double
+ };
+ constexpr BlockState StoneBrickSlab(const enum Type Type)
+ {
+ if (Type == Type::Top) return 8379;
+ else if (Type == Type::Bottom) return 8381;
+ else return 8383;
+ }
+ BlockState StoneBrickSlab();
+ enum Type Type(BlockState Block);
+ }
+ namespace StoneBrickStairs
+ {
+ enum class Half
+ {
+ Top,
+ Bottom
+ };
+ enum class Shape
+ {
+ Straight,
+ InnerLeft,
+ InnerRight,
+ OuterLeft,
+ OuterRight
+ };
+ constexpr BlockState StoneBrickStairs(const eBlockFace Facing, const enum Half Half, const enum Shape Shape)
+ {
+ if (Facing == eBlockFace::BLOCK_FACE_ZM)
+ if (Half == Half::Top)
+ if (Shape == Shape::Straight) return 4933;
+ else if (Shape == Shape::InnerLeft) return 4935;
+ else if (Shape == Shape::InnerRight) return 4937;
+ else if (Shape == Shape::OuterLeft) return 4939;
+ else return 4941;
+ else
+ if (Shape == Shape::Straight) return 4943;
+ else if (Shape == Shape::InnerLeft) return 4945;
+ else if (Shape == Shape::InnerRight) return 4947;
+ else if (Shape == Shape::OuterLeft) return 4949;
+ else return 4951;
+ else if (Facing == eBlockFace::BLOCK_FACE_ZP)
+ if (Half == Half::Top)
+ if (Shape == Shape::Straight) return 4953;
+ else if (Shape == Shape::InnerLeft) return 4955;
+ else if (Shape == Shape::InnerRight) return 4957;
+ else if (Shape == Shape::OuterLeft) return 4959;
+ else return 4961;
+ else
+ if (Shape == Shape::Straight) return 4963;
+ else if (Shape == Shape::InnerLeft) return 4965;
+ else if (Shape == Shape::InnerRight) return 4967;
+ else if (Shape == Shape::OuterLeft) return 4969;
+ else return 4971;
+ else if (Facing == eBlockFace::BLOCK_FACE_XM)
+ if (Half == Half::Top)
+ if (Shape == Shape::Straight) return 4973;
+ else if (Shape == Shape::InnerLeft) return 4975;
+ else if (Shape == Shape::InnerRight) return 4977;
+ else if (Shape == Shape::OuterLeft) return 4979;
+ else return 4981;
+ else
+ if (Shape == Shape::Straight) return 4983;
+ else if (Shape == Shape::InnerLeft) return 4985;
+ else if (Shape == Shape::InnerRight) return 4987;
+ else if (Shape == Shape::OuterLeft) return 4989;
+ else return 4991;
+ else
+ if (Half == Half::Top)
+ if (Shape == Shape::Straight) return 4993;
+ else if (Shape == Shape::InnerLeft) return 4995;
+ else if (Shape == Shape::InnerRight) return 4997;
+ else if (Shape == Shape::OuterLeft) return 4999;
+ else return 5001;
+ else
+ if (Shape == Shape::Straight) return 5003;
+ else if (Shape == Shape::InnerLeft) return 5005;
+ else if (Shape == Shape::InnerRight) return 5007;
+ else if (Shape == Shape::OuterLeft) return 5009;
+ else return 5011;
+ }
+ BlockState StoneBrickStairs();
+ eBlockFace Facing(BlockState Block);
+ enum Half Half(BlockState Block);
+ enum Shape Shape(BlockState Block);
+ }
+ namespace StoneBrickWall
+ {
+ enum class East
+ {
+ None,
+ Low,
+ Tall
+ };
+ enum class North
+ {
+ None,
+ Low,
+ Tall
+ };
+ enum class South
+ {
+ None,
+ Low,
+ Tall
+ };
+ enum class West
+ {
+ None,
+ Low,
+ Tall
+ };
+ constexpr BlockState StoneBrickWall(const enum East East, const enum North North, const enum South South, const bool Up, const enum West West)
+ {
+ if (East == East::None)
+ if (North == North::None)
+ if (South == South::None)
+ if (Up)
+ if (West == West::None) return 12490;
+ else if (West == West::Low) return 12491;
+ else return 12492;
+ else
+ if (West == West::None) return 12496;
+ else if (West == West::Low) return 12497;
+ else return 12498;
+ else if (South == South::Low)
+ if (Up)
+ if (West == West::None) return 12502;
+ else if (West == West::Low) return 12503;
+ else return 12504;
+ else
+ if (West == West::None) return 12508;
+ else if (West == West::Low) return 12509;
+ else return 12510;
+ else
+ if (Up)
+ if (West == West::None) return 12514;
+ else if (West == West::Low) return 12515;
+ else return 12516;
+ else
+ if (West == West::None) return 12520;
+ else if (West == West::Low) return 12521;
+ else return 12522;
+ else if (North == North::Low)
+ if (South == South::None)
+ if (Up)
+ if (West == West::None) return 12526;
+ else if (West == West::Low) return 12527;
+ else return 12528;
+ else
+ if (West == West::None) return 12532;
+ else if (West == West::Low) return 12533;
+ else return 12534;
+ else if (South == South::Low)
+ if (Up)
+ if (West == West::None) return 12538;
+ else if (West == West::Low) return 12539;
+ else return 12540;
+ else
+ if (West == West::None) return 12544;
+ else if (West == West::Low) return 12545;
+ else return 12546;
+ else
+ if (Up)
+ if (West == West::None) return 12550;
+ else if (West == West::Low) return 12551;
+ else return 12552;
+ else
+ if (West == West::None) return 12556;
+ else if (West == West::Low) return 12557;
+ else return 12558;
+ else
+ if (South == South::None)
+ if (Up)
+ if (West == West::None) return 12562;
+ else if (West == West::Low) return 12563;
+ else return 12564;
+ else
+ if (West == West::None) return 12568;
+ else if (West == West::Low) return 12569;
+ else return 12570;
+ else if (South == South::Low)
+ if (Up)
+ if (West == West::None) return 12574;
+ else if (West == West::Low) return 12575;
+ else return 12576;
+ else
+ if (West == West::None) return 12580;
+ else if (West == West::Low) return 12581;
+ else return 12582;
+ else
+ if (Up)
+ if (West == West::None) return 12586;
+ else if (West == West::Low) return 12587;
+ else return 12588;
+ else
+ if (West == West::None) return 12592;
+ else if (West == West::Low) return 12593;
+ else return 12594;
+ else if (East == East::Low)
+ if (North == North::None)
+ if (South == South::None)
+ if (Up)
+ if (West == West::None) return 12598;
+ else if (West == West::Low) return 12599;
+ else return 12600;
+ else
+ if (West == West::None) return 12604;
+ else if (West == West::Low) return 12605;
+ else return 12606;
+ else if (South == South::Low)
+ if (Up)
+ if (West == West::None) return 12610;
+ else if (West == West::Low) return 12611;
+ else return 12612;
+ else
+ if (West == West::None) return 12616;
+ else if (West == West::Low) return 12617;
+ else return 12618;
+ else
+ if (Up)
+ if (West == West::None) return 12622;
+ else if (West == West::Low) return 12623;
+ else return 12624;
+ else
+ if (West == West::None) return 12628;
+ else if (West == West::Low) return 12629;
+ else return 12630;
+ else if (North == North::Low)
+ if (South == South::None)
+ if (Up)
+ if (West == West::None) return 12634;
+ else if (West == West::Low) return 12635;
+ else return 12636;
+ else
+ if (West == West::None) return 12640;
+ else if (West == West::Low) return 12641;
+ else return 12642;
+ else if (South == South::Low)
+ if (Up)
+ if (West == West::None) return 12646;
+ else if (West == West::Low) return 12647;
+ else return 12648;
+ else
+ if (West == West::None) return 12652;
+ else if (West == West::Low) return 12653;
+ else return 12654;
+ else
+ if (Up)
+ if (West == West::None) return 12658;
+ else if (West == West::Low) return 12659;
+ else return 12660;
+ else
+ if (West == West::None) return 12664;
+ else if (West == West::Low) return 12665;
+ else return 12666;
+ else
+ if (South == South::None)
+ if (Up)
+ if (West == West::None) return 12670;
+ else if (West == West::Low) return 12671;
+ else return 12672;
+ else
+ if (West == West::None) return 12676;
+ else if (West == West::Low) return 12677;
+ else return 12678;
+ else if (South == South::Low)
+ if (Up)
+ if (West == West::None) return 12682;
+ else if (West == West::Low) return 12683;
+ else return 12684;
+ else
+ if (West == West::None) return 12688;
+ else if (West == West::Low) return 12689;
+ else return 12690;
+ else
+ if (Up)
+ if (West == West::None) return 12694;
+ else if (West == West::Low) return 12695;
+ else return 12696;
+ else
+ if (West == West::None) return 12700;
+ else if (West == West::Low) return 12701;
+ else return 12702;
+ else
+ if (North == North::None)
+ if (South == South::None)
+ if (Up)
+ if (West == West::None) return 12706;
+ else if (West == West::Low) return 12707;
+ else return 12708;
+ else
+ if (West == West::None) return 12712;
+ else if (West == West::Low) return 12713;
+ else return 12714;
+ else if (South == South::Low)
+ if (Up)
+ if (West == West::None) return 12718;
+ else if (West == West::Low) return 12719;
+ else return 12720;
+ else
+ if (West == West::None) return 12724;
+ else if (West == West::Low) return 12725;
+ else return 12726;
+ else
+ if (Up)
+ if (West == West::None) return 12730;
+ else if (West == West::Low) return 12731;
+ else return 12732;
+ else
+ if (West == West::None) return 12736;
+ else if (West == West::Low) return 12737;
+ else return 12738;
+ else if (North == North::Low)
+ if (South == South::None)
+ if (Up)
+ if (West == West::None) return 12742;
+ else if (West == West::Low) return 12743;
+ else return 12744;
+ else
+ if (West == West::None) return 12748;
+ else if (West == West::Low) return 12749;
+ else return 12750;
+ else if (South == South::Low)
+ if (Up)
+ if (West == West::None) return 12754;
+ else if (West == West::Low) return 12755;
+ else return 12756;
+ else
+ if (West == West::None) return 12760;
+ else if (West == West::Low) return 12761;
+ else return 12762;
+ else
+ if (Up)
+ if (West == West::None) return 12766;
+ else if (West == West::Low) return 12767;
+ else return 12768;
+ else
+ if (West == West::None) return 12772;
+ else if (West == West::Low) return 12773;
+ else return 12774;
+ else
+ if (South == South::None)
+ if (Up)
+ if (West == West::None) return 12778;
+ else if (West == West::Low) return 12779;
+ else return 12780;
+ else
+ if (West == West::None) return 12784;
+ else if (West == West::Low) return 12785;
+ else return 12786;
+ else if (South == South::Low)
+ if (Up)
+ if (West == West::None) return 12790;
+ else if (West == West::Low) return 12791;
+ else return 12792;
+ else
+ if (West == West::None) return 12796;
+ else if (West == West::Low) return 12797;
+ else return 12798;
+ else
+ if (Up)
+ if (West == West::None) return 12802;
+ else if (West == West::Low) return 12803;
+ else return 12804;
+ else
+ if (West == West::None) return 12808;
+ else if (West == West::Low) return 12809;
+ else return 12810;
+ }
+ BlockState StoneBrickWall();
+ enum East East(BlockState Block);
+ enum North North(BlockState Block);
+ enum South South(BlockState Block);
+ bool Up(BlockState Block);
+ enum West West(BlockState Block);
+ }
+ namespace StoneBricks
+ {
+ constexpr BlockState StoneBricks()
+ {
+ return 4495;
+ }
+ }
+ namespace StoneButton
+ {
+ enum class Face
+ {
+ Floor,
+ Wall,
+ Ceiling
+ };
+ constexpr BlockState StoneButton(const enum Face Face, const eBlockFace Facing, const bool Powered)
+ {
+ if (Face == Face::Floor)
+ if (Facing == eBlockFace::BLOCK_FACE_ZM)
+ if (Powered) return 3897;
+ else return 3898;
+ else if (Facing == eBlockFace::BLOCK_FACE_ZP)
+ if (Powered) return 3899;
+ else return 3900;
+ else if (Facing == eBlockFace::BLOCK_FACE_XM)
+ if (Powered) return 3901;
+ else return 3902;
+ else
+ if (Powered) return 3903;
+ else return 3904;
+ else if (Face == Face::Wall)
+ if (Facing == eBlockFace::BLOCK_FACE_ZM)
+ if (Powered) return 3905;
+ else return 3906;
+ else if (Facing == eBlockFace::BLOCK_FACE_ZP)
+ if (Powered) return 3907;
+ else return 3908;
+ else if (Facing == eBlockFace::BLOCK_FACE_XM)
+ if (Powered) return 3909;
+ else return 3910;
+ else
+ if (Powered) return 3911;
+ else return 3912;
+ else
+ if (Facing == eBlockFace::BLOCK_FACE_ZM)
+ if (Powered) return 3913;
+ else return 3914;
+ else if (Facing == eBlockFace::BLOCK_FACE_ZP)
+ if (Powered) return 3915;
+ else return 3916;
+ else if (Facing == eBlockFace::BLOCK_FACE_XM)
+ if (Powered) return 3917;
+ else return 3918;
+ else
+ if (Powered) return 3919;
+ else return 3920;
+ }
+ BlockState StoneButton();
+ enum Face Face(BlockState Block);
+ eBlockFace Facing(BlockState Block);
+ bool Powered(BlockState Block);
+ }
+ namespace StonePressurePlate
+ {
+ constexpr BlockState StonePressurePlate(const bool Powered)
+ {
+ if (Powered) return 3807;
+ else return 3808;
+ }
+ BlockState StonePressurePlate();
+ bool Powered(BlockState Block);
+ }
+ namespace StoneSlab
+ {
+ enum class Type
+ {
+ Top,
+ Bottom,
+ Double
+ };
+ constexpr BlockState StoneSlab(const enum Type Type)
+ {
+ if (Type == Type::Top) return 8337;
+ else if (Type == Type::Bottom) return 8339;
+ else return 8341;
+ }
+ BlockState StoneSlab();
+ enum Type Type(BlockState Block);
+ }
+ namespace StoneStairs
+ {
+ enum class Half
+ {
+ Top,
+ Bottom
+ };
+ enum class Shape
+ {
+ Straight,
+ InnerLeft,
+ InnerRight,
+ OuterLeft,
+ OuterRight
+ };
+ constexpr BlockState StoneStairs(const eBlockFace Facing, const enum Half Half, const enum Shape Shape)
+ {
+ if (Facing == eBlockFace::BLOCK_FACE_ZM)
+ if (Half == Half::Top)
+ if (Shape == Shape::Straight) return 10150;
+ else if (Shape == Shape::InnerLeft) return 10152;
+ else if (Shape == Shape::InnerRight) return 10154;
+ else if (Shape == Shape::OuterLeft) return 10156;
+ else return 10158;
+ else
+ if (Shape == Shape::Straight) return 10160;
+ else if (Shape == Shape::InnerLeft) return 10162;
+ else if (Shape == Shape::InnerRight) return 10164;
+ else if (Shape == Shape::OuterLeft) return 10166;
+ else return 10168;
+ else if (Facing == eBlockFace::BLOCK_FACE_ZP)
+ if (Half == Half::Top)
+ if (Shape == Shape::Straight) return 10170;
+ else if (Shape == Shape::InnerLeft) return 10172;
+ else if (Shape == Shape::InnerRight) return 10174;
+ else if (Shape == Shape::OuterLeft) return 10176;
+ else return 10178;
+ else
+ if (Shape == Shape::Straight) return 10180;
+ else if (Shape == Shape::InnerLeft) return 10182;
+ else if (Shape == Shape::InnerRight) return 10184;
+ else if (Shape == Shape::OuterLeft) return 10186;
+ else return 10188;
+ else if (Facing == eBlockFace::BLOCK_FACE_XM)
+ if (Half == Half::Top)
+ if (Shape == Shape::Straight) return 10190;
+ else if (Shape == Shape::InnerLeft) return 10192;
+ else if (Shape == Shape::InnerRight) return 10194;
+ else if (Shape == Shape::OuterLeft) return 10196;
+ else return 10198;
+ else
+ if (Shape == Shape::Straight) return 10200;
+ else if (Shape == Shape::InnerLeft) return 10202;
+ else if (Shape == Shape::InnerRight) return 10204;
+ else if (Shape == Shape::OuterLeft) return 10206;
+ else return 10208;
+ else
+ if (Half == Half::Top)
+ if (Shape == Shape::Straight) return 10210;
+ else if (Shape == Shape::InnerLeft) return 10212;
+ else if (Shape == Shape::InnerRight) return 10214;
+ else if (Shape == Shape::OuterLeft) return 10216;
+ else return 10218;
+ else
+ if (Shape == Shape::Straight) return 10220;
+ else if (Shape == Shape::InnerLeft) return 10222;
+ else if (Shape == Shape::InnerRight) return 10224;
+ else if (Shape == Shape::OuterLeft) return 10226;
+ else return 10228;
+ }
+ BlockState StoneStairs();
+ eBlockFace Facing(BlockState Block);
+ enum Half Half(BlockState Block);
+ enum Shape Shape(BlockState Block);
+ }
+ namespace Stonecutter
+ {
+ constexpr BlockState Stonecutter(const eBlockFace Facing)
+ {
+ if (Facing == eBlockFace::BLOCK_FACE_ZM) return 14850;
+ else if (Facing == eBlockFace::BLOCK_FACE_ZP) return 14851;
+ else if (Facing == eBlockFace::BLOCK_FACE_XM) return 14852;
+ else return 14853;
+ }
+ BlockState Stonecutter();
+ eBlockFace Facing(BlockState Block);
+ }
+ namespace StrippedAcaciaLog
+ {
+ enum class Axis
+ {
+ X,
+ Y,
+ Z
+ };
+ constexpr BlockState StrippedAcaciaLog(const enum Axis Axis)
+ {
+ if (Axis == Axis::X) return 100;
+ else if (Axis == Axis::Y) return 101;
+ else return 102;
+ }
+ BlockState StrippedAcaciaLog();
+ enum Axis Axis(BlockState Block);
+ }
+ namespace StrippedAcaciaWood
+ {
+ enum class Axis
+ {
+ X,
+ Y,
+ Z
+ };
+ constexpr BlockState StrippedAcaciaWood(const enum Axis Axis)
+ {
+ if (Axis == Axis::X) return 139;
+ else if (Axis == Axis::Y) return 140;
+ else return 141;
+ }
+ BlockState StrippedAcaciaWood();
+ enum Axis Axis(BlockState Block);
+ }
+ namespace StrippedBirchLog
+ {
+ enum class Axis
+ {
+ X,
+ Y,
+ Z
+ };
+ constexpr BlockState StrippedBirchLog(const enum Axis Axis)
+ {
+ if (Axis == Axis::X) return 94;
+ else if (Axis == Axis::Y) return 95;
+ else return 96;
+ }
+ BlockState StrippedBirchLog();
+ enum Axis Axis(BlockState Block);
+ }
+ namespace StrippedBirchWood
+ {
+ enum class Axis
+ {
+ X,
+ Y,
+ Z
+ };
+ constexpr BlockState StrippedBirchWood(const enum Axis Axis)
+ {
+ if (Axis == Axis::X) return 133;
+ else if (Axis == Axis::Y) return 134;
+ else return 135;
+ }
+ BlockState StrippedBirchWood();
+ enum Axis Axis(BlockState Block);
+ }
+ namespace StrippedCrimsonHyphae
+ {
+ enum class Axis
+ {
+ X,
+ Y,
+ Z
+ };
+ constexpr BlockState StrippedCrimsonHyphae(const enum Axis Axis)
+ {
+ if (Axis == Axis::X) return 14984;
+ else if (Axis == Axis::Y) return 14985;
+ else return 14986;
+ }
+ BlockState StrippedCrimsonHyphae();
+ enum Axis Axis(BlockState Block);
+ }
+ namespace StrippedCrimsonStem
+ {
+ enum class Axis
+ {
+ X,
+ Y,
+ Z
+ };
+ constexpr BlockState StrippedCrimsonStem(const enum Axis Axis)
+ {
+ if (Axis == Axis::X) return 14978;
+ else if (Axis == Axis::Y) return 14979;
+ else return 14980;
+ }
+ BlockState StrippedCrimsonStem();
+ enum Axis Axis(BlockState Block);
+ }
+ namespace StrippedDarkOakLog
+ {
+ enum class Axis
+ {
+ X,
+ Y,
+ Z
+ };
+ constexpr BlockState StrippedDarkOakLog(const enum Axis Axis)
+ {
+ if (Axis == Axis::X) return 103;
+ else if (Axis == Axis::Y) return 104;
+ else return 105;
+ }
+ BlockState StrippedDarkOakLog();
+ enum Axis Axis(BlockState Block);
+ }
+ namespace StrippedDarkOakWood
+ {
+ enum class Axis
+ {
+ X,
+ Y,
+ Z
+ };
+ constexpr BlockState StrippedDarkOakWood(const enum Axis Axis)
+ {
+ if (Axis == Axis::X) return 142;
+ else if (Axis == Axis::Y) return 143;
+ else return 144;
+ }
+ BlockState StrippedDarkOakWood();
+ enum Axis Axis(BlockState Block);
+ }
+ namespace StrippedJungleLog
+ {
+ enum class Axis
+ {
+ X,
+ Y,
+ Z
+ };
+ constexpr BlockState StrippedJungleLog(const enum Axis Axis)
+ {
+ if (Axis == Axis::X) return 97;
+ else if (Axis == Axis::Y) return 98;
+ else return 99;
+ }
+ BlockState StrippedJungleLog();
+ enum Axis Axis(BlockState Block);
+ }
+ namespace StrippedJungleWood
+ {
+ enum class Axis
+ {
+ X,
+ Y,
+ Z
+ };
+ constexpr BlockState StrippedJungleWood(const enum Axis Axis)
+ {
+ if (Axis == Axis::X) return 136;
+ else if (Axis == Axis::Y) return 137;
+ else return 138;
+ }
+ BlockState StrippedJungleWood();
+ enum Axis Axis(BlockState Block);
+ }
+ namespace StrippedOakLog
+ {
+ enum class Axis
+ {
+ X,
+ Y,
+ Z
+ };
+ constexpr BlockState StrippedOakLog(const enum Axis Axis)
+ {
+ if (Axis == Axis::X) return 106;
+ else if (Axis == Axis::Y) return 107;
+ else return 108;
+ }
+ BlockState StrippedOakLog();
+ enum Axis Axis(BlockState Block);
+ }
+ namespace StrippedOakWood
+ {
+ enum class Axis
+ {
+ X,
+ Y,
+ Z
+ };
+ constexpr BlockState StrippedOakWood(const enum Axis Axis)
+ {
+ if (Axis == Axis::X) return 127;
+ else if (Axis == Axis::Y) return 128;
+ else return 129;
+ }
+ BlockState StrippedOakWood();
+ enum Axis Axis(BlockState Block);
+ }
+ namespace StrippedSpruceLog
+ {
+ enum class Axis
+ {
+ X,
+ Y,
+ Z
+ };
+ constexpr BlockState StrippedSpruceLog(const enum Axis Axis)
+ {
+ if (Axis == Axis::X) return 91;
+ else if (Axis == Axis::Y) return 92;
+ else return 93;
+ }
+ BlockState StrippedSpruceLog();
+ enum Axis Axis(BlockState Block);
+ }
+ namespace StrippedSpruceWood
+ {
+ enum class Axis
+ {
+ X,
+ Y,
+ Z
+ };
+ constexpr BlockState StrippedSpruceWood(const enum Axis Axis)
+ {
+ if (Axis == Axis::X) return 130;
+ else if (Axis == Axis::Y) return 131;
+ else return 132;
+ }
+ BlockState StrippedSpruceWood();
+ enum Axis Axis(BlockState Block);
+ }
+ namespace StrippedWarpedHyphae
+ {
+ enum class Axis
+ {
+ X,
+ Y,
+ Z
+ };
+ constexpr BlockState StrippedWarpedHyphae(const enum Axis Axis)
+ {
+ if (Axis == Axis::X) return 14967;
+ else if (Axis == Axis::Y) return 14968;
+ else return 14969;
+ }
+ BlockState StrippedWarpedHyphae();
+ enum Axis Axis(BlockState Block);
+ }
+ namespace StrippedWarpedStem
+ {
+ enum class Axis
+ {
+ X,
+ Y,
+ Z
+ };
+ constexpr BlockState StrippedWarpedStem(const enum Axis Axis)
+ {
+ if (Axis == Axis::X) return 14961;
+ else if (Axis == Axis::Y) return 14962;
+ else return 14963;
+ }
+ BlockState StrippedWarpedStem();
+ enum Axis Axis(BlockState Block);
+ }
+ namespace StructureBlock
+ {
+ enum class Mode
+ {
+ Save,
+ Load,
+ Corner,
+ Data
+ };
+ constexpr BlockState StructureBlock(const enum Mode Mode)
+ {
+ if (Mode == Mode::Save) return 15735;
+ else if (Mode == Mode::Load) return 15736;
+ else if (Mode == Mode::Corner) return 15737;
+ else return 15738;
+ }
+ BlockState StructureBlock();
+ enum Mode Mode(BlockState Block);
+ }
+ namespace StructureVoid
+ {
+ constexpr BlockState StructureVoid()
+ {
+ return 9259;
+ }
+ }
+ namespace SugarCane
+ {
+ constexpr BlockState SugarCane(const unsigned char Age)
+ {
+ if (Age == 0) return 3948;
+ else if (Age == 1) return 3949;
+ else if (Age == 2) return 3950;
+ else if (Age == 3) return 3951;
+ else if (Age == 4) return 3952;
+ else if (Age == 5) return 3953;
+ else if (Age == 6) return 3954;
+ else if (Age == 7) return 3955;
+ else if (Age == 8) return 3956;
+ else if (Age == 9) return 3957;
+ else if (Age == 10) return 3958;
+ else if (Age == 11) return 3959;
+ else if (Age == 12) return 3960;
+ else if (Age == 13) return 3961;
+ else if (Age == 14) return 3962;
+ else return 3963;
+ }
+ BlockState SugarCane();
+ unsigned char Age(BlockState Block);
+ }
+ namespace Sunflower
+ {
+ enum class Half
+ {
+ Upper,
+ Lower
+ };
+ constexpr BlockState Sunflower(const enum Half Half)
+ {
+ if (Half == Half::Upper) return 7885;
+ else return 7886;
+ }
+ BlockState Sunflower();
+ enum Half Half(BlockState Block);
+ }
+ namespace SweetBerryBush
+ {
+ constexpr BlockState SweetBerryBush(const unsigned char Age)
+ {
+ if (Age == 0) return 14954;
+ else if (Age == 1) return 14955;
+ else if (Age == 2) return 14956;
+ else return 14957;
+ }
+ BlockState SweetBerryBush();
+ unsigned char Age(BlockState Block);
+ }
+ namespace TNT
+ {
+ constexpr BlockState TNT(const bool Unstable)
+ {
+ if (Unstable) return 1430;
+ else return 1431;
+ }
+ BlockState TNT();
+ bool Unstable(BlockState Block);
+ }
+ namespace TallGrass
+ {
+ enum class Half
+ {
+ Upper,
+ Lower
+ };
+ constexpr BlockState TallGrass(const enum Half Half)
+ {
+ if (Half == Half::Upper) return 7893;
+ else return 7894;
+ }
+ BlockState TallGrass();
+ enum Half Half(BlockState Block);
+ }
+ namespace TallSeagrass
+ {
+ enum class Half
+ {
+ Upper,
+ Lower
+ };
+ constexpr BlockState TallSeagrass(const enum Half Half)
+ {
+ if (Half == Half::Upper) return 1346;
+ else return 1347;
+ }
+ BlockState TallSeagrass();
+ enum Half Half(BlockState Block);
+ }
+ namespace Target
+ {
+ constexpr BlockState Target(const unsigned char Power)
+ {
+ if (Power == 0) return 15760;
+ else if (Power == 1) return 15761;
+ else if (Power == 2) return 15762;
+ else if (Power == 3) return 15763;
+ else if (Power == 4) return 15764;
+ else if (Power == 5) return 15765;
+ else if (Power == 6) return 15766;
+ else if (Power == 7) return 15767;
+ else if (Power == 8) return 15768;
+ else if (Power == 9) return 15769;
+ else if (Power == 10) return 15770;
+ else if (Power == 11) return 15771;
+ else if (Power == 12) return 15772;
+ else if (Power == 13) return 15773;
+ else if (Power == 14) return 15774;
+ else return 15775;
+ }
+ BlockState Target();
+ unsigned char Power(BlockState Block);
+ }
+ namespace Terracotta
+ {
+ constexpr BlockState Terracotta()
+ {
+ return 7882;
+ }
+ }
+ namespace Torch
+ {
+ constexpr BlockState Torch()
+ {
+ return 1435;
+ }
+ }
+ namespace TrappedChest
+ {
+ enum class Type
+ {
+ Single,
+ Left,
+ Right
+ };
+ constexpr BlockState TrappedChest(const eBlockFace Facing, const enum Type Type)
+ {
+ if (Facing == eBlockFace::BLOCK_FACE_ZM)
+ if (Type == Type::Single) return 6623;
+ else if (Type == Type::Left) return 6625;
+ else return 6627;
+ else if (Facing == eBlockFace::BLOCK_FACE_ZP)
+ if (Type == Type::Single) return 6629;
+ else if (Type == Type::Left) return 6631;
+ else return 6633;
+ else if (Facing == eBlockFace::BLOCK_FACE_XM)
+ if (Type == Type::Single) return 6635;
+ else if (Type == Type::Left) return 6637;
+ else return 6639;
+ else
+ if (Type == Type::Single) return 6641;
+ else if (Type == Type::Left) return 6643;
+ else return 6645;
+ }
+ BlockState TrappedChest();
+ eBlockFace Facing(BlockState Block);
+ enum Type Type(BlockState Block);
+ }
+ namespace Tripwire
+ {
+ constexpr BlockState Tripwire(const bool Attached, const bool Disarmed, const bool East, const bool North, const bool Powered, const bool South, const bool West)
+ {
+ if (Attached)
+ if (Disarmed)
+ if (East)
+ if (North)
+ if (Powered)
+ if (South)
+ if (West) return 5275;
+ else return 5276;
+ else
+ if (West) return 5277;
+ else return 5278;
+ else
+ if (South)
+ if (West) return 5279;
+ else return 5280;
+ else
+ if (West) return 5281;
+ else return 5282;
+ else
+ if (Powered)
+ if (South)
+ if (West) return 5283;
+ else return 5284;
+ else
+ if (West) return 5285;
+ else return 5286;
+ else
+ if (South)
+ if (West) return 5287;
+ else return 5288;
+ else
+ if (West) return 5289;
+ else return 5290;
+ else
+ if (North)
+ if (Powered)
+ if (South)
+ if (West) return 5291;
+ else return 5292;
+ else
+ if (West) return 5293;
+ else return 5294;
+ else
+ if (South)
+ if (West) return 5295;
+ else return 5296;
+ else
+ if (West) return 5297;
+ else return 5298;
+ else
+ if (Powered)
+ if (South)
+ if (West) return 5299;
+ else return 5300;
+ else
+ if (West) return 5301;
+ else return 5302;
+ else
+ if (South)
+ if (West) return 5303;
+ else return 5304;
+ else
+ if (West) return 5305;
+ else return 5306;
+ else
+ if (East)
+ if (North)
+ if (Powered)
+ if (South)
+ if (West) return 5307;
+ else return 5308;
+ else
+ if (West) return 5309;
+ else return 5310;
+ else
+ if (South)
+ if (West) return 5311;
+ else return 5312;
+ else
+ if (West) return 5313;
+ else return 5314;
+ else
+ if (Powered)
+ if (South)
+ if (West) return 5315;
+ else return 5316;
+ else
+ if (West) return 5317;
+ else return 5318;
+ else
+ if (South)
+ if (West) return 5319;
+ else return 5320;
+ else
+ if (West) return 5321;
+ else return 5322;
+ else
+ if (North)
+ if (Powered)
+ if (South)
+ if (West) return 5323;
+ else return 5324;
+ else
+ if (West) return 5325;
+ else return 5326;
+ else
+ if (South)
+ if (West) return 5327;
+ else return 5328;
+ else
+ if (West) return 5329;
+ else return 5330;
+ else
+ if (Powered)
+ if (South)
+ if (West) return 5331;
+ else return 5332;
+ else
+ if (West) return 5333;
+ else return 5334;
+ else
+ if (South)
+ if (West) return 5335;
+ else return 5336;
+ else
+ if (West) return 5337;
+ else return 5338;
+ else
+ if (Disarmed)
+ if (East)
+ if (North)
+ if (Powered)
+ if (South)
+ if (West) return 5339;
+ else return 5340;
+ else
+ if (West) return 5341;
+ else return 5342;
+ else
+ if (South)
+ if (West) return 5343;
+ else return 5344;
+ else
+ if (West) return 5345;
+ else return 5346;
+ else
+ if (Powered)
+ if (South)
+ if (West) return 5347;
+ else return 5348;
+ else
+ if (West) return 5349;
+ else return 5350;
+ else
+ if (South)
+ if (West) return 5351;
+ else return 5352;
+ else
+ if (West) return 5353;
+ else return 5354;
+ else
+ if (North)
+ if (Powered)
+ if (South)
+ if (West) return 5355;
+ else return 5356;
+ else
+ if (West) return 5357;
+ else return 5358;
+ else
+ if (South)
+ if (West) return 5359;
+ else return 5360;
+ else
+ if (West) return 5361;
+ else return 5362;
+ else
+ if (Powered)
+ if (South)
+ if (West) return 5363;
+ else return 5364;
+ else
+ if (West) return 5365;
+ else return 5366;
+ else
+ if (South)
+ if (West) return 5367;
+ else return 5368;
+ else
+ if (West) return 5369;
+ else return 5370;
+ else
+ if (East)
+ if (North)
+ if (Powered)
+ if (South)
+ if (West) return 5371;
+ else return 5372;
+ else
+ if (West) return 5373;
+ else return 5374;
+ else
+ if (South)
+ if (West) return 5375;
+ else return 5376;
+ else
+ if (West) return 5377;
+ else return 5378;
+ else
+ if (Powered)
+ if (South)
+ if (West) return 5379;
+ else return 5380;
+ else
+ if (West) return 5381;
+ else return 5382;
+ else
+ if (South)
+ if (West) return 5383;
+ else return 5384;
+ else
+ if (West) return 5385;
+ else return 5386;
+ else
+ if (North)
+ if (Powered)
+ if (South)
+ if (West) return 5387;
+ else return 5388;
+ else
+ if (West) return 5389;
+ else return 5390;
+ else
+ if (South)
+ if (West) return 5391;
+ else return 5392;
+ else
+ if (West) return 5393;
+ else return 5394;
+ else
+ if (Powered)
+ if (South)
+ if (West) return 5395;
+ else return 5396;
+ else
+ if (West) return 5397;
+ else return 5398;
+ else
+ if (South)
+ if (West) return 5399;
+ else return 5400;
+ else
+ if (West) return 5401;
+ else return 5402;
+ }
+ BlockState Tripwire();
+ bool Attached(BlockState Block);
+ bool Disarmed(BlockState Block);
+ bool East(BlockState Block);
+ bool North(BlockState Block);
+ bool Powered(BlockState Block);
+ bool South(BlockState Block);
+ bool West(BlockState Block);
+ }
+ namespace TripwireHook
+ {
+ constexpr BlockState TripwireHook(const bool Attached, const eBlockFace Facing, const bool Powered)
+ {
+ if (Attached)
+ if (Facing == eBlockFace::BLOCK_FACE_ZM)
+ if (Powered) return 5259;
+ else return 5260;
+ else if (Facing == eBlockFace::BLOCK_FACE_ZP)
+ if (Powered) return 5261;
+ else return 5262;
+ else if (Facing == eBlockFace::BLOCK_FACE_XM)
+ if (Powered) return 5263;
+ else return 5264;
+ else
+ if (Powered) return 5265;
+ else return 5266;
+ else
+ if (Facing == eBlockFace::BLOCK_FACE_ZM)
+ if (Powered) return 5267;
+ else return 5268;
+ else if (Facing == eBlockFace::BLOCK_FACE_ZP)
+ if (Powered) return 5269;
+ else return 5270;
+ else if (Facing == eBlockFace::BLOCK_FACE_XM)
+ if (Powered) return 5271;
+ else return 5272;
+ else
+ if (Powered) return 5273;
+ else return 5274;
+ }
+ BlockState TripwireHook();
+ bool Attached(BlockState Block);
+ eBlockFace Facing(BlockState Block);
+ bool Powered(BlockState Block);
+ }
+ namespace TubeCoral
+ {
+ constexpr BlockState TubeCoral()
+ {
+ return 9531;
+ }
+ }
+ namespace TubeCoralBlock
+ {
+ constexpr BlockState TubeCoralBlock()
+ {
+ return 9515;
+ }
+ }
+ namespace TubeCoralFan
+ {
+ constexpr BlockState TubeCoralFan()
+ {
+ return 9551;
+ }
+ }
+ namespace TubeCoralWallFan
+ {
+ constexpr BlockState TubeCoralWallFan(const eBlockFace Facing)
+ {
+ if (Facing == eBlockFace::BLOCK_FACE_ZM) return 9601;
+ else if (Facing == eBlockFace::BLOCK_FACE_ZP) return 9603;
+ else if (Facing == eBlockFace::BLOCK_FACE_XM) return 9605;
+ else return 9607;
+ }
+ BlockState TubeCoralWallFan();
+ eBlockFace Facing(BlockState Block);
+ }
+ namespace TurtleEgg
+ {
+ constexpr BlockState TurtleEgg(const unsigned char Eggs, const unsigned char Hatch)
+ {
+ if (Eggs == 1)
+ if (Hatch == 0) return 9498;
+ else if (Hatch == 1) return 9499;
+ else return 9500;
+ else if (Eggs == 2)
+ if (Hatch == 0) return 9501;
+ else if (Hatch == 1) return 9502;
+ else return 9503;
+ else if (Eggs == 3)
+ if (Hatch == 0) return 9504;
+ else if (Hatch == 1) return 9505;
+ else return 9506;
+ else
+ if (Hatch == 0) return 9507;
+ else if (Hatch == 1) return 9508;
+ else return 9509;
+ }
+ BlockState TurtleEgg();
+ unsigned char Eggs(BlockState Block);
+ unsigned char Hatch(BlockState Block);
+ }
+ namespace TwistingVines
+ {
+ constexpr BlockState TwistingVines(const unsigned char Age)
+ {
+ if (Age == 0) return 15017;
+ else if (Age == 1) return 15018;
+ else if (Age == 2) return 15019;
+ else if (Age == 3) return 15020;
+ else if (Age == 4) return 15021;
+ else if (Age == 5) return 15022;
+ else if (Age == 6) return 15023;
+ else if (Age == 7) return 15024;
+ else if (Age == 8) return 15025;
+ else if (Age == 9) return 15026;
+ else if (Age == 10) return 15027;
+ else if (Age == 11) return 15028;
+ else if (Age == 12) return 15029;
+ else if (Age == 13) return 15030;
+ else if (Age == 14) return 15031;
+ else if (Age == 15) return 15032;
+ else if (Age == 16) return 15033;
+ else if (Age == 17) return 15034;
+ else if (Age == 18) return 15035;
+ else if (Age == 19) return 15036;
+ else if (Age == 20) return 15037;
+ else if (Age == 21) return 15038;
+ else if (Age == 22) return 15039;
+ else if (Age == 23) return 15040;
+ else if (Age == 24) return 15041;
+ else return 15042;
+ }
+ BlockState TwistingVines();
+ unsigned char Age(BlockState Block);
+ }
+ namespace TwistingVinesPlant
+ {
+ constexpr BlockState TwistingVinesPlant()
+ {
+ return 15043;
+ }
+ }
+ namespace Vine
+ {
+ constexpr BlockState Vine(const bool East, const bool North, const bool South, const bool Up, const bool West)
+ {
+ if (East)
+ if (North)
+ if (South)
+ if (Up)
+ if (West) return 4788;
+ else return 4789;
+ else
+ if (West) return 4790;
+ else return 4791;
+ else
+ if (Up)
+ if (West) return 4792;
+ else return 4793;
+ else
+ if (West) return 4794;
+ else return 4795;
+ else
+ if (South)
+ if (Up)
+ if (West) return 4796;
+ else return 4797;
+ else
+ if (West) return 4798;
+ else return 4799;
+ else
+ if (Up)
+ if (West) return 4800;
+ else return 4801;
+ else
+ if (West) return 4802;
+ else return 4803;
+ else
+ if (North)
+ if (South)
+ if (Up)
+ if (West) return 4804;
+ else return 4805;
+ else
+ if (West) return 4806;
+ else return 4807;
+ else
+ if (Up)
+ if (West) return 4808;
+ else return 4809;
+ else
+ if (West) return 4810;
+ else return 4811;
+ else
+ if (South)
+ if (Up)
+ if (West) return 4812;
+ else return 4813;
+ else
+ if (West) return 4814;
+ else return 4815;
+ else
+ if (Up)
+ if (West) return 4816;
+ else return 4817;
+ else
+ if (West) return 4818;
+ else return 4819;
+ }
+ BlockState Vine();
+ bool East(BlockState Block);
+ bool North(BlockState Block);
+ bool South(BlockState Block);
+ bool Up(BlockState Block);
+ bool West(BlockState Block);
+ }
+ namespace VoidAir
+ {
+ constexpr BlockState VoidAir()
+ {
+ return 9665;
+ }
+ }
+ namespace WallTorch
+ {
+ constexpr BlockState WallTorch(const eBlockFace Facing)
+ {
+ if (Facing == eBlockFace::BLOCK_FACE_ZM) return 1436;
+ else if (Facing == eBlockFace::BLOCK_FACE_ZP) return 1437;
+ else if (Facing == eBlockFace::BLOCK_FACE_XM) return 1438;
+ else return 1439;
+ }
+ BlockState WallTorch();
+ eBlockFace Facing(BlockState Block);
+ }
+ namespace WarpedButton
+ {
+ enum class Face
+ {
+ Floor,
+ Wall,
+ Ceiling
+ };
+ constexpr BlockState WarpedButton(const enum Face Face, const eBlockFace Facing, const bool Powered)
+ {
+ if (Face == Face::Floor)
+ if (Facing == eBlockFace::BLOCK_FACE_ZM)
+ if (Powered) return 15503;
+ else return 15504;
+ else if (Facing == eBlockFace::BLOCK_FACE_ZP)
+ if (Powered) return 15505;
+ else return 15506;
+ else if (Facing == eBlockFace::BLOCK_FACE_XM)
+ if (Powered) return 15507;
+ else return 15508;
+ else
+ if (Powered) return 15509;
+ else return 15510;
+ else if (Face == Face::Wall)
+ if (Facing == eBlockFace::BLOCK_FACE_ZM)
+ if (Powered) return 15511;
+ else return 15512;
+ else if (Facing == eBlockFace::BLOCK_FACE_ZP)
+ if (Powered) return 15513;
+ else return 15514;
+ else if (Facing == eBlockFace::BLOCK_FACE_XM)
+ if (Powered) return 15515;
+ else return 15516;
+ else
+ if (Powered) return 15517;
+ else return 15518;
+ else
+ if (Facing == eBlockFace::BLOCK_FACE_ZM)
+ if (Powered) return 15519;
+ else return 15520;
+ else if (Facing == eBlockFace::BLOCK_FACE_ZP)
+ if (Powered) return 15521;
+ else return 15522;
+ else if (Facing == eBlockFace::BLOCK_FACE_XM)
+ if (Powered) return 15523;
+ else return 15524;
+ else
+ if (Powered) return 15525;
+ else return 15526;
+ }
+ BlockState WarpedButton();
+ enum Face Face(BlockState Block);
+ eBlockFace Facing(BlockState Block);
+ bool Powered(BlockState Block);
+ }
+ namespace WarpedDoor
+ {
+ enum class Half
+ {
+ Upper,
+ Lower
+ };
+ enum class Hinge
+ {
+ Left,
+ Right
+ };
+ constexpr BlockState WarpedDoor(const eBlockFace Facing, const enum Half Half, const enum Hinge Hinge, const bool Open, const bool Powered)
+ {
+ if (Facing == eBlockFace::BLOCK_FACE_ZM)
+ if (Half == Half::Upper)
+ if (Hinge == Hinge::Left)
+ if (Open)
+ if (Powered) return 15591;
+ else return 15592;
+ else
+ if (Powered) return 15593;
+ else return 15594;
+ else
+ if (Open)
+ if (Powered) return 15595;
+ else return 15596;
+ else
+ if (Powered) return 15597;
+ else return 15598;
+ else
+ if (Hinge == Hinge::Left)
+ if (Open)
+ if (Powered) return 15599;
+ else return 15600;
+ else
+ if (Powered) return 15601;
+ else return 15602;
+ else
+ if (Open)
+ if (Powered) return 15603;
+ else return 15604;
+ else
+ if (Powered) return 15605;
+ else return 15606;
+ else if (Facing == eBlockFace::BLOCK_FACE_ZP)
+ if (Half == Half::Upper)
+ if (Hinge == Hinge::Left)
+ if (Open)
+ if (Powered) return 15607;
+ else return 15608;
+ else
+ if (Powered) return 15609;
+ else return 15610;
+ else
+ if (Open)
+ if (Powered) return 15611;
+ else return 15612;
+ else
+ if (Powered) return 15613;
+ else return 15614;
+ else
+ if (Hinge == Hinge::Left)
+ if (Open)
+ if (Powered) return 15615;
+ else return 15616;
+ else
+ if (Powered) return 15617;
+ else return 15618;
+ else
+ if (Open)
+ if (Powered) return 15619;
+ else return 15620;
+ else
+ if (Powered) return 15621;
+ else return 15622;
+ else if (Facing == eBlockFace::BLOCK_FACE_XM)
+ if (Half == Half::Upper)
+ if (Hinge == Hinge::Left)
+ if (Open)
+ if (Powered) return 15623;
+ else return 15624;
+ else
+ if (Powered) return 15625;
+ else return 15626;
+ else
+ if (Open)
+ if (Powered) return 15627;
+ else return 15628;
+ else
+ if (Powered) return 15629;
+ else return 15630;
+ else
+ if (Hinge == Hinge::Left)
+ if (Open)
+ if (Powered) return 15631;
+ else return 15632;
+ else
+ if (Powered) return 15633;
+ else return 15634;
+ else
+ if (Open)
+ if (Powered) return 15635;
+ else return 15636;
+ else
+ if (Powered) return 15637;
+ else return 15638;
+ else
+ if (Half == Half::Upper)
+ if (Hinge == Hinge::Left)
+ if (Open)
+ if (Powered) return 15639;
+ else return 15640;
+ else
+ if (Powered) return 15641;
+ else return 15642;
+ else
+ if (Open)
+ if (Powered) return 15643;
+ else return 15644;
+ else
+ if (Powered) return 15645;
+ else return 15646;
+ else
+ if (Hinge == Hinge::Left)
+ if (Open)
+ if (Powered) return 15647;
+ else return 15648;
+ else
+ if (Powered) return 15649;
+ else return 15650;
+ else
+ if (Open)
+ if (Powered) return 15651;
+ else return 15652;
+ else
+ if (Powered) return 15653;
+ else return 15654;
+ }
+ BlockState WarpedDoor();
+ eBlockFace Facing(BlockState Block);
+ enum Half Half(BlockState Block);
+ enum Hinge Hinge(BlockState Block);
+ bool Open(BlockState Block);
+ bool Powered(BlockState Block);
+ }
+ namespace WarpedFence
+ {
+ constexpr BlockState WarpedFence(const bool East, const bool North, const bool South, const bool West)
+ {
+ if (East)
+ if (North)
+ if (South)
+ if (West) return 15097;
+ else return 15098;
+ else
+ if (West) return 15101;
+ else return 15102;
+ else
+ if (South)
+ if (West) return 15105;
+ else return 15106;
+ else
+ if (West) return 15109;
+ else return 15110;
+ else
+ if (North)
+ if (South)
+ if (West) return 15113;
+ else return 15114;
+ else
+ if (West) return 15117;
+ else return 15118;
+ else
+ if (South)
+ if (West) return 15121;
+ else return 15122;
+ else
+ if (West) return 15125;
+ else return 15126;
+ }
+ BlockState WarpedFence();
+ bool East(BlockState Block);
+ bool North(BlockState Block);
+ bool South(BlockState Block);
+ bool West(BlockState Block);
+ }
+ namespace WarpedFenceGate
+ {
+ constexpr BlockState WarpedFenceGate(const eBlockFace Facing, const bool InWall, const bool Open, const bool Powered)
+ {
+ if (Facing == eBlockFace::BLOCK_FACE_ZM)
+ if (InWall)
+ if (Open)
+ if (Powered) return 15287;
+ else return 15288;
+ else
+ if (Powered) return 15289;
+ else return 15290;
+ else
+ if (Open)
+ if (Powered) return 15291;
+ else return 15292;
+ else
+ if (Powered) return 15293;
+ else return 15294;
+ else if (Facing == eBlockFace::BLOCK_FACE_ZP)
+ if (InWall)
+ if (Open)
+ if (Powered) return 15295;
+ else return 15296;
+ else
+ if (Powered) return 15297;
+ else return 15298;
+ else
+ if (Open)
+ if (Powered) return 15299;
+ else return 15300;
+ else
+ if (Powered) return 15301;
+ else return 15302;
+ else if (Facing == eBlockFace::BLOCK_FACE_XM)
+ if (InWall)
+ if (Open)
+ if (Powered) return 15303;
+ else return 15304;
+ else
+ if (Powered) return 15305;
+ else return 15306;
+ else
+ if (Open)
+ if (Powered) return 15307;
+ else return 15308;
+ else
+ if (Powered) return 15309;
+ else return 15310;
+ else
+ if (InWall)
+ if (Open)
+ if (Powered) return 15311;
+ else return 15312;
+ else
+ if (Powered) return 15313;
+ else return 15314;
+ else
+ if (Open)
+ if (Powered) return 15315;
+ else return 15316;
+ else
+ if (Powered) return 15317;
+ else return 15318;
+ }
+ BlockState WarpedFenceGate();
+ eBlockFace Facing(BlockState Block);
+ bool InWall(BlockState Block);
+ bool Open(BlockState Block);
+ bool Powered(BlockState Block);
+ }
+ namespace WarpedFungus
+ {
+ constexpr BlockState WarpedFungus()
+ {
+ return 14971;
+ }
+ }
+ namespace WarpedHyphae
+ {
+ enum class Axis
+ {
+ X,
+ Y,
+ Z
+ };
+ constexpr BlockState WarpedHyphae(const enum Axis Axis)
+ {
+ if (Axis == Axis::X) return 14964;
+ else if (Axis == Axis::Y) return 14965;
+ else return 14966;
+ }
+ BlockState WarpedHyphae();
+ enum Axis Axis(BlockState Block);
+ }
+ namespace WarpedNylium
+ {
+ constexpr BlockState WarpedNylium()
+ {
+ return 14970;
+ }
+ }
+ namespace WarpedPlanks
+ {
+ constexpr BlockState WarpedPlanks()
+ {
+ return 15046;
+ }
+ }
+ namespace WarpedPressurePlate
+ {
+ constexpr BlockState WarpedPressurePlate(const bool Powered)
+ {
+ if (Powered) return 15061;
+ else return 15062;
+ }
+ BlockState WarpedPressurePlate();
+ bool Powered(BlockState Block);
+ }
+ namespace WarpedRoots
+ {
+ constexpr BlockState WarpedRoots()
+ {
+ return 14973;
+ }
+ }
+ namespace WarpedSign
+ {
+ constexpr BlockState WarpedSign(const unsigned char Rotation)
+ {
+ if (Rotation == 0) return 15688;
+ else if (Rotation == 1) return 15690;
+ else if (Rotation == 2) return 15692;
+ else if (Rotation == 3) return 15694;
+ else if (Rotation == 4) return 15696;
+ else if (Rotation == 5) return 15698;
+ else if (Rotation == 6) return 15700;
+ else if (Rotation == 7) return 15702;
+ else if (Rotation == 8) return 15704;
+ else if (Rotation == 9) return 15706;
+ else if (Rotation == 10) return 15708;
+ else if (Rotation == 11) return 15710;
+ else if (Rotation == 12) return 15712;
+ else if (Rotation == 13) return 15714;
+ else if (Rotation == 14) return 15716;
+ else return 15718;
+ }
+ BlockState WarpedSign();
+ unsigned char Rotation(BlockState Block);
+ }
+ namespace WarpedSlab
+ {
+ enum class Type
+ {
+ Top,
+ Bottom,
+ Double
+ };
+ constexpr BlockState WarpedSlab(const enum Type Type)
+ {
+ if (Type == Type::Top) return 15054;
+ else if (Type == Type::Bottom) return 15056;
+ else return 15058;
+ }
+ BlockState WarpedSlab();
+ enum Type Type(BlockState Block);
+ }
+ namespace WarpedStairs
+ {
+ enum class Half
+ {
+ Top,
+ Bottom
+ };
+ enum class Shape
+ {
+ Straight,
+ InnerLeft,
+ InnerRight,
+ OuterLeft,
+ OuterRight
+ };
+ constexpr BlockState WarpedStairs(const eBlockFace Facing, const enum Half Half, const enum Shape Shape)
+ {
+ if (Facing == eBlockFace::BLOCK_FACE_ZM)
+ if (Half == Half::Top)
+ if (Shape == Shape::Straight) return 15400;
+ else if (Shape == Shape::InnerLeft) return 15402;
+ else if (Shape == Shape::InnerRight) return 15404;
+ else if (Shape == Shape::OuterLeft) return 15406;
+ else return 15408;
+ else
+ if (Shape == Shape::Straight) return 15410;
+ else if (Shape == Shape::InnerLeft) return 15412;
+ else if (Shape == Shape::InnerRight) return 15414;
+ else if (Shape == Shape::OuterLeft) return 15416;
+ else return 15418;
+ else if (Facing == eBlockFace::BLOCK_FACE_ZP)
+ if (Half == Half::Top)
+ if (Shape == Shape::Straight) return 15420;
+ else if (Shape == Shape::InnerLeft) return 15422;
+ else if (Shape == Shape::InnerRight) return 15424;
+ else if (Shape == Shape::OuterLeft) return 15426;
+ else return 15428;
+ else
+ if (Shape == Shape::Straight) return 15430;
+ else if (Shape == Shape::InnerLeft) return 15432;
+ else if (Shape == Shape::InnerRight) return 15434;
+ else if (Shape == Shape::OuterLeft) return 15436;
+ else return 15438;
+ else if (Facing == eBlockFace::BLOCK_FACE_XM)
+ if (Half == Half::Top)
+ if (Shape == Shape::Straight) return 15440;
+ else if (Shape == Shape::InnerLeft) return 15442;
+ else if (Shape == Shape::InnerRight) return 15444;
+ else if (Shape == Shape::OuterLeft) return 15446;
+ else return 15448;
+ else
+ if (Shape == Shape::Straight) return 15450;
+ else if (Shape == Shape::InnerLeft) return 15452;
+ else if (Shape == Shape::InnerRight) return 15454;
+ else if (Shape == Shape::OuterLeft) return 15456;
+ else return 15458;
+ else
+ if (Half == Half::Top)
+ if (Shape == Shape::Straight) return 15460;
+ else if (Shape == Shape::InnerLeft) return 15462;
+ else if (Shape == Shape::InnerRight) return 15464;
+ else if (Shape == Shape::OuterLeft) return 15466;
+ else return 15468;
+ else
+ if (Shape == Shape::Straight) return 15470;
+ else if (Shape == Shape::InnerLeft) return 15472;
+ else if (Shape == Shape::InnerRight) return 15474;
+ else if (Shape == Shape::OuterLeft) return 15476;
+ else return 15478;
+ }
+ BlockState WarpedStairs();
+ eBlockFace Facing(BlockState Block);
+ enum Half Half(BlockState Block);
+ enum Shape Shape(BlockState Block);
+ }
+ namespace WarpedStem
+ {
+ enum class Axis
+ {
+ X,
+ Y,
+ Z
+ };
+ constexpr BlockState WarpedStem(const enum Axis Axis)
+ {
+ if (Axis == Axis::X) return 14958;
+ else if (Axis == Axis::Y) return 14959;
+ else return 14960;
+ }
+ BlockState WarpedStem();
+ enum Axis Axis(BlockState Block);
+ }
+ namespace WarpedTrapdoor
+ {
+ enum class Half
+ {
+ Top,
+ Bottom
+ };
+ constexpr BlockState WarpedTrapdoor(const eBlockFace Facing, const enum Half Half, const bool Open, const bool Powered)
+ {
+ if (Facing == eBlockFace::BLOCK_FACE_ZM)
+ if (Half == Half::Top)
+ if (Open)
+ if (Powered) return 15192;
+ else return 15194;
+ else
+ if (Powered) return 15196;
+ else return 15198;
+ else
+ if (Open)
+ if (Powered) return 15200;
+ else return 15202;
+ else
+ if (Powered) return 15204;
+ else return 15206;
+ else if (Facing == eBlockFace::BLOCK_FACE_ZP)
+ if (Half == Half::Top)
+ if (Open)
+ if (Powered) return 15208;
+ else return 15210;
+ else
+ if (Powered) return 15212;
+ else return 15214;
+ else
+ if (Open)
+ if (Powered) return 15216;
+ else return 15218;
+ else
+ if (Powered) return 15220;
+ else return 15222;
+ else if (Facing == eBlockFace::BLOCK_FACE_XM)
+ if (Half == Half::Top)
+ if (Open)
+ if (Powered) return 15224;
+ else return 15226;
+ else
+ if (Powered) return 15228;
+ else return 15230;
+ else
+ if (Open)
+ if (Powered) return 15232;
+ else return 15234;
+ else
+ if (Powered) return 15236;
+ else return 15238;
+ else
+ if (Half == Half::Top)
+ if (Open)
+ if (Powered) return 15240;
+ else return 15242;
+ else
+ if (Powered) return 15244;
+ else return 15246;
+ else
+ if (Open)
+ if (Powered) return 15248;
+ else return 15250;
+ else
+ if (Powered) return 15252;
+ else return 15254;
+ }
+ BlockState WarpedTrapdoor();
+ eBlockFace Facing(BlockState Block);
+ enum Half Half(BlockState Block);
+ bool Open(BlockState Block);
+ bool Powered(BlockState Block);
+ }
+ namespace WarpedWallSign
+ {
+ constexpr BlockState WarpedWallSign(const eBlockFace Facing)
+ {
+ if (Facing == eBlockFace::BLOCK_FACE_ZM) return 15728;
+ else if (Facing == eBlockFace::BLOCK_FACE_ZP) return 15730;
+ else if (Facing == eBlockFace::BLOCK_FACE_XM) return 15732;
+ else return 15734;
+ }
+ BlockState WarpedWallSign();
+ eBlockFace Facing(BlockState Block);
+ }
+ namespace WarpedWartBlock
+ {
+ constexpr BlockState WarpedWartBlock()
+ {
+ return 14972;
+ }
+ }
+ namespace Water
+ {
+ constexpr BlockState Water(const unsigned char Level)
+ {
+ if (Level == 0) return 34;
+ else if (Level == 1) return 35;
+ else if (Level == 2) return 36;
+ else if (Level == 3) return 37;
+ else if (Level == 4) return 38;
+ else if (Level == 5) return 39;
+ else if (Level == 6) return 40;
+ else if (Level == 7) return 41;
+ else if (Level == 8) return 42;
+ else if (Level == 9) return 43;
+ else if (Level == 10) return 44;
+ else if (Level == 11) return 45;
+ else if (Level == 12) return 46;
+ else if (Level == 13) return 47;
+ else if (Level == 14) return 48;
+ else return 49;
+ }
+ BlockState Water();
+ unsigned char Level(BlockState Block);
+ }
+ namespace WeepingVines
+ {
+ constexpr BlockState WeepingVines(const unsigned char Age)
+ {
+ if (Age == 0) return 14990;
+ else if (Age == 1) return 14991;
+ else if (Age == 2) return 14992;
+ else if (Age == 3) return 14993;
+ else if (Age == 4) return 14994;
+ else if (Age == 5) return 14995;
+ else if (Age == 6) return 14996;
+ else if (Age == 7) return 14997;
+ else if (Age == 8) return 14998;
+ else if (Age == 9) return 14999;
+ else if (Age == 10) return 15000;
+ else if (Age == 11) return 15001;
+ else if (Age == 12) return 15002;
+ else if (Age == 13) return 15003;
+ else if (Age == 14) return 15004;
+ else if (Age == 15) return 15005;
+ else if (Age == 16) return 15006;
+ else if (Age == 17) return 15007;
+ else if (Age == 18) return 15008;
+ else if (Age == 19) return 15009;
+ else if (Age == 20) return 15010;
+ else if (Age == 21) return 15011;
+ else if (Age == 22) return 15012;
+ else if (Age == 23) return 15013;
+ else if (Age == 24) return 15014;
+ else return 15015;
+ }
+ BlockState WeepingVines();
+ unsigned char Age(BlockState Block);
+ }
+ namespace WeepingVinesPlant
+ {
+ constexpr BlockState WeepingVinesPlant()
+ {
+ return 15016;
+ }
+ }
+ namespace WetSponge
+ {
+ constexpr BlockState WetSponge()
+ {
+ return 230;
+ }
+ }
+ namespace Wheat
+ {
+ constexpr BlockState Wheat(const unsigned char Age)
+ {
+ if (Age == 0) return 3357;
+ else if (Age == 1) return 3358;
+ else if (Age == 2) return 3359;
+ else if (Age == 3) return 3360;
+ else if (Age == 4) return 3361;
+ else if (Age == 5) return 3362;
+ else if (Age == 6) return 3363;
+ else return 3364;
+ }
+ BlockState Wheat();
+ unsigned char Age(BlockState Block);
+ }
+ namespace WhiteBanner
+ {
+ constexpr BlockState WhiteBanner(const unsigned char Rotation)
+ {
+ if (Rotation == 0) return 7897;
+ else if (Rotation == 1) return 7898;
+ else if (Rotation == 2) return 7899;
+ else if (Rotation == 3) return 7900;
+ else if (Rotation == 4) return 7901;
+ else if (Rotation == 5) return 7902;
+ else if (Rotation == 6) return 7903;
+ else if (Rotation == 7) return 7904;
+ else if (Rotation == 8) return 7905;
+ else if (Rotation == 9) return 7906;
+ else if (Rotation == 10) return 7907;
+ else if (Rotation == 11) return 7908;
+ else if (Rotation == 12) return 7909;
+ else if (Rotation == 13) return 7910;
+ else if (Rotation == 14) return 7911;
+ else return 7912;
+ }
+ BlockState WhiteBanner();
+ unsigned char Rotation(BlockState Block);
+ }
+ namespace WhiteBed
+ {
+ enum class Part
+ {
+ Head,
+ Foot
+ };
+ constexpr BlockState WhiteBed(const eBlockFace Facing, const bool Occupied, const enum Part Part)
+ {
+ if (Facing == eBlockFace::BLOCK_FACE_ZM)
+ if (Occupied)
+ if (Part == Part::Head) return 1049;
+ else return 1050;
+ else
+ if (Part == Part::Head) return 1051;
+ else return 1052;
+ else if (Facing == eBlockFace::BLOCK_FACE_ZP)
+ if (Occupied)
+ if (Part == Part::Head) return 1053;
+ else return 1054;
+ else
+ if (Part == Part::Head) return 1055;
+ else return 1056;
+ else if (Facing == eBlockFace::BLOCK_FACE_XM)
+ if (Occupied)
+ if (Part == Part::Head) return 1057;
+ else return 1058;
+ else
+ if (Part == Part::Head) return 1059;
+ else return 1060;
+ else
+ if (Occupied)
+ if (Part == Part::Head) return 1061;
+ else return 1062;
+ else
+ if (Part == Part::Head) return 1063;
+ else return 1064;
+ }
+ BlockState WhiteBed();
+ eBlockFace Facing(BlockState Block);
+ bool Occupied(BlockState Block);
+ enum Part Part(BlockState Block);
+ }
+ namespace WhiteCarpet
+ {
+ constexpr BlockState WhiteCarpet()
+ {
+ return 7866;
+ }
+ }
+ namespace WhiteConcrete
+ {
+ constexpr BlockState WhiteConcrete()
+ {
+ return 9438;
+ }
+ }
+ namespace WhiteConcretePowder
+ {
+ constexpr BlockState WhiteConcretePowder()
+ {
+ return 9454;
+ }
+ }
+ namespace WhiteGlazedTerracotta
+ {
+ constexpr BlockState WhiteGlazedTerracotta(const eBlockFace Facing)
+ {
+ if (Facing == eBlockFace::BLOCK_FACE_ZM) return 9374;
+ else if (Facing == eBlockFace::BLOCK_FACE_ZP) return 9375;
+ else if (Facing == eBlockFace::BLOCK_FACE_XM) return 9376;
+ else return 9377;
+ }
+ BlockState WhiteGlazedTerracotta();
+ eBlockFace Facing(BlockState Block);
+ }
+ namespace WhiteShulkerBox
+ {
+ constexpr BlockState WhiteShulkerBox(const eBlockFace Facing)
+ {
+ if (Facing == eBlockFace::BLOCK_FACE_ZM) return 9278;
+ else if (Facing == eBlockFace::BLOCK_FACE_XP) return 9279;
+ else if (Facing == eBlockFace::BLOCK_FACE_ZP) return 9280;
+ else if (Facing == eBlockFace::BLOCK_FACE_XM) return 9281;
+ else if (Facing == eBlockFace::BLOCK_FACE_YP) return 9282;
+ else return 9283;
+ }
+ BlockState WhiteShulkerBox();
+ eBlockFace Facing(BlockState Block);
+ }
+ namespace WhiteStainedGlass
+ {
+ constexpr BlockState WhiteStainedGlass()
+ {
+ return 4095;
+ }
+ }
+ namespace WhiteStainedGlassPane
+ {
+ constexpr BlockState WhiteStainedGlassPane(const bool East, const bool North, const bool South, const bool West)
+ {
+ if (East)
+ if (North)
+ if (South)
+ if (West) return 6865;
+ else return 6866;
+ else
+ if (West) return 6869;
+ else return 6870;
+ else
+ if (South)
+ if (West) return 6873;
+ else return 6874;
+ else
+ if (West) return 6877;
+ else return 6878;
+ else
+ if (North)
+ if (South)
+ if (West) return 6881;
+ else return 6882;
+ else
+ if (West) return 6885;
+ else return 6886;
+ else
+ if (South)
+ if (West) return 6889;
+ else return 6890;
+ else
+ if (West) return 6893;
+ else return 6894;
+ }
+ BlockState WhiteStainedGlassPane();
+ bool East(BlockState Block);
+ bool North(BlockState Block);
+ bool South(BlockState Block);
+ bool West(BlockState Block);
+ }
+ namespace WhiteTerracotta
+ {
+ constexpr BlockState WhiteTerracotta()
+ {
+ return 6847;
+ }
+ }
+ namespace WhiteTulip
+ {
+ constexpr BlockState WhiteTulip()
+ {
+ return 1419;
+ }
+ }
+ namespace WhiteWallBanner
+ {
+ constexpr BlockState WhiteWallBanner(const eBlockFace Facing)
+ {
+ if (Facing == eBlockFace::BLOCK_FACE_ZM) return 8153;
+ else if (Facing == eBlockFace::BLOCK_FACE_ZP) return 8154;
+ else if (Facing == eBlockFace::BLOCK_FACE_XM) return 8155;
+ else return 8156;
+ }
+ BlockState WhiteWallBanner();
+ eBlockFace Facing(BlockState Block);
+ }
+ namespace WhiteWool
+ {
+ constexpr BlockState WhiteWool()
+ {
+ return 1384;
+ }
+ }
+ namespace WitherRose
+ {
+ constexpr BlockState WitherRose()
+ {
+ return 1423;
+ }
+ }
+ namespace WitherSkeletonSkull
+ {
+ constexpr BlockState WitherSkeletonSkull(const unsigned char Rotation)
+ {
+ if (Rotation == 0) return 6510;
+ else if (Rotation == 1) return 6511;
+ else if (Rotation == 2) return 6512;
+ else if (Rotation == 3) return 6513;
+ else if (Rotation == 4) return 6514;
+ else if (Rotation == 5) return 6515;
+ else if (Rotation == 6) return 6516;
+ else if (Rotation == 7) return 6517;
+ else if (Rotation == 8) return 6518;
+ else if (Rotation == 9) return 6519;
+ else if (Rotation == 10) return 6520;
+ else if (Rotation == 11) return 6521;
+ else if (Rotation == 12) return 6522;
+ else if (Rotation == 13) return 6523;
+ else if (Rotation == 14) return 6524;
+ else return 6525;
+ }
+ BlockState WitherSkeletonSkull();
+ unsigned char Rotation(BlockState Block);
+ }
+ namespace WitherSkeletonWallSkull
+ {
+ constexpr BlockState WitherSkeletonWallSkull(const eBlockFace Facing)
+ {
+ if (Facing == eBlockFace::BLOCK_FACE_ZM) return 6526;
+ else if (Facing == eBlockFace::BLOCK_FACE_ZP) return 6527;
+ else if (Facing == eBlockFace::BLOCK_FACE_XM) return 6528;
+ else return 6529;
+ }
+ BlockState WitherSkeletonWallSkull();
+ eBlockFace Facing(BlockState Block);
+ }
+ namespace YellowBanner
+ {
+ constexpr BlockState YellowBanner(const unsigned char Rotation)
+ {
+ if (Rotation == 0) return 7961;
+ else if (Rotation == 1) return 7962;
+ else if (Rotation == 2) return 7963;
+ else if (Rotation == 3) return 7964;
+ else if (Rotation == 4) return 7965;
+ else if (Rotation == 5) return 7966;
+ else if (Rotation == 6) return 7967;
+ else if (Rotation == 7) return 7968;
+ else if (Rotation == 8) return 7969;
+ else if (Rotation == 9) return 7970;
+ else if (Rotation == 10) return 7971;
+ else if (Rotation == 11) return 7972;
+ else if (Rotation == 12) return 7973;
+ else if (Rotation == 13) return 7974;
+ else if (Rotation == 14) return 7975;
+ else return 7976;
+ }
+ BlockState YellowBanner();
+ unsigned char Rotation(BlockState Block);
+ }
+ namespace YellowBed
+ {
+ enum class Part
+ {
+ Head,
+ Foot
+ };
+ constexpr BlockState YellowBed(const eBlockFace Facing, const bool Occupied, const enum Part Part)
+ {
+ if (Facing == eBlockFace::BLOCK_FACE_ZM)
+ if (Occupied)
+ if (Part == Part::Head) return 1113;
+ else return 1114;
+ else
+ if (Part == Part::Head) return 1115;
+ else return 1116;
+ else if (Facing == eBlockFace::BLOCK_FACE_ZP)
+ if (Occupied)
+ if (Part == Part::Head) return 1117;
+ else return 1118;
+ else
+ if (Part == Part::Head) return 1119;
+ else return 1120;
+ else if (Facing == eBlockFace::BLOCK_FACE_XM)
+ if (Occupied)
+ if (Part == Part::Head) return 1121;
+ else return 1122;
+ else
+ if (Part == Part::Head) return 1123;
+ else return 1124;
+ else
+ if (Occupied)
+ if (Part == Part::Head) return 1125;
+ else return 1126;
+ else
+ if (Part == Part::Head) return 1127;
+ else return 1128;
+ }
+ BlockState YellowBed();
+ eBlockFace Facing(BlockState Block);
+ bool Occupied(BlockState Block);
+ enum Part Part(BlockState Block);
+ }
+ namespace YellowCarpet
+ {
+ constexpr BlockState YellowCarpet()
+ {
+ return 7870;
+ }
+ }
+ namespace YellowConcrete
+ {
+ constexpr BlockState YellowConcrete()
+ {
+ return 9442;
+ }
+ }
+ namespace YellowConcretePowder
+ {
+ constexpr BlockState YellowConcretePowder()
+ {
+ return 9458;
+ }
+ }
+ namespace YellowGlazedTerracotta
+ {
+ constexpr BlockState YellowGlazedTerracotta(const eBlockFace Facing)
+ {
+ if (Facing == eBlockFace::BLOCK_FACE_ZM) return 9390;
+ else if (Facing == eBlockFace::BLOCK_FACE_ZP) return 9391;
+ else if (Facing == eBlockFace::BLOCK_FACE_XM) return 9392;
+ else return 9393;
+ }
+ BlockState YellowGlazedTerracotta();
+ eBlockFace Facing(BlockState Block);
+ }
+ namespace YellowShulkerBox
+ {
+ constexpr BlockState YellowShulkerBox(const eBlockFace Facing)
+ {
+ if (Facing == eBlockFace::BLOCK_FACE_ZM) return 9302;
+ else if (Facing == eBlockFace::BLOCK_FACE_XP) return 9303;
+ else if (Facing == eBlockFace::BLOCK_FACE_ZP) return 9304;
+ else if (Facing == eBlockFace::BLOCK_FACE_XM) return 9305;
+ else if (Facing == eBlockFace::BLOCK_FACE_YP) return 9306;
+ else return 9307;
+ }
+ BlockState YellowShulkerBox();
+ eBlockFace Facing(BlockState Block);
+ }
+ namespace YellowStainedGlass
+ {
+ constexpr BlockState YellowStainedGlass()
+ {
+ return 4099;
+ }
+ }
+ namespace YellowStainedGlassPane
+ {
+ constexpr BlockState YellowStainedGlassPane(const bool East, const bool North, const bool South, const bool West)
+ {
+ if (East)
+ if (North)
+ if (South)
+ if (West) return 6993;
+ else return 6994;
+ else
+ if (West) return 6997;
+ else return 6998;
+ else
+ if (South)
+ if (West) return 7001;
+ else return 7002;
+ else
+ if (West) return 7005;
+ else return 7006;
+ else
+ if (North)
+ if (South)
+ if (West) return 7009;
+ else return 7010;
+ else
+ if (West) return 7013;
+ else return 7014;
+ else
+ if (South)
+ if (West) return 7017;
+ else return 7018;
+ else
+ if (West) return 7021;
+ else return 7022;
+ }
+ BlockState YellowStainedGlassPane();
+ bool East(BlockState Block);
+ bool North(BlockState Block);
+ bool South(BlockState Block);
+ bool West(BlockState Block);
+ }
+ namespace YellowTerracotta
+ {
+ constexpr BlockState YellowTerracotta()
+ {
+ return 6851;
+ }
+ }
+ namespace YellowWallBanner
+ {
+ constexpr BlockState YellowWallBanner(const eBlockFace Facing)
+ {
+ if (Facing == eBlockFace::BLOCK_FACE_ZM) return 8169;
+ else if (Facing == eBlockFace::BLOCK_FACE_ZP) return 8170;
+ else if (Facing == eBlockFace::BLOCK_FACE_XM) return 8171;
+ else return 8172;
+ }
+ BlockState YellowWallBanner();
+ eBlockFace Facing(BlockState Block);
+ }
+ namespace YellowWool
+ {
+ constexpr BlockState YellowWool()
+ {
+ return 1388;
+ }
+ }
+ namespace ZombieHead
+ {
+ constexpr BlockState ZombieHead(const unsigned char Rotation)
+ {
+ if (Rotation == 0) return 6530;
+ else if (Rotation == 1) return 6531;
+ else if (Rotation == 2) return 6532;
+ else if (Rotation == 3) return 6533;
+ else if (Rotation == 4) return 6534;
+ else if (Rotation == 5) return 6535;
+ else if (Rotation == 6) return 6536;
+ else if (Rotation == 7) return 6537;
+ else if (Rotation == 8) return 6538;
+ else if (Rotation == 9) return 6539;
+ else if (Rotation == 10) return 6540;
+ else if (Rotation == 11) return 6541;
+ else if (Rotation == 12) return 6542;
+ else if (Rotation == 13) return 6543;
+ else if (Rotation == 14) return 6544;
+ else return 6545;
+ }
+ BlockState ZombieHead();
+ unsigned char Rotation(BlockState Block);
+ }
+ namespace ZombieWallHead
+ {
+ constexpr BlockState ZombieWallHead(const eBlockFace Facing)
+ {
+ if (Facing == eBlockFace::BLOCK_FACE_ZM) return 6546;
+ else if (Facing == eBlockFace::BLOCK_FACE_ZP) return 6547;
+ else if (Facing == eBlockFace::BLOCK_FACE_XM) return 6548;
+ else return 6549;
+ }
+ BlockState ZombieWallHead();
+ eBlockFace Facing(BlockState Block);
+ }
+}
diff --git a/src/Registries/BlockTypes.h b/src/Registries/BlockTypes.h
new file mode 100644
index 000000000..d3b34de03
--- /dev/null
+++ b/src/Registries/BlockTypes.h
@@ -0,0 +1,768 @@
+#pragma once
+
+enum class BlockType
+{
+ AcaciaButton,
+ AcaciaDoor,
+ AcaciaFence,
+ AcaciaFenceGate,
+ AcaciaLeaves,
+ AcaciaLog,
+ AcaciaPlanks,
+ AcaciaPressurePlate,
+ AcaciaSapling,
+ AcaciaSign,
+ AcaciaSlab,
+ AcaciaStairs,
+ AcaciaTrapdoor,
+ AcaciaWallSign,
+ AcaciaWood,
+ ActivatorRail,
+ Air,
+ Allium,
+ AncientDebris,
+ Andesite,
+ AndesiteSlab,
+ AndesiteStairs,
+ AndesiteWall,
+ Anvil,
+ AttachedMelonStem,
+ AttachedPumpkinStem,
+ AzureBluet,
+ Bamboo,
+ BambooSapling,
+ Barrel,
+ Barrier,
+ Basalt,
+ Beacon,
+ Bedrock,
+ BeeNest,
+ Beehive,
+ Beetroots,
+ Bell,
+ BirchButton,
+ BirchDoor,
+ BirchFence,
+ BirchFenceGate,
+ BirchLeaves,
+ BirchLog,
+ BirchPlanks,
+ BirchPressurePlate,
+ BirchSapling,
+ BirchSign,
+ BirchSlab,
+ BirchStairs,
+ BirchTrapdoor,
+ BirchWallSign,
+ BirchWood,
+ BlackBanner,
+ BlackBed,
+ BlackCarpet,
+ BlackConcrete,
+ BlackConcretePowder,
+ BlackGlazedTerracotta,
+ BlackShulkerBox,
+ BlackStainedGlass,
+ BlackStainedGlassPane,
+ BlackTerracotta,
+ BlackWallBanner,
+ BlackWool,
+ Blackstone,
+ BlackstoneSlab,
+ BlackstoneStairs,
+ BlackstoneWall,
+ BlastFurnace,
+ BlueBanner,
+ BlueBed,
+ BlueCarpet,
+ BlueConcrete,
+ BlueConcretePowder,
+ BlueGlazedTerracotta,
+ BlueIce,
+ BlueOrchid,
+ BlueShulkerBox,
+ BlueStainedGlass,
+ BlueStainedGlassPane,
+ BlueTerracotta,
+ BlueWallBanner,
+ BlueWool,
+ BoneBlock,
+ Bookshelf,
+ BrainCoral,
+ BrainCoralBlock,
+ BrainCoralFan,
+ BrainCoralWallFan,
+ BrewingStand,
+ BrickSlab,
+ BrickStairs,
+ BrickWall,
+ Bricks,
+ BrownBanner,
+ BrownBed,
+ BrownCarpet,
+ BrownConcrete,
+ BrownConcretePowder,
+ BrownGlazedTerracotta,
+ BrownMushroom,
+ BrownMushroomBlock,
+ BrownShulkerBox,
+ BrownStainedGlass,
+ BrownStainedGlassPane,
+ BrownTerracotta,
+ BrownWallBanner,
+ BrownWool,
+ BubbleColumn,
+ BubbleCoral,
+ BubbleCoralBlock,
+ BubbleCoralFan,
+ BubbleCoralWallFan,
+ Cactus,
+ Cake,
+ Campfire,
+ Carrots,
+ CartographyTable,
+ CarvedPumpkin,
+ Cauldron,
+ CaveAir,
+ Chain,
+ ChainCommandBlock,
+ Chest,
+ ChippedAnvil,
+ ChiseledNetherBricks,
+ ChiseledPolishedBlackstone,
+ ChiseledQuartzBlock,
+ ChiseledRedSandstone,
+ ChiseledSandstone,
+ ChiseledStoneBricks,
+ ChorusFlower,
+ ChorusPlant,
+ Clay,
+ CoalBlock,
+ CoalOre,
+ CoarseDirt,
+ Cobblestone,
+ CobblestoneSlab,
+ CobblestoneStairs,
+ CobblestoneWall,
+ Cobweb,
+ Cocoa,
+ CommandBlock,
+ Comparator,
+ Composter,
+ Conduit,
+ Cornflower,
+ CrackedNetherBricks,
+ CrackedPolishedBlackstoneBricks,
+ CrackedStoneBricks,
+ CraftingTable,
+ CreeperHead,
+ CreeperWallHead,
+ CrimsonButton,
+ CrimsonDoor,
+ CrimsonFence,
+ CrimsonFenceGate,
+ CrimsonFungus,
+ CrimsonHyphae,
+ CrimsonNylium,
+ CrimsonPlanks,
+ CrimsonPressurePlate,
+ CrimsonRoots,
+ CrimsonSign,
+ CrimsonSlab,
+ CrimsonStairs,
+ CrimsonStem,
+ CrimsonTrapdoor,
+ CrimsonWallSign,
+ CryingObsidian,
+ CutRedSandstone,
+ CutRedSandstoneSlab,
+ CutSandstone,
+ CutSandstoneSlab,
+ CyanBanner,
+ CyanBed,
+ CyanCarpet,
+ CyanConcrete,
+ CyanConcretePowder,
+ CyanGlazedTerracotta,
+ CyanShulkerBox,
+ CyanStainedGlass,
+ CyanStainedGlassPane,
+ CyanTerracotta,
+ CyanWallBanner,
+ CyanWool,
+ DamagedAnvil,
+ Dandelion,
+ DarkOakButton,
+ DarkOakDoor,
+ DarkOakFence,
+ DarkOakFenceGate,
+ DarkOakLeaves,
+ DarkOakLog,
+ DarkOakPlanks,
+ DarkOakPressurePlate,
+ DarkOakSapling,
+ DarkOakSign,
+ DarkOakSlab,
+ DarkOakStairs,
+ DarkOakTrapdoor,
+ DarkOakWallSign,
+ DarkOakWood,
+ DarkPrismarine,
+ DarkPrismarineSlab,
+ DarkPrismarineStairs,
+ DaylightDetector,
+ DeadBrainCoral,
+ DeadBrainCoralBlock,
+ DeadBrainCoralFan,
+ DeadBrainCoralWallFan,
+ DeadBubbleCoral,
+ DeadBubbleCoralBlock,
+ DeadBubbleCoralFan,
+ DeadBubbleCoralWallFan,
+ DeadBush,
+ DeadFireCoral,
+ DeadFireCoralBlock,
+ DeadFireCoralFan,
+ DeadFireCoralWallFan,
+ DeadHornCoral,
+ DeadHornCoralBlock,
+ DeadHornCoralFan,
+ DeadHornCoralWallFan,
+ DeadTubeCoral,
+ DeadTubeCoralBlock,
+ DeadTubeCoralFan,
+ DeadTubeCoralWallFan,
+ DetectorRail,
+ DiamondBlock,
+ DiamondOre,
+ Diorite,
+ DioriteSlab,
+ DioriteStairs,
+ DioriteWall,
+ Dirt,
+ Dispenser,
+ DragonEgg,
+ DragonHead,
+ DragonWallHead,
+ DriedKelpBlock,
+ Dropper,
+ EmeraldBlock,
+ EmeraldOre,
+ EnchantingTable,
+ EndGateway,
+ EndPortal,
+ EndPortalFrame,
+ EndRod,
+ EndStone,
+ EndStoneBrickSlab,
+ EndStoneBrickStairs,
+ EndStoneBrickWall,
+ EndStoneBricks,
+ EnderChest,
+ Farmland,
+ Fern,
+ Fire,
+ FireCoral,
+ FireCoralBlock,
+ FireCoralFan,
+ FireCoralWallFan,
+ FletchingTable,
+ FlowerPot,
+ FrostedIce,
+ Furnace,
+ GildedBlackstone,
+ Glass,
+ GlassPane,
+ Glowstone,
+ GoldBlock,
+ GoldOre,
+ Granite,
+ GraniteSlab,
+ GraniteStairs,
+ GraniteWall,
+ Grass,
+ GrassBlock,
+ GrassPath,
+ Gravel,
+ GrayBanner,
+ GrayBed,
+ GrayCarpet,
+ GrayConcrete,
+ GrayConcretePowder,
+ GrayGlazedTerracotta,
+ GrayShulkerBox,
+ GrayStainedGlass,
+ GrayStainedGlassPane,
+ GrayTerracotta,
+ GrayWallBanner,
+ GrayWool,
+ GreenBanner,
+ GreenBed,
+ GreenCarpet,
+ GreenConcrete,
+ GreenConcretePowder,
+ GreenGlazedTerracotta,
+ GreenShulkerBox,
+ GreenStainedGlass,
+ GreenStainedGlassPane,
+ GreenTerracotta,
+ GreenWallBanner,
+ GreenWool,
+ Grindstone,
+ HayBale,
+ HeavyWeightedPressurePlate,
+ HoneyBlock,
+ HoneycombBlock,
+ Hopper,
+ HornCoral,
+ HornCoralBlock,
+ HornCoralFan,
+ HornCoralWallFan,
+ Ice,
+ InfestedChiseledStoneBricks,
+ InfestedCobblestone,
+ InfestedCrackedStoneBricks,
+ InfestedMossyStoneBricks,
+ InfestedStone,
+ InfestedStoneBricks,
+ IronBars,
+ IronBlock,
+ IronDoor,
+ IronOre,
+ IronTrapdoor,
+ JackOLantern,
+ Jigsaw,
+ Jukebox,
+ JungleButton,
+ JungleDoor,
+ JungleFence,
+ JungleFenceGate,
+ JungleLeaves,
+ JungleLog,
+ JunglePlanks,
+ JunglePressurePlate,
+ JungleSapling,
+ JungleSign,
+ JungleSlab,
+ JungleStairs,
+ JungleTrapdoor,
+ JungleWallSign,
+ JungleWood,
+ Kelp,
+ KelpPlant,
+ Ladder,
+ Lantern,
+ LapisBlock,
+ LapisOre,
+ LargeFern,
+ Lava,
+ Lectern,
+ Lever,
+ LightBlueBanner,
+ LightBlueBed,
+ LightBlueCarpet,
+ LightBlueConcrete,
+ LightBlueConcretePowder,
+ LightBlueGlazedTerracotta,
+ LightBlueShulkerBox,
+ LightBlueStainedGlass,
+ LightBlueStainedGlassPane,
+ LightBlueTerracotta,
+ LightBlueWallBanner,
+ LightBlueWool,
+ LightGrayBanner,
+ LightGrayBed,
+ LightGrayCarpet,
+ LightGrayConcrete,
+ LightGrayConcretePowder,
+ LightGrayGlazedTerracotta,
+ LightGrayShulkerBox,
+ LightGrayStainedGlass,
+ LightGrayStainedGlassPane,
+ LightGrayTerracotta,
+ LightGrayWallBanner,
+ LightGrayWool,
+ LightWeightedPressurePlate,
+ Lilac,
+ LilyOfTheValley,
+ LilyPad,
+ LimeBanner,
+ LimeBed,
+ LimeCarpet,
+ LimeConcrete,
+ LimeConcretePowder,
+ LimeGlazedTerracotta,
+ LimeShulkerBox,
+ LimeStainedGlass,
+ LimeStainedGlassPane,
+ LimeTerracotta,
+ LimeWallBanner,
+ LimeWool,
+ Lodestone,
+ Loom,
+ MagentaBanner,
+ MagentaBed,
+ MagentaCarpet,
+ MagentaConcrete,
+ MagentaConcretePowder,
+ MagentaGlazedTerracotta,
+ MagentaShulkerBox,
+ MagentaStainedGlass,
+ MagentaStainedGlassPane,
+ MagentaTerracotta,
+ MagentaWallBanner,
+ MagentaWool,
+ MagmaBlock,
+ Melon,
+ MelonStem,
+ MossyCobblestone,
+ MossyCobblestoneSlab,
+ MossyCobblestoneStairs,
+ MossyCobblestoneWall,
+ MossyStoneBrickSlab,
+ MossyStoneBrickStairs,
+ MossyStoneBrickWall,
+ MossyStoneBricks,
+ MovingPiston,
+ MushroomStem,
+ Mycelium,
+ NetherBrickFence,
+ NetherBrickSlab,
+ NetherBrickStairs,
+ NetherBrickWall,
+ NetherBricks,
+ NetherGoldOre,
+ NetherPortal,
+ NetherQuartzOre,
+ NetherSprouts,
+ NetherWart,
+ NetherWartBlock,
+ NetheriteBlock,
+ Netherrack,
+ NoteBlock,
+ OakButton,
+ OakDoor,
+ OakFence,
+ OakFenceGate,
+ OakLeaves,
+ OakLog,
+ OakPlanks,
+ OakPressurePlate,
+ OakSapling,
+ OakSign,
+ OakSlab,
+ OakStairs,
+ OakTrapdoor,
+ OakWallSign,
+ OakWood,
+ Observer,
+ Obsidian,
+ OrangeBanner,
+ OrangeBed,
+ OrangeCarpet,
+ OrangeConcrete,
+ OrangeConcretePowder,
+ OrangeGlazedTerracotta,
+ OrangeShulkerBox,
+ OrangeStainedGlass,
+ OrangeStainedGlassPane,
+ OrangeTerracotta,
+ OrangeTulip,
+ OrangeWallBanner,
+ OrangeWool,
+ OxeyeDaisy,
+ PackedIce,
+ Peony,
+ PetrifiedOakSlab,
+ PinkBanner,
+ PinkBed,
+ PinkCarpet,
+ PinkConcrete,
+ PinkConcretePowder,
+ PinkGlazedTerracotta,
+ PinkShulkerBox,
+ PinkStainedGlass,
+ PinkStainedGlassPane,
+ PinkTerracotta,
+ PinkTulip,
+ PinkWallBanner,
+ PinkWool,
+ Piston,
+ PistonHead,
+ PlayerHead,
+ PlayerWallHead,
+ Podzol,
+ PolishedAndesite,
+ PolishedAndesiteSlab,
+ PolishedAndesiteStairs,
+ PolishedBasalt,
+ PolishedBlackstone,
+ PolishedBlackstoneBrickSlab,
+ PolishedBlackstoneBrickStairs,
+ PolishedBlackstoneBrickWall,
+ PolishedBlackstoneBricks,
+ PolishedBlackstoneButton,
+ PolishedBlackstonePressurePlate,
+ PolishedBlackstoneSlab,
+ PolishedBlackstoneStairs,
+ PolishedBlackstoneWall,
+ PolishedDiorite,
+ PolishedDioriteSlab,
+ PolishedDioriteStairs,
+ PolishedGranite,
+ PolishedGraniteSlab,
+ PolishedGraniteStairs,
+ Poppy,
+ Potatoes,
+ PottedAcaciaSapling,
+ PottedAllium,
+ PottedAzureBluet,
+ PottedBamboo,
+ PottedBirchSapling,
+ PottedBlueOrchid,
+ PottedBrownMushroom,
+ PottedCactus,
+ PottedCornflower,
+ PottedCrimsonFungus,
+ PottedCrimsonRoots,
+ PottedDandelion,
+ PottedDarkOakSapling,
+ PottedDeadBush,
+ PottedFern,
+ PottedJungleSapling,
+ PottedLilyOfTheValley,
+ PottedOakSapling,
+ PottedOrangeTulip,
+ PottedOxeyeDaisy,
+ PottedPinkTulip,
+ PottedPoppy,
+ PottedRedMushroom,
+ PottedRedTulip,
+ PottedSpruceSapling,
+ PottedWarpedFungus,
+ PottedWarpedRoots,
+ PottedWhiteTulip,
+ PottedWitherRose,
+ PoweredRail,
+ Prismarine,
+ PrismarineBrickSlab,
+ PrismarineBrickStairs,
+ PrismarineBricks,
+ PrismarineSlab,
+ PrismarineStairs,
+ PrismarineWall,
+ Pumpkin,
+ PumpkinStem,
+ PurpleBanner,
+ PurpleBed,
+ PurpleCarpet,
+ PurpleConcrete,
+ PurpleConcretePowder,
+ PurpleGlazedTerracotta,
+ PurpleShulkerBox,
+ PurpleStainedGlass,
+ PurpleStainedGlassPane,
+ PurpleTerracotta,
+ PurpleWallBanner,
+ PurpleWool,
+ PurpurBlock,
+ PurpurPillar,
+ PurpurSlab,
+ PurpurStairs,
+ QuartzBlock,
+ QuartzBricks,
+ QuartzPillar,
+ QuartzSlab,
+ QuartzStairs,
+ Rail,
+ RedBanner,
+ RedBed,
+ RedCarpet,
+ RedConcrete,
+ RedConcretePowder,
+ RedGlazedTerracotta,
+ RedMushroom,
+ RedMushroomBlock,
+ RedNetherBrickSlab,
+ RedNetherBrickStairs,
+ RedNetherBrickWall,
+ RedNetherBricks,
+ RedSand,
+ RedSandstone,
+ RedSandstoneSlab,
+ RedSandstoneStairs,
+ RedSandstoneWall,
+ RedShulkerBox,
+ RedStainedGlass,
+ RedStainedGlassPane,
+ RedTerracotta,
+ RedTulip,
+ RedWallBanner,
+ RedWool,
+ RedstoneBlock,
+ RedstoneLamp,
+ RedstoneOre,
+ RedstoneTorch,
+ RedstoneWallTorch,
+ RedstoneWire,
+ Repeater,
+ RepeatingCommandBlock,
+ RespawnAnchor,
+ RoseBush,
+ Sand,
+ Sandstone,
+ SandstoneSlab,
+ SandstoneStairs,
+ SandstoneWall,
+ Scaffolding,
+ SeaLantern,
+ SeaPickle,
+ Seagrass,
+ Shroomlight,
+ ShulkerBox,
+ SkeletonSkull,
+ SkeletonWallSkull,
+ SlimeBlock,
+ SmithingTable,
+ Smoker,
+ SmoothQuartz,
+ SmoothQuartzSlab,
+ SmoothQuartzStairs,
+ SmoothRedSandstone,
+ SmoothRedSandstoneSlab,
+ SmoothRedSandstoneStairs,
+ SmoothSandstone,
+ SmoothSandstoneSlab,
+ SmoothSandstoneStairs,
+ SmoothStone,
+ SmoothStoneSlab,
+ Snow,
+ SnowBlock,
+ SoulCampfire,
+ SoulFire,
+ SoulLantern,
+ SoulSand,
+ SoulSoil,
+ SoulTorch,
+ SoulWallTorch,
+ Spawner,
+ Sponge,
+ SpruceButton,
+ SpruceDoor,
+ SpruceFence,
+ SpruceFenceGate,
+ SpruceLeaves,
+ SpruceLog,
+ SprucePlanks,
+ SprucePressurePlate,
+ SpruceSapling,
+ SpruceSign,
+ SpruceSlab,
+ SpruceStairs,
+ SpruceTrapdoor,
+ SpruceWallSign,
+ SpruceWood,
+ StickyPiston,
+ Stone,
+ StoneBrickSlab,
+ StoneBrickStairs,
+ StoneBrickWall,
+ StoneBricks,
+ StoneButton,
+ StonePressurePlate,
+ StoneSlab,
+ StoneStairs,
+ Stonecutter,
+ StrippedAcaciaLog,
+ StrippedAcaciaWood,
+ StrippedBirchLog,
+ StrippedBirchWood,
+ StrippedCrimsonHyphae,
+ StrippedCrimsonStem,
+ StrippedDarkOakLog,
+ StrippedDarkOakWood,
+ StrippedJungleLog,
+ StrippedJungleWood,
+ StrippedOakLog,
+ StrippedOakWood,
+ StrippedSpruceLog,
+ StrippedSpruceWood,
+ StrippedWarpedHyphae,
+ StrippedWarpedStem,
+ StructureBlock,
+ StructureVoid,
+ SugarCane,
+ Sunflower,
+ SweetBerryBush,
+ TNT,
+ TallGrass,
+ TallSeagrass,
+ Target,
+ Terracotta,
+ Torch,
+ TrappedChest,
+ Tripwire,
+ TripwireHook,
+ TubeCoral,
+ TubeCoralBlock,
+ TubeCoralFan,
+ TubeCoralWallFan,
+ TurtleEgg,
+ TwistingVines,
+ TwistingVinesPlant,
+ Vine,
+ VoidAir,
+ WallTorch,
+ WarpedButton,
+ WarpedDoor,
+ WarpedFence,
+ WarpedFenceGate,
+ WarpedFungus,
+ WarpedHyphae,
+ WarpedNylium,
+ WarpedPlanks,
+ WarpedPressurePlate,
+ WarpedRoots,
+ WarpedSign,
+ WarpedSlab,
+ WarpedStairs,
+ WarpedStem,
+ WarpedTrapdoor,
+ WarpedWallSign,
+ WarpedWartBlock,
+ Water,
+ WeepingVines,
+ WeepingVinesPlant,
+ WetSponge,
+ Wheat,
+ WhiteBanner,
+ WhiteBed,
+ WhiteCarpet,
+ WhiteConcrete,
+ WhiteConcretePowder,
+ WhiteGlazedTerracotta,
+ WhiteShulkerBox,
+ WhiteStainedGlass,
+ WhiteStainedGlassPane,
+ WhiteTerracotta,
+ WhiteTulip,
+ WhiteWallBanner,
+ WhiteWool,
+ WitherRose,
+ WitherSkeletonSkull,
+ WitherSkeletonWallSkull,
+ YellowBanner,
+ YellowBed,
+ YellowCarpet,
+ YellowConcrete,
+ YellowConcretePowder,
+ YellowGlazedTerracotta,
+ YellowShulkerBox,
+ YellowStainedGlass,
+ YellowStainedGlassPane,
+ YellowTerracotta,
+ YellowWallBanner,
+ YellowWool,
+ ZombieHead,
+ ZombieWallHead
+};
diff --git a/src/Registries/Blocks.h b/src/Registries/Blocks.h
deleted file mode 100644
index 297a81863..000000000
--- a/src/Registries/Blocks.h
+++ /dev/null
@@ -1,20284 +0,0 @@
-#pragma once
-
-#include "Globals.h"
-#include "../Defines.h"
-
-namespace Block
-{
- enum class Type
- {
- AcaciaButton,
- AcaciaDoor,
- AcaciaFence,
- AcaciaFenceGate,
- AcaciaLeaves,
- AcaciaLog,
- AcaciaPlanks,
- AcaciaPressurePlate,
- AcaciaSapling,
- AcaciaSign,
- AcaciaSlab,
- AcaciaStairs,
- AcaciaTrapdoor,
- AcaciaWallSign,
- AcaciaWood,
- ActivatorRail,
- Air,
- Allium,
- AncientDebris,
- Andesite,
- AndesiteSlab,
- AndesiteStairs,
- AndesiteWall,
- Anvil,
- AttachedMelonStem,
- AttachedPumpkinStem,
- AzureBluet,
- Bamboo,
- BambooSapling,
- Barrel,
- Barrier,
- Basalt,
- Beacon,
- Bedrock,
- BeeNest,
- Beehive,
- Beetroots,
- Bell,
- BirchButton,
- BirchDoor,
- BirchFence,
- BirchFenceGate,
- BirchLeaves,
- BirchLog,
- BirchPlanks,
- BirchPressurePlate,
- BirchSapling,
- BirchSign,
- BirchSlab,
- BirchStairs,
- BirchTrapdoor,
- BirchWallSign,
- BirchWood,
- BlackBanner,
- BlackBed,
- BlackCarpet,
- BlackConcrete,
- BlackConcretePowder,
- BlackGlazedTerracotta,
- BlackShulkerBox,
- BlackStainedGlass,
- BlackStainedGlassPane,
- BlackTerracotta,
- BlackWallBanner,
- BlackWool,
- Blackstone,
- BlackstoneSlab,
- BlackstoneStairs,
- BlackstoneWall,
- BlastFurnace,
- BlueBanner,
- BlueBed,
- BlueCarpet,
- BlueConcrete,
- BlueConcretePowder,
- BlueGlazedTerracotta,
- BlueIce,
- BlueOrchid,
- BlueShulkerBox,
- BlueStainedGlass,
- BlueStainedGlassPane,
- BlueTerracotta,
- BlueWallBanner,
- BlueWool,
- BoneBlock,
- Bookshelf,
- BrainCoral,
- BrainCoralBlock,
- BrainCoralFan,
- BrainCoralWallFan,
- BrewingStand,
- BrickSlab,
- BrickStairs,
- BrickWall,
- Bricks,
- BrownBanner,
- BrownBed,
- BrownCarpet,
- BrownConcrete,
- BrownConcretePowder,
- BrownGlazedTerracotta,
- BrownMushroom,
- BrownMushroomBlock,
- BrownShulkerBox,
- BrownStainedGlass,
- BrownStainedGlassPane,
- BrownTerracotta,
- BrownWallBanner,
- BrownWool,
- BubbleColumn,
- BubbleCoral,
- BubbleCoralBlock,
- BubbleCoralFan,
- BubbleCoralWallFan,
- Cactus,
- Cake,
- Campfire,
- Carrots,
- CartographyTable,
- CarvedPumpkin,
- Cauldron,
- CaveAir,
- Chain,
- ChainCommandBlock,
- Chest,
- ChippedAnvil,
- ChiseledNetherBricks,
- ChiseledPolishedBlackstone,
- ChiseledQuartzBlock,
- ChiseledRedSandstone,
- ChiseledSandstone,
- ChiseledStoneBricks,
- ChorusFlower,
- ChorusPlant,
- Clay,
- CoalBlock,
- CoalOre,
- CoarseDirt,
- Cobblestone,
- CobblestoneSlab,
- CobblestoneStairs,
- CobblestoneWall,
- Cobweb,
- Cocoa,
- CommandBlock,
- Comparator,
- Composter,
- Conduit,
- Cornflower,
- CrackedNetherBricks,
- CrackedPolishedBlackstoneBricks,
- CrackedStoneBricks,
- CraftingTable,
- CreeperHead,
- CreeperWallHead,
- CrimsonButton,
- CrimsonDoor,
- CrimsonFence,
- CrimsonFenceGate,
- CrimsonFungus,
- CrimsonHyphae,
- CrimsonNylium,
- CrimsonPlanks,
- CrimsonPressurePlate,
- CrimsonRoots,
- CrimsonSign,
- CrimsonSlab,
- CrimsonStairs,
- CrimsonStem,
- CrimsonTrapdoor,
- CrimsonWallSign,
- CryingObsidian,
- CutRedSandstone,
- CutRedSandstoneSlab,
- CutSandstone,
- CutSandstoneSlab,
- CyanBanner,
- CyanBed,
- CyanCarpet,
- CyanConcrete,
- CyanConcretePowder,
- CyanGlazedTerracotta,
- CyanShulkerBox,
- CyanStainedGlass,
- CyanStainedGlassPane,
- CyanTerracotta,
- CyanWallBanner,
- CyanWool,
- DamagedAnvil,
- Dandelion,
- DarkOakButton,
- DarkOakDoor,
- DarkOakFence,
- DarkOakFenceGate,
- DarkOakLeaves,
- DarkOakLog,
- DarkOakPlanks,
- DarkOakPressurePlate,
- DarkOakSapling,
- DarkOakSign,
- DarkOakSlab,
- DarkOakStairs,
- DarkOakTrapdoor,
- DarkOakWallSign,
- DarkOakWood,
- DarkPrismarine,
- DarkPrismarineSlab,
- DarkPrismarineStairs,
- DaylightDetector,
- DeadBrainCoral,
- DeadBrainCoralBlock,
- DeadBrainCoralFan,
- DeadBrainCoralWallFan,
- DeadBubbleCoral,
- DeadBubbleCoralBlock,
- DeadBubbleCoralFan,
- DeadBubbleCoralWallFan,
- DeadBush,
- DeadFireCoral,
- DeadFireCoralBlock,
- DeadFireCoralFan,
- DeadFireCoralWallFan,
- DeadHornCoral,
- DeadHornCoralBlock,
- DeadHornCoralFan,
- DeadHornCoralWallFan,
- DeadTubeCoral,
- DeadTubeCoralBlock,
- DeadTubeCoralFan,
- DeadTubeCoralWallFan,
- DetectorRail,
- DiamondBlock,
- DiamondOre,
- Diorite,
- DioriteSlab,
- DioriteStairs,
- DioriteWall,
- Dirt,
- Dispenser,
- DragonEgg,
- DragonHead,
- DragonWallHead,
- DriedKelpBlock,
- Dropper,
- EmeraldBlock,
- EmeraldOre,
- EnchantingTable,
- EndGateway,
- EndPortal,
- EndPortalFrame,
- EndRod,
- EndStone,
- EndStoneBrickSlab,
- EndStoneBrickStairs,
- EndStoneBrickWall,
- EndStoneBricks,
- EnderChest,
- Farmland,
- Fern,
- Fire,
- FireCoral,
- FireCoralBlock,
- FireCoralFan,
- FireCoralWallFan,
- FletchingTable,
- FlowerPot,
- FrostedIce,
- Furnace,
- GildedBlackstone,
- Glass,
- GlassPane,
- Glowstone,
- GoldBlock,
- GoldOre,
- Granite,
- GraniteSlab,
- GraniteStairs,
- GraniteWall,
- Grass,
- GrassBlock,
- GrassPath,
- Gravel,
- GrayBanner,
- GrayBed,
- GrayCarpet,
- GrayConcrete,
- GrayConcretePowder,
- GrayGlazedTerracotta,
- GrayShulkerBox,
- GrayStainedGlass,
- GrayStainedGlassPane,
- GrayTerracotta,
- GrayWallBanner,
- GrayWool,
- GreenBanner,
- GreenBed,
- GreenCarpet,
- GreenConcrete,
- GreenConcretePowder,
- GreenGlazedTerracotta,
- GreenShulkerBox,
- GreenStainedGlass,
- GreenStainedGlassPane,
- GreenTerracotta,
- GreenWallBanner,
- GreenWool,
- Grindstone,
- HayBale,
- HeavyWeightedPressurePlate,
- HoneyBlock,
- HoneycombBlock,
- Hopper,
- HornCoral,
- HornCoralBlock,
- HornCoralFan,
- HornCoralWallFan,
- Ice,
- InfestedChiseledStoneBricks,
- InfestedCobblestone,
- InfestedCrackedStoneBricks,
- InfestedMossyStoneBricks,
- InfestedStone,
- InfestedStoneBricks,
- IronBars,
- IronBlock,
- IronDoor,
- IronOre,
- IronTrapdoor,
- JackOLantern,
- Jigsaw,
- Jukebox,
- JungleButton,
- JungleDoor,
- JungleFence,
- JungleFenceGate,
- JungleLeaves,
- JungleLog,
- JunglePlanks,
- JunglePressurePlate,
- JungleSapling,
- JungleSign,
- JungleSlab,
- JungleStairs,
- JungleTrapdoor,
- JungleWallSign,
- JungleWood,
- Kelp,
- KelpPlant,
- Ladder,
- Lantern,
- LapisBlock,
- LapisOre,
- LargeFern,
- Lava,
- Lectern,
- Lever,
- LightBlueBanner,
- LightBlueBed,
- LightBlueCarpet,
- LightBlueConcrete,
- LightBlueConcretePowder,
- LightBlueGlazedTerracotta,
- LightBlueShulkerBox,
- LightBlueStainedGlass,
- LightBlueStainedGlassPane,
- LightBlueTerracotta,
- LightBlueWallBanner,
- LightBlueWool,
- LightGrayBanner,
- LightGrayBed,
- LightGrayCarpet,
- LightGrayConcrete,
- LightGrayConcretePowder,
- LightGrayGlazedTerracotta,
- LightGrayShulkerBox,
- LightGrayStainedGlass,
- LightGrayStainedGlassPane,
- LightGrayTerracotta,
- LightGrayWallBanner,
- LightGrayWool,
- LightWeightedPressurePlate,
- Lilac,
- LilyOfTheValley,
- LilyPad,
- LimeBanner,
- LimeBed,
- LimeCarpet,
- LimeConcrete,
- LimeConcretePowder,
- LimeGlazedTerracotta,
- LimeShulkerBox,
- LimeStainedGlass,
- LimeStainedGlassPane,
- LimeTerracotta,
- LimeWallBanner,
- LimeWool,
- Lodestone,
- Loom,
- MagentaBanner,
- MagentaBed,
- MagentaCarpet,
- MagentaConcrete,
- MagentaConcretePowder,
- MagentaGlazedTerracotta,
- MagentaShulkerBox,
- MagentaStainedGlass,
- MagentaStainedGlassPane,
- MagentaTerracotta,
- MagentaWallBanner,
- MagentaWool,
- MagmaBlock,
- Melon,
- MelonStem,
- MossyCobblestone,
- MossyCobblestoneSlab,
- MossyCobblestoneStairs,
- MossyCobblestoneWall,
- MossyStoneBrickSlab,
- MossyStoneBrickStairs,
- MossyStoneBrickWall,
- MossyStoneBricks,
- MovingPiston,
- MushroomStem,
- Mycelium,
- NetherBrickFence,
- NetherBrickSlab,
- NetherBrickStairs,
- NetherBrickWall,
- NetherBricks,
- NetherGoldOre,
- NetherPortal,
- NetherQuartzOre,
- NetherSprouts,
- NetherWart,
- NetherWartBlock,
- NetheriteBlock,
- Netherrack,
- NoteBlock,
- OakButton,
- OakDoor,
- OakFence,
- OakFenceGate,
- OakLeaves,
- OakLog,
- OakPlanks,
- OakPressurePlate,
- OakSapling,
- OakSign,
- OakSlab,
- OakStairs,
- OakTrapdoor,
- OakWallSign,
- OakWood,
- Observer,
- Obsidian,
- OrangeBanner,
- OrangeBed,
- OrangeCarpet,
- OrangeConcrete,
- OrangeConcretePowder,
- OrangeGlazedTerracotta,
- OrangeShulkerBox,
- OrangeStainedGlass,
- OrangeStainedGlassPane,
- OrangeTerracotta,
- OrangeTulip,
- OrangeWallBanner,
- OrangeWool,
- OxeyeDaisy,
- PackedIce,
- Peony,
- PetrifiedOakSlab,
- PinkBanner,
- PinkBed,
- PinkCarpet,
- PinkConcrete,
- PinkConcretePowder,
- PinkGlazedTerracotta,
- PinkShulkerBox,
- PinkStainedGlass,
- PinkStainedGlassPane,
- PinkTerracotta,
- PinkTulip,
- PinkWallBanner,
- PinkWool,
- Piston,
- PistonHead,
- PlayerHead,
- PlayerWallHead,
- Podzol,
- PolishedAndesite,
- PolishedAndesiteSlab,
- PolishedAndesiteStairs,
- PolishedBasalt,
- PolishedBlackstone,
- PolishedBlackstoneBrickSlab,
- PolishedBlackstoneBrickStairs,
- PolishedBlackstoneBrickWall,
- PolishedBlackstoneBricks,
- PolishedBlackstoneButton,
- PolishedBlackstonePressurePlate,
- PolishedBlackstoneSlab,
- PolishedBlackstoneStairs,
- PolishedBlackstoneWall,
- PolishedDiorite,
- PolishedDioriteSlab,
- PolishedDioriteStairs,
- PolishedGranite,
- PolishedGraniteSlab,
- PolishedGraniteStairs,
- Poppy,
- Potatoes,
- PottedAcaciaSapling,
- PottedAllium,
- PottedAzureBluet,
- PottedBamboo,
- PottedBirchSapling,
- PottedBlueOrchid,
- PottedBrownMushroom,
- PottedCactus,
- PottedCornflower,
- PottedCrimsonFungus,
- PottedCrimsonRoots,
- PottedDandelion,
- PottedDarkOakSapling,
- PottedDeadBush,
- PottedFern,
- PottedJungleSapling,
- PottedLilyOfTheValley,
- PottedOakSapling,
- PottedOrangeTulip,
- PottedOxeyeDaisy,
- PottedPinkTulip,
- PottedPoppy,
- PottedRedMushroom,
- PottedRedTulip,
- PottedSpruceSapling,
- PottedWarpedFungus,
- PottedWarpedRoots,
- PottedWhiteTulip,
- PottedWitherRose,
- PoweredRail,
- Prismarine,
- PrismarineBrickSlab,
- PrismarineBrickStairs,
- PrismarineBricks,
- PrismarineSlab,
- PrismarineStairs,
- PrismarineWall,
- Pumpkin,
- PumpkinStem,
- PurpleBanner,
- PurpleBed,
- PurpleCarpet,
- PurpleConcrete,
- PurpleConcretePowder,
- PurpleGlazedTerracotta,
- PurpleShulkerBox,
- PurpleStainedGlass,
- PurpleStainedGlassPane,
- PurpleTerracotta,
- PurpleWallBanner,
- PurpleWool,
- PurpurBlock,
- PurpurPillar,
- PurpurSlab,
- PurpurStairs,
- QuartzBlock,
- QuartzBricks,
- QuartzPillar,
- QuartzSlab,
- QuartzStairs,
- Rail,
- RedBanner,
- RedBed,
- RedCarpet,
- RedConcrete,
- RedConcretePowder,
- RedGlazedTerracotta,
- RedMushroom,
- RedMushroomBlock,
- RedNetherBrickSlab,
- RedNetherBrickStairs,
- RedNetherBrickWall,
- RedNetherBricks,
- RedSand,
- RedSandstone,
- RedSandstoneSlab,
- RedSandstoneStairs,
- RedSandstoneWall,
- RedShulkerBox,
- RedStainedGlass,
- RedStainedGlassPane,
- RedTerracotta,
- RedTulip,
- RedWallBanner,
- RedWool,
- RedstoneBlock,
- RedstoneLamp,
- RedstoneOre,
- RedstoneTorch,
- RedstoneWallTorch,
- RedstoneWire,
- Repeater,
- RepeatingCommandBlock,
- RespawnAnchor,
- RoseBush,
- Sand,
- Sandstone,
- SandstoneSlab,
- SandstoneStairs,
- SandstoneWall,
- Scaffolding,
- SeaLantern,
- SeaPickle,
- Seagrass,
- Shroomlight,
- ShulkerBox,
- SkeletonSkull,
- SkeletonWallSkull,
- SlimeBlock,
- SmithingTable,
- Smoker,
- SmoothQuartz,
- SmoothQuartzSlab,
- SmoothQuartzStairs,
- SmoothRedSandstone,
- SmoothRedSandstoneSlab,
- SmoothRedSandstoneStairs,
- SmoothSandstone,
- SmoothSandstoneSlab,
- SmoothSandstoneStairs,
- SmoothStone,
- SmoothStoneSlab,
- Snow,
- SnowBlock,
- SoulCampfire,
- SoulFire,
- SoulLantern,
- SoulSand,
- SoulSoil,
- SoulTorch,
- SoulWallTorch,
- Spawner,
- Sponge,
- SpruceButton,
- SpruceDoor,
- SpruceFence,
- SpruceFenceGate,
- SpruceLeaves,
- SpruceLog,
- SprucePlanks,
- SprucePressurePlate,
- SpruceSapling,
- SpruceSign,
- SpruceSlab,
- SpruceStairs,
- SpruceTrapdoor,
- SpruceWallSign,
- SpruceWood,
- StickyPiston,
- Stone,
- StoneBrickSlab,
- StoneBrickStairs,
- StoneBrickWall,
- StoneBricks,
- StoneButton,
- StonePressurePlate,
- StoneSlab,
- StoneStairs,
- Stonecutter,
- StrippedAcaciaLog,
- StrippedAcaciaWood,
- StrippedBirchLog,
- StrippedBirchWood,
- StrippedCrimsonHyphae,
- StrippedCrimsonStem,
- StrippedDarkOakLog,
- StrippedDarkOakWood,
- StrippedJungleLog,
- StrippedJungleWood,
- StrippedOakLog,
- StrippedOakWood,
- StrippedSpruceLog,
- StrippedSpruceWood,
- StrippedWarpedHyphae,
- StrippedWarpedStem,
- StructureBlock,
- StructureVoid,
- SugarCane,
- Sunflower,
- SweetBerryBush,
- TNT,
- TallGrass,
- TallSeagrass,
- Target,
- Terracotta,
- Torch,
- TrappedChest,
- Tripwire,
- TripwireHook,
- TubeCoral,
- TubeCoralBlock,
- TubeCoralFan,
- TubeCoralWallFan,
- TurtleEgg,
- TwistingVines,
- TwistingVinesPlant,
- Vine,
- VoidAir,
- WallTorch,
- WarpedButton,
- WarpedDoor,
- WarpedFence,
- WarpedFenceGate,
- WarpedFungus,
- WarpedHyphae,
- WarpedNylium,
- WarpedPlanks,
- WarpedPressurePlate,
- WarpedRoots,
- WarpedSign,
- WarpedSlab,
- WarpedStairs,
- WarpedStem,
- WarpedTrapdoor,
- WarpedWallSign,
- WarpedWartBlock,
- Water,
- WeepingVines,
- WeepingVinesPlant,
- WetSponge,
- Wheat,
- WhiteBanner,
- WhiteBed,
- WhiteCarpet,
- WhiteConcrete,
- WhiteConcretePowder,
- WhiteGlazedTerracotta,
- WhiteShulkerBox,
- WhiteStainedGlass,
- WhiteStainedGlassPane,
- WhiteTerracotta,
- WhiteTulip,
- WhiteWallBanner,
- WhiteWool,
- WitherRose,
- WitherSkeletonSkull,
- WitherSkeletonWallSkull,
- YellowBanner,
- YellowBed,
- YellowCarpet,
- YellowConcrete,
- YellowConcretePowder,
- YellowGlazedTerracotta,
- YellowShulkerBox,
- YellowStainedGlass,
- YellowStainedGlassPane,
- YellowTerracotta,
- YellowWallBanner,
- YellowWool,
- ZombieHead,
- ZombieWallHead
- };
- enum Type Type(short ID);
- bool Is(short ID, enum Type Type);
- namespace AcaciaButton
- {
- enum class Face
- {
- Floor,
- Wall,
- Ceiling
- };
- constexpr short AcaciaButton(enum Face Face, eBlockFace Facing, bool Powered)
- {
- if (Face == Face::Floor && Facing == eBlockFace::BLOCK_FACE_ZM && Powered) return 6442;
- if (Face == Face::Floor && Facing == eBlockFace::BLOCK_FACE_ZM && !Powered) return 6443;
- if (Face == Face::Floor && Facing == eBlockFace::BLOCK_FACE_ZP && Powered) return 6444;
- if (Face == Face::Floor && Facing == eBlockFace::BLOCK_FACE_ZP && !Powered) return 6445;
- if (Face == Face::Floor && Facing == eBlockFace::BLOCK_FACE_XM && Powered) return 6446;
- if (Face == Face::Floor && Facing == eBlockFace::BLOCK_FACE_XM && !Powered) return 6447;
- if (Face == Face::Floor && Facing == eBlockFace::BLOCK_FACE_XP && Powered) return 6448;
- if (Face == Face::Floor && Facing == eBlockFace::BLOCK_FACE_XP && !Powered) return 6449;
- if (Face == Face::Wall && Facing == eBlockFace::BLOCK_FACE_ZM && Powered) return 6450;
- if (Face == Face::Wall && Facing == eBlockFace::BLOCK_FACE_ZM && !Powered) return 6451;
- if (Face == Face::Wall && Facing == eBlockFace::BLOCK_FACE_ZP && Powered) return 6452;
- if (Face == Face::Wall && Facing == eBlockFace::BLOCK_FACE_ZP && !Powered) return 6453;
- if (Face == Face::Wall && Facing == eBlockFace::BLOCK_FACE_XM && Powered) return 6454;
- if (Face == Face::Wall && Facing == eBlockFace::BLOCK_FACE_XM && !Powered) return 6455;
- if (Face == Face::Wall && Facing == eBlockFace::BLOCK_FACE_XP && Powered) return 6456;
- if (Face == Face::Wall && Facing == eBlockFace::BLOCK_FACE_XP && !Powered) return 6457;
- if (Face == Face::Ceiling && Facing == eBlockFace::BLOCK_FACE_ZM && Powered) return 6458;
- if (Face == Face::Ceiling && Facing == eBlockFace::BLOCK_FACE_ZM && !Powered) return 6459;
- if (Face == Face::Ceiling && Facing == eBlockFace::BLOCK_FACE_ZP && Powered) return 6460;
- if (Face == Face::Ceiling && Facing == eBlockFace::BLOCK_FACE_ZP && !Powered) return 6461;
- if (Face == Face::Ceiling && Facing == eBlockFace::BLOCK_FACE_XM && Powered) return 6462;
- if (Face == Face::Ceiling && Facing == eBlockFace::BLOCK_FACE_XM && !Powered) return 6463;
- if (Face == Face::Ceiling && Facing == eBlockFace::BLOCK_FACE_XP && Powered) return 6464;
- return 6465;
- }
- short AcaciaButton();
- enum Face Face(short ID);
- eBlockFace Facing(short ID);
- bool Powered(short ID);
- }
- namespace AcaciaDoor
- {
- enum class Half
- {
- Upper,
- Lower
- };
- enum class Hinge
- {
- Left,
- Right
- };
- constexpr short AcaciaDoor(eBlockFace Facing, enum Half Half, enum Hinge Hinge, bool Open, bool Powered)
- {
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Upper && Hinge == Hinge::Left && Open && Powered) return 8930;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Upper && Hinge == Hinge::Left && Open && !Powered) return 8931;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Upper && Hinge == Hinge::Left && !Open && Powered) return 8932;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Upper && Hinge == Hinge::Left && !Open && !Powered) return 8933;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Upper && Hinge == Hinge::Right && Open && Powered) return 8934;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Upper && Hinge == Hinge::Right && Open && !Powered) return 8935;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Upper && Hinge == Hinge::Right && !Open && Powered) return 8936;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Upper && Hinge == Hinge::Right && !Open && !Powered) return 8937;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Lower && Hinge == Hinge::Left && Open && Powered) return 8938;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Lower && Hinge == Hinge::Left && Open && !Powered) return 8939;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Lower && Hinge == Hinge::Left && !Open && Powered) return 8940;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Lower && Hinge == Hinge::Left && !Open && !Powered) return 8941;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Lower && Hinge == Hinge::Right && Open && Powered) return 8942;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Lower && Hinge == Hinge::Right && Open && !Powered) return 8943;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Lower && Hinge == Hinge::Right && !Open && Powered) return 8944;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Lower && Hinge == Hinge::Right && !Open && !Powered) return 8945;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Upper && Hinge == Hinge::Left && Open && Powered) return 8946;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Upper && Hinge == Hinge::Left && Open && !Powered) return 8947;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Upper && Hinge == Hinge::Left && !Open && Powered) return 8948;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Upper && Hinge == Hinge::Left && !Open && !Powered) return 8949;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Upper && Hinge == Hinge::Right && Open && Powered) return 8950;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Upper && Hinge == Hinge::Right && Open && !Powered) return 8951;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Upper && Hinge == Hinge::Right && !Open && Powered) return 8952;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Upper && Hinge == Hinge::Right && !Open && !Powered) return 8953;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Lower && Hinge == Hinge::Left && Open && Powered) return 8954;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Lower && Hinge == Hinge::Left && Open && !Powered) return 8955;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Lower && Hinge == Hinge::Left && !Open && Powered) return 8956;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Lower && Hinge == Hinge::Left && !Open && !Powered) return 8957;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Lower && Hinge == Hinge::Right && Open && Powered) return 8958;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Lower && Hinge == Hinge::Right && Open && !Powered) return 8959;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Lower && Hinge == Hinge::Right && !Open && Powered) return 8960;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Lower && Hinge == Hinge::Right && !Open && !Powered) return 8961;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Upper && Hinge == Hinge::Left && Open && Powered) return 8962;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Upper && Hinge == Hinge::Left && Open && !Powered) return 8963;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Upper && Hinge == Hinge::Left && !Open && Powered) return 8964;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Upper && Hinge == Hinge::Left && !Open && !Powered) return 8965;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Upper && Hinge == Hinge::Right && Open && Powered) return 8966;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Upper && Hinge == Hinge::Right && Open && !Powered) return 8967;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Upper && Hinge == Hinge::Right && !Open && Powered) return 8968;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Upper && Hinge == Hinge::Right && !Open && !Powered) return 8969;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Lower && Hinge == Hinge::Left && Open && Powered) return 8970;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Lower && Hinge == Hinge::Left && Open && !Powered) return 8971;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Lower && Hinge == Hinge::Left && !Open && Powered) return 8972;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Lower && Hinge == Hinge::Left && !Open && !Powered) return 8973;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Lower && Hinge == Hinge::Right && Open && Powered) return 8974;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Lower && Hinge == Hinge::Right && Open && !Powered) return 8975;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Lower && Hinge == Hinge::Right && !Open && Powered) return 8976;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Lower && Hinge == Hinge::Right && !Open && !Powered) return 8977;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Upper && Hinge == Hinge::Left && Open && Powered) return 8978;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Upper && Hinge == Hinge::Left && Open && !Powered) return 8979;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Upper && Hinge == Hinge::Left && !Open && Powered) return 8980;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Upper && Hinge == Hinge::Left && !Open && !Powered) return 8981;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Upper && Hinge == Hinge::Right && Open && Powered) return 8982;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Upper && Hinge == Hinge::Right && Open && !Powered) return 8983;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Upper && Hinge == Hinge::Right && !Open && Powered) return 8984;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Upper && Hinge == Hinge::Right && !Open && !Powered) return 8985;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Lower && Hinge == Hinge::Left && Open && Powered) return 8986;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Lower && Hinge == Hinge::Left && Open && !Powered) return 8987;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Lower && Hinge == Hinge::Left && !Open && Powered) return 8988;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Lower && Hinge == Hinge::Left && !Open && !Powered) return 8989;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Lower && Hinge == Hinge::Right && Open && Powered) return 8990;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Lower && Hinge == Hinge::Right && Open && !Powered) return 8991;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Lower && Hinge == Hinge::Right && !Open && Powered) return 8992;
- return 8993;
- }
- short AcaciaDoor();
- eBlockFace Facing(short ID);
- enum Half Half(short ID);
- enum Hinge Hinge(short ID);
- bool Open(short ID);
- bool Powered(short ID);
- }
- namespace AcaciaFence
- {
- constexpr short AcaciaFence(bool East, bool North, bool South, bool West)
- {
- if (East && North && South && West) return 8676;
- if (East && North && South && !West) return 8677;
- if (East && North && !South && West) return 8680;
- if (East && North && !South && !West) return 8681;
- if (East && !North && South && West) return 8684;
- if (East && !North && South && !West) return 8685;
- if (East && !North && !South && West) return 8688;
- if (East && !North && !South && !West) return 8689;
- if (!East && North && South && West) return 8692;
- if (!East && North && South && !West) return 8693;
- if (!East && North && !South && West) return 8696;
- if (!East && North && !South && !West) return 8697;
- if (!East && !North && South && West) return 8700;
- if (!East && !North && South && !West) return 8701;
- if (!East && !North && !South && West) return 8704;
- return 8705;
- }
- short AcaciaFence();
- bool East(short ID);
- bool North(short ID);
- bool South(short ID);
- bool West(short ID);
- }
- namespace AcaciaFenceGate
- {
- constexpr short AcaciaFenceGate(eBlockFace Facing, bool InWall, bool Open, bool Powered)
- {
- if (Facing == eBlockFace::BLOCK_FACE_ZM && InWall && Open && Powered) return 8514;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && InWall && Open && !Powered) return 8515;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && InWall && !Open && Powered) return 8516;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && InWall && !Open && !Powered) return 8517;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && !InWall && Open && Powered) return 8518;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && !InWall && Open && !Powered) return 8519;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && !InWall && !Open && Powered) return 8520;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && !InWall && !Open && !Powered) return 8521;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && InWall && Open && Powered) return 8522;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && InWall && Open && !Powered) return 8523;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && InWall && !Open && Powered) return 8524;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && InWall && !Open && !Powered) return 8525;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && !InWall && Open && Powered) return 8526;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && !InWall && Open && !Powered) return 8527;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && !InWall && !Open && Powered) return 8528;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && !InWall && !Open && !Powered) return 8529;
- if (Facing == eBlockFace::BLOCK_FACE_XM && InWall && Open && Powered) return 8530;
- if (Facing == eBlockFace::BLOCK_FACE_XM && InWall && Open && !Powered) return 8531;
- if (Facing == eBlockFace::BLOCK_FACE_XM && InWall && !Open && Powered) return 8532;
- if (Facing == eBlockFace::BLOCK_FACE_XM && InWall && !Open && !Powered) return 8533;
- if (Facing == eBlockFace::BLOCK_FACE_XM && !InWall && Open && Powered) return 8534;
- if (Facing == eBlockFace::BLOCK_FACE_XM && !InWall && Open && !Powered) return 8535;
- if (Facing == eBlockFace::BLOCK_FACE_XM && !InWall && !Open && Powered) return 8536;
- if (Facing == eBlockFace::BLOCK_FACE_XM && !InWall && !Open && !Powered) return 8537;
- if (Facing == eBlockFace::BLOCK_FACE_XP && InWall && Open && Powered) return 8538;
- if (Facing == eBlockFace::BLOCK_FACE_XP && InWall && Open && !Powered) return 8539;
- if (Facing == eBlockFace::BLOCK_FACE_XP && InWall && !Open && Powered) return 8540;
- if (Facing == eBlockFace::BLOCK_FACE_XP && InWall && !Open && !Powered) return 8541;
- if (Facing == eBlockFace::BLOCK_FACE_XP && !InWall && Open && Powered) return 8542;
- if (Facing == eBlockFace::BLOCK_FACE_XP && !InWall && Open && !Powered) return 8543;
- if (Facing == eBlockFace::BLOCK_FACE_XP && !InWall && !Open && Powered) return 8544;
- return 8545;
- }
- short AcaciaFenceGate();
- eBlockFace Facing(short ID);
- bool InWall(short ID);
- bool Open(short ID);
- bool Powered(short ID);
- }
- namespace AcaciaLeaves
- {
- constexpr short AcaciaLeaves(unsigned char Distance, bool Persistent)
- {
- if (Distance == 1 && Persistent) return 201;
- if (Distance == 1 && !Persistent) return 202;
- if (Distance == 2 && Persistent) return 203;
- if (Distance == 2 && !Persistent) return 204;
- if (Distance == 3 && Persistent) return 205;
- if (Distance == 3 && !Persistent) return 206;
- if (Distance == 4 && Persistent) return 207;
- if (Distance == 4 && !Persistent) return 208;
- if (Distance == 5 && Persistent) return 209;
- if (Distance == 5 && !Persistent) return 210;
- if (Distance == 6 && Persistent) return 211;
- if (Distance == 6 && !Persistent) return 212;
- if (Distance == 7 && Persistent) return 213;
- return 214;
- }
- short AcaciaLeaves();
- unsigned char Distance(short ID);
- bool Persistent(short ID);
- }
- namespace AcaciaLog
- {
- enum class Axis
- {
- X,
- Y,
- Z
- };
- constexpr short AcaciaLog(enum Axis Axis)
- {
- if (Axis == Axis::X) return 85;
- if (Axis == Axis::Y) return 86;
- return 87;
- }
- short AcaciaLog();
- enum Axis Axis(short ID);
- }
- namespace AcaciaPlanks
- {
- constexpr short AcaciaPlanks()
- {
- return 19;
- }
- }
- namespace AcaciaPressurePlate
- {
- constexpr short AcaciaPressurePlate(bool Powered)
- {
- if (Powered) return 3881;
- return 3882;
- }
- short AcaciaPressurePlate();
- bool Powered(short ID);
- }
- namespace AcaciaSapling
- {
- constexpr short AcaciaSapling(unsigned char Stage)
- {
- if (Stage == 0) return 29;
- return 30;
- }
- short AcaciaSapling();
- unsigned char Stage(short ID);
- }
- namespace AcaciaSign
- {
- constexpr short AcaciaSign(unsigned char Rotation)
- {
- if (Rotation == 0) return 3478;
- if (Rotation == 1) return 3480;
- if (Rotation == 2) return 3482;
- if (Rotation == 3) return 3484;
- if (Rotation == 4) return 3486;
- if (Rotation == 5) return 3488;
- if (Rotation == 6) return 3490;
- if (Rotation == 7) return 3492;
- if (Rotation == 8) return 3494;
- if (Rotation == 9) return 3496;
- if (Rotation == 10) return 3498;
- if (Rotation == 11) return 3500;
- if (Rotation == 12) return 3502;
- if (Rotation == 13) return 3504;
- if (Rotation == 14) return 3506;
- return 3508;
- }
- short AcaciaSign();
- unsigned char Rotation(short ID);
- }
- namespace AcaciaSlab
- {
- enum class Type
- {
- Top,
- Bottom,
- Double
- };
- constexpr short AcaciaSlab(enum Type Type)
- {
- if (Type == Type::Top) return 8325;
- if (Type == Type::Bottom) return 8327;
- return 8329;
- }
- short AcaciaSlab();
- enum Type Type(short ID);
- }
- namespace AcaciaStairs
- {
- enum class Half
- {
- Top,
- Bottom
- };
- enum class Shape
- {
- Straight,
- InnerLeft,
- InnerRight,
- OuterLeft,
- OuterRight
- };
- constexpr short AcaciaStairs(eBlockFace Facing, enum Half Half, enum Shape Shape)
- {
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Top && Shape == Shape::Straight) return 7376;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Top && Shape == Shape::InnerLeft) return 7378;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Top && Shape == Shape::InnerRight) return 7380;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Top && Shape == Shape::OuterLeft) return 7382;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Top && Shape == Shape::OuterRight) return 7384;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Bottom && Shape == Shape::Straight) return 7386;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Bottom && Shape == Shape::InnerLeft) return 7388;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Bottom && Shape == Shape::InnerRight) return 7390;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Bottom && Shape == Shape::OuterLeft) return 7392;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Bottom && Shape == Shape::OuterRight) return 7394;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Top && Shape == Shape::Straight) return 7396;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Top && Shape == Shape::InnerLeft) return 7398;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Top && Shape == Shape::InnerRight) return 7400;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Top && Shape == Shape::OuterLeft) return 7402;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Top && Shape == Shape::OuterRight) return 7404;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Bottom && Shape == Shape::Straight) return 7406;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Bottom && Shape == Shape::InnerLeft) return 7408;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Bottom && Shape == Shape::InnerRight) return 7410;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Bottom && Shape == Shape::OuterLeft) return 7412;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Bottom && Shape == Shape::OuterRight) return 7414;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Top && Shape == Shape::Straight) return 7416;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Top && Shape == Shape::InnerLeft) return 7418;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Top && Shape == Shape::InnerRight) return 7420;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Top && Shape == Shape::OuterLeft) return 7422;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Top && Shape == Shape::OuterRight) return 7424;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Bottom && Shape == Shape::Straight) return 7426;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Bottom && Shape == Shape::InnerLeft) return 7428;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Bottom && Shape == Shape::InnerRight) return 7430;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Bottom && Shape == Shape::OuterLeft) return 7432;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Bottom && Shape == Shape::OuterRight) return 7434;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Top && Shape == Shape::Straight) return 7436;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Top && Shape == Shape::InnerLeft) return 7438;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Top && Shape == Shape::InnerRight) return 7440;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Top && Shape == Shape::OuterLeft) return 7442;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Top && Shape == Shape::OuterRight) return 7444;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Bottom && Shape == Shape::Straight) return 7446;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Bottom && Shape == Shape::InnerLeft) return 7448;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Bottom && Shape == Shape::InnerRight) return 7450;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Bottom && Shape == Shape::OuterLeft) return 7452;
- return 7454;
- }
- short AcaciaStairs();
- eBlockFace Facing(short ID);
- enum Half Half(short ID);
- enum Shape Shape(short ID);
- }
- namespace AcaciaTrapdoor
- {
- enum class Half
- {
- Top,
- Bottom
- };
- constexpr short AcaciaTrapdoor(eBlockFace Facing, enum Half Half, bool Open, bool Powered)
- {
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Top && Open && Powered) return 4368;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Top && Open && !Powered) return 4370;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Top && !Open && Powered) return 4372;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Top && !Open && !Powered) return 4374;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Bottom && Open && Powered) return 4376;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Bottom && Open && !Powered) return 4378;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Bottom && !Open && Powered) return 4380;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Bottom && !Open && !Powered) return 4382;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Top && Open && Powered) return 4384;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Top && Open && !Powered) return 4386;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Top && !Open && Powered) return 4388;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Top && !Open && !Powered) return 4390;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Bottom && Open && Powered) return 4392;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Bottom && Open && !Powered) return 4394;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Bottom && !Open && Powered) return 4396;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Bottom && !Open && !Powered) return 4398;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Top && Open && Powered) return 4400;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Top && Open && !Powered) return 4402;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Top && !Open && Powered) return 4404;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Top && !Open && !Powered) return 4406;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Bottom && Open && Powered) return 4408;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Bottom && Open && !Powered) return 4410;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Bottom && !Open && Powered) return 4412;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Bottom && !Open && !Powered) return 4414;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Top && Open && Powered) return 4416;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Top && Open && !Powered) return 4418;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Top && !Open && Powered) return 4420;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Top && !Open && !Powered) return 4422;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Bottom && Open && Powered) return 4424;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Bottom && Open && !Powered) return 4426;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Bottom && !Open && Powered) return 4428;
- return 4430;
- }
- short AcaciaTrapdoor();
- eBlockFace Facing(short ID);
- enum Half Half(short ID);
- bool Open(short ID);
- bool Powered(short ID);
- }
- namespace AcaciaWallSign
- {
- constexpr short AcaciaWallSign(eBlockFace Facing)
- {
- if (Facing == eBlockFace::BLOCK_FACE_ZM) return 3760;
- if (Facing == eBlockFace::BLOCK_FACE_ZP) return 3762;
- if (Facing == eBlockFace::BLOCK_FACE_XM) return 3764;
- return 3766;
- }
- short AcaciaWallSign();
- eBlockFace Facing(short ID);
- }
- namespace AcaciaWood
- {
- enum class Axis
- {
- X,
- Y,
- Z
- };
- constexpr short AcaciaWood(enum Axis Axis)
- {
- if (Axis == Axis::X) return 121;
- if (Axis == Axis::Y) return 122;
- return 123;
- }
- short AcaciaWood();
- enum Axis Axis(short ID);
- }
- namespace ActivatorRail
- {
- enum class Shape
- {
- NorthSouth,
- EastWest,
- AscendingEast,
- AscendingWest,
- AscendingNorth,
- AscendingSouth
- };
- constexpr short ActivatorRail(bool Powered, enum Shape Shape)
- {
- if (Powered && Shape == Shape::NorthSouth) return 6823;
- if (Powered && Shape == Shape::EastWest) return 6824;
- if (Powered && Shape == Shape::AscendingEast) return 6825;
- if (Powered && Shape == Shape::AscendingWest) return 6826;
- if (Powered && Shape == Shape::AscendingNorth) return 6827;
- if (Powered && Shape == Shape::AscendingSouth) return 6828;
- if (!Powered && Shape == Shape::NorthSouth) return 6829;
- if (!Powered && Shape == Shape::EastWest) return 6830;
- if (!Powered && Shape == Shape::AscendingEast) return 6831;
- if (!Powered && Shape == Shape::AscendingWest) return 6832;
- if (!Powered && Shape == Shape::AscendingNorth) return 6833;
- return 6834;
- }
- short ActivatorRail();
- bool Powered(short ID);
- enum Shape Shape(short ID);
- }
- namespace Air
- {
- constexpr short Air()
- {
- return -0;
- }
- }
- namespace Allium
- {
- constexpr short Allium()
- {
- return 1415;
- }
- }
- namespace AncientDebris
- {
- constexpr short AncientDebris()
- {
- return 15827;
- }
- }
- namespace Andesite
- {
- constexpr short Andesite()
- {
- return 6;
- }
- }
- namespace AndesiteSlab
- {
- enum class Type
- {
- Top,
- Bottom,
- Double
- };
- constexpr short AndesiteSlab(enum Type Type)
- {
- if (Type == Type::Top) return 10844;
- if (Type == Type::Bottom) return 10846;
- return 10848;
- }
- short AndesiteSlab();
- enum Type Type(short ID);
- }
- namespace AndesiteStairs
- {
- enum class Half
- {
- Top,
- Bottom
- };
- enum class Shape
- {
- Straight,
- InnerLeft,
- InnerRight,
- OuterLeft,
- OuterRight
- };
- constexpr short AndesiteStairs(eBlockFace Facing, enum Half Half, enum Shape Shape)
- {
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Top && Shape == Shape::Straight) return 10470;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Top && Shape == Shape::InnerLeft) return 10472;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Top && Shape == Shape::InnerRight) return 10474;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Top && Shape == Shape::OuterLeft) return 10476;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Top && Shape == Shape::OuterRight) return 10478;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Bottom && Shape == Shape::Straight) return 10480;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Bottom && Shape == Shape::InnerLeft) return 10482;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Bottom && Shape == Shape::InnerRight) return 10484;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Bottom && Shape == Shape::OuterLeft) return 10486;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Bottom && Shape == Shape::OuterRight) return 10488;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Top && Shape == Shape::Straight) return 10490;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Top && Shape == Shape::InnerLeft) return 10492;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Top && Shape == Shape::InnerRight) return 10494;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Top && Shape == Shape::OuterLeft) return 10496;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Top && Shape == Shape::OuterRight) return 10498;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Bottom && Shape == Shape::Straight) return 10500;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Bottom && Shape == Shape::InnerLeft) return 10502;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Bottom && Shape == Shape::InnerRight) return 10504;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Bottom && Shape == Shape::OuterLeft) return 10506;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Bottom && Shape == Shape::OuterRight) return 10508;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Top && Shape == Shape::Straight) return 10510;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Top && Shape == Shape::InnerLeft) return 10512;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Top && Shape == Shape::InnerRight) return 10514;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Top && Shape == Shape::OuterLeft) return 10516;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Top && Shape == Shape::OuterRight) return 10518;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Bottom && Shape == Shape::Straight) return 10520;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Bottom && Shape == Shape::InnerLeft) return 10522;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Bottom && Shape == Shape::InnerRight) return 10524;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Bottom && Shape == Shape::OuterLeft) return 10526;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Bottom && Shape == Shape::OuterRight) return 10528;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Top && Shape == Shape::Straight) return 10530;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Top && Shape == Shape::InnerLeft) return 10532;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Top && Shape == Shape::InnerRight) return 10534;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Top && Shape == Shape::OuterLeft) return 10536;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Top && Shape == Shape::OuterRight) return 10538;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Bottom && Shape == Shape::Straight) return 10540;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Bottom && Shape == Shape::InnerLeft) return 10542;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Bottom && Shape == Shape::InnerRight) return 10544;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Bottom && Shape == Shape::OuterLeft) return 10546;
- return 10548;
- }
- short AndesiteStairs();
- eBlockFace Facing(short ID);
- enum Half Half(short ID);
- enum Shape Shape(short ID);
- }
- namespace AndesiteWall
- {
- enum class East
- {
- None,
- Low,
- Tall
- };
- enum class North
- {
- None,
- Low,
- Tall
- };
- enum class South
- {
- None,
- Low,
- Tall
- };
- enum class West
- {
- None,
- Low,
- Tall
- };
- constexpr short AndesiteWall(enum East East, enum North North, enum South South, bool Up, enum West West)
- {
- if (East == East::None && North == North::None && South == South::None && Up && West == West::None) return 13138;
- if (East == East::None && North == North::None && South == South::None && Up && West == West::Low) return 13139;
- if (East == East::None && North == North::None && South == South::None && Up && West == West::Tall) return 13140;
- if (East == East::None && North == North::None && South == South::None && !Up && West == West::None) return 13144;
- if (East == East::None && North == North::None && South == South::None && !Up && West == West::Low) return 13145;
- if (East == East::None && North == North::None && South == South::None && !Up && West == West::Tall) return 13146;
- if (East == East::None && North == North::None && South == South::Low && Up && West == West::None) return 13150;
- if (East == East::None && North == North::None && South == South::Low && Up && West == West::Low) return 13151;
- if (East == East::None && North == North::None && South == South::Low && Up && West == West::Tall) return 13152;
- if (East == East::None && North == North::None && South == South::Low && !Up && West == West::None) return 13156;
- if (East == East::None && North == North::None && South == South::Low && !Up && West == West::Low) return 13157;
- if (East == East::None && North == North::None && South == South::Low && !Up && West == West::Tall) return 13158;
- if (East == East::None && North == North::None && South == South::Tall && Up && West == West::None) return 13162;
- if (East == East::None && North == North::None && South == South::Tall && Up && West == West::Low) return 13163;
- if (East == East::None && North == North::None && South == South::Tall && Up && West == West::Tall) return 13164;
- if (East == East::None && North == North::None && South == South::Tall && !Up && West == West::None) return 13168;
- if (East == East::None && North == North::None && South == South::Tall && !Up && West == West::Low) return 13169;
- if (East == East::None && North == North::None && South == South::Tall && !Up && West == West::Tall) return 13170;
- if (East == East::None && North == North::Low && South == South::None && Up && West == West::None) return 13174;
- if (East == East::None && North == North::Low && South == South::None && Up && West == West::Low) return 13175;
- if (East == East::None && North == North::Low && South == South::None && Up && West == West::Tall) return 13176;
- if (East == East::None && North == North::Low && South == South::None && !Up && West == West::None) return 13180;
- if (East == East::None && North == North::Low && South == South::None && !Up && West == West::Low) return 13181;
- if (East == East::None && North == North::Low && South == South::None && !Up && West == West::Tall) return 13182;
- if (East == East::None && North == North::Low && South == South::Low && Up && West == West::None) return 13186;
- if (East == East::None && North == North::Low && South == South::Low && Up && West == West::Low) return 13187;
- if (East == East::None && North == North::Low && South == South::Low && Up && West == West::Tall) return 13188;
- if (East == East::None && North == North::Low && South == South::Low && !Up && West == West::None) return 13192;
- if (East == East::None && North == North::Low && South == South::Low && !Up && West == West::Low) return 13193;
- if (East == East::None && North == North::Low && South == South::Low && !Up && West == West::Tall) return 13194;
- if (East == East::None && North == North::Low && South == South::Tall && Up && West == West::None) return 13198;
- if (East == East::None && North == North::Low && South == South::Tall && Up && West == West::Low) return 13199;
- if (East == East::None && North == North::Low && South == South::Tall && Up && West == West::Tall) return 13200;
- if (East == East::None && North == North::Low && South == South::Tall && !Up && West == West::None) return 13204;
- if (East == East::None && North == North::Low && South == South::Tall && !Up && West == West::Low) return 13205;
- if (East == East::None && North == North::Low && South == South::Tall && !Up && West == West::Tall) return 13206;
- if (East == East::None && North == North::Tall && South == South::None && Up && West == West::None) return 13210;
- if (East == East::None && North == North::Tall && South == South::None && Up && West == West::Low) return 13211;
- if (East == East::None && North == North::Tall && South == South::None && Up && West == West::Tall) return 13212;
- if (East == East::None && North == North::Tall && South == South::None && !Up && West == West::None) return 13216;
- if (East == East::None && North == North::Tall && South == South::None && !Up && West == West::Low) return 13217;
- if (East == East::None && North == North::Tall && South == South::None && !Up && West == West::Tall) return 13218;
- if (East == East::None && North == North::Tall && South == South::Low && Up && West == West::None) return 13222;
- if (East == East::None && North == North::Tall && South == South::Low && Up && West == West::Low) return 13223;
- if (East == East::None && North == North::Tall && South == South::Low && Up && West == West::Tall) return 13224;
- if (East == East::None && North == North::Tall && South == South::Low && !Up && West == West::None) return 13228;
- if (East == East::None && North == North::Tall && South == South::Low && !Up && West == West::Low) return 13229;
- if (East == East::None && North == North::Tall && South == South::Low && !Up && West == West::Tall) return 13230;
- if (East == East::None && North == North::Tall && South == South::Tall && Up && West == West::None) return 13234;
- if (East == East::None && North == North::Tall && South == South::Tall && Up && West == West::Low) return 13235;
- if (East == East::None && North == North::Tall && South == South::Tall && Up && West == West::Tall) return 13236;
- if (East == East::None && North == North::Tall && South == South::Tall && !Up && West == West::None) return 13240;
- if (East == East::None && North == North::Tall && South == South::Tall && !Up && West == West::Low) return 13241;
- if (East == East::None && North == North::Tall && South == South::Tall && !Up && West == West::Tall) return 13242;
- if (East == East::Low && North == North::None && South == South::None && Up && West == West::None) return 13246;
- if (East == East::Low && North == North::None && South == South::None && Up && West == West::Low) return 13247;
- if (East == East::Low && North == North::None && South == South::None && Up && West == West::Tall) return 13248;
- if (East == East::Low && North == North::None && South == South::None && !Up && West == West::None) return 13252;
- if (East == East::Low && North == North::None && South == South::None && !Up && West == West::Low) return 13253;
- if (East == East::Low && North == North::None && South == South::None && !Up && West == West::Tall) return 13254;
- if (East == East::Low && North == North::None && South == South::Low && Up && West == West::None) return 13258;
- if (East == East::Low && North == North::None && South == South::Low && Up && West == West::Low) return 13259;
- if (East == East::Low && North == North::None && South == South::Low && Up && West == West::Tall) return 13260;
- if (East == East::Low && North == North::None && South == South::Low && !Up && West == West::None) return 13264;
- if (East == East::Low && North == North::None && South == South::Low && !Up && West == West::Low) return 13265;
- if (East == East::Low && North == North::None && South == South::Low && !Up && West == West::Tall) return 13266;
- if (East == East::Low && North == North::None && South == South::Tall && Up && West == West::None) return 13270;
- if (East == East::Low && North == North::None && South == South::Tall && Up && West == West::Low) return 13271;
- if (East == East::Low && North == North::None && South == South::Tall && Up && West == West::Tall) return 13272;
- if (East == East::Low && North == North::None && South == South::Tall && !Up && West == West::None) return 13276;
- if (East == East::Low && North == North::None && South == South::Tall && !Up && West == West::Low) return 13277;
- if (East == East::Low && North == North::None && South == South::Tall && !Up && West == West::Tall) return 13278;
- if (East == East::Low && North == North::Low && South == South::None && Up && West == West::None) return 13282;
- if (East == East::Low && North == North::Low && South == South::None && Up && West == West::Low) return 13283;
- if (East == East::Low && North == North::Low && South == South::None && Up && West == West::Tall) return 13284;
- if (East == East::Low && North == North::Low && South == South::None && !Up && West == West::None) return 13288;
- if (East == East::Low && North == North::Low && South == South::None && !Up && West == West::Low) return 13289;
- if (East == East::Low && North == North::Low && South == South::None && !Up && West == West::Tall) return 13290;
- if (East == East::Low && North == North::Low && South == South::Low && Up && West == West::None) return 13294;
- if (East == East::Low && North == North::Low && South == South::Low && Up && West == West::Low) return 13295;
- if (East == East::Low && North == North::Low && South == South::Low && Up && West == West::Tall) return 13296;
- if (East == East::Low && North == North::Low && South == South::Low && !Up && West == West::None) return 13300;
- if (East == East::Low && North == North::Low && South == South::Low && !Up && West == West::Low) return 13301;
- if (East == East::Low && North == North::Low && South == South::Low && !Up && West == West::Tall) return 13302;
- if (East == East::Low && North == North::Low && South == South::Tall && Up && West == West::None) return 13306;
- if (East == East::Low && North == North::Low && South == South::Tall && Up && West == West::Low) return 13307;
- if (East == East::Low && North == North::Low && South == South::Tall && Up && West == West::Tall) return 13308;
- if (East == East::Low && North == North::Low && South == South::Tall && !Up && West == West::None) return 13312;
- if (East == East::Low && North == North::Low && South == South::Tall && !Up && West == West::Low) return 13313;
- if (East == East::Low && North == North::Low && South == South::Tall && !Up && West == West::Tall) return 13314;
- if (East == East::Low && North == North::Tall && South == South::None && Up && West == West::None) return 13318;
- if (East == East::Low && North == North::Tall && South == South::None && Up && West == West::Low) return 13319;
- if (East == East::Low && North == North::Tall && South == South::None && Up && West == West::Tall) return 13320;
- if (East == East::Low && North == North::Tall && South == South::None && !Up && West == West::None) return 13324;
- if (East == East::Low && North == North::Tall && South == South::None && !Up && West == West::Low) return 13325;
- if (East == East::Low && North == North::Tall && South == South::None && !Up && West == West::Tall) return 13326;
- if (East == East::Low && North == North::Tall && South == South::Low && Up && West == West::None) return 13330;
- if (East == East::Low && North == North::Tall && South == South::Low && Up && West == West::Low) return 13331;
- if (East == East::Low && North == North::Tall && South == South::Low && Up && West == West::Tall) return 13332;
- if (East == East::Low && North == North::Tall && South == South::Low && !Up && West == West::None) return 13336;
- if (East == East::Low && North == North::Tall && South == South::Low && !Up && West == West::Low) return 13337;
- if (East == East::Low && North == North::Tall && South == South::Low && !Up && West == West::Tall) return 13338;
- if (East == East::Low && North == North::Tall && South == South::Tall && Up && West == West::None) return 13342;
- if (East == East::Low && North == North::Tall && South == South::Tall && Up && West == West::Low) return 13343;
- if (East == East::Low && North == North::Tall && South == South::Tall && Up && West == West::Tall) return 13344;
- if (East == East::Low && North == North::Tall && South == South::Tall && !Up && West == West::None) return 13348;
- if (East == East::Low && North == North::Tall && South == South::Tall && !Up && West == West::Low) return 13349;
- if (East == East::Low && North == North::Tall && South == South::Tall && !Up && West == West::Tall) return 13350;
- if (East == East::Tall && North == North::None && South == South::None && Up && West == West::None) return 13354;
- if (East == East::Tall && North == North::None && South == South::None && Up && West == West::Low) return 13355;
- if (East == East::Tall && North == North::None && South == South::None && Up && West == West::Tall) return 13356;
- if (East == East::Tall && North == North::None && South == South::None && !Up && West == West::None) return 13360;
- if (East == East::Tall && North == North::None && South == South::None && !Up && West == West::Low) return 13361;
- if (East == East::Tall && North == North::None && South == South::None && !Up && West == West::Tall) return 13362;
- if (East == East::Tall && North == North::None && South == South::Low && Up && West == West::None) return 13366;
- if (East == East::Tall && North == North::None && South == South::Low && Up && West == West::Low) return 13367;
- if (East == East::Tall && North == North::None && South == South::Low && Up && West == West::Tall) return 13368;
- if (East == East::Tall && North == North::None && South == South::Low && !Up && West == West::None) return 13372;
- if (East == East::Tall && North == North::None && South == South::Low && !Up && West == West::Low) return 13373;
- if (East == East::Tall && North == North::None && South == South::Low && !Up && West == West::Tall) return 13374;
- if (East == East::Tall && North == North::None && South == South::Tall && Up && West == West::None) return 13378;
- if (East == East::Tall && North == North::None && South == South::Tall && Up && West == West::Low) return 13379;
- if (East == East::Tall && North == North::None && South == South::Tall && Up && West == West::Tall) return 13380;
- if (East == East::Tall && North == North::None && South == South::Tall && !Up && West == West::None) return 13384;
- if (East == East::Tall && North == North::None && South == South::Tall && !Up && West == West::Low) return 13385;
- if (East == East::Tall && North == North::None && South == South::Tall && !Up && West == West::Tall) return 13386;
- if (East == East::Tall && North == North::Low && South == South::None && Up && West == West::None) return 13390;
- if (East == East::Tall && North == North::Low && South == South::None && Up && West == West::Low) return 13391;
- if (East == East::Tall && North == North::Low && South == South::None && Up && West == West::Tall) return 13392;
- if (East == East::Tall && North == North::Low && South == South::None && !Up && West == West::None) return 13396;
- if (East == East::Tall && North == North::Low && South == South::None && !Up && West == West::Low) return 13397;
- if (East == East::Tall && North == North::Low && South == South::None && !Up && West == West::Tall) return 13398;
- if (East == East::Tall && North == North::Low && South == South::Low && Up && West == West::None) return 13402;
- if (East == East::Tall && North == North::Low && South == South::Low && Up && West == West::Low) return 13403;
- if (East == East::Tall && North == North::Low && South == South::Low && Up && West == West::Tall) return 13404;
- if (East == East::Tall && North == North::Low && South == South::Low && !Up && West == West::None) return 13408;
- if (East == East::Tall && North == North::Low && South == South::Low && !Up && West == West::Low) return 13409;
- if (East == East::Tall && North == North::Low && South == South::Low && !Up && West == West::Tall) return 13410;
- if (East == East::Tall && North == North::Low && South == South::Tall && Up && West == West::None) return 13414;
- if (East == East::Tall && North == North::Low && South == South::Tall && Up && West == West::Low) return 13415;
- if (East == East::Tall && North == North::Low && South == South::Tall && Up && West == West::Tall) return 13416;
- if (East == East::Tall && North == North::Low && South == South::Tall && !Up && West == West::None) return 13420;
- if (East == East::Tall && North == North::Low && South == South::Tall && !Up && West == West::Low) return 13421;
- if (East == East::Tall && North == North::Low && South == South::Tall && !Up && West == West::Tall) return 13422;
- if (East == East::Tall && North == North::Tall && South == South::None && Up && West == West::None) return 13426;
- if (East == East::Tall && North == North::Tall && South == South::None && Up && West == West::Low) return 13427;
- if (East == East::Tall && North == North::Tall && South == South::None && Up && West == West::Tall) return 13428;
- if (East == East::Tall && North == North::Tall && South == South::None && !Up && West == West::None) return 13432;
- if (East == East::Tall && North == North::Tall && South == South::None && !Up && West == West::Low) return 13433;
- if (East == East::Tall && North == North::Tall && South == South::None && !Up && West == West::Tall) return 13434;
- if (East == East::Tall && North == North::Tall && South == South::Low && Up && West == West::None) return 13438;
- if (East == East::Tall && North == North::Tall && South == South::Low && Up && West == West::Low) return 13439;
- if (East == East::Tall && North == North::Tall && South == South::Low && Up && West == West::Tall) return 13440;
- if (East == East::Tall && North == North::Tall && South == South::Low && !Up && West == West::None) return 13444;
- if (East == East::Tall && North == North::Tall && South == South::Low && !Up && West == West::Low) return 13445;
- if (East == East::Tall && North == North::Tall && South == South::Low && !Up && West == West::Tall) return 13446;
- if (East == East::Tall && North == North::Tall && South == South::Tall && Up && West == West::None) return 13450;
- if (East == East::Tall && North == North::Tall && South == South::Tall && Up && West == West::Low) return 13451;
- if (East == East::Tall && North == North::Tall && South == South::Tall && Up && West == West::Tall) return 13452;
- if (East == East::Tall && North == North::Tall && South == South::Tall && !Up && West == West::None) return 13456;
- if (East == East::Tall && North == North::Tall && South == South::Tall && !Up && West == West::Low) return 13457;
- return 13458;
- }
- short AndesiteWall();
- enum East East(short ID);
- enum North North(short ID);
- enum South South(short ID);
- bool Up(short ID);
- enum West West(short ID);
- }
- namespace Anvil
- {
- constexpr short Anvil(eBlockFace Facing)
- {
- if (Facing == eBlockFace::BLOCK_FACE_ZM) return 6610;
- if (Facing == eBlockFace::BLOCK_FACE_ZP) return 6611;
- if (Facing == eBlockFace::BLOCK_FACE_XM) return 6612;
- return 6613;
- }
- short Anvil();
- eBlockFace Facing(short ID);
- }
- namespace AttachedMelonStem
- {
- constexpr short AttachedMelonStem(eBlockFace Facing)
- {
- if (Facing == eBlockFace::BLOCK_FACE_ZM) return 4768;
- if (Facing == eBlockFace::BLOCK_FACE_ZP) return 4769;
- if (Facing == eBlockFace::BLOCK_FACE_XM) return 4770;
- return 4771;
- }
- short AttachedMelonStem();
- eBlockFace Facing(short ID);
- }
- namespace AttachedPumpkinStem
- {
- constexpr short AttachedPumpkinStem(eBlockFace Facing)
- {
- if (Facing == eBlockFace::BLOCK_FACE_ZM) return 4764;
- if (Facing == eBlockFace::BLOCK_FACE_ZP) return 4765;
- if (Facing == eBlockFace::BLOCK_FACE_XM) return 4766;
- return 4767;
- }
- short AttachedPumpkinStem();
- eBlockFace Facing(short ID);
- }
- namespace AzureBluet
- {
- constexpr short AzureBluet()
- {
- return 1416;
- }
- }
- namespace Bamboo
- {
- enum class Leaves
- {
- None,
- Small,
- Large
- };
- constexpr short Bamboo(unsigned char Age, enum Leaves Leaves, unsigned char Stage)
- {
- if (Age == 0 && Leaves == Leaves::None && Stage == 0) return 9652;
- if (Age == 0 && Leaves == Leaves::None && Stage == 1) return 9653;
- if (Age == 0 && Leaves == Leaves::Small && Stage == 0) return 9654;
- if (Age == 0 && Leaves == Leaves::Small && Stage == 1) return 9655;
- if (Age == 0 && Leaves == Leaves::Large && Stage == 0) return 9656;
- if (Age == 0 && Leaves == Leaves::Large && Stage == 1) return 9657;
- if (Age == 1 && Leaves == Leaves::None && Stage == 0) return 9658;
- if (Age == 1 && Leaves == Leaves::None && Stage == 1) return 9659;
- if (Age == 1 && Leaves == Leaves::Small && Stage == 0) return 9660;
- if (Age == 1 && Leaves == Leaves::Small && Stage == 1) return 9661;
- if (Age == 1 && Leaves == Leaves::Large && Stage == 0) return 9662;
- return 9663;
- }
- short Bamboo();
- unsigned char Age(short ID);
- enum Leaves Leaves(short ID);
- unsigned char Stage(short ID);
- }
- namespace BambooSapling
- {
- constexpr short BambooSapling()
- {
- return 9651;
- }
- }
- namespace Barrel
- {
- constexpr short Barrel(eBlockFace Facing, bool Open)
- {
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Open) return 14791;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && !Open) return 14792;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Open) return 14793;
- if (Facing == eBlockFace::BLOCK_FACE_XP && !Open) return 14794;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Open) return 14795;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && !Open) return 14796;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Open) return 14797;
- if (Facing == eBlockFace::BLOCK_FACE_XM && !Open) return 14798;
- if (Facing == eBlockFace::BLOCK_FACE_YP && Open) return 14799;
- if (Facing == eBlockFace::BLOCK_FACE_YP && !Open) return 14800;
- if (Facing == eBlockFace::BLOCK_FACE_YM && Open) return 14801;
- return 14802;
- }
- short Barrel();
- eBlockFace Facing(short ID);
- bool Open(short ID);
- }
- namespace Barrier
- {
- constexpr short Barrier()
- {
- return 7536;
- }
- }
- namespace Basalt
- {
- enum class Axis
- {
- X,
- Y,
- Z
- };
- constexpr short Basalt(enum Axis Axis)
- {
- if (Axis == Axis::X) return 4002;
- if (Axis == Axis::Y) return 4003;
- return 4004;
- }
- short Basalt();
- enum Axis Axis(short ID);
- }
- namespace Beacon
- {
- constexpr short Beacon()
- {
- return 5656;
- }
- }
- namespace Bedrock
- {
- constexpr short Bedrock()
- {
- return 33;
- }
- }
- namespace BeeNest
- {
- constexpr short BeeNest(eBlockFace Facing, unsigned char HoneyLevel)
- {
- if (Facing == eBlockFace::BLOCK_FACE_ZM && HoneyLevel == 0) return 15776;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && HoneyLevel == 1) return 15777;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && HoneyLevel == 2) return 15778;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && HoneyLevel == 3) return 15779;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && HoneyLevel == 4) return 15780;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && HoneyLevel == 5) return 15781;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && HoneyLevel == 0) return 15782;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && HoneyLevel == 1) return 15783;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && HoneyLevel == 2) return 15784;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && HoneyLevel == 3) return 15785;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && HoneyLevel == 4) return 15786;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && HoneyLevel == 5) return 15787;
- if (Facing == eBlockFace::BLOCK_FACE_XM && HoneyLevel == 0) return 15788;
- if (Facing == eBlockFace::BLOCK_FACE_XM && HoneyLevel == 1) return 15789;
- if (Facing == eBlockFace::BLOCK_FACE_XM && HoneyLevel == 2) return 15790;
- if (Facing == eBlockFace::BLOCK_FACE_XM && HoneyLevel == 3) return 15791;
- if (Facing == eBlockFace::BLOCK_FACE_XM && HoneyLevel == 4) return 15792;
- if (Facing == eBlockFace::BLOCK_FACE_XM && HoneyLevel == 5) return 15793;
- if (Facing == eBlockFace::BLOCK_FACE_XP && HoneyLevel == 0) return 15794;
- if (Facing == eBlockFace::BLOCK_FACE_XP && HoneyLevel == 1) return 15795;
- if (Facing == eBlockFace::BLOCK_FACE_XP && HoneyLevel == 2) return 15796;
- if (Facing == eBlockFace::BLOCK_FACE_XP && HoneyLevel == 3) return 15797;
- if (Facing == eBlockFace::BLOCK_FACE_XP && HoneyLevel == 4) return 15798;
- return 15799;
- }
- short BeeNest();
- eBlockFace Facing(short ID);
- unsigned char HoneyLevel(short ID);
- }
- namespace Beehive
- {
- constexpr short Beehive(eBlockFace Facing, unsigned char HoneyLevel)
- {
- if (Facing == eBlockFace::BLOCK_FACE_ZM && HoneyLevel == 0) return 15800;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && HoneyLevel == 1) return 15801;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && HoneyLevel == 2) return 15802;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && HoneyLevel == 3) return 15803;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && HoneyLevel == 4) return 15804;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && HoneyLevel == 5) return 15805;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && HoneyLevel == 0) return 15806;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && HoneyLevel == 1) return 15807;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && HoneyLevel == 2) return 15808;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && HoneyLevel == 3) return 15809;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && HoneyLevel == 4) return 15810;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && HoneyLevel == 5) return 15811;
- if (Facing == eBlockFace::BLOCK_FACE_XM && HoneyLevel == 0) return 15812;
- if (Facing == eBlockFace::BLOCK_FACE_XM && HoneyLevel == 1) return 15813;
- if (Facing == eBlockFace::BLOCK_FACE_XM && HoneyLevel == 2) return 15814;
- if (Facing == eBlockFace::BLOCK_FACE_XM && HoneyLevel == 3) return 15815;
- if (Facing == eBlockFace::BLOCK_FACE_XM && HoneyLevel == 4) return 15816;
- if (Facing == eBlockFace::BLOCK_FACE_XM && HoneyLevel == 5) return 15817;
- if (Facing == eBlockFace::BLOCK_FACE_XP && HoneyLevel == 0) return 15818;
- if (Facing == eBlockFace::BLOCK_FACE_XP && HoneyLevel == 1) return 15819;
- if (Facing == eBlockFace::BLOCK_FACE_XP && HoneyLevel == 2) return 15820;
- if (Facing == eBlockFace::BLOCK_FACE_XP && HoneyLevel == 3) return 15821;
- if (Facing == eBlockFace::BLOCK_FACE_XP && HoneyLevel == 4) return 15822;
- return 15823;
- }
- short Beehive();
- eBlockFace Facing(short ID);
- unsigned char HoneyLevel(short ID);
- }
- namespace Beetroots
- {
- constexpr short Beetroots(unsigned char Age)
- {
- if (Age == 0) return 9219;
- if (Age == 1) return 9220;
- if (Age == 2) return 9221;
- return 9222;
- }
- short Beetroots();
- unsigned char Age(short ID);
- }
- namespace Bell
- {
- enum class Attachment
- {
- Floor,
- Ceiling,
- SingleWall,
- DoubleWall
- };
- constexpr short Bell(enum Attachment Attachment, eBlockFace Facing, bool Powered)
- {
- if (Attachment == Attachment::Floor && Facing == eBlockFace::BLOCK_FACE_ZM && Powered) return 14854;
- if (Attachment == Attachment::Floor && Facing == eBlockFace::BLOCK_FACE_ZM && !Powered) return 14855;
- if (Attachment == Attachment::Floor && Facing == eBlockFace::BLOCK_FACE_ZP && Powered) return 14856;
- if (Attachment == Attachment::Floor && Facing == eBlockFace::BLOCK_FACE_ZP && !Powered) return 14857;
- if (Attachment == Attachment::Floor && Facing == eBlockFace::BLOCK_FACE_XM && Powered) return 14858;
- if (Attachment == Attachment::Floor && Facing == eBlockFace::BLOCK_FACE_XM && !Powered) return 14859;
- if (Attachment == Attachment::Floor && Facing == eBlockFace::BLOCK_FACE_XP && Powered) return 14860;
- if (Attachment == Attachment::Floor && Facing == eBlockFace::BLOCK_FACE_XP && !Powered) return 14861;
- if (Attachment == Attachment::Ceiling && Facing == eBlockFace::BLOCK_FACE_ZM && Powered) return 14862;
- if (Attachment == Attachment::Ceiling && Facing == eBlockFace::BLOCK_FACE_ZM && !Powered) return 14863;
- if (Attachment == Attachment::Ceiling && Facing == eBlockFace::BLOCK_FACE_ZP && Powered) return 14864;
- if (Attachment == Attachment::Ceiling && Facing == eBlockFace::BLOCK_FACE_ZP && !Powered) return 14865;
- if (Attachment == Attachment::Ceiling && Facing == eBlockFace::BLOCK_FACE_XM && Powered) return 14866;
- if (Attachment == Attachment::Ceiling && Facing == eBlockFace::BLOCK_FACE_XM && !Powered) return 14867;
- if (Attachment == Attachment::Ceiling && Facing == eBlockFace::BLOCK_FACE_XP && Powered) return 14868;
- if (Attachment == Attachment::Ceiling && Facing == eBlockFace::BLOCK_FACE_XP && !Powered) return 14869;
- if (Attachment == Attachment::SingleWall && Facing == eBlockFace::BLOCK_FACE_ZM && Powered) return 14870;
- if (Attachment == Attachment::SingleWall && Facing == eBlockFace::BLOCK_FACE_ZM && !Powered) return 14871;
- if (Attachment == Attachment::SingleWall && Facing == eBlockFace::BLOCK_FACE_ZP && Powered) return 14872;
- if (Attachment == Attachment::SingleWall && Facing == eBlockFace::BLOCK_FACE_ZP && !Powered) return 14873;
- if (Attachment == Attachment::SingleWall && Facing == eBlockFace::BLOCK_FACE_XM && Powered) return 14874;
- if (Attachment == Attachment::SingleWall && Facing == eBlockFace::BLOCK_FACE_XM && !Powered) return 14875;
- if (Attachment == Attachment::SingleWall && Facing == eBlockFace::BLOCK_FACE_XP && Powered) return 14876;
- if (Attachment == Attachment::SingleWall && Facing == eBlockFace::BLOCK_FACE_XP && !Powered) return 14877;
- if (Attachment == Attachment::DoubleWall && Facing == eBlockFace::BLOCK_FACE_ZM && Powered) return 14878;
- if (Attachment == Attachment::DoubleWall && Facing == eBlockFace::BLOCK_FACE_ZM && !Powered) return 14879;
- if (Attachment == Attachment::DoubleWall && Facing == eBlockFace::BLOCK_FACE_ZP && Powered) return 14880;
- if (Attachment == Attachment::DoubleWall && Facing == eBlockFace::BLOCK_FACE_ZP && !Powered) return 14881;
- if (Attachment == Attachment::DoubleWall && Facing == eBlockFace::BLOCK_FACE_XM && Powered) return 14882;
- if (Attachment == Attachment::DoubleWall && Facing == eBlockFace::BLOCK_FACE_XM && !Powered) return 14883;
- if (Attachment == Attachment::DoubleWall && Facing == eBlockFace::BLOCK_FACE_XP && Powered) return 14884;
- return 14885;
- }
- short Bell();
- enum Attachment Attachment(short ID);
- eBlockFace Facing(short ID);
- bool Powered(short ID);
- }
- namespace BirchButton
- {
- enum class Face
- {
- Floor,
- Wall,
- Ceiling
- };
- constexpr short BirchButton(enum Face Face, eBlockFace Facing, bool Powered)
- {
- if (Face == Face::Floor && Facing == eBlockFace::BLOCK_FACE_ZM && Powered) return 6394;
- if (Face == Face::Floor && Facing == eBlockFace::BLOCK_FACE_ZM && !Powered) return 6395;
- if (Face == Face::Floor && Facing == eBlockFace::BLOCK_FACE_ZP && Powered) return 6396;
- if (Face == Face::Floor && Facing == eBlockFace::BLOCK_FACE_ZP && !Powered) return 6397;
- if (Face == Face::Floor && Facing == eBlockFace::BLOCK_FACE_XM && Powered) return 6398;
- if (Face == Face::Floor && Facing == eBlockFace::BLOCK_FACE_XM && !Powered) return 6399;
- if (Face == Face::Floor && Facing == eBlockFace::BLOCK_FACE_XP && Powered) return 6400;
- if (Face == Face::Floor && Facing == eBlockFace::BLOCK_FACE_XP && !Powered) return 6401;
- if (Face == Face::Wall && Facing == eBlockFace::BLOCK_FACE_ZM && Powered) return 6402;
- if (Face == Face::Wall && Facing == eBlockFace::BLOCK_FACE_ZM && !Powered) return 6403;
- if (Face == Face::Wall && Facing == eBlockFace::BLOCK_FACE_ZP && Powered) return 6404;
- if (Face == Face::Wall && Facing == eBlockFace::BLOCK_FACE_ZP && !Powered) return 6405;
- if (Face == Face::Wall && Facing == eBlockFace::BLOCK_FACE_XM && Powered) return 6406;
- if (Face == Face::Wall && Facing == eBlockFace::BLOCK_FACE_XM && !Powered) return 6407;
- if (Face == Face::Wall && Facing == eBlockFace::BLOCK_FACE_XP && Powered) return 6408;
- if (Face == Face::Wall && Facing == eBlockFace::BLOCK_FACE_XP && !Powered) return 6409;
- if (Face == Face::Ceiling && Facing == eBlockFace::BLOCK_FACE_ZM && Powered) return 6410;
- if (Face == Face::Ceiling && Facing == eBlockFace::BLOCK_FACE_ZM && !Powered) return 6411;
- if (Face == Face::Ceiling && Facing == eBlockFace::BLOCK_FACE_ZP && Powered) return 6412;
- if (Face == Face::Ceiling && Facing == eBlockFace::BLOCK_FACE_ZP && !Powered) return 6413;
- if (Face == Face::Ceiling && Facing == eBlockFace::BLOCK_FACE_XM && Powered) return 6414;
- if (Face == Face::Ceiling && Facing == eBlockFace::BLOCK_FACE_XM && !Powered) return 6415;
- if (Face == Face::Ceiling && Facing == eBlockFace::BLOCK_FACE_XP && Powered) return 6416;
- return 6417;
- }
- short BirchButton();
- enum Face Face(short ID);
- eBlockFace Facing(short ID);
- bool Powered(short ID);
- }
- namespace BirchDoor
- {
- enum class Half
- {
- Upper,
- Lower
- };
- enum class Hinge
- {
- Left,
- Right
- };
- constexpr short BirchDoor(eBlockFace Facing, enum Half Half, enum Hinge Hinge, bool Open, bool Powered)
- {
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Upper && Hinge == Hinge::Left && Open && Powered) return 8802;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Upper && Hinge == Hinge::Left && Open && !Powered) return 8803;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Upper && Hinge == Hinge::Left && !Open && Powered) return 8804;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Upper && Hinge == Hinge::Left && !Open && !Powered) return 8805;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Upper && Hinge == Hinge::Right && Open && Powered) return 8806;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Upper && Hinge == Hinge::Right && Open && !Powered) return 8807;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Upper && Hinge == Hinge::Right && !Open && Powered) return 8808;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Upper && Hinge == Hinge::Right && !Open && !Powered) return 8809;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Lower && Hinge == Hinge::Left && Open && Powered) return 8810;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Lower && Hinge == Hinge::Left && Open && !Powered) return 8811;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Lower && Hinge == Hinge::Left && !Open && Powered) return 8812;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Lower && Hinge == Hinge::Left && !Open && !Powered) return 8813;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Lower && Hinge == Hinge::Right && Open && Powered) return 8814;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Lower && Hinge == Hinge::Right && Open && !Powered) return 8815;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Lower && Hinge == Hinge::Right && !Open && Powered) return 8816;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Lower && Hinge == Hinge::Right && !Open && !Powered) return 8817;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Upper && Hinge == Hinge::Left && Open && Powered) return 8818;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Upper && Hinge == Hinge::Left && Open && !Powered) return 8819;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Upper && Hinge == Hinge::Left && !Open && Powered) return 8820;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Upper && Hinge == Hinge::Left && !Open && !Powered) return 8821;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Upper && Hinge == Hinge::Right && Open && Powered) return 8822;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Upper && Hinge == Hinge::Right && Open && !Powered) return 8823;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Upper && Hinge == Hinge::Right && !Open && Powered) return 8824;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Upper && Hinge == Hinge::Right && !Open && !Powered) return 8825;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Lower && Hinge == Hinge::Left && Open && Powered) return 8826;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Lower && Hinge == Hinge::Left && Open && !Powered) return 8827;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Lower && Hinge == Hinge::Left && !Open && Powered) return 8828;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Lower && Hinge == Hinge::Left && !Open && !Powered) return 8829;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Lower && Hinge == Hinge::Right && Open && Powered) return 8830;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Lower && Hinge == Hinge::Right && Open && !Powered) return 8831;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Lower && Hinge == Hinge::Right && !Open && Powered) return 8832;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Lower && Hinge == Hinge::Right && !Open && !Powered) return 8833;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Upper && Hinge == Hinge::Left && Open && Powered) return 8834;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Upper && Hinge == Hinge::Left && Open && !Powered) return 8835;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Upper && Hinge == Hinge::Left && !Open && Powered) return 8836;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Upper && Hinge == Hinge::Left && !Open && !Powered) return 8837;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Upper && Hinge == Hinge::Right && Open && Powered) return 8838;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Upper && Hinge == Hinge::Right && Open && !Powered) return 8839;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Upper && Hinge == Hinge::Right && !Open && Powered) return 8840;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Upper && Hinge == Hinge::Right && !Open && !Powered) return 8841;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Lower && Hinge == Hinge::Left && Open && Powered) return 8842;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Lower && Hinge == Hinge::Left && Open && !Powered) return 8843;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Lower && Hinge == Hinge::Left && !Open && Powered) return 8844;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Lower && Hinge == Hinge::Left && !Open && !Powered) return 8845;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Lower && Hinge == Hinge::Right && Open && Powered) return 8846;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Lower && Hinge == Hinge::Right && Open && !Powered) return 8847;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Lower && Hinge == Hinge::Right && !Open && Powered) return 8848;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Lower && Hinge == Hinge::Right && !Open && !Powered) return 8849;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Upper && Hinge == Hinge::Left && Open && Powered) return 8850;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Upper && Hinge == Hinge::Left && Open && !Powered) return 8851;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Upper && Hinge == Hinge::Left && !Open && Powered) return 8852;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Upper && Hinge == Hinge::Left && !Open && !Powered) return 8853;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Upper && Hinge == Hinge::Right && Open && Powered) return 8854;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Upper && Hinge == Hinge::Right && Open && !Powered) return 8855;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Upper && Hinge == Hinge::Right && !Open && Powered) return 8856;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Upper && Hinge == Hinge::Right && !Open && !Powered) return 8857;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Lower && Hinge == Hinge::Left && Open && Powered) return 8858;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Lower && Hinge == Hinge::Left && Open && !Powered) return 8859;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Lower && Hinge == Hinge::Left && !Open && Powered) return 8860;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Lower && Hinge == Hinge::Left && !Open && !Powered) return 8861;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Lower && Hinge == Hinge::Right && Open && Powered) return 8862;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Lower && Hinge == Hinge::Right && Open && !Powered) return 8863;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Lower && Hinge == Hinge::Right && !Open && Powered) return 8864;
- return 8865;
- }
- short BirchDoor();
- eBlockFace Facing(short ID);
- enum Half Half(short ID);
- enum Hinge Hinge(short ID);
- bool Open(short ID);
- bool Powered(short ID);
- }
- namespace BirchFence
- {
- constexpr short BirchFence(bool East, bool North, bool South, bool West)
- {
- if (East && North && South && West) return 8612;
- if (East && North && South && !West) return 8613;
- if (East && North && !South && West) return 8616;
- if (East && North && !South && !West) return 8617;
- if (East && !North && South && West) return 8620;
- if (East && !North && South && !West) return 8621;
- if (East && !North && !South && West) return 8624;
- if (East && !North && !South && !West) return 8625;
- if (!East && North && South && West) return 8628;
- if (!East && North && South && !West) return 8629;
- if (!East && North && !South && West) return 8632;
- if (!East && North && !South && !West) return 8633;
- if (!East && !North && South && West) return 8636;
- if (!East && !North && South && !West) return 8637;
- if (!East && !North && !South && West) return 8640;
- return 8641;
- }
- short BirchFence();
- bool East(short ID);
- bool North(short ID);
- bool South(short ID);
- bool West(short ID);
- }
- namespace BirchFenceGate
- {
- constexpr short BirchFenceGate(eBlockFace Facing, bool InWall, bool Open, bool Powered)
- {
- if (Facing == eBlockFace::BLOCK_FACE_ZM && InWall && Open && Powered) return 8450;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && InWall && Open && !Powered) return 8451;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && InWall && !Open && Powered) return 8452;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && InWall && !Open && !Powered) return 8453;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && !InWall && Open && Powered) return 8454;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && !InWall && Open && !Powered) return 8455;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && !InWall && !Open && Powered) return 8456;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && !InWall && !Open && !Powered) return 8457;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && InWall && Open && Powered) return 8458;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && InWall && Open && !Powered) return 8459;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && InWall && !Open && Powered) return 8460;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && InWall && !Open && !Powered) return 8461;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && !InWall && Open && Powered) return 8462;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && !InWall && Open && !Powered) return 8463;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && !InWall && !Open && Powered) return 8464;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && !InWall && !Open && !Powered) return 8465;
- if (Facing == eBlockFace::BLOCK_FACE_XM && InWall && Open && Powered) return 8466;
- if (Facing == eBlockFace::BLOCK_FACE_XM && InWall && Open && !Powered) return 8467;
- if (Facing == eBlockFace::BLOCK_FACE_XM && InWall && !Open && Powered) return 8468;
- if (Facing == eBlockFace::BLOCK_FACE_XM && InWall && !Open && !Powered) return 8469;
- if (Facing == eBlockFace::BLOCK_FACE_XM && !InWall && Open && Powered) return 8470;
- if (Facing == eBlockFace::BLOCK_FACE_XM && !InWall && Open && !Powered) return 8471;
- if (Facing == eBlockFace::BLOCK_FACE_XM && !InWall && !Open && Powered) return 8472;
- if (Facing == eBlockFace::BLOCK_FACE_XM && !InWall && !Open && !Powered) return 8473;
- if (Facing == eBlockFace::BLOCK_FACE_XP && InWall && Open && Powered) return 8474;
- if (Facing == eBlockFace::BLOCK_FACE_XP && InWall && Open && !Powered) return 8475;
- if (Facing == eBlockFace::BLOCK_FACE_XP && InWall && !Open && Powered) return 8476;
- if (Facing == eBlockFace::BLOCK_FACE_XP && InWall && !Open && !Powered) return 8477;
- if (Facing == eBlockFace::BLOCK_FACE_XP && !InWall && Open && Powered) return 8478;
- if (Facing == eBlockFace::BLOCK_FACE_XP && !InWall && Open && !Powered) return 8479;
- if (Facing == eBlockFace::BLOCK_FACE_XP && !InWall && !Open && Powered) return 8480;
- return 8481;
- }
- short BirchFenceGate();
- eBlockFace Facing(short ID);
- bool InWall(short ID);
- bool Open(short ID);
- bool Powered(short ID);
- }
- namespace BirchLeaves
- {
- constexpr short BirchLeaves(unsigned char Distance, bool Persistent)
- {
- if (Distance == 1 && Persistent) return 173;
- if (Distance == 1 && !Persistent) return 174;
- if (Distance == 2 && Persistent) return 175;
- if (Distance == 2 && !Persistent) return 176;
- if (Distance == 3 && Persistent) return 177;
- if (Distance == 3 && !Persistent) return 178;
- if (Distance == 4 && Persistent) return 179;
- if (Distance == 4 && !Persistent) return 180;
- if (Distance == 5 && Persistent) return 181;
- if (Distance == 5 && !Persistent) return 182;
- if (Distance == 6 && Persistent) return 183;
- if (Distance == 6 && !Persistent) return 184;
- if (Distance == 7 && Persistent) return 185;
- return 186;
- }
- short BirchLeaves();
- unsigned char Distance(short ID);
- bool Persistent(short ID);
- }
- namespace BirchLog
- {
- enum class Axis
- {
- X,
- Y,
- Z
- };
- constexpr short BirchLog(enum Axis Axis)
- {
- if (Axis == Axis::X) return 79;
- if (Axis == Axis::Y) return 80;
- return 81;
- }
- short BirchLog();
- enum Axis Axis(short ID);
- }
- namespace BirchPlanks
- {
- constexpr short BirchPlanks()
- {
- return 17;
- }
- }
- namespace BirchPressurePlate
- {
- constexpr short BirchPressurePlate(bool Powered)
- {
- if (Powered) return 3877;
- return 3878;
- }
- short BirchPressurePlate();
- bool Powered(short ID);
- }
- namespace BirchSapling
- {
- constexpr short BirchSapling(unsigned char Stage)
- {
- if (Stage == 0) return 25;
- return 26;
- }
- short BirchSapling();
- unsigned char Stage(short ID);
- }
- namespace BirchSign
- {
- constexpr short BirchSign(unsigned char Rotation)
- {
- if (Rotation == 0) return 3446;
- if (Rotation == 1) return 3448;
- if (Rotation == 2) return 3450;
- if (Rotation == 3) return 3452;
- if (Rotation == 4) return 3454;
- if (Rotation == 5) return 3456;
- if (Rotation == 6) return 3458;
- if (Rotation == 7) return 3460;
- if (Rotation == 8) return 3462;
- if (Rotation == 9) return 3464;
- if (Rotation == 10) return 3466;
- if (Rotation == 11) return 3468;
- if (Rotation == 12) return 3470;
- if (Rotation == 13) return 3472;
- if (Rotation == 14) return 3474;
- return 3476;
- }
- short BirchSign();
- unsigned char Rotation(short ID);
- }
- namespace BirchSlab
- {
- enum class Type
- {
- Top,
- Bottom,
- Double
- };
- constexpr short BirchSlab(enum Type Type)
- {
- if (Type == Type::Top) return 8313;
- if (Type == Type::Bottom) return 8315;
- return 8317;
- }
- short BirchSlab();
- enum Type Type(short ID);
- }
- namespace BirchStairs
- {
- enum class Half
- {
- Top,
- Bottom
- };
- enum class Shape
- {
- Straight,
- InnerLeft,
- InnerRight,
- OuterLeft,
- OuterRight
- };
- constexpr short BirchStairs(eBlockFace Facing, enum Half Half, enum Shape Shape)
- {
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Top && Shape == Shape::Straight) return 5485;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Top && Shape == Shape::InnerLeft) return 5487;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Top && Shape == Shape::InnerRight) return 5489;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Top && Shape == Shape::OuterLeft) return 5491;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Top && Shape == Shape::OuterRight) return 5493;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Bottom && Shape == Shape::Straight) return 5495;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Bottom && Shape == Shape::InnerLeft) return 5497;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Bottom && Shape == Shape::InnerRight) return 5499;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Bottom && Shape == Shape::OuterLeft) return 5501;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Bottom && Shape == Shape::OuterRight) return 5503;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Top && Shape == Shape::Straight) return 5505;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Top && Shape == Shape::InnerLeft) return 5507;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Top && Shape == Shape::InnerRight) return 5509;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Top && Shape == Shape::OuterLeft) return 5511;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Top && Shape == Shape::OuterRight) return 5513;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Bottom && Shape == Shape::Straight) return 5515;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Bottom && Shape == Shape::InnerLeft) return 5517;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Bottom && Shape == Shape::InnerRight) return 5519;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Bottom && Shape == Shape::OuterLeft) return 5521;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Bottom && Shape == Shape::OuterRight) return 5523;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Top && Shape == Shape::Straight) return 5525;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Top && Shape == Shape::InnerLeft) return 5527;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Top && Shape == Shape::InnerRight) return 5529;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Top && Shape == Shape::OuterLeft) return 5531;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Top && Shape == Shape::OuterRight) return 5533;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Bottom && Shape == Shape::Straight) return 5535;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Bottom && Shape == Shape::InnerLeft) return 5537;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Bottom && Shape == Shape::InnerRight) return 5539;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Bottom && Shape == Shape::OuterLeft) return 5541;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Bottom && Shape == Shape::OuterRight) return 5543;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Top && Shape == Shape::Straight) return 5545;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Top && Shape == Shape::InnerLeft) return 5547;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Top && Shape == Shape::InnerRight) return 5549;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Top && Shape == Shape::OuterLeft) return 5551;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Top && Shape == Shape::OuterRight) return 5553;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Bottom && Shape == Shape::Straight) return 5555;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Bottom && Shape == Shape::InnerLeft) return 5557;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Bottom && Shape == Shape::InnerRight) return 5559;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Bottom && Shape == Shape::OuterLeft) return 5561;
- return 5563;
- }
- short BirchStairs();
- eBlockFace Facing(short ID);
- enum Half Half(short ID);
- enum Shape Shape(short ID);
- }
- namespace BirchTrapdoor
- {
- enum class Half
- {
- Top,
- Bottom
- };
- constexpr short BirchTrapdoor(eBlockFace Facing, enum Half Half, bool Open, bool Powered)
- {
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Top && Open && Powered) return 4240;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Top && Open && !Powered) return 4242;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Top && !Open && Powered) return 4244;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Top && !Open && !Powered) return 4246;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Bottom && Open && Powered) return 4248;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Bottom && Open && !Powered) return 4250;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Bottom && !Open && Powered) return 4252;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Bottom && !Open && !Powered) return 4254;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Top && Open && Powered) return 4256;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Top && Open && !Powered) return 4258;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Top && !Open && Powered) return 4260;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Top && !Open && !Powered) return 4262;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Bottom && Open && Powered) return 4264;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Bottom && Open && !Powered) return 4266;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Bottom && !Open && Powered) return 4268;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Bottom && !Open && !Powered) return 4270;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Top && Open && Powered) return 4272;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Top && Open && !Powered) return 4274;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Top && !Open && Powered) return 4276;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Top && !Open && !Powered) return 4278;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Bottom && Open && Powered) return 4280;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Bottom && Open && !Powered) return 4282;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Bottom && !Open && Powered) return 4284;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Bottom && !Open && !Powered) return 4286;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Top && Open && Powered) return 4288;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Top && Open && !Powered) return 4290;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Top && !Open && Powered) return 4292;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Top && !Open && !Powered) return 4294;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Bottom && Open && Powered) return 4296;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Bottom && Open && !Powered) return 4298;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Bottom && !Open && Powered) return 4300;
- return 4302;
- }
- short BirchTrapdoor();
- eBlockFace Facing(short ID);
- enum Half Half(short ID);
- bool Open(short ID);
- bool Powered(short ID);
- }
- namespace BirchWallSign
- {
- constexpr short BirchWallSign(eBlockFace Facing)
- {
- if (Facing == eBlockFace::BLOCK_FACE_ZM) return 3752;
- if (Facing == eBlockFace::BLOCK_FACE_ZP) return 3754;
- if (Facing == eBlockFace::BLOCK_FACE_XM) return 3756;
- return 3758;
- }
- short BirchWallSign();
- eBlockFace Facing(short ID);
- }
- namespace BirchWood
- {
- enum class Axis
- {
- X,
- Y,
- Z
- };
- constexpr short BirchWood(enum Axis Axis)
- {
- if (Axis == Axis::X) return 115;
- if (Axis == Axis::Y) return 116;
- return 117;
- }
- short BirchWood();
- enum Axis Axis(short ID);
- }
- namespace BlackBanner
- {
- constexpr short BlackBanner(unsigned char Rotation)
- {
- if (Rotation == 0) return 8137;
- if (Rotation == 1) return 8138;
- if (Rotation == 2) return 8139;
- if (Rotation == 3) return 8140;
- if (Rotation == 4) return 8141;
- if (Rotation == 5) return 8142;
- if (Rotation == 6) return 8143;
- if (Rotation == 7) return 8144;
- if (Rotation == 8) return 8145;
- if (Rotation == 9) return 8146;
- if (Rotation == 10) return 8147;
- if (Rotation == 11) return 8148;
- if (Rotation == 12) return 8149;
- if (Rotation == 13) return 8150;
- if (Rotation == 14) return 8151;
- return 8152;
- }
- short BlackBanner();
- unsigned char Rotation(short ID);
- }
- namespace BlackBed
- {
- enum class Part
- {
- Head,
- Foot
- };
- constexpr short BlackBed(eBlockFace Facing, bool Occupied, enum Part Part)
- {
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Occupied && Part == Part::Head) return 1289;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Occupied && Part == Part::Foot) return 1290;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && !Occupied && Part == Part::Head) return 1291;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && !Occupied && Part == Part::Foot) return 1292;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Occupied && Part == Part::Head) return 1293;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Occupied && Part == Part::Foot) return 1294;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && !Occupied && Part == Part::Head) return 1295;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && !Occupied && Part == Part::Foot) return 1296;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Occupied && Part == Part::Head) return 1297;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Occupied && Part == Part::Foot) return 1298;
- if (Facing == eBlockFace::BLOCK_FACE_XM && !Occupied && Part == Part::Head) return 1299;
- if (Facing == eBlockFace::BLOCK_FACE_XM && !Occupied && Part == Part::Foot) return 1300;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Occupied && Part == Part::Head) return 1301;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Occupied && Part == Part::Foot) return 1302;
- if (Facing == eBlockFace::BLOCK_FACE_XP && !Occupied && Part == Part::Head) return 1303;
- return 1304;
- }
- short BlackBed();
- eBlockFace Facing(short ID);
- bool Occupied(short ID);
- enum Part Part(short ID);
- }
- namespace BlackCarpet
- {
- constexpr short BlackCarpet()
- {
- return 7881;
- }
- }
- namespace BlackConcrete
- {
- constexpr short BlackConcrete()
- {
- return 9453;
- }
- }
- namespace BlackConcretePowder
- {
- constexpr short BlackConcretePowder()
- {
- return 9469;
- }
- }
- namespace BlackGlazedTerracotta
- {
- constexpr short BlackGlazedTerracotta(eBlockFace Facing)
- {
- if (Facing == eBlockFace::BLOCK_FACE_ZM) return 9434;
- if (Facing == eBlockFace::BLOCK_FACE_ZP) return 9435;
- if (Facing == eBlockFace::BLOCK_FACE_XM) return 9436;
- return 9437;
- }
- short BlackGlazedTerracotta();
- eBlockFace Facing(short ID);
- }
- namespace BlackShulkerBox
- {
- constexpr short BlackShulkerBox(eBlockFace Facing)
- {
- if (Facing == eBlockFace::BLOCK_FACE_ZM) return 9368;
- if (Facing == eBlockFace::BLOCK_FACE_XP) return 9369;
- if (Facing == eBlockFace::BLOCK_FACE_ZP) return 9370;
- if (Facing == eBlockFace::BLOCK_FACE_XM) return 9371;
- if (Facing == eBlockFace::BLOCK_FACE_YP) return 9372;
- return 9373;
- }
- short BlackShulkerBox();
- eBlockFace Facing(short ID);
- }
- namespace BlackStainedGlass
- {
- constexpr short BlackStainedGlass()
- {
- return 4110;
- }
- }
- namespace BlackStainedGlassPane
- {
- constexpr short BlackStainedGlassPane(bool East, bool North, bool South, bool West)
- {
- if (East && North && South && West) return 7345;
- if (East && North && South && !West) return 7346;
- if (East && North && !South && West) return 7349;
- if (East && North && !South && !West) return 7350;
- if (East && !North && South && West) return 7353;
- if (East && !North && South && !West) return 7354;
- if (East && !North && !South && West) return 7357;
- if (East && !North && !South && !West) return 7358;
- if (!East && North && South && West) return 7361;
- if (!East && North && South && !West) return 7362;
- if (!East && North && !South && West) return 7365;
- if (!East && North && !South && !West) return 7366;
- if (!East && !North && South && West) return 7369;
- if (!East && !North && South && !West) return 7370;
- if (!East && !North && !South && West) return 7373;
- return 7374;
- }
- short BlackStainedGlassPane();
- bool East(short ID);
- bool North(short ID);
- bool South(short ID);
- bool West(short ID);
- }
- namespace BlackTerracotta
- {
- constexpr short BlackTerracotta()
- {
- return 6862;
- }
- }
- namespace BlackWallBanner
- {
- constexpr short BlackWallBanner(eBlockFace Facing)
- {
- if (Facing == eBlockFace::BLOCK_FACE_ZM) return 8213;
- if (Facing == eBlockFace::BLOCK_FACE_ZP) return 8214;
- if (Facing == eBlockFace::BLOCK_FACE_XM) return 8215;
- return 8216;
- }
- short BlackWallBanner();
- eBlockFace Facing(short ID);
- }
- namespace BlackWool
- {
- constexpr short BlackWool()
- {
- return 1399;
- }
- }
- namespace Blackstone
- {
- constexpr short Blackstone()
- {
- return 15839;
- }
- }
- namespace BlackstoneSlab
- {
- enum class Type
- {
- Top,
- Bottom,
- Double
- };
- constexpr short BlackstoneSlab(enum Type Type)
- {
- if (Type == Type::Top) return 16245;
- if (Type == Type::Bottom) return 16247;
- return 16249;
- }
- short BlackstoneSlab();
- enum Type Type(short ID);
- }
- namespace BlackstoneStairs
- {
- enum class Half
- {
- Top,
- Bottom
- };
- enum class Shape
- {
- Straight,
- InnerLeft,
- InnerRight,
- OuterLeft,
- OuterRight
- };
- constexpr short BlackstoneStairs(eBlockFace Facing, enum Half Half, enum Shape Shape)
- {
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Top && Shape == Shape::Straight) return 15841;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Top && Shape == Shape::InnerLeft) return 15843;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Top && Shape == Shape::InnerRight) return 15845;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Top && Shape == Shape::OuterLeft) return 15847;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Top && Shape == Shape::OuterRight) return 15849;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Bottom && Shape == Shape::Straight) return 15851;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Bottom && Shape == Shape::InnerLeft) return 15853;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Bottom && Shape == Shape::InnerRight) return 15855;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Bottom && Shape == Shape::OuterLeft) return 15857;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Bottom && Shape == Shape::OuterRight) return 15859;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Top && Shape == Shape::Straight) return 15861;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Top && Shape == Shape::InnerLeft) return 15863;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Top && Shape == Shape::InnerRight) return 15865;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Top && Shape == Shape::OuterLeft) return 15867;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Top && Shape == Shape::OuterRight) return 15869;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Bottom && Shape == Shape::Straight) return 15871;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Bottom && Shape == Shape::InnerLeft) return 15873;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Bottom && Shape == Shape::InnerRight) return 15875;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Bottom && Shape == Shape::OuterLeft) return 15877;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Bottom && Shape == Shape::OuterRight) return 15879;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Top && Shape == Shape::Straight) return 15881;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Top && Shape == Shape::InnerLeft) return 15883;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Top && Shape == Shape::InnerRight) return 15885;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Top && Shape == Shape::OuterLeft) return 15887;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Top && Shape == Shape::OuterRight) return 15889;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Bottom && Shape == Shape::Straight) return 15891;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Bottom && Shape == Shape::InnerLeft) return 15893;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Bottom && Shape == Shape::InnerRight) return 15895;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Bottom && Shape == Shape::OuterLeft) return 15897;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Bottom && Shape == Shape::OuterRight) return 15899;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Top && Shape == Shape::Straight) return 15901;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Top && Shape == Shape::InnerLeft) return 15903;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Top && Shape == Shape::InnerRight) return 15905;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Top && Shape == Shape::OuterLeft) return 15907;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Top && Shape == Shape::OuterRight) return 15909;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Bottom && Shape == Shape::Straight) return 15911;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Bottom && Shape == Shape::InnerLeft) return 15913;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Bottom && Shape == Shape::InnerRight) return 15915;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Bottom && Shape == Shape::OuterLeft) return 15917;
- return 15919;
- }
- short BlackstoneStairs();
- eBlockFace Facing(short ID);
- enum Half Half(short ID);
- enum Shape Shape(short ID);
- }
- namespace BlackstoneWall
- {
- enum class East
- {
- None,
- Low,
- Tall
- };
- enum class North
- {
- None,
- Low,
- Tall
- };
- enum class South
- {
- None,
- Low,
- Tall
- };
- enum class West
- {
- None,
- Low,
- Tall
- };
- constexpr short BlackstoneWall(enum East East, enum North North, enum South South, bool Up, enum West West)
- {
- if (East == East::None && North == North::None && South == South::None && Up && West == West::None) return 15923;
- if (East == East::None && North == North::None && South == South::None && Up && West == West::Low) return 15924;
- if (East == East::None && North == North::None && South == South::None && Up && West == West::Tall) return 15925;
- if (East == East::None && North == North::None && South == South::None && !Up && West == West::None) return 15929;
- if (East == East::None && North == North::None && South == South::None && !Up && West == West::Low) return 15930;
- if (East == East::None && North == North::None && South == South::None && !Up && West == West::Tall) return 15931;
- if (East == East::None && North == North::None && South == South::Low && Up && West == West::None) return 15935;
- if (East == East::None && North == North::None && South == South::Low && Up && West == West::Low) return 15936;
- if (East == East::None && North == North::None && South == South::Low && Up && West == West::Tall) return 15937;
- if (East == East::None && North == North::None && South == South::Low && !Up && West == West::None) return 15941;
- if (East == East::None && North == North::None && South == South::Low && !Up && West == West::Low) return 15942;
- if (East == East::None && North == North::None && South == South::Low && !Up && West == West::Tall) return 15943;
- if (East == East::None && North == North::None && South == South::Tall && Up && West == West::None) return 15947;
- if (East == East::None && North == North::None && South == South::Tall && Up && West == West::Low) return 15948;
- if (East == East::None && North == North::None && South == South::Tall && Up && West == West::Tall) return 15949;
- if (East == East::None && North == North::None && South == South::Tall && !Up && West == West::None) return 15953;
- if (East == East::None && North == North::None && South == South::Tall && !Up && West == West::Low) return 15954;
- if (East == East::None && North == North::None && South == South::Tall && !Up && West == West::Tall) return 15955;
- if (East == East::None && North == North::Low && South == South::None && Up && West == West::None) return 15959;
- if (East == East::None && North == North::Low && South == South::None && Up && West == West::Low) return 15960;
- if (East == East::None && North == North::Low && South == South::None && Up && West == West::Tall) return 15961;
- if (East == East::None && North == North::Low && South == South::None && !Up && West == West::None) return 15965;
- if (East == East::None && North == North::Low && South == South::None && !Up && West == West::Low) return 15966;
- if (East == East::None && North == North::Low && South == South::None && !Up && West == West::Tall) return 15967;
- if (East == East::None && North == North::Low && South == South::Low && Up && West == West::None) return 15971;
- if (East == East::None && North == North::Low && South == South::Low && Up && West == West::Low) return 15972;
- if (East == East::None && North == North::Low && South == South::Low && Up && West == West::Tall) return 15973;
- if (East == East::None && North == North::Low && South == South::Low && !Up && West == West::None) return 15977;
- if (East == East::None && North == North::Low && South == South::Low && !Up && West == West::Low) return 15978;
- if (East == East::None && North == North::Low && South == South::Low && !Up && West == West::Tall) return 15979;
- if (East == East::None && North == North::Low && South == South::Tall && Up && West == West::None) return 15983;
- if (East == East::None && North == North::Low && South == South::Tall && Up && West == West::Low) return 15984;
- if (East == East::None && North == North::Low && South == South::Tall && Up && West == West::Tall) return 15985;
- if (East == East::None && North == North::Low && South == South::Tall && !Up && West == West::None) return 15989;
- if (East == East::None && North == North::Low && South == South::Tall && !Up && West == West::Low) return 15990;
- if (East == East::None && North == North::Low && South == South::Tall && !Up && West == West::Tall) return 15991;
- if (East == East::None && North == North::Tall && South == South::None && Up && West == West::None) return 15995;
- if (East == East::None && North == North::Tall && South == South::None && Up && West == West::Low) return 15996;
- if (East == East::None && North == North::Tall && South == South::None && Up && West == West::Tall) return 15997;
- if (East == East::None && North == North::Tall && South == South::None && !Up && West == West::None) return 16001;
- if (East == East::None && North == North::Tall && South == South::None && !Up && West == West::Low) return 16002;
- if (East == East::None && North == North::Tall && South == South::None && !Up && West == West::Tall) return 16003;
- if (East == East::None && North == North::Tall && South == South::Low && Up && West == West::None) return 16007;
- if (East == East::None && North == North::Tall && South == South::Low && Up && West == West::Low) return 16008;
- if (East == East::None && North == North::Tall && South == South::Low && Up && West == West::Tall) return 16009;
- if (East == East::None && North == North::Tall && South == South::Low && !Up && West == West::None) return 16013;
- if (East == East::None && North == North::Tall && South == South::Low && !Up && West == West::Low) return 16014;
- if (East == East::None && North == North::Tall && South == South::Low && !Up && West == West::Tall) return 16015;
- if (East == East::None && North == North::Tall && South == South::Tall && Up && West == West::None) return 16019;
- if (East == East::None && North == North::Tall && South == South::Tall && Up && West == West::Low) return 16020;
- if (East == East::None && North == North::Tall && South == South::Tall && Up && West == West::Tall) return 16021;
- if (East == East::None && North == North::Tall && South == South::Tall && !Up && West == West::None) return 16025;
- if (East == East::None && North == North::Tall && South == South::Tall && !Up && West == West::Low) return 16026;
- if (East == East::None && North == North::Tall && South == South::Tall && !Up && West == West::Tall) return 16027;
- if (East == East::Low && North == North::None && South == South::None && Up && West == West::None) return 16031;
- if (East == East::Low && North == North::None && South == South::None && Up && West == West::Low) return 16032;
- if (East == East::Low && North == North::None && South == South::None && Up && West == West::Tall) return 16033;
- if (East == East::Low && North == North::None && South == South::None && !Up && West == West::None) return 16037;
- if (East == East::Low && North == North::None && South == South::None && !Up && West == West::Low) return 16038;
- if (East == East::Low && North == North::None && South == South::None && !Up && West == West::Tall) return 16039;
- if (East == East::Low && North == North::None && South == South::Low && Up && West == West::None) return 16043;
- if (East == East::Low && North == North::None && South == South::Low && Up && West == West::Low) return 16044;
- if (East == East::Low && North == North::None && South == South::Low && Up && West == West::Tall) return 16045;
- if (East == East::Low && North == North::None && South == South::Low && !Up && West == West::None) return 16049;
- if (East == East::Low && North == North::None && South == South::Low && !Up && West == West::Low) return 16050;
- if (East == East::Low && North == North::None && South == South::Low && !Up && West == West::Tall) return 16051;
- if (East == East::Low && North == North::None && South == South::Tall && Up && West == West::None) return 16055;
- if (East == East::Low && North == North::None && South == South::Tall && Up && West == West::Low) return 16056;
- if (East == East::Low && North == North::None && South == South::Tall && Up && West == West::Tall) return 16057;
- if (East == East::Low && North == North::None && South == South::Tall && !Up && West == West::None) return 16061;
- if (East == East::Low && North == North::None && South == South::Tall && !Up && West == West::Low) return 16062;
- if (East == East::Low && North == North::None && South == South::Tall && !Up && West == West::Tall) return 16063;
- if (East == East::Low && North == North::Low && South == South::None && Up && West == West::None) return 16067;
- if (East == East::Low && North == North::Low && South == South::None && Up && West == West::Low) return 16068;
- if (East == East::Low && North == North::Low && South == South::None && Up && West == West::Tall) return 16069;
- if (East == East::Low && North == North::Low && South == South::None && !Up && West == West::None) return 16073;
- if (East == East::Low && North == North::Low && South == South::None && !Up && West == West::Low) return 16074;
- if (East == East::Low && North == North::Low && South == South::None && !Up && West == West::Tall) return 16075;
- if (East == East::Low && North == North::Low && South == South::Low && Up && West == West::None) return 16079;
- if (East == East::Low && North == North::Low && South == South::Low && Up && West == West::Low) return 16080;
- if (East == East::Low && North == North::Low && South == South::Low && Up && West == West::Tall) return 16081;
- if (East == East::Low && North == North::Low && South == South::Low && !Up && West == West::None) return 16085;
- if (East == East::Low && North == North::Low && South == South::Low && !Up && West == West::Low) return 16086;
- if (East == East::Low && North == North::Low && South == South::Low && !Up && West == West::Tall) return 16087;
- if (East == East::Low && North == North::Low && South == South::Tall && Up && West == West::None) return 16091;
- if (East == East::Low && North == North::Low && South == South::Tall && Up && West == West::Low) return 16092;
- if (East == East::Low && North == North::Low && South == South::Tall && Up && West == West::Tall) return 16093;
- if (East == East::Low && North == North::Low && South == South::Tall && !Up && West == West::None) return 16097;
- if (East == East::Low && North == North::Low && South == South::Tall && !Up && West == West::Low) return 16098;
- if (East == East::Low && North == North::Low && South == South::Tall && !Up && West == West::Tall) return 16099;
- if (East == East::Low && North == North::Tall && South == South::None && Up && West == West::None) return 16103;
- if (East == East::Low && North == North::Tall && South == South::None && Up && West == West::Low) return 16104;
- if (East == East::Low && North == North::Tall && South == South::None && Up && West == West::Tall) return 16105;
- if (East == East::Low && North == North::Tall && South == South::None && !Up && West == West::None) return 16109;
- if (East == East::Low && North == North::Tall && South == South::None && !Up && West == West::Low) return 16110;
- if (East == East::Low && North == North::Tall && South == South::None && !Up && West == West::Tall) return 16111;
- if (East == East::Low && North == North::Tall && South == South::Low && Up && West == West::None) return 16115;
- if (East == East::Low && North == North::Tall && South == South::Low && Up && West == West::Low) return 16116;
- if (East == East::Low && North == North::Tall && South == South::Low && Up && West == West::Tall) return 16117;
- if (East == East::Low && North == North::Tall && South == South::Low && !Up && West == West::None) return 16121;
- if (East == East::Low && North == North::Tall && South == South::Low && !Up && West == West::Low) return 16122;
- if (East == East::Low && North == North::Tall && South == South::Low && !Up && West == West::Tall) return 16123;
- if (East == East::Low && North == North::Tall && South == South::Tall && Up && West == West::None) return 16127;
- if (East == East::Low && North == North::Tall && South == South::Tall && Up && West == West::Low) return 16128;
- if (East == East::Low && North == North::Tall && South == South::Tall && Up && West == West::Tall) return 16129;
- if (East == East::Low && North == North::Tall && South == South::Tall && !Up && West == West::None) return 16133;
- if (East == East::Low && North == North::Tall && South == South::Tall && !Up && West == West::Low) return 16134;
- if (East == East::Low && North == North::Tall && South == South::Tall && !Up && West == West::Tall) return 16135;
- if (East == East::Tall && North == North::None && South == South::None && Up && West == West::None) return 16139;
- if (East == East::Tall && North == North::None && South == South::None && Up && West == West::Low) return 16140;
- if (East == East::Tall && North == North::None && South == South::None && Up && West == West::Tall) return 16141;
- if (East == East::Tall && North == North::None && South == South::None && !Up && West == West::None) return 16145;
- if (East == East::Tall && North == North::None && South == South::None && !Up && West == West::Low) return 16146;
- if (East == East::Tall && North == North::None && South == South::None && !Up && West == West::Tall) return 16147;
- if (East == East::Tall && North == North::None && South == South::Low && Up && West == West::None) return 16151;
- if (East == East::Tall && North == North::None && South == South::Low && Up && West == West::Low) return 16152;
- if (East == East::Tall && North == North::None && South == South::Low && Up && West == West::Tall) return 16153;
- if (East == East::Tall && North == North::None && South == South::Low && !Up && West == West::None) return 16157;
- if (East == East::Tall && North == North::None && South == South::Low && !Up && West == West::Low) return 16158;
- if (East == East::Tall && North == North::None && South == South::Low && !Up && West == West::Tall) return 16159;
- if (East == East::Tall && North == North::None && South == South::Tall && Up && West == West::None) return 16163;
- if (East == East::Tall && North == North::None && South == South::Tall && Up && West == West::Low) return 16164;
- if (East == East::Tall && North == North::None && South == South::Tall && Up && West == West::Tall) return 16165;
- if (East == East::Tall && North == North::None && South == South::Tall && !Up && West == West::None) return 16169;
- if (East == East::Tall && North == North::None && South == South::Tall && !Up && West == West::Low) return 16170;
- if (East == East::Tall && North == North::None && South == South::Tall && !Up && West == West::Tall) return 16171;
- if (East == East::Tall && North == North::Low && South == South::None && Up && West == West::None) return 16175;
- if (East == East::Tall && North == North::Low && South == South::None && Up && West == West::Low) return 16176;
- if (East == East::Tall && North == North::Low && South == South::None && Up && West == West::Tall) return 16177;
- if (East == East::Tall && North == North::Low && South == South::None && !Up && West == West::None) return 16181;
- if (East == East::Tall && North == North::Low && South == South::None && !Up && West == West::Low) return 16182;
- if (East == East::Tall && North == North::Low && South == South::None && !Up && West == West::Tall) return 16183;
- if (East == East::Tall && North == North::Low && South == South::Low && Up && West == West::None) return 16187;
- if (East == East::Tall && North == North::Low && South == South::Low && Up && West == West::Low) return 16188;
- if (East == East::Tall && North == North::Low && South == South::Low && Up && West == West::Tall) return 16189;
- if (East == East::Tall && North == North::Low && South == South::Low && !Up && West == West::None) return 16193;
- if (East == East::Tall && North == North::Low && South == South::Low && !Up && West == West::Low) return 16194;
- if (East == East::Tall && North == North::Low && South == South::Low && !Up && West == West::Tall) return 16195;
- if (East == East::Tall && North == North::Low && South == South::Tall && Up && West == West::None) return 16199;
- if (East == East::Tall && North == North::Low && South == South::Tall && Up && West == West::Low) return 16200;
- if (East == East::Tall && North == North::Low && South == South::Tall && Up && West == West::Tall) return 16201;
- if (East == East::Tall && North == North::Low && South == South::Tall && !Up && West == West::None) return 16205;
- if (East == East::Tall && North == North::Low && South == South::Tall && !Up && West == West::Low) return 16206;
- if (East == East::Tall && North == North::Low && South == South::Tall && !Up && West == West::Tall) return 16207;
- if (East == East::Tall && North == North::Tall && South == South::None && Up && West == West::None) return 16211;
- if (East == East::Tall && North == North::Tall && South == South::None && Up && West == West::Low) return 16212;
- if (East == East::Tall && North == North::Tall && South == South::None && Up && West == West::Tall) return 16213;
- if (East == East::Tall && North == North::Tall && South == South::None && !Up && West == West::None) return 16217;
- if (East == East::Tall && North == North::Tall && South == South::None && !Up && West == West::Low) return 16218;
- if (East == East::Tall && North == North::Tall && South == South::None && !Up && West == West::Tall) return 16219;
- if (East == East::Tall && North == North::Tall && South == South::Low && Up && West == West::None) return 16223;
- if (East == East::Tall && North == North::Tall && South == South::Low && Up && West == West::Low) return 16224;
- if (East == East::Tall && North == North::Tall && South == South::Low && Up && West == West::Tall) return 16225;
- if (East == East::Tall && North == North::Tall && South == South::Low && !Up && West == West::None) return 16229;
- if (East == East::Tall && North == North::Tall && South == South::Low && !Up && West == West::Low) return 16230;
- if (East == East::Tall && North == North::Tall && South == South::Low && !Up && West == West::Tall) return 16231;
- if (East == East::Tall && North == North::Tall && South == South::Tall && Up && West == West::None) return 16235;
- if (East == East::Tall && North == North::Tall && South == South::Tall && Up && West == West::Low) return 16236;
- if (East == East::Tall && North == North::Tall && South == South::Tall && Up && West == West::Tall) return 16237;
- if (East == East::Tall && North == North::Tall && South == South::Tall && !Up && West == West::None) return 16241;
- if (East == East::Tall && North == North::Tall && South == South::Tall && !Up && West == West::Low) return 16242;
- return 16243;
- }
- short BlackstoneWall();
- enum East East(short ID);
- enum North North(short ID);
- enum South South(short ID);
- bool Up(short ID);
- enum West West(short ID);
- }
- namespace BlastFurnace
- {
- constexpr short BlastFurnace(eBlockFace Facing, bool Lit)
- {
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Lit) return 14811;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && !Lit) return 14812;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Lit) return 14813;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && !Lit) return 14814;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Lit) return 14815;
- if (Facing == eBlockFace::BLOCK_FACE_XM && !Lit) return 14816;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Lit) return 14817;
- return 14818;
- }
- short BlastFurnace();
- eBlockFace Facing(short ID);
- bool Lit(short ID);
- }
- namespace BlueBanner
- {
- constexpr short BlueBanner(unsigned char Rotation)
- {
- if (Rotation == 0) return 8073;
- if (Rotation == 1) return 8074;
- if (Rotation == 2) return 8075;
- if (Rotation == 3) return 8076;
- if (Rotation == 4) return 8077;
- if (Rotation == 5) return 8078;
- if (Rotation == 6) return 8079;
- if (Rotation == 7) return 8080;
- if (Rotation == 8) return 8081;
- if (Rotation == 9) return 8082;
- if (Rotation == 10) return 8083;
- if (Rotation == 11) return 8084;
- if (Rotation == 12) return 8085;
- if (Rotation == 13) return 8086;
- if (Rotation == 14) return 8087;
- return 8088;
- }
- short BlueBanner();
- unsigned char Rotation(short ID);
- }
- namespace BlueBed
- {
- enum class Part
- {
- Head,
- Foot
- };
- constexpr short BlueBed(eBlockFace Facing, bool Occupied, enum Part Part)
- {
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Occupied && Part == Part::Head) return 1225;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Occupied && Part == Part::Foot) return 1226;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && !Occupied && Part == Part::Head) return 1227;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && !Occupied && Part == Part::Foot) return 1228;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Occupied && Part == Part::Head) return 1229;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Occupied && Part == Part::Foot) return 1230;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && !Occupied && Part == Part::Head) return 1231;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && !Occupied && Part == Part::Foot) return 1232;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Occupied && Part == Part::Head) return 1233;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Occupied && Part == Part::Foot) return 1234;
- if (Facing == eBlockFace::BLOCK_FACE_XM && !Occupied && Part == Part::Head) return 1235;
- if (Facing == eBlockFace::BLOCK_FACE_XM && !Occupied && Part == Part::Foot) return 1236;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Occupied && Part == Part::Head) return 1237;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Occupied && Part == Part::Foot) return 1238;
- if (Facing == eBlockFace::BLOCK_FACE_XP && !Occupied && Part == Part::Head) return 1239;
- return 1240;
- }
- short BlueBed();
- eBlockFace Facing(short ID);
- bool Occupied(short ID);
- enum Part Part(short ID);
- }
- namespace BlueCarpet
- {
- constexpr short BlueCarpet()
- {
- return 7877;
- }
- }
- namespace BlueConcrete
- {
- constexpr short BlueConcrete()
- {
- return 9449;
- }
- }
- namespace BlueConcretePowder
- {
- constexpr short BlueConcretePowder()
- {
- return 9465;
- }
- }
- namespace BlueGlazedTerracotta
- {
- constexpr short BlueGlazedTerracotta(eBlockFace Facing)
- {
- if (Facing == eBlockFace::BLOCK_FACE_ZM) return 9418;
- if (Facing == eBlockFace::BLOCK_FACE_ZP) return 9419;
- if (Facing == eBlockFace::BLOCK_FACE_XM) return 9420;
- return 9421;
- }
- short BlueGlazedTerracotta();
- eBlockFace Facing(short ID);
- }
- namespace BlueIce
- {
- constexpr short BlueIce()
- {
- return 9648;
- }
- }
- namespace BlueOrchid
- {
- constexpr short BlueOrchid()
- {
- return 1414;
- }
- }
- namespace BlueShulkerBox
- {
- constexpr short BlueShulkerBox(eBlockFace Facing)
- {
- if (Facing == eBlockFace::BLOCK_FACE_ZM) return 9344;
- if (Facing == eBlockFace::BLOCK_FACE_XP) return 9345;
- if (Facing == eBlockFace::BLOCK_FACE_ZP) return 9346;
- if (Facing == eBlockFace::BLOCK_FACE_XM) return 9347;
- if (Facing == eBlockFace::BLOCK_FACE_YP) return 9348;
- return 9349;
- }
- short BlueShulkerBox();
- eBlockFace Facing(short ID);
- }
- namespace BlueStainedGlass
- {
- constexpr short BlueStainedGlass()
- {
- return 4106;
- }
- }
- namespace BlueStainedGlassPane
- {
- constexpr short BlueStainedGlassPane(bool East, bool North, bool South, bool West)
- {
- if (East && North && South && West) return 7217;
- if (East && North && South && !West) return 7218;
- if (East && North && !South && West) return 7221;
- if (East && North && !South && !West) return 7222;
- if (East && !North && South && West) return 7225;
- if (East && !North && South && !West) return 7226;
- if (East && !North && !South && West) return 7229;
- if (East && !North && !South && !West) return 7230;
- if (!East && North && South && West) return 7233;
- if (!East && North && South && !West) return 7234;
- if (!East && North && !South && West) return 7237;
- if (!East && North && !South && !West) return 7238;
- if (!East && !North && South && West) return 7241;
- if (!East && !North && South && !West) return 7242;
- if (!East && !North && !South && West) return 7245;
- return 7246;
- }
- short BlueStainedGlassPane();
- bool East(short ID);
- bool North(short ID);
- bool South(short ID);
- bool West(short ID);
- }
- namespace BlueTerracotta
- {
- constexpr short BlueTerracotta()
- {
- return 6858;
- }
- }
- namespace BlueWallBanner
- {
- constexpr short BlueWallBanner(eBlockFace Facing)
- {
- if (Facing == eBlockFace::BLOCK_FACE_ZM) return 8197;
- if (Facing == eBlockFace::BLOCK_FACE_ZP) return 8198;
- if (Facing == eBlockFace::BLOCK_FACE_XM) return 8199;
- return 8200;
- }
- short BlueWallBanner();
- eBlockFace Facing(short ID);
- }
- namespace BlueWool
- {
- constexpr short BlueWool()
- {
- return 1395;
- }
- }
- namespace BoneBlock
- {
- enum class Axis
- {
- X,
- Y,
- Z
- };
- constexpr short BoneBlock(enum Axis Axis)
- {
- if (Axis == Axis::X) return 9256;
- if (Axis == Axis::Y) return 9257;
- return 9258;
- }
- short BoneBlock();
- enum Axis Axis(short ID);
- }
- namespace Bookshelf
- {
- constexpr short Bookshelf()
- {
- return 1432;
- }
- }
- namespace BrainCoral
- {
- constexpr short BrainCoral()
- {
- return 9533;
- }
- }
- namespace BrainCoralBlock
- {
- constexpr short BrainCoralBlock()
- {
- return 9516;
- }
- }
- namespace BrainCoralFan
- {
- constexpr short BrainCoralFan()
- {
- return 9553;
- }
- }
- namespace BrainCoralWallFan
- {
- constexpr short BrainCoralWallFan(eBlockFace Facing)
- {
- if (Facing == eBlockFace::BLOCK_FACE_ZM) return 9609;
- if (Facing == eBlockFace::BLOCK_FACE_ZP) return 9611;
- if (Facing == eBlockFace::BLOCK_FACE_XM) return 9613;
- return 9615;
- }
- short BrainCoralWallFan();
- eBlockFace Facing(short ID);
- }
- namespace BrewingStand
- {
- constexpr short BrewingStand(bool HasBottle_0, bool HasBottle_1, bool HasBottle_2)
- {
- if (HasBottle_0 && HasBottle_1 && HasBottle_2) return 5133;
- if (HasBottle_0 && HasBottle_1 && !HasBottle_2) return 5134;
- if (HasBottle_0 && !HasBottle_1 && HasBottle_2) return 5135;
- if (HasBottle_0 && !HasBottle_1 && !HasBottle_2) return 5136;
- if (!HasBottle_0 && HasBottle_1 && HasBottle_2) return 5137;
- if (!HasBottle_0 && HasBottle_1 && !HasBottle_2) return 5138;
- if (!HasBottle_0 && !HasBottle_1 && HasBottle_2) return 5139;
- return 5140;
- }
- short BrewingStand();
- bool HasBottle_0(short ID);
- bool HasBottle_1(short ID);
- bool HasBottle_2(short ID);
- }
- namespace BrickSlab
- {
- enum class Type
- {
- Top,
- Bottom,
- Double
- };
- constexpr short BrickSlab(enum Type Type)
- {
- if (Type == Type::Top) return 8373;
- if (Type == Type::Bottom) return 8375;
- return 8377;
- }
- short BrickSlab();
- enum Type Type(short ID);
- }
- namespace BrickStairs
- {
- enum class Half
- {
- Top,
- Bottom
- };
- enum class Shape
- {
- Straight,
- InnerLeft,
- InnerRight,
- OuterLeft,
- OuterRight
- };
- constexpr short BrickStairs(eBlockFace Facing, enum Half Half, enum Shape Shape)
- {
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Top && Shape == Shape::Straight) return 4853;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Top && Shape == Shape::InnerLeft) return 4855;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Top && Shape == Shape::InnerRight) return 4857;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Top && Shape == Shape::OuterLeft) return 4859;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Top && Shape == Shape::OuterRight) return 4861;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Bottom && Shape == Shape::Straight) return 4863;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Bottom && Shape == Shape::InnerLeft) return 4865;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Bottom && Shape == Shape::InnerRight) return 4867;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Bottom && Shape == Shape::OuterLeft) return 4869;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Bottom && Shape == Shape::OuterRight) return 4871;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Top && Shape == Shape::Straight) return 4873;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Top && Shape == Shape::InnerLeft) return 4875;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Top && Shape == Shape::InnerRight) return 4877;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Top && Shape == Shape::OuterLeft) return 4879;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Top && Shape == Shape::OuterRight) return 4881;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Bottom && Shape == Shape::Straight) return 4883;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Bottom && Shape == Shape::InnerLeft) return 4885;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Bottom && Shape == Shape::InnerRight) return 4887;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Bottom && Shape == Shape::OuterLeft) return 4889;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Bottom && Shape == Shape::OuterRight) return 4891;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Top && Shape == Shape::Straight) return 4893;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Top && Shape == Shape::InnerLeft) return 4895;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Top && Shape == Shape::InnerRight) return 4897;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Top && Shape == Shape::OuterLeft) return 4899;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Top && Shape == Shape::OuterRight) return 4901;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Bottom && Shape == Shape::Straight) return 4903;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Bottom && Shape == Shape::InnerLeft) return 4905;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Bottom && Shape == Shape::InnerRight) return 4907;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Bottom && Shape == Shape::OuterLeft) return 4909;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Bottom && Shape == Shape::OuterRight) return 4911;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Top && Shape == Shape::Straight) return 4913;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Top && Shape == Shape::InnerLeft) return 4915;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Top && Shape == Shape::InnerRight) return 4917;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Top && Shape == Shape::OuterLeft) return 4919;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Top && Shape == Shape::OuterRight) return 4921;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Bottom && Shape == Shape::Straight) return 4923;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Bottom && Shape == Shape::InnerLeft) return 4925;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Bottom && Shape == Shape::InnerRight) return 4927;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Bottom && Shape == Shape::OuterLeft) return 4929;
- return 4931;
- }
- short BrickStairs();
- eBlockFace Facing(short ID);
- enum Half Half(short ID);
- enum Shape Shape(short ID);
- }
- namespace BrickWall
- {
- enum class East
- {
- None,
- Low,
- Tall
- };
- enum class North
- {
- None,
- Low,
- Tall
- };
- enum class South
- {
- None,
- Low,
- Tall
- };
- enum class West
- {
- None,
- Low,
- Tall
- };
- constexpr short BrickWall(enum East East, enum North North, enum South South, bool Up, enum West West)
- {
- if (East == East::None && North == North::None && South == South::None && Up && West == West::None) return 10870;
- if (East == East::None && North == North::None && South == South::None && Up && West == West::Low) return 10871;
- if (East == East::None && North == North::None && South == South::None && Up && West == West::Tall) return 10872;
- if (East == East::None && North == North::None && South == South::None && !Up && West == West::None) return 10876;
- if (East == East::None && North == North::None && South == South::None && !Up && West == West::Low) return 10877;
- if (East == East::None && North == North::None && South == South::None && !Up && West == West::Tall) return 10878;
- if (East == East::None && North == North::None && South == South::Low && Up && West == West::None) return 10882;
- if (East == East::None && North == North::None && South == South::Low && Up && West == West::Low) return 10883;
- if (East == East::None && North == North::None && South == South::Low && Up && West == West::Tall) return 10884;
- if (East == East::None && North == North::None && South == South::Low && !Up && West == West::None) return 10888;
- if (East == East::None && North == North::None && South == South::Low && !Up && West == West::Low) return 10889;
- if (East == East::None && North == North::None && South == South::Low && !Up && West == West::Tall) return 10890;
- if (East == East::None && North == North::None && South == South::Tall && Up && West == West::None) return 10894;
- if (East == East::None && North == North::None && South == South::Tall && Up && West == West::Low) return 10895;
- if (East == East::None && North == North::None && South == South::Tall && Up && West == West::Tall) return 10896;
- if (East == East::None && North == North::None && South == South::Tall && !Up && West == West::None) return 10900;
- if (East == East::None && North == North::None && South == South::Tall && !Up && West == West::Low) return 10901;
- if (East == East::None && North == North::None && South == South::Tall && !Up && West == West::Tall) return 10902;
- if (East == East::None && North == North::Low && South == South::None && Up && West == West::None) return 10906;
- if (East == East::None && North == North::Low && South == South::None && Up && West == West::Low) return 10907;
- if (East == East::None && North == North::Low && South == South::None && Up && West == West::Tall) return 10908;
- if (East == East::None && North == North::Low && South == South::None && !Up && West == West::None) return 10912;
- if (East == East::None && North == North::Low && South == South::None && !Up && West == West::Low) return 10913;
- if (East == East::None && North == North::Low && South == South::None && !Up && West == West::Tall) return 10914;
- if (East == East::None && North == North::Low && South == South::Low && Up && West == West::None) return 10918;
- if (East == East::None && North == North::Low && South == South::Low && Up && West == West::Low) return 10919;
- if (East == East::None && North == North::Low && South == South::Low && Up && West == West::Tall) return 10920;
- if (East == East::None && North == North::Low && South == South::Low && !Up && West == West::None) return 10924;
- if (East == East::None && North == North::Low && South == South::Low && !Up && West == West::Low) return 10925;
- if (East == East::None && North == North::Low && South == South::Low && !Up && West == West::Tall) return 10926;
- if (East == East::None && North == North::Low && South == South::Tall && Up && West == West::None) return 10930;
- if (East == East::None && North == North::Low && South == South::Tall && Up && West == West::Low) return 10931;
- if (East == East::None && North == North::Low && South == South::Tall && Up && West == West::Tall) return 10932;
- if (East == East::None && North == North::Low && South == South::Tall && !Up && West == West::None) return 10936;
- if (East == East::None && North == North::Low && South == South::Tall && !Up && West == West::Low) return 10937;
- if (East == East::None && North == North::Low && South == South::Tall && !Up && West == West::Tall) return 10938;
- if (East == East::None && North == North::Tall && South == South::None && Up && West == West::None) return 10942;
- if (East == East::None && North == North::Tall && South == South::None && Up && West == West::Low) return 10943;
- if (East == East::None && North == North::Tall && South == South::None && Up && West == West::Tall) return 10944;
- if (East == East::None && North == North::Tall && South == South::None && !Up && West == West::None) return 10948;
- if (East == East::None && North == North::Tall && South == South::None && !Up && West == West::Low) return 10949;
- if (East == East::None && North == North::Tall && South == South::None && !Up && West == West::Tall) return 10950;
- if (East == East::None && North == North::Tall && South == South::Low && Up && West == West::None) return 10954;
- if (East == East::None && North == North::Tall && South == South::Low && Up && West == West::Low) return 10955;
- if (East == East::None && North == North::Tall && South == South::Low && Up && West == West::Tall) return 10956;
- if (East == East::None && North == North::Tall && South == South::Low && !Up && West == West::None) return 10960;
- if (East == East::None && North == North::Tall && South == South::Low && !Up && West == West::Low) return 10961;
- if (East == East::None && North == North::Tall && South == South::Low && !Up && West == West::Tall) return 10962;
- if (East == East::None && North == North::Tall && South == South::Tall && Up && West == West::None) return 10966;
- if (East == East::None && North == North::Tall && South == South::Tall && Up && West == West::Low) return 10967;
- if (East == East::None && North == North::Tall && South == South::Tall && Up && West == West::Tall) return 10968;
- if (East == East::None && North == North::Tall && South == South::Tall && !Up && West == West::None) return 10972;
- if (East == East::None && North == North::Tall && South == South::Tall && !Up && West == West::Low) return 10973;
- if (East == East::None && North == North::Tall && South == South::Tall && !Up && West == West::Tall) return 10974;
- if (East == East::Low && North == North::None && South == South::None && Up && West == West::None) return 10978;
- if (East == East::Low && North == North::None && South == South::None && Up && West == West::Low) return 10979;
- if (East == East::Low && North == North::None && South == South::None && Up && West == West::Tall) return 10980;
- if (East == East::Low && North == North::None && South == South::None && !Up && West == West::None) return 10984;
- if (East == East::Low && North == North::None && South == South::None && !Up && West == West::Low) return 10985;
- if (East == East::Low && North == North::None && South == South::None && !Up && West == West::Tall) return 10986;
- if (East == East::Low && North == North::None && South == South::Low && Up && West == West::None) return 10990;
- if (East == East::Low && North == North::None && South == South::Low && Up && West == West::Low) return 10991;
- if (East == East::Low && North == North::None && South == South::Low && Up && West == West::Tall) return 10992;
- if (East == East::Low && North == North::None && South == South::Low && !Up && West == West::None) return 10996;
- if (East == East::Low && North == North::None && South == South::Low && !Up && West == West::Low) return 10997;
- if (East == East::Low && North == North::None && South == South::Low && !Up && West == West::Tall) return 10998;
- if (East == East::Low && North == North::None && South == South::Tall && Up && West == West::None) return 11002;
- if (East == East::Low && North == North::None && South == South::Tall && Up && West == West::Low) return 11003;
- if (East == East::Low && North == North::None && South == South::Tall && Up && West == West::Tall) return 11004;
- if (East == East::Low && North == North::None && South == South::Tall && !Up && West == West::None) return 11008;
- if (East == East::Low && North == North::None && South == South::Tall && !Up && West == West::Low) return 11009;
- if (East == East::Low && North == North::None && South == South::Tall && !Up && West == West::Tall) return 11010;
- if (East == East::Low && North == North::Low && South == South::None && Up && West == West::None) return 11014;
- if (East == East::Low && North == North::Low && South == South::None && Up && West == West::Low) return 11015;
- if (East == East::Low && North == North::Low && South == South::None && Up && West == West::Tall) return 11016;
- if (East == East::Low && North == North::Low && South == South::None && !Up && West == West::None) return 11020;
- if (East == East::Low && North == North::Low && South == South::None && !Up && West == West::Low) return 11021;
- if (East == East::Low && North == North::Low && South == South::None && !Up && West == West::Tall) return 11022;
- if (East == East::Low && North == North::Low && South == South::Low && Up && West == West::None) return 11026;
- if (East == East::Low && North == North::Low && South == South::Low && Up && West == West::Low) return 11027;
- if (East == East::Low && North == North::Low && South == South::Low && Up && West == West::Tall) return 11028;
- if (East == East::Low && North == North::Low && South == South::Low && !Up && West == West::None) return 11032;
- if (East == East::Low && North == North::Low && South == South::Low && !Up && West == West::Low) return 11033;
- if (East == East::Low && North == North::Low && South == South::Low && !Up && West == West::Tall) return 11034;
- if (East == East::Low && North == North::Low && South == South::Tall && Up && West == West::None) return 11038;
- if (East == East::Low && North == North::Low && South == South::Tall && Up && West == West::Low) return 11039;
- if (East == East::Low && North == North::Low && South == South::Tall && Up && West == West::Tall) return 11040;
- if (East == East::Low && North == North::Low && South == South::Tall && !Up && West == West::None) return 11044;
- if (East == East::Low && North == North::Low && South == South::Tall && !Up && West == West::Low) return 11045;
- if (East == East::Low && North == North::Low && South == South::Tall && !Up && West == West::Tall) return 11046;
- if (East == East::Low && North == North::Tall && South == South::None && Up && West == West::None) return 11050;
- if (East == East::Low && North == North::Tall && South == South::None && Up && West == West::Low) return 11051;
- if (East == East::Low && North == North::Tall && South == South::None && Up && West == West::Tall) return 11052;
- if (East == East::Low && North == North::Tall && South == South::None && !Up && West == West::None) return 11056;
- if (East == East::Low && North == North::Tall && South == South::None && !Up && West == West::Low) return 11057;
- if (East == East::Low && North == North::Tall && South == South::None && !Up && West == West::Tall) return 11058;
- if (East == East::Low && North == North::Tall && South == South::Low && Up && West == West::None) return 11062;
- if (East == East::Low && North == North::Tall && South == South::Low && Up && West == West::Low) return 11063;
- if (East == East::Low && North == North::Tall && South == South::Low && Up && West == West::Tall) return 11064;
- if (East == East::Low && North == North::Tall && South == South::Low && !Up && West == West::None) return 11068;
- if (East == East::Low && North == North::Tall && South == South::Low && !Up && West == West::Low) return 11069;
- if (East == East::Low && North == North::Tall && South == South::Low && !Up && West == West::Tall) return 11070;
- if (East == East::Low && North == North::Tall && South == South::Tall && Up && West == West::None) return 11074;
- if (East == East::Low && North == North::Tall && South == South::Tall && Up && West == West::Low) return 11075;
- if (East == East::Low && North == North::Tall && South == South::Tall && Up && West == West::Tall) return 11076;
- if (East == East::Low && North == North::Tall && South == South::Tall && !Up && West == West::None) return 11080;
- if (East == East::Low && North == North::Tall && South == South::Tall && !Up && West == West::Low) return 11081;
- if (East == East::Low && North == North::Tall && South == South::Tall && !Up && West == West::Tall) return 11082;
- if (East == East::Tall && North == North::None && South == South::None && Up && West == West::None) return 11086;
- if (East == East::Tall && North == North::None && South == South::None && Up && West == West::Low) return 11087;
- if (East == East::Tall && North == North::None && South == South::None && Up && West == West::Tall) return 11088;
- if (East == East::Tall && North == North::None && South == South::None && !Up && West == West::None) return 11092;
- if (East == East::Tall && North == North::None && South == South::None && !Up && West == West::Low) return 11093;
- if (East == East::Tall && North == North::None && South == South::None && !Up && West == West::Tall) return 11094;
- if (East == East::Tall && North == North::None && South == South::Low && Up && West == West::None) return 11098;
- if (East == East::Tall && North == North::None && South == South::Low && Up && West == West::Low) return 11099;
- if (East == East::Tall && North == North::None && South == South::Low && Up && West == West::Tall) return 11100;
- if (East == East::Tall && North == North::None && South == South::Low && !Up && West == West::None) return 11104;
- if (East == East::Tall && North == North::None && South == South::Low && !Up && West == West::Low) return 11105;
- if (East == East::Tall && North == North::None && South == South::Low && !Up && West == West::Tall) return 11106;
- if (East == East::Tall && North == North::None && South == South::Tall && Up && West == West::None) return 11110;
- if (East == East::Tall && North == North::None && South == South::Tall && Up && West == West::Low) return 11111;
- if (East == East::Tall && North == North::None && South == South::Tall && Up && West == West::Tall) return 11112;
- if (East == East::Tall && North == North::None && South == South::Tall && !Up && West == West::None) return 11116;
- if (East == East::Tall && North == North::None && South == South::Tall && !Up && West == West::Low) return 11117;
- if (East == East::Tall && North == North::None && South == South::Tall && !Up && West == West::Tall) return 11118;
- if (East == East::Tall && North == North::Low && South == South::None && Up && West == West::None) return 11122;
- if (East == East::Tall && North == North::Low && South == South::None && Up && West == West::Low) return 11123;
- if (East == East::Tall && North == North::Low && South == South::None && Up && West == West::Tall) return 11124;
- if (East == East::Tall && North == North::Low && South == South::None && !Up && West == West::None) return 11128;
- if (East == East::Tall && North == North::Low && South == South::None && !Up && West == West::Low) return 11129;
- if (East == East::Tall && North == North::Low && South == South::None && !Up && West == West::Tall) return 11130;
- if (East == East::Tall && North == North::Low && South == South::Low && Up && West == West::None) return 11134;
- if (East == East::Tall && North == North::Low && South == South::Low && Up && West == West::Low) return 11135;
- if (East == East::Tall && North == North::Low && South == South::Low && Up && West == West::Tall) return 11136;
- if (East == East::Tall && North == North::Low && South == South::Low && !Up && West == West::None) return 11140;
- if (East == East::Tall && North == North::Low && South == South::Low && !Up && West == West::Low) return 11141;
- if (East == East::Tall && North == North::Low && South == South::Low && !Up && West == West::Tall) return 11142;
- if (East == East::Tall && North == North::Low && South == South::Tall && Up && West == West::None) return 11146;
- if (East == East::Tall && North == North::Low && South == South::Tall && Up && West == West::Low) return 11147;
- if (East == East::Tall && North == North::Low && South == South::Tall && Up && West == West::Tall) return 11148;
- if (East == East::Tall && North == North::Low && South == South::Tall && !Up && West == West::None) return 11152;
- if (East == East::Tall && North == North::Low && South == South::Tall && !Up && West == West::Low) return 11153;
- if (East == East::Tall && North == North::Low && South == South::Tall && !Up && West == West::Tall) return 11154;
- if (East == East::Tall && North == North::Tall && South == South::None && Up && West == West::None) return 11158;
- if (East == East::Tall && North == North::Tall && South == South::None && Up && West == West::Low) return 11159;
- if (East == East::Tall && North == North::Tall && South == South::None && Up && West == West::Tall) return 11160;
- if (East == East::Tall && North == North::Tall && South == South::None && !Up && West == West::None) return 11164;
- if (East == East::Tall && North == North::Tall && South == South::None && !Up && West == West::Low) return 11165;
- if (East == East::Tall && North == North::Tall && South == South::None && !Up && West == West::Tall) return 11166;
- if (East == East::Tall && North == North::Tall && South == South::Low && Up && West == West::None) return 11170;
- if (East == East::Tall && North == North::Tall && South == South::Low && Up && West == West::Low) return 11171;
- if (East == East::Tall && North == North::Tall && South == South::Low && Up && West == West::Tall) return 11172;
- if (East == East::Tall && North == North::Tall && South == South::Low && !Up && West == West::None) return 11176;
- if (East == East::Tall && North == North::Tall && South == South::Low && !Up && West == West::Low) return 11177;
- if (East == East::Tall && North == North::Tall && South == South::Low && !Up && West == West::Tall) return 11178;
- if (East == East::Tall && North == North::Tall && South == South::Tall && Up && West == West::None) return 11182;
- if (East == East::Tall && North == North::Tall && South == South::Tall && Up && West == West::Low) return 11183;
- if (East == East::Tall && North == North::Tall && South == South::Tall && Up && West == West::Tall) return 11184;
- if (East == East::Tall && North == North::Tall && South == South::Tall && !Up && West == West::None) return 11188;
- if (East == East::Tall && North == North::Tall && South == South::Tall && !Up && West == West::Low) return 11189;
- return 11190;
- }
- short BrickWall();
- enum East East(short ID);
- enum North North(short ID);
- enum South South(short ID);
- bool Up(short ID);
- enum West West(short ID);
- }
- namespace Bricks
- {
- constexpr short Bricks()
- {
- return 1429;
- }
- }
- namespace BrownBanner
- {
- constexpr short BrownBanner(unsigned char Rotation)
- {
- if (Rotation == 0) return 8089;
- if (Rotation == 1) return 8090;
- if (Rotation == 2) return 8091;
- if (Rotation == 3) return 8092;
- if (Rotation == 4) return 8093;
- if (Rotation == 5) return 8094;
- if (Rotation == 6) return 8095;
- if (Rotation == 7) return 8096;
- if (Rotation == 8) return 8097;
- if (Rotation == 9) return 8098;
- if (Rotation == 10) return 8099;
- if (Rotation == 11) return 8100;
- if (Rotation == 12) return 8101;
- if (Rotation == 13) return 8102;
- if (Rotation == 14) return 8103;
- return 8104;
- }
- short BrownBanner();
- unsigned char Rotation(short ID);
- }
- namespace BrownBed
- {
- enum class Part
- {
- Head,
- Foot
- };
- constexpr short BrownBed(eBlockFace Facing, bool Occupied, enum Part Part)
- {
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Occupied && Part == Part::Head) return 1241;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Occupied && Part == Part::Foot) return 1242;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && !Occupied && Part == Part::Head) return 1243;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && !Occupied && Part == Part::Foot) return 1244;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Occupied && Part == Part::Head) return 1245;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Occupied && Part == Part::Foot) return 1246;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && !Occupied && Part == Part::Head) return 1247;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && !Occupied && Part == Part::Foot) return 1248;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Occupied && Part == Part::Head) return 1249;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Occupied && Part == Part::Foot) return 1250;
- if (Facing == eBlockFace::BLOCK_FACE_XM && !Occupied && Part == Part::Head) return 1251;
- if (Facing == eBlockFace::BLOCK_FACE_XM && !Occupied && Part == Part::Foot) return 1252;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Occupied && Part == Part::Head) return 1253;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Occupied && Part == Part::Foot) return 1254;
- if (Facing == eBlockFace::BLOCK_FACE_XP && !Occupied && Part == Part::Head) return 1255;
- return 1256;
- }
- short BrownBed();
- eBlockFace Facing(short ID);
- bool Occupied(short ID);
- enum Part Part(short ID);
- }
- namespace BrownCarpet
- {
- constexpr short BrownCarpet()
- {
- return 7878;
- }
- }
- namespace BrownConcrete
- {
- constexpr short BrownConcrete()
- {
- return 9450;
- }
- }
- namespace BrownConcretePowder
- {
- constexpr short BrownConcretePowder()
- {
- return 9466;
- }
- }
- namespace BrownGlazedTerracotta
- {
- constexpr short BrownGlazedTerracotta(eBlockFace Facing)
- {
- if (Facing == eBlockFace::BLOCK_FACE_ZM) return 9422;
- if (Facing == eBlockFace::BLOCK_FACE_ZP) return 9423;
- if (Facing == eBlockFace::BLOCK_FACE_XM) return 9424;
- return 9425;
- }
- short BrownGlazedTerracotta();
- eBlockFace Facing(short ID);
- }
- namespace BrownMushroom
- {
- constexpr short BrownMushroom()
- {
- return 1425;
- }
- }
- namespace BrownMushroomBlock
- {
- constexpr short BrownMushroomBlock(bool Down, bool East, bool North, bool South, bool Up, bool West)
- {
- if (Down && East && North && South && Up && West) return 4505;
- if (Down && East && North && South && Up && !West) return 4506;
- if (Down && East && North && South && !Up && West) return 4507;
- if (Down && East && North && South && !Up && !West) return 4508;
- if (Down && East && North && !South && Up && West) return 4509;
- if (Down && East && North && !South && Up && !West) return 4510;
- if (Down && East && North && !South && !Up && West) return 4511;
- if (Down && East && North && !South && !Up && !West) return 4512;
- if (Down && East && !North && South && Up && West) return 4513;
- if (Down && East && !North && South && Up && !West) return 4514;
- if (Down && East && !North && South && !Up && West) return 4515;
- if (Down && East && !North && South && !Up && !West) return 4516;
- if (Down && East && !North && !South && Up && West) return 4517;
- if (Down && East && !North && !South && Up && !West) return 4518;
- if (Down && East && !North && !South && !Up && West) return 4519;
- if (Down && East && !North && !South && !Up && !West) return 4520;
- if (Down && !East && North && South && Up && West) return 4521;
- if (Down && !East && North && South && Up && !West) return 4522;
- if (Down && !East && North && South && !Up && West) return 4523;
- if (Down && !East && North && South && !Up && !West) return 4524;
- if (Down && !East && North && !South && Up && West) return 4525;
- if (Down && !East && North && !South && Up && !West) return 4526;
- if (Down && !East && North && !South && !Up && West) return 4527;
- if (Down && !East && North && !South && !Up && !West) return 4528;
- if (Down && !East && !North && South && Up && West) return 4529;
- if (Down && !East && !North && South && Up && !West) return 4530;
- if (Down && !East && !North && South && !Up && West) return 4531;
- if (Down && !East && !North && South && !Up && !West) return 4532;
- if (Down && !East && !North && !South && Up && West) return 4533;
- if (Down && !East && !North && !South && Up && !West) return 4534;
- if (Down && !East && !North && !South && !Up && West) return 4535;
- if (Down && !East && !North && !South && !Up && !West) return 4536;
- if (!Down && East && North && South && Up && West) return 4537;
- if (!Down && East && North && South && Up && !West) return 4538;
- if (!Down && East && North && South && !Up && West) return 4539;
- if (!Down && East && North && South && !Up && !West) return 4540;
- if (!Down && East && North && !South && Up && West) return 4541;
- if (!Down && East && North && !South && Up && !West) return 4542;
- if (!Down && East && North && !South && !Up && West) return 4543;
- if (!Down && East && North && !South && !Up && !West) return 4544;
- if (!Down && East && !North && South && Up && West) return 4545;
- if (!Down && East && !North && South && Up && !West) return 4546;
- if (!Down && East && !North && South && !Up && West) return 4547;
- if (!Down && East && !North && South && !Up && !West) return 4548;
- if (!Down && East && !North && !South && Up && West) return 4549;
- if (!Down && East && !North && !South && Up && !West) return 4550;
- if (!Down && East && !North && !South && !Up && West) return 4551;
- if (!Down && East && !North && !South && !Up && !West) return 4552;
- if (!Down && !East && North && South && Up && West) return 4553;
- if (!Down && !East && North && South && Up && !West) return 4554;
- if (!Down && !East && North && South && !Up && West) return 4555;
- if (!Down && !East && North && South && !Up && !West) return 4556;
- if (!Down && !East && North && !South && Up && West) return 4557;
- if (!Down && !East && North && !South && Up && !West) return 4558;
- if (!Down && !East && North && !South && !Up && West) return 4559;
- if (!Down && !East && North && !South && !Up && !West) return 4560;
- if (!Down && !East && !North && South && Up && West) return 4561;
- if (!Down && !East && !North && South && Up && !West) return 4562;
- if (!Down && !East && !North && South && !Up && West) return 4563;
- if (!Down && !East && !North && South && !Up && !West) return 4564;
- if (!Down && !East && !North && !South && Up && West) return 4565;
- if (!Down && !East && !North && !South && Up && !West) return 4566;
- if (!Down && !East && !North && !South && !Up && West) return 4567;
- return 4568;
- }
- short BrownMushroomBlock();
- bool Down(short ID);
- bool East(short ID);
- bool North(short ID);
- bool South(short ID);
- bool Up(short ID);
- bool West(short ID);
- }
- namespace BrownShulkerBox
- {
- constexpr short BrownShulkerBox(eBlockFace Facing)
- {
- if (Facing == eBlockFace::BLOCK_FACE_ZM) return 9350;
- if (Facing == eBlockFace::BLOCK_FACE_XP) return 9351;
- if (Facing == eBlockFace::BLOCK_FACE_ZP) return 9352;
- if (Facing == eBlockFace::BLOCK_FACE_XM) return 9353;
- if (Facing == eBlockFace::BLOCK_FACE_YP) return 9354;
- return 9355;
- }
- short BrownShulkerBox();
- eBlockFace Facing(short ID);
- }
- namespace BrownStainedGlass
- {
- constexpr short BrownStainedGlass()
- {
- return 4107;
- }
- }
- namespace BrownStainedGlassPane
- {
- constexpr short BrownStainedGlassPane(bool East, bool North, bool South, bool West)
- {
- if (East && North && South && West) return 7249;
- if (East && North && South && !West) return 7250;
- if (East && North && !South && West) return 7253;
- if (East && North && !South && !West) return 7254;
- if (East && !North && South && West) return 7257;
- if (East && !North && South && !West) return 7258;
- if (East && !North && !South && West) return 7261;
- if (East && !North && !South && !West) return 7262;
- if (!East && North && South && West) return 7265;
- if (!East && North && South && !West) return 7266;
- if (!East && North && !South && West) return 7269;
- if (!East && North && !South && !West) return 7270;
- if (!East && !North && South && West) return 7273;
- if (!East && !North && South && !West) return 7274;
- if (!East && !North && !South && West) return 7277;
- return 7278;
- }
- short BrownStainedGlassPane();
- bool East(short ID);
- bool North(short ID);
- bool South(short ID);
- bool West(short ID);
- }
- namespace BrownTerracotta
- {
- constexpr short BrownTerracotta()
- {
- return 6859;
- }
- }
- namespace BrownWallBanner
- {
- constexpr short BrownWallBanner(eBlockFace Facing)
- {
- if (Facing == eBlockFace::BLOCK_FACE_ZM) return 8201;
- if (Facing == eBlockFace::BLOCK_FACE_ZP) return 8202;
- if (Facing == eBlockFace::BLOCK_FACE_XM) return 8203;
- return 8204;
- }
- short BrownWallBanner();
- eBlockFace Facing(short ID);
- }
- namespace BrownWool
- {
- constexpr short BrownWool()
- {
- return 1396;
- }
- }
- namespace BubbleColumn
- {
- constexpr short BubbleColumn(bool Drag)
- {
- if (Drag) return 9667;
- return 9668;
- }
- short BubbleColumn();
- bool Drag(short ID);
- }
- namespace BubbleCoral
- {
- constexpr short BubbleCoral()
- {
- return 9535;
- }
- }
- namespace BubbleCoralBlock
- {
- constexpr short BubbleCoralBlock()
- {
- return 9517;
- }
- }
- namespace BubbleCoralFan
- {
- constexpr short BubbleCoralFan()
- {
- return 9555;
- }
- }
- namespace BubbleCoralWallFan
- {
- constexpr short BubbleCoralWallFan(eBlockFace Facing)
- {
- if (Facing == eBlockFace::BLOCK_FACE_ZM) return 9617;
- if (Facing == eBlockFace::BLOCK_FACE_ZP) return 9619;
- if (Facing == eBlockFace::BLOCK_FACE_XM) return 9621;
- return 9623;
- }
- short BubbleCoralWallFan();
- eBlockFace Facing(short ID);
- }
- namespace Cactus
- {
- constexpr short Cactus(unsigned char Age)
- {
- if (Age == 0) return 3931;
- if (Age == 1) return 3932;
- if (Age == 2) return 3933;
- if (Age == 3) return 3934;
- if (Age == 4) return 3935;
- if (Age == 5) return 3936;
- if (Age == 6) return 3937;
- if (Age == 7) return 3938;
- if (Age == 8) return 3939;
- if (Age == 9) return 3940;
- if (Age == 10) return 3941;
- if (Age == 11) return 3942;
- if (Age == 12) return 3943;
- if (Age == 13) return 3944;
- if (Age == 14) return 3945;
- return 3946;
- }
- short Cactus();
- unsigned char Age(short ID);
- }
- namespace Cake
- {
- constexpr short Cake(unsigned char Bites)
- {
- if (Bites == 0) return 4024;
- if (Bites == 1) return 4025;
- if (Bites == 2) return 4026;
- if (Bites == 3) return 4027;
- if (Bites == 4) return 4028;
- if (Bites == 5) return 4029;
- return 4030;
- }
- short Cake();
- unsigned char Bites(short ID);
- }
- namespace Campfire
- {
- constexpr short Campfire(eBlockFace Facing, bool Lit, bool SignalFire)
- {
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Lit && SignalFire) return 14891;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Lit && !SignalFire) return 14893;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && !Lit && SignalFire) return 14895;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && !Lit && !SignalFire) return 14897;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Lit && SignalFire) return 14899;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Lit && !SignalFire) return 14901;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && !Lit && SignalFire) return 14903;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && !Lit && !SignalFire) return 14905;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Lit && SignalFire) return 14907;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Lit && !SignalFire) return 14909;
- if (Facing == eBlockFace::BLOCK_FACE_XM && !Lit && SignalFire) return 14911;
- if (Facing == eBlockFace::BLOCK_FACE_XM && !Lit && !SignalFire) return 14913;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Lit && SignalFire) return 14915;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Lit && !SignalFire) return 14917;
- if (Facing == eBlockFace::BLOCK_FACE_XP && !Lit && SignalFire) return 14919;
- return 14921;
- }
- short Campfire();
- eBlockFace Facing(short ID);
- bool Lit(short ID);
- bool SignalFire(short ID);
- }
- namespace Carrots
- {
- constexpr short Carrots(unsigned char Age)
- {
- if (Age == 0) return 6330;
- if (Age == 1) return 6331;
- if (Age == 2) return 6332;
- if (Age == 3) return 6333;
- if (Age == 4) return 6334;
- if (Age == 5) return 6335;
- if (Age == 6) return 6336;
- return 6337;
- }
- short Carrots();
- unsigned char Age(short ID);
- }
- namespace CartographyTable
- {
- constexpr short CartographyTable()
- {
- return 14819;
- }
- }
- namespace CarvedPumpkin
- {
- constexpr short CarvedPumpkin(eBlockFace Facing)
- {
- if (Facing == eBlockFace::BLOCK_FACE_ZM) return 4016;
- if (Facing == eBlockFace::BLOCK_FACE_ZP) return 4017;
- if (Facing == eBlockFace::BLOCK_FACE_XM) return 4018;
- return 4019;
- }
- short CarvedPumpkin();
- eBlockFace Facing(short ID);
- }
- namespace Cauldron
- {
- constexpr short Cauldron(unsigned char Level)
- {
- if (Level == 0) return 5141;
- if (Level == 1) return 5142;
- if (Level == 2) return 5143;
- return 5144;
- }
- short Cauldron();
- unsigned char Level(short ID);
- }
- namespace CaveAir
- {
- constexpr short CaveAir()
- {
- return 9666;
- }
- }
- namespace Chain
- {
- constexpr short Chain()
- {
- return 4730;
- }
- }
- namespace ChainCommandBlock
- {
- constexpr short ChainCommandBlock(bool Conditional, eBlockFace Facing)
- {
- if (Conditional && Facing == eBlockFace::BLOCK_FACE_ZM) return 9237;
- if (Conditional && Facing == eBlockFace::BLOCK_FACE_XP) return 9238;
- if (Conditional && Facing == eBlockFace::BLOCK_FACE_ZP) return 9239;
- if (Conditional && Facing == eBlockFace::BLOCK_FACE_XM) return 9240;
- if (Conditional && Facing == eBlockFace::BLOCK_FACE_YP) return 9241;
- if (Conditional && Facing == eBlockFace::BLOCK_FACE_YM) return 9242;
- if (!Conditional && Facing == eBlockFace::BLOCK_FACE_ZM) return 9243;
- if (!Conditional && Facing == eBlockFace::BLOCK_FACE_XP) return 9244;
- if (!Conditional && Facing == eBlockFace::BLOCK_FACE_ZP) return 9245;
- if (!Conditional && Facing == eBlockFace::BLOCK_FACE_XM) return 9246;
- if (!Conditional && Facing == eBlockFace::BLOCK_FACE_YP) return 9247;
- return 9248;
- }
- short ChainCommandBlock();
- bool Conditional(short ID);
- eBlockFace Facing(short ID);
- }
- namespace Chest
- {
- enum class Type
- {
- Single,
- Left,
- Right
- };
- constexpr short Chest(eBlockFace Facing, enum Type Type)
- {
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Type == Type::Single) return 2035;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Type == Type::Left) return 2037;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Type == Type::Right) return 2039;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Type == Type::Single) return 2041;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Type == Type::Left) return 2043;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Type == Type::Right) return 2045;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Type == Type::Single) return 2047;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Type == Type::Left) return 2049;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Type == Type::Right) return 2051;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Type == Type::Single) return 2053;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Type == Type::Left) return 2055;
- return 2057;
- }
- short Chest();
- eBlockFace Facing(short ID);
- enum Type Type(short ID);
- }
- namespace ChippedAnvil
- {
- constexpr short ChippedAnvil(eBlockFace Facing)
- {
- if (Facing == eBlockFace::BLOCK_FACE_ZM) return 6614;
- if (Facing == eBlockFace::BLOCK_FACE_ZP) return 6615;
- if (Facing == eBlockFace::BLOCK_FACE_XM) return 6616;
- return 6617;
- }
- short ChippedAnvil();
- eBlockFace Facing(short ID);
- }
- namespace ChiseledNetherBricks
- {
- constexpr short ChiseledNetherBricks()
- {
- return 17101;
- }
- }
- namespace ChiseledPolishedBlackstone
- {
- constexpr short ChiseledPolishedBlackstone()
- {
- return 16253;
- }
- }
- namespace ChiseledQuartzBlock
- {
- constexpr short ChiseledQuartzBlock()
- {
- return 6739;
- }
- }
- namespace ChiseledRedSandstone
- {
- constexpr short ChiseledRedSandstone()
- {
- return 8218;
- }
- }
- namespace ChiseledSandstone
- {
- constexpr short ChiseledSandstone()
- {
- return 247;
- }
- }
- namespace ChiseledStoneBricks
- {
- constexpr short ChiseledStoneBricks()
- {
- return 4498;
- }
- }
- namespace ChorusFlower
- {
- constexpr short ChorusFlower(unsigned char Age)
- {
- if (Age == 0) return 9128;
- if (Age == 1) return 9129;
- if (Age == 2) return 9130;
- if (Age == 3) return 9131;
- if (Age == 4) return 9132;
- return 9133;
- }
- short ChorusFlower();
- unsigned char Age(short ID);
- }
- namespace ChorusPlant
- {
- constexpr short ChorusPlant(bool Down, bool East, bool North, bool South, bool Up, bool West)
- {
- if (Down && East && North && South && Up && West) return 9064;
- if (Down && East && North && South && Up && !West) return 9065;
- if (Down && East && North && South && !Up && West) return 9066;
- if (Down && East && North && South && !Up && !West) return 9067;
- if (Down && East && North && !South && Up && West) return 9068;
- if (Down && East && North && !South && Up && !West) return 9069;
- if (Down && East && North && !South && !Up && West) return 9070;
- if (Down && East && North && !South && !Up && !West) return 9071;
- if (Down && East && !North && South && Up && West) return 9072;
- if (Down && East && !North && South && Up && !West) return 9073;
- if (Down && East && !North && South && !Up && West) return 9074;
- if (Down && East && !North && South && !Up && !West) return 9075;
- if (Down && East && !North && !South && Up && West) return 9076;
- if (Down && East && !North && !South && Up && !West) return 9077;
- if (Down && East && !North && !South && !Up && West) return 9078;
- if (Down && East && !North && !South && !Up && !West) return 9079;
- if (Down && !East && North && South && Up && West) return 9080;
- if (Down && !East && North && South && Up && !West) return 9081;
- if (Down && !East && North && South && !Up && West) return 9082;
- if (Down && !East && North && South && !Up && !West) return 9083;
- if (Down && !East && North && !South && Up && West) return 9084;
- if (Down && !East && North && !South && Up && !West) return 9085;
- if (Down && !East && North && !South && !Up && West) return 9086;
- if (Down && !East && North && !South && !Up && !West) return 9087;
- if (Down && !East && !North && South && Up && West) return 9088;
- if (Down && !East && !North && South && Up && !West) return 9089;
- if (Down && !East && !North && South && !Up && West) return 9090;
- if (Down && !East && !North && South && !Up && !West) return 9091;
- if (Down && !East && !North && !South && Up && West) return 9092;
- if (Down && !East && !North && !South && Up && !West) return 9093;
- if (Down && !East && !North && !South && !Up && West) return 9094;
- if (Down && !East && !North && !South && !Up && !West) return 9095;
- if (!Down && East && North && South && Up && West) return 9096;
- if (!Down && East && North && South && Up && !West) return 9097;
- if (!Down && East && North && South && !Up && West) return 9098;
- if (!Down && East && North && South && !Up && !West) return 9099;
- if (!Down && East && North && !South && Up && West) return 9100;
- if (!Down && East && North && !South && Up && !West) return 9101;
- if (!Down && East && North && !South && !Up && West) return 9102;
- if (!Down && East && North && !South && !Up && !West) return 9103;
- if (!Down && East && !North && South && Up && West) return 9104;
- if (!Down && East && !North && South && Up && !West) return 9105;
- if (!Down && East && !North && South && !Up && West) return 9106;
- if (!Down && East && !North && South && !Up && !West) return 9107;
- if (!Down && East && !North && !South && Up && West) return 9108;
- if (!Down && East && !North && !South && Up && !West) return 9109;
- if (!Down && East && !North && !South && !Up && West) return 9110;
- if (!Down && East && !North && !South && !Up && !West) return 9111;
- if (!Down && !East && North && South && Up && West) return 9112;
- if (!Down && !East && North && South && Up && !West) return 9113;
- if (!Down && !East && North && South && !Up && West) return 9114;
- if (!Down && !East && North && South && !Up && !West) return 9115;
- if (!Down && !East && North && !South && Up && West) return 9116;
- if (!Down && !East && North && !South && Up && !West) return 9117;
- if (!Down && !East && North && !South && !Up && West) return 9118;
- if (!Down && !East && North && !South && !Up && !West) return 9119;
- if (!Down && !East && !North && South && Up && West) return 9120;
- if (!Down && !East && !North && South && Up && !West) return 9121;
- if (!Down && !East && !North && South && !Up && West) return 9122;
- if (!Down && !East && !North && South && !Up && !West) return 9123;
- if (!Down && !East && !North && !South && Up && West) return 9124;
- if (!Down && !East && !North && !South && Up && !West) return 9125;
- if (!Down && !East && !North && !South && !Up && West) return 9126;
- return 9127;
- }
- short ChorusPlant();
- bool Down(short ID);
- bool East(short ID);
- bool North(short ID);
- bool South(short ID);
- bool Up(short ID);
- bool West(short ID);
- }
- namespace Clay
- {
- constexpr short Clay()
- {
- return 3947;
- }
- }
- namespace CoalBlock
- {
- constexpr short CoalBlock()
- {
- return 7883;
- }
- }
- namespace CoalOre
- {
- constexpr short CoalOre()
- {
- return 71;
- }
- }
- namespace CoarseDirt
- {
- constexpr short CoarseDirt()
- {
- return 11;
- }
- }
- namespace Cobblestone
- {
- constexpr short Cobblestone()
- {
- return 14;
- }
- }
- namespace CobblestoneSlab
- {
- enum class Type
- {
- Top,
- Bottom,
- Double
- };
- constexpr short CobblestoneSlab(enum Type Type)
- {
- if (Type == Type::Top) return 8367;
- if (Type == Type::Bottom) return 8369;
- return 8371;
- }
- short CobblestoneSlab();
- enum Type Type(short ID);
- }
- namespace CobblestoneStairs
- {
- enum class Half
- {
- Top,
- Bottom
- };
- enum class Shape
- {
- Straight,
- InnerLeft,
- InnerRight,
- OuterLeft,
- OuterRight
- };
- constexpr short CobblestoneStairs(eBlockFace Facing, enum Half Half, enum Shape Shape)
- {
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Top && Shape == Shape::Straight) return 3656;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Top && Shape == Shape::InnerLeft) return 3658;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Top && Shape == Shape::InnerRight) return 3660;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Top && Shape == Shape::OuterLeft) return 3662;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Top && Shape == Shape::OuterRight) return 3664;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Bottom && Shape == Shape::Straight) return 3666;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Bottom && Shape == Shape::InnerLeft) return 3668;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Bottom && Shape == Shape::InnerRight) return 3670;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Bottom && Shape == Shape::OuterLeft) return 3672;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Bottom && Shape == Shape::OuterRight) return 3674;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Top && Shape == Shape::Straight) return 3676;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Top && Shape == Shape::InnerLeft) return 3678;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Top && Shape == Shape::InnerRight) return 3680;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Top && Shape == Shape::OuterLeft) return 3682;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Top && Shape == Shape::OuterRight) return 3684;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Bottom && Shape == Shape::Straight) return 3686;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Bottom && Shape == Shape::InnerLeft) return 3688;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Bottom && Shape == Shape::InnerRight) return 3690;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Bottom && Shape == Shape::OuterLeft) return 3692;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Bottom && Shape == Shape::OuterRight) return 3694;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Top && Shape == Shape::Straight) return 3696;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Top && Shape == Shape::InnerLeft) return 3698;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Top && Shape == Shape::InnerRight) return 3700;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Top && Shape == Shape::OuterLeft) return 3702;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Top && Shape == Shape::OuterRight) return 3704;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Bottom && Shape == Shape::Straight) return 3706;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Bottom && Shape == Shape::InnerLeft) return 3708;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Bottom && Shape == Shape::InnerRight) return 3710;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Bottom && Shape == Shape::OuterLeft) return 3712;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Bottom && Shape == Shape::OuterRight) return 3714;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Top && Shape == Shape::Straight) return 3716;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Top && Shape == Shape::InnerLeft) return 3718;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Top && Shape == Shape::InnerRight) return 3720;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Top && Shape == Shape::OuterLeft) return 3722;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Top && Shape == Shape::OuterRight) return 3724;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Bottom && Shape == Shape::Straight) return 3726;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Bottom && Shape == Shape::InnerLeft) return 3728;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Bottom && Shape == Shape::InnerRight) return 3730;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Bottom && Shape == Shape::OuterLeft) return 3732;
- return 3734;
- }
- short CobblestoneStairs();
- eBlockFace Facing(short ID);
- enum Half Half(short ID);
- enum Shape Shape(short ID);
- }
- namespace CobblestoneWall
- {
- enum class East
- {
- None,
- Low,
- Tall
- };
- enum class North
- {
- None,
- Low,
- Tall
- };
- enum class South
- {
- None,
- Low,
- Tall
- };
- enum class West
- {
- None,
- Low,
- Tall
- };
- constexpr short CobblestoneWall(enum East East, enum North North, enum South South, bool Up, enum West West)
- {
- if (East == East::None && North == North::None && South == South::None && Up && West == West::None) return 5660;
- if (East == East::None && North == North::None && South == South::None && Up && West == West::Low) return 5661;
- if (East == East::None && North == North::None && South == South::None && Up && West == West::Tall) return 5662;
- if (East == East::None && North == North::None && South == South::None && !Up && West == West::None) return 5666;
- if (East == East::None && North == North::None && South == South::None && !Up && West == West::Low) return 5667;
- if (East == East::None && North == North::None && South == South::None && !Up && West == West::Tall) return 5668;
- if (East == East::None && North == North::None && South == South::Low && Up && West == West::None) return 5672;
- if (East == East::None && North == North::None && South == South::Low && Up && West == West::Low) return 5673;
- if (East == East::None && North == North::None && South == South::Low && Up && West == West::Tall) return 5674;
- if (East == East::None && North == North::None && South == South::Low && !Up && West == West::None) return 5678;
- if (East == East::None && North == North::None && South == South::Low && !Up && West == West::Low) return 5679;
- if (East == East::None && North == North::None && South == South::Low && !Up && West == West::Tall) return 5680;
- if (East == East::None && North == North::None && South == South::Tall && Up && West == West::None) return 5684;
- if (East == East::None && North == North::None && South == South::Tall && Up && West == West::Low) return 5685;
- if (East == East::None && North == North::None && South == South::Tall && Up && West == West::Tall) return 5686;
- if (East == East::None && North == North::None && South == South::Tall && !Up && West == West::None) return 5690;
- if (East == East::None && North == North::None && South == South::Tall && !Up && West == West::Low) return 5691;
- if (East == East::None && North == North::None && South == South::Tall && !Up && West == West::Tall) return 5692;
- if (East == East::None && North == North::Low && South == South::None && Up && West == West::None) return 5696;
- if (East == East::None && North == North::Low && South == South::None && Up && West == West::Low) return 5697;
- if (East == East::None && North == North::Low && South == South::None && Up && West == West::Tall) return 5698;
- if (East == East::None && North == North::Low && South == South::None && !Up && West == West::None) return 5702;
- if (East == East::None && North == North::Low && South == South::None && !Up && West == West::Low) return 5703;
- if (East == East::None && North == North::Low && South == South::None && !Up && West == West::Tall) return 5704;
- if (East == East::None && North == North::Low && South == South::Low && Up && West == West::None) return 5708;
- if (East == East::None && North == North::Low && South == South::Low && Up && West == West::Low) return 5709;
- if (East == East::None && North == North::Low && South == South::Low && Up && West == West::Tall) return 5710;
- if (East == East::None && North == North::Low && South == South::Low && !Up && West == West::None) return 5714;
- if (East == East::None && North == North::Low && South == South::Low && !Up && West == West::Low) return 5715;
- if (East == East::None && North == North::Low && South == South::Low && !Up && West == West::Tall) return 5716;
- if (East == East::None && North == North::Low && South == South::Tall && Up && West == West::None) return 5720;
- if (East == East::None && North == North::Low && South == South::Tall && Up && West == West::Low) return 5721;
- if (East == East::None && North == North::Low && South == South::Tall && Up && West == West::Tall) return 5722;
- if (East == East::None && North == North::Low && South == South::Tall && !Up && West == West::None) return 5726;
- if (East == East::None && North == North::Low && South == South::Tall && !Up && West == West::Low) return 5727;
- if (East == East::None && North == North::Low && South == South::Tall && !Up && West == West::Tall) return 5728;
- if (East == East::None && North == North::Tall && South == South::None && Up && West == West::None) return 5732;
- if (East == East::None && North == North::Tall && South == South::None && Up && West == West::Low) return 5733;
- if (East == East::None && North == North::Tall && South == South::None && Up && West == West::Tall) return 5734;
- if (East == East::None && North == North::Tall && South == South::None && !Up && West == West::None) return 5738;
- if (East == East::None && North == North::Tall && South == South::None && !Up && West == West::Low) return 5739;
- if (East == East::None && North == North::Tall && South == South::None && !Up && West == West::Tall) return 5740;
- if (East == East::None && North == North::Tall && South == South::Low && Up && West == West::None) return 5744;
- if (East == East::None && North == North::Tall && South == South::Low && Up && West == West::Low) return 5745;
- if (East == East::None && North == North::Tall && South == South::Low && Up && West == West::Tall) return 5746;
- if (East == East::None && North == North::Tall && South == South::Low && !Up && West == West::None) return 5750;
- if (East == East::None && North == North::Tall && South == South::Low && !Up && West == West::Low) return 5751;
- if (East == East::None && North == North::Tall && South == South::Low && !Up && West == West::Tall) return 5752;
- if (East == East::None && North == North::Tall && South == South::Tall && Up && West == West::None) return 5756;
- if (East == East::None && North == North::Tall && South == South::Tall && Up && West == West::Low) return 5757;
- if (East == East::None && North == North::Tall && South == South::Tall && Up && West == West::Tall) return 5758;
- if (East == East::None && North == North::Tall && South == South::Tall && !Up && West == West::None) return 5762;
- if (East == East::None && North == North::Tall && South == South::Tall && !Up && West == West::Low) return 5763;
- if (East == East::None && North == North::Tall && South == South::Tall && !Up && West == West::Tall) return 5764;
- if (East == East::Low && North == North::None && South == South::None && Up && West == West::None) return 5768;
- if (East == East::Low && North == North::None && South == South::None && Up && West == West::Low) return 5769;
- if (East == East::Low && North == North::None && South == South::None && Up && West == West::Tall) return 5770;
- if (East == East::Low && North == North::None && South == South::None && !Up && West == West::None) return 5774;
- if (East == East::Low && North == North::None && South == South::None && !Up && West == West::Low) return 5775;
- if (East == East::Low && North == North::None && South == South::None && !Up && West == West::Tall) return 5776;
- if (East == East::Low && North == North::None && South == South::Low && Up && West == West::None) return 5780;
- if (East == East::Low && North == North::None && South == South::Low && Up && West == West::Low) return 5781;
- if (East == East::Low && North == North::None && South == South::Low && Up && West == West::Tall) return 5782;
- if (East == East::Low && North == North::None && South == South::Low && !Up && West == West::None) return 5786;
- if (East == East::Low && North == North::None && South == South::Low && !Up && West == West::Low) return 5787;
- if (East == East::Low && North == North::None && South == South::Low && !Up && West == West::Tall) return 5788;
- if (East == East::Low && North == North::None && South == South::Tall && Up && West == West::None) return 5792;
- if (East == East::Low && North == North::None && South == South::Tall && Up && West == West::Low) return 5793;
- if (East == East::Low && North == North::None && South == South::Tall && Up && West == West::Tall) return 5794;
- if (East == East::Low && North == North::None && South == South::Tall && !Up && West == West::None) return 5798;
- if (East == East::Low && North == North::None && South == South::Tall && !Up && West == West::Low) return 5799;
- if (East == East::Low && North == North::None && South == South::Tall && !Up && West == West::Tall) return 5800;
- if (East == East::Low && North == North::Low && South == South::None && Up && West == West::None) return 5804;
- if (East == East::Low && North == North::Low && South == South::None && Up && West == West::Low) return 5805;
- if (East == East::Low && North == North::Low && South == South::None && Up && West == West::Tall) return 5806;
- if (East == East::Low && North == North::Low && South == South::None && !Up && West == West::None) return 5810;
- if (East == East::Low && North == North::Low && South == South::None && !Up && West == West::Low) return 5811;
- if (East == East::Low && North == North::Low && South == South::None && !Up && West == West::Tall) return 5812;
- if (East == East::Low && North == North::Low && South == South::Low && Up && West == West::None) return 5816;
- if (East == East::Low && North == North::Low && South == South::Low && Up && West == West::Low) return 5817;
- if (East == East::Low && North == North::Low && South == South::Low && Up && West == West::Tall) return 5818;
- if (East == East::Low && North == North::Low && South == South::Low && !Up && West == West::None) return 5822;
- if (East == East::Low && North == North::Low && South == South::Low && !Up && West == West::Low) return 5823;
- if (East == East::Low && North == North::Low && South == South::Low && !Up && West == West::Tall) return 5824;
- if (East == East::Low && North == North::Low && South == South::Tall && Up && West == West::None) return 5828;
- if (East == East::Low && North == North::Low && South == South::Tall && Up && West == West::Low) return 5829;
- if (East == East::Low && North == North::Low && South == South::Tall && Up && West == West::Tall) return 5830;
- if (East == East::Low && North == North::Low && South == South::Tall && !Up && West == West::None) return 5834;
- if (East == East::Low && North == North::Low && South == South::Tall && !Up && West == West::Low) return 5835;
- if (East == East::Low && North == North::Low && South == South::Tall && !Up && West == West::Tall) return 5836;
- if (East == East::Low && North == North::Tall && South == South::None && Up && West == West::None) return 5840;
- if (East == East::Low && North == North::Tall && South == South::None && Up && West == West::Low) return 5841;
- if (East == East::Low && North == North::Tall && South == South::None && Up && West == West::Tall) return 5842;
- if (East == East::Low && North == North::Tall && South == South::None && !Up && West == West::None) return 5846;
- if (East == East::Low && North == North::Tall && South == South::None && !Up && West == West::Low) return 5847;
- if (East == East::Low && North == North::Tall && South == South::None && !Up && West == West::Tall) return 5848;
- if (East == East::Low && North == North::Tall && South == South::Low && Up && West == West::None) return 5852;
- if (East == East::Low && North == North::Tall && South == South::Low && Up && West == West::Low) return 5853;
- if (East == East::Low && North == North::Tall && South == South::Low && Up && West == West::Tall) return 5854;
- if (East == East::Low && North == North::Tall && South == South::Low && !Up && West == West::None) return 5858;
- if (East == East::Low && North == North::Tall && South == South::Low && !Up && West == West::Low) return 5859;
- if (East == East::Low && North == North::Tall && South == South::Low && !Up && West == West::Tall) return 5860;
- if (East == East::Low && North == North::Tall && South == South::Tall && Up && West == West::None) return 5864;
- if (East == East::Low && North == North::Tall && South == South::Tall && Up && West == West::Low) return 5865;
- if (East == East::Low && North == North::Tall && South == South::Tall && Up && West == West::Tall) return 5866;
- if (East == East::Low && North == North::Tall && South == South::Tall && !Up && West == West::None) return 5870;
- if (East == East::Low && North == North::Tall && South == South::Tall && !Up && West == West::Low) return 5871;
- if (East == East::Low && North == North::Tall && South == South::Tall && !Up && West == West::Tall) return 5872;
- if (East == East::Tall && North == North::None && South == South::None && Up && West == West::None) return 5876;
- if (East == East::Tall && North == North::None && South == South::None && Up && West == West::Low) return 5877;
- if (East == East::Tall && North == North::None && South == South::None && Up && West == West::Tall) return 5878;
- if (East == East::Tall && North == North::None && South == South::None && !Up && West == West::None) return 5882;
- if (East == East::Tall && North == North::None && South == South::None && !Up && West == West::Low) return 5883;
- if (East == East::Tall && North == North::None && South == South::None && !Up && West == West::Tall) return 5884;
- if (East == East::Tall && North == North::None && South == South::Low && Up && West == West::None) return 5888;
- if (East == East::Tall && North == North::None && South == South::Low && Up && West == West::Low) return 5889;
- if (East == East::Tall && North == North::None && South == South::Low && Up && West == West::Tall) return 5890;
- if (East == East::Tall && North == North::None && South == South::Low && !Up && West == West::None) return 5894;
- if (East == East::Tall && North == North::None && South == South::Low && !Up && West == West::Low) return 5895;
- if (East == East::Tall && North == North::None && South == South::Low && !Up && West == West::Tall) return 5896;
- if (East == East::Tall && North == North::None && South == South::Tall && Up && West == West::None) return 5900;
- if (East == East::Tall && North == North::None && South == South::Tall && Up && West == West::Low) return 5901;
- if (East == East::Tall && North == North::None && South == South::Tall && Up && West == West::Tall) return 5902;
- if (East == East::Tall && North == North::None && South == South::Tall && !Up && West == West::None) return 5906;
- if (East == East::Tall && North == North::None && South == South::Tall && !Up && West == West::Low) return 5907;
- if (East == East::Tall && North == North::None && South == South::Tall && !Up && West == West::Tall) return 5908;
- if (East == East::Tall && North == North::Low && South == South::None && Up && West == West::None) return 5912;
- if (East == East::Tall && North == North::Low && South == South::None && Up && West == West::Low) return 5913;
- if (East == East::Tall && North == North::Low && South == South::None && Up && West == West::Tall) return 5914;
- if (East == East::Tall && North == North::Low && South == South::None && !Up && West == West::None) return 5918;
- if (East == East::Tall && North == North::Low && South == South::None && !Up && West == West::Low) return 5919;
- if (East == East::Tall && North == North::Low && South == South::None && !Up && West == West::Tall) return 5920;
- if (East == East::Tall && North == North::Low && South == South::Low && Up && West == West::None) return 5924;
- if (East == East::Tall && North == North::Low && South == South::Low && Up && West == West::Low) return 5925;
- if (East == East::Tall && North == North::Low && South == South::Low && Up && West == West::Tall) return 5926;
- if (East == East::Tall && North == North::Low && South == South::Low && !Up && West == West::None) return 5930;
- if (East == East::Tall && North == North::Low && South == South::Low && !Up && West == West::Low) return 5931;
- if (East == East::Tall && North == North::Low && South == South::Low && !Up && West == West::Tall) return 5932;
- if (East == East::Tall && North == North::Low && South == South::Tall && Up && West == West::None) return 5936;
- if (East == East::Tall && North == North::Low && South == South::Tall && Up && West == West::Low) return 5937;
- if (East == East::Tall && North == North::Low && South == South::Tall && Up && West == West::Tall) return 5938;
- if (East == East::Tall && North == North::Low && South == South::Tall && !Up && West == West::None) return 5942;
- if (East == East::Tall && North == North::Low && South == South::Tall && !Up && West == West::Low) return 5943;
- if (East == East::Tall && North == North::Low && South == South::Tall && !Up && West == West::Tall) return 5944;
- if (East == East::Tall && North == North::Tall && South == South::None && Up && West == West::None) return 5948;
- if (East == East::Tall && North == North::Tall && South == South::None && Up && West == West::Low) return 5949;
- if (East == East::Tall && North == North::Tall && South == South::None && Up && West == West::Tall) return 5950;
- if (East == East::Tall && North == North::Tall && South == South::None && !Up && West == West::None) return 5954;
- if (East == East::Tall && North == North::Tall && South == South::None && !Up && West == West::Low) return 5955;
- if (East == East::Tall && North == North::Tall && South == South::None && !Up && West == West::Tall) return 5956;
- if (East == East::Tall && North == North::Tall && South == South::Low && Up && West == West::None) return 5960;
- if (East == East::Tall && North == North::Tall && South == South::Low && Up && West == West::Low) return 5961;
- if (East == East::Tall && North == North::Tall && South == South::Low && Up && West == West::Tall) return 5962;
- if (East == East::Tall && North == North::Tall && South == South::Low && !Up && West == West::None) return 5966;
- if (East == East::Tall && North == North::Tall && South == South::Low && !Up && West == West::Low) return 5967;
- if (East == East::Tall && North == North::Tall && South == South::Low && !Up && West == West::Tall) return 5968;
- if (East == East::Tall && North == North::Tall && South == South::Tall && Up && West == West::None) return 5972;
- if (East == East::Tall && North == North::Tall && South == South::Tall && Up && West == West::Low) return 5973;
- if (East == East::Tall && North == North::Tall && South == South::Tall && Up && West == West::Tall) return 5974;
- if (East == East::Tall && North == North::Tall && South == South::Tall && !Up && West == West::None) return 5978;
- if (East == East::Tall && North == North::Tall && South == South::Tall && !Up && West == West::Low) return 5979;
- return 5980;
- }
- short CobblestoneWall();
- enum East East(short ID);
- enum North North(short ID);
- enum South South(short ID);
- bool Up(short ID);
- enum West West(short ID);
- }
- namespace Cobweb
- {
- constexpr short Cobweb()
- {
- return 1341;
- }
- }
- namespace Cocoa
- {
- constexpr short Cocoa(unsigned char Age, eBlockFace Facing)
- {
- if (Age == 0 && Facing == eBlockFace::BLOCK_FACE_ZM) return 5158;
- if (Age == 0 && Facing == eBlockFace::BLOCK_FACE_ZP) return 5159;
- if (Age == 0 && Facing == eBlockFace::BLOCK_FACE_XM) return 5160;
- if (Age == 0 && Facing == eBlockFace::BLOCK_FACE_XP) return 5161;
- if (Age == 1 && Facing == eBlockFace::BLOCK_FACE_ZM) return 5162;
- if (Age == 1 && Facing == eBlockFace::BLOCK_FACE_ZP) return 5163;
- if (Age == 1 && Facing == eBlockFace::BLOCK_FACE_XM) return 5164;
- if (Age == 1 && Facing == eBlockFace::BLOCK_FACE_XP) return 5165;
- if (Age == 2 && Facing == eBlockFace::BLOCK_FACE_ZM) return 5166;
- if (Age == 2 && Facing == eBlockFace::BLOCK_FACE_ZP) return 5167;
- if (Age == 2 && Facing == eBlockFace::BLOCK_FACE_XM) return 5168;
- return 5169;
- }
- short Cocoa();
- unsigned char Age(short ID);
- eBlockFace Facing(short ID);
- }
- namespace CommandBlock
- {
- constexpr short CommandBlock(bool Conditional, eBlockFace Facing)
- {
- if (Conditional && Facing == eBlockFace::BLOCK_FACE_ZM) return 5644;
- if (Conditional && Facing == eBlockFace::BLOCK_FACE_XP) return 5645;
- if (Conditional && Facing == eBlockFace::BLOCK_FACE_ZP) return 5646;
- if (Conditional && Facing == eBlockFace::BLOCK_FACE_XM) return 5647;
- if (Conditional && Facing == eBlockFace::BLOCK_FACE_YP) return 5648;
- if (Conditional && Facing == eBlockFace::BLOCK_FACE_YM) return 5649;
- if (!Conditional && Facing == eBlockFace::BLOCK_FACE_ZM) return 5650;
- if (!Conditional && Facing == eBlockFace::BLOCK_FACE_XP) return 5651;
- if (!Conditional && Facing == eBlockFace::BLOCK_FACE_ZP) return 5652;
- if (!Conditional && Facing == eBlockFace::BLOCK_FACE_XM) return 5653;
- if (!Conditional && Facing == eBlockFace::BLOCK_FACE_YP) return 5654;
- return 5655;
- }
- short CommandBlock();
- bool Conditional(short ID);
- eBlockFace Facing(short ID);
- }
- namespace Comparator
- {
- enum class Mode
- {
- Compare,
- Subtract
- };
- constexpr short Comparator(eBlockFace Facing, enum Mode Mode, bool Powered)
- {
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Mode == Mode::Compare && Powered) return 6678;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Mode == Mode::Compare && !Powered) return 6679;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Mode == Mode::Subtract && Powered) return 6680;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Mode == Mode::Subtract && !Powered) return 6681;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Mode == Mode::Compare && Powered) return 6682;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Mode == Mode::Compare && !Powered) return 6683;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Mode == Mode::Subtract && Powered) return 6684;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Mode == Mode::Subtract && !Powered) return 6685;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Mode == Mode::Compare && Powered) return 6686;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Mode == Mode::Compare && !Powered) return 6687;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Mode == Mode::Subtract && Powered) return 6688;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Mode == Mode::Subtract && !Powered) return 6689;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Mode == Mode::Compare && Powered) return 6690;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Mode == Mode::Compare && !Powered) return 6691;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Mode == Mode::Subtract && Powered) return 6692;
- return 6693;
- }
- short Comparator();
- eBlockFace Facing(short ID);
- enum Mode Mode(short ID);
- bool Powered(short ID);
- }
- namespace Composter
- {
- constexpr short Composter(unsigned char Level)
- {
- if (Level == 0) return 15751;
- if (Level == 1) return 15752;
- if (Level == 2) return 15753;
- if (Level == 3) return 15754;
- if (Level == 4) return 15755;
- if (Level == 5) return 15756;
- if (Level == 6) return 15757;
- if (Level == 7) return 15758;
- return 15759;
- }
- short Composter();
- unsigned char Level(short ID);
- }
- namespace Conduit
- {
- constexpr short Conduit()
- {
- return 9650;
- }
- }
- namespace Cornflower
- {
- constexpr short Cornflower()
- {
- return 1422;
- }
- }
- namespace CrackedNetherBricks
- {
- constexpr short CrackedNetherBricks()
- {
- return 17102;
- }
- }
- namespace CrackedPolishedBlackstoneBricks
- {
- constexpr short CrackedPolishedBlackstoneBricks()
- {
- return 16252;
- }
- }
- namespace CrackedStoneBricks
- {
- constexpr short CrackedStoneBricks()
- {
- return 4497;
- }
- }
- namespace CraftingTable
- {
- constexpr short CraftingTable()
- {
- return 3356;
- }
- }
- namespace CreeperHead
- {
- constexpr short CreeperHead(unsigned char Rotation)
- {
- if (Rotation == 0) return 6570;
- if (Rotation == 1) return 6571;
- if (Rotation == 2) return 6572;
- if (Rotation == 3) return 6573;
- if (Rotation == 4) return 6574;
- if (Rotation == 5) return 6575;
- if (Rotation == 6) return 6576;
- if (Rotation == 7) return 6577;
- if (Rotation == 8) return 6578;
- if (Rotation == 9) return 6579;
- if (Rotation == 10) return 6580;
- if (Rotation == 11) return 6581;
- if (Rotation == 12) return 6582;
- if (Rotation == 13) return 6583;
- if (Rotation == 14) return 6584;
- return 6585;
- }
- short CreeperHead();
- unsigned char Rotation(short ID);
- }
- namespace CreeperWallHead
- {
- constexpr short CreeperWallHead(eBlockFace Facing)
- {
- if (Facing == eBlockFace::BLOCK_FACE_ZM) return 6586;
- if (Facing == eBlockFace::BLOCK_FACE_ZP) return 6587;
- if (Facing == eBlockFace::BLOCK_FACE_XM) return 6588;
- return 6589;
- }
- short CreeperWallHead();
- eBlockFace Facing(short ID);
- }
- namespace CrimsonButton
- {
- enum class Face
- {
- Floor,
- Wall,
- Ceiling
- };
- constexpr short CrimsonButton(enum Face Face, eBlockFace Facing, bool Powered)
- {
- if (Face == Face::Floor && Facing == eBlockFace::BLOCK_FACE_ZM && Powered) return 15479;
- if (Face == Face::Floor && Facing == eBlockFace::BLOCK_FACE_ZM && !Powered) return 15480;
- if (Face == Face::Floor && Facing == eBlockFace::BLOCK_FACE_ZP && Powered) return 15481;
- if (Face == Face::Floor && Facing == eBlockFace::BLOCK_FACE_ZP && !Powered) return 15482;
- if (Face == Face::Floor && Facing == eBlockFace::BLOCK_FACE_XM && Powered) return 15483;
- if (Face == Face::Floor && Facing == eBlockFace::BLOCK_FACE_XM && !Powered) return 15484;
- if (Face == Face::Floor && Facing == eBlockFace::BLOCK_FACE_XP && Powered) return 15485;
- if (Face == Face::Floor && Facing == eBlockFace::BLOCK_FACE_XP && !Powered) return 15486;
- if (Face == Face::Wall && Facing == eBlockFace::BLOCK_FACE_ZM && Powered) return 15487;
- if (Face == Face::Wall && Facing == eBlockFace::BLOCK_FACE_ZM && !Powered) return 15488;
- if (Face == Face::Wall && Facing == eBlockFace::BLOCK_FACE_ZP && Powered) return 15489;
- if (Face == Face::Wall && Facing == eBlockFace::BLOCK_FACE_ZP && !Powered) return 15490;
- if (Face == Face::Wall && Facing == eBlockFace::BLOCK_FACE_XM && Powered) return 15491;
- if (Face == Face::Wall && Facing == eBlockFace::BLOCK_FACE_XM && !Powered) return 15492;
- if (Face == Face::Wall && Facing == eBlockFace::BLOCK_FACE_XP && Powered) return 15493;
- if (Face == Face::Wall && Facing == eBlockFace::BLOCK_FACE_XP && !Powered) return 15494;
- if (Face == Face::Ceiling && Facing == eBlockFace::BLOCK_FACE_ZM && Powered) return 15495;
- if (Face == Face::Ceiling && Facing == eBlockFace::BLOCK_FACE_ZM && !Powered) return 15496;
- if (Face == Face::Ceiling && Facing == eBlockFace::BLOCK_FACE_ZP && Powered) return 15497;
- if (Face == Face::Ceiling && Facing == eBlockFace::BLOCK_FACE_ZP && !Powered) return 15498;
- if (Face == Face::Ceiling && Facing == eBlockFace::BLOCK_FACE_XM && Powered) return 15499;
- if (Face == Face::Ceiling && Facing == eBlockFace::BLOCK_FACE_XM && !Powered) return 15500;
- if (Face == Face::Ceiling && Facing == eBlockFace::BLOCK_FACE_XP && Powered) return 15501;
- return 15502;
- }
- short CrimsonButton();
- enum Face Face(short ID);
- eBlockFace Facing(short ID);
- bool Powered(short ID);
- }
- namespace CrimsonDoor
- {
- enum class Half
- {
- Upper,
- Lower
- };
- enum class Hinge
- {
- Left,
- Right
- };
- constexpr short CrimsonDoor(eBlockFace Facing, enum Half Half, enum Hinge Hinge, bool Open, bool Powered)
- {
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Upper && Hinge == Hinge::Left && Open && Powered) return 15527;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Upper && Hinge == Hinge::Left && Open && !Powered) return 15528;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Upper && Hinge == Hinge::Left && !Open && Powered) return 15529;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Upper && Hinge == Hinge::Left && !Open && !Powered) return 15530;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Upper && Hinge == Hinge::Right && Open && Powered) return 15531;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Upper && Hinge == Hinge::Right && Open && !Powered) return 15532;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Upper && Hinge == Hinge::Right && !Open && Powered) return 15533;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Upper && Hinge == Hinge::Right && !Open && !Powered) return 15534;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Lower && Hinge == Hinge::Left && Open && Powered) return 15535;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Lower && Hinge == Hinge::Left && Open && !Powered) return 15536;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Lower && Hinge == Hinge::Left && !Open && Powered) return 15537;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Lower && Hinge == Hinge::Left && !Open && !Powered) return 15538;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Lower && Hinge == Hinge::Right && Open && Powered) return 15539;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Lower && Hinge == Hinge::Right && Open && !Powered) return 15540;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Lower && Hinge == Hinge::Right && !Open && Powered) return 15541;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Lower && Hinge == Hinge::Right && !Open && !Powered) return 15542;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Upper && Hinge == Hinge::Left && Open && Powered) return 15543;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Upper && Hinge == Hinge::Left && Open && !Powered) return 15544;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Upper && Hinge == Hinge::Left && !Open && Powered) return 15545;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Upper && Hinge == Hinge::Left && !Open && !Powered) return 15546;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Upper && Hinge == Hinge::Right && Open && Powered) return 15547;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Upper && Hinge == Hinge::Right && Open && !Powered) return 15548;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Upper && Hinge == Hinge::Right && !Open && Powered) return 15549;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Upper && Hinge == Hinge::Right && !Open && !Powered) return 15550;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Lower && Hinge == Hinge::Left && Open && Powered) return 15551;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Lower && Hinge == Hinge::Left && Open && !Powered) return 15552;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Lower && Hinge == Hinge::Left && !Open && Powered) return 15553;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Lower && Hinge == Hinge::Left && !Open && !Powered) return 15554;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Lower && Hinge == Hinge::Right && Open && Powered) return 15555;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Lower && Hinge == Hinge::Right && Open && !Powered) return 15556;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Lower && Hinge == Hinge::Right && !Open && Powered) return 15557;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Lower && Hinge == Hinge::Right && !Open && !Powered) return 15558;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Upper && Hinge == Hinge::Left && Open && Powered) return 15559;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Upper && Hinge == Hinge::Left && Open && !Powered) return 15560;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Upper && Hinge == Hinge::Left && !Open && Powered) return 15561;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Upper && Hinge == Hinge::Left && !Open && !Powered) return 15562;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Upper && Hinge == Hinge::Right && Open && Powered) return 15563;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Upper && Hinge == Hinge::Right && Open && !Powered) return 15564;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Upper && Hinge == Hinge::Right && !Open && Powered) return 15565;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Upper && Hinge == Hinge::Right && !Open && !Powered) return 15566;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Lower && Hinge == Hinge::Left && Open && Powered) return 15567;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Lower && Hinge == Hinge::Left && Open && !Powered) return 15568;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Lower && Hinge == Hinge::Left && !Open && Powered) return 15569;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Lower && Hinge == Hinge::Left && !Open && !Powered) return 15570;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Lower && Hinge == Hinge::Right && Open && Powered) return 15571;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Lower && Hinge == Hinge::Right && Open && !Powered) return 15572;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Lower && Hinge == Hinge::Right && !Open && Powered) return 15573;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Lower && Hinge == Hinge::Right && !Open && !Powered) return 15574;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Upper && Hinge == Hinge::Left && Open && Powered) return 15575;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Upper && Hinge == Hinge::Left && Open && !Powered) return 15576;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Upper && Hinge == Hinge::Left && !Open && Powered) return 15577;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Upper && Hinge == Hinge::Left && !Open && !Powered) return 15578;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Upper && Hinge == Hinge::Right && Open && Powered) return 15579;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Upper && Hinge == Hinge::Right && Open && !Powered) return 15580;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Upper && Hinge == Hinge::Right && !Open && Powered) return 15581;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Upper && Hinge == Hinge::Right && !Open && !Powered) return 15582;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Lower && Hinge == Hinge::Left && Open && Powered) return 15583;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Lower && Hinge == Hinge::Left && Open && !Powered) return 15584;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Lower && Hinge == Hinge::Left && !Open && Powered) return 15585;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Lower && Hinge == Hinge::Left && !Open && !Powered) return 15586;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Lower && Hinge == Hinge::Right && Open && Powered) return 15587;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Lower && Hinge == Hinge::Right && Open && !Powered) return 15588;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Lower && Hinge == Hinge::Right && !Open && Powered) return 15589;
- return 15590;
- }
- short CrimsonDoor();
- eBlockFace Facing(short ID);
- enum Half Half(short ID);
- enum Hinge Hinge(short ID);
- bool Open(short ID);
- bool Powered(short ID);
- }
- namespace CrimsonFence
- {
- constexpr short CrimsonFence(bool East, bool North, bool South, bool West)
- {
- if (East && North && South && West) return 15065;
- if (East && North && South && !West) return 15066;
- if (East && North && !South && West) return 15069;
- if (East && North && !South && !West) return 15070;
- if (East && !North && South && West) return 15073;
- if (East && !North && South && !West) return 15074;
- if (East && !North && !South && West) return 15077;
- if (East && !North && !South && !West) return 15078;
- if (!East && North && South && West) return 15081;
- if (!East && North && South && !West) return 15082;
- if (!East && North && !South && West) return 15085;
- if (!East && North && !South && !West) return 15086;
- if (!East && !North && South && West) return 15089;
- if (!East && !North && South && !West) return 15090;
- if (!East && !North && !South && West) return 15093;
- return 15094;
- }
- short CrimsonFence();
- bool East(short ID);
- bool North(short ID);
- bool South(short ID);
- bool West(short ID);
- }
- namespace CrimsonFenceGate
- {
- constexpr short CrimsonFenceGate(eBlockFace Facing, bool InWall, bool Open, bool Powered)
- {
- if (Facing == eBlockFace::BLOCK_FACE_ZM && InWall && Open && Powered) return 15255;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && InWall && Open && !Powered) return 15256;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && InWall && !Open && Powered) return 15257;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && InWall && !Open && !Powered) return 15258;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && !InWall && Open && Powered) return 15259;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && !InWall && Open && !Powered) return 15260;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && !InWall && !Open && Powered) return 15261;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && !InWall && !Open && !Powered) return 15262;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && InWall && Open && Powered) return 15263;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && InWall && Open && !Powered) return 15264;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && InWall && !Open && Powered) return 15265;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && InWall && !Open && !Powered) return 15266;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && !InWall && Open && Powered) return 15267;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && !InWall && Open && !Powered) return 15268;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && !InWall && !Open && Powered) return 15269;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && !InWall && !Open && !Powered) return 15270;
- if (Facing == eBlockFace::BLOCK_FACE_XM && InWall && Open && Powered) return 15271;
- if (Facing == eBlockFace::BLOCK_FACE_XM && InWall && Open && !Powered) return 15272;
- if (Facing == eBlockFace::BLOCK_FACE_XM && InWall && !Open && Powered) return 15273;
- if (Facing == eBlockFace::BLOCK_FACE_XM && InWall && !Open && !Powered) return 15274;
- if (Facing == eBlockFace::BLOCK_FACE_XM && !InWall && Open && Powered) return 15275;
- if (Facing == eBlockFace::BLOCK_FACE_XM && !InWall && Open && !Powered) return 15276;
- if (Facing == eBlockFace::BLOCK_FACE_XM && !InWall && !Open && Powered) return 15277;
- if (Facing == eBlockFace::BLOCK_FACE_XM && !InWall && !Open && !Powered) return 15278;
- if (Facing == eBlockFace::BLOCK_FACE_XP && InWall && Open && Powered) return 15279;
- if (Facing == eBlockFace::BLOCK_FACE_XP && InWall && Open && !Powered) return 15280;
- if (Facing == eBlockFace::BLOCK_FACE_XP && InWall && !Open && Powered) return 15281;
- if (Facing == eBlockFace::BLOCK_FACE_XP && InWall && !Open && !Powered) return 15282;
- if (Facing == eBlockFace::BLOCK_FACE_XP && !InWall && Open && Powered) return 15283;
- if (Facing == eBlockFace::BLOCK_FACE_XP && !InWall && Open && !Powered) return 15284;
- if (Facing == eBlockFace::BLOCK_FACE_XP && !InWall && !Open && Powered) return 15285;
- return 15286;
- }
- short CrimsonFenceGate();
- eBlockFace Facing(short ID);
- bool InWall(short ID);
- bool Open(short ID);
- bool Powered(short ID);
- }
- namespace CrimsonFungus
- {
- constexpr short CrimsonFungus()
- {
- return 14988;
- }
- }
- namespace CrimsonHyphae
- {
- enum class Axis
- {
- X,
- Y,
- Z
- };
- constexpr short CrimsonHyphae(enum Axis Axis)
- {
- if (Axis == Axis::X) return 14981;
- if (Axis == Axis::Y) return 14982;
- return 14983;
- }
- short CrimsonHyphae();
- enum Axis Axis(short ID);
- }
- namespace CrimsonNylium
- {
- constexpr short CrimsonNylium()
- {
- return 14987;
- }
- }
- namespace CrimsonPlanks
- {
- constexpr short CrimsonPlanks()
- {
- return 15045;
- }
- }
- namespace CrimsonPressurePlate
- {
- constexpr short CrimsonPressurePlate(bool Powered)
- {
- if (Powered) return 15059;
- return 15060;
- }
- short CrimsonPressurePlate();
- bool Powered(short ID);
- }
- namespace CrimsonRoots
- {
- constexpr short CrimsonRoots()
- {
- return 15044;
- }
- }
- namespace CrimsonSign
- {
- constexpr short CrimsonSign(unsigned char Rotation)
- {
- if (Rotation == 0) return 15656;
- if (Rotation == 1) return 15658;
- if (Rotation == 2) return 15660;
- if (Rotation == 3) return 15662;
- if (Rotation == 4) return 15664;
- if (Rotation == 5) return 15666;
- if (Rotation == 6) return 15668;
- if (Rotation == 7) return 15670;
- if (Rotation == 8) return 15672;
- if (Rotation == 9) return 15674;
- if (Rotation == 10) return 15676;
- if (Rotation == 11) return 15678;
- if (Rotation == 12) return 15680;
- if (Rotation == 13) return 15682;
- if (Rotation == 14) return 15684;
- return 15686;
- }
- short CrimsonSign();
- unsigned char Rotation(short ID);
- }
- namespace CrimsonSlab
- {
- enum class Type
- {
- Top,
- Bottom,
- Double
- };
- constexpr short CrimsonSlab(enum Type Type)
- {
- if (Type == Type::Top) return 15048;
- if (Type == Type::Bottom) return 15050;
- return 15052;
- }
- short CrimsonSlab();
- enum Type Type(short ID);
- }
- namespace CrimsonStairs
- {
- enum class Half
- {
- Top,
- Bottom
- };
- enum class Shape
- {
- Straight,
- InnerLeft,
- InnerRight,
- OuterLeft,
- OuterRight
- };
- constexpr short CrimsonStairs(eBlockFace Facing, enum Half Half, enum Shape Shape)
- {
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Top && Shape == Shape::Straight) return 15320;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Top && Shape == Shape::InnerLeft) return 15322;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Top && Shape == Shape::InnerRight) return 15324;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Top && Shape == Shape::OuterLeft) return 15326;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Top && Shape == Shape::OuterRight) return 15328;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Bottom && Shape == Shape::Straight) return 15330;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Bottom && Shape == Shape::InnerLeft) return 15332;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Bottom && Shape == Shape::InnerRight) return 15334;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Bottom && Shape == Shape::OuterLeft) return 15336;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Bottom && Shape == Shape::OuterRight) return 15338;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Top && Shape == Shape::Straight) return 15340;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Top && Shape == Shape::InnerLeft) return 15342;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Top && Shape == Shape::InnerRight) return 15344;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Top && Shape == Shape::OuterLeft) return 15346;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Top && Shape == Shape::OuterRight) return 15348;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Bottom && Shape == Shape::Straight) return 15350;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Bottom && Shape == Shape::InnerLeft) return 15352;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Bottom && Shape == Shape::InnerRight) return 15354;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Bottom && Shape == Shape::OuterLeft) return 15356;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Bottom && Shape == Shape::OuterRight) return 15358;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Top && Shape == Shape::Straight) return 15360;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Top && Shape == Shape::InnerLeft) return 15362;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Top && Shape == Shape::InnerRight) return 15364;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Top && Shape == Shape::OuterLeft) return 15366;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Top && Shape == Shape::OuterRight) return 15368;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Bottom && Shape == Shape::Straight) return 15370;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Bottom && Shape == Shape::InnerLeft) return 15372;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Bottom && Shape == Shape::InnerRight) return 15374;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Bottom && Shape == Shape::OuterLeft) return 15376;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Bottom && Shape == Shape::OuterRight) return 15378;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Top && Shape == Shape::Straight) return 15380;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Top && Shape == Shape::InnerLeft) return 15382;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Top && Shape == Shape::InnerRight) return 15384;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Top && Shape == Shape::OuterLeft) return 15386;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Top && Shape == Shape::OuterRight) return 15388;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Bottom && Shape == Shape::Straight) return 15390;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Bottom && Shape == Shape::InnerLeft) return 15392;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Bottom && Shape == Shape::InnerRight) return 15394;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Bottom && Shape == Shape::OuterLeft) return 15396;
- return 15398;
- }
- short CrimsonStairs();
- eBlockFace Facing(short ID);
- enum Half Half(short ID);
- enum Shape Shape(short ID);
- }
- namespace CrimsonStem
- {
- enum class Axis
- {
- X,
- Y,
- Z
- };
- constexpr short CrimsonStem(enum Axis Axis)
- {
- if (Axis == Axis::X) return 14975;
- if (Axis == Axis::Y) return 14976;
- return 14977;
- }
- short CrimsonStem();
- enum Axis Axis(short ID);
- }
- namespace CrimsonTrapdoor
- {
- enum class Half
- {
- Top,
- Bottom
- };
- constexpr short CrimsonTrapdoor(eBlockFace Facing, enum Half Half, bool Open, bool Powered)
- {
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Top && Open && Powered) return 15128;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Top && Open && !Powered) return 15130;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Top && !Open && Powered) return 15132;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Top && !Open && !Powered) return 15134;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Bottom && Open && Powered) return 15136;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Bottom && Open && !Powered) return 15138;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Bottom && !Open && Powered) return 15140;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Bottom && !Open && !Powered) return 15142;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Top && Open && Powered) return 15144;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Top && Open && !Powered) return 15146;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Top && !Open && Powered) return 15148;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Top && !Open && !Powered) return 15150;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Bottom && Open && Powered) return 15152;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Bottom && Open && !Powered) return 15154;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Bottom && !Open && Powered) return 15156;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Bottom && !Open && !Powered) return 15158;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Top && Open && Powered) return 15160;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Top && Open && !Powered) return 15162;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Top && !Open && Powered) return 15164;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Top && !Open && !Powered) return 15166;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Bottom && Open && Powered) return 15168;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Bottom && Open && !Powered) return 15170;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Bottom && !Open && Powered) return 15172;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Bottom && !Open && !Powered) return 15174;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Top && Open && Powered) return 15176;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Top && Open && !Powered) return 15178;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Top && !Open && Powered) return 15180;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Top && !Open && !Powered) return 15182;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Bottom && Open && Powered) return 15184;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Bottom && Open && !Powered) return 15186;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Bottom && !Open && Powered) return 15188;
- return 15190;
- }
- short CrimsonTrapdoor();
- eBlockFace Facing(short ID);
- enum Half Half(short ID);
- bool Open(short ID);
- bool Powered(short ID);
- }
- namespace CrimsonWallSign
- {
- constexpr short CrimsonWallSign(eBlockFace Facing)
- {
- if (Facing == eBlockFace::BLOCK_FACE_ZM) return 15720;
- if (Facing == eBlockFace::BLOCK_FACE_ZP) return 15722;
- if (Facing == eBlockFace::BLOCK_FACE_XM) return 15724;
- return 15726;
- }
- short CrimsonWallSign();
- eBlockFace Facing(short ID);
- }
- namespace CryingObsidian
- {
- constexpr short CryingObsidian()
- {
- return 15828;
- }
- }
- namespace CutRedSandstone
- {
- constexpr short CutRedSandstone()
- {
- return 8219;
- }
- }
- namespace CutRedSandstoneSlab
- {
- enum class Type
- {
- Top,
- Bottom,
- Double
- };
- constexpr short CutRedSandstoneSlab(enum Type Type)
- {
- if (Type == Type::Top) return 8403;
- if (Type == Type::Bottom) return 8405;
- return 8407;
- }
- short CutRedSandstoneSlab();
- enum Type Type(short ID);
- }
- namespace CutSandstone
- {
- constexpr short CutSandstone()
- {
- return 248;
- }
- }
- namespace CutSandstoneSlab
- {
- enum class Type
- {
- Top,
- Bottom,
- Double
- };
- constexpr short CutSandstoneSlab(enum Type Type)
- {
- if (Type == Type::Top) return 8355;
- if (Type == Type::Bottom) return 8357;
- return 8359;
- }
- short CutSandstoneSlab();
- enum Type Type(short ID);
- }
- namespace CyanBanner
- {
- constexpr short CyanBanner(unsigned char Rotation)
- {
- if (Rotation == 0) return 8041;
- if (Rotation == 1) return 8042;
- if (Rotation == 2) return 8043;
- if (Rotation == 3) return 8044;
- if (Rotation == 4) return 8045;
- if (Rotation == 5) return 8046;
- if (Rotation == 6) return 8047;
- if (Rotation == 7) return 8048;
- if (Rotation == 8) return 8049;
- if (Rotation == 9) return 8050;
- if (Rotation == 10) return 8051;
- if (Rotation == 11) return 8052;
- if (Rotation == 12) return 8053;
- if (Rotation == 13) return 8054;
- if (Rotation == 14) return 8055;
- return 8056;
- }
- short CyanBanner();
- unsigned char Rotation(short ID);
- }
- namespace CyanBed
- {
- enum class Part
- {
- Head,
- Foot
- };
- constexpr short CyanBed(eBlockFace Facing, bool Occupied, enum Part Part)
- {
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Occupied && Part == Part::Head) return 1193;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Occupied && Part == Part::Foot) return 1194;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && !Occupied && Part == Part::Head) return 1195;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && !Occupied && Part == Part::Foot) return 1196;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Occupied && Part == Part::Head) return 1197;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Occupied && Part == Part::Foot) return 1198;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && !Occupied && Part == Part::Head) return 1199;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && !Occupied && Part == Part::Foot) return 1200;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Occupied && Part == Part::Head) return 1201;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Occupied && Part == Part::Foot) return 1202;
- if (Facing == eBlockFace::BLOCK_FACE_XM && !Occupied && Part == Part::Head) return 1203;
- if (Facing == eBlockFace::BLOCK_FACE_XM && !Occupied && Part == Part::Foot) return 1204;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Occupied && Part == Part::Head) return 1205;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Occupied && Part == Part::Foot) return 1206;
- if (Facing == eBlockFace::BLOCK_FACE_XP && !Occupied && Part == Part::Head) return 1207;
- return 1208;
- }
- short CyanBed();
- eBlockFace Facing(short ID);
- bool Occupied(short ID);
- enum Part Part(short ID);
- }
- namespace CyanCarpet
- {
- constexpr short CyanCarpet()
- {
- return 7875;
- }
- }
- namespace CyanConcrete
- {
- constexpr short CyanConcrete()
- {
- return 9447;
- }
- }
- namespace CyanConcretePowder
- {
- constexpr short CyanConcretePowder()
- {
- return 9463;
- }
- }
- namespace CyanGlazedTerracotta
- {
- constexpr short CyanGlazedTerracotta(eBlockFace Facing)
- {
- if (Facing == eBlockFace::BLOCK_FACE_ZM) return 9410;
- if (Facing == eBlockFace::BLOCK_FACE_ZP) return 9411;
- if (Facing == eBlockFace::BLOCK_FACE_XM) return 9412;
- return 9413;
- }
- short CyanGlazedTerracotta();
- eBlockFace Facing(short ID);
- }
- namespace CyanShulkerBox
- {
- constexpr short CyanShulkerBox(eBlockFace Facing)
- {
- if (Facing == eBlockFace::BLOCK_FACE_ZM) return 9332;
- if (Facing == eBlockFace::BLOCK_FACE_XP) return 9333;
- if (Facing == eBlockFace::BLOCK_FACE_ZP) return 9334;
- if (Facing == eBlockFace::BLOCK_FACE_XM) return 9335;
- if (Facing == eBlockFace::BLOCK_FACE_YP) return 9336;
- return 9337;
- }
- short CyanShulkerBox();
- eBlockFace Facing(short ID);
- }
- namespace CyanStainedGlass
- {
- constexpr short CyanStainedGlass()
- {
- return 4104;
- }
- }
- namespace CyanStainedGlassPane
- {
- constexpr short CyanStainedGlassPane(bool East, bool North, bool South, bool West)
- {
- if (East && North && South && West) return 7153;
- if (East && North && South && !West) return 7154;
- if (East && North && !South && West) return 7157;
- if (East && North && !South && !West) return 7158;
- if (East && !North && South && West) return 7161;
- if (East && !North && South && !West) return 7162;
- if (East && !North && !South && West) return 7165;
- if (East && !North && !South && !West) return 7166;
- if (!East && North && South && West) return 7169;
- if (!East && North && South && !West) return 7170;
- if (!East && North && !South && West) return 7173;
- if (!East && North && !South && !West) return 7174;
- if (!East && !North && South && West) return 7177;
- if (!East && !North && South && !West) return 7178;
- if (!East && !North && !South && West) return 7181;
- return 7182;
- }
- short CyanStainedGlassPane();
- bool East(short ID);
- bool North(short ID);
- bool South(short ID);
- bool West(short ID);
- }
- namespace CyanTerracotta
- {
- constexpr short CyanTerracotta()
- {
- return 6856;
- }
- }
- namespace CyanWallBanner
- {
- constexpr short CyanWallBanner(eBlockFace Facing)
- {
- if (Facing == eBlockFace::BLOCK_FACE_ZM) return 8189;
- if (Facing == eBlockFace::BLOCK_FACE_ZP) return 8190;
- if (Facing == eBlockFace::BLOCK_FACE_XM) return 8191;
- return 8192;
- }
- short CyanWallBanner();
- eBlockFace Facing(short ID);
- }
- namespace CyanWool
- {
- constexpr short CyanWool()
- {
- return 1393;
- }
- }
- namespace DamagedAnvil
- {
- constexpr short DamagedAnvil(eBlockFace Facing)
- {
- if (Facing == eBlockFace::BLOCK_FACE_ZM) return 6618;
- if (Facing == eBlockFace::BLOCK_FACE_ZP) return 6619;
- if (Facing == eBlockFace::BLOCK_FACE_XM) return 6620;
- return 6621;
- }
- short DamagedAnvil();
- eBlockFace Facing(short ID);
- }
- namespace Dandelion
- {
- constexpr short Dandelion()
- {
- return 1412;
- }
- }
- namespace DarkOakButton
- {
- enum class Face
- {
- Floor,
- Wall,
- Ceiling
- };
- constexpr short DarkOakButton(enum Face Face, eBlockFace Facing, bool Powered)
- {
- if (Face == Face::Floor && Facing == eBlockFace::BLOCK_FACE_ZM && Powered) return 6466;
- if (Face == Face::Floor && Facing == eBlockFace::BLOCK_FACE_ZM && !Powered) return 6467;
- if (Face == Face::Floor && Facing == eBlockFace::BLOCK_FACE_ZP && Powered) return 6468;
- if (Face == Face::Floor && Facing == eBlockFace::BLOCK_FACE_ZP && !Powered) return 6469;
- if (Face == Face::Floor && Facing == eBlockFace::BLOCK_FACE_XM && Powered) return 6470;
- if (Face == Face::Floor && Facing == eBlockFace::BLOCK_FACE_XM && !Powered) return 6471;
- if (Face == Face::Floor && Facing == eBlockFace::BLOCK_FACE_XP && Powered) return 6472;
- if (Face == Face::Floor && Facing == eBlockFace::BLOCK_FACE_XP && !Powered) return 6473;
- if (Face == Face::Wall && Facing == eBlockFace::BLOCK_FACE_ZM && Powered) return 6474;
- if (Face == Face::Wall && Facing == eBlockFace::BLOCK_FACE_ZM && !Powered) return 6475;
- if (Face == Face::Wall && Facing == eBlockFace::BLOCK_FACE_ZP && Powered) return 6476;
- if (Face == Face::Wall && Facing == eBlockFace::BLOCK_FACE_ZP && !Powered) return 6477;
- if (Face == Face::Wall && Facing == eBlockFace::BLOCK_FACE_XM && Powered) return 6478;
- if (Face == Face::Wall && Facing == eBlockFace::BLOCK_FACE_XM && !Powered) return 6479;
- if (Face == Face::Wall && Facing == eBlockFace::BLOCK_FACE_XP && Powered) return 6480;
- if (Face == Face::Wall && Facing == eBlockFace::BLOCK_FACE_XP && !Powered) return 6481;
- if (Face == Face::Ceiling && Facing == eBlockFace::BLOCK_FACE_ZM && Powered) return 6482;
- if (Face == Face::Ceiling && Facing == eBlockFace::BLOCK_FACE_ZM && !Powered) return 6483;
- if (Face == Face::Ceiling && Facing == eBlockFace::BLOCK_FACE_ZP && Powered) return 6484;
- if (Face == Face::Ceiling && Facing == eBlockFace::BLOCK_FACE_ZP && !Powered) return 6485;
- if (Face == Face::Ceiling && Facing == eBlockFace::BLOCK_FACE_XM && Powered) return 6486;
- if (Face == Face::Ceiling && Facing == eBlockFace::BLOCK_FACE_XM && !Powered) return 6487;
- if (Face == Face::Ceiling && Facing == eBlockFace::BLOCK_FACE_XP && Powered) return 6488;
- return 6489;
- }
- short DarkOakButton();
- enum Face Face(short ID);
- eBlockFace Facing(short ID);
- bool Powered(short ID);
- }
- namespace DarkOakDoor
- {
- enum class Half
- {
- Upper,
- Lower
- };
- enum class Hinge
- {
- Left,
- Right
- };
- constexpr short DarkOakDoor(eBlockFace Facing, enum Half Half, enum Hinge Hinge, bool Open, bool Powered)
- {
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Upper && Hinge == Hinge::Left && Open && Powered) return 8994;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Upper && Hinge == Hinge::Left && Open && !Powered) return 8995;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Upper && Hinge == Hinge::Left && !Open && Powered) return 8996;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Upper && Hinge == Hinge::Left && !Open && !Powered) return 8997;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Upper && Hinge == Hinge::Right && Open && Powered) return 8998;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Upper && Hinge == Hinge::Right && Open && !Powered) return 8999;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Upper && Hinge == Hinge::Right && !Open && Powered) return 9000;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Upper && Hinge == Hinge::Right && !Open && !Powered) return 9001;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Lower && Hinge == Hinge::Left && Open && Powered) return 9002;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Lower && Hinge == Hinge::Left && Open && !Powered) return 9003;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Lower && Hinge == Hinge::Left && !Open && Powered) return 9004;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Lower && Hinge == Hinge::Left && !Open && !Powered) return 9005;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Lower && Hinge == Hinge::Right && Open && Powered) return 9006;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Lower && Hinge == Hinge::Right && Open && !Powered) return 9007;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Lower && Hinge == Hinge::Right && !Open && Powered) return 9008;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Lower && Hinge == Hinge::Right && !Open && !Powered) return 9009;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Upper && Hinge == Hinge::Left && Open && Powered) return 9010;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Upper && Hinge == Hinge::Left && Open && !Powered) return 9011;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Upper && Hinge == Hinge::Left && !Open && Powered) return 9012;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Upper && Hinge == Hinge::Left && !Open && !Powered) return 9013;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Upper && Hinge == Hinge::Right && Open && Powered) return 9014;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Upper && Hinge == Hinge::Right && Open && !Powered) return 9015;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Upper && Hinge == Hinge::Right && !Open && Powered) return 9016;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Upper && Hinge == Hinge::Right && !Open && !Powered) return 9017;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Lower && Hinge == Hinge::Left && Open && Powered) return 9018;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Lower && Hinge == Hinge::Left && Open && !Powered) return 9019;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Lower && Hinge == Hinge::Left && !Open && Powered) return 9020;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Lower && Hinge == Hinge::Left && !Open && !Powered) return 9021;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Lower && Hinge == Hinge::Right && Open && Powered) return 9022;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Lower && Hinge == Hinge::Right && Open && !Powered) return 9023;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Lower && Hinge == Hinge::Right && !Open && Powered) return 9024;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Lower && Hinge == Hinge::Right && !Open && !Powered) return 9025;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Upper && Hinge == Hinge::Left && Open && Powered) return 9026;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Upper && Hinge == Hinge::Left && Open && !Powered) return 9027;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Upper && Hinge == Hinge::Left && !Open && Powered) return 9028;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Upper && Hinge == Hinge::Left && !Open && !Powered) return 9029;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Upper && Hinge == Hinge::Right && Open && Powered) return 9030;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Upper && Hinge == Hinge::Right && Open && !Powered) return 9031;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Upper && Hinge == Hinge::Right && !Open && Powered) return 9032;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Upper && Hinge == Hinge::Right && !Open && !Powered) return 9033;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Lower && Hinge == Hinge::Left && Open && Powered) return 9034;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Lower && Hinge == Hinge::Left && Open && !Powered) return 9035;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Lower && Hinge == Hinge::Left && !Open && Powered) return 9036;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Lower && Hinge == Hinge::Left && !Open && !Powered) return 9037;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Lower && Hinge == Hinge::Right && Open && Powered) return 9038;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Lower && Hinge == Hinge::Right && Open && !Powered) return 9039;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Lower && Hinge == Hinge::Right && !Open && Powered) return 9040;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Lower && Hinge == Hinge::Right && !Open && !Powered) return 9041;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Upper && Hinge == Hinge::Left && Open && Powered) return 9042;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Upper && Hinge == Hinge::Left && Open && !Powered) return 9043;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Upper && Hinge == Hinge::Left && !Open && Powered) return 9044;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Upper && Hinge == Hinge::Left && !Open && !Powered) return 9045;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Upper && Hinge == Hinge::Right && Open && Powered) return 9046;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Upper && Hinge == Hinge::Right && Open && !Powered) return 9047;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Upper && Hinge == Hinge::Right && !Open && Powered) return 9048;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Upper && Hinge == Hinge::Right && !Open && !Powered) return 9049;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Lower && Hinge == Hinge::Left && Open && Powered) return 9050;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Lower && Hinge == Hinge::Left && Open && !Powered) return 9051;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Lower && Hinge == Hinge::Left && !Open && Powered) return 9052;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Lower && Hinge == Hinge::Left && !Open && !Powered) return 9053;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Lower && Hinge == Hinge::Right && Open && Powered) return 9054;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Lower && Hinge == Hinge::Right && Open && !Powered) return 9055;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Lower && Hinge == Hinge::Right && !Open && Powered) return 9056;
- return 9057;
- }
- short DarkOakDoor();
- eBlockFace Facing(short ID);
- enum Half Half(short ID);
- enum Hinge Hinge(short ID);
- bool Open(short ID);
- bool Powered(short ID);
- }
- namespace DarkOakFence
- {
- constexpr short DarkOakFence(bool East, bool North, bool South, bool West)
- {
- if (East && North && South && West) return 8708;
- if (East && North && South && !West) return 8709;
- if (East && North && !South && West) return 8712;
- if (East && North && !South && !West) return 8713;
- if (East && !North && South && West) return 8716;
- if (East && !North && South && !West) return 8717;
- if (East && !North && !South && West) return 8720;
- if (East && !North && !South && !West) return 8721;
- if (!East && North && South && West) return 8724;
- if (!East && North && South && !West) return 8725;
- if (!East && North && !South && West) return 8728;
- if (!East && North && !South && !West) return 8729;
- if (!East && !North && South && West) return 8732;
- if (!East && !North && South && !West) return 8733;
- if (!East && !North && !South && West) return 8736;
- return 8737;
- }
- short DarkOakFence();
- bool East(short ID);
- bool North(short ID);
- bool South(short ID);
- bool West(short ID);
- }
- namespace DarkOakFenceGate
- {
- constexpr short DarkOakFenceGate(eBlockFace Facing, bool InWall, bool Open, bool Powered)
- {
- if (Facing == eBlockFace::BLOCK_FACE_ZM && InWall && Open && Powered) return 8546;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && InWall && Open && !Powered) return 8547;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && InWall && !Open && Powered) return 8548;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && InWall && !Open && !Powered) return 8549;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && !InWall && Open && Powered) return 8550;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && !InWall && Open && !Powered) return 8551;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && !InWall && !Open && Powered) return 8552;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && !InWall && !Open && !Powered) return 8553;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && InWall && Open && Powered) return 8554;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && InWall && Open && !Powered) return 8555;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && InWall && !Open && Powered) return 8556;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && InWall && !Open && !Powered) return 8557;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && !InWall && Open && Powered) return 8558;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && !InWall && Open && !Powered) return 8559;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && !InWall && !Open && Powered) return 8560;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && !InWall && !Open && !Powered) return 8561;
- if (Facing == eBlockFace::BLOCK_FACE_XM && InWall && Open && Powered) return 8562;
- if (Facing == eBlockFace::BLOCK_FACE_XM && InWall && Open && !Powered) return 8563;
- if (Facing == eBlockFace::BLOCK_FACE_XM && InWall && !Open && Powered) return 8564;
- if (Facing == eBlockFace::BLOCK_FACE_XM && InWall && !Open && !Powered) return 8565;
- if (Facing == eBlockFace::BLOCK_FACE_XM && !InWall && Open && Powered) return 8566;
- if (Facing == eBlockFace::BLOCK_FACE_XM && !InWall && Open && !Powered) return 8567;
- if (Facing == eBlockFace::BLOCK_FACE_XM && !InWall && !Open && Powered) return 8568;
- if (Facing == eBlockFace::BLOCK_FACE_XM && !InWall && !Open && !Powered) return 8569;
- if (Facing == eBlockFace::BLOCK_FACE_XP && InWall && Open && Powered) return 8570;
- if (Facing == eBlockFace::BLOCK_FACE_XP && InWall && Open && !Powered) return 8571;
- if (Facing == eBlockFace::BLOCK_FACE_XP && InWall && !Open && Powered) return 8572;
- if (Facing == eBlockFace::BLOCK_FACE_XP && InWall && !Open && !Powered) return 8573;
- if (Facing == eBlockFace::BLOCK_FACE_XP && !InWall && Open && Powered) return 8574;
- if (Facing == eBlockFace::BLOCK_FACE_XP && !InWall && Open && !Powered) return 8575;
- if (Facing == eBlockFace::BLOCK_FACE_XP && !InWall && !Open && Powered) return 8576;
- return 8577;
- }
- short DarkOakFenceGate();
- eBlockFace Facing(short ID);
- bool InWall(short ID);
- bool Open(short ID);
- bool Powered(short ID);
- }
- namespace DarkOakLeaves
- {
- constexpr short DarkOakLeaves(unsigned char Distance, bool Persistent)
- {
- if (Distance == 1 && Persistent) return 215;
- if (Distance == 1 && !Persistent) return 216;
- if (Distance == 2 && Persistent) return 217;
- if (Distance == 2 && !Persistent) return 218;
- if (Distance == 3 && Persistent) return 219;
- if (Distance == 3 && !Persistent) return 220;
- if (Distance == 4 && Persistent) return 221;
- if (Distance == 4 && !Persistent) return 222;
- if (Distance == 5 && Persistent) return 223;
- if (Distance == 5 && !Persistent) return 224;
- if (Distance == 6 && Persistent) return 225;
- if (Distance == 6 && !Persistent) return 226;
- if (Distance == 7 && Persistent) return 227;
- return 228;
- }
- short DarkOakLeaves();
- unsigned char Distance(short ID);
- bool Persistent(short ID);
- }
- namespace DarkOakLog
- {
- enum class Axis
- {
- X,
- Y,
- Z
- };
- constexpr short DarkOakLog(enum Axis Axis)
- {
- if (Axis == Axis::X) return 88;
- if (Axis == Axis::Y) return 89;
- return 90;
- }
- short DarkOakLog();
- enum Axis Axis(short ID);
- }
- namespace DarkOakPlanks
- {
- constexpr short DarkOakPlanks()
- {
- return 20;
- }
- }
- namespace DarkOakPressurePlate
- {
- constexpr short DarkOakPressurePlate(bool Powered)
- {
- if (Powered) return 3883;
- return 3884;
- }
- short DarkOakPressurePlate();
- bool Powered(short ID);
- }
- namespace DarkOakSapling
- {
- constexpr short DarkOakSapling(unsigned char Stage)
- {
- if (Stage == 0) return 31;
- return 32;
- }
- short DarkOakSapling();
- unsigned char Stage(short ID);
- }
- namespace DarkOakSign
- {
- constexpr short DarkOakSign(unsigned char Rotation)
- {
- if (Rotation == 0) return 3542;
- if (Rotation == 1) return 3544;
- if (Rotation == 2) return 3546;
- if (Rotation == 3) return 3548;
- if (Rotation == 4) return 3550;
- if (Rotation == 5) return 3552;
- if (Rotation == 6) return 3554;
- if (Rotation == 7) return 3556;
- if (Rotation == 8) return 3558;
- if (Rotation == 9) return 3560;
- if (Rotation == 10) return 3562;
- if (Rotation == 11) return 3564;
- if (Rotation == 12) return 3566;
- if (Rotation == 13) return 3568;
- if (Rotation == 14) return 3570;
- return 3572;
- }
- short DarkOakSign();
- unsigned char Rotation(short ID);
- }
- namespace DarkOakSlab
- {
- enum class Type
- {
- Top,
- Bottom,
- Double
- };
- constexpr short DarkOakSlab(enum Type Type)
- {
- if (Type == Type::Top) return 8331;
- if (Type == Type::Bottom) return 8333;
- return 8335;
- }
- short DarkOakSlab();
- enum Type Type(short ID);
- }
- namespace DarkOakStairs
- {
- enum class Half
- {
- Top,
- Bottom
- };
- enum class Shape
- {
- Straight,
- InnerLeft,
- InnerRight,
- OuterLeft,
- OuterRight
- };
- constexpr short DarkOakStairs(eBlockFace Facing, enum Half Half, enum Shape Shape)
- {
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Top && Shape == Shape::Straight) return 7456;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Top && Shape == Shape::InnerLeft) return 7458;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Top && Shape == Shape::InnerRight) return 7460;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Top && Shape == Shape::OuterLeft) return 7462;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Top && Shape == Shape::OuterRight) return 7464;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Bottom && Shape == Shape::Straight) return 7466;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Bottom && Shape == Shape::InnerLeft) return 7468;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Bottom && Shape == Shape::InnerRight) return 7470;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Bottom && Shape == Shape::OuterLeft) return 7472;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Bottom && Shape == Shape::OuterRight) return 7474;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Top && Shape == Shape::Straight) return 7476;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Top && Shape == Shape::InnerLeft) return 7478;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Top && Shape == Shape::InnerRight) return 7480;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Top && Shape == Shape::OuterLeft) return 7482;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Top && Shape == Shape::OuterRight) return 7484;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Bottom && Shape == Shape::Straight) return 7486;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Bottom && Shape == Shape::InnerLeft) return 7488;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Bottom && Shape == Shape::InnerRight) return 7490;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Bottom && Shape == Shape::OuterLeft) return 7492;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Bottom && Shape == Shape::OuterRight) return 7494;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Top && Shape == Shape::Straight) return 7496;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Top && Shape == Shape::InnerLeft) return 7498;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Top && Shape == Shape::InnerRight) return 7500;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Top && Shape == Shape::OuterLeft) return 7502;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Top && Shape == Shape::OuterRight) return 7504;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Bottom && Shape == Shape::Straight) return 7506;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Bottom && Shape == Shape::InnerLeft) return 7508;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Bottom && Shape == Shape::InnerRight) return 7510;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Bottom && Shape == Shape::OuterLeft) return 7512;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Bottom && Shape == Shape::OuterRight) return 7514;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Top && Shape == Shape::Straight) return 7516;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Top && Shape == Shape::InnerLeft) return 7518;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Top && Shape == Shape::InnerRight) return 7520;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Top && Shape == Shape::OuterLeft) return 7522;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Top && Shape == Shape::OuterRight) return 7524;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Bottom && Shape == Shape::Straight) return 7526;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Bottom && Shape == Shape::InnerLeft) return 7528;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Bottom && Shape == Shape::InnerRight) return 7530;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Bottom && Shape == Shape::OuterLeft) return 7532;
- return 7534;
- }
- short DarkOakStairs();
- eBlockFace Facing(short ID);
- enum Half Half(short ID);
- enum Shape Shape(short ID);
- }
- namespace DarkOakTrapdoor
- {
- enum class Half
- {
- Top,
- Bottom
- };
- constexpr short DarkOakTrapdoor(eBlockFace Facing, enum Half Half, bool Open, bool Powered)
- {
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Top && Open && Powered) return 4432;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Top && Open && !Powered) return 4434;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Top && !Open && Powered) return 4436;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Top && !Open && !Powered) return 4438;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Bottom && Open && Powered) return 4440;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Bottom && Open && !Powered) return 4442;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Bottom && !Open && Powered) return 4444;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Bottom && !Open && !Powered) return 4446;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Top && Open && Powered) return 4448;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Top && Open && !Powered) return 4450;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Top && !Open && Powered) return 4452;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Top && !Open && !Powered) return 4454;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Bottom && Open && Powered) return 4456;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Bottom && Open && !Powered) return 4458;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Bottom && !Open && Powered) return 4460;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Bottom && !Open && !Powered) return 4462;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Top && Open && Powered) return 4464;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Top && Open && !Powered) return 4466;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Top && !Open && Powered) return 4468;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Top && !Open && !Powered) return 4470;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Bottom && Open && Powered) return 4472;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Bottom && Open && !Powered) return 4474;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Bottom && !Open && Powered) return 4476;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Bottom && !Open && !Powered) return 4478;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Top && Open && Powered) return 4480;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Top && Open && !Powered) return 4482;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Top && !Open && Powered) return 4484;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Top && !Open && !Powered) return 4486;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Bottom && Open && Powered) return 4488;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Bottom && Open && !Powered) return 4490;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Bottom && !Open && Powered) return 4492;
- return 4494;
- }
- short DarkOakTrapdoor();
- eBlockFace Facing(short ID);
- enum Half Half(short ID);
- bool Open(short ID);
- bool Powered(short ID);
- }
- namespace DarkOakWallSign
- {
- constexpr short DarkOakWallSign(eBlockFace Facing)
- {
- if (Facing == eBlockFace::BLOCK_FACE_ZM) return 3776;
- if (Facing == eBlockFace::BLOCK_FACE_ZP) return 3778;
- if (Facing == eBlockFace::BLOCK_FACE_XM) return 3780;
- return 3782;
- }
- short DarkOakWallSign();
- eBlockFace Facing(short ID);
- }
- namespace DarkOakWood
- {
- enum class Axis
- {
- X,
- Y,
- Z
- };
- constexpr short DarkOakWood(enum Axis Axis)
- {
- if (Axis == Axis::X) return 124;
- if (Axis == Axis::Y) return 125;
- return 126;
- }
- short DarkOakWood();
- enum Axis Axis(short ID);
- }
- namespace DarkPrismarine
- {
- constexpr short DarkPrismarine()
- {
- return 7603;
- }
- }
- namespace DarkPrismarineSlab
- {
- enum class Type
- {
- Top,
- Bottom,
- Double
- };
- constexpr short DarkPrismarineSlab(enum Type Type)
- {
- if (Type == Type::Top) return 7857;
- if (Type == Type::Bottom) return 7859;
- return 7861;
- }
- short DarkPrismarineSlab();
- enum Type Type(short ID);
- }
- namespace DarkPrismarineStairs
- {
- enum class Half
- {
- Top,
- Bottom
- };
- enum class Shape
- {
- Straight,
- InnerLeft,
- InnerRight,
- OuterLeft,
- OuterRight
- };
- constexpr short DarkPrismarineStairs(eBlockFace Facing, enum Half Half, enum Shape Shape)
- {
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Top && Shape == Shape::Straight) return 7765;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Top && Shape == Shape::InnerLeft) return 7767;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Top && Shape == Shape::InnerRight) return 7769;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Top && Shape == Shape::OuterLeft) return 7771;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Top && Shape == Shape::OuterRight) return 7773;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Bottom && Shape == Shape::Straight) return 7775;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Bottom && Shape == Shape::InnerLeft) return 7777;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Bottom && Shape == Shape::InnerRight) return 7779;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Bottom && Shape == Shape::OuterLeft) return 7781;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Bottom && Shape == Shape::OuterRight) return 7783;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Top && Shape == Shape::Straight) return 7785;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Top && Shape == Shape::InnerLeft) return 7787;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Top && Shape == Shape::InnerRight) return 7789;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Top && Shape == Shape::OuterLeft) return 7791;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Top && Shape == Shape::OuterRight) return 7793;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Bottom && Shape == Shape::Straight) return 7795;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Bottom && Shape == Shape::InnerLeft) return 7797;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Bottom && Shape == Shape::InnerRight) return 7799;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Bottom && Shape == Shape::OuterLeft) return 7801;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Bottom && Shape == Shape::OuterRight) return 7803;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Top && Shape == Shape::Straight) return 7805;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Top && Shape == Shape::InnerLeft) return 7807;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Top && Shape == Shape::InnerRight) return 7809;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Top && Shape == Shape::OuterLeft) return 7811;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Top && Shape == Shape::OuterRight) return 7813;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Bottom && Shape == Shape::Straight) return 7815;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Bottom && Shape == Shape::InnerLeft) return 7817;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Bottom && Shape == Shape::InnerRight) return 7819;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Bottom && Shape == Shape::OuterLeft) return 7821;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Bottom && Shape == Shape::OuterRight) return 7823;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Top && Shape == Shape::Straight) return 7825;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Top && Shape == Shape::InnerLeft) return 7827;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Top && Shape == Shape::InnerRight) return 7829;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Top && Shape == Shape::OuterLeft) return 7831;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Top && Shape == Shape::OuterRight) return 7833;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Bottom && Shape == Shape::Straight) return 7835;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Bottom && Shape == Shape::InnerLeft) return 7837;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Bottom && Shape == Shape::InnerRight) return 7839;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Bottom && Shape == Shape::OuterLeft) return 7841;
- return 7843;
- }
- short DarkPrismarineStairs();
- eBlockFace Facing(short ID);
- enum Half Half(short ID);
- enum Shape Shape(short ID);
- }
- namespace DaylightDetector
- {
- constexpr short DaylightDetector(bool Inverted, unsigned char Power)
- {
- if (Inverted && Power == 0) return 6694;
- if (Inverted && Power == 1) return 6695;
- if (Inverted && Power == 2) return 6696;
- if (Inverted && Power == 3) return 6697;
- if (Inverted && Power == 4) return 6698;
- if (Inverted && Power == 5) return 6699;
- if (Inverted && Power == 6) return 6700;
- if (Inverted && Power == 7) return 6701;
- if (Inverted && Power == 8) return 6702;
- if (Inverted && Power == 9) return 6703;
- if (Inverted && Power == 10) return 6704;
- if (Inverted && Power == 11) return 6705;
- if (Inverted && Power == 12) return 6706;
- if (Inverted && Power == 13) return 6707;
- if (Inverted && Power == 14) return 6708;
- if (Inverted && Power == 15) return 6709;
- if (!Inverted && Power == 0) return 6710;
- if (!Inverted && Power == 1) return 6711;
- if (!Inverted && Power == 2) return 6712;
- if (!Inverted && Power == 3) return 6713;
- if (!Inverted && Power == 4) return 6714;
- if (!Inverted && Power == 5) return 6715;
- if (!Inverted && Power == 6) return 6716;
- if (!Inverted && Power == 7) return 6717;
- if (!Inverted && Power == 8) return 6718;
- if (!Inverted && Power == 9) return 6719;
- if (!Inverted && Power == 10) return 6720;
- if (!Inverted && Power == 11) return 6721;
- if (!Inverted && Power == 12) return 6722;
- if (!Inverted && Power == 13) return 6723;
- if (!Inverted && Power == 14) return 6724;
- return 6725;
- }
- short DaylightDetector();
- bool Inverted(short ID);
- unsigned char Power(short ID);
- }
- namespace DeadBrainCoral
- {
- constexpr short DeadBrainCoral()
- {
- return 9523;
- }
- }
- namespace DeadBrainCoralBlock
- {
- constexpr short DeadBrainCoralBlock()
- {
- return 9511;
- }
- }
- namespace DeadBrainCoralFan
- {
- constexpr short DeadBrainCoralFan()
- {
- return 9543;
- }
- }
- namespace DeadBrainCoralWallFan
- {
- constexpr short DeadBrainCoralWallFan(eBlockFace Facing)
- {
- if (Facing == eBlockFace::BLOCK_FACE_ZM) return 9569;
- if (Facing == eBlockFace::BLOCK_FACE_ZP) return 9571;
- if (Facing == eBlockFace::BLOCK_FACE_XM) return 9573;
- return 9575;
- }
- short DeadBrainCoralWallFan();
- eBlockFace Facing(short ID);
- }
- namespace DeadBubbleCoral
- {
- constexpr short DeadBubbleCoral()
- {
- return 9525;
- }
- }
- namespace DeadBubbleCoralBlock
- {
- constexpr short DeadBubbleCoralBlock()
- {
- return 9512;
- }
- }
- namespace DeadBubbleCoralFan
- {
- constexpr short DeadBubbleCoralFan()
- {
- return 9545;
- }
- }
- namespace DeadBubbleCoralWallFan
- {
- constexpr short DeadBubbleCoralWallFan(eBlockFace Facing)
- {
- if (Facing == eBlockFace::BLOCK_FACE_ZM) return 9577;
- if (Facing == eBlockFace::BLOCK_FACE_ZP) return 9579;
- if (Facing == eBlockFace::BLOCK_FACE_XM) return 9581;
- return 9583;
- }
- short DeadBubbleCoralWallFan();
- eBlockFace Facing(short ID);
- }
- namespace DeadBush
- {
- constexpr short DeadBush()
- {
- return 1344;
- }
- }
- namespace DeadFireCoral
- {
- constexpr short DeadFireCoral()
- {
- return 9527;
- }
- }
- namespace DeadFireCoralBlock
- {
- constexpr short DeadFireCoralBlock()
- {
- return 9513;
- }
- }
- namespace DeadFireCoralFan
- {
- constexpr short DeadFireCoralFan()
- {
- return 9547;
- }
- }
- namespace DeadFireCoralWallFan
- {
- constexpr short DeadFireCoralWallFan(eBlockFace Facing)
- {
- if (Facing == eBlockFace::BLOCK_FACE_ZM) return 9585;
- if (Facing == eBlockFace::BLOCK_FACE_ZP) return 9587;
- if (Facing == eBlockFace::BLOCK_FACE_XM) return 9589;
- return 9591;
- }
- short DeadFireCoralWallFan();
- eBlockFace Facing(short ID);
- }
- namespace DeadHornCoral
- {
- constexpr short DeadHornCoral()
- {
- return 9529;
- }
- }
- namespace DeadHornCoralBlock
- {
- constexpr short DeadHornCoralBlock()
- {
- return 9514;
- }
- }
- namespace DeadHornCoralFan
- {
- constexpr short DeadHornCoralFan()
- {
- return 9549;
- }
- }
- namespace DeadHornCoralWallFan
- {
- constexpr short DeadHornCoralWallFan(eBlockFace Facing)
- {
- if (Facing == eBlockFace::BLOCK_FACE_ZM) return 9593;
- if (Facing == eBlockFace::BLOCK_FACE_ZP) return 9595;
- if (Facing == eBlockFace::BLOCK_FACE_XM) return 9597;
- return 9599;
- }
- short DeadHornCoralWallFan();
- eBlockFace Facing(short ID);
- }
- namespace DeadTubeCoral
- {
- constexpr short DeadTubeCoral()
- {
- return 9521;
- }
- }
- namespace DeadTubeCoralBlock
- {
- constexpr short DeadTubeCoralBlock()
- {
- return 9510;
- }
- }
- namespace DeadTubeCoralFan
- {
- constexpr short DeadTubeCoralFan()
- {
- return 9541;
- }
- }
- namespace DeadTubeCoralWallFan
- {
- constexpr short DeadTubeCoralWallFan(eBlockFace Facing)
- {
- if (Facing == eBlockFace::BLOCK_FACE_ZM) return 9561;
- if (Facing == eBlockFace::BLOCK_FACE_ZP) return 9563;
- if (Facing == eBlockFace::BLOCK_FACE_XM) return 9565;
- return 9567;
- }
- short DeadTubeCoralWallFan();
- eBlockFace Facing(short ID);
- }
- namespace DetectorRail
- {
- enum class Shape
- {
- NorthSouth,
- EastWest,
- AscendingEast,
- AscendingWest,
- AscendingNorth,
- AscendingSouth
- };
- constexpr short DetectorRail(bool Powered, enum Shape Shape)
- {
- if (Powered && Shape == Shape::NorthSouth) return 1317;
- if (Powered && Shape == Shape::EastWest) return 1318;
- if (Powered && Shape == Shape::AscendingEast) return 1319;
- if (Powered && Shape == Shape::AscendingWest) return 1320;
- if (Powered && Shape == Shape::AscendingNorth) return 1321;
- if (Powered && Shape == Shape::AscendingSouth) return 1322;
- if (!Powered && Shape == Shape::NorthSouth) return 1323;
- if (!Powered && Shape == Shape::EastWest) return 1324;
- if (!Powered && Shape == Shape::AscendingEast) return 1325;
- if (!Powered && Shape == Shape::AscendingWest) return 1326;
- if (!Powered && Shape == Shape::AscendingNorth) return 1327;
- return 1328;
- }
- short DetectorRail();
- bool Powered(short ID);
- enum Shape Shape(short ID);
- }
- namespace DiamondBlock
- {
- constexpr short DiamondBlock()
- {
- return 3355;
- }
- }
- namespace DiamondOre
- {
- constexpr short DiamondOre()
- {
- return 3354;
- }
- }
- namespace Diorite
- {
- constexpr short Diorite()
- {
- return 4;
- }
- }
- namespace DioriteSlab
- {
- enum class Type
- {
- Top,
- Bottom,
- Double
- };
- constexpr short DioriteSlab(enum Type Type)
- {
- if (Type == Type::Top) return 10862;
- if (Type == Type::Bottom) return 10864;
- return 10866;
- }
- short DioriteSlab();
- enum Type Type(short ID);
- }
- namespace DioriteStairs
- {
- enum class Half
- {
- Top,
- Bottom
- };
- enum class Shape
- {
- Straight,
- InnerLeft,
- InnerRight,
- OuterLeft,
- OuterRight
- };
- constexpr short DioriteStairs(eBlockFace Facing, enum Half Half, enum Shape Shape)
- {
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Top && Shape == Shape::Straight) return 10710;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Top && Shape == Shape::InnerLeft) return 10712;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Top && Shape == Shape::InnerRight) return 10714;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Top && Shape == Shape::OuterLeft) return 10716;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Top && Shape == Shape::OuterRight) return 10718;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Bottom && Shape == Shape::Straight) return 10720;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Bottom && Shape == Shape::InnerLeft) return 10722;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Bottom && Shape == Shape::InnerRight) return 10724;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Bottom && Shape == Shape::OuterLeft) return 10726;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Bottom && Shape == Shape::OuterRight) return 10728;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Top && Shape == Shape::Straight) return 10730;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Top && Shape == Shape::InnerLeft) return 10732;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Top && Shape == Shape::InnerRight) return 10734;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Top && Shape == Shape::OuterLeft) return 10736;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Top && Shape == Shape::OuterRight) return 10738;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Bottom && Shape == Shape::Straight) return 10740;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Bottom && Shape == Shape::InnerLeft) return 10742;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Bottom && Shape == Shape::InnerRight) return 10744;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Bottom && Shape == Shape::OuterLeft) return 10746;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Bottom && Shape == Shape::OuterRight) return 10748;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Top && Shape == Shape::Straight) return 10750;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Top && Shape == Shape::InnerLeft) return 10752;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Top && Shape == Shape::InnerRight) return 10754;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Top && Shape == Shape::OuterLeft) return 10756;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Top && Shape == Shape::OuterRight) return 10758;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Bottom && Shape == Shape::Straight) return 10760;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Bottom && Shape == Shape::InnerLeft) return 10762;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Bottom && Shape == Shape::InnerRight) return 10764;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Bottom && Shape == Shape::OuterLeft) return 10766;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Bottom && Shape == Shape::OuterRight) return 10768;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Top && Shape == Shape::Straight) return 10770;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Top && Shape == Shape::InnerLeft) return 10772;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Top && Shape == Shape::InnerRight) return 10774;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Top && Shape == Shape::OuterLeft) return 10776;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Top && Shape == Shape::OuterRight) return 10778;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Bottom && Shape == Shape::Straight) return 10780;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Bottom && Shape == Shape::InnerLeft) return 10782;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Bottom && Shape == Shape::InnerRight) return 10784;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Bottom && Shape == Shape::OuterLeft) return 10786;
- return 10788;
- }
- short DioriteStairs();
- eBlockFace Facing(short ID);
- enum Half Half(short ID);
- enum Shape Shape(short ID);
- }
- namespace DioriteWall
- {
- enum class East
- {
- None,
- Low,
- Tall
- };
- enum class North
- {
- None,
- Low,
- Tall
- };
- enum class South
- {
- None,
- Low,
- Tall
- };
- enum class West
- {
- None,
- Low,
- Tall
- };
- constexpr short DioriteWall(enum East East, enum North North, enum South South, bool Up, enum West West)
- {
- if (East == East::None && North == North::None && South == South::None && Up && West == West::None) return 14434;
- if (East == East::None && North == North::None && South == South::None && Up && West == West::Low) return 14435;
- if (East == East::None && North == North::None && South == South::None && Up && West == West::Tall) return 14436;
- if (East == East::None && North == North::None && South == South::None && !Up && West == West::None) return 14440;
- if (East == East::None && North == North::None && South == South::None && !Up && West == West::Low) return 14441;
- if (East == East::None && North == North::None && South == South::None && !Up && West == West::Tall) return 14442;
- if (East == East::None && North == North::None && South == South::Low && Up && West == West::None) return 14446;
- if (East == East::None && North == North::None && South == South::Low && Up && West == West::Low) return 14447;
- if (East == East::None && North == North::None && South == South::Low && Up && West == West::Tall) return 14448;
- if (East == East::None && North == North::None && South == South::Low && !Up && West == West::None) return 14452;
- if (East == East::None && North == North::None && South == South::Low && !Up && West == West::Low) return 14453;
- if (East == East::None && North == North::None && South == South::Low && !Up && West == West::Tall) return 14454;
- if (East == East::None && North == North::None && South == South::Tall && Up && West == West::None) return 14458;
- if (East == East::None && North == North::None && South == South::Tall && Up && West == West::Low) return 14459;
- if (East == East::None && North == North::None && South == South::Tall && Up && West == West::Tall) return 14460;
- if (East == East::None && North == North::None && South == South::Tall && !Up && West == West::None) return 14464;
- if (East == East::None && North == North::None && South == South::Tall && !Up && West == West::Low) return 14465;
- if (East == East::None && North == North::None && South == South::Tall && !Up && West == West::Tall) return 14466;
- if (East == East::None && North == North::Low && South == South::None && Up && West == West::None) return 14470;
- if (East == East::None && North == North::Low && South == South::None && Up && West == West::Low) return 14471;
- if (East == East::None && North == North::Low && South == South::None && Up && West == West::Tall) return 14472;
- if (East == East::None && North == North::Low && South == South::None && !Up && West == West::None) return 14476;
- if (East == East::None && North == North::Low && South == South::None && !Up && West == West::Low) return 14477;
- if (East == East::None && North == North::Low && South == South::None && !Up && West == West::Tall) return 14478;
- if (East == East::None && North == North::Low && South == South::Low && Up && West == West::None) return 14482;
- if (East == East::None && North == North::Low && South == South::Low && Up && West == West::Low) return 14483;
- if (East == East::None && North == North::Low && South == South::Low && Up && West == West::Tall) return 14484;
- if (East == East::None && North == North::Low && South == South::Low && !Up && West == West::None) return 14488;
- if (East == East::None && North == North::Low && South == South::Low && !Up && West == West::Low) return 14489;
- if (East == East::None && North == North::Low && South == South::Low && !Up && West == West::Tall) return 14490;
- if (East == East::None && North == North::Low && South == South::Tall && Up && West == West::None) return 14494;
- if (East == East::None && North == North::Low && South == South::Tall && Up && West == West::Low) return 14495;
- if (East == East::None && North == North::Low && South == South::Tall && Up && West == West::Tall) return 14496;
- if (East == East::None && North == North::Low && South == South::Tall && !Up && West == West::None) return 14500;
- if (East == East::None && North == North::Low && South == South::Tall && !Up && West == West::Low) return 14501;
- if (East == East::None && North == North::Low && South == South::Tall && !Up && West == West::Tall) return 14502;
- if (East == East::None && North == North::Tall && South == South::None && Up && West == West::None) return 14506;
- if (East == East::None && North == North::Tall && South == South::None && Up && West == West::Low) return 14507;
- if (East == East::None && North == North::Tall && South == South::None && Up && West == West::Tall) return 14508;
- if (East == East::None && North == North::Tall && South == South::None && !Up && West == West::None) return 14512;
- if (East == East::None && North == North::Tall && South == South::None && !Up && West == West::Low) return 14513;
- if (East == East::None && North == North::Tall && South == South::None && !Up && West == West::Tall) return 14514;
- if (East == East::None && North == North::Tall && South == South::Low && Up && West == West::None) return 14518;
- if (East == East::None && North == North::Tall && South == South::Low && Up && West == West::Low) return 14519;
- if (East == East::None && North == North::Tall && South == South::Low && Up && West == West::Tall) return 14520;
- if (East == East::None && North == North::Tall && South == South::Low && !Up && West == West::None) return 14524;
- if (East == East::None && North == North::Tall && South == South::Low && !Up && West == West::Low) return 14525;
- if (East == East::None && North == North::Tall && South == South::Low && !Up && West == West::Tall) return 14526;
- if (East == East::None && North == North::Tall && South == South::Tall && Up && West == West::None) return 14530;
- if (East == East::None && North == North::Tall && South == South::Tall && Up && West == West::Low) return 14531;
- if (East == East::None && North == North::Tall && South == South::Tall && Up && West == West::Tall) return 14532;
- if (East == East::None && North == North::Tall && South == South::Tall && !Up && West == West::None) return 14536;
- if (East == East::None && North == North::Tall && South == South::Tall && !Up && West == West::Low) return 14537;
- if (East == East::None && North == North::Tall && South == South::Tall && !Up && West == West::Tall) return 14538;
- if (East == East::Low && North == North::None && South == South::None && Up && West == West::None) return 14542;
- if (East == East::Low && North == North::None && South == South::None && Up && West == West::Low) return 14543;
- if (East == East::Low && North == North::None && South == South::None && Up && West == West::Tall) return 14544;
- if (East == East::Low && North == North::None && South == South::None && !Up && West == West::None) return 14548;
- if (East == East::Low && North == North::None && South == South::None && !Up && West == West::Low) return 14549;
- if (East == East::Low && North == North::None && South == South::None && !Up && West == West::Tall) return 14550;
- if (East == East::Low && North == North::None && South == South::Low && Up && West == West::None) return 14554;
- if (East == East::Low && North == North::None && South == South::Low && Up && West == West::Low) return 14555;
- if (East == East::Low && North == North::None && South == South::Low && Up && West == West::Tall) return 14556;
- if (East == East::Low && North == North::None && South == South::Low && !Up && West == West::None) return 14560;
- if (East == East::Low && North == North::None && South == South::Low && !Up && West == West::Low) return 14561;
- if (East == East::Low && North == North::None && South == South::Low && !Up && West == West::Tall) return 14562;
- if (East == East::Low && North == North::None && South == South::Tall && Up && West == West::None) return 14566;
- if (East == East::Low && North == North::None && South == South::Tall && Up && West == West::Low) return 14567;
- if (East == East::Low && North == North::None && South == South::Tall && Up && West == West::Tall) return 14568;
- if (East == East::Low && North == North::None && South == South::Tall && !Up && West == West::None) return 14572;
- if (East == East::Low && North == North::None && South == South::Tall && !Up && West == West::Low) return 14573;
- if (East == East::Low && North == North::None && South == South::Tall && !Up && West == West::Tall) return 14574;
- if (East == East::Low && North == North::Low && South == South::None && Up && West == West::None) return 14578;
- if (East == East::Low && North == North::Low && South == South::None && Up && West == West::Low) return 14579;
- if (East == East::Low && North == North::Low && South == South::None && Up && West == West::Tall) return 14580;
- if (East == East::Low && North == North::Low && South == South::None && !Up && West == West::None) return 14584;
- if (East == East::Low && North == North::Low && South == South::None && !Up && West == West::Low) return 14585;
- if (East == East::Low && North == North::Low && South == South::None && !Up && West == West::Tall) return 14586;
- if (East == East::Low && North == North::Low && South == South::Low && Up && West == West::None) return 14590;
- if (East == East::Low && North == North::Low && South == South::Low && Up && West == West::Low) return 14591;
- if (East == East::Low && North == North::Low && South == South::Low && Up && West == West::Tall) return 14592;
- if (East == East::Low && North == North::Low && South == South::Low && !Up && West == West::None) return 14596;
- if (East == East::Low && North == North::Low && South == South::Low && !Up && West == West::Low) return 14597;
- if (East == East::Low && North == North::Low && South == South::Low && !Up && West == West::Tall) return 14598;
- if (East == East::Low && North == North::Low && South == South::Tall && Up && West == West::None) return 14602;
- if (East == East::Low && North == North::Low && South == South::Tall && Up && West == West::Low) return 14603;
- if (East == East::Low && North == North::Low && South == South::Tall && Up && West == West::Tall) return 14604;
- if (East == East::Low && North == North::Low && South == South::Tall && !Up && West == West::None) return 14608;
- if (East == East::Low && North == North::Low && South == South::Tall && !Up && West == West::Low) return 14609;
- if (East == East::Low && North == North::Low && South == South::Tall && !Up && West == West::Tall) return 14610;
- if (East == East::Low && North == North::Tall && South == South::None && Up && West == West::None) return 14614;
- if (East == East::Low && North == North::Tall && South == South::None && Up && West == West::Low) return 14615;
- if (East == East::Low && North == North::Tall && South == South::None && Up && West == West::Tall) return 14616;
- if (East == East::Low && North == North::Tall && South == South::None && !Up && West == West::None) return 14620;
- if (East == East::Low && North == North::Tall && South == South::None && !Up && West == West::Low) return 14621;
- if (East == East::Low && North == North::Tall && South == South::None && !Up && West == West::Tall) return 14622;
- if (East == East::Low && North == North::Tall && South == South::Low && Up && West == West::None) return 14626;
- if (East == East::Low && North == North::Tall && South == South::Low && Up && West == West::Low) return 14627;
- if (East == East::Low && North == North::Tall && South == South::Low && Up && West == West::Tall) return 14628;
- if (East == East::Low && North == North::Tall && South == South::Low && !Up && West == West::None) return 14632;
- if (East == East::Low && North == North::Tall && South == South::Low && !Up && West == West::Low) return 14633;
- if (East == East::Low && North == North::Tall && South == South::Low && !Up && West == West::Tall) return 14634;
- if (East == East::Low && North == North::Tall && South == South::Tall && Up && West == West::None) return 14638;
- if (East == East::Low && North == North::Tall && South == South::Tall && Up && West == West::Low) return 14639;
- if (East == East::Low && North == North::Tall && South == South::Tall && Up && West == West::Tall) return 14640;
- if (East == East::Low && North == North::Tall && South == South::Tall && !Up && West == West::None) return 14644;
- if (East == East::Low && North == North::Tall && South == South::Tall && !Up && West == West::Low) return 14645;
- if (East == East::Low && North == North::Tall && South == South::Tall && !Up && West == West::Tall) return 14646;
- if (East == East::Tall && North == North::None && South == South::None && Up && West == West::None) return 14650;
- if (East == East::Tall && North == North::None && South == South::None && Up && West == West::Low) return 14651;
- if (East == East::Tall && North == North::None && South == South::None && Up && West == West::Tall) return 14652;
- if (East == East::Tall && North == North::None && South == South::None && !Up && West == West::None) return 14656;
- if (East == East::Tall && North == North::None && South == South::None && !Up && West == West::Low) return 14657;
- if (East == East::Tall && North == North::None && South == South::None && !Up && West == West::Tall) return 14658;
- if (East == East::Tall && North == North::None && South == South::Low && Up && West == West::None) return 14662;
- if (East == East::Tall && North == North::None && South == South::Low && Up && West == West::Low) return 14663;
- if (East == East::Tall && North == North::None && South == South::Low && Up && West == West::Tall) return 14664;
- if (East == East::Tall && North == North::None && South == South::Low && !Up && West == West::None) return 14668;
- if (East == East::Tall && North == North::None && South == South::Low && !Up && West == West::Low) return 14669;
- if (East == East::Tall && North == North::None && South == South::Low && !Up && West == West::Tall) return 14670;
- if (East == East::Tall && North == North::None && South == South::Tall && Up && West == West::None) return 14674;
- if (East == East::Tall && North == North::None && South == South::Tall && Up && West == West::Low) return 14675;
- if (East == East::Tall && North == North::None && South == South::Tall && Up && West == West::Tall) return 14676;
- if (East == East::Tall && North == North::None && South == South::Tall && !Up && West == West::None) return 14680;
- if (East == East::Tall && North == North::None && South == South::Tall && !Up && West == West::Low) return 14681;
- if (East == East::Tall && North == North::None && South == South::Tall && !Up && West == West::Tall) return 14682;
- if (East == East::Tall && North == North::Low && South == South::None && Up && West == West::None) return 14686;
- if (East == East::Tall && North == North::Low && South == South::None && Up && West == West::Low) return 14687;
- if (East == East::Tall && North == North::Low && South == South::None && Up && West == West::Tall) return 14688;
- if (East == East::Tall && North == North::Low && South == South::None && !Up && West == West::None) return 14692;
- if (East == East::Tall && North == North::Low && South == South::None && !Up && West == West::Low) return 14693;
- if (East == East::Tall && North == North::Low && South == South::None && !Up && West == West::Tall) return 14694;
- if (East == East::Tall && North == North::Low && South == South::Low && Up && West == West::None) return 14698;
- if (East == East::Tall && North == North::Low && South == South::Low && Up && West == West::Low) return 14699;
- if (East == East::Tall && North == North::Low && South == South::Low && Up && West == West::Tall) return 14700;
- if (East == East::Tall && North == North::Low && South == South::Low && !Up && West == West::None) return 14704;
- if (East == East::Tall && North == North::Low && South == South::Low && !Up && West == West::Low) return 14705;
- if (East == East::Tall && North == North::Low && South == South::Low && !Up && West == West::Tall) return 14706;
- if (East == East::Tall && North == North::Low && South == South::Tall && Up && West == West::None) return 14710;
- if (East == East::Tall && North == North::Low && South == South::Tall && Up && West == West::Low) return 14711;
- if (East == East::Tall && North == North::Low && South == South::Tall && Up && West == West::Tall) return 14712;
- if (East == East::Tall && North == North::Low && South == South::Tall && !Up && West == West::None) return 14716;
- if (East == East::Tall && North == North::Low && South == South::Tall && !Up && West == West::Low) return 14717;
- if (East == East::Tall && North == North::Low && South == South::Tall && !Up && West == West::Tall) return 14718;
- if (East == East::Tall && North == North::Tall && South == South::None && Up && West == West::None) return 14722;
- if (East == East::Tall && North == North::Tall && South == South::None && Up && West == West::Low) return 14723;
- if (East == East::Tall && North == North::Tall && South == South::None && Up && West == West::Tall) return 14724;
- if (East == East::Tall && North == North::Tall && South == South::None && !Up && West == West::None) return 14728;
- if (East == East::Tall && North == North::Tall && South == South::None && !Up && West == West::Low) return 14729;
- if (East == East::Tall && North == North::Tall && South == South::None && !Up && West == West::Tall) return 14730;
- if (East == East::Tall && North == North::Tall && South == South::Low && Up && West == West::None) return 14734;
- if (East == East::Tall && North == North::Tall && South == South::Low && Up && West == West::Low) return 14735;
- if (East == East::Tall && North == North::Tall && South == South::Low && Up && West == West::Tall) return 14736;
- if (East == East::Tall && North == North::Tall && South == South::Low && !Up && West == West::None) return 14740;
- if (East == East::Tall && North == North::Tall && South == South::Low && !Up && West == West::Low) return 14741;
- if (East == East::Tall && North == North::Tall && South == South::Low && !Up && West == West::Tall) return 14742;
- if (East == East::Tall && North == North::Tall && South == South::Tall && Up && West == West::None) return 14746;
- if (East == East::Tall && North == North::Tall && South == South::Tall && Up && West == West::Low) return 14747;
- if (East == East::Tall && North == North::Tall && South == South::Tall && Up && West == West::Tall) return 14748;
- if (East == East::Tall && North == North::Tall && South == South::Tall && !Up && West == West::None) return 14752;
- if (East == East::Tall && North == North::Tall && South == South::Tall && !Up && West == West::Low) return 14753;
- return 14754;
- }
- short DioriteWall();
- enum East East(short ID);
- enum North North(short ID);
- enum South South(short ID);
- bool Up(short ID);
- enum West West(short ID);
- }
- namespace Dirt
- {
- constexpr short Dirt()
- {
- return 10;
- }
- }
- namespace Dispenser
- {
- constexpr short Dispenser(eBlockFace Facing, bool Triggered)
- {
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Triggered) return 234;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && !Triggered) return 235;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Triggered) return 236;
- if (Facing == eBlockFace::BLOCK_FACE_XP && !Triggered) return 237;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Triggered) return 238;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && !Triggered) return 239;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Triggered) return 240;
- if (Facing == eBlockFace::BLOCK_FACE_XM && !Triggered) return 241;
- if (Facing == eBlockFace::BLOCK_FACE_YP && Triggered) return 242;
- if (Facing == eBlockFace::BLOCK_FACE_YP && !Triggered) return 243;
- if (Facing == eBlockFace::BLOCK_FACE_YM && Triggered) return 244;
- return 245;
- }
- short Dispenser();
- eBlockFace Facing(short ID);
- bool Triggered(short ID);
- }
- namespace DragonEgg
- {
- constexpr short DragonEgg()
- {
- return 5155;
- }
- }
- namespace DragonHead
- {
- constexpr short DragonHead(unsigned char Rotation)
- {
- if (Rotation == 0) return 6590;
- if (Rotation == 1) return 6591;
- if (Rotation == 2) return 6592;
- if (Rotation == 3) return 6593;
- if (Rotation == 4) return 6594;
- if (Rotation == 5) return 6595;
- if (Rotation == 6) return 6596;
- if (Rotation == 7) return 6597;
- if (Rotation == 8) return 6598;
- if (Rotation == 9) return 6599;
- if (Rotation == 10) return 6600;
- if (Rotation == 11) return 6601;
- if (Rotation == 12) return 6602;
- if (Rotation == 13) return 6603;
- if (Rotation == 14) return 6604;
- return 6605;
- }
- short DragonHead();
- unsigned char Rotation(short ID);
- }
- namespace DragonWallHead
- {
- constexpr short DragonWallHead(eBlockFace Facing)
- {
- if (Facing == eBlockFace::BLOCK_FACE_ZM) return 6606;
- if (Facing == eBlockFace::BLOCK_FACE_ZP) return 6607;
- if (Facing == eBlockFace::BLOCK_FACE_XM) return 6608;
- return 6609;
- }
- short DragonWallHead();
- eBlockFace Facing(short ID);
- }
- namespace DriedKelpBlock
- {
- constexpr short DriedKelpBlock()
- {
- return 9497;
- }
- }
- namespace Dropper
- {
- constexpr short Dropper(eBlockFace Facing, bool Triggered)
- {
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Triggered) return 6835;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && !Triggered) return 6836;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Triggered) return 6837;
- if (Facing == eBlockFace::BLOCK_FACE_XP && !Triggered) return 6838;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Triggered) return 6839;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && !Triggered) return 6840;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Triggered) return 6841;
- if (Facing == eBlockFace::BLOCK_FACE_XM && !Triggered) return 6842;
- if (Facing == eBlockFace::BLOCK_FACE_YP && Triggered) return 6843;
- if (Facing == eBlockFace::BLOCK_FACE_YP && !Triggered) return 6844;
- if (Facing == eBlockFace::BLOCK_FACE_YM && Triggered) return 6845;
- return 6846;
- }
- short Dropper();
- eBlockFace Facing(short ID);
- bool Triggered(short ID);
- }
- namespace EmeraldBlock
- {
- constexpr short EmeraldBlock()
- {
- return 5403;
- }
- }
- namespace EmeraldOre
- {
- constexpr short EmeraldOre()
- {
- return 5250;
- }
- }
- namespace EnchantingTable
- {
- constexpr short EnchantingTable()
- {
- return 5132;
- }
- }
- namespace EndGateway
- {
- constexpr short EndGateway()
- {
- return 9224;
- }
- }
- namespace EndPortal
- {
- constexpr short EndPortal()
- {
- return 5145;
- }
- }
- namespace EndPortalFrame
- {
- constexpr short EndPortalFrame(bool Eye, eBlockFace Facing)
- {
- if (Eye && Facing == eBlockFace::BLOCK_FACE_ZM) return 5146;
- if (Eye && Facing == eBlockFace::BLOCK_FACE_ZP) return 5147;
- if (Eye && Facing == eBlockFace::BLOCK_FACE_XM) return 5148;
- if (Eye && Facing == eBlockFace::BLOCK_FACE_XP) return 5149;
- if (!Eye && Facing == eBlockFace::BLOCK_FACE_ZM) return 5150;
- if (!Eye && Facing == eBlockFace::BLOCK_FACE_ZP) return 5151;
- if (!Eye && Facing == eBlockFace::BLOCK_FACE_XM) return 5152;
- return 5153;
- }
- short EndPortalFrame();
- bool Eye(short ID);
- eBlockFace Facing(short ID);
- }
- namespace EndRod
- {
- constexpr short EndRod(eBlockFace Facing)
- {
- if (Facing == eBlockFace::BLOCK_FACE_ZM) return 9058;
- if (Facing == eBlockFace::BLOCK_FACE_XP) return 9059;
- if (Facing == eBlockFace::BLOCK_FACE_ZP) return 9060;
- if (Facing == eBlockFace::BLOCK_FACE_XM) return 9061;
- if (Facing == eBlockFace::BLOCK_FACE_YP) return 9062;
- return 9063;
- }
- short EndRod();
- eBlockFace Facing(short ID);
- }
- namespace EndStone
- {
- constexpr short EndStone()
- {
- return 5154;
- }
- }
- namespace EndStoneBrickSlab
- {
- enum class Type
- {
- Top,
- Bottom,
- Double
- };
- constexpr short EndStoneBrickSlab(enum Type Type)
- {
- if (Type == Type::Top) return 10820;
- if (Type == Type::Bottom) return 10822;
- return 10824;
- }
- short EndStoneBrickSlab();
- enum Type Type(short ID);
- }
- namespace EndStoneBrickStairs
- {
- enum class Half
- {
- Top,
- Bottom
- };
- enum class Shape
- {
- Straight,
- InnerLeft,
- InnerRight,
- OuterLeft,
- OuterRight
- };
- constexpr short EndStoneBrickStairs(eBlockFace Facing, enum Half Half, enum Shape Shape)
- {
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Top && Shape == Shape::Straight) return 10070;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Top && Shape == Shape::InnerLeft) return 10072;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Top && Shape == Shape::InnerRight) return 10074;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Top && Shape == Shape::OuterLeft) return 10076;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Top && Shape == Shape::OuterRight) return 10078;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Bottom && Shape == Shape::Straight) return 10080;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Bottom && Shape == Shape::InnerLeft) return 10082;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Bottom && Shape == Shape::InnerRight) return 10084;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Bottom && Shape == Shape::OuterLeft) return 10086;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Bottom && Shape == Shape::OuterRight) return 10088;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Top && Shape == Shape::Straight) return 10090;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Top && Shape == Shape::InnerLeft) return 10092;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Top && Shape == Shape::InnerRight) return 10094;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Top && Shape == Shape::OuterLeft) return 10096;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Top && Shape == Shape::OuterRight) return 10098;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Bottom && Shape == Shape::Straight) return 10100;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Bottom && Shape == Shape::InnerLeft) return 10102;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Bottom && Shape == Shape::InnerRight) return 10104;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Bottom && Shape == Shape::OuterLeft) return 10106;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Bottom && Shape == Shape::OuterRight) return 10108;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Top && Shape == Shape::Straight) return 10110;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Top && Shape == Shape::InnerLeft) return 10112;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Top && Shape == Shape::InnerRight) return 10114;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Top && Shape == Shape::OuterLeft) return 10116;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Top && Shape == Shape::OuterRight) return 10118;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Bottom && Shape == Shape::Straight) return 10120;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Bottom && Shape == Shape::InnerLeft) return 10122;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Bottom && Shape == Shape::InnerRight) return 10124;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Bottom && Shape == Shape::OuterLeft) return 10126;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Bottom && Shape == Shape::OuterRight) return 10128;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Top && Shape == Shape::Straight) return 10130;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Top && Shape == Shape::InnerLeft) return 10132;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Top && Shape == Shape::InnerRight) return 10134;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Top && Shape == Shape::OuterLeft) return 10136;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Top && Shape == Shape::OuterRight) return 10138;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Bottom && Shape == Shape::Straight) return 10140;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Bottom && Shape == Shape::InnerLeft) return 10142;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Bottom && Shape == Shape::InnerRight) return 10144;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Bottom && Shape == Shape::OuterLeft) return 10146;
- return 10148;
- }
- short EndStoneBrickStairs();
- eBlockFace Facing(short ID);
- enum Half Half(short ID);
- enum Shape Shape(short ID);
- }
- namespace EndStoneBrickWall
- {
- enum class East
- {
- None,
- Low,
- Tall
- };
- enum class North
- {
- None,
- Low,
- Tall
- };
- enum class South
- {
- None,
- Low,
- Tall
- };
- enum class West
- {
- None,
- Low,
- Tall
- };
- constexpr short EndStoneBrickWall(enum East East, enum North North, enum South South, bool Up, enum West West)
- {
- if (East == East::None && North == North::None && South == South::None && Up && West == West::None) return 14110;
- if (East == East::None && North == North::None && South == South::None && Up && West == West::Low) return 14111;
- if (East == East::None && North == North::None && South == South::None && Up && West == West::Tall) return 14112;
- if (East == East::None && North == North::None && South == South::None && !Up && West == West::None) return 14116;
- if (East == East::None && North == North::None && South == South::None && !Up && West == West::Low) return 14117;
- if (East == East::None && North == North::None && South == South::None && !Up && West == West::Tall) return 14118;
- if (East == East::None && North == North::None && South == South::Low && Up && West == West::None) return 14122;
- if (East == East::None && North == North::None && South == South::Low && Up && West == West::Low) return 14123;
- if (East == East::None && North == North::None && South == South::Low && Up && West == West::Tall) return 14124;
- if (East == East::None && North == North::None && South == South::Low && !Up && West == West::None) return 14128;
- if (East == East::None && North == North::None && South == South::Low && !Up && West == West::Low) return 14129;
- if (East == East::None && North == North::None && South == South::Low && !Up && West == West::Tall) return 14130;
- if (East == East::None && North == North::None && South == South::Tall && Up && West == West::None) return 14134;
- if (East == East::None && North == North::None && South == South::Tall && Up && West == West::Low) return 14135;
- if (East == East::None && North == North::None && South == South::Tall && Up && West == West::Tall) return 14136;
- if (East == East::None && North == North::None && South == South::Tall && !Up && West == West::None) return 14140;
- if (East == East::None && North == North::None && South == South::Tall && !Up && West == West::Low) return 14141;
- if (East == East::None && North == North::None && South == South::Tall && !Up && West == West::Tall) return 14142;
- if (East == East::None && North == North::Low && South == South::None && Up && West == West::None) return 14146;
- if (East == East::None && North == North::Low && South == South::None && Up && West == West::Low) return 14147;
- if (East == East::None && North == North::Low && South == South::None && Up && West == West::Tall) return 14148;
- if (East == East::None && North == North::Low && South == South::None && !Up && West == West::None) return 14152;
- if (East == East::None && North == North::Low && South == South::None && !Up && West == West::Low) return 14153;
- if (East == East::None && North == North::Low && South == South::None && !Up && West == West::Tall) return 14154;
- if (East == East::None && North == North::Low && South == South::Low && Up && West == West::None) return 14158;
- if (East == East::None && North == North::Low && South == South::Low && Up && West == West::Low) return 14159;
- if (East == East::None && North == North::Low && South == South::Low && Up && West == West::Tall) return 14160;
- if (East == East::None && North == North::Low && South == South::Low && !Up && West == West::None) return 14164;
- if (East == East::None && North == North::Low && South == South::Low && !Up && West == West::Low) return 14165;
- if (East == East::None && North == North::Low && South == South::Low && !Up && West == West::Tall) return 14166;
- if (East == East::None && North == North::Low && South == South::Tall && Up && West == West::None) return 14170;
- if (East == East::None && North == North::Low && South == South::Tall && Up && West == West::Low) return 14171;
- if (East == East::None && North == North::Low && South == South::Tall && Up && West == West::Tall) return 14172;
- if (East == East::None && North == North::Low && South == South::Tall && !Up && West == West::None) return 14176;
- if (East == East::None && North == North::Low && South == South::Tall && !Up && West == West::Low) return 14177;
- if (East == East::None && North == North::Low && South == South::Tall && !Up && West == West::Tall) return 14178;
- if (East == East::None && North == North::Tall && South == South::None && Up && West == West::None) return 14182;
- if (East == East::None && North == North::Tall && South == South::None && Up && West == West::Low) return 14183;
- if (East == East::None && North == North::Tall && South == South::None && Up && West == West::Tall) return 14184;
- if (East == East::None && North == North::Tall && South == South::None && !Up && West == West::None) return 14188;
- if (East == East::None && North == North::Tall && South == South::None && !Up && West == West::Low) return 14189;
- if (East == East::None && North == North::Tall && South == South::None && !Up && West == West::Tall) return 14190;
- if (East == East::None && North == North::Tall && South == South::Low && Up && West == West::None) return 14194;
- if (East == East::None && North == North::Tall && South == South::Low && Up && West == West::Low) return 14195;
- if (East == East::None && North == North::Tall && South == South::Low && Up && West == West::Tall) return 14196;
- if (East == East::None && North == North::Tall && South == South::Low && !Up && West == West::None) return 14200;
- if (East == East::None && North == North::Tall && South == South::Low && !Up && West == West::Low) return 14201;
- if (East == East::None && North == North::Tall && South == South::Low && !Up && West == West::Tall) return 14202;
- if (East == East::None && North == North::Tall && South == South::Tall && Up && West == West::None) return 14206;
- if (East == East::None && North == North::Tall && South == South::Tall && Up && West == West::Low) return 14207;
- if (East == East::None && North == North::Tall && South == South::Tall && Up && West == West::Tall) return 14208;
- if (East == East::None && North == North::Tall && South == South::Tall && !Up && West == West::None) return 14212;
- if (East == East::None && North == North::Tall && South == South::Tall && !Up && West == West::Low) return 14213;
- if (East == East::None && North == North::Tall && South == South::Tall && !Up && West == West::Tall) return 14214;
- if (East == East::Low && North == North::None && South == South::None && Up && West == West::None) return 14218;
- if (East == East::Low && North == North::None && South == South::None && Up && West == West::Low) return 14219;
- if (East == East::Low && North == North::None && South == South::None && Up && West == West::Tall) return 14220;
- if (East == East::Low && North == North::None && South == South::None && !Up && West == West::None) return 14224;
- if (East == East::Low && North == North::None && South == South::None && !Up && West == West::Low) return 14225;
- if (East == East::Low && North == North::None && South == South::None && !Up && West == West::Tall) return 14226;
- if (East == East::Low && North == North::None && South == South::Low && Up && West == West::None) return 14230;
- if (East == East::Low && North == North::None && South == South::Low && Up && West == West::Low) return 14231;
- if (East == East::Low && North == North::None && South == South::Low && Up && West == West::Tall) return 14232;
- if (East == East::Low && North == North::None && South == South::Low && !Up && West == West::None) return 14236;
- if (East == East::Low && North == North::None && South == South::Low && !Up && West == West::Low) return 14237;
- if (East == East::Low && North == North::None && South == South::Low && !Up && West == West::Tall) return 14238;
- if (East == East::Low && North == North::None && South == South::Tall && Up && West == West::None) return 14242;
- if (East == East::Low && North == North::None && South == South::Tall && Up && West == West::Low) return 14243;
- if (East == East::Low && North == North::None && South == South::Tall && Up && West == West::Tall) return 14244;
- if (East == East::Low && North == North::None && South == South::Tall && !Up && West == West::None) return 14248;
- if (East == East::Low && North == North::None && South == South::Tall && !Up && West == West::Low) return 14249;
- if (East == East::Low && North == North::None && South == South::Tall && !Up && West == West::Tall) return 14250;
- if (East == East::Low && North == North::Low && South == South::None && Up && West == West::None) return 14254;
- if (East == East::Low && North == North::Low && South == South::None && Up && West == West::Low) return 14255;
- if (East == East::Low && North == North::Low && South == South::None && Up && West == West::Tall) return 14256;
- if (East == East::Low && North == North::Low && South == South::None && !Up && West == West::None) return 14260;
- if (East == East::Low && North == North::Low && South == South::None && !Up && West == West::Low) return 14261;
- if (East == East::Low && North == North::Low && South == South::None && !Up && West == West::Tall) return 14262;
- if (East == East::Low && North == North::Low && South == South::Low && Up && West == West::None) return 14266;
- if (East == East::Low && North == North::Low && South == South::Low && Up && West == West::Low) return 14267;
- if (East == East::Low && North == North::Low && South == South::Low && Up && West == West::Tall) return 14268;
- if (East == East::Low && North == North::Low && South == South::Low && !Up && West == West::None) return 14272;
- if (East == East::Low && North == North::Low && South == South::Low && !Up && West == West::Low) return 14273;
- if (East == East::Low && North == North::Low && South == South::Low && !Up && West == West::Tall) return 14274;
- if (East == East::Low && North == North::Low && South == South::Tall && Up && West == West::None) return 14278;
- if (East == East::Low && North == North::Low && South == South::Tall && Up && West == West::Low) return 14279;
- if (East == East::Low && North == North::Low && South == South::Tall && Up && West == West::Tall) return 14280;
- if (East == East::Low && North == North::Low && South == South::Tall && !Up && West == West::None) return 14284;
- if (East == East::Low && North == North::Low && South == South::Tall && !Up && West == West::Low) return 14285;
- if (East == East::Low && North == North::Low && South == South::Tall && !Up && West == West::Tall) return 14286;
- if (East == East::Low && North == North::Tall && South == South::None && Up && West == West::None) return 14290;
- if (East == East::Low && North == North::Tall && South == South::None && Up && West == West::Low) return 14291;
- if (East == East::Low && North == North::Tall && South == South::None && Up && West == West::Tall) return 14292;
- if (East == East::Low && North == North::Tall && South == South::None && !Up && West == West::None) return 14296;
- if (East == East::Low && North == North::Tall && South == South::None && !Up && West == West::Low) return 14297;
- if (East == East::Low && North == North::Tall && South == South::None && !Up && West == West::Tall) return 14298;
- if (East == East::Low && North == North::Tall && South == South::Low && Up && West == West::None) return 14302;
- if (East == East::Low && North == North::Tall && South == South::Low && Up && West == West::Low) return 14303;
- if (East == East::Low && North == North::Tall && South == South::Low && Up && West == West::Tall) return 14304;
- if (East == East::Low && North == North::Tall && South == South::Low && !Up && West == West::None) return 14308;
- if (East == East::Low && North == North::Tall && South == South::Low && !Up && West == West::Low) return 14309;
- if (East == East::Low && North == North::Tall && South == South::Low && !Up && West == West::Tall) return 14310;
- if (East == East::Low && North == North::Tall && South == South::Tall && Up && West == West::None) return 14314;
- if (East == East::Low && North == North::Tall && South == South::Tall && Up && West == West::Low) return 14315;
- if (East == East::Low && North == North::Tall && South == South::Tall && Up && West == West::Tall) return 14316;
- if (East == East::Low && North == North::Tall && South == South::Tall && !Up && West == West::None) return 14320;
- if (East == East::Low && North == North::Tall && South == South::Tall && !Up && West == West::Low) return 14321;
- if (East == East::Low && North == North::Tall && South == South::Tall && !Up && West == West::Tall) return 14322;
- if (East == East::Tall && North == North::None && South == South::None && Up && West == West::None) return 14326;
- if (East == East::Tall && North == North::None && South == South::None && Up && West == West::Low) return 14327;
- if (East == East::Tall && North == North::None && South == South::None && Up && West == West::Tall) return 14328;
- if (East == East::Tall && North == North::None && South == South::None && !Up && West == West::None) return 14332;
- if (East == East::Tall && North == North::None && South == South::None && !Up && West == West::Low) return 14333;
- if (East == East::Tall && North == North::None && South == South::None && !Up && West == West::Tall) return 14334;
- if (East == East::Tall && North == North::None && South == South::Low && Up && West == West::None) return 14338;
- if (East == East::Tall && North == North::None && South == South::Low && Up && West == West::Low) return 14339;
- if (East == East::Tall && North == North::None && South == South::Low && Up && West == West::Tall) return 14340;
- if (East == East::Tall && North == North::None && South == South::Low && !Up && West == West::None) return 14344;
- if (East == East::Tall && North == North::None && South == South::Low && !Up && West == West::Low) return 14345;
- if (East == East::Tall && North == North::None && South == South::Low && !Up && West == West::Tall) return 14346;
- if (East == East::Tall && North == North::None && South == South::Tall && Up && West == West::None) return 14350;
- if (East == East::Tall && North == North::None && South == South::Tall && Up && West == West::Low) return 14351;
- if (East == East::Tall && North == North::None && South == South::Tall && Up && West == West::Tall) return 14352;
- if (East == East::Tall && North == North::None && South == South::Tall && !Up && West == West::None) return 14356;
- if (East == East::Tall && North == North::None && South == South::Tall && !Up && West == West::Low) return 14357;
- if (East == East::Tall && North == North::None && South == South::Tall && !Up && West == West::Tall) return 14358;
- if (East == East::Tall && North == North::Low && South == South::None && Up && West == West::None) return 14362;
- if (East == East::Tall && North == North::Low && South == South::None && Up && West == West::Low) return 14363;
- if (East == East::Tall && North == North::Low && South == South::None && Up && West == West::Tall) return 14364;
- if (East == East::Tall && North == North::Low && South == South::None && !Up && West == West::None) return 14368;
- if (East == East::Tall && North == North::Low && South == South::None && !Up && West == West::Low) return 14369;
- if (East == East::Tall && North == North::Low && South == South::None && !Up && West == West::Tall) return 14370;
- if (East == East::Tall && North == North::Low && South == South::Low && Up && West == West::None) return 14374;
- if (East == East::Tall && North == North::Low && South == South::Low && Up && West == West::Low) return 14375;
- if (East == East::Tall && North == North::Low && South == South::Low && Up && West == West::Tall) return 14376;
- if (East == East::Tall && North == North::Low && South == South::Low && !Up && West == West::None) return 14380;
- if (East == East::Tall && North == North::Low && South == South::Low && !Up && West == West::Low) return 14381;
- if (East == East::Tall && North == North::Low && South == South::Low && !Up && West == West::Tall) return 14382;
- if (East == East::Tall && North == North::Low && South == South::Tall && Up && West == West::None) return 14386;
- if (East == East::Tall && North == North::Low && South == South::Tall && Up && West == West::Low) return 14387;
- if (East == East::Tall && North == North::Low && South == South::Tall && Up && West == West::Tall) return 14388;
- if (East == East::Tall && North == North::Low && South == South::Tall && !Up && West == West::None) return 14392;
- if (East == East::Tall && North == North::Low && South == South::Tall && !Up && West == West::Low) return 14393;
- if (East == East::Tall && North == North::Low && South == South::Tall && !Up && West == West::Tall) return 14394;
- if (East == East::Tall && North == North::Tall && South == South::None && Up && West == West::None) return 14398;
- if (East == East::Tall && North == North::Tall && South == South::None && Up && West == West::Low) return 14399;
- if (East == East::Tall && North == North::Tall && South == South::None && Up && West == West::Tall) return 14400;
- if (East == East::Tall && North == North::Tall && South == South::None && !Up && West == West::None) return 14404;
- if (East == East::Tall && North == North::Tall && South == South::None && !Up && West == West::Low) return 14405;
- if (East == East::Tall && North == North::Tall && South == South::None && !Up && West == West::Tall) return 14406;
- if (East == East::Tall && North == North::Tall && South == South::Low && Up && West == West::None) return 14410;
- if (East == East::Tall && North == North::Tall && South == South::Low && Up && West == West::Low) return 14411;
- if (East == East::Tall && North == North::Tall && South == South::Low && Up && West == West::Tall) return 14412;
- if (East == East::Tall && North == North::Tall && South == South::Low && !Up && West == West::None) return 14416;
- if (East == East::Tall && North == North::Tall && South == South::Low && !Up && West == West::Low) return 14417;
- if (East == East::Tall && North == North::Tall && South == South::Low && !Up && West == West::Tall) return 14418;
- if (East == East::Tall && North == North::Tall && South == South::Tall && Up && West == West::None) return 14422;
- if (East == East::Tall && North == North::Tall && South == South::Tall && Up && West == West::Low) return 14423;
- if (East == East::Tall && North == North::Tall && South == South::Tall && Up && West == West::Tall) return 14424;
- if (East == East::Tall && North == North::Tall && South == South::Tall && !Up && West == West::None) return 14428;
- if (East == East::Tall && North == North::Tall && South == South::Tall && !Up && West == West::Low) return 14429;
- return 14430;
- }
- short EndStoneBrickWall();
- enum East East(short ID);
- enum North North(short ID);
- enum South South(short ID);
- bool Up(short ID);
- enum West West(short ID);
- }
- namespace EndStoneBricks
- {
- constexpr short EndStoneBricks()
- {
- return 9218;
- }
- }
- namespace EnderChest
- {
- constexpr short EnderChest(eBlockFace Facing)
- {
- if (Facing == eBlockFace::BLOCK_FACE_ZM) return 5252;
- if (Facing == eBlockFace::BLOCK_FACE_ZP) return 5254;
- if (Facing == eBlockFace::BLOCK_FACE_XM) return 5256;
- return 5258;
- }
- short EnderChest();
- eBlockFace Facing(short ID);
- }
- namespace Farmland
- {
- constexpr short Farmland(unsigned char Moisture)
- {
- if (Moisture == 0) return 3365;
- if (Moisture == 1) return 3366;
- if (Moisture == 2) return 3367;
- if (Moisture == 3) return 3368;
- if (Moisture == 4) return 3369;
- if (Moisture == 5) return 3370;
- if (Moisture == 6) return 3371;
- return 3372;
- }
- short Farmland();
- unsigned char Moisture(short ID);
- }
- namespace Fern
- {
- constexpr short Fern()
- {
- return 1343;
- }
- }
- namespace Fire
- {
- constexpr short Fire(unsigned char Age, bool East, bool North, bool South, bool Up, bool West)
- {
- if (Age == 0 && East && North && South && Up && West) return 1440;
- if (Age == 0 && East && North && South && Up && !West) return 1441;
- if (Age == 0 && East && North && South && !Up && West) return 1442;
- if (Age == 0 && East && North && South && !Up && !West) return 1443;
- if (Age == 0 && East && North && !South && Up && West) return 1444;
- if (Age == 0 && East && North && !South && Up && !West) return 1445;
- if (Age == 0 && East && North && !South && !Up && West) return 1446;
- if (Age == 0 && East && North && !South && !Up && !West) return 1447;
- if (Age == 0 && East && !North && South && Up && West) return 1448;
- if (Age == 0 && East && !North && South && Up && !West) return 1449;
- if (Age == 0 && East && !North && South && !Up && West) return 1450;
- if (Age == 0 && East && !North && South && !Up && !West) return 1451;
- if (Age == 0 && East && !North && !South && Up && West) return 1452;
- if (Age == 0 && East && !North && !South && Up && !West) return 1453;
- if (Age == 0 && East && !North && !South && !Up && West) return 1454;
- if (Age == 0 && East && !North && !South && !Up && !West) return 1455;
- if (Age == 0 && !East && North && South && Up && West) return 1456;
- if (Age == 0 && !East && North && South && Up && !West) return 1457;
- if (Age == 0 && !East && North && South && !Up && West) return 1458;
- if (Age == 0 && !East && North && South && !Up && !West) return 1459;
- if (Age == 0 && !East && North && !South && Up && West) return 1460;
- if (Age == 0 && !East && North && !South && Up && !West) return 1461;
- if (Age == 0 && !East && North && !South && !Up && West) return 1462;
- if (Age == 0 && !East && North && !South && !Up && !West) return 1463;
- if (Age == 0 && !East && !North && South && Up && West) return 1464;
- if (Age == 0 && !East && !North && South && Up && !West) return 1465;
- if (Age == 0 && !East && !North && South && !Up && West) return 1466;
- if (Age == 0 && !East && !North && South && !Up && !West) return 1467;
- if (Age == 0 && !East && !North && !South && Up && West) return 1468;
- if (Age == 0 && !East && !North && !South && Up && !West) return 1469;
- if (Age == 0 && !East && !North && !South && !Up && West) return 1470;
- if (Age == 0 && !East && !North && !South && !Up && !West) return 1471;
- if (Age == 1 && East && North && South && Up && West) return 1472;
- if (Age == 1 && East && North && South && Up && !West) return 1473;
- if (Age == 1 && East && North && South && !Up && West) return 1474;
- if (Age == 1 && East && North && South && !Up && !West) return 1475;
- if (Age == 1 && East && North && !South && Up && West) return 1476;
- if (Age == 1 && East && North && !South && Up && !West) return 1477;
- if (Age == 1 && East && North && !South && !Up && West) return 1478;
- if (Age == 1 && East && North && !South && !Up && !West) return 1479;
- if (Age == 1 && East && !North && South && Up && West) return 1480;
- if (Age == 1 && East && !North && South && Up && !West) return 1481;
- if (Age == 1 && East && !North && South && !Up && West) return 1482;
- if (Age == 1 && East && !North && South && !Up && !West) return 1483;
- if (Age == 1 && East && !North && !South && Up && West) return 1484;
- if (Age == 1 && East && !North && !South && Up && !West) return 1485;
- if (Age == 1 && East && !North && !South && !Up && West) return 1486;
- if (Age == 1 && East && !North && !South && !Up && !West) return 1487;
- if (Age == 1 && !East && North && South && Up && West) return 1488;
- if (Age == 1 && !East && North && South && Up && !West) return 1489;
- if (Age == 1 && !East && North && South && !Up && West) return 1490;
- if (Age == 1 && !East && North && South && !Up && !West) return 1491;
- if (Age == 1 && !East && North && !South && Up && West) return 1492;
- if (Age == 1 && !East && North && !South && Up && !West) return 1493;
- if (Age == 1 && !East && North && !South && !Up && West) return 1494;
- if (Age == 1 && !East && North && !South && !Up && !West) return 1495;
- if (Age == 1 && !East && !North && South && Up && West) return 1496;
- if (Age == 1 && !East && !North && South && Up && !West) return 1497;
- if (Age == 1 && !East && !North && South && !Up && West) return 1498;
- if (Age == 1 && !East && !North && South && !Up && !West) return 1499;
- if (Age == 1 && !East && !North && !South && Up && West) return 1500;
- if (Age == 1 && !East && !North && !South && Up && !West) return 1501;
- if (Age == 1 && !East && !North && !South && !Up && West) return 1502;
- if (Age == 1 && !East && !North && !South && !Up && !West) return 1503;
- if (Age == 2 && East && North && South && Up && West) return 1504;
- if (Age == 2 && East && North && South && Up && !West) return 1505;
- if (Age == 2 && East && North && South && !Up && West) return 1506;
- if (Age == 2 && East && North && South && !Up && !West) return 1507;
- if (Age == 2 && East && North && !South && Up && West) return 1508;
- if (Age == 2 && East && North && !South && Up && !West) return 1509;
- if (Age == 2 && East && North && !South && !Up && West) return 1510;
- if (Age == 2 && East && North && !South && !Up && !West) return 1511;
- if (Age == 2 && East && !North && South && Up && West) return 1512;
- if (Age == 2 && East && !North && South && Up && !West) return 1513;
- if (Age == 2 && East && !North && South && !Up && West) return 1514;
- if (Age == 2 && East && !North && South && !Up && !West) return 1515;
- if (Age == 2 && East && !North && !South && Up && West) return 1516;
- if (Age == 2 && East && !North && !South && Up && !West) return 1517;
- if (Age == 2 && East && !North && !South && !Up && West) return 1518;
- if (Age == 2 && East && !North && !South && !Up && !West) return 1519;
- if (Age == 2 && !East && North && South && Up && West) return 1520;
- if (Age == 2 && !East && North && South && Up && !West) return 1521;
- if (Age == 2 && !East && North && South && !Up && West) return 1522;
- if (Age == 2 && !East && North && South && !Up && !West) return 1523;
- if (Age == 2 && !East && North && !South && Up && West) return 1524;
- if (Age == 2 && !East && North && !South && Up && !West) return 1525;
- if (Age == 2 && !East && North && !South && !Up && West) return 1526;
- if (Age == 2 && !East && North && !South && !Up && !West) return 1527;
- if (Age == 2 && !East && !North && South && Up && West) return 1528;
- if (Age == 2 && !East && !North && South && Up && !West) return 1529;
- if (Age == 2 && !East && !North && South && !Up && West) return 1530;
- if (Age == 2 && !East && !North && South && !Up && !West) return 1531;
- if (Age == 2 && !East && !North && !South && Up && West) return 1532;
- if (Age == 2 && !East && !North && !South && Up && !West) return 1533;
- if (Age == 2 && !East && !North && !South && !Up && West) return 1534;
- if (Age == 2 && !East && !North && !South && !Up && !West) return 1535;
- if (Age == 3 && East && North && South && Up && West) return 1536;
- if (Age == 3 && East && North && South && Up && !West) return 1537;
- if (Age == 3 && East && North && South && !Up && West) return 1538;
- if (Age == 3 && East && North && South && !Up && !West) return 1539;
- if (Age == 3 && East && North && !South && Up && West) return 1540;
- if (Age == 3 && East && North && !South && Up && !West) return 1541;
- if (Age == 3 && East && North && !South && !Up && West) return 1542;
- if (Age == 3 && East && North && !South && !Up && !West) return 1543;
- if (Age == 3 && East && !North && South && Up && West) return 1544;
- if (Age == 3 && East && !North && South && Up && !West) return 1545;
- if (Age == 3 && East && !North && South && !Up && West) return 1546;
- if (Age == 3 && East && !North && South && !Up && !West) return 1547;
- if (Age == 3 && East && !North && !South && Up && West) return 1548;
- if (Age == 3 && East && !North && !South && Up && !West) return 1549;
- if (Age == 3 && East && !North && !South && !Up && West) return 1550;
- if (Age == 3 && East && !North && !South && !Up && !West) return 1551;
- if (Age == 3 && !East && North && South && Up && West) return 1552;
- if (Age == 3 && !East && North && South && Up && !West) return 1553;
- if (Age == 3 && !East && North && South && !Up && West) return 1554;
- if (Age == 3 && !East && North && South && !Up && !West) return 1555;
- if (Age == 3 && !East && North && !South && Up && West) return 1556;
- if (Age == 3 && !East && North && !South && Up && !West) return 1557;
- if (Age == 3 && !East && North && !South && !Up && West) return 1558;
- if (Age == 3 && !East && North && !South && !Up && !West) return 1559;
- if (Age == 3 && !East && !North && South && Up && West) return 1560;
- if (Age == 3 && !East && !North && South && Up && !West) return 1561;
- if (Age == 3 && !East && !North && South && !Up && West) return 1562;
- if (Age == 3 && !East && !North && South && !Up && !West) return 1563;
- if (Age == 3 && !East && !North && !South && Up && West) return 1564;
- if (Age == 3 && !East && !North && !South && Up && !West) return 1565;
- if (Age == 3 && !East && !North && !South && !Up && West) return 1566;
- if (Age == 3 && !East && !North && !South && !Up && !West) return 1567;
- if (Age == 4 && East && North && South && Up && West) return 1568;
- if (Age == 4 && East && North && South && Up && !West) return 1569;
- if (Age == 4 && East && North && South && !Up && West) return 1570;
- if (Age == 4 && East && North && South && !Up && !West) return 1571;
- if (Age == 4 && East && North && !South && Up && West) return 1572;
- if (Age == 4 && East && North && !South && Up && !West) return 1573;
- if (Age == 4 && East && North && !South && !Up && West) return 1574;
- if (Age == 4 && East && North && !South && !Up && !West) return 1575;
- if (Age == 4 && East && !North && South && Up && West) return 1576;
- if (Age == 4 && East && !North && South && Up && !West) return 1577;
- if (Age == 4 && East && !North && South && !Up && West) return 1578;
- if (Age == 4 && East && !North && South && !Up && !West) return 1579;
- if (Age == 4 && East && !North && !South && Up && West) return 1580;
- if (Age == 4 && East && !North && !South && Up && !West) return 1581;
- if (Age == 4 && East && !North && !South && !Up && West) return 1582;
- if (Age == 4 && East && !North && !South && !Up && !West) return 1583;
- if (Age == 4 && !East && North && South && Up && West) return 1584;
- if (Age == 4 && !East && North && South && Up && !West) return 1585;
- if (Age == 4 && !East && North && South && !Up && West) return 1586;
- if (Age == 4 && !East && North && South && !Up && !West) return 1587;
- if (Age == 4 && !East && North && !South && Up && West) return 1588;
- if (Age == 4 && !East && North && !South && Up && !West) return 1589;
- if (Age == 4 && !East && North && !South && !Up && West) return 1590;
- if (Age == 4 && !East && North && !South && !Up && !West) return 1591;
- if (Age == 4 && !East && !North && South && Up && West) return 1592;
- if (Age == 4 && !East && !North && South && Up && !West) return 1593;
- if (Age == 4 && !East && !North && South && !Up && West) return 1594;
- if (Age == 4 && !East && !North && South && !Up && !West) return 1595;
- if (Age == 4 && !East && !North && !South && Up && West) return 1596;
- if (Age == 4 && !East && !North && !South && Up && !West) return 1597;
- if (Age == 4 && !East && !North && !South && !Up && West) return 1598;
- if (Age == 4 && !East && !North && !South && !Up && !West) return 1599;
- if (Age == 5 && East && North && South && Up && West) return 1600;
- if (Age == 5 && East && North && South && Up && !West) return 1601;
- if (Age == 5 && East && North && South && !Up && West) return 1602;
- if (Age == 5 && East && North && South && !Up && !West) return 1603;
- if (Age == 5 && East && North && !South && Up && West) return 1604;
- if (Age == 5 && East && North && !South && Up && !West) return 1605;
- if (Age == 5 && East && North && !South && !Up && West) return 1606;
- if (Age == 5 && East && North && !South && !Up && !West) return 1607;
- if (Age == 5 && East && !North && South && Up && West) return 1608;
- if (Age == 5 && East && !North && South && Up && !West) return 1609;
- if (Age == 5 && East && !North && South && !Up && West) return 1610;
- if (Age == 5 && East && !North && South && !Up && !West) return 1611;
- if (Age == 5 && East && !North && !South && Up && West) return 1612;
- if (Age == 5 && East && !North && !South && Up && !West) return 1613;
- if (Age == 5 && East && !North && !South && !Up && West) return 1614;
- if (Age == 5 && East && !North && !South && !Up && !West) return 1615;
- if (Age == 5 && !East && North && South && Up && West) return 1616;
- if (Age == 5 && !East && North && South && Up && !West) return 1617;
- if (Age == 5 && !East && North && South && !Up && West) return 1618;
- if (Age == 5 && !East && North && South && !Up && !West) return 1619;
- if (Age == 5 && !East && North && !South && Up && West) return 1620;
- if (Age == 5 && !East && North && !South && Up && !West) return 1621;
- if (Age == 5 && !East && North && !South && !Up && West) return 1622;
- if (Age == 5 && !East && North && !South && !Up && !West) return 1623;
- if (Age == 5 && !East && !North && South && Up && West) return 1624;
- if (Age == 5 && !East && !North && South && Up && !West) return 1625;
- if (Age == 5 && !East && !North && South && !Up && West) return 1626;
- if (Age == 5 && !East && !North && South && !Up && !West) return 1627;
- if (Age == 5 && !East && !North && !South && Up && West) return 1628;
- if (Age == 5 && !East && !North && !South && Up && !West) return 1629;
- if (Age == 5 && !East && !North && !South && !Up && West) return 1630;
- if (Age == 5 && !East && !North && !South && !Up && !West) return 1631;
- if (Age == 6 && East && North && South && Up && West) return 1632;
- if (Age == 6 && East && North && South && Up && !West) return 1633;
- if (Age == 6 && East && North && South && !Up && West) return 1634;
- if (Age == 6 && East && North && South && !Up && !West) return 1635;
- if (Age == 6 && East && North && !South && Up && West) return 1636;
- if (Age == 6 && East && North && !South && Up && !West) return 1637;
- if (Age == 6 && East && North && !South && !Up && West) return 1638;
- if (Age == 6 && East && North && !South && !Up && !West) return 1639;
- if (Age == 6 && East && !North && South && Up && West) return 1640;
- if (Age == 6 && East && !North && South && Up && !West) return 1641;
- if (Age == 6 && East && !North && South && !Up && West) return 1642;
- if (Age == 6 && East && !North && South && !Up && !West) return 1643;
- if (Age == 6 && East && !North && !South && Up && West) return 1644;
- if (Age == 6 && East && !North && !South && Up && !West) return 1645;
- if (Age == 6 && East && !North && !South && !Up && West) return 1646;
- if (Age == 6 && East && !North && !South && !Up && !West) return 1647;
- if (Age == 6 && !East && North && South && Up && West) return 1648;
- if (Age == 6 && !East && North && South && Up && !West) return 1649;
- if (Age == 6 && !East && North && South && !Up && West) return 1650;
- if (Age == 6 && !East && North && South && !Up && !West) return 1651;
- if (Age == 6 && !East && North && !South && Up && West) return 1652;
- if (Age == 6 && !East && North && !South && Up && !West) return 1653;
- if (Age == 6 && !East && North && !South && !Up && West) return 1654;
- if (Age == 6 && !East && North && !South && !Up && !West) return 1655;
- if (Age == 6 && !East && !North && South && Up && West) return 1656;
- if (Age == 6 && !East && !North && South && Up && !West) return 1657;
- if (Age == 6 && !East && !North && South && !Up && West) return 1658;
- if (Age == 6 && !East && !North && South && !Up && !West) return 1659;
- if (Age == 6 && !East && !North && !South && Up && West) return 1660;
- if (Age == 6 && !East && !North && !South && Up && !West) return 1661;
- if (Age == 6 && !East && !North && !South && !Up && West) return 1662;
- if (Age == 6 && !East && !North && !South && !Up && !West) return 1663;
- if (Age == 7 && East && North && South && Up && West) return 1664;
- if (Age == 7 && East && North && South && Up && !West) return 1665;
- if (Age == 7 && East && North && South && !Up && West) return 1666;
- if (Age == 7 && East && North && South && !Up && !West) return 1667;
- if (Age == 7 && East && North && !South && Up && West) return 1668;
- if (Age == 7 && East && North && !South && Up && !West) return 1669;
- if (Age == 7 && East && North && !South && !Up && West) return 1670;
- if (Age == 7 && East && North && !South && !Up && !West) return 1671;
- if (Age == 7 && East && !North && South && Up && West) return 1672;
- if (Age == 7 && East && !North && South && Up && !West) return 1673;
- if (Age == 7 && East && !North && South && !Up && West) return 1674;
- if (Age == 7 && East && !North && South && !Up && !West) return 1675;
- if (Age == 7 && East && !North && !South && Up && West) return 1676;
- if (Age == 7 && East && !North && !South && Up && !West) return 1677;
- if (Age == 7 && East && !North && !South && !Up && West) return 1678;
- if (Age == 7 && East && !North && !South && !Up && !West) return 1679;
- if (Age == 7 && !East && North && South && Up && West) return 1680;
- if (Age == 7 && !East && North && South && Up && !West) return 1681;
- if (Age == 7 && !East && North && South && !Up && West) return 1682;
- if (Age == 7 && !East && North && South && !Up && !West) return 1683;
- if (Age == 7 && !East && North && !South && Up && West) return 1684;
- if (Age == 7 && !East && North && !South && Up && !West) return 1685;
- if (Age == 7 && !East && North && !South && !Up && West) return 1686;
- if (Age == 7 && !East && North && !South && !Up && !West) return 1687;
- if (Age == 7 && !East && !North && South && Up && West) return 1688;
- if (Age == 7 && !East && !North && South && Up && !West) return 1689;
- if (Age == 7 && !East && !North && South && !Up && West) return 1690;
- if (Age == 7 && !East && !North && South && !Up && !West) return 1691;
- if (Age == 7 && !East && !North && !South && Up && West) return 1692;
- if (Age == 7 && !East && !North && !South && Up && !West) return 1693;
- if (Age == 7 && !East && !North && !South && !Up && West) return 1694;
- if (Age == 7 && !East && !North && !South && !Up && !West) return 1695;
- if (Age == 8 && East && North && South && Up && West) return 1696;
- if (Age == 8 && East && North && South && Up && !West) return 1697;
- if (Age == 8 && East && North && South && !Up && West) return 1698;
- if (Age == 8 && East && North && South && !Up && !West) return 1699;
- if (Age == 8 && East && North && !South && Up && West) return 1700;
- if (Age == 8 && East && North && !South && Up && !West) return 1701;
- if (Age == 8 && East && North && !South && !Up && West) return 1702;
- if (Age == 8 && East && North && !South && !Up && !West) return 1703;
- if (Age == 8 && East && !North && South && Up && West) return 1704;
- if (Age == 8 && East && !North && South && Up && !West) return 1705;
- if (Age == 8 && East && !North && South && !Up && West) return 1706;
- if (Age == 8 && East && !North && South && !Up && !West) return 1707;
- if (Age == 8 && East && !North && !South && Up && West) return 1708;
- if (Age == 8 && East && !North && !South && Up && !West) return 1709;
- if (Age == 8 && East && !North && !South && !Up && West) return 1710;
- if (Age == 8 && East && !North && !South && !Up && !West) return 1711;
- if (Age == 8 && !East && North && South && Up && West) return 1712;
- if (Age == 8 && !East && North && South && Up && !West) return 1713;
- if (Age == 8 && !East && North && South && !Up && West) return 1714;
- if (Age == 8 && !East && North && South && !Up && !West) return 1715;
- if (Age == 8 && !East && North && !South && Up && West) return 1716;
- if (Age == 8 && !East && North && !South && Up && !West) return 1717;
- if (Age == 8 && !East && North && !South && !Up && West) return 1718;
- if (Age == 8 && !East && North && !South && !Up && !West) return 1719;
- if (Age == 8 && !East && !North && South && Up && West) return 1720;
- if (Age == 8 && !East && !North && South && Up && !West) return 1721;
- if (Age == 8 && !East && !North && South && !Up && West) return 1722;
- if (Age == 8 && !East && !North && South && !Up && !West) return 1723;
- if (Age == 8 && !East && !North && !South && Up && West) return 1724;
- if (Age == 8 && !East && !North && !South && Up && !West) return 1725;
- if (Age == 8 && !East && !North && !South && !Up && West) return 1726;
- if (Age == 8 && !East && !North && !South && !Up && !West) return 1727;
- if (Age == 9 && East && North && South && Up && West) return 1728;
- if (Age == 9 && East && North && South && Up && !West) return 1729;
- if (Age == 9 && East && North && South && !Up && West) return 1730;
- if (Age == 9 && East && North && South && !Up && !West) return 1731;
- if (Age == 9 && East && North && !South && Up && West) return 1732;
- if (Age == 9 && East && North && !South && Up && !West) return 1733;
- if (Age == 9 && East && North && !South && !Up && West) return 1734;
- if (Age == 9 && East && North && !South && !Up && !West) return 1735;
- if (Age == 9 && East && !North && South && Up && West) return 1736;
- if (Age == 9 && East && !North && South && Up && !West) return 1737;
- if (Age == 9 && East && !North && South && !Up && West) return 1738;
- if (Age == 9 && East && !North && South && !Up && !West) return 1739;
- if (Age == 9 && East && !North && !South && Up && West) return 1740;
- if (Age == 9 && East && !North && !South && Up && !West) return 1741;
- if (Age == 9 && East && !North && !South && !Up && West) return 1742;
- if (Age == 9 && East && !North && !South && !Up && !West) return 1743;
- if (Age == 9 && !East && North && South && Up && West) return 1744;
- if (Age == 9 && !East && North && South && Up && !West) return 1745;
- if (Age == 9 && !East && North && South && !Up && West) return 1746;
- if (Age == 9 && !East && North && South && !Up && !West) return 1747;
- if (Age == 9 && !East && North && !South && Up && West) return 1748;
- if (Age == 9 && !East && North && !South && Up && !West) return 1749;
- if (Age == 9 && !East && North && !South && !Up && West) return 1750;
- if (Age == 9 && !East && North && !South && !Up && !West) return 1751;
- if (Age == 9 && !East && !North && South && Up && West) return 1752;
- if (Age == 9 && !East && !North && South && Up && !West) return 1753;
- if (Age == 9 && !East && !North && South && !Up && West) return 1754;
- if (Age == 9 && !East && !North && South && !Up && !West) return 1755;
- if (Age == 9 && !East && !North && !South && Up && West) return 1756;
- if (Age == 9 && !East && !North && !South && Up && !West) return 1757;
- if (Age == 9 && !East && !North && !South && !Up && West) return 1758;
- if (Age == 9 && !East && !North && !South && !Up && !West) return 1759;
- if (Age == 10 && East && North && South && Up && West) return 1760;
- if (Age == 10 && East && North && South && Up && !West) return 1761;
- if (Age == 10 && East && North && South && !Up && West) return 1762;
- if (Age == 10 && East && North && South && !Up && !West) return 1763;
- if (Age == 10 && East && North && !South && Up && West) return 1764;
- if (Age == 10 && East && North && !South && Up && !West) return 1765;
- if (Age == 10 && East && North && !South && !Up && West) return 1766;
- if (Age == 10 && East && North && !South && !Up && !West) return 1767;
- if (Age == 10 && East && !North && South && Up && West) return 1768;
- if (Age == 10 && East && !North && South && Up && !West) return 1769;
- if (Age == 10 && East && !North && South && !Up && West) return 1770;
- if (Age == 10 && East && !North && South && !Up && !West) return 1771;
- if (Age == 10 && East && !North && !South && Up && West) return 1772;
- if (Age == 10 && East && !North && !South && Up && !West) return 1773;
- if (Age == 10 && East && !North && !South && !Up && West) return 1774;
- if (Age == 10 && East && !North && !South && !Up && !West) return 1775;
- if (Age == 10 && !East && North && South && Up && West) return 1776;
- if (Age == 10 && !East && North && South && Up && !West) return 1777;
- if (Age == 10 && !East && North && South && !Up && West) return 1778;
- if (Age == 10 && !East && North && South && !Up && !West) return 1779;
- if (Age == 10 && !East && North && !South && Up && West) return 1780;
- if (Age == 10 && !East && North && !South && Up && !West) return 1781;
- if (Age == 10 && !East && North && !South && !Up && West) return 1782;
- if (Age == 10 && !East && North && !South && !Up && !West) return 1783;
- if (Age == 10 && !East && !North && South && Up && West) return 1784;
- if (Age == 10 && !East && !North && South && Up && !West) return 1785;
- if (Age == 10 && !East && !North && South && !Up && West) return 1786;
- if (Age == 10 && !East && !North && South && !Up && !West) return 1787;
- if (Age == 10 && !East && !North && !South && Up && West) return 1788;
- if (Age == 10 && !East && !North && !South && Up && !West) return 1789;
- if (Age == 10 && !East && !North && !South && !Up && West) return 1790;
- if (Age == 10 && !East && !North && !South && !Up && !West) return 1791;
- if (Age == 11 && East && North && South && Up && West) return 1792;
- if (Age == 11 && East && North && South && Up && !West) return 1793;
- if (Age == 11 && East && North && South && !Up && West) return 1794;
- if (Age == 11 && East && North && South && !Up && !West) return 1795;
- if (Age == 11 && East && North && !South && Up && West) return 1796;
- if (Age == 11 && East && North && !South && Up && !West) return 1797;
- if (Age == 11 && East && North && !South && !Up && West) return 1798;
- if (Age == 11 && East && North && !South && !Up && !West) return 1799;
- if (Age == 11 && East && !North && South && Up && West) return 1800;
- if (Age == 11 && East && !North && South && Up && !West) return 1801;
- if (Age == 11 && East && !North && South && !Up && West) return 1802;
- if (Age == 11 && East && !North && South && !Up && !West) return 1803;
- if (Age == 11 && East && !North && !South && Up && West) return 1804;
- if (Age == 11 && East && !North && !South && Up && !West) return 1805;
- if (Age == 11 && East && !North && !South && !Up && West) return 1806;
- if (Age == 11 && East && !North && !South && !Up && !West) return 1807;
- if (Age == 11 && !East && North && South && Up && West) return 1808;
- if (Age == 11 && !East && North && South && Up && !West) return 1809;
- if (Age == 11 && !East && North && South && !Up && West) return 1810;
- if (Age == 11 && !East && North && South && !Up && !West) return 1811;
- if (Age == 11 && !East && North && !South && Up && West) return 1812;
- if (Age == 11 && !East && North && !South && Up && !West) return 1813;
- if (Age == 11 && !East && North && !South && !Up && West) return 1814;
- if (Age == 11 && !East && North && !South && !Up && !West) return 1815;
- if (Age == 11 && !East && !North && South && Up && West) return 1816;
- if (Age == 11 && !East && !North && South && Up && !West) return 1817;
- if (Age == 11 && !East && !North && South && !Up && West) return 1818;
- if (Age == 11 && !East && !North && South && !Up && !West) return 1819;
- if (Age == 11 && !East && !North && !South && Up && West) return 1820;
- if (Age == 11 && !East && !North && !South && Up && !West) return 1821;
- if (Age == 11 && !East && !North && !South && !Up && West) return 1822;
- if (Age == 11 && !East && !North && !South && !Up && !West) return 1823;
- if (Age == 12 && East && North && South && Up && West) return 1824;
- if (Age == 12 && East && North && South && Up && !West) return 1825;
- if (Age == 12 && East && North && South && !Up && West) return 1826;
- if (Age == 12 && East && North && South && !Up && !West) return 1827;
- if (Age == 12 && East && North && !South && Up && West) return 1828;
- if (Age == 12 && East && North && !South && Up && !West) return 1829;
- if (Age == 12 && East && North && !South && !Up && West) return 1830;
- if (Age == 12 && East && North && !South && !Up && !West) return 1831;
- if (Age == 12 && East && !North && South && Up && West) return 1832;
- if (Age == 12 && East && !North && South && Up && !West) return 1833;
- if (Age == 12 && East && !North && South && !Up && West) return 1834;
- if (Age == 12 && East && !North && South && !Up && !West) return 1835;
- if (Age == 12 && East && !North && !South && Up && West) return 1836;
- if (Age == 12 && East && !North && !South && Up && !West) return 1837;
- if (Age == 12 && East && !North && !South && !Up && West) return 1838;
- if (Age == 12 && East && !North && !South && !Up && !West) return 1839;
- if (Age == 12 && !East && North && South && Up && West) return 1840;
- if (Age == 12 && !East && North && South && Up && !West) return 1841;
- if (Age == 12 && !East && North && South && !Up && West) return 1842;
- if (Age == 12 && !East && North && South && !Up && !West) return 1843;
- if (Age == 12 && !East && North && !South && Up && West) return 1844;
- if (Age == 12 && !East && North && !South && Up && !West) return 1845;
- if (Age == 12 && !East && North && !South && !Up && West) return 1846;
- if (Age == 12 && !East && North && !South && !Up && !West) return 1847;
- if (Age == 12 && !East && !North && South && Up && West) return 1848;
- if (Age == 12 && !East && !North && South && Up && !West) return 1849;
- if (Age == 12 && !East && !North && South && !Up && West) return 1850;
- if (Age == 12 && !East && !North && South && !Up && !West) return 1851;
- if (Age == 12 && !East && !North && !South && Up && West) return 1852;
- if (Age == 12 && !East && !North && !South && Up && !West) return 1853;
- if (Age == 12 && !East && !North && !South && !Up && West) return 1854;
- if (Age == 12 && !East && !North && !South && !Up && !West) return 1855;
- if (Age == 13 && East && North && South && Up && West) return 1856;
- if (Age == 13 && East && North && South && Up && !West) return 1857;
- if (Age == 13 && East && North && South && !Up && West) return 1858;
- if (Age == 13 && East && North && South && !Up && !West) return 1859;
- if (Age == 13 && East && North && !South && Up && West) return 1860;
- if (Age == 13 && East && North && !South && Up && !West) return 1861;
- if (Age == 13 && East && North && !South && !Up && West) return 1862;
- if (Age == 13 && East && North && !South && !Up && !West) return 1863;
- if (Age == 13 && East && !North && South && Up && West) return 1864;
- if (Age == 13 && East && !North && South && Up && !West) return 1865;
- if (Age == 13 && East && !North && South && !Up && West) return 1866;
- if (Age == 13 && East && !North && South && !Up && !West) return 1867;
- if (Age == 13 && East && !North && !South && Up && West) return 1868;
- if (Age == 13 && East && !North && !South && Up && !West) return 1869;
- if (Age == 13 && East && !North && !South && !Up && West) return 1870;
- if (Age == 13 && East && !North && !South && !Up && !West) return 1871;
- if (Age == 13 && !East && North && South && Up && West) return 1872;
- if (Age == 13 && !East && North && South && Up && !West) return 1873;
- if (Age == 13 && !East && North && South && !Up && West) return 1874;
- if (Age == 13 && !East && North && South && !Up && !West) return 1875;
- if (Age == 13 && !East && North && !South && Up && West) return 1876;
- if (Age == 13 && !East && North && !South && Up && !West) return 1877;
- if (Age == 13 && !East && North && !South && !Up && West) return 1878;
- if (Age == 13 && !East && North && !South && !Up && !West) return 1879;
- if (Age == 13 && !East && !North && South && Up && West) return 1880;
- if (Age == 13 && !East && !North && South && Up && !West) return 1881;
- if (Age == 13 && !East && !North && South && !Up && West) return 1882;
- if (Age == 13 && !East && !North && South && !Up && !West) return 1883;
- if (Age == 13 && !East && !North && !South && Up && West) return 1884;
- if (Age == 13 && !East && !North && !South && Up && !West) return 1885;
- if (Age == 13 && !East && !North && !South && !Up && West) return 1886;
- if (Age == 13 && !East && !North && !South && !Up && !West) return 1887;
- if (Age == 14 && East && North && South && Up && West) return 1888;
- if (Age == 14 && East && North && South && Up && !West) return 1889;
- if (Age == 14 && East && North && South && !Up && West) return 1890;
- if (Age == 14 && East && North && South && !Up && !West) return 1891;
- if (Age == 14 && East && North && !South && Up && West) return 1892;
- if (Age == 14 && East && North && !South && Up && !West) return 1893;
- if (Age == 14 && East && North && !South && !Up && West) return 1894;
- if (Age == 14 && East && North && !South && !Up && !West) return 1895;
- if (Age == 14 && East && !North && South && Up && West) return 1896;
- if (Age == 14 && East && !North && South && Up && !West) return 1897;
- if (Age == 14 && East && !North && South && !Up && West) return 1898;
- if (Age == 14 && East && !North && South && !Up && !West) return 1899;
- if (Age == 14 && East && !North && !South && Up && West) return 1900;
- if (Age == 14 && East && !North && !South && Up && !West) return 1901;
- if (Age == 14 && East && !North && !South && !Up && West) return 1902;
- if (Age == 14 && East && !North && !South && !Up && !West) return 1903;
- if (Age == 14 && !East && North && South && Up && West) return 1904;
- if (Age == 14 && !East && North && South && Up && !West) return 1905;
- if (Age == 14 && !East && North && South && !Up && West) return 1906;
- if (Age == 14 && !East && North && South && !Up && !West) return 1907;
- if (Age == 14 && !East && North && !South && Up && West) return 1908;
- if (Age == 14 && !East && North && !South && Up && !West) return 1909;
- if (Age == 14 && !East && North && !South && !Up && West) return 1910;
- if (Age == 14 && !East && North && !South && !Up && !West) return 1911;
- if (Age == 14 && !East && !North && South && Up && West) return 1912;
- if (Age == 14 && !East && !North && South && Up && !West) return 1913;
- if (Age == 14 && !East && !North && South && !Up && West) return 1914;
- if (Age == 14 && !East && !North && South && !Up && !West) return 1915;
- if (Age == 14 && !East && !North && !South && Up && West) return 1916;
- if (Age == 14 && !East && !North && !South && Up && !West) return 1917;
- if (Age == 14 && !East && !North && !South && !Up && West) return 1918;
- if (Age == 14 && !East && !North && !South && !Up && !West) return 1919;
- if (Age == 15 && East && North && South && Up && West) return 1920;
- if (Age == 15 && East && North && South && Up && !West) return 1921;
- if (Age == 15 && East && North && South && !Up && West) return 1922;
- if (Age == 15 && East && North && South && !Up && !West) return 1923;
- if (Age == 15 && East && North && !South && Up && West) return 1924;
- if (Age == 15 && East && North && !South && Up && !West) return 1925;
- if (Age == 15 && East && North && !South && !Up && West) return 1926;
- if (Age == 15 && East && North && !South && !Up && !West) return 1927;
- if (Age == 15 && East && !North && South && Up && West) return 1928;
- if (Age == 15 && East && !North && South && Up && !West) return 1929;
- if (Age == 15 && East && !North && South && !Up && West) return 1930;
- if (Age == 15 && East && !North && South && !Up && !West) return 1931;
- if (Age == 15 && East && !North && !South && Up && West) return 1932;
- if (Age == 15 && East && !North && !South && Up && !West) return 1933;
- if (Age == 15 && East && !North && !South && !Up && West) return 1934;
- if (Age == 15 && East && !North && !South && !Up && !West) return 1935;
- if (Age == 15 && !East && North && South && Up && West) return 1936;
- if (Age == 15 && !East && North && South && Up && !West) return 1937;
- if (Age == 15 && !East && North && South && !Up && West) return 1938;
- if (Age == 15 && !East && North && South && !Up && !West) return 1939;
- if (Age == 15 && !East && North && !South && Up && West) return 1940;
- if (Age == 15 && !East && North && !South && Up && !West) return 1941;
- if (Age == 15 && !East && North && !South && !Up && West) return 1942;
- if (Age == 15 && !East && North && !South && !Up && !West) return 1943;
- if (Age == 15 && !East && !North && South && Up && West) return 1944;
- if (Age == 15 && !East && !North && South && Up && !West) return 1945;
- if (Age == 15 && !East && !North && South && !Up && West) return 1946;
- if (Age == 15 && !East && !North && South && !Up && !West) return 1947;
- if (Age == 15 && !East && !North && !South && Up && West) return 1948;
- if (Age == 15 && !East && !North && !South && Up && !West) return 1949;
- if (Age == 15 && !East && !North && !South && !Up && West) return 1950;
- return 1951;
- }
- short Fire();
- unsigned char Age(short ID);
- bool East(short ID);
- bool North(short ID);
- bool South(short ID);
- bool Up(short ID);
- bool West(short ID);
- }
- namespace FireCoral
- {
- constexpr short FireCoral()
- {
- return 9537;
- }
- }
- namespace FireCoralBlock
- {
- constexpr short FireCoralBlock()
- {
- return 9518;
- }
- }
- namespace FireCoralFan
- {
- constexpr short FireCoralFan()
- {
- return 9557;
- }
- }
- namespace FireCoralWallFan
- {
- constexpr short FireCoralWallFan(eBlockFace Facing)
- {
- if (Facing == eBlockFace::BLOCK_FACE_ZM) return 9625;
- if (Facing == eBlockFace::BLOCK_FACE_ZP) return 9627;
- if (Facing == eBlockFace::BLOCK_FACE_XM) return 9629;
- return 9631;
- }
- short FireCoralWallFan();
- eBlockFace Facing(short ID);
- }
- namespace FletchingTable
- {
- constexpr short FletchingTable()
- {
- return 14820;
- }
- }
- namespace FlowerPot
- {
- constexpr short FlowerPot()
- {
- return 6305;
- }
- }
- namespace FrostedIce
- {
- constexpr short FrostedIce(unsigned char Age)
- {
- if (Age == 0) return 9249;
- if (Age == 1) return 9250;
- if (Age == 2) return 9251;
- return 9252;
- }
- short FrostedIce();
- unsigned char Age(short ID);
- }
- namespace Furnace
- {
- constexpr short Furnace(eBlockFace Facing, bool Lit)
- {
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Lit) return 3373;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && !Lit) return 3374;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Lit) return 3375;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && !Lit) return 3376;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Lit) return 3377;
- if (Facing == eBlockFace::BLOCK_FACE_XM && !Lit) return 3378;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Lit) return 3379;
- return 3380;
- }
- short Furnace();
- eBlockFace Facing(short ID);
- bool Lit(short ID);
- }
- namespace GildedBlackstone
- {
- constexpr short GildedBlackstone()
- {
- return 16664;
- }
- }
- namespace Glass
- {
- constexpr short Glass()
- {
- return 231;
- }
- }
- namespace GlassPane
- {
- constexpr short GlassPane(bool East, bool North, bool South, bool West)
- {
- if (East && North && South && West) return 4733;
- if (East && North && South && !West) return 4734;
- if (East && North && !South && West) return 4737;
- if (East && North && !South && !West) return 4738;
- if (East && !North && South && West) return 4741;
- if (East && !North && South && !West) return 4742;
- if (East && !North && !South && West) return 4745;
- if (East && !North && !South && !West) return 4746;
- if (!East && North && South && West) return 4749;
- if (!East && North && South && !West) return 4750;
- if (!East && North && !South && West) return 4753;
- if (!East && North && !South && !West) return 4754;
- if (!East && !North && South && West) return 4757;
- if (!East && !North && South && !West) return 4758;
- if (!East && !North && !South && West) return 4761;
- return 4762;
- }
- short GlassPane();
- bool East(short ID);
- bool North(short ID);
- bool South(short ID);
- bool West(short ID);
- }
- namespace Glowstone
- {
- constexpr short Glowstone()
- {
- return 4013;
- }
- }
- namespace GoldBlock
- {
- constexpr short GoldBlock()
- {
- return 1427;
- }
- }
- namespace GoldOre
- {
- constexpr short GoldOre()
- {
- return 69;
- }
- }
- namespace Granite
- {
- constexpr short Granite()
- {
- return 2;
- }
- }
- namespace GraniteSlab
- {
- enum class Type
- {
- Top,
- Bottom,
- Double
- };
- constexpr short GraniteSlab(enum Type Type)
- {
- if (Type == Type::Top) return 10838;
- if (Type == Type::Bottom) return 10840;
- return 10842;
- }
- short GraniteSlab();
- enum Type Type(short ID);
- }
- namespace GraniteStairs
- {
- enum class Half
- {
- Top,
- Bottom
- };
- enum class Shape
- {
- Straight,
- InnerLeft,
- InnerRight,
- OuterLeft,
- OuterRight
- };
- constexpr short GraniteStairs(eBlockFace Facing, enum Half Half, enum Shape Shape)
- {
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Top && Shape == Shape::Straight) return 10390;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Top && Shape == Shape::InnerLeft) return 10392;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Top && Shape == Shape::InnerRight) return 10394;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Top && Shape == Shape::OuterLeft) return 10396;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Top && Shape == Shape::OuterRight) return 10398;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Bottom && Shape == Shape::Straight) return 10400;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Bottom && Shape == Shape::InnerLeft) return 10402;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Bottom && Shape == Shape::InnerRight) return 10404;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Bottom && Shape == Shape::OuterLeft) return 10406;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Bottom && Shape == Shape::OuterRight) return 10408;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Top && Shape == Shape::Straight) return 10410;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Top && Shape == Shape::InnerLeft) return 10412;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Top && Shape == Shape::InnerRight) return 10414;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Top && Shape == Shape::OuterLeft) return 10416;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Top && Shape == Shape::OuterRight) return 10418;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Bottom && Shape == Shape::Straight) return 10420;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Bottom && Shape == Shape::InnerLeft) return 10422;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Bottom && Shape == Shape::InnerRight) return 10424;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Bottom && Shape == Shape::OuterLeft) return 10426;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Bottom && Shape == Shape::OuterRight) return 10428;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Top && Shape == Shape::Straight) return 10430;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Top && Shape == Shape::InnerLeft) return 10432;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Top && Shape == Shape::InnerRight) return 10434;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Top && Shape == Shape::OuterLeft) return 10436;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Top && Shape == Shape::OuterRight) return 10438;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Bottom && Shape == Shape::Straight) return 10440;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Bottom && Shape == Shape::InnerLeft) return 10442;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Bottom && Shape == Shape::InnerRight) return 10444;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Bottom && Shape == Shape::OuterLeft) return 10446;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Bottom && Shape == Shape::OuterRight) return 10448;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Top && Shape == Shape::Straight) return 10450;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Top && Shape == Shape::InnerLeft) return 10452;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Top && Shape == Shape::InnerRight) return 10454;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Top && Shape == Shape::OuterLeft) return 10456;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Top && Shape == Shape::OuterRight) return 10458;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Bottom && Shape == Shape::Straight) return 10460;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Bottom && Shape == Shape::InnerLeft) return 10462;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Bottom && Shape == Shape::InnerRight) return 10464;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Bottom && Shape == Shape::OuterLeft) return 10466;
- return 10468;
- }
- short GraniteStairs();
- eBlockFace Facing(short ID);
- enum Half Half(short ID);
- enum Shape Shape(short ID);
- }
- namespace GraniteWall
- {
- enum class East
- {
- None,
- Low,
- Tall
- };
- enum class North
- {
- None,
- Low,
- Tall
- };
- enum class South
- {
- None,
- Low,
- Tall
- };
- enum class West
- {
- None,
- Low,
- Tall
- };
- constexpr short GraniteWall(enum East East, enum North North, enum South South, bool Up, enum West West)
- {
- if (East == East::None && North == North::None && South == South::None && Up && West == West::None) return 12166;
- if (East == East::None && North == North::None && South == South::None && Up && West == West::Low) return 12167;
- if (East == East::None && North == North::None && South == South::None && Up && West == West::Tall) return 12168;
- if (East == East::None && North == North::None && South == South::None && !Up && West == West::None) return 12172;
- if (East == East::None && North == North::None && South == South::None && !Up && West == West::Low) return 12173;
- if (East == East::None && North == North::None && South == South::None && !Up && West == West::Tall) return 12174;
- if (East == East::None && North == North::None && South == South::Low && Up && West == West::None) return 12178;
- if (East == East::None && North == North::None && South == South::Low && Up && West == West::Low) return 12179;
- if (East == East::None && North == North::None && South == South::Low && Up && West == West::Tall) return 12180;
- if (East == East::None && North == North::None && South == South::Low && !Up && West == West::None) return 12184;
- if (East == East::None && North == North::None && South == South::Low && !Up && West == West::Low) return 12185;
- if (East == East::None && North == North::None && South == South::Low && !Up && West == West::Tall) return 12186;
- if (East == East::None && North == North::None && South == South::Tall && Up && West == West::None) return 12190;
- if (East == East::None && North == North::None && South == South::Tall && Up && West == West::Low) return 12191;
- if (East == East::None && North == North::None && South == South::Tall && Up && West == West::Tall) return 12192;
- if (East == East::None && North == North::None && South == South::Tall && !Up && West == West::None) return 12196;
- if (East == East::None && North == North::None && South == South::Tall && !Up && West == West::Low) return 12197;
- if (East == East::None && North == North::None && South == South::Tall && !Up && West == West::Tall) return 12198;
- if (East == East::None && North == North::Low && South == South::None && Up && West == West::None) return 12202;
- if (East == East::None && North == North::Low && South == South::None && Up && West == West::Low) return 12203;
- if (East == East::None && North == North::Low && South == South::None && Up && West == West::Tall) return 12204;
- if (East == East::None && North == North::Low && South == South::None && !Up && West == West::None) return 12208;
- if (East == East::None && North == North::Low && South == South::None && !Up && West == West::Low) return 12209;
- if (East == East::None && North == North::Low && South == South::None && !Up && West == West::Tall) return 12210;
- if (East == East::None && North == North::Low && South == South::Low && Up && West == West::None) return 12214;
- if (East == East::None && North == North::Low && South == South::Low && Up && West == West::Low) return 12215;
- if (East == East::None && North == North::Low && South == South::Low && Up && West == West::Tall) return 12216;
- if (East == East::None && North == North::Low && South == South::Low && !Up && West == West::None) return 12220;
- if (East == East::None && North == North::Low && South == South::Low && !Up && West == West::Low) return 12221;
- if (East == East::None && North == North::Low && South == South::Low && !Up && West == West::Tall) return 12222;
- if (East == East::None && North == North::Low && South == South::Tall && Up && West == West::None) return 12226;
- if (East == East::None && North == North::Low && South == South::Tall && Up && West == West::Low) return 12227;
- if (East == East::None && North == North::Low && South == South::Tall && Up && West == West::Tall) return 12228;
- if (East == East::None && North == North::Low && South == South::Tall && !Up && West == West::None) return 12232;
- if (East == East::None && North == North::Low && South == South::Tall && !Up && West == West::Low) return 12233;
- if (East == East::None && North == North::Low && South == South::Tall && !Up && West == West::Tall) return 12234;
- if (East == East::None && North == North::Tall && South == South::None && Up && West == West::None) return 12238;
- if (East == East::None && North == North::Tall && South == South::None && Up && West == West::Low) return 12239;
- if (East == East::None && North == North::Tall && South == South::None && Up && West == West::Tall) return 12240;
- if (East == East::None && North == North::Tall && South == South::None && !Up && West == West::None) return 12244;
- if (East == East::None && North == North::Tall && South == South::None && !Up && West == West::Low) return 12245;
- if (East == East::None && North == North::Tall && South == South::None && !Up && West == West::Tall) return 12246;
- if (East == East::None && North == North::Tall && South == South::Low && Up && West == West::None) return 12250;
- if (East == East::None && North == North::Tall && South == South::Low && Up && West == West::Low) return 12251;
- if (East == East::None && North == North::Tall && South == South::Low && Up && West == West::Tall) return 12252;
- if (East == East::None && North == North::Tall && South == South::Low && !Up && West == West::None) return 12256;
- if (East == East::None && North == North::Tall && South == South::Low && !Up && West == West::Low) return 12257;
- if (East == East::None && North == North::Tall && South == South::Low && !Up && West == West::Tall) return 12258;
- if (East == East::None && North == North::Tall && South == South::Tall && Up && West == West::None) return 12262;
- if (East == East::None && North == North::Tall && South == South::Tall && Up && West == West::Low) return 12263;
- if (East == East::None && North == North::Tall && South == South::Tall && Up && West == West::Tall) return 12264;
- if (East == East::None && North == North::Tall && South == South::Tall && !Up && West == West::None) return 12268;
- if (East == East::None && North == North::Tall && South == South::Tall && !Up && West == West::Low) return 12269;
- if (East == East::None && North == North::Tall && South == South::Tall && !Up && West == West::Tall) return 12270;
- if (East == East::Low && North == North::None && South == South::None && Up && West == West::None) return 12274;
- if (East == East::Low && North == North::None && South == South::None && Up && West == West::Low) return 12275;
- if (East == East::Low && North == North::None && South == South::None && Up && West == West::Tall) return 12276;
- if (East == East::Low && North == North::None && South == South::None && !Up && West == West::None) return 12280;
- if (East == East::Low && North == North::None && South == South::None && !Up && West == West::Low) return 12281;
- if (East == East::Low && North == North::None && South == South::None && !Up && West == West::Tall) return 12282;
- if (East == East::Low && North == North::None && South == South::Low && Up && West == West::None) return 12286;
- if (East == East::Low && North == North::None && South == South::Low && Up && West == West::Low) return 12287;
- if (East == East::Low && North == North::None && South == South::Low && Up && West == West::Tall) return 12288;
- if (East == East::Low && North == North::None && South == South::Low && !Up && West == West::None) return 12292;
- if (East == East::Low && North == North::None && South == South::Low && !Up && West == West::Low) return 12293;
- if (East == East::Low && North == North::None && South == South::Low && !Up && West == West::Tall) return 12294;
- if (East == East::Low && North == North::None && South == South::Tall && Up && West == West::None) return 12298;
- if (East == East::Low && North == North::None && South == South::Tall && Up && West == West::Low) return 12299;
- if (East == East::Low && North == North::None && South == South::Tall && Up && West == West::Tall) return 12300;
- if (East == East::Low && North == North::None && South == South::Tall && !Up && West == West::None) return 12304;
- if (East == East::Low && North == North::None && South == South::Tall && !Up && West == West::Low) return 12305;
- if (East == East::Low && North == North::None && South == South::Tall && !Up && West == West::Tall) return 12306;
- if (East == East::Low && North == North::Low && South == South::None && Up && West == West::None) return 12310;
- if (East == East::Low && North == North::Low && South == South::None && Up && West == West::Low) return 12311;
- if (East == East::Low && North == North::Low && South == South::None && Up && West == West::Tall) return 12312;
- if (East == East::Low && North == North::Low && South == South::None && !Up && West == West::None) return 12316;
- if (East == East::Low && North == North::Low && South == South::None && !Up && West == West::Low) return 12317;
- if (East == East::Low && North == North::Low && South == South::None && !Up && West == West::Tall) return 12318;
- if (East == East::Low && North == North::Low && South == South::Low && Up && West == West::None) return 12322;
- if (East == East::Low && North == North::Low && South == South::Low && Up && West == West::Low) return 12323;
- if (East == East::Low && North == North::Low && South == South::Low && Up && West == West::Tall) return 12324;
- if (East == East::Low && North == North::Low && South == South::Low && !Up && West == West::None) return 12328;
- if (East == East::Low && North == North::Low && South == South::Low && !Up && West == West::Low) return 12329;
- if (East == East::Low && North == North::Low && South == South::Low && !Up && West == West::Tall) return 12330;
- if (East == East::Low && North == North::Low && South == South::Tall && Up && West == West::None) return 12334;
- if (East == East::Low && North == North::Low && South == South::Tall && Up && West == West::Low) return 12335;
- if (East == East::Low && North == North::Low && South == South::Tall && Up && West == West::Tall) return 12336;
- if (East == East::Low && North == North::Low && South == South::Tall && !Up && West == West::None) return 12340;
- if (East == East::Low && North == North::Low && South == South::Tall && !Up && West == West::Low) return 12341;
- if (East == East::Low && North == North::Low && South == South::Tall && !Up && West == West::Tall) return 12342;
- if (East == East::Low && North == North::Tall && South == South::None && Up && West == West::None) return 12346;
- if (East == East::Low && North == North::Tall && South == South::None && Up && West == West::Low) return 12347;
- if (East == East::Low && North == North::Tall && South == South::None && Up && West == West::Tall) return 12348;
- if (East == East::Low && North == North::Tall && South == South::None && !Up && West == West::None) return 12352;
- if (East == East::Low && North == North::Tall && South == South::None && !Up && West == West::Low) return 12353;
- if (East == East::Low && North == North::Tall && South == South::None && !Up && West == West::Tall) return 12354;
- if (East == East::Low && North == North::Tall && South == South::Low && Up && West == West::None) return 12358;
- if (East == East::Low && North == North::Tall && South == South::Low && Up && West == West::Low) return 12359;
- if (East == East::Low && North == North::Tall && South == South::Low && Up && West == West::Tall) return 12360;
- if (East == East::Low && North == North::Tall && South == South::Low && !Up && West == West::None) return 12364;
- if (East == East::Low && North == North::Tall && South == South::Low && !Up && West == West::Low) return 12365;
- if (East == East::Low && North == North::Tall && South == South::Low && !Up && West == West::Tall) return 12366;
- if (East == East::Low && North == North::Tall && South == South::Tall && Up && West == West::None) return 12370;
- if (East == East::Low && North == North::Tall && South == South::Tall && Up && West == West::Low) return 12371;
- if (East == East::Low && North == North::Tall && South == South::Tall && Up && West == West::Tall) return 12372;
- if (East == East::Low && North == North::Tall && South == South::Tall && !Up && West == West::None) return 12376;
- if (East == East::Low && North == North::Tall && South == South::Tall && !Up && West == West::Low) return 12377;
- if (East == East::Low && North == North::Tall && South == South::Tall && !Up && West == West::Tall) return 12378;
- if (East == East::Tall && North == North::None && South == South::None && Up && West == West::None) return 12382;
- if (East == East::Tall && North == North::None && South == South::None && Up && West == West::Low) return 12383;
- if (East == East::Tall && North == North::None && South == South::None && Up && West == West::Tall) return 12384;
- if (East == East::Tall && North == North::None && South == South::None && !Up && West == West::None) return 12388;
- if (East == East::Tall && North == North::None && South == South::None && !Up && West == West::Low) return 12389;
- if (East == East::Tall && North == North::None && South == South::None && !Up && West == West::Tall) return 12390;
- if (East == East::Tall && North == North::None && South == South::Low && Up && West == West::None) return 12394;
- if (East == East::Tall && North == North::None && South == South::Low && Up && West == West::Low) return 12395;
- if (East == East::Tall && North == North::None && South == South::Low && Up && West == West::Tall) return 12396;
- if (East == East::Tall && North == North::None && South == South::Low && !Up && West == West::None) return 12400;
- if (East == East::Tall && North == North::None && South == South::Low && !Up && West == West::Low) return 12401;
- if (East == East::Tall && North == North::None && South == South::Low && !Up && West == West::Tall) return 12402;
- if (East == East::Tall && North == North::None && South == South::Tall && Up && West == West::None) return 12406;
- if (East == East::Tall && North == North::None && South == South::Tall && Up && West == West::Low) return 12407;
- if (East == East::Tall && North == North::None && South == South::Tall && Up && West == West::Tall) return 12408;
- if (East == East::Tall && North == North::None && South == South::Tall && !Up && West == West::None) return 12412;
- if (East == East::Tall && North == North::None && South == South::Tall && !Up && West == West::Low) return 12413;
- if (East == East::Tall && North == North::None && South == South::Tall && !Up && West == West::Tall) return 12414;
- if (East == East::Tall && North == North::Low && South == South::None && Up && West == West::None) return 12418;
- if (East == East::Tall && North == North::Low && South == South::None && Up && West == West::Low) return 12419;
- if (East == East::Tall && North == North::Low && South == South::None && Up && West == West::Tall) return 12420;
- if (East == East::Tall && North == North::Low && South == South::None && !Up && West == West::None) return 12424;
- if (East == East::Tall && North == North::Low && South == South::None && !Up && West == West::Low) return 12425;
- if (East == East::Tall && North == North::Low && South == South::None && !Up && West == West::Tall) return 12426;
- if (East == East::Tall && North == North::Low && South == South::Low && Up && West == West::None) return 12430;
- if (East == East::Tall && North == North::Low && South == South::Low && Up && West == West::Low) return 12431;
- if (East == East::Tall && North == North::Low && South == South::Low && Up && West == West::Tall) return 12432;
- if (East == East::Tall && North == North::Low && South == South::Low && !Up && West == West::None) return 12436;
- if (East == East::Tall && North == North::Low && South == South::Low && !Up && West == West::Low) return 12437;
- if (East == East::Tall && North == North::Low && South == South::Low && !Up && West == West::Tall) return 12438;
- if (East == East::Tall && North == North::Low && South == South::Tall && Up && West == West::None) return 12442;
- if (East == East::Tall && North == North::Low && South == South::Tall && Up && West == West::Low) return 12443;
- if (East == East::Tall && North == North::Low && South == South::Tall && Up && West == West::Tall) return 12444;
- if (East == East::Tall && North == North::Low && South == South::Tall && !Up && West == West::None) return 12448;
- if (East == East::Tall && North == North::Low && South == South::Tall && !Up && West == West::Low) return 12449;
- if (East == East::Tall && North == North::Low && South == South::Tall && !Up && West == West::Tall) return 12450;
- if (East == East::Tall && North == North::Tall && South == South::None && Up && West == West::None) return 12454;
- if (East == East::Tall && North == North::Tall && South == South::None && Up && West == West::Low) return 12455;
- if (East == East::Tall && North == North::Tall && South == South::None && Up && West == West::Tall) return 12456;
- if (East == East::Tall && North == North::Tall && South == South::None && !Up && West == West::None) return 12460;
- if (East == East::Tall && North == North::Tall && South == South::None && !Up && West == West::Low) return 12461;
- if (East == East::Tall && North == North::Tall && South == South::None && !Up && West == West::Tall) return 12462;
- if (East == East::Tall && North == North::Tall && South == South::Low && Up && West == West::None) return 12466;
- if (East == East::Tall && North == North::Tall && South == South::Low && Up && West == West::Low) return 12467;
- if (East == East::Tall && North == North::Tall && South == South::Low && Up && West == West::Tall) return 12468;
- if (East == East::Tall && North == North::Tall && South == South::Low && !Up && West == West::None) return 12472;
- if (East == East::Tall && North == North::Tall && South == South::Low && !Up && West == West::Low) return 12473;
- if (East == East::Tall && North == North::Tall && South == South::Low && !Up && West == West::Tall) return 12474;
- if (East == East::Tall && North == North::Tall && South == South::Tall && Up && West == West::None) return 12478;
- if (East == East::Tall && North == North::Tall && South == South::Tall && Up && West == West::Low) return 12479;
- if (East == East::Tall && North == North::Tall && South == South::Tall && Up && West == West::Tall) return 12480;
- if (East == East::Tall && North == North::Tall && South == South::Tall && !Up && West == West::None) return 12484;
- if (East == East::Tall && North == North::Tall && South == South::Tall && !Up && West == West::Low) return 12485;
- return 12486;
- }
- short GraniteWall();
- enum East East(short ID);
- enum North North(short ID);
- enum South South(short ID);
- bool Up(short ID);
- enum West West(short ID);
- }
- namespace Grass
- {
- constexpr short Grass()
- {
- return 1342;
- }
- }
- namespace GrassBlock
- {
- constexpr short GrassBlock(bool Snowy)
- {
- if (Snowy) return 8;
- return 9;
- }
- short GrassBlock();
- bool Snowy(short ID);
- }
- namespace GrassPath
- {
- constexpr short GrassPath()
- {
- return 9223;
- }
- }
- namespace Gravel
- {
- constexpr short Gravel()
- {
- return 68;
- }
- }
- namespace GrayBanner
- {
- constexpr short GrayBanner(unsigned char Rotation)
- {
- if (Rotation == 0) return 8009;
- if (Rotation == 1) return 8010;
- if (Rotation == 2) return 8011;
- if (Rotation == 3) return 8012;
- if (Rotation == 4) return 8013;
- if (Rotation == 5) return 8014;
- if (Rotation == 6) return 8015;
- if (Rotation == 7) return 8016;
- if (Rotation == 8) return 8017;
- if (Rotation == 9) return 8018;
- if (Rotation == 10) return 8019;
- if (Rotation == 11) return 8020;
- if (Rotation == 12) return 8021;
- if (Rotation == 13) return 8022;
- if (Rotation == 14) return 8023;
- return 8024;
- }
- short GrayBanner();
- unsigned char Rotation(short ID);
- }
- namespace GrayBed
- {
- enum class Part
- {
- Head,
- Foot
- };
- constexpr short GrayBed(eBlockFace Facing, bool Occupied, enum Part Part)
- {
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Occupied && Part == Part::Head) return 1161;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Occupied && Part == Part::Foot) return 1162;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && !Occupied && Part == Part::Head) return 1163;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && !Occupied && Part == Part::Foot) return 1164;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Occupied && Part == Part::Head) return 1165;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Occupied && Part == Part::Foot) return 1166;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && !Occupied && Part == Part::Head) return 1167;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && !Occupied && Part == Part::Foot) return 1168;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Occupied && Part == Part::Head) return 1169;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Occupied && Part == Part::Foot) return 1170;
- if (Facing == eBlockFace::BLOCK_FACE_XM && !Occupied && Part == Part::Head) return 1171;
- if (Facing == eBlockFace::BLOCK_FACE_XM && !Occupied && Part == Part::Foot) return 1172;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Occupied && Part == Part::Head) return 1173;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Occupied && Part == Part::Foot) return 1174;
- if (Facing == eBlockFace::BLOCK_FACE_XP && !Occupied && Part == Part::Head) return 1175;
- return 1176;
- }
- short GrayBed();
- eBlockFace Facing(short ID);
- bool Occupied(short ID);
- enum Part Part(short ID);
- }
- namespace GrayCarpet
- {
- constexpr short GrayCarpet()
- {
- return 7873;
- }
- }
- namespace GrayConcrete
- {
- constexpr short GrayConcrete()
- {
- return 9445;
- }
- }
- namespace GrayConcretePowder
- {
- constexpr short GrayConcretePowder()
- {
- return 9461;
- }
- }
- namespace GrayGlazedTerracotta
- {
- constexpr short GrayGlazedTerracotta(eBlockFace Facing)
- {
- if (Facing == eBlockFace::BLOCK_FACE_ZM) return 9402;
- if (Facing == eBlockFace::BLOCK_FACE_ZP) return 9403;
- if (Facing == eBlockFace::BLOCK_FACE_XM) return 9404;
- return 9405;
- }
- short GrayGlazedTerracotta();
- eBlockFace Facing(short ID);
- }
- namespace GrayShulkerBox
- {
- constexpr short GrayShulkerBox(eBlockFace Facing)
- {
- if (Facing == eBlockFace::BLOCK_FACE_ZM) return 9320;
- if (Facing == eBlockFace::BLOCK_FACE_XP) return 9321;
- if (Facing == eBlockFace::BLOCK_FACE_ZP) return 9322;
- if (Facing == eBlockFace::BLOCK_FACE_XM) return 9323;
- if (Facing == eBlockFace::BLOCK_FACE_YP) return 9324;
- return 9325;
- }
- short GrayShulkerBox();
- eBlockFace Facing(short ID);
- }
- namespace GrayStainedGlass
- {
- constexpr short GrayStainedGlass()
- {
- return 4102;
- }
- }
- namespace GrayStainedGlassPane
- {
- constexpr short GrayStainedGlassPane(bool East, bool North, bool South, bool West)
- {
- if (East && North && South && West) return 7089;
- if (East && North && South && !West) return 7090;
- if (East && North && !South && West) return 7093;
- if (East && North && !South && !West) return 7094;
- if (East && !North && South && West) return 7097;
- if (East && !North && South && !West) return 7098;
- if (East && !North && !South && West) return 7101;
- if (East && !North && !South && !West) return 7102;
- if (!East && North && South && West) return 7105;
- if (!East && North && South && !West) return 7106;
- if (!East && North && !South && West) return 7109;
- if (!East && North && !South && !West) return 7110;
- if (!East && !North && South && West) return 7113;
- if (!East && !North && South && !West) return 7114;
- if (!East && !North && !South && West) return 7117;
- return 7118;
- }
- short GrayStainedGlassPane();
- bool East(short ID);
- bool North(short ID);
- bool South(short ID);
- bool West(short ID);
- }
- namespace GrayTerracotta
- {
- constexpr short GrayTerracotta()
- {
- return 6854;
- }
- }
- namespace GrayWallBanner
- {
- constexpr short GrayWallBanner(eBlockFace Facing)
- {
- if (Facing == eBlockFace::BLOCK_FACE_ZM) return 8181;
- if (Facing == eBlockFace::BLOCK_FACE_ZP) return 8182;
- if (Facing == eBlockFace::BLOCK_FACE_XM) return 8183;
- return 8184;
- }
- short GrayWallBanner();
- eBlockFace Facing(short ID);
- }
- namespace GrayWool
- {
- constexpr short GrayWool()
- {
- return 1391;
- }
- }
- namespace GreenBanner
- {
- constexpr short GreenBanner(unsigned char Rotation)
- {
- if (Rotation == 0) return 8105;
- if (Rotation == 1) return 8106;
- if (Rotation == 2) return 8107;
- if (Rotation == 3) return 8108;
- if (Rotation == 4) return 8109;
- if (Rotation == 5) return 8110;
- if (Rotation == 6) return 8111;
- if (Rotation == 7) return 8112;
- if (Rotation == 8) return 8113;
- if (Rotation == 9) return 8114;
- if (Rotation == 10) return 8115;
- if (Rotation == 11) return 8116;
- if (Rotation == 12) return 8117;
- if (Rotation == 13) return 8118;
- if (Rotation == 14) return 8119;
- return 8120;
- }
- short GreenBanner();
- unsigned char Rotation(short ID);
- }
- namespace GreenBed
- {
- enum class Part
- {
- Head,
- Foot
- };
- constexpr short GreenBed(eBlockFace Facing, bool Occupied, enum Part Part)
- {
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Occupied && Part == Part::Head) return 1257;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Occupied && Part == Part::Foot) return 1258;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && !Occupied && Part == Part::Head) return 1259;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && !Occupied && Part == Part::Foot) return 1260;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Occupied && Part == Part::Head) return 1261;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Occupied && Part == Part::Foot) return 1262;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && !Occupied && Part == Part::Head) return 1263;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && !Occupied && Part == Part::Foot) return 1264;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Occupied && Part == Part::Head) return 1265;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Occupied && Part == Part::Foot) return 1266;
- if (Facing == eBlockFace::BLOCK_FACE_XM && !Occupied && Part == Part::Head) return 1267;
- if (Facing == eBlockFace::BLOCK_FACE_XM && !Occupied && Part == Part::Foot) return 1268;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Occupied && Part == Part::Head) return 1269;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Occupied && Part == Part::Foot) return 1270;
- if (Facing == eBlockFace::BLOCK_FACE_XP && !Occupied && Part == Part::Head) return 1271;
- return 1272;
- }
- short GreenBed();
- eBlockFace Facing(short ID);
- bool Occupied(short ID);
- enum Part Part(short ID);
- }
- namespace GreenCarpet
- {
- constexpr short GreenCarpet()
- {
- return 7879;
- }
- }
- namespace GreenConcrete
- {
- constexpr short GreenConcrete()
- {
- return 9451;
- }
- }
- namespace GreenConcretePowder
- {
- constexpr short GreenConcretePowder()
- {
- return 9467;
- }
- }
- namespace GreenGlazedTerracotta
- {
- constexpr short GreenGlazedTerracotta(eBlockFace Facing)
- {
- if (Facing == eBlockFace::BLOCK_FACE_ZM) return 9426;
- if (Facing == eBlockFace::BLOCK_FACE_ZP) return 9427;
- if (Facing == eBlockFace::BLOCK_FACE_XM) return 9428;
- return 9429;
- }
- short GreenGlazedTerracotta();
- eBlockFace Facing(short ID);
- }
- namespace GreenShulkerBox
- {
- constexpr short GreenShulkerBox(eBlockFace Facing)
- {
- if (Facing == eBlockFace::BLOCK_FACE_ZM) return 9356;
- if (Facing == eBlockFace::BLOCK_FACE_XP) return 9357;
- if (Facing == eBlockFace::BLOCK_FACE_ZP) return 9358;
- if (Facing == eBlockFace::BLOCK_FACE_XM) return 9359;
- if (Facing == eBlockFace::BLOCK_FACE_YP) return 9360;
- return 9361;
- }
- short GreenShulkerBox();
- eBlockFace Facing(short ID);
- }
- namespace GreenStainedGlass
- {
- constexpr short GreenStainedGlass()
- {
- return 4108;
- }
- }
- namespace GreenStainedGlassPane
- {
- constexpr short GreenStainedGlassPane(bool East, bool North, bool South, bool West)
- {
- if (East && North && South && West) return 7281;
- if (East && North && South && !West) return 7282;
- if (East && North && !South && West) return 7285;
- if (East && North && !South && !West) return 7286;
- if (East && !North && South && West) return 7289;
- if (East && !North && South && !West) return 7290;
- if (East && !North && !South && West) return 7293;
- if (East && !North && !South && !West) return 7294;
- if (!East && North && South && West) return 7297;
- if (!East && North && South && !West) return 7298;
- if (!East && North && !South && West) return 7301;
- if (!East && North && !South && !West) return 7302;
- if (!East && !North && South && West) return 7305;
- if (!East && !North && South && !West) return 7306;
- if (!East && !North && !South && West) return 7309;
- return 7310;
- }
- short GreenStainedGlassPane();
- bool East(short ID);
- bool North(short ID);
- bool South(short ID);
- bool West(short ID);
- }
- namespace GreenTerracotta
- {
- constexpr short GreenTerracotta()
- {
- return 6860;
- }
- }
- namespace GreenWallBanner
- {
- constexpr short GreenWallBanner(eBlockFace Facing)
- {
- if (Facing == eBlockFace::BLOCK_FACE_ZM) return 8205;
- if (Facing == eBlockFace::BLOCK_FACE_ZP) return 8206;
- if (Facing == eBlockFace::BLOCK_FACE_XM) return 8207;
- return 8208;
- }
- short GreenWallBanner();
- eBlockFace Facing(short ID);
- }
- namespace GreenWool
- {
- constexpr short GreenWool()
- {
- return 1397;
- }
- }
- namespace Grindstone
- {
- enum class Face
- {
- Floor,
- Wall,
- Ceiling
- };
- constexpr short Grindstone(enum Face Face, eBlockFace Facing)
- {
- if (Face == Face::Floor && Facing == eBlockFace::BLOCK_FACE_ZM) return 14821;
- if (Face == Face::Floor && Facing == eBlockFace::BLOCK_FACE_ZP) return 14822;
- if (Face == Face::Floor && Facing == eBlockFace::BLOCK_FACE_XM) return 14823;
- if (Face == Face::Floor && Facing == eBlockFace::BLOCK_FACE_XP) return 14824;
- if (Face == Face::Wall && Facing == eBlockFace::BLOCK_FACE_ZM) return 14825;
- if (Face == Face::Wall && Facing == eBlockFace::BLOCK_FACE_ZP) return 14826;
- if (Face == Face::Wall && Facing == eBlockFace::BLOCK_FACE_XM) return 14827;
- if (Face == Face::Wall && Facing == eBlockFace::BLOCK_FACE_XP) return 14828;
- if (Face == Face::Ceiling && Facing == eBlockFace::BLOCK_FACE_ZM) return 14829;
- if (Face == Face::Ceiling && Facing == eBlockFace::BLOCK_FACE_ZP) return 14830;
- if (Face == Face::Ceiling && Facing == eBlockFace::BLOCK_FACE_XM) return 14831;
- return 14832;
- }
- short Grindstone();
- enum Face Face(short ID);
- eBlockFace Facing(short ID);
- }
- namespace HayBale
- {
- enum class Axis
- {
- X,
- Y,
- Z
- };
- constexpr short HayBale(enum Axis Axis)
- {
- if (Axis == Axis::X) return 7863;
- if (Axis == Axis::Y) return 7864;
- return 7865;
- }
- short HayBale();
- enum Axis Axis(short ID);
- }
- namespace HeavyWeightedPressurePlate
- {
- constexpr short HeavyWeightedPressurePlate(unsigned char Power)
- {
- if (Power == 0) return 6662;
- if (Power == 1) return 6663;
- if (Power == 2) return 6664;
- if (Power == 3) return 6665;
- if (Power == 4) return 6666;
- if (Power == 5) return 6667;
- if (Power == 6) return 6668;
- if (Power == 7) return 6669;
- if (Power == 8) return 6670;
- if (Power == 9) return 6671;
- if (Power == 10) return 6672;
- if (Power == 11) return 6673;
- if (Power == 12) return 6674;
- if (Power == 13) return 6675;
- if (Power == 14) return 6676;
- return 6677;
- }
- short HeavyWeightedPressurePlate();
- unsigned char Power(short ID);
- }
- namespace HoneyBlock
- {
- constexpr short HoneyBlock()
- {
- return 15824;
- }
- }
- namespace HoneycombBlock
- {
- constexpr short HoneycombBlock()
- {
- return 15825;
- }
- }
- namespace Hopper
- {
- constexpr short Hopper(bool Enabled, eBlockFace Facing)
- {
- if (Enabled && Facing == eBlockFace::BLOCK_FACE_YM) return 6728;
- if (Enabled && Facing == eBlockFace::BLOCK_FACE_ZM) return 6729;
- if (Enabled && Facing == eBlockFace::BLOCK_FACE_ZP) return 6730;
- if (Enabled && Facing == eBlockFace::BLOCK_FACE_XM) return 6731;
- if (Enabled && Facing == eBlockFace::BLOCK_FACE_XP) return 6732;
- if (!Enabled && Facing == eBlockFace::BLOCK_FACE_YM) return 6733;
- if (!Enabled && Facing == eBlockFace::BLOCK_FACE_ZM) return 6734;
- if (!Enabled && Facing == eBlockFace::BLOCK_FACE_ZP) return 6735;
- if (!Enabled && Facing == eBlockFace::BLOCK_FACE_XM) return 6736;
- return 6737;
- }
- short Hopper();
- bool Enabled(short ID);
- eBlockFace Facing(short ID);
- }
- namespace HornCoral
- {
- constexpr short HornCoral()
- {
- return 9539;
- }
- }
- namespace HornCoralBlock
- {
- constexpr short HornCoralBlock()
- {
- return 9519;
- }
- }
- namespace HornCoralFan
- {
- constexpr short HornCoralFan()
- {
- return 9559;
- }
- }
- namespace HornCoralWallFan
- {
- constexpr short HornCoralWallFan(eBlockFace Facing)
- {
- if (Facing == eBlockFace::BLOCK_FACE_ZM) return 9633;
- if (Facing == eBlockFace::BLOCK_FACE_ZP) return 9635;
- if (Facing == eBlockFace::BLOCK_FACE_XM) return 9637;
- return 9639;
- }
- short HornCoralWallFan();
- eBlockFace Facing(short ID);
- }
- namespace Ice
- {
- constexpr short Ice()
- {
- return 3929;
- }
- }
- namespace InfestedChiseledStoneBricks
- {
- constexpr short InfestedChiseledStoneBricks()
- {
- return 4504;
- }
- }
- namespace InfestedCobblestone
- {
- constexpr short InfestedCobblestone()
- {
- return 4500;
- }
- }
- namespace InfestedCrackedStoneBricks
- {
- constexpr short InfestedCrackedStoneBricks()
- {
- return 4503;
- }
- }
- namespace InfestedMossyStoneBricks
- {
- constexpr short InfestedMossyStoneBricks()
- {
- return 4502;
- }
- }
- namespace InfestedStone
- {
- constexpr short InfestedStone()
- {
- return 4499;
- }
- }
- namespace InfestedStoneBricks
- {
- constexpr short InfestedStoneBricks()
- {
- return 4501;
- }
- }
- namespace IronBars
- {
- constexpr short IronBars(bool East, bool North, bool South, bool West)
- {
- if (East && North && South && West) return 4699;
- if (East && North && South && !West) return 4700;
- if (East && North && !South && West) return 4703;
- if (East && North && !South && !West) return 4704;
- if (East && !North && South && West) return 4707;
- if (East && !North && South && !West) return 4708;
- if (East && !North && !South && West) return 4711;
- if (East && !North && !South && !West) return 4712;
- if (!East && North && South && West) return 4715;
- if (!East && North && South && !West) return 4716;
- if (!East && North && !South && West) return 4719;
- if (!East && North && !South && !West) return 4720;
- if (!East && !North && South && West) return 4723;
- if (!East && !North && South && !West) return 4724;
- if (!East && !North && !South && West) return 4727;
- return 4728;
- }
- short IronBars();
- bool East(short ID);
- bool North(short ID);
- bool South(short ID);
- bool West(short ID);
- }
- namespace IronBlock
- {
- constexpr short IronBlock()
- {
- return 1428;
- }
- }
- namespace IronDoor
- {
- enum class Half
- {
- Upper,
- Lower
- };
- enum class Hinge
- {
- Left,
- Right
- };
- constexpr short IronDoor(eBlockFace Facing, enum Half Half, enum Hinge Hinge, bool Open, bool Powered)
- {
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Upper && Hinge == Hinge::Left && Open && Powered) return 3809;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Upper && Hinge == Hinge::Left && Open && !Powered) return 3810;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Upper && Hinge == Hinge::Left && !Open && Powered) return 3811;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Upper && Hinge == Hinge::Left && !Open && !Powered) return 3812;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Upper && Hinge == Hinge::Right && Open && Powered) return 3813;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Upper && Hinge == Hinge::Right && Open && !Powered) return 3814;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Upper && Hinge == Hinge::Right && !Open && Powered) return 3815;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Upper && Hinge == Hinge::Right && !Open && !Powered) return 3816;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Lower && Hinge == Hinge::Left && Open && Powered) return 3817;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Lower && Hinge == Hinge::Left && Open && !Powered) return 3818;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Lower && Hinge == Hinge::Left && !Open && Powered) return 3819;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Lower && Hinge == Hinge::Left && !Open && !Powered) return 3820;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Lower && Hinge == Hinge::Right && Open && Powered) return 3821;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Lower && Hinge == Hinge::Right && Open && !Powered) return 3822;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Lower && Hinge == Hinge::Right && !Open && Powered) return 3823;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Lower && Hinge == Hinge::Right && !Open && !Powered) return 3824;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Upper && Hinge == Hinge::Left && Open && Powered) return 3825;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Upper && Hinge == Hinge::Left && Open && !Powered) return 3826;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Upper && Hinge == Hinge::Left && !Open && Powered) return 3827;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Upper && Hinge == Hinge::Left && !Open && !Powered) return 3828;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Upper && Hinge == Hinge::Right && Open && Powered) return 3829;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Upper && Hinge == Hinge::Right && Open && !Powered) return 3830;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Upper && Hinge == Hinge::Right && !Open && Powered) return 3831;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Upper && Hinge == Hinge::Right && !Open && !Powered) return 3832;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Lower && Hinge == Hinge::Left && Open && Powered) return 3833;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Lower && Hinge == Hinge::Left && Open && !Powered) return 3834;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Lower && Hinge == Hinge::Left && !Open && Powered) return 3835;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Lower && Hinge == Hinge::Left && !Open && !Powered) return 3836;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Lower && Hinge == Hinge::Right && Open && Powered) return 3837;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Lower && Hinge == Hinge::Right && Open && !Powered) return 3838;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Lower && Hinge == Hinge::Right && !Open && Powered) return 3839;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Lower && Hinge == Hinge::Right && !Open && !Powered) return 3840;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Upper && Hinge == Hinge::Left && Open && Powered) return 3841;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Upper && Hinge == Hinge::Left && Open && !Powered) return 3842;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Upper && Hinge == Hinge::Left && !Open && Powered) return 3843;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Upper && Hinge == Hinge::Left && !Open && !Powered) return 3844;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Upper && Hinge == Hinge::Right && Open && Powered) return 3845;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Upper && Hinge == Hinge::Right && Open && !Powered) return 3846;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Upper && Hinge == Hinge::Right && !Open && Powered) return 3847;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Upper && Hinge == Hinge::Right && !Open && !Powered) return 3848;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Lower && Hinge == Hinge::Left && Open && Powered) return 3849;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Lower && Hinge == Hinge::Left && Open && !Powered) return 3850;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Lower && Hinge == Hinge::Left && !Open && Powered) return 3851;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Lower && Hinge == Hinge::Left && !Open && !Powered) return 3852;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Lower && Hinge == Hinge::Right && Open && Powered) return 3853;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Lower && Hinge == Hinge::Right && Open && !Powered) return 3854;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Lower && Hinge == Hinge::Right && !Open && Powered) return 3855;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Lower && Hinge == Hinge::Right && !Open && !Powered) return 3856;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Upper && Hinge == Hinge::Left && Open && Powered) return 3857;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Upper && Hinge == Hinge::Left && Open && !Powered) return 3858;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Upper && Hinge == Hinge::Left && !Open && Powered) return 3859;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Upper && Hinge == Hinge::Left && !Open && !Powered) return 3860;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Upper && Hinge == Hinge::Right && Open && Powered) return 3861;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Upper && Hinge == Hinge::Right && Open && !Powered) return 3862;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Upper && Hinge == Hinge::Right && !Open && Powered) return 3863;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Upper && Hinge == Hinge::Right && !Open && !Powered) return 3864;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Lower && Hinge == Hinge::Left && Open && Powered) return 3865;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Lower && Hinge == Hinge::Left && Open && !Powered) return 3866;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Lower && Hinge == Hinge::Left && !Open && Powered) return 3867;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Lower && Hinge == Hinge::Left && !Open && !Powered) return 3868;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Lower && Hinge == Hinge::Right && Open && Powered) return 3869;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Lower && Hinge == Hinge::Right && Open && !Powered) return 3870;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Lower && Hinge == Hinge::Right && !Open && Powered) return 3871;
- return 3872;
- }
- short IronDoor();
- eBlockFace Facing(short ID);
- enum Half Half(short ID);
- enum Hinge Hinge(short ID);
- bool Open(short ID);
- bool Powered(short ID);
- }
- namespace IronOre
- {
- constexpr short IronOre()
- {
- return 70;
- }
- }
- namespace IronTrapdoor
- {
- enum class Half
- {
- Top,
- Bottom
- };
- constexpr short IronTrapdoor(eBlockFace Facing, enum Half Half, bool Open, bool Powered)
- {
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Top && Open && Powered) return 7538;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Top && Open && !Powered) return 7540;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Top && !Open && Powered) return 7542;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Top && !Open && !Powered) return 7544;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Bottom && Open && Powered) return 7546;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Bottom && Open && !Powered) return 7548;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Bottom && !Open && Powered) return 7550;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Bottom && !Open && !Powered) return 7552;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Top && Open && Powered) return 7554;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Top && Open && !Powered) return 7556;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Top && !Open && Powered) return 7558;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Top && !Open && !Powered) return 7560;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Bottom && Open && Powered) return 7562;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Bottom && Open && !Powered) return 7564;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Bottom && !Open && Powered) return 7566;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Bottom && !Open && !Powered) return 7568;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Top && Open && Powered) return 7570;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Top && Open && !Powered) return 7572;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Top && !Open && Powered) return 7574;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Top && !Open && !Powered) return 7576;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Bottom && Open && Powered) return 7578;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Bottom && Open && !Powered) return 7580;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Bottom && !Open && Powered) return 7582;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Bottom && !Open && !Powered) return 7584;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Top && Open && Powered) return 7586;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Top && Open && !Powered) return 7588;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Top && !Open && Powered) return 7590;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Top && !Open && !Powered) return 7592;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Bottom && Open && Powered) return 7594;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Bottom && Open && !Powered) return 7596;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Bottom && !Open && Powered) return 7598;
- return 7600;
- }
- short IronTrapdoor();
- eBlockFace Facing(short ID);
- enum Half Half(short ID);
- bool Open(short ID);
- bool Powered(short ID);
- }
- namespace JackOLantern
- {
- constexpr short JackOLantern(eBlockFace Facing)
- {
- if (Facing == eBlockFace::BLOCK_FACE_ZM) return 4020;
- if (Facing == eBlockFace::BLOCK_FACE_ZP) return 4021;
- if (Facing == eBlockFace::BLOCK_FACE_XM) return 4022;
- return 4023;
- }
- short JackOLantern();
- eBlockFace Facing(short ID);
- }
- namespace Jigsaw
- {
- enum class Orientation
- {
- DownEast,
- DownNorth,
- DownSouth,
- DownWest,
- UpEast,
- UpNorth,
- UpSouth,
- UpWest,
- WestUp,
- EastUp,
- NorthUp,
- SouthUp
- };
- constexpr short Jigsaw(enum Orientation Orientation)
- {
- if (Orientation == Orientation::DownEast) return 15739;
- if (Orientation == Orientation::DownNorth) return 15740;
- if (Orientation == Orientation::DownSouth) return 15741;
- if (Orientation == Orientation::DownWest) return 15742;
- if (Orientation == Orientation::UpEast) return 15743;
- if (Orientation == Orientation::UpNorth) return 15744;
- if (Orientation == Orientation::UpSouth) return 15745;
- if (Orientation == Orientation::UpWest) return 15746;
- if (Orientation == Orientation::WestUp) return 15747;
- if (Orientation == Orientation::EastUp) return 15748;
- if (Orientation == Orientation::NorthUp) return 15749;
- return 15750;
- }
- short Jigsaw();
- enum Orientation Orientation(short ID);
- }
- namespace Jukebox
- {
- constexpr short Jukebox(bool HasRecord)
- {
- if (HasRecord) return 3964;
- return 3965;
- }
- short Jukebox();
- bool HasRecord(short ID);
- }
- namespace JungleButton
- {
- enum class Face
- {
- Floor,
- Wall,
- Ceiling
- };
- constexpr short JungleButton(enum Face Face, eBlockFace Facing, bool Powered)
- {
- if (Face == Face::Floor && Facing == eBlockFace::BLOCK_FACE_ZM && Powered) return 6418;
- if (Face == Face::Floor && Facing == eBlockFace::BLOCK_FACE_ZM && !Powered) return 6419;
- if (Face == Face::Floor && Facing == eBlockFace::BLOCK_FACE_ZP && Powered) return 6420;
- if (Face == Face::Floor && Facing == eBlockFace::BLOCK_FACE_ZP && !Powered) return 6421;
- if (Face == Face::Floor && Facing == eBlockFace::BLOCK_FACE_XM && Powered) return 6422;
- if (Face == Face::Floor && Facing == eBlockFace::BLOCK_FACE_XM && !Powered) return 6423;
- if (Face == Face::Floor && Facing == eBlockFace::BLOCK_FACE_XP && Powered) return 6424;
- if (Face == Face::Floor && Facing == eBlockFace::BLOCK_FACE_XP && !Powered) return 6425;
- if (Face == Face::Wall && Facing == eBlockFace::BLOCK_FACE_ZM && Powered) return 6426;
- if (Face == Face::Wall && Facing == eBlockFace::BLOCK_FACE_ZM && !Powered) return 6427;
- if (Face == Face::Wall && Facing == eBlockFace::BLOCK_FACE_ZP && Powered) return 6428;
- if (Face == Face::Wall && Facing == eBlockFace::BLOCK_FACE_ZP && !Powered) return 6429;
- if (Face == Face::Wall && Facing == eBlockFace::BLOCK_FACE_XM && Powered) return 6430;
- if (Face == Face::Wall && Facing == eBlockFace::BLOCK_FACE_XM && !Powered) return 6431;
- if (Face == Face::Wall && Facing == eBlockFace::BLOCK_FACE_XP && Powered) return 6432;
- if (Face == Face::Wall && Facing == eBlockFace::BLOCK_FACE_XP && !Powered) return 6433;
- if (Face == Face::Ceiling && Facing == eBlockFace::BLOCK_FACE_ZM && Powered) return 6434;
- if (Face == Face::Ceiling && Facing == eBlockFace::BLOCK_FACE_ZM && !Powered) return 6435;
- if (Face == Face::Ceiling && Facing == eBlockFace::BLOCK_FACE_ZP && Powered) return 6436;
- if (Face == Face::Ceiling && Facing == eBlockFace::BLOCK_FACE_ZP && !Powered) return 6437;
- if (Face == Face::Ceiling && Facing == eBlockFace::BLOCK_FACE_XM && Powered) return 6438;
- if (Face == Face::Ceiling && Facing == eBlockFace::BLOCK_FACE_XM && !Powered) return 6439;
- if (Face == Face::Ceiling && Facing == eBlockFace::BLOCK_FACE_XP && Powered) return 6440;
- return 6441;
- }
- short JungleButton();
- enum Face Face(short ID);
- eBlockFace Facing(short ID);
- bool Powered(short ID);
- }
- namespace JungleDoor
- {
- enum class Half
- {
- Upper,
- Lower
- };
- enum class Hinge
- {
- Left,
- Right
- };
- constexpr short JungleDoor(eBlockFace Facing, enum Half Half, enum Hinge Hinge, bool Open, bool Powered)
- {
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Upper && Hinge == Hinge::Left && Open && Powered) return 8866;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Upper && Hinge == Hinge::Left && Open && !Powered) return 8867;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Upper && Hinge == Hinge::Left && !Open && Powered) return 8868;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Upper && Hinge == Hinge::Left && !Open && !Powered) return 8869;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Upper && Hinge == Hinge::Right && Open && Powered) return 8870;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Upper && Hinge == Hinge::Right && Open && !Powered) return 8871;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Upper && Hinge == Hinge::Right && !Open && Powered) return 8872;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Upper && Hinge == Hinge::Right && !Open && !Powered) return 8873;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Lower && Hinge == Hinge::Left && Open && Powered) return 8874;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Lower && Hinge == Hinge::Left && Open && !Powered) return 8875;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Lower && Hinge == Hinge::Left && !Open && Powered) return 8876;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Lower && Hinge == Hinge::Left && !Open && !Powered) return 8877;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Lower && Hinge == Hinge::Right && Open && Powered) return 8878;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Lower && Hinge == Hinge::Right && Open && !Powered) return 8879;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Lower && Hinge == Hinge::Right && !Open && Powered) return 8880;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Lower && Hinge == Hinge::Right && !Open && !Powered) return 8881;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Upper && Hinge == Hinge::Left && Open && Powered) return 8882;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Upper && Hinge == Hinge::Left && Open && !Powered) return 8883;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Upper && Hinge == Hinge::Left && !Open && Powered) return 8884;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Upper && Hinge == Hinge::Left && !Open && !Powered) return 8885;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Upper && Hinge == Hinge::Right && Open && Powered) return 8886;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Upper && Hinge == Hinge::Right && Open && !Powered) return 8887;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Upper && Hinge == Hinge::Right && !Open && Powered) return 8888;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Upper && Hinge == Hinge::Right && !Open && !Powered) return 8889;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Lower && Hinge == Hinge::Left && Open && Powered) return 8890;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Lower && Hinge == Hinge::Left && Open && !Powered) return 8891;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Lower && Hinge == Hinge::Left && !Open && Powered) return 8892;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Lower && Hinge == Hinge::Left && !Open && !Powered) return 8893;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Lower && Hinge == Hinge::Right && Open && Powered) return 8894;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Lower && Hinge == Hinge::Right && Open && !Powered) return 8895;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Lower && Hinge == Hinge::Right && !Open && Powered) return 8896;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Lower && Hinge == Hinge::Right && !Open && !Powered) return 8897;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Upper && Hinge == Hinge::Left && Open && Powered) return 8898;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Upper && Hinge == Hinge::Left && Open && !Powered) return 8899;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Upper && Hinge == Hinge::Left && !Open && Powered) return 8900;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Upper && Hinge == Hinge::Left && !Open && !Powered) return 8901;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Upper && Hinge == Hinge::Right && Open && Powered) return 8902;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Upper && Hinge == Hinge::Right && Open && !Powered) return 8903;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Upper && Hinge == Hinge::Right && !Open && Powered) return 8904;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Upper && Hinge == Hinge::Right && !Open && !Powered) return 8905;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Lower && Hinge == Hinge::Left && Open && Powered) return 8906;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Lower && Hinge == Hinge::Left && Open && !Powered) return 8907;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Lower && Hinge == Hinge::Left && !Open && Powered) return 8908;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Lower && Hinge == Hinge::Left && !Open && !Powered) return 8909;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Lower && Hinge == Hinge::Right && Open && Powered) return 8910;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Lower && Hinge == Hinge::Right && Open && !Powered) return 8911;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Lower && Hinge == Hinge::Right && !Open && Powered) return 8912;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Lower && Hinge == Hinge::Right && !Open && !Powered) return 8913;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Upper && Hinge == Hinge::Left && Open && Powered) return 8914;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Upper && Hinge == Hinge::Left && Open && !Powered) return 8915;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Upper && Hinge == Hinge::Left && !Open && Powered) return 8916;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Upper && Hinge == Hinge::Left && !Open && !Powered) return 8917;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Upper && Hinge == Hinge::Right && Open && Powered) return 8918;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Upper && Hinge == Hinge::Right && Open && !Powered) return 8919;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Upper && Hinge == Hinge::Right && !Open && Powered) return 8920;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Upper && Hinge == Hinge::Right && !Open && !Powered) return 8921;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Lower && Hinge == Hinge::Left && Open && Powered) return 8922;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Lower && Hinge == Hinge::Left && Open && !Powered) return 8923;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Lower && Hinge == Hinge::Left && !Open && Powered) return 8924;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Lower && Hinge == Hinge::Left && !Open && !Powered) return 8925;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Lower && Hinge == Hinge::Right && Open && Powered) return 8926;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Lower && Hinge == Hinge::Right && Open && !Powered) return 8927;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Lower && Hinge == Hinge::Right && !Open && Powered) return 8928;
- return 8929;
- }
- short JungleDoor();
- eBlockFace Facing(short ID);
- enum Half Half(short ID);
- enum Hinge Hinge(short ID);
- bool Open(short ID);
- bool Powered(short ID);
- }
- namespace JungleFence
- {
- constexpr short JungleFence(bool East, bool North, bool South, bool West)
- {
- if (East && North && South && West) return 8644;
- if (East && North && South && !West) return 8645;
- if (East && North && !South && West) return 8648;
- if (East && North && !South && !West) return 8649;
- if (East && !North && South && West) return 8652;
- if (East && !North && South && !West) return 8653;
- if (East && !North && !South && West) return 8656;
- if (East && !North && !South && !West) return 8657;
- if (!East && North && South && West) return 8660;
- if (!East && North && South && !West) return 8661;
- if (!East && North && !South && West) return 8664;
- if (!East && North && !South && !West) return 8665;
- if (!East && !North && South && West) return 8668;
- if (!East && !North && South && !West) return 8669;
- if (!East && !North && !South && West) return 8672;
- return 8673;
- }
- short JungleFence();
- bool East(short ID);
- bool North(short ID);
- bool South(short ID);
- bool West(short ID);
- }
- namespace JungleFenceGate
- {
- constexpr short JungleFenceGate(eBlockFace Facing, bool InWall, bool Open, bool Powered)
- {
- if (Facing == eBlockFace::BLOCK_FACE_ZM && InWall && Open && Powered) return 8482;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && InWall && Open && !Powered) return 8483;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && InWall && !Open && Powered) return 8484;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && InWall && !Open && !Powered) return 8485;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && !InWall && Open && Powered) return 8486;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && !InWall && Open && !Powered) return 8487;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && !InWall && !Open && Powered) return 8488;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && !InWall && !Open && !Powered) return 8489;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && InWall && Open && Powered) return 8490;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && InWall && Open && !Powered) return 8491;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && InWall && !Open && Powered) return 8492;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && InWall && !Open && !Powered) return 8493;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && !InWall && Open && Powered) return 8494;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && !InWall && Open && !Powered) return 8495;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && !InWall && !Open && Powered) return 8496;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && !InWall && !Open && !Powered) return 8497;
- if (Facing == eBlockFace::BLOCK_FACE_XM && InWall && Open && Powered) return 8498;
- if (Facing == eBlockFace::BLOCK_FACE_XM && InWall && Open && !Powered) return 8499;
- if (Facing == eBlockFace::BLOCK_FACE_XM && InWall && !Open && Powered) return 8500;
- if (Facing == eBlockFace::BLOCK_FACE_XM && InWall && !Open && !Powered) return 8501;
- if (Facing == eBlockFace::BLOCK_FACE_XM && !InWall && Open && Powered) return 8502;
- if (Facing == eBlockFace::BLOCK_FACE_XM && !InWall && Open && !Powered) return 8503;
- if (Facing == eBlockFace::BLOCK_FACE_XM && !InWall && !Open && Powered) return 8504;
- if (Facing == eBlockFace::BLOCK_FACE_XM && !InWall && !Open && !Powered) return 8505;
- if (Facing == eBlockFace::BLOCK_FACE_XP && InWall && Open && Powered) return 8506;
- if (Facing == eBlockFace::BLOCK_FACE_XP && InWall && Open && !Powered) return 8507;
- if (Facing == eBlockFace::BLOCK_FACE_XP && InWall && !Open && Powered) return 8508;
- if (Facing == eBlockFace::BLOCK_FACE_XP && InWall && !Open && !Powered) return 8509;
- if (Facing == eBlockFace::BLOCK_FACE_XP && !InWall && Open && Powered) return 8510;
- if (Facing == eBlockFace::BLOCK_FACE_XP && !InWall && Open && !Powered) return 8511;
- if (Facing == eBlockFace::BLOCK_FACE_XP && !InWall && !Open && Powered) return 8512;
- return 8513;
- }
- short JungleFenceGate();
- eBlockFace Facing(short ID);
- bool InWall(short ID);
- bool Open(short ID);
- bool Powered(short ID);
- }
- namespace JungleLeaves
- {
- constexpr short JungleLeaves(unsigned char Distance, bool Persistent)
- {
- if (Distance == 1 && Persistent) return 187;
- if (Distance == 1 && !Persistent) return 188;
- if (Distance == 2 && Persistent) return 189;
- if (Distance == 2 && !Persistent) return 190;
- if (Distance == 3 && Persistent) return 191;
- if (Distance == 3 && !Persistent) return 192;
- if (Distance == 4 && Persistent) return 193;
- if (Distance == 4 && !Persistent) return 194;
- if (Distance == 5 && Persistent) return 195;
- if (Distance == 5 && !Persistent) return 196;
- if (Distance == 6 && Persistent) return 197;
- if (Distance == 6 && !Persistent) return 198;
- if (Distance == 7 && Persistent) return 199;
- return 200;
- }
- short JungleLeaves();
- unsigned char Distance(short ID);
- bool Persistent(short ID);
- }
- namespace JungleLog
- {
- enum class Axis
- {
- X,
- Y,
- Z
- };
- constexpr short JungleLog(enum Axis Axis)
- {
- if (Axis == Axis::X) return 82;
- if (Axis == Axis::Y) return 83;
- return 84;
- }
- short JungleLog();
- enum Axis Axis(short ID);
- }
- namespace JunglePlanks
- {
- constexpr short JunglePlanks()
- {
- return 18;
- }
- }
- namespace JunglePressurePlate
- {
- constexpr short JunglePressurePlate(bool Powered)
- {
- if (Powered) return 3879;
- return 3880;
- }
- short JunglePressurePlate();
- bool Powered(short ID);
- }
- namespace JungleSapling
- {
- constexpr short JungleSapling(unsigned char Stage)
- {
- if (Stage == 0) return 27;
- return 28;
- }
- short JungleSapling();
- unsigned char Stage(short ID);
- }
- namespace JungleSign
- {
- constexpr short JungleSign(unsigned char Rotation)
- {
- if (Rotation == 0) return 3510;
- if (Rotation == 1) return 3512;
- if (Rotation == 2) return 3514;
- if (Rotation == 3) return 3516;
- if (Rotation == 4) return 3518;
- if (Rotation == 5) return 3520;
- if (Rotation == 6) return 3522;
- if (Rotation == 7) return 3524;
- if (Rotation == 8) return 3526;
- if (Rotation == 9) return 3528;
- if (Rotation == 10) return 3530;
- if (Rotation == 11) return 3532;
- if (Rotation == 12) return 3534;
- if (Rotation == 13) return 3536;
- if (Rotation == 14) return 3538;
- return 3540;
- }
- short JungleSign();
- unsigned char Rotation(short ID);
- }
- namespace JungleSlab
- {
- enum class Type
- {
- Top,
- Bottom,
- Double
- };
- constexpr short JungleSlab(enum Type Type)
- {
- if (Type == Type::Top) return 8319;
- if (Type == Type::Bottom) return 8321;
- return 8323;
- }
- short JungleSlab();
- enum Type Type(short ID);
- }
- namespace JungleStairs
- {
- enum class Half
- {
- Top,
- Bottom
- };
- enum class Shape
- {
- Straight,
- InnerLeft,
- InnerRight,
- OuterLeft,
- OuterRight
- };
- constexpr short JungleStairs(eBlockFace Facing, enum Half Half, enum Shape Shape)
- {
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Top && Shape == Shape::Straight) return 5565;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Top && Shape == Shape::InnerLeft) return 5567;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Top && Shape == Shape::InnerRight) return 5569;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Top && Shape == Shape::OuterLeft) return 5571;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Top && Shape == Shape::OuterRight) return 5573;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Bottom && Shape == Shape::Straight) return 5575;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Bottom && Shape == Shape::InnerLeft) return 5577;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Bottom && Shape == Shape::InnerRight) return 5579;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Bottom && Shape == Shape::OuterLeft) return 5581;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Bottom && Shape == Shape::OuterRight) return 5583;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Top && Shape == Shape::Straight) return 5585;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Top && Shape == Shape::InnerLeft) return 5587;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Top && Shape == Shape::InnerRight) return 5589;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Top && Shape == Shape::OuterLeft) return 5591;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Top && Shape == Shape::OuterRight) return 5593;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Bottom && Shape == Shape::Straight) return 5595;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Bottom && Shape == Shape::InnerLeft) return 5597;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Bottom && Shape == Shape::InnerRight) return 5599;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Bottom && Shape == Shape::OuterLeft) return 5601;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Bottom && Shape == Shape::OuterRight) return 5603;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Top && Shape == Shape::Straight) return 5605;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Top && Shape == Shape::InnerLeft) return 5607;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Top && Shape == Shape::InnerRight) return 5609;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Top && Shape == Shape::OuterLeft) return 5611;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Top && Shape == Shape::OuterRight) return 5613;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Bottom && Shape == Shape::Straight) return 5615;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Bottom && Shape == Shape::InnerLeft) return 5617;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Bottom && Shape == Shape::InnerRight) return 5619;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Bottom && Shape == Shape::OuterLeft) return 5621;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Bottom && Shape == Shape::OuterRight) return 5623;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Top && Shape == Shape::Straight) return 5625;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Top && Shape == Shape::InnerLeft) return 5627;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Top && Shape == Shape::InnerRight) return 5629;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Top && Shape == Shape::OuterLeft) return 5631;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Top && Shape == Shape::OuterRight) return 5633;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Bottom && Shape == Shape::Straight) return 5635;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Bottom && Shape == Shape::InnerLeft) return 5637;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Bottom && Shape == Shape::InnerRight) return 5639;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Bottom && Shape == Shape::OuterLeft) return 5641;
- return 5643;
- }
- short JungleStairs();
- eBlockFace Facing(short ID);
- enum Half Half(short ID);
- enum Shape Shape(short ID);
- }
- namespace JungleTrapdoor
- {
- enum class Half
- {
- Top,
- Bottom
- };
- constexpr short JungleTrapdoor(eBlockFace Facing, enum Half Half, bool Open, bool Powered)
- {
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Top && Open && Powered) return 4304;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Top && Open && !Powered) return 4306;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Top && !Open && Powered) return 4308;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Top && !Open && !Powered) return 4310;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Bottom && Open && Powered) return 4312;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Bottom && Open && !Powered) return 4314;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Bottom && !Open && Powered) return 4316;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Bottom && !Open && !Powered) return 4318;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Top && Open && Powered) return 4320;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Top && Open && !Powered) return 4322;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Top && !Open && Powered) return 4324;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Top && !Open && !Powered) return 4326;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Bottom && Open && Powered) return 4328;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Bottom && Open && !Powered) return 4330;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Bottom && !Open && Powered) return 4332;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Bottom && !Open && !Powered) return 4334;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Top && Open && Powered) return 4336;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Top && Open && !Powered) return 4338;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Top && !Open && Powered) return 4340;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Top && !Open && !Powered) return 4342;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Bottom && Open && Powered) return 4344;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Bottom && Open && !Powered) return 4346;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Bottom && !Open && Powered) return 4348;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Bottom && !Open && !Powered) return 4350;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Top && Open && Powered) return 4352;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Top && Open && !Powered) return 4354;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Top && !Open && Powered) return 4356;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Top && !Open && !Powered) return 4358;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Bottom && Open && Powered) return 4360;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Bottom && Open && !Powered) return 4362;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Bottom && !Open && Powered) return 4364;
- return 4366;
- }
- short JungleTrapdoor();
- eBlockFace Facing(short ID);
- enum Half Half(short ID);
- bool Open(short ID);
- bool Powered(short ID);
- }
- namespace JungleWallSign
- {
- constexpr short JungleWallSign(eBlockFace Facing)
- {
- if (Facing == eBlockFace::BLOCK_FACE_ZM) return 3768;
- if (Facing == eBlockFace::BLOCK_FACE_ZP) return 3770;
- if (Facing == eBlockFace::BLOCK_FACE_XM) return 3772;
- return 3774;
- }
- short JungleWallSign();
- eBlockFace Facing(short ID);
- }
- namespace JungleWood
- {
- enum class Axis
- {
- X,
- Y,
- Z
- };
- constexpr short JungleWood(enum Axis Axis)
- {
- if (Axis == Axis::X) return 118;
- if (Axis == Axis::Y) return 119;
- return 120;
- }
- short JungleWood();
- enum Axis Axis(short ID);
- }
- namespace Kelp
- {
- constexpr short Kelp(unsigned char Age)
- {
- if (Age == 0) return 9470;
- if (Age == 1) return 9471;
- if (Age == 2) return 9472;
- if (Age == 3) return 9473;
- if (Age == 4) return 9474;
- if (Age == 5) return 9475;
- if (Age == 6) return 9476;
- if (Age == 7) return 9477;
- if (Age == 8) return 9478;
- if (Age == 9) return 9479;
- if (Age == 10) return 9480;
- if (Age == 11) return 9481;
- if (Age == 12) return 9482;
- if (Age == 13) return 9483;
- if (Age == 14) return 9484;
- if (Age == 15) return 9485;
- if (Age == 16) return 9486;
- if (Age == 17) return 9487;
- if (Age == 18) return 9488;
- if (Age == 19) return 9489;
- if (Age == 20) return 9490;
- if (Age == 21) return 9491;
- if (Age == 22) return 9492;
- if (Age == 23) return 9493;
- if (Age == 24) return 9494;
- return 9495;
- }
- short Kelp();
- unsigned char Age(short ID);
- }
- namespace KelpPlant
- {
- constexpr short KelpPlant()
- {
- return 9496;
- }
- }
- namespace Ladder
- {
- constexpr short Ladder(eBlockFace Facing)
- {
- if (Facing == eBlockFace::BLOCK_FACE_ZM) return 3638;
- if (Facing == eBlockFace::BLOCK_FACE_ZP) return 3640;
- if (Facing == eBlockFace::BLOCK_FACE_XM) return 3642;
- return 3644;
- }
- short Ladder();
- eBlockFace Facing(short ID);
- }
- namespace Lantern
- {
- constexpr short Lantern(bool Hanging)
- {
- if (Hanging) return 14886;
- return 14887;
- }
- short Lantern();
- bool Hanging(short ID);
- }
- namespace LapisBlock
- {
- constexpr short LapisBlock()
- {
- return 233;
- }
- }
- namespace LapisOre
- {
- constexpr short LapisOre()
- {
- return 232;
- }
- }
- namespace LargeFern
- {
- enum class Half
- {
- Upper,
- Lower
- };
- constexpr short LargeFern(enum Half Half)
- {
- if (Half == Half::Upper) return 7895;
- return 7896;
- }
- short LargeFern();
- enum Half Half(short ID);
- }
- namespace Lava
- {
- constexpr short Lava(unsigned char Level)
- {
- if (Level == 0) return 50;
- if (Level == 1) return 51;
- if (Level == 2) return 52;
- if (Level == 3) return 53;
- if (Level == 4) return 54;
- if (Level == 5) return 55;
- if (Level == 6) return 56;
- if (Level == 7) return 57;
- if (Level == 8) return 58;
- if (Level == 9) return 59;
- if (Level == 10) return 60;
- if (Level == 11) return 61;
- if (Level == 12) return 62;
- if (Level == 13) return 63;
- if (Level == 14) return 64;
- return 65;
- }
- short Lava();
- unsigned char Level(short ID);
- }
- namespace Lectern
- {
- constexpr short Lectern(eBlockFace Facing, bool HasBook, bool Powered)
- {
- if (Facing == eBlockFace::BLOCK_FACE_ZM && HasBook && Powered) return 14833;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && HasBook && !Powered) return 14834;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && !HasBook && Powered) return 14835;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && !HasBook && !Powered) return 14836;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && HasBook && Powered) return 14837;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && HasBook && !Powered) return 14838;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && !HasBook && Powered) return 14839;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && !HasBook && !Powered) return 14840;
- if (Facing == eBlockFace::BLOCK_FACE_XM && HasBook && Powered) return 14841;
- if (Facing == eBlockFace::BLOCK_FACE_XM && HasBook && !Powered) return 14842;
- if (Facing == eBlockFace::BLOCK_FACE_XM && !HasBook && Powered) return 14843;
- if (Facing == eBlockFace::BLOCK_FACE_XM && !HasBook && !Powered) return 14844;
- if (Facing == eBlockFace::BLOCK_FACE_XP && HasBook && Powered) return 14845;
- if (Facing == eBlockFace::BLOCK_FACE_XP && HasBook && !Powered) return 14846;
- if (Facing == eBlockFace::BLOCK_FACE_XP && !HasBook && Powered) return 14847;
- return 14848;
- }
- short Lectern();
- eBlockFace Facing(short ID);
- bool HasBook(short ID);
- bool Powered(short ID);
- }
- namespace Lever
- {
- enum class Face
- {
- Floor,
- Wall,
- Ceiling
- };
- constexpr short Lever(enum Face Face, eBlockFace Facing, bool Powered)
- {
- if (Face == Face::Floor && Facing == eBlockFace::BLOCK_FACE_ZM && Powered) return 3783;
- if (Face == Face::Floor && Facing == eBlockFace::BLOCK_FACE_ZM && !Powered) return 3784;
- if (Face == Face::Floor && Facing == eBlockFace::BLOCK_FACE_ZP && Powered) return 3785;
- if (Face == Face::Floor && Facing == eBlockFace::BLOCK_FACE_ZP && !Powered) return 3786;
- if (Face == Face::Floor && Facing == eBlockFace::BLOCK_FACE_XM && Powered) return 3787;
- if (Face == Face::Floor && Facing == eBlockFace::BLOCK_FACE_XM && !Powered) return 3788;
- if (Face == Face::Floor && Facing == eBlockFace::BLOCK_FACE_XP && Powered) return 3789;
- if (Face == Face::Floor && Facing == eBlockFace::BLOCK_FACE_XP && !Powered) return 3790;
- if (Face == Face::Wall && Facing == eBlockFace::BLOCK_FACE_ZM && Powered) return 3791;
- if (Face == Face::Wall && Facing == eBlockFace::BLOCK_FACE_ZM && !Powered) return 3792;
- if (Face == Face::Wall && Facing == eBlockFace::BLOCK_FACE_ZP && Powered) return 3793;
- if (Face == Face::Wall && Facing == eBlockFace::BLOCK_FACE_ZP && !Powered) return 3794;
- if (Face == Face::Wall && Facing == eBlockFace::BLOCK_FACE_XM && Powered) return 3795;
- if (Face == Face::Wall && Facing == eBlockFace::BLOCK_FACE_XM && !Powered) return 3796;
- if (Face == Face::Wall && Facing == eBlockFace::BLOCK_FACE_XP && Powered) return 3797;
- if (Face == Face::Wall && Facing == eBlockFace::BLOCK_FACE_XP && !Powered) return 3798;
- if (Face == Face::Ceiling && Facing == eBlockFace::BLOCK_FACE_ZM && Powered) return 3799;
- if (Face == Face::Ceiling && Facing == eBlockFace::BLOCK_FACE_ZM && !Powered) return 3800;
- if (Face == Face::Ceiling && Facing == eBlockFace::BLOCK_FACE_ZP && Powered) return 3801;
- if (Face == Face::Ceiling && Facing == eBlockFace::BLOCK_FACE_ZP && !Powered) return 3802;
- if (Face == Face::Ceiling && Facing == eBlockFace::BLOCK_FACE_XM && Powered) return 3803;
- if (Face == Face::Ceiling && Facing == eBlockFace::BLOCK_FACE_XM && !Powered) return 3804;
- if (Face == Face::Ceiling && Facing == eBlockFace::BLOCK_FACE_XP && Powered) return 3805;
- return 3806;
- }
- short Lever();
- enum Face Face(short ID);
- eBlockFace Facing(short ID);
- bool Powered(short ID);
- }
- namespace LightBlueBanner
- {
- constexpr short LightBlueBanner(unsigned char Rotation)
- {
- if (Rotation == 0) return 7945;
- if (Rotation == 1) return 7946;
- if (Rotation == 2) return 7947;
- if (Rotation == 3) return 7948;
- if (Rotation == 4) return 7949;
- if (Rotation == 5) return 7950;
- if (Rotation == 6) return 7951;
- if (Rotation == 7) return 7952;
- if (Rotation == 8) return 7953;
- if (Rotation == 9) return 7954;
- if (Rotation == 10) return 7955;
- if (Rotation == 11) return 7956;
- if (Rotation == 12) return 7957;
- if (Rotation == 13) return 7958;
- if (Rotation == 14) return 7959;
- return 7960;
- }
- short LightBlueBanner();
- unsigned char Rotation(short ID);
- }
- namespace LightBlueBed
- {
- enum class Part
- {
- Head,
- Foot
- };
- constexpr short LightBlueBed(eBlockFace Facing, bool Occupied, enum Part Part)
- {
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Occupied && Part == Part::Head) return 1097;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Occupied && Part == Part::Foot) return 1098;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && !Occupied && Part == Part::Head) return 1099;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && !Occupied && Part == Part::Foot) return 1100;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Occupied && Part == Part::Head) return 1101;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Occupied && Part == Part::Foot) return 1102;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && !Occupied && Part == Part::Head) return 1103;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && !Occupied && Part == Part::Foot) return 1104;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Occupied && Part == Part::Head) return 1105;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Occupied && Part == Part::Foot) return 1106;
- if (Facing == eBlockFace::BLOCK_FACE_XM && !Occupied && Part == Part::Head) return 1107;
- if (Facing == eBlockFace::BLOCK_FACE_XM && !Occupied && Part == Part::Foot) return 1108;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Occupied && Part == Part::Head) return 1109;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Occupied && Part == Part::Foot) return 1110;
- if (Facing == eBlockFace::BLOCK_FACE_XP && !Occupied && Part == Part::Head) return 1111;
- return 1112;
- }
- short LightBlueBed();
- eBlockFace Facing(short ID);
- bool Occupied(short ID);
- enum Part Part(short ID);
- }
- namespace LightBlueCarpet
- {
- constexpr short LightBlueCarpet()
- {
- return 7869;
- }
- }
- namespace LightBlueConcrete
- {
- constexpr short LightBlueConcrete()
- {
- return 9441;
- }
- }
- namespace LightBlueConcretePowder
- {
- constexpr short LightBlueConcretePowder()
- {
- return 9457;
- }
- }
- namespace LightBlueGlazedTerracotta
- {
- constexpr short LightBlueGlazedTerracotta(eBlockFace Facing)
- {
- if (Facing == eBlockFace::BLOCK_FACE_ZM) return 9386;
- if (Facing == eBlockFace::BLOCK_FACE_ZP) return 9387;
- if (Facing == eBlockFace::BLOCK_FACE_XM) return 9388;
- return 9389;
- }
- short LightBlueGlazedTerracotta();
- eBlockFace Facing(short ID);
- }
- namespace LightBlueShulkerBox
- {
- constexpr short LightBlueShulkerBox(eBlockFace Facing)
- {
- if (Facing == eBlockFace::BLOCK_FACE_ZM) return 9296;
- if (Facing == eBlockFace::BLOCK_FACE_XP) return 9297;
- if (Facing == eBlockFace::BLOCK_FACE_ZP) return 9298;
- if (Facing == eBlockFace::BLOCK_FACE_XM) return 9299;
- if (Facing == eBlockFace::BLOCK_FACE_YP) return 9300;
- return 9301;
- }
- short LightBlueShulkerBox();
- eBlockFace Facing(short ID);
- }
- namespace LightBlueStainedGlass
- {
- constexpr short LightBlueStainedGlass()
- {
- return 4098;
- }
- }
- namespace LightBlueStainedGlassPane
- {
- constexpr short LightBlueStainedGlassPane(bool East, bool North, bool South, bool West)
- {
- if (East && North && South && West) return 6961;
- if (East && North && South && !West) return 6962;
- if (East && North && !South && West) return 6965;
- if (East && North && !South && !West) return 6966;
- if (East && !North && South && West) return 6969;
- if (East && !North && South && !West) return 6970;
- if (East && !North && !South && West) return 6973;
- if (East && !North && !South && !West) return 6974;
- if (!East && North && South && West) return 6977;
- if (!East && North && South && !West) return 6978;
- if (!East && North && !South && West) return 6981;
- if (!East && North && !South && !West) return 6982;
- if (!East && !North && South && West) return 6985;
- if (!East && !North && South && !West) return 6986;
- if (!East && !North && !South && West) return 6989;
- return 6990;
- }
- short LightBlueStainedGlassPane();
- bool East(short ID);
- bool North(short ID);
- bool South(short ID);
- bool West(short ID);
- }
- namespace LightBlueTerracotta
- {
- constexpr short LightBlueTerracotta()
- {
- return 6850;
- }
- }
- namespace LightBlueWallBanner
- {
- constexpr short LightBlueWallBanner(eBlockFace Facing)
- {
- if (Facing == eBlockFace::BLOCK_FACE_ZM) return 8165;
- if (Facing == eBlockFace::BLOCK_FACE_ZP) return 8166;
- if (Facing == eBlockFace::BLOCK_FACE_XM) return 8167;
- return 8168;
- }
- short LightBlueWallBanner();
- eBlockFace Facing(short ID);
- }
- namespace LightBlueWool
- {
- constexpr short LightBlueWool()
- {
- return 1387;
- }
- }
- namespace LightGrayBanner
- {
- constexpr short LightGrayBanner(unsigned char Rotation)
- {
- if (Rotation == 0) return 8025;
- if (Rotation == 1) return 8026;
- if (Rotation == 2) return 8027;
- if (Rotation == 3) return 8028;
- if (Rotation == 4) return 8029;
- if (Rotation == 5) return 8030;
- if (Rotation == 6) return 8031;
- if (Rotation == 7) return 8032;
- if (Rotation == 8) return 8033;
- if (Rotation == 9) return 8034;
- if (Rotation == 10) return 8035;
- if (Rotation == 11) return 8036;
- if (Rotation == 12) return 8037;
- if (Rotation == 13) return 8038;
- if (Rotation == 14) return 8039;
- return 8040;
- }
- short LightGrayBanner();
- unsigned char Rotation(short ID);
- }
- namespace LightGrayBed
- {
- enum class Part
- {
- Head,
- Foot
- };
- constexpr short LightGrayBed(eBlockFace Facing, bool Occupied, enum Part Part)
- {
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Occupied && Part == Part::Head) return 1177;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Occupied && Part == Part::Foot) return 1178;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && !Occupied && Part == Part::Head) return 1179;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && !Occupied && Part == Part::Foot) return 1180;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Occupied && Part == Part::Head) return 1181;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Occupied && Part == Part::Foot) return 1182;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && !Occupied && Part == Part::Head) return 1183;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && !Occupied && Part == Part::Foot) return 1184;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Occupied && Part == Part::Head) return 1185;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Occupied && Part == Part::Foot) return 1186;
- if (Facing == eBlockFace::BLOCK_FACE_XM && !Occupied && Part == Part::Head) return 1187;
- if (Facing == eBlockFace::BLOCK_FACE_XM && !Occupied && Part == Part::Foot) return 1188;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Occupied && Part == Part::Head) return 1189;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Occupied && Part == Part::Foot) return 1190;
- if (Facing == eBlockFace::BLOCK_FACE_XP && !Occupied && Part == Part::Head) return 1191;
- return 1192;
- }
- short LightGrayBed();
- eBlockFace Facing(short ID);
- bool Occupied(short ID);
- enum Part Part(short ID);
- }
- namespace LightGrayCarpet
- {
- constexpr short LightGrayCarpet()
- {
- return 7874;
- }
- }
- namespace LightGrayConcrete
- {
- constexpr short LightGrayConcrete()
- {
- return 9446;
- }
- }
- namespace LightGrayConcretePowder
- {
- constexpr short LightGrayConcretePowder()
- {
- return 9462;
- }
- }
- namespace LightGrayGlazedTerracotta
- {
- constexpr short LightGrayGlazedTerracotta(eBlockFace Facing)
- {
- if (Facing == eBlockFace::BLOCK_FACE_ZM) return 9406;
- if (Facing == eBlockFace::BLOCK_FACE_ZP) return 9407;
- if (Facing == eBlockFace::BLOCK_FACE_XM) return 9408;
- return 9409;
- }
- short LightGrayGlazedTerracotta();
- eBlockFace Facing(short ID);
- }
- namespace LightGrayShulkerBox
- {
- constexpr short LightGrayShulkerBox(eBlockFace Facing)
- {
- if (Facing == eBlockFace::BLOCK_FACE_ZM) return 9326;
- if (Facing == eBlockFace::BLOCK_FACE_XP) return 9327;
- if (Facing == eBlockFace::BLOCK_FACE_ZP) return 9328;
- if (Facing == eBlockFace::BLOCK_FACE_XM) return 9329;
- if (Facing == eBlockFace::BLOCK_FACE_YP) return 9330;
- return 9331;
- }
- short LightGrayShulkerBox();
- eBlockFace Facing(short ID);
- }
- namespace LightGrayStainedGlass
- {
- constexpr short LightGrayStainedGlass()
- {
- return 4103;
- }
- }
- namespace LightGrayStainedGlassPane
- {
- constexpr short LightGrayStainedGlassPane(bool East, bool North, bool South, bool West)
- {
- if (East && North && South && West) return 7121;
- if (East && North && South && !West) return 7122;
- if (East && North && !South && West) return 7125;
- if (East && North && !South && !West) return 7126;
- if (East && !North && South && West) return 7129;
- if (East && !North && South && !West) return 7130;
- if (East && !North && !South && West) return 7133;
- if (East && !North && !South && !West) return 7134;
- if (!East && North && South && West) return 7137;
- if (!East && North && South && !West) return 7138;
- if (!East && North && !South && West) return 7141;
- if (!East && North && !South && !West) return 7142;
- if (!East && !North && South && West) return 7145;
- if (!East && !North && South && !West) return 7146;
- if (!East && !North && !South && West) return 7149;
- return 7150;
- }
- short LightGrayStainedGlassPane();
- bool East(short ID);
- bool North(short ID);
- bool South(short ID);
- bool West(short ID);
- }
- namespace LightGrayTerracotta
- {
- constexpr short LightGrayTerracotta()
- {
- return 6855;
- }
- }
- namespace LightGrayWallBanner
- {
- constexpr short LightGrayWallBanner(eBlockFace Facing)
- {
- if (Facing == eBlockFace::BLOCK_FACE_ZM) return 8185;
- if (Facing == eBlockFace::BLOCK_FACE_ZP) return 8186;
- if (Facing == eBlockFace::BLOCK_FACE_XM) return 8187;
- return 8188;
- }
- short LightGrayWallBanner();
- eBlockFace Facing(short ID);
- }
- namespace LightGrayWool
- {
- constexpr short LightGrayWool()
- {
- return 1392;
- }
- }
- namespace LightWeightedPressurePlate
- {
- constexpr short LightWeightedPressurePlate(unsigned char Power)
- {
- if (Power == 0) return 6646;
- if (Power == 1) return 6647;
- if (Power == 2) return 6648;
- if (Power == 3) return 6649;
- if (Power == 4) return 6650;
- if (Power == 5) return 6651;
- if (Power == 6) return 6652;
- if (Power == 7) return 6653;
- if (Power == 8) return 6654;
- if (Power == 9) return 6655;
- if (Power == 10) return 6656;
- if (Power == 11) return 6657;
- if (Power == 12) return 6658;
- if (Power == 13) return 6659;
- if (Power == 14) return 6660;
- return 6661;
- }
- short LightWeightedPressurePlate();
- unsigned char Power(short ID);
- }
- namespace Lilac
- {
- enum class Half
- {
- Upper,
- Lower
- };
- constexpr short Lilac(enum Half Half)
- {
- if (Half == Half::Upper) return 7887;
- return 7888;
- }
- short Lilac();
- enum Half Half(short ID);
- }
- namespace LilyOfTheValley
- {
- constexpr short LilyOfTheValley()
- {
- return 1424;
- }
- }
- namespace LilyPad
- {
- constexpr short LilyPad()
- {
- return 5014;
- }
- }
- namespace LimeBanner
- {
- constexpr short LimeBanner(unsigned char Rotation)
- {
- if (Rotation == 0) return 7977;
- if (Rotation == 1) return 7978;
- if (Rotation == 2) return 7979;
- if (Rotation == 3) return 7980;
- if (Rotation == 4) return 7981;
- if (Rotation == 5) return 7982;
- if (Rotation == 6) return 7983;
- if (Rotation == 7) return 7984;
- if (Rotation == 8) return 7985;
- if (Rotation == 9) return 7986;
- if (Rotation == 10) return 7987;
- if (Rotation == 11) return 7988;
- if (Rotation == 12) return 7989;
- if (Rotation == 13) return 7990;
- if (Rotation == 14) return 7991;
- return 7992;
- }
- short LimeBanner();
- unsigned char Rotation(short ID);
- }
- namespace LimeBed
- {
- enum class Part
- {
- Head,
- Foot
- };
- constexpr short LimeBed(eBlockFace Facing, bool Occupied, enum Part Part)
- {
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Occupied && Part == Part::Head) return 1129;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Occupied && Part == Part::Foot) return 1130;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && !Occupied && Part == Part::Head) return 1131;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && !Occupied && Part == Part::Foot) return 1132;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Occupied && Part == Part::Head) return 1133;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Occupied && Part == Part::Foot) return 1134;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && !Occupied && Part == Part::Head) return 1135;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && !Occupied && Part == Part::Foot) return 1136;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Occupied && Part == Part::Head) return 1137;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Occupied && Part == Part::Foot) return 1138;
- if (Facing == eBlockFace::BLOCK_FACE_XM && !Occupied && Part == Part::Head) return 1139;
- if (Facing == eBlockFace::BLOCK_FACE_XM && !Occupied && Part == Part::Foot) return 1140;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Occupied && Part == Part::Head) return 1141;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Occupied && Part == Part::Foot) return 1142;
- if (Facing == eBlockFace::BLOCK_FACE_XP && !Occupied && Part == Part::Head) return 1143;
- return 1144;
- }
- short LimeBed();
- eBlockFace Facing(short ID);
- bool Occupied(short ID);
- enum Part Part(short ID);
- }
- namespace LimeCarpet
- {
- constexpr short LimeCarpet()
- {
- return 7871;
- }
- }
- namespace LimeConcrete
- {
- constexpr short LimeConcrete()
- {
- return 9443;
- }
- }
- namespace LimeConcretePowder
- {
- constexpr short LimeConcretePowder()
- {
- return 9459;
- }
- }
- namespace LimeGlazedTerracotta
- {
- constexpr short LimeGlazedTerracotta(eBlockFace Facing)
- {
- if (Facing == eBlockFace::BLOCK_FACE_ZM) return 9394;
- if (Facing == eBlockFace::BLOCK_FACE_ZP) return 9395;
- if (Facing == eBlockFace::BLOCK_FACE_XM) return 9396;
- return 9397;
- }
- short LimeGlazedTerracotta();
- eBlockFace Facing(short ID);
- }
- namespace LimeShulkerBox
- {
- constexpr short LimeShulkerBox(eBlockFace Facing)
- {
- if (Facing == eBlockFace::BLOCK_FACE_ZM) return 9308;
- if (Facing == eBlockFace::BLOCK_FACE_XP) return 9309;
- if (Facing == eBlockFace::BLOCK_FACE_ZP) return 9310;
- if (Facing == eBlockFace::BLOCK_FACE_XM) return 9311;
- if (Facing == eBlockFace::BLOCK_FACE_YP) return 9312;
- return 9313;
- }
- short LimeShulkerBox();
- eBlockFace Facing(short ID);
- }
- namespace LimeStainedGlass
- {
- constexpr short LimeStainedGlass()
- {
- return 4100;
- }
- }
- namespace LimeStainedGlassPane
- {
- constexpr short LimeStainedGlassPane(bool East, bool North, bool South, bool West)
- {
- if (East && North && South && West) return 7025;
- if (East && North && South && !West) return 7026;
- if (East && North && !South && West) return 7029;
- if (East && North && !South && !West) return 7030;
- if (East && !North && South && West) return 7033;
- if (East && !North && South && !West) return 7034;
- if (East && !North && !South && West) return 7037;
- if (East && !North && !South && !West) return 7038;
- if (!East && North && South && West) return 7041;
- if (!East && North && South && !West) return 7042;
- if (!East && North && !South && West) return 7045;
- if (!East && North && !South && !West) return 7046;
- if (!East && !North && South && West) return 7049;
- if (!East && !North && South && !West) return 7050;
- if (!East && !North && !South && West) return 7053;
- return 7054;
- }
- short LimeStainedGlassPane();
- bool East(short ID);
- bool North(short ID);
- bool South(short ID);
- bool West(short ID);
- }
- namespace LimeTerracotta
- {
- constexpr short LimeTerracotta()
- {
- return 6852;
- }
- }
- namespace LimeWallBanner
- {
- constexpr short LimeWallBanner(eBlockFace Facing)
- {
- if (Facing == eBlockFace::BLOCK_FACE_ZM) return 8173;
- if (Facing == eBlockFace::BLOCK_FACE_ZP) return 8174;
- if (Facing == eBlockFace::BLOCK_FACE_XM) return 8175;
- return 8176;
- }
- short LimeWallBanner();
- eBlockFace Facing(short ID);
- }
- namespace LimeWool
- {
- constexpr short LimeWool()
- {
- return 1389;
- }
- }
- namespace Lodestone
- {
- constexpr short Lodestone()
- {
- return 15838;
- }
- }
- namespace Loom
- {
- constexpr short Loom(eBlockFace Facing)
- {
- if (Facing == eBlockFace::BLOCK_FACE_ZM) return 14787;
- if (Facing == eBlockFace::BLOCK_FACE_ZP) return 14788;
- if (Facing == eBlockFace::BLOCK_FACE_XM) return 14789;
- return 14790;
- }
- short Loom();
- eBlockFace Facing(short ID);
- }
- namespace MagentaBanner
- {
- constexpr short MagentaBanner(unsigned char Rotation)
- {
- if (Rotation == 0) return 7929;
- if (Rotation == 1) return 7930;
- if (Rotation == 2) return 7931;
- if (Rotation == 3) return 7932;
- if (Rotation == 4) return 7933;
- if (Rotation == 5) return 7934;
- if (Rotation == 6) return 7935;
- if (Rotation == 7) return 7936;
- if (Rotation == 8) return 7937;
- if (Rotation == 9) return 7938;
- if (Rotation == 10) return 7939;
- if (Rotation == 11) return 7940;
- if (Rotation == 12) return 7941;
- if (Rotation == 13) return 7942;
- if (Rotation == 14) return 7943;
- return 7944;
- }
- short MagentaBanner();
- unsigned char Rotation(short ID);
- }
- namespace MagentaBed
- {
- enum class Part
- {
- Head,
- Foot
- };
- constexpr short MagentaBed(eBlockFace Facing, bool Occupied, enum Part Part)
- {
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Occupied && Part == Part::Head) return 1081;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Occupied && Part == Part::Foot) return 1082;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && !Occupied && Part == Part::Head) return 1083;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && !Occupied && Part == Part::Foot) return 1084;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Occupied && Part == Part::Head) return 1085;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Occupied && Part == Part::Foot) return 1086;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && !Occupied && Part == Part::Head) return 1087;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && !Occupied && Part == Part::Foot) return 1088;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Occupied && Part == Part::Head) return 1089;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Occupied && Part == Part::Foot) return 1090;
- if (Facing == eBlockFace::BLOCK_FACE_XM && !Occupied && Part == Part::Head) return 1091;
- if (Facing == eBlockFace::BLOCK_FACE_XM && !Occupied && Part == Part::Foot) return 1092;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Occupied && Part == Part::Head) return 1093;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Occupied && Part == Part::Foot) return 1094;
- if (Facing == eBlockFace::BLOCK_FACE_XP && !Occupied && Part == Part::Head) return 1095;
- return 1096;
- }
- short MagentaBed();
- eBlockFace Facing(short ID);
- bool Occupied(short ID);
- enum Part Part(short ID);
- }
- namespace MagentaCarpet
- {
- constexpr short MagentaCarpet()
- {
- return 7868;
- }
- }
- namespace MagentaConcrete
- {
- constexpr short MagentaConcrete()
- {
- return 9440;
- }
- }
- namespace MagentaConcretePowder
- {
- constexpr short MagentaConcretePowder()
- {
- return 9456;
- }
- }
- namespace MagentaGlazedTerracotta
- {
- constexpr short MagentaGlazedTerracotta(eBlockFace Facing)
- {
- if (Facing == eBlockFace::BLOCK_FACE_ZM) return 9382;
- if (Facing == eBlockFace::BLOCK_FACE_ZP) return 9383;
- if (Facing == eBlockFace::BLOCK_FACE_XM) return 9384;
- return 9385;
- }
- short MagentaGlazedTerracotta();
- eBlockFace Facing(short ID);
- }
- namespace MagentaShulkerBox
- {
- constexpr short MagentaShulkerBox(eBlockFace Facing)
- {
- if (Facing == eBlockFace::BLOCK_FACE_ZM) return 9290;
- if (Facing == eBlockFace::BLOCK_FACE_XP) return 9291;
- if (Facing == eBlockFace::BLOCK_FACE_ZP) return 9292;
- if (Facing == eBlockFace::BLOCK_FACE_XM) return 9293;
- if (Facing == eBlockFace::BLOCK_FACE_YP) return 9294;
- return 9295;
- }
- short MagentaShulkerBox();
- eBlockFace Facing(short ID);
- }
- namespace MagentaStainedGlass
- {
- constexpr short MagentaStainedGlass()
- {
- return 4097;
- }
- }
- namespace MagentaStainedGlassPane
- {
- constexpr short MagentaStainedGlassPane(bool East, bool North, bool South, bool West)
- {
- if (East && North && South && West) return 6929;
- if (East && North && South && !West) return 6930;
- if (East && North && !South && West) return 6933;
- if (East && North && !South && !West) return 6934;
- if (East && !North && South && West) return 6937;
- if (East && !North && South && !West) return 6938;
- if (East && !North && !South && West) return 6941;
- if (East && !North && !South && !West) return 6942;
- if (!East && North && South && West) return 6945;
- if (!East && North && South && !West) return 6946;
- if (!East && North && !South && West) return 6949;
- if (!East && North && !South && !West) return 6950;
- if (!East && !North && South && West) return 6953;
- if (!East && !North && South && !West) return 6954;
- if (!East && !North && !South && West) return 6957;
- return 6958;
- }
- short MagentaStainedGlassPane();
- bool East(short ID);
- bool North(short ID);
- bool South(short ID);
- bool West(short ID);
- }
- namespace MagentaTerracotta
- {
- constexpr short MagentaTerracotta()
- {
- return 6849;
- }
- }
- namespace MagentaWallBanner
- {
- constexpr short MagentaWallBanner(eBlockFace Facing)
- {
- if (Facing == eBlockFace::BLOCK_FACE_ZM) return 8161;
- if (Facing == eBlockFace::BLOCK_FACE_ZP) return 8162;
- if (Facing == eBlockFace::BLOCK_FACE_XM) return 8163;
- return 8164;
- }
- short MagentaWallBanner();
- eBlockFace Facing(short ID);
- }
- namespace MagentaWool
- {
- constexpr short MagentaWool()
- {
- return 1386;
- }
- }
- namespace MagmaBlock
- {
- constexpr short MagmaBlock()
- {
- return 9253;
- }
- }
- namespace Melon
- {
- constexpr short Melon()
- {
- return 4763;
- }
- }
- namespace MelonStem
- {
- constexpr short MelonStem(unsigned char Age)
- {
- if (Age == 0) return 4780;
- if (Age == 1) return 4781;
- if (Age == 2) return 4782;
- if (Age == 3) return 4783;
- if (Age == 4) return 4784;
- if (Age == 5) return 4785;
- if (Age == 6) return 4786;
- return 4787;
- }
- short MelonStem();
- unsigned char Age(short ID);
- }
- namespace MossyCobblestone
- {
- constexpr short MossyCobblestone()
- {
- return 1433;
- }
- }
- namespace MossyCobblestoneSlab
- {
- enum class Type
- {
- Top,
- Bottom,
- Double
- };
- constexpr short MossyCobblestoneSlab(enum Type Type)
- {
- if (Type == Type::Top) return 10814;
- if (Type == Type::Bottom) return 10816;
- return 10818;
- }
- short MossyCobblestoneSlab();
- enum Type Type(short ID);
- }
- namespace MossyCobblestoneStairs
- {
- enum class Half
- {
- Top,
- Bottom
- };
- enum class Shape
- {
- Straight,
- InnerLeft,
- InnerRight,
- OuterLeft,
- OuterRight
- };
- constexpr short MossyCobblestoneStairs(eBlockFace Facing, enum Half Half, enum Shape Shape)
- {
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Top && Shape == Shape::Straight) return 9990;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Top && Shape == Shape::InnerLeft) return 9992;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Top && Shape == Shape::InnerRight) return 9994;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Top && Shape == Shape::OuterLeft) return 9996;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Top && Shape == Shape::OuterRight) return 9998;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Bottom && Shape == Shape::Straight) return 10000;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Bottom && Shape == Shape::InnerLeft) return 10002;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Bottom && Shape == Shape::InnerRight) return 10004;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Bottom && Shape == Shape::OuterLeft) return 10006;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Bottom && Shape == Shape::OuterRight) return 10008;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Top && Shape == Shape::Straight) return 10010;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Top && Shape == Shape::InnerLeft) return 10012;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Top && Shape == Shape::InnerRight) return 10014;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Top && Shape == Shape::OuterLeft) return 10016;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Top && Shape == Shape::OuterRight) return 10018;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Bottom && Shape == Shape::Straight) return 10020;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Bottom && Shape == Shape::InnerLeft) return 10022;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Bottom && Shape == Shape::InnerRight) return 10024;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Bottom && Shape == Shape::OuterLeft) return 10026;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Bottom && Shape == Shape::OuterRight) return 10028;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Top && Shape == Shape::Straight) return 10030;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Top && Shape == Shape::InnerLeft) return 10032;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Top && Shape == Shape::InnerRight) return 10034;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Top && Shape == Shape::OuterLeft) return 10036;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Top && Shape == Shape::OuterRight) return 10038;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Bottom && Shape == Shape::Straight) return 10040;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Bottom && Shape == Shape::InnerLeft) return 10042;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Bottom && Shape == Shape::InnerRight) return 10044;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Bottom && Shape == Shape::OuterLeft) return 10046;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Bottom && Shape == Shape::OuterRight) return 10048;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Top && Shape == Shape::Straight) return 10050;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Top && Shape == Shape::InnerLeft) return 10052;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Top && Shape == Shape::InnerRight) return 10054;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Top && Shape == Shape::OuterLeft) return 10056;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Top && Shape == Shape::OuterRight) return 10058;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Bottom && Shape == Shape::Straight) return 10060;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Bottom && Shape == Shape::InnerLeft) return 10062;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Bottom && Shape == Shape::InnerRight) return 10064;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Bottom && Shape == Shape::OuterLeft) return 10066;
- return 10068;
- }
- short MossyCobblestoneStairs();
- eBlockFace Facing(short ID);
- enum Half Half(short ID);
- enum Shape Shape(short ID);
- }
- namespace MossyCobblestoneWall
- {
- enum class East
- {
- None,
- Low,
- Tall
- };
- enum class North
- {
- None,
- Low,
- Tall
- };
- enum class South
- {
- None,
- Low,
- Tall
- };
- enum class West
- {
- None,
- Low,
- Tall
- };
- constexpr short MossyCobblestoneWall(enum East East, enum North North, enum South South, bool Up, enum West West)
- {
- if (East == East::None && North == North::None && South == South::None && Up && West == West::None) return 5984;
- if (East == East::None && North == North::None && South == South::None && Up && West == West::Low) return 5985;
- if (East == East::None && North == North::None && South == South::None && Up && West == West::Tall) return 5986;
- if (East == East::None && North == North::None && South == South::None && !Up && West == West::None) return 5990;
- if (East == East::None && North == North::None && South == South::None && !Up && West == West::Low) return 5991;
- if (East == East::None && North == North::None && South == South::None && !Up && West == West::Tall) return 5992;
- if (East == East::None && North == North::None && South == South::Low && Up && West == West::None) return 5996;
- if (East == East::None && North == North::None && South == South::Low && Up && West == West::Low) return 5997;
- if (East == East::None && North == North::None && South == South::Low && Up && West == West::Tall) return 5998;
- if (East == East::None && North == North::None && South == South::Low && !Up && West == West::None) return 6002;
- if (East == East::None && North == North::None && South == South::Low && !Up && West == West::Low) return 6003;
- if (East == East::None && North == North::None && South == South::Low && !Up && West == West::Tall) return 6004;
- if (East == East::None && North == North::None && South == South::Tall && Up && West == West::None) return 6008;
- if (East == East::None && North == North::None && South == South::Tall && Up && West == West::Low) return 6009;
- if (East == East::None && North == North::None && South == South::Tall && Up && West == West::Tall) return 6010;
- if (East == East::None && North == North::None && South == South::Tall && !Up && West == West::None) return 6014;
- if (East == East::None && North == North::None && South == South::Tall && !Up && West == West::Low) return 6015;
- if (East == East::None && North == North::None && South == South::Tall && !Up && West == West::Tall) return 6016;
- if (East == East::None && North == North::Low && South == South::None && Up && West == West::None) return 6020;
- if (East == East::None && North == North::Low && South == South::None && Up && West == West::Low) return 6021;
- if (East == East::None && North == North::Low && South == South::None && Up && West == West::Tall) return 6022;
- if (East == East::None && North == North::Low && South == South::None && !Up && West == West::None) return 6026;
- if (East == East::None && North == North::Low && South == South::None && !Up && West == West::Low) return 6027;
- if (East == East::None && North == North::Low && South == South::None && !Up && West == West::Tall) return 6028;
- if (East == East::None && North == North::Low && South == South::Low && Up && West == West::None) return 6032;
- if (East == East::None && North == North::Low && South == South::Low && Up && West == West::Low) return 6033;
- if (East == East::None && North == North::Low && South == South::Low && Up && West == West::Tall) return 6034;
- if (East == East::None && North == North::Low && South == South::Low && !Up && West == West::None) return 6038;
- if (East == East::None && North == North::Low && South == South::Low && !Up && West == West::Low) return 6039;
- if (East == East::None && North == North::Low && South == South::Low && !Up && West == West::Tall) return 6040;
- if (East == East::None && North == North::Low && South == South::Tall && Up && West == West::None) return 6044;
- if (East == East::None && North == North::Low && South == South::Tall && Up && West == West::Low) return 6045;
- if (East == East::None && North == North::Low && South == South::Tall && Up && West == West::Tall) return 6046;
- if (East == East::None && North == North::Low && South == South::Tall && !Up && West == West::None) return 6050;
- if (East == East::None && North == North::Low && South == South::Tall && !Up && West == West::Low) return 6051;
- if (East == East::None && North == North::Low && South == South::Tall && !Up && West == West::Tall) return 6052;
- if (East == East::None && North == North::Tall && South == South::None && Up && West == West::None) return 6056;
- if (East == East::None && North == North::Tall && South == South::None && Up && West == West::Low) return 6057;
- if (East == East::None && North == North::Tall && South == South::None && Up && West == West::Tall) return 6058;
- if (East == East::None && North == North::Tall && South == South::None && !Up && West == West::None) return 6062;
- if (East == East::None && North == North::Tall && South == South::None && !Up && West == West::Low) return 6063;
- if (East == East::None && North == North::Tall && South == South::None && !Up && West == West::Tall) return 6064;
- if (East == East::None && North == North::Tall && South == South::Low && Up && West == West::None) return 6068;
- if (East == East::None && North == North::Tall && South == South::Low && Up && West == West::Low) return 6069;
- if (East == East::None && North == North::Tall && South == South::Low && Up && West == West::Tall) return 6070;
- if (East == East::None && North == North::Tall && South == South::Low && !Up && West == West::None) return 6074;
- if (East == East::None && North == North::Tall && South == South::Low && !Up && West == West::Low) return 6075;
- if (East == East::None && North == North::Tall && South == South::Low && !Up && West == West::Tall) return 6076;
- if (East == East::None && North == North::Tall && South == South::Tall && Up && West == West::None) return 6080;
- if (East == East::None && North == North::Tall && South == South::Tall && Up && West == West::Low) return 6081;
- if (East == East::None && North == North::Tall && South == South::Tall && Up && West == West::Tall) return 6082;
- if (East == East::None && North == North::Tall && South == South::Tall && !Up && West == West::None) return 6086;
- if (East == East::None && North == North::Tall && South == South::Tall && !Up && West == West::Low) return 6087;
- if (East == East::None && North == North::Tall && South == South::Tall && !Up && West == West::Tall) return 6088;
- if (East == East::Low && North == North::None && South == South::None && Up && West == West::None) return 6092;
- if (East == East::Low && North == North::None && South == South::None && Up && West == West::Low) return 6093;
- if (East == East::Low && North == North::None && South == South::None && Up && West == West::Tall) return 6094;
- if (East == East::Low && North == North::None && South == South::None && !Up && West == West::None) return 6098;
- if (East == East::Low && North == North::None && South == South::None && !Up && West == West::Low) return 6099;
- if (East == East::Low && North == North::None && South == South::None && !Up && West == West::Tall) return 6100;
- if (East == East::Low && North == North::None && South == South::Low && Up && West == West::None) return 6104;
- if (East == East::Low && North == North::None && South == South::Low && Up && West == West::Low) return 6105;
- if (East == East::Low && North == North::None && South == South::Low && Up && West == West::Tall) return 6106;
- if (East == East::Low && North == North::None && South == South::Low && !Up && West == West::None) return 6110;
- if (East == East::Low && North == North::None && South == South::Low && !Up && West == West::Low) return 6111;
- if (East == East::Low && North == North::None && South == South::Low && !Up && West == West::Tall) return 6112;
- if (East == East::Low && North == North::None && South == South::Tall && Up && West == West::None) return 6116;
- if (East == East::Low && North == North::None && South == South::Tall && Up && West == West::Low) return 6117;
- if (East == East::Low && North == North::None && South == South::Tall && Up && West == West::Tall) return 6118;
- if (East == East::Low && North == North::None && South == South::Tall && !Up && West == West::None) return 6122;
- if (East == East::Low && North == North::None && South == South::Tall && !Up && West == West::Low) return 6123;
- if (East == East::Low && North == North::None && South == South::Tall && !Up && West == West::Tall) return 6124;
- if (East == East::Low && North == North::Low && South == South::None && Up && West == West::None) return 6128;
- if (East == East::Low && North == North::Low && South == South::None && Up && West == West::Low) return 6129;
- if (East == East::Low && North == North::Low && South == South::None && Up && West == West::Tall) return 6130;
- if (East == East::Low && North == North::Low && South == South::None && !Up && West == West::None) return 6134;
- if (East == East::Low && North == North::Low && South == South::None && !Up && West == West::Low) return 6135;
- if (East == East::Low && North == North::Low && South == South::None && !Up && West == West::Tall) return 6136;
- if (East == East::Low && North == North::Low && South == South::Low && Up && West == West::None) return 6140;
- if (East == East::Low && North == North::Low && South == South::Low && Up && West == West::Low) return 6141;
- if (East == East::Low && North == North::Low && South == South::Low && Up && West == West::Tall) return 6142;
- if (East == East::Low && North == North::Low && South == South::Low && !Up && West == West::None) return 6146;
- if (East == East::Low && North == North::Low && South == South::Low && !Up && West == West::Low) return 6147;
- if (East == East::Low && North == North::Low && South == South::Low && !Up && West == West::Tall) return 6148;
- if (East == East::Low && North == North::Low && South == South::Tall && Up && West == West::None) return 6152;
- if (East == East::Low && North == North::Low && South == South::Tall && Up && West == West::Low) return 6153;
- if (East == East::Low && North == North::Low && South == South::Tall && Up && West == West::Tall) return 6154;
- if (East == East::Low && North == North::Low && South == South::Tall && !Up && West == West::None) return 6158;
- if (East == East::Low && North == North::Low && South == South::Tall && !Up && West == West::Low) return 6159;
- if (East == East::Low && North == North::Low && South == South::Tall && !Up && West == West::Tall) return 6160;
- if (East == East::Low && North == North::Tall && South == South::None && Up && West == West::None) return 6164;
- if (East == East::Low && North == North::Tall && South == South::None && Up && West == West::Low) return 6165;
- if (East == East::Low && North == North::Tall && South == South::None && Up && West == West::Tall) return 6166;
- if (East == East::Low && North == North::Tall && South == South::None && !Up && West == West::None) return 6170;
- if (East == East::Low && North == North::Tall && South == South::None && !Up && West == West::Low) return 6171;
- if (East == East::Low && North == North::Tall && South == South::None && !Up && West == West::Tall) return 6172;
- if (East == East::Low && North == North::Tall && South == South::Low && Up && West == West::None) return 6176;
- if (East == East::Low && North == North::Tall && South == South::Low && Up && West == West::Low) return 6177;
- if (East == East::Low && North == North::Tall && South == South::Low && Up && West == West::Tall) return 6178;
- if (East == East::Low && North == North::Tall && South == South::Low && !Up && West == West::None) return 6182;
- if (East == East::Low && North == North::Tall && South == South::Low && !Up && West == West::Low) return 6183;
- if (East == East::Low && North == North::Tall && South == South::Low && !Up && West == West::Tall) return 6184;
- if (East == East::Low && North == North::Tall && South == South::Tall && Up && West == West::None) return 6188;
- if (East == East::Low && North == North::Tall && South == South::Tall && Up && West == West::Low) return 6189;
- if (East == East::Low && North == North::Tall && South == South::Tall && Up && West == West::Tall) return 6190;
- if (East == East::Low && North == North::Tall && South == South::Tall && !Up && West == West::None) return 6194;
- if (East == East::Low && North == North::Tall && South == South::Tall && !Up && West == West::Low) return 6195;
- if (East == East::Low && North == North::Tall && South == South::Tall && !Up && West == West::Tall) return 6196;
- if (East == East::Tall && North == North::None && South == South::None && Up && West == West::None) return 6200;
- if (East == East::Tall && North == North::None && South == South::None && Up && West == West::Low) return 6201;
- if (East == East::Tall && North == North::None && South == South::None && Up && West == West::Tall) return 6202;
- if (East == East::Tall && North == North::None && South == South::None && !Up && West == West::None) return 6206;
- if (East == East::Tall && North == North::None && South == South::None && !Up && West == West::Low) return 6207;
- if (East == East::Tall && North == North::None && South == South::None && !Up && West == West::Tall) return 6208;
- if (East == East::Tall && North == North::None && South == South::Low && Up && West == West::None) return 6212;
- if (East == East::Tall && North == North::None && South == South::Low && Up && West == West::Low) return 6213;
- if (East == East::Tall && North == North::None && South == South::Low && Up && West == West::Tall) return 6214;
- if (East == East::Tall && North == North::None && South == South::Low && !Up && West == West::None) return 6218;
- if (East == East::Tall && North == North::None && South == South::Low && !Up && West == West::Low) return 6219;
- if (East == East::Tall && North == North::None && South == South::Low && !Up && West == West::Tall) return 6220;
- if (East == East::Tall && North == North::None && South == South::Tall && Up && West == West::None) return 6224;
- if (East == East::Tall && North == North::None && South == South::Tall && Up && West == West::Low) return 6225;
- if (East == East::Tall && North == North::None && South == South::Tall && Up && West == West::Tall) return 6226;
- if (East == East::Tall && North == North::None && South == South::Tall && !Up && West == West::None) return 6230;
- if (East == East::Tall && North == North::None && South == South::Tall && !Up && West == West::Low) return 6231;
- if (East == East::Tall && North == North::None && South == South::Tall && !Up && West == West::Tall) return 6232;
- if (East == East::Tall && North == North::Low && South == South::None && Up && West == West::None) return 6236;
- if (East == East::Tall && North == North::Low && South == South::None && Up && West == West::Low) return 6237;
- if (East == East::Tall && North == North::Low && South == South::None && Up && West == West::Tall) return 6238;
- if (East == East::Tall && North == North::Low && South == South::None && !Up && West == West::None) return 6242;
- if (East == East::Tall && North == North::Low && South == South::None && !Up && West == West::Low) return 6243;
- if (East == East::Tall && North == North::Low && South == South::None && !Up && West == West::Tall) return 6244;
- if (East == East::Tall && North == North::Low && South == South::Low && Up && West == West::None) return 6248;
- if (East == East::Tall && North == North::Low && South == South::Low && Up && West == West::Low) return 6249;
- if (East == East::Tall && North == North::Low && South == South::Low && Up && West == West::Tall) return 6250;
- if (East == East::Tall && North == North::Low && South == South::Low && !Up && West == West::None) return 6254;
- if (East == East::Tall && North == North::Low && South == South::Low && !Up && West == West::Low) return 6255;
- if (East == East::Tall && North == North::Low && South == South::Low && !Up && West == West::Tall) return 6256;
- if (East == East::Tall && North == North::Low && South == South::Tall && Up && West == West::None) return 6260;
- if (East == East::Tall && North == North::Low && South == South::Tall && Up && West == West::Low) return 6261;
- if (East == East::Tall && North == North::Low && South == South::Tall && Up && West == West::Tall) return 6262;
- if (East == East::Tall && North == North::Low && South == South::Tall && !Up && West == West::None) return 6266;
- if (East == East::Tall && North == North::Low && South == South::Tall && !Up && West == West::Low) return 6267;
- if (East == East::Tall && North == North::Low && South == South::Tall && !Up && West == West::Tall) return 6268;
- if (East == East::Tall && North == North::Tall && South == South::None && Up && West == West::None) return 6272;
- if (East == East::Tall && North == North::Tall && South == South::None && Up && West == West::Low) return 6273;
- if (East == East::Tall && North == North::Tall && South == South::None && Up && West == West::Tall) return 6274;
- if (East == East::Tall && North == North::Tall && South == South::None && !Up && West == West::None) return 6278;
- if (East == East::Tall && North == North::Tall && South == South::None && !Up && West == West::Low) return 6279;
- if (East == East::Tall && North == North::Tall && South == South::None && !Up && West == West::Tall) return 6280;
- if (East == East::Tall && North == North::Tall && South == South::Low && Up && West == West::None) return 6284;
- if (East == East::Tall && North == North::Tall && South == South::Low && Up && West == West::Low) return 6285;
- if (East == East::Tall && North == North::Tall && South == South::Low && Up && West == West::Tall) return 6286;
- if (East == East::Tall && North == North::Tall && South == South::Low && !Up && West == West::None) return 6290;
- if (East == East::Tall && North == North::Tall && South == South::Low && !Up && West == West::Low) return 6291;
- if (East == East::Tall && North == North::Tall && South == South::Low && !Up && West == West::Tall) return 6292;
- if (East == East::Tall && North == North::Tall && South == South::Tall && Up && West == West::None) return 6296;
- if (East == East::Tall && North == North::Tall && South == South::Tall && Up && West == West::Low) return 6297;
- if (East == East::Tall && North == North::Tall && South == South::Tall && Up && West == West::Tall) return 6298;
- if (East == East::Tall && North == North::Tall && South == South::Tall && !Up && West == West::None) return 6302;
- if (East == East::Tall && North == North::Tall && South == South::Tall && !Up && West == West::Low) return 6303;
- return 6304;
- }
- short MossyCobblestoneWall();
- enum East East(short ID);
- enum North North(short ID);
- enum South South(short ID);
- bool Up(short ID);
- enum West West(short ID);
- }
- namespace MossyStoneBrickSlab
- {
- enum class Type
- {
- Top,
- Bottom,
- Double
- };
- constexpr short MossyStoneBrickSlab(enum Type Type)
- {
- if (Type == Type::Top) return 10802;
- if (Type == Type::Bottom) return 10804;
- return 10806;
- }
- short MossyStoneBrickSlab();
- enum Type Type(short ID);
- }
- namespace MossyStoneBrickStairs
- {
- enum class Half
- {
- Top,
- Bottom
- };
- enum class Shape
- {
- Straight,
- InnerLeft,
- InnerRight,
- OuterLeft,
- OuterRight
- };
- constexpr short MossyStoneBrickStairs(eBlockFace Facing, enum Half Half, enum Shape Shape)
- {
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Top && Shape == Shape::Straight) return 9830;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Top && Shape == Shape::InnerLeft) return 9832;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Top && Shape == Shape::InnerRight) return 9834;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Top && Shape == Shape::OuterLeft) return 9836;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Top && Shape == Shape::OuterRight) return 9838;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Bottom && Shape == Shape::Straight) return 9840;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Bottom && Shape == Shape::InnerLeft) return 9842;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Bottom && Shape == Shape::InnerRight) return 9844;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Bottom && Shape == Shape::OuterLeft) return 9846;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Bottom && Shape == Shape::OuterRight) return 9848;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Top && Shape == Shape::Straight) return 9850;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Top && Shape == Shape::InnerLeft) return 9852;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Top && Shape == Shape::InnerRight) return 9854;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Top && Shape == Shape::OuterLeft) return 9856;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Top && Shape == Shape::OuterRight) return 9858;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Bottom && Shape == Shape::Straight) return 9860;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Bottom && Shape == Shape::InnerLeft) return 9862;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Bottom && Shape == Shape::InnerRight) return 9864;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Bottom && Shape == Shape::OuterLeft) return 9866;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Bottom && Shape == Shape::OuterRight) return 9868;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Top && Shape == Shape::Straight) return 9870;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Top && Shape == Shape::InnerLeft) return 9872;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Top && Shape == Shape::InnerRight) return 9874;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Top && Shape == Shape::OuterLeft) return 9876;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Top && Shape == Shape::OuterRight) return 9878;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Bottom && Shape == Shape::Straight) return 9880;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Bottom && Shape == Shape::InnerLeft) return 9882;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Bottom && Shape == Shape::InnerRight) return 9884;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Bottom && Shape == Shape::OuterLeft) return 9886;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Bottom && Shape == Shape::OuterRight) return 9888;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Top && Shape == Shape::Straight) return 9890;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Top && Shape == Shape::InnerLeft) return 9892;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Top && Shape == Shape::InnerRight) return 9894;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Top && Shape == Shape::OuterLeft) return 9896;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Top && Shape == Shape::OuterRight) return 9898;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Bottom && Shape == Shape::Straight) return 9900;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Bottom && Shape == Shape::InnerLeft) return 9902;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Bottom && Shape == Shape::InnerRight) return 9904;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Bottom && Shape == Shape::OuterLeft) return 9906;
- return 9908;
- }
- short MossyStoneBrickStairs();
- eBlockFace Facing(short ID);
- enum Half Half(short ID);
- enum Shape Shape(short ID);
- }
- namespace MossyStoneBrickWall
- {
- enum class East
- {
- None,
- Low,
- Tall
- };
- enum class North
- {
- None,
- Low,
- Tall
- };
- enum class South
- {
- None,
- Low,
- Tall
- };
- enum class West
- {
- None,
- Low,
- Tall
- };
- constexpr short MossyStoneBrickWall(enum East East, enum North North, enum South South, bool Up, enum West West)
- {
- if (East == East::None && North == North::None && South == South::None && Up && West == West::None) return 11842;
- if (East == East::None && North == North::None && South == South::None && Up && West == West::Low) return 11843;
- if (East == East::None && North == North::None && South == South::None && Up && West == West::Tall) return 11844;
- if (East == East::None && North == North::None && South == South::None && !Up && West == West::None) return 11848;
- if (East == East::None && North == North::None && South == South::None && !Up && West == West::Low) return 11849;
- if (East == East::None && North == North::None && South == South::None && !Up && West == West::Tall) return 11850;
- if (East == East::None && North == North::None && South == South::Low && Up && West == West::None) return 11854;
- if (East == East::None && North == North::None && South == South::Low && Up && West == West::Low) return 11855;
- if (East == East::None && North == North::None && South == South::Low && Up && West == West::Tall) return 11856;
- if (East == East::None && North == North::None && South == South::Low && !Up && West == West::None) return 11860;
- if (East == East::None && North == North::None && South == South::Low && !Up && West == West::Low) return 11861;
- if (East == East::None && North == North::None && South == South::Low && !Up && West == West::Tall) return 11862;
- if (East == East::None && North == North::None && South == South::Tall && Up && West == West::None) return 11866;
- if (East == East::None && North == North::None && South == South::Tall && Up && West == West::Low) return 11867;
- if (East == East::None && North == North::None && South == South::Tall && Up && West == West::Tall) return 11868;
- if (East == East::None && North == North::None && South == South::Tall && !Up && West == West::None) return 11872;
- if (East == East::None && North == North::None && South == South::Tall && !Up && West == West::Low) return 11873;
- if (East == East::None && North == North::None && South == South::Tall && !Up && West == West::Tall) return 11874;
- if (East == East::None && North == North::Low && South == South::None && Up && West == West::None) return 11878;
- if (East == East::None && North == North::Low && South == South::None && Up && West == West::Low) return 11879;
- if (East == East::None && North == North::Low && South == South::None && Up && West == West::Tall) return 11880;
- if (East == East::None && North == North::Low && South == South::None && !Up && West == West::None) return 11884;
- if (East == East::None && North == North::Low && South == South::None && !Up && West == West::Low) return 11885;
- if (East == East::None && North == North::Low && South == South::None && !Up && West == West::Tall) return 11886;
- if (East == East::None && North == North::Low && South == South::Low && Up && West == West::None) return 11890;
- if (East == East::None && North == North::Low && South == South::Low && Up && West == West::Low) return 11891;
- if (East == East::None && North == North::Low && South == South::Low && Up && West == West::Tall) return 11892;
- if (East == East::None && North == North::Low && South == South::Low && !Up && West == West::None) return 11896;
- if (East == East::None && North == North::Low && South == South::Low && !Up && West == West::Low) return 11897;
- if (East == East::None && North == North::Low && South == South::Low && !Up && West == West::Tall) return 11898;
- if (East == East::None && North == North::Low && South == South::Tall && Up && West == West::None) return 11902;
- if (East == East::None && North == North::Low && South == South::Tall && Up && West == West::Low) return 11903;
- if (East == East::None && North == North::Low && South == South::Tall && Up && West == West::Tall) return 11904;
- if (East == East::None && North == North::Low && South == South::Tall && !Up && West == West::None) return 11908;
- if (East == East::None && North == North::Low && South == South::Tall && !Up && West == West::Low) return 11909;
- if (East == East::None && North == North::Low && South == South::Tall && !Up && West == West::Tall) return 11910;
- if (East == East::None && North == North::Tall && South == South::None && Up && West == West::None) return 11914;
- if (East == East::None && North == North::Tall && South == South::None && Up && West == West::Low) return 11915;
- if (East == East::None && North == North::Tall && South == South::None && Up && West == West::Tall) return 11916;
- if (East == East::None && North == North::Tall && South == South::None && !Up && West == West::None) return 11920;
- if (East == East::None && North == North::Tall && South == South::None && !Up && West == West::Low) return 11921;
- if (East == East::None && North == North::Tall && South == South::None && !Up && West == West::Tall) return 11922;
- if (East == East::None && North == North::Tall && South == South::Low && Up && West == West::None) return 11926;
- if (East == East::None && North == North::Tall && South == South::Low && Up && West == West::Low) return 11927;
- if (East == East::None && North == North::Tall && South == South::Low && Up && West == West::Tall) return 11928;
- if (East == East::None && North == North::Tall && South == South::Low && !Up && West == West::None) return 11932;
- if (East == East::None && North == North::Tall && South == South::Low && !Up && West == West::Low) return 11933;
- if (East == East::None && North == North::Tall && South == South::Low && !Up && West == West::Tall) return 11934;
- if (East == East::None && North == North::Tall && South == South::Tall && Up && West == West::None) return 11938;
- if (East == East::None && North == North::Tall && South == South::Tall && Up && West == West::Low) return 11939;
- if (East == East::None && North == North::Tall && South == South::Tall && Up && West == West::Tall) return 11940;
- if (East == East::None && North == North::Tall && South == South::Tall && !Up && West == West::None) return 11944;
- if (East == East::None && North == North::Tall && South == South::Tall && !Up && West == West::Low) return 11945;
- if (East == East::None && North == North::Tall && South == South::Tall && !Up && West == West::Tall) return 11946;
- if (East == East::Low && North == North::None && South == South::None && Up && West == West::None) return 11950;
- if (East == East::Low && North == North::None && South == South::None && Up && West == West::Low) return 11951;
- if (East == East::Low && North == North::None && South == South::None && Up && West == West::Tall) return 11952;
- if (East == East::Low && North == North::None && South == South::None && !Up && West == West::None) return 11956;
- if (East == East::Low && North == North::None && South == South::None && !Up && West == West::Low) return 11957;
- if (East == East::Low && North == North::None && South == South::None && !Up && West == West::Tall) return 11958;
- if (East == East::Low && North == North::None && South == South::Low && Up && West == West::None) return 11962;
- if (East == East::Low && North == North::None && South == South::Low && Up && West == West::Low) return 11963;
- if (East == East::Low && North == North::None && South == South::Low && Up && West == West::Tall) return 11964;
- if (East == East::Low && North == North::None && South == South::Low && !Up && West == West::None) return 11968;
- if (East == East::Low && North == North::None && South == South::Low && !Up && West == West::Low) return 11969;
- if (East == East::Low && North == North::None && South == South::Low && !Up && West == West::Tall) return 11970;
- if (East == East::Low && North == North::None && South == South::Tall && Up && West == West::None) return 11974;
- if (East == East::Low && North == North::None && South == South::Tall && Up && West == West::Low) return 11975;
- if (East == East::Low && North == North::None && South == South::Tall && Up && West == West::Tall) return 11976;
- if (East == East::Low && North == North::None && South == South::Tall && !Up && West == West::None) return 11980;
- if (East == East::Low && North == North::None && South == South::Tall && !Up && West == West::Low) return 11981;
- if (East == East::Low && North == North::None && South == South::Tall && !Up && West == West::Tall) return 11982;
- if (East == East::Low && North == North::Low && South == South::None && Up && West == West::None) return 11986;
- if (East == East::Low && North == North::Low && South == South::None && Up && West == West::Low) return 11987;
- if (East == East::Low && North == North::Low && South == South::None && Up && West == West::Tall) return 11988;
- if (East == East::Low && North == North::Low && South == South::None && !Up && West == West::None) return 11992;
- if (East == East::Low && North == North::Low && South == South::None && !Up && West == West::Low) return 11993;
- if (East == East::Low && North == North::Low && South == South::None && !Up && West == West::Tall) return 11994;
- if (East == East::Low && North == North::Low && South == South::Low && Up && West == West::None) return 11998;
- if (East == East::Low && North == North::Low && South == South::Low && Up && West == West::Low) return 11999;
- if (East == East::Low && North == North::Low && South == South::Low && Up && West == West::Tall) return 12000;
- if (East == East::Low && North == North::Low && South == South::Low && !Up && West == West::None) return 12004;
- if (East == East::Low && North == North::Low && South == South::Low && !Up && West == West::Low) return 12005;
- if (East == East::Low && North == North::Low && South == South::Low && !Up && West == West::Tall) return 12006;
- if (East == East::Low && North == North::Low && South == South::Tall && Up && West == West::None) return 12010;
- if (East == East::Low && North == North::Low && South == South::Tall && Up && West == West::Low) return 12011;
- if (East == East::Low && North == North::Low && South == South::Tall && Up && West == West::Tall) return 12012;
- if (East == East::Low && North == North::Low && South == South::Tall && !Up && West == West::None) return 12016;
- if (East == East::Low && North == North::Low && South == South::Tall && !Up && West == West::Low) return 12017;
- if (East == East::Low && North == North::Low && South == South::Tall && !Up && West == West::Tall) return 12018;
- if (East == East::Low && North == North::Tall && South == South::None && Up && West == West::None) return 12022;
- if (East == East::Low && North == North::Tall && South == South::None && Up && West == West::Low) return 12023;
- if (East == East::Low && North == North::Tall && South == South::None && Up && West == West::Tall) return 12024;
- if (East == East::Low && North == North::Tall && South == South::None && !Up && West == West::None) return 12028;
- if (East == East::Low && North == North::Tall && South == South::None && !Up && West == West::Low) return 12029;
- if (East == East::Low && North == North::Tall && South == South::None && !Up && West == West::Tall) return 12030;
- if (East == East::Low && North == North::Tall && South == South::Low && Up && West == West::None) return 12034;
- if (East == East::Low && North == North::Tall && South == South::Low && Up && West == West::Low) return 12035;
- if (East == East::Low && North == North::Tall && South == South::Low && Up && West == West::Tall) return 12036;
- if (East == East::Low && North == North::Tall && South == South::Low && !Up && West == West::None) return 12040;
- if (East == East::Low && North == North::Tall && South == South::Low && !Up && West == West::Low) return 12041;
- if (East == East::Low && North == North::Tall && South == South::Low && !Up && West == West::Tall) return 12042;
- if (East == East::Low && North == North::Tall && South == South::Tall && Up && West == West::None) return 12046;
- if (East == East::Low && North == North::Tall && South == South::Tall && Up && West == West::Low) return 12047;
- if (East == East::Low && North == North::Tall && South == South::Tall && Up && West == West::Tall) return 12048;
- if (East == East::Low && North == North::Tall && South == South::Tall && !Up && West == West::None) return 12052;
- if (East == East::Low && North == North::Tall && South == South::Tall && !Up && West == West::Low) return 12053;
- if (East == East::Low && North == North::Tall && South == South::Tall && !Up && West == West::Tall) return 12054;
- if (East == East::Tall && North == North::None && South == South::None && Up && West == West::None) return 12058;
- if (East == East::Tall && North == North::None && South == South::None && Up && West == West::Low) return 12059;
- if (East == East::Tall && North == North::None && South == South::None && Up && West == West::Tall) return 12060;
- if (East == East::Tall && North == North::None && South == South::None && !Up && West == West::None) return 12064;
- if (East == East::Tall && North == North::None && South == South::None && !Up && West == West::Low) return 12065;
- if (East == East::Tall && North == North::None && South == South::None && !Up && West == West::Tall) return 12066;
- if (East == East::Tall && North == North::None && South == South::Low && Up && West == West::None) return 12070;
- if (East == East::Tall && North == North::None && South == South::Low && Up && West == West::Low) return 12071;
- if (East == East::Tall && North == North::None && South == South::Low && Up && West == West::Tall) return 12072;
- if (East == East::Tall && North == North::None && South == South::Low && !Up && West == West::None) return 12076;
- if (East == East::Tall && North == North::None && South == South::Low && !Up && West == West::Low) return 12077;
- if (East == East::Tall && North == North::None && South == South::Low && !Up && West == West::Tall) return 12078;
- if (East == East::Tall && North == North::None && South == South::Tall && Up && West == West::None) return 12082;
- if (East == East::Tall && North == North::None && South == South::Tall && Up && West == West::Low) return 12083;
- if (East == East::Tall && North == North::None && South == South::Tall && Up && West == West::Tall) return 12084;
- if (East == East::Tall && North == North::None && South == South::Tall && !Up && West == West::None) return 12088;
- if (East == East::Tall && North == North::None && South == South::Tall && !Up && West == West::Low) return 12089;
- if (East == East::Tall && North == North::None && South == South::Tall && !Up && West == West::Tall) return 12090;
- if (East == East::Tall && North == North::Low && South == South::None && Up && West == West::None) return 12094;
- if (East == East::Tall && North == North::Low && South == South::None && Up && West == West::Low) return 12095;
- if (East == East::Tall && North == North::Low && South == South::None && Up && West == West::Tall) return 12096;
- if (East == East::Tall && North == North::Low && South == South::None && !Up && West == West::None) return 12100;
- if (East == East::Tall && North == North::Low && South == South::None && !Up && West == West::Low) return 12101;
- if (East == East::Tall && North == North::Low && South == South::None && !Up && West == West::Tall) return 12102;
- if (East == East::Tall && North == North::Low && South == South::Low && Up && West == West::None) return 12106;
- if (East == East::Tall && North == North::Low && South == South::Low && Up && West == West::Low) return 12107;
- if (East == East::Tall && North == North::Low && South == South::Low && Up && West == West::Tall) return 12108;
- if (East == East::Tall && North == North::Low && South == South::Low && !Up && West == West::None) return 12112;
- if (East == East::Tall && North == North::Low && South == South::Low && !Up && West == West::Low) return 12113;
- if (East == East::Tall && North == North::Low && South == South::Low && !Up && West == West::Tall) return 12114;
- if (East == East::Tall && North == North::Low && South == South::Tall && Up && West == West::None) return 12118;
- if (East == East::Tall && North == North::Low && South == South::Tall && Up && West == West::Low) return 12119;
- if (East == East::Tall && North == North::Low && South == South::Tall && Up && West == West::Tall) return 12120;
- if (East == East::Tall && North == North::Low && South == South::Tall && !Up && West == West::None) return 12124;
- if (East == East::Tall && North == North::Low && South == South::Tall && !Up && West == West::Low) return 12125;
- if (East == East::Tall && North == North::Low && South == South::Tall && !Up && West == West::Tall) return 12126;
- if (East == East::Tall && North == North::Tall && South == South::None && Up && West == West::None) return 12130;
- if (East == East::Tall && North == North::Tall && South == South::None && Up && West == West::Low) return 12131;
- if (East == East::Tall && North == North::Tall && South == South::None && Up && West == West::Tall) return 12132;
- if (East == East::Tall && North == North::Tall && South == South::None && !Up && West == West::None) return 12136;
- if (East == East::Tall && North == North::Tall && South == South::None && !Up && West == West::Low) return 12137;
- if (East == East::Tall && North == North::Tall && South == South::None && !Up && West == West::Tall) return 12138;
- if (East == East::Tall && North == North::Tall && South == South::Low && Up && West == West::None) return 12142;
- if (East == East::Tall && North == North::Tall && South == South::Low && Up && West == West::Low) return 12143;
- if (East == East::Tall && North == North::Tall && South == South::Low && Up && West == West::Tall) return 12144;
- if (East == East::Tall && North == North::Tall && South == South::Low && !Up && West == West::None) return 12148;
- if (East == East::Tall && North == North::Tall && South == South::Low && !Up && West == West::Low) return 12149;
- if (East == East::Tall && North == North::Tall && South == South::Low && !Up && West == West::Tall) return 12150;
- if (East == East::Tall && North == North::Tall && South == South::Tall && Up && West == West::None) return 12154;
- if (East == East::Tall && North == North::Tall && South == South::Tall && Up && West == West::Low) return 12155;
- if (East == East::Tall && North == North::Tall && South == South::Tall && Up && West == West::Tall) return 12156;
- if (East == East::Tall && North == North::Tall && South == South::Tall && !Up && West == West::None) return 12160;
- if (East == East::Tall && North == North::Tall && South == South::Tall && !Up && West == West::Low) return 12161;
- return 12162;
- }
- short MossyStoneBrickWall();
- enum East East(short ID);
- enum North North(short ID);
- enum South South(short ID);
- bool Up(short ID);
- enum West West(short ID);
- }
- namespace MossyStoneBricks
- {
- constexpr short MossyStoneBricks()
- {
- return 4496;
- }
- }
- namespace MovingPiston
- {
- enum class Type
- {
- Normal,
- Sticky
- };
- constexpr short MovingPiston(eBlockFace Facing, enum Type Type)
- {
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Type == Type::Normal) return 1400;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Type == Type::Sticky) return 1401;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Type == Type::Normal) return 1402;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Type == Type::Sticky) return 1403;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Type == Type::Normal) return 1404;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Type == Type::Sticky) return 1405;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Type == Type::Normal) return 1406;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Type == Type::Sticky) return 1407;
- if (Facing == eBlockFace::BLOCK_FACE_YP && Type == Type::Normal) return 1408;
- if (Facing == eBlockFace::BLOCK_FACE_YP && Type == Type::Sticky) return 1409;
- if (Facing == eBlockFace::BLOCK_FACE_YM && Type == Type::Normal) return 1410;
- return 1411;
- }
- short MovingPiston();
- eBlockFace Facing(short ID);
- enum Type Type(short ID);
- }
- namespace MushroomStem
- {
- constexpr short MushroomStem(bool Down, bool East, bool North, bool South, bool Up, bool West)
- {
- if (Down && East && North && South && Up && West) return 4633;
- if (Down && East && North && South && Up && !West) return 4634;
- if (Down && East && North && South && !Up && West) return 4635;
- if (Down && East && North && South && !Up && !West) return 4636;
- if (Down && East && North && !South && Up && West) return 4637;
- if (Down && East && North && !South && Up && !West) return 4638;
- if (Down && East && North && !South && !Up && West) return 4639;
- if (Down && East && North && !South && !Up && !West) return 4640;
- if (Down && East && !North && South && Up && West) return 4641;
- if (Down && East && !North && South && Up && !West) return 4642;
- if (Down && East && !North && South && !Up && West) return 4643;
- if (Down && East && !North && South && !Up && !West) return 4644;
- if (Down && East && !North && !South && Up && West) return 4645;
- if (Down && East && !North && !South && Up && !West) return 4646;
- if (Down && East && !North && !South && !Up && West) return 4647;
- if (Down && East && !North && !South && !Up && !West) return 4648;
- if (Down && !East && North && South && Up && West) return 4649;
- if (Down && !East && North && South && Up && !West) return 4650;
- if (Down && !East && North && South && !Up && West) return 4651;
- if (Down && !East && North && South && !Up && !West) return 4652;
- if (Down && !East && North && !South && Up && West) return 4653;
- if (Down && !East && North && !South && Up && !West) return 4654;
- if (Down && !East && North && !South && !Up && West) return 4655;
- if (Down && !East && North && !South && !Up && !West) return 4656;
- if (Down && !East && !North && South && Up && West) return 4657;
- if (Down && !East && !North && South && Up && !West) return 4658;
- if (Down && !East && !North && South && !Up && West) return 4659;
- if (Down && !East && !North && South && !Up && !West) return 4660;
- if (Down && !East && !North && !South && Up && West) return 4661;
- if (Down && !East && !North && !South && Up && !West) return 4662;
- if (Down && !East && !North && !South && !Up && West) return 4663;
- if (Down && !East && !North && !South && !Up && !West) return 4664;
- if (!Down && East && North && South && Up && West) return 4665;
- if (!Down && East && North && South && Up && !West) return 4666;
- if (!Down && East && North && South && !Up && West) return 4667;
- if (!Down && East && North && South && !Up && !West) return 4668;
- if (!Down && East && North && !South && Up && West) return 4669;
- if (!Down && East && North && !South && Up && !West) return 4670;
- if (!Down && East && North && !South && !Up && West) return 4671;
- if (!Down && East && North && !South && !Up && !West) return 4672;
- if (!Down && East && !North && South && Up && West) return 4673;
- if (!Down && East && !North && South && Up && !West) return 4674;
- if (!Down && East && !North && South && !Up && West) return 4675;
- if (!Down && East && !North && South && !Up && !West) return 4676;
- if (!Down && East && !North && !South && Up && West) return 4677;
- if (!Down && East && !North && !South && Up && !West) return 4678;
- if (!Down && East && !North && !South && !Up && West) return 4679;
- if (!Down && East && !North && !South && !Up && !West) return 4680;
- if (!Down && !East && North && South && Up && West) return 4681;
- if (!Down && !East && North && South && Up && !West) return 4682;
- if (!Down && !East && North && South && !Up && West) return 4683;
- if (!Down && !East && North && South && !Up && !West) return 4684;
- if (!Down && !East && North && !South && Up && West) return 4685;
- if (!Down && !East && North && !South && Up && !West) return 4686;
- if (!Down && !East && North && !South && !Up && West) return 4687;
- if (!Down && !East && North && !South && !Up && !West) return 4688;
- if (!Down && !East && !North && South && Up && West) return 4689;
- if (!Down && !East && !North && South && Up && !West) return 4690;
- if (!Down && !East && !North && South && !Up && West) return 4691;
- if (!Down && !East && !North && South && !Up && !West) return 4692;
- if (!Down && !East && !North && !South && Up && West) return 4693;
- if (!Down && !East && !North && !South && Up && !West) return 4694;
- if (!Down && !East && !North && !South && !Up && West) return 4695;
- return 4696;
- }
- short MushroomStem();
- bool Down(short ID);
- bool East(short ID);
- bool North(short ID);
- bool South(short ID);
- bool Up(short ID);
- bool West(short ID);
- }
- namespace Mycelium
- {
- constexpr short Mycelium(bool Snowy)
- {
- if (Snowy) return 5012;
- return 5013;
- }
- short Mycelium();
- bool Snowy(short ID);
- }
- namespace NetherBrickFence
- {
- constexpr short NetherBrickFence(bool East, bool North, bool South, bool West)
- {
- if (East && North && South && West) return 5018;
- if (East && North && South && !West) return 5019;
- if (East && North && !South && West) return 5022;
- if (East && North && !South && !West) return 5023;
- if (East && !North && South && West) return 5026;
- if (East && !North && South && !West) return 5027;
- if (East && !North && !South && West) return 5030;
- if (East && !North && !South && !West) return 5031;
- if (!East && North && South && West) return 5034;
- if (!East && North && South && !West) return 5035;
- if (!East && North && !South && West) return 5038;
- if (!East && North && !South && !West) return 5039;
- if (!East && !North && South && West) return 5042;
- if (!East && !North && South && !West) return 5043;
- if (!East && !North && !South && West) return 5046;
- return 5047;
- }
- short NetherBrickFence();
- bool East(short ID);
- bool North(short ID);
- bool South(short ID);
- bool West(short ID);
- }
- namespace NetherBrickSlab
- {
- enum class Type
- {
- Top,
- Bottom,
- Double
- };
- constexpr short NetherBrickSlab(enum Type Type)
- {
- if (Type == Type::Top) return 8385;
- if (Type == Type::Bottom) return 8387;
- return 8389;
- }
- short NetherBrickSlab();
- enum Type Type(short ID);
- }
- namespace NetherBrickStairs
- {
- enum class Half
- {
- Top,
- Bottom
- };
- enum class Shape
- {
- Straight,
- InnerLeft,
- InnerRight,
- OuterLeft,
- OuterRight
- };
- constexpr short NetherBrickStairs(eBlockFace Facing, enum Half Half, enum Shape Shape)
- {
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Top && Shape == Shape::Straight) return 5049;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Top && Shape == Shape::InnerLeft) return 5051;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Top && Shape == Shape::InnerRight) return 5053;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Top && Shape == Shape::OuterLeft) return 5055;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Top && Shape == Shape::OuterRight) return 5057;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Bottom && Shape == Shape::Straight) return 5059;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Bottom && Shape == Shape::InnerLeft) return 5061;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Bottom && Shape == Shape::InnerRight) return 5063;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Bottom && Shape == Shape::OuterLeft) return 5065;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Bottom && Shape == Shape::OuterRight) return 5067;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Top && Shape == Shape::Straight) return 5069;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Top && Shape == Shape::InnerLeft) return 5071;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Top && Shape == Shape::InnerRight) return 5073;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Top && Shape == Shape::OuterLeft) return 5075;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Top && Shape == Shape::OuterRight) return 5077;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Bottom && Shape == Shape::Straight) return 5079;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Bottom && Shape == Shape::InnerLeft) return 5081;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Bottom && Shape == Shape::InnerRight) return 5083;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Bottom && Shape == Shape::OuterLeft) return 5085;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Bottom && Shape == Shape::OuterRight) return 5087;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Top && Shape == Shape::Straight) return 5089;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Top && Shape == Shape::InnerLeft) return 5091;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Top && Shape == Shape::InnerRight) return 5093;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Top && Shape == Shape::OuterLeft) return 5095;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Top && Shape == Shape::OuterRight) return 5097;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Bottom && Shape == Shape::Straight) return 5099;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Bottom && Shape == Shape::InnerLeft) return 5101;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Bottom && Shape == Shape::InnerRight) return 5103;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Bottom && Shape == Shape::OuterLeft) return 5105;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Bottom && Shape == Shape::OuterRight) return 5107;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Top && Shape == Shape::Straight) return 5109;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Top && Shape == Shape::InnerLeft) return 5111;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Top && Shape == Shape::InnerRight) return 5113;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Top && Shape == Shape::OuterLeft) return 5115;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Top && Shape == Shape::OuterRight) return 5117;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Bottom && Shape == Shape::Straight) return 5119;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Bottom && Shape == Shape::InnerLeft) return 5121;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Bottom && Shape == Shape::InnerRight) return 5123;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Bottom && Shape == Shape::OuterLeft) return 5125;
- return 5127;
- }
- short NetherBrickStairs();
- eBlockFace Facing(short ID);
- enum Half Half(short ID);
- enum Shape Shape(short ID);
- }
- namespace NetherBrickWall
- {
- enum class East
- {
- None,
- Low,
- Tall
- };
- enum class North
- {
- None,
- Low,
- Tall
- };
- enum class South
- {
- None,
- Low,
- Tall
- };
- enum class West
- {
- None,
- Low,
- Tall
- };
- constexpr short NetherBrickWall(enum East East, enum North North, enum South South, bool Up, enum West West)
- {
- if (East == East::None && North == North::None && South == South::None && Up && West == West::None) return 12814;
- if (East == East::None && North == North::None && South == South::None && Up && West == West::Low) return 12815;
- if (East == East::None && North == North::None && South == South::None && Up && West == West::Tall) return 12816;
- if (East == East::None && North == North::None && South == South::None && !Up && West == West::None) return 12820;
- if (East == East::None && North == North::None && South == South::None && !Up && West == West::Low) return 12821;
- if (East == East::None && North == North::None && South == South::None && !Up && West == West::Tall) return 12822;
- if (East == East::None && North == North::None && South == South::Low && Up && West == West::None) return 12826;
- if (East == East::None && North == North::None && South == South::Low && Up && West == West::Low) return 12827;
- if (East == East::None && North == North::None && South == South::Low && Up && West == West::Tall) return 12828;
- if (East == East::None && North == North::None && South == South::Low && !Up && West == West::None) return 12832;
- if (East == East::None && North == North::None && South == South::Low && !Up && West == West::Low) return 12833;
- if (East == East::None && North == North::None && South == South::Low && !Up && West == West::Tall) return 12834;
- if (East == East::None && North == North::None && South == South::Tall && Up && West == West::None) return 12838;
- if (East == East::None && North == North::None && South == South::Tall && Up && West == West::Low) return 12839;
- if (East == East::None && North == North::None && South == South::Tall && Up && West == West::Tall) return 12840;
- if (East == East::None && North == North::None && South == South::Tall && !Up && West == West::None) return 12844;
- if (East == East::None && North == North::None && South == South::Tall && !Up && West == West::Low) return 12845;
- if (East == East::None && North == North::None && South == South::Tall && !Up && West == West::Tall) return 12846;
- if (East == East::None && North == North::Low && South == South::None && Up && West == West::None) return 12850;
- if (East == East::None && North == North::Low && South == South::None && Up && West == West::Low) return 12851;
- if (East == East::None && North == North::Low && South == South::None && Up && West == West::Tall) return 12852;
- if (East == East::None && North == North::Low && South == South::None && !Up && West == West::None) return 12856;
- if (East == East::None && North == North::Low && South == South::None && !Up && West == West::Low) return 12857;
- if (East == East::None && North == North::Low && South == South::None && !Up && West == West::Tall) return 12858;
- if (East == East::None && North == North::Low && South == South::Low && Up && West == West::None) return 12862;
- if (East == East::None && North == North::Low && South == South::Low && Up && West == West::Low) return 12863;
- if (East == East::None && North == North::Low && South == South::Low && Up && West == West::Tall) return 12864;
- if (East == East::None && North == North::Low && South == South::Low && !Up && West == West::None) return 12868;
- if (East == East::None && North == North::Low && South == South::Low && !Up && West == West::Low) return 12869;
- if (East == East::None && North == North::Low && South == South::Low && !Up && West == West::Tall) return 12870;
- if (East == East::None && North == North::Low && South == South::Tall && Up && West == West::None) return 12874;
- if (East == East::None && North == North::Low && South == South::Tall && Up && West == West::Low) return 12875;
- if (East == East::None && North == North::Low && South == South::Tall && Up && West == West::Tall) return 12876;
- if (East == East::None && North == North::Low && South == South::Tall && !Up && West == West::None) return 12880;
- if (East == East::None && North == North::Low && South == South::Tall && !Up && West == West::Low) return 12881;
- if (East == East::None && North == North::Low && South == South::Tall && !Up && West == West::Tall) return 12882;
- if (East == East::None && North == North::Tall && South == South::None && Up && West == West::None) return 12886;
- if (East == East::None && North == North::Tall && South == South::None && Up && West == West::Low) return 12887;
- if (East == East::None && North == North::Tall && South == South::None && Up && West == West::Tall) return 12888;
- if (East == East::None && North == North::Tall && South == South::None && !Up && West == West::None) return 12892;
- if (East == East::None && North == North::Tall && South == South::None && !Up && West == West::Low) return 12893;
- if (East == East::None && North == North::Tall && South == South::None && !Up && West == West::Tall) return 12894;
- if (East == East::None && North == North::Tall && South == South::Low && Up && West == West::None) return 12898;
- if (East == East::None && North == North::Tall && South == South::Low && Up && West == West::Low) return 12899;
- if (East == East::None && North == North::Tall && South == South::Low && Up && West == West::Tall) return 12900;
- if (East == East::None && North == North::Tall && South == South::Low && !Up && West == West::None) return 12904;
- if (East == East::None && North == North::Tall && South == South::Low && !Up && West == West::Low) return 12905;
- if (East == East::None && North == North::Tall && South == South::Low && !Up && West == West::Tall) return 12906;
- if (East == East::None && North == North::Tall && South == South::Tall && Up && West == West::None) return 12910;
- if (East == East::None && North == North::Tall && South == South::Tall && Up && West == West::Low) return 12911;
- if (East == East::None && North == North::Tall && South == South::Tall && Up && West == West::Tall) return 12912;
- if (East == East::None && North == North::Tall && South == South::Tall && !Up && West == West::None) return 12916;
- if (East == East::None && North == North::Tall && South == South::Tall && !Up && West == West::Low) return 12917;
- if (East == East::None && North == North::Tall && South == South::Tall && !Up && West == West::Tall) return 12918;
- if (East == East::Low && North == North::None && South == South::None && Up && West == West::None) return 12922;
- if (East == East::Low && North == North::None && South == South::None && Up && West == West::Low) return 12923;
- if (East == East::Low && North == North::None && South == South::None && Up && West == West::Tall) return 12924;
- if (East == East::Low && North == North::None && South == South::None && !Up && West == West::None) return 12928;
- if (East == East::Low && North == North::None && South == South::None && !Up && West == West::Low) return 12929;
- if (East == East::Low && North == North::None && South == South::None && !Up && West == West::Tall) return 12930;
- if (East == East::Low && North == North::None && South == South::Low && Up && West == West::None) return 12934;
- if (East == East::Low && North == North::None && South == South::Low && Up && West == West::Low) return 12935;
- if (East == East::Low && North == North::None && South == South::Low && Up && West == West::Tall) return 12936;
- if (East == East::Low && North == North::None && South == South::Low && !Up && West == West::None) return 12940;
- if (East == East::Low && North == North::None && South == South::Low && !Up && West == West::Low) return 12941;
- if (East == East::Low && North == North::None && South == South::Low && !Up && West == West::Tall) return 12942;
- if (East == East::Low && North == North::None && South == South::Tall && Up && West == West::None) return 12946;
- if (East == East::Low && North == North::None && South == South::Tall && Up && West == West::Low) return 12947;
- if (East == East::Low && North == North::None && South == South::Tall && Up && West == West::Tall) return 12948;
- if (East == East::Low && North == North::None && South == South::Tall && !Up && West == West::None) return 12952;
- if (East == East::Low && North == North::None && South == South::Tall && !Up && West == West::Low) return 12953;
- if (East == East::Low && North == North::None && South == South::Tall && !Up && West == West::Tall) return 12954;
- if (East == East::Low && North == North::Low && South == South::None && Up && West == West::None) return 12958;
- if (East == East::Low && North == North::Low && South == South::None && Up && West == West::Low) return 12959;
- if (East == East::Low && North == North::Low && South == South::None && Up && West == West::Tall) return 12960;
- if (East == East::Low && North == North::Low && South == South::None && !Up && West == West::None) return 12964;
- if (East == East::Low && North == North::Low && South == South::None && !Up && West == West::Low) return 12965;
- if (East == East::Low && North == North::Low && South == South::None && !Up && West == West::Tall) return 12966;
- if (East == East::Low && North == North::Low && South == South::Low && Up && West == West::None) return 12970;
- if (East == East::Low && North == North::Low && South == South::Low && Up && West == West::Low) return 12971;
- if (East == East::Low && North == North::Low && South == South::Low && Up && West == West::Tall) return 12972;
- if (East == East::Low && North == North::Low && South == South::Low && !Up && West == West::None) return 12976;
- if (East == East::Low && North == North::Low && South == South::Low && !Up && West == West::Low) return 12977;
- if (East == East::Low && North == North::Low && South == South::Low && !Up && West == West::Tall) return 12978;
- if (East == East::Low && North == North::Low && South == South::Tall && Up && West == West::None) return 12982;
- if (East == East::Low && North == North::Low && South == South::Tall && Up && West == West::Low) return 12983;
- if (East == East::Low && North == North::Low && South == South::Tall && Up && West == West::Tall) return 12984;
- if (East == East::Low && North == North::Low && South == South::Tall && !Up && West == West::None) return 12988;
- if (East == East::Low && North == North::Low && South == South::Tall && !Up && West == West::Low) return 12989;
- if (East == East::Low && North == North::Low && South == South::Tall && !Up && West == West::Tall) return 12990;
- if (East == East::Low && North == North::Tall && South == South::None && Up && West == West::None) return 12994;
- if (East == East::Low && North == North::Tall && South == South::None && Up && West == West::Low) return 12995;
- if (East == East::Low && North == North::Tall && South == South::None && Up && West == West::Tall) return 12996;
- if (East == East::Low && North == North::Tall && South == South::None && !Up && West == West::None) return 13000;
- if (East == East::Low && North == North::Tall && South == South::None && !Up && West == West::Low) return 13001;
- if (East == East::Low && North == North::Tall && South == South::None && !Up && West == West::Tall) return 13002;
- if (East == East::Low && North == North::Tall && South == South::Low && Up && West == West::None) return 13006;
- if (East == East::Low && North == North::Tall && South == South::Low && Up && West == West::Low) return 13007;
- if (East == East::Low && North == North::Tall && South == South::Low && Up && West == West::Tall) return 13008;
- if (East == East::Low && North == North::Tall && South == South::Low && !Up && West == West::None) return 13012;
- if (East == East::Low && North == North::Tall && South == South::Low && !Up && West == West::Low) return 13013;
- if (East == East::Low && North == North::Tall && South == South::Low && !Up && West == West::Tall) return 13014;
- if (East == East::Low && North == North::Tall && South == South::Tall && Up && West == West::None) return 13018;
- if (East == East::Low && North == North::Tall && South == South::Tall && Up && West == West::Low) return 13019;
- if (East == East::Low && North == North::Tall && South == South::Tall && Up && West == West::Tall) return 13020;
- if (East == East::Low && North == North::Tall && South == South::Tall && !Up && West == West::None) return 13024;
- if (East == East::Low && North == North::Tall && South == South::Tall && !Up && West == West::Low) return 13025;
- if (East == East::Low && North == North::Tall && South == South::Tall && !Up && West == West::Tall) return 13026;
- if (East == East::Tall && North == North::None && South == South::None && Up && West == West::None) return 13030;
- if (East == East::Tall && North == North::None && South == South::None && Up && West == West::Low) return 13031;
- if (East == East::Tall && North == North::None && South == South::None && Up && West == West::Tall) return 13032;
- if (East == East::Tall && North == North::None && South == South::None && !Up && West == West::None) return 13036;
- if (East == East::Tall && North == North::None && South == South::None && !Up && West == West::Low) return 13037;
- if (East == East::Tall && North == North::None && South == South::None && !Up && West == West::Tall) return 13038;
- if (East == East::Tall && North == North::None && South == South::Low && Up && West == West::None) return 13042;
- if (East == East::Tall && North == North::None && South == South::Low && Up && West == West::Low) return 13043;
- if (East == East::Tall && North == North::None && South == South::Low && Up && West == West::Tall) return 13044;
- if (East == East::Tall && North == North::None && South == South::Low && !Up && West == West::None) return 13048;
- if (East == East::Tall && North == North::None && South == South::Low && !Up && West == West::Low) return 13049;
- if (East == East::Tall && North == North::None && South == South::Low && !Up && West == West::Tall) return 13050;
- if (East == East::Tall && North == North::None && South == South::Tall && Up && West == West::None) return 13054;
- if (East == East::Tall && North == North::None && South == South::Tall && Up && West == West::Low) return 13055;
- if (East == East::Tall && North == North::None && South == South::Tall && Up && West == West::Tall) return 13056;
- if (East == East::Tall && North == North::None && South == South::Tall && !Up && West == West::None) return 13060;
- if (East == East::Tall && North == North::None && South == South::Tall && !Up && West == West::Low) return 13061;
- if (East == East::Tall && North == North::None && South == South::Tall && !Up && West == West::Tall) return 13062;
- if (East == East::Tall && North == North::Low && South == South::None && Up && West == West::None) return 13066;
- if (East == East::Tall && North == North::Low && South == South::None && Up && West == West::Low) return 13067;
- if (East == East::Tall && North == North::Low && South == South::None && Up && West == West::Tall) return 13068;
- if (East == East::Tall && North == North::Low && South == South::None && !Up && West == West::None) return 13072;
- if (East == East::Tall && North == North::Low && South == South::None && !Up && West == West::Low) return 13073;
- if (East == East::Tall && North == North::Low && South == South::None && !Up && West == West::Tall) return 13074;
- if (East == East::Tall && North == North::Low && South == South::Low && Up && West == West::None) return 13078;
- if (East == East::Tall && North == North::Low && South == South::Low && Up && West == West::Low) return 13079;
- if (East == East::Tall && North == North::Low && South == South::Low && Up && West == West::Tall) return 13080;
- if (East == East::Tall && North == North::Low && South == South::Low && !Up && West == West::None) return 13084;
- if (East == East::Tall && North == North::Low && South == South::Low && !Up && West == West::Low) return 13085;
- if (East == East::Tall && North == North::Low && South == South::Low && !Up && West == West::Tall) return 13086;
- if (East == East::Tall && North == North::Low && South == South::Tall && Up && West == West::None) return 13090;
- if (East == East::Tall && North == North::Low && South == South::Tall && Up && West == West::Low) return 13091;
- if (East == East::Tall && North == North::Low && South == South::Tall && Up && West == West::Tall) return 13092;
- if (East == East::Tall && North == North::Low && South == South::Tall && !Up && West == West::None) return 13096;
- if (East == East::Tall && North == North::Low && South == South::Tall && !Up && West == West::Low) return 13097;
- if (East == East::Tall && North == North::Low && South == South::Tall && !Up && West == West::Tall) return 13098;
- if (East == East::Tall && North == North::Tall && South == South::None && Up && West == West::None) return 13102;
- if (East == East::Tall && North == North::Tall && South == South::None && Up && West == West::Low) return 13103;
- if (East == East::Tall && North == North::Tall && South == South::None && Up && West == West::Tall) return 13104;
- if (East == East::Tall && North == North::Tall && South == South::None && !Up && West == West::None) return 13108;
- if (East == East::Tall && North == North::Tall && South == South::None && !Up && West == West::Low) return 13109;
- if (East == East::Tall && North == North::Tall && South == South::None && !Up && West == West::Tall) return 13110;
- if (East == East::Tall && North == North::Tall && South == South::Low && Up && West == West::None) return 13114;
- if (East == East::Tall && North == North::Tall && South == South::Low && Up && West == West::Low) return 13115;
- if (East == East::Tall && North == North::Tall && South == South::Low && Up && West == West::Tall) return 13116;
- if (East == East::Tall && North == North::Tall && South == South::Low && !Up && West == West::None) return 13120;
- if (East == East::Tall && North == North::Tall && South == South::Low && !Up && West == West::Low) return 13121;
- if (East == East::Tall && North == North::Tall && South == South::Low && !Up && West == West::Tall) return 13122;
- if (East == East::Tall && North == North::Tall && South == South::Tall && Up && West == West::None) return 13126;
- if (East == East::Tall && North == North::Tall && South == South::Tall && Up && West == West::Low) return 13127;
- if (East == East::Tall && North == North::Tall && South == South::Tall && Up && West == West::Tall) return 13128;
- if (East == East::Tall && North == North::Tall && South == South::Tall && !Up && West == West::None) return 13132;
- if (East == East::Tall && North == North::Tall && South == South::Tall && !Up && West == West::Low) return 13133;
- return 13134;
- }
- short NetherBrickWall();
- enum East East(short ID);
- enum North North(short ID);
- enum South South(short ID);
- bool Up(short ID);
- enum West West(short ID);
- }
- namespace NetherBricks
- {
- constexpr short NetherBricks()
- {
- return 5015;
- }
- }
- namespace NetherGoldOre
- {
- constexpr short NetherGoldOre()
- {
- return 72;
- }
- }
- namespace NetherPortal
- {
- enum class Axis
- {
- X,
- Z
- };
- constexpr short NetherPortal(enum Axis Axis)
- {
- if (Axis == Axis::X) return 4014;
- return 4015;
- }
- short NetherPortal();
- enum Axis Axis(short ID);
- }
- namespace NetherQuartzOre
- {
- constexpr short NetherQuartzOre()
- {
- return 6727;
- }
- }
- namespace NetherSprouts
- {
- constexpr short NetherSprouts()
- {
- return 14974;
- }
- }
- namespace NetherWart
- {
- constexpr short NetherWart(unsigned char Age)
- {
- if (Age == 0) return 5128;
- if (Age == 1) return 5129;
- if (Age == 2) return 5130;
- return 5131;
- }
- short NetherWart();
- unsigned char Age(short ID);
- }
- namespace NetherWartBlock
- {
- constexpr short NetherWartBlock()
- {
- return 9254;
- }
- }
- namespace NetheriteBlock
- {
- constexpr short NetheriteBlock()
- {
- return 15826;
- }
- }
- namespace Netherrack
- {
- constexpr short Netherrack()
- {
- return 3999;
- }
- }
- namespace NoteBlock
- {
- enum class Instrument
- {
- Harp,
- Basedrum,
- Snare,
- Hat,
- Bass,
- Flute,
- Bell,
- Guitar,
- Chime,
- Xylophone,
- IronXylophone,
- CowBell,
- Didgeridoo,
- Bit,
- Banjo,
- Pling
- };
- constexpr short NoteBlock(enum Instrument Instrument, unsigned char Note, bool Powered)
- {
- if (Instrument == Instrument::Harp && Note == 0 && Powered) return 249;
- if (Instrument == Instrument::Harp && Note == 0 && !Powered) return 250;
- if (Instrument == Instrument::Harp && Note == 1 && Powered) return 251;
- if (Instrument == Instrument::Harp && Note == 1 && !Powered) return 252;
- if (Instrument == Instrument::Harp && Note == 2 && Powered) return 253;
- if (Instrument == Instrument::Harp && Note == 2 && !Powered) return 254;
- if (Instrument == Instrument::Harp && Note == 3 && Powered) return 255;
- if (Instrument == Instrument::Harp && Note == 3 && !Powered) return 256;
- if (Instrument == Instrument::Harp && Note == 4 && Powered) return 257;
- if (Instrument == Instrument::Harp && Note == 4 && !Powered) return 258;
- if (Instrument == Instrument::Harp && Note == 5 && Powered) return 259;
- if (Instrument == Instrument::Harp && Note == 5 && !Powered) return 260;
- if (Instrument == Instrument::Harp && Note == 6 && Powered) return 261;
- if (Instrument == Instrument::Harp && Note == 6 && !Powered) return 262;
- if (Instrument == Instrument::Harp && Note == 7 && Powered) return 263;
- if (Instrument == Instrument::Harp && Note == 7 && !Powered) return 264;
- if (Instrument == Instrument::Harp && Note == 8 && Powered) return 265;
- if (Instrument == Instrument::Harp && Note == 8 && !Powered) return 266;
- if (Instrument == Instrument::Harp && Note == 9 && Powered) return 267;
- if (Instrument == Instrument::Harp && Note == 9 && !Powered) return 268;
- if (Instrument == Instrument::Harp && Note == 10 && Powered) return 269;
- if (Instrument == Instrument::Harp && Note == 10 && !Powered) return 270;
- if (Instrument == Instrument::Harp && Note == 11 && Powered) return 271;
- if (Instrument == Instrument::Harp && Note == 11 && !Powered) return 272;
- if (Instrument == Instrument::Harp && Note == 12 && Powered) return 273;
- if (Instrument == Instrument::Harp && Note == 12 && !Powered) return 274;
- if (Instrument == Instrument::Harp && Note == 13 && Powered) return 275;
- if (Instrument == Instrument::Harp && Note == 13 && !Powered) return 276;
- if (Instrument == Instrument::Harp && Note == 14 && Powered) return 277;
- if (Instrument == Instrument::Harp && Note == 14 && !Powered) return 278;
- if (Instrument == Instrument::Harp && Note == 15 && Powered) return 279;
- if (Instrument == Instrument::Harp && Note == 15 && !Powered) return 280;
- if (Instrument == Instrument::Harp && Note == 16 && Powered) return 281;
- if (Instrument == Instrument::Harp && Note == 16 && !Powered) return 282;
- if (Instrument == Instrument::Harp && Note == 17 && Powered) return 283;
- if (Instrument == Instrument::Harp && Note == 17 && !Powered) return 284;
- if (Instrument == Instrument::Harp && Note == 18 && Powered) return 285;
- if (Instrument == Instrument::Harp && Note == 18 && !Powered) return 286;
- if (Instrument == Instrument::Harp && Note == 19 && Powered) return 287;
- if (Instrument == Instrument::Harp && Note == 19 && !Powered) return 288;
- if (Instrument == Instrument::Harp && Note == 20 && Powered) return 289;
- if (Instrument == Instrument::Harp && Note == 20 && !Powered) return 290;
- if (Instrument == Instrument::Harp && Note == 21 && Powered) return 291;
- if (Instrument == Instrument::Harp && Note == 21 && !Powered) return 292;
- if (Instrument == Instrument::Harp && Note == 22 && Powered) return 293;
- if (Instrument == Instrument::Harp && Note == 22 && !Powered) return 294;
- if (Instrument == Instrument::Harp && Note == 23 && Powered) return 295;
- if (Instrument == Instrument::Harp && Note == 23 && !Powered) return 296;
- if (Instrument == Instrument::Harp && Note == 24 && Powered) return 297;
- if (Instrument == Instrument::Harp && Note == 24 && !Powered) return 298;
- if (Instrument == Instrument::Basedrum && Note == 0 && Powered) return 299;
- if (Instrument == Instrument::Basedrum && Note == 0 && !Powered) return 300;
- if (Instrument == Instrument::Basedrum && Note == 1 && Powered) return 301;
- if (Instrument == Instrument::Basedrum && Note == 1 && !Powered) return 302;
- if (Instrument == Instrument::Basedrum && Note == 2 && Powered) return 303;
- if (Instrument == Instrument::Basedrum && Note == 2 && !Powered) return 304;
- if (Instrument == Instrument::Basedrum && Note == 3 && Powered) return 305;
- if (Instrument == Instrument::Basedrum && Note == 3 && !Powered) return 306;
- if (Instrument == Instrument::Basedrum && Note == 4 && Powered) return 307;
- if (Instrument == Instrument::Basedrum && Note == 4 && !Powered) return 308;
- if (Instrument == Instrument::Basedrum && Note == 5 && Powered) return 309;
- if (Instrument == Instrument::Basedrum && Note == 5 && !Powered) return 310;
- if (Instrument == Instrument::Basedrum && Note == 6 && Powered) return 311;
- if (Instrument == Instrument::Basedrum && Note == 6 && !Powered) return 312;
- if (Instrument == Instrument::Basedrum && Note == 7 && Powered) return 313;
- if (Instrument == Instrument::Basedrum && Note == 7 && !Powered) return 314;
- if (Instrument == Instrument::Basedrum && Note == 8 && Powered) return 315;
- if (Instrument == Instrument::Basedrum && Note == 8 && !Powered) return 316;
- if (Instrument == Instrument::Basedrum && Note == 9 && Powered) return 317;
- if (Instrument == Instrument::Basedrum && Note == 9 && !Powered) return 318;
- if (Instrument == Instrument::Basedrum && Note == 10 && Powered) return 319;
- if (Instrument == Instrument::Basedrum && Note == 10 && !Powered) return 320;
- if (Instrument == Instrument::Basedrum && Note == 11 && Powered) return 321;
- if (Instrument == Instrument::Basedrum && Note == 11 && !Powered) return 322;
- if (Instrument == Instrument::Basedrum && Note == 12 && Powered) return 323;
- if (Instrument == Instrument::Basedrum && Note == 12 && !Powered) return 324;
- if (Instrument == Instrument::Basedrum && Note == 13 && Powered) return 325;
- if (Instrument == Instrument::Basedrum && Note == 13 && !Powered) return 326;
- if (Instrument == Instrument::Basedrum && Note == 14 && Powered) return 327;
- if (Instrument == Instrument::Basedrum && Note == 14 && !Powered) return 328;
- if (Instrument == Instrument::Basedrum && Note == 15 && Powered) return 329;
- if (Instrument == Instrument::Basedrum && Note == 15 && !Powered) return 330;
- if (Instrument == Instrument::Basedrum && Note == 16 && Powered) return 331;
- if (Instrument == Instrument::Basedrum && Note == 16 && !Powered) return 332;
- if (Instrument == Instrument::Basedrum && Note == 17 && Powered) return 333;
- if (Instrument == Instrument::Basedrum && Note == 17 && !Powered) return 334;
- if (Instrument == Instrument::Basedrum && Note == 18 && Powered) return 335;
- if (Instrument == Instrument::Basedrum && Note == 18 && !Powered) return 336;
- if (Instrument == Instrument::Basedrum && Note == 19 && Powered) return 337;
- if (Instrument == Instrument::Basedrum && Note == 19 && !Powered) return 338;
- if (Instrument == Instrument::Basedrum && Note == 20 && Powered) return 339;
- if (Instrument == Instrument::Basedrum && Note == 20 && !Powered) return 340;
- if (Instrument == Instrument::Basedrum && Note == 21 && Powered) return 341;
- if (Instrument == Instrument::Basedrum && Note == 21 && !Powered) return 342;
- if (Instrument == Instrument::Basedrum && Note == 22 && Powered) return 343;
- if (Instrument == Instrument::Basedrum && Note == 22 && !Powered) return 344;
- if (Instrument == Instrument::Basedrum && Note == 23 && Powered) return 345;
- if (Instrument == Instrument::Basedrum && Note == 23 && !Powered) return 346;
- if (Instrument == Instrument::Basedrum && Note == 24 && Powered) return 347;
- if (Instrument == Instrument::Basedrum && Note == 24 && !Powered) return 348;
- if (Instrument == Instrument::Snare && Note == 0 && Powered) return 349;
- if (Instrument == Instrument::Snare && Note == 0 && !Powered) return 350;
- if (Instrument == Instrument::Snare && Note == 1 && Powered) return 351;
- if (Instrument == Instrument::Snare && Note == 1 && !Powered) return 352;
- if (Instrument == Instrument::Snare && Note == 2 && Powered) return 353;
- if (Instrument == Instrument::Snare && Note == 2 && !Powered) return 354;
- if (Instrument == Instrument::Snare && Note == 3 && Powered) return 355;
- if (Instrument == Instrument::Snare && Note == 3 && !Powered) return 356;
- if (Instrument == Instrument::Snare && Note == 4 && Powered) return 357;
- if (Instrument == Instrument::Snare && Note == 4 && !Powered) return 358;
- if (Instrument == Instrument::Snare && Note == 5 && Powered) return 359;
- if (Instrument == Instrument::Snare && Note == 5 && !Powered) return 360;
- if (Instrument == Instrument::Snare && Note == 6 && Powered) return 361;
- if (Instrument == Instrument::Snare && Note == 6 && !Powered) return 362;
- if (Instrument == Instrument::Snare && Note == 7 && Powered) return 363;
- if (Instrument == Instrument::Snare && Note == 7 && !Powered) return 364;
- if (Instrument == Instrument::Snare && Note == 8 && Powered) return 365;
- if (Instrument == Instrument::Snare && Note == 8 && !Powered) return 366;
- if (Instrument == Instrument::Snare && Note == 9 && Powered) return 367;
- if (Instrument == Instrument::Snare && Note == 9 && !Powered) return 368;
- if (Instrument == Instrument::Snare && Note == 10 && Powered) return 369;
- if (Instrument == Instrument::Snare && Note == 10 && !Powered) return 370;
- if (Instrument == Instrument::Snare && Note == 11 && Powered) return 371;
- if (Instrument == Instrument::Snare && Note == 11 && !Powered) return 372;
- if (Instrument == Instrument::Snare && Note == 12 && Powered) return 373;
- if (Instrument == Instrument::Snare && Note == 12 && !Powered) return 374;
- if (Instrument == Instrument::Snare && Note == 13 && Powered) return 375;
- if (Instrument == Instrument::Snare && Note == 13 && !Powered) return 376;
- if (Instrument == Instrument::Snare && Note == 14 && Powered) return 377;
- if (Instrument == Instrument::Snare && Note == 14 && !Powered) return 378;
- if (Instrument == Instrument::Snare && Note == 15 && Powered) return 379;
- if (Instrument == Instrument::Snare && Note == 15 && !Powered) return 380;
- if (Instrument == Instrument::Snare && Note == 16 && Powered) return 381;
- if (Instrument == Instrument::Snare && Note == 16 && !Powered) return 382;
- if (Instrument == Instrument::Snare && Note == 17 && Powered) return 383;
- if (Instrument == Instrument::Snare && Note == 17 && !Powered) return 384;
- if (Instrument == Instrument::Snare && Note == 18 && Powered) return 385;
- if (Instrument == Instrument::Snare && Note == 18 && !Powered) return 386;
- if (Instrument == Instrument::Snare && Note == 19 && Powered) return 387;
- if (Instrument == Instrument::Snare && Note == 19 && !Powered) return 388;
- if (Instrument == Instrument::Snare && Note == 20 && Powered) return 389;
- if (Instrument == Instrument::Snare && Note == 20 && !Powered) return 390;
- if (Instrument == Instrument::Snare && Note == 21 && Powered) return 391;
- if (Instrument == Instrument::Snare && Note == 21 && !Powered) return 392;
- if (Instrument == Instrument::Snare && Note == 22 && Powered) return 393;
- if (Instrument == Instrument::Snare && Note == 22 && !Powered) return 394;
- if (Instrument == Instrument::Snare && Note == 23 && Powered) return 395;
- if (Instrument == Instrument::Snare && Note == 23 && !Powered) return 396;
- if (Instrument == Instrument::Snare && Note == 24 && Powered) return 397;
- if (Instrument == Instrument::Snare && Note == 24 && !Powered) return 398;
- if (Instrument == Instrument::Hat && Note == 0 && Powered) return 399;
- if (Instrument == Instrument::Hat && Note == 0 && !Powered) return 400;
- if (Instrument == Instrument::Hat && Note == 1 && Powered) return 401;
- if (Instrument == Instrument::Hat && Note == 1 && !Powered) return 402;
- if (Instrument == Instrument::Hat && Note == 2 && Powered) return 403;
- if (Instrument == Instrument::Hat && Note == 2 && !Powered) return 404;
- if (Instrument == Instrument::Hat && Note == 3 && Powered) return 405;
- if (Instrument == Instrument::Hat && Note == 3 && !Powered) return 406;
- if (Instrument == Instrument::Hat && Note == 4 && Powered) return 407;
- if (Instrument == Instrument::Hat && Note == 4 && !Powered) return 408;
- if (Instrument == Instrument::Hat && Note == 5 && Powered) return 409;
- if (Instrument == Instrument::Hat && Note == 5 && !Powered) return 410;
- if (Instrument == Instrument::Hat && Note == 6 && Powered) return 411;
- if (Instrument == Instrument::Hat && Note == 6 && !Powered) return 412;
- if (Instrument == Instrument::Hat && Note == 7 && Powered) return 413;
- if (Instrument == Instrument::Hat && Note == 7 && !Powered) return 414;
- if (Instrument == Instrument::Hat && Note == 8 && Powered) return 415;
- if (Instrument == Instrument::Hat && Note == 8 && !Powered) return 416;
- if (Instrument == Instrument::Hat && Note == 9 && Powered) return 417;
- if (Instrument == Instrument::Hat && Note == 9 && !Powered) return 418;
- if (Instrument == Instrument::Hat && Note == 10 && Powered) return 419;
- if (Instrument == Instrument::Hat && Note == 10 && !Powered) return 420;
- if (Instrument == Instrument::Hat && Note == 11 && Powered) return 421;
- if (Instrument == Instrument::Hat && Note == 11 && !Powered) return 422;
- if (Instrument == Instrument::Hat && Note == 12 && Powered) return 423;
- if (Instrument == Instrument::Hat && Note == 12 && !Powered) return 424;
- if (Instrument == Instrument::Hat && Note == 13 && Powered) return 425;
- if (Instrument == Instrument::Hat && Note == 13 && !Powered) return 426;
- if (Instrument == Instrument::Hat && Note == 14 && Powered) return 427;
- if (Instrument == Instrument::Hat && Note == 14 && !Powered) return 428;
- if (Instrument == Instrument::Hat && Note == 15 && Powered) return 429;
- if (Instrument == Instrument::Hat && Note == 15 && !Powered) return 430;
- if (Instrument == Instrument::Hat && Note == 16 && Powered) return 431;
- if (Instrument == Instrument::Hat && Note == 16 && !Powered) return 432;
- if (Instrument == Instrument::Hat && Note == 17 && Powered) return 433;
- if (Instrument == Instrument::Hat && Note == 17 && !Powered) return 434;
- if (Instrument == Instrument::Hat && Note == 18 && Powered) return 435;
- if (Instrument == Instrument::Hat && Note == 18 && !Powered) return 436;
- if (Instrument == Instrument::Hat && Note == 19 && Powered) return 437;
- if (Instrument == Instrument::Hat && Note == 19 && !Powered) return 438;
- if (Instrument == Instrument::Hat && Note == 20 && Powered) return 439;
- if (Instrument == Instrument::Hat && Note == 20 && !Powered) return 440;
- if (Instrument == Instrument::Hat && Note == 21 && Powered) return 441;
- if (Instrument == Instrument::Hat && Note == 21 && !Powered) return 442;
- if (Instrument == Instrument::Hat && Note == 22 && Powered) return 443;
- if (Instrument == Instrument::Hat && Note == 22 && !Powered) return 444;
- if (Instrument == Instrument::Hat && Note == 23 && Powered) return 445;
- if (Instrument == Instrument::Hat && Note == 23 && !Powered) return 446;
- if (Instrument == Instrument::Hat && Note == 24 && Powered) return 447;
- if (Instrument == Instrument::Hat && Note == 24 && !Powered) return 448;
- if (Instrument == Instrument::Bass && Note == 0 && Powered) return 449;
- if (Instrument == Instrument::Bass && Note == 0 && !Powered) return 450;
- if (Instrument == Instrument::Bass && Note == 1 && Powered) return 451;
- if (Instrument == Instrument::Bass && Note == 1 && !Powered) return 452;
- if (Instrument == Instrument::Bass && Note == 2 && Powered) return 453;
- if (Instrument == Instrument::Bass && Note == 2 && !Powered) return 454;
- if (Instrument == Instrument::Bass && Note == 3 && Powered) return 455;
- if (Instrument == Instrument::Bass && Note == 3 && !Powered) return 456;
- if (Instrument == Instrument::Bass && Note == 4 && Powered) return 457;
- if (Instrument == Instrument::Bass && Note == 4 && !Powered) return 458;
- if (Instrument == Instrument::Bass && Note == 5 && Powered) return 459;
- if (Instrument == Instrument::Bass && Note == 5 && !Powered) return 460;
- if (Instrument == Instrument::Bass && Note == 6 && Powered) return 461;
- if (Instrument == Instrument::Bass && Note == 6 && !Powered) return 462;
- if (Instrument == Instrument::Bass && Note == 7 && Powered) return 463;
- if (Instrument == Instrument::Bass && Note == 7 && !Powered) return 464;
- if (Instrument == Instrument::Bass && Note == 8 && Powered) return 465;
- if (Instrument == Instrument::Bass && Note == 8 && !Powered) return 466;
- if (Instrument == Instrument::Bass && Note == 9 && Powered) return 467;
- if (Instrument == Instrument::Bass && Note == 9 && !Powered) return 468;
- if (Instrument == Instrument::Bass && Note == 10 && Powered) return 469;
- if (Instrument == Instrument::Bass && Note == 10 && !Powered) return 470;
- if (Instrument == Instrument::Bass && Note == 11 && Powered) return 471;
- if (Instrument == Instrument::Bass && Note == 11 && !Powered) return 472;
- if (Instrument == Instrument::Bass && Note == 12 && Powered) return 473;
- if (Instrument == Instrument::Bass && Note == 12 && !Powered) return 474;
- if (Instrument == Instrument::Bass && Note == 13 && Powered) return 475;
- if (Instrument == Instrument::Bass && Note == 13 && !Powered) return 476;
- if (Instrument == Instrument::Bass && Note == 14 && Powered) return 477;
- if (Instrument == Instrument::Bass && Note == 14 && !Powered) return 478;
- if (Instrument == Instrument::Bass && Note == 15 && Powered) return 479;
- if (Instrument == Instrument::Bass && Note == 15 && !Powered) return 480;
- if (Instrument == Instrument::Bass && Note == 16 && Powered) return 481;
- if (Instrument == Instrument::Bass && Note == 16 && !Powered) return 482;
- if (Instrument == Instrument::Bass && Note == 17 && Powered) return 483;
- if (Instrument == Instrument::Bass && Note == 17 && !Powered) return 484;
- if (Instrument == Instrument::Bass && Note == 18 && Powered) return 485;
- if (Instrument == Instrument::Bass && Note == 18 && !Powered) return 486;
- if (Instrument == Instrument::Bass && Note == 19 && Powered) return 487;
- if (Instrument == Instrument::Bass && Note == 19 && !Powered) return 488;
- if (Instrument == Instrument::Bass && Note == 20 && Powered) return 489;
- if (Instrument == Instrument::Bass && Note == 20 && !Powered) return 490;
- if (Instrument == Instrument::Bass && Note == 21 && Powered) return 491;
- if (Instrument == Instrument::Bass && Note == 21 && !Powered) return 492;
- if (Instrument == Instrument::Bass && Note == 22 && Powered) return 493;
- if (Instrument == Instrument::Bass && Note == 22 && !Powered) return 494;
- if (Instrument == Instrument::Bass && Note == 23 && Powered) return 495;
- if (Instrument == Instrument::Bass && Note == 23 && !Powered) return 496;
- if (Instrument == Instrument::Bass && Note == 24 && Powered) return 497;
- if (Instrument == Instrument::Bass && Note == 24 && !Powered) return 498;
- if (Instrument == Instrument::Flute && Note == 0 && Powered) return 499;
- if (Instrument == Instrument::Flute && Note == 0 && !Powered) return 500;
- if (Instrument == Instrument::Flute && Note == 1 && Powered) return 501;
- if (Instrument == Instrument::Flute && Note == 1 && !Powered) return 502;
- if (Instrument == Instrument::Flute && Note == 2 && Powered) return 503;
- if (Instrument == Instrument::Flute && Note == 2 && !Powered) return 504;
- if (Instrument == Instrument::Flute && Note == 3 && Powered) return 505;
- if (Instrument == Instrument::Flute && Note == 3 && !Powered) return 506;
- if (Instrument == Instrument::Flute && Note == 4 && Powered) return 507;
- if (Instrument == Instrument::Flute && Note == 4 && !Powered) return 508;
- if (Instrument == Instrument::Flute && Note == 5 && Powered) return 509;
- if (Instrument == Instrument::Flute && Note == 5 && !Powered) return 510;
- if (Instrument == Instrument::Flute && Note == 6 && Powered) return 511;
- if (Instrument == Instrument::Flute && Note == 6 && !Powered) return 512;
- if (Instrument == Instrument::Flute && Note == 7 && Powered) return 513;
- if (Instrument == Instrument::Flute && Note == 7 && !Powered) return 514;
- if (Instrument == Instrument::Flute && Note == 8 && Powered) return 515;
- if (Instrument == Instrument::Flute && Note == 8 && !Powered) return 516;
- if (Instrument == Instrument::Flute && Note == 9 && Powered) return 517;
- if (Instrument == Instrument::Flute && Note == 9 && !Powered) return 518;
- if (Instrument == Instrument::Flute && Note == 10 && Powered) return 519;
- if (Instrument == Instrument::Flute && Note == 10 && !Powered) return 520;
- if (Instrument == Instrument::Flute && Note == 11 && Powered) return 521;
- if (Instrument == Instrument::Flute && Note == 11 && !Powered) return 522;
- if (Instrument == Instrument::Flute && Note == 12 && Powered) return 523;
- if (Instrument == Instrument::Flute && Note == 12 && !Powered) return 524;
- if (Instrument == Instrument::Flute && Note == 13 && Powered) return 525;
- if (Instrument == Instrument::Flute && Note == 13 && !Powered) return 526;
- if (Instrument == Instrument::Flute && Note == 14 && Powered) return 527;
- if (Instrument == Instrument::Flute && Note == 14 && !Powered) return 528;
- if (Instrument == Instrument::Flute && Note == 15 && Powered) return 529;
- if (Instrument == Instrument::Flute && Note == 15 && !Powered) return 530;
- if (Instrument == Instrument::Flute && Note == 16 && Powered) return 531;
- if (Instrument == Instrument::Flute && Note == 16 && !Powered) return 532;
- if (Instrument == Instrument::Flute && Note == 17 && Powered) return 533;
- if (Instrument == Instrument::Flute && Note == 17 && !Powered) return 534;
- if (Instrument == Instrument::Flute && Note == 18 && Powered) return 535;
- if (Instrument == Instrument::Flute && Note == 18 && !Powered) return 536;
- if (Instrument == Instrument::Flute && Note == 19 && Powered) return 537;
- if (Instrument == Instrument::Flute && Note == 19 && !Powered) return 538;
- if (Instrument == Instrument::Flute && Note == 20 && Powered) return 539;
- if (Instrument == Instrument::Flute && Note == 20 && !Powered) return 540;
- if (Instrument == Instrument::Flute && Note == 21 && Powered) return 541;
- if (Instrument == Instrument::Flute && Note == 21 && !Powered) return 542;
- if (Instrument == Instrument::Flute && Note == 22 && Powered) return 543;
- if (Instrument == Instrument::Flute && Note == 22 && !Powered) return 544;
- if (Instrument == Instrument::Flute && Note == 23 && Powered) return 545;
- if (Instrument == Instrument::Flute && Note == 23 && !Powered) return 546;
- if (Instrument == Instrument::Flute && Note == 24 && Powered) return 547;
- if (Instrument == Instrument::Flute && Note == 24 && !Powered) return 548;
- if (Instrument == Instrument::Bell && Note == 0 && Powered) return 549;
- if (Instrument == Instrument::Bell && Note == 0 && !Powered) return 550;
- if (Instrument == Instrument::Bell && Note == 1 && Powered) return 551;
- if (Instrument == Instrument::Bell && Note == 1 && !Powered) return 552;
- if (Instrument == Instrument::Bell && Note == 2 && Powered) return 553;
- if (Instrument == Instrument::Bell && Note == 2 && !Powered) return 554;
- if (Instrument == Instrument::Bell && Note == 3 && Powered) return 555;
- if (Instrument == Instrument::Bell && Note == 3 && !Powered) return 556;
- if (Instrument == Instrument::Bell && Note == 4 && Powered) return 557;
- if (Instrument == Instrument::Bell && Note == 4 && !Powered) return 558;
- if (Instrument == Instrument::Bell && Note == 5 && Powered) return 559;
- if (Instrument == Instrument::Bell && Note == 5 && !Powered) return 560;
- if (Instrument == Instrument::Bell && Note == 6 && Powered) return 561;
- if (Instrument == Instrument::Bell && Note == 6 && !Powered) return 562;
- if (Instrument == Instrument::Bell && Note == 7 && Powered) return 563;
- if (Instrument == Instrument::Bell && Note == 7 && !Powered) return 564;
- if (Instrument == Instrument::Bell && Note == 8 && Powered) return 565;
- if (Instrument == Instrument::Bell && Note == 8 && !Powered) return 566;
- if (Instrument == Instrument::Bell && Note == 9 && Powered) return 567;
- if (Instrument == Instrument::Bell && Note == 9 && !Powered) return 568;
- if (Instrument == Instrument::Bell && Note == 10 && Powered) return 569;
- if (Instrument == Instrument::Bell && Note == 10 && !Powered) return 570;
- if (Instrument == Instrument::Bell && Note == 11 && Powered) return 571;
- if (Instrument == Instrument::Bell && Note == 11 && !Powered) return 572;
- if (Instrument == Instrument::Bell && Note == 12 && Powered) return 573;
- if (Instrument == Instrument::Bell && Note == 12 && !Powered) return 574;
- if (Instrument == Instrument::Bell && Note == 13 && Powered) return 575;
- if (Instrument == Instrument::Bell && Note == 13 && !Powered) return 576;
- if (Instrument == Instrument::Bell && Note == 14 && Powered) return 577;
- if (Instrument == Instrument::Bell && Note == 14 && !Powered) return 578;
- if (Instrument == Instrument::Bell && Note == 15 && Powered) return 579;
- if (Instrument == Instrument::Bell && Note == 15 && !Powered) return 580;
- if (Instrument == Instrument::Bell && Note == 16 && Powered) return 581;
- if (Instrument == Instrument::Bell && Note == 16 && !Powered) return 582;
- if (Instrument == Instrument::Bell && Note == 17 && Powered) return 583;
- if (Instrument == Instrument::Bell && Note == 17 && !Powered) return 584;
- if (Instrument == Instrument::Bell && Note == 18 && Powered) return 585;
- if (Instrument == Instrument::Bell && Note == 18 && !Powered) return 586;
- if (Instrument == Instrument::Bell && Note == 19 && Powered) return 587;
- if (Instrument == Instrument::Bell && Note == 19 && !Powered) return 588;
- if (Instrument == Instrument::Bell && Note == 20 && Powered) return 589;
- if (Instrument == Instrument::Bell && Note == 20 && !Powered) return 590;
- if (Instrument == Instrument::Bell && Note == 21 && Powered) return 591;
- if (Instrument == Instrument::Bell && Note == 21 && !Powered) return 592;
- if (Instrument == Instrument::Bell && Note == 22 && Powered) return 593;
- if (Instrument == Instrument::Bell && Note == 22 && !Powered) return 594;
- if (Instrument == Instrument::Bell && Note == 23 && Powered) return 595;
- if (Instrument == Instrument::Bell && Note == 23 && !Powered) return 596;
- if (Instrument == Instrument::Bell && Note == 24 && Powered) return 597;
- if (Instrument == Instrument::Bell && Note == 24 && !Powered) return 598;
- if (Instrument == Instrument::Guitar && Note == 0 && Powered) return 599;
- if (Instrument == Instrument::Guitar && Note == 0 && !Powered) return 600;
- if (Instrument == Instrument::Guitar && Note == 1 && Powered) return 601;
- if (Instrument == Instrument::Guitar && Note == 1 && !Powered) return 602;
- if (Instrument == Instrument::Guitar && Note == 2 && Powered) return 603;
- if (Instrument == Instrument::Guitar && Note == 2 && !Powered) return 604;
- if (Instrument == Instrument::Guitar && Note == 3 && Powered) return 605;
- if (Instrument == Instrument::Guitar && Note == 3 && !Powered) return 606;
- if (Instrument == Instrument::Guitar && Note == 4 && Powered) return 607;
- if (Instrument == Instrument::Guitar && Note == 4 && !Powered) return 608;
- if (Instrument == Instrument::Guitar && Note == 5 && Powered) return 609;
- if (Instrument == Instrument::Guitar && Note == 5 && !Powered) return 610;
- if (Instrument == Instrument::Guitar && Note == 6 && Powered) return 611;
- if (Instrument == Instrument::Guitar && Note == 6 && !Powered) return 612;
- if (Instrument == Instrument::Guitar && Note == 7 && Powered) return 613;
- if (Instrument == Instrument::Guitar && Note == 7 && !Powered) return 614;
- if (Instrument == Instrument::Guitar && Note == 8 && Powered) return 615;
- if (Instrument == Instrument::Guitar && Note == 8 && !Powered) return 616;
- if (Instrument == Instrument::Guitar && Note == 9 && Powered) return 617;
- if (Instrument == Instrument::Guitar && Note == 9 && !Powered) return 618;
- if (Instrument == Instrument::Guitar && Note == 10 && Powered) return 619;
- if (Instrument == Instrument::Guitar && Note == 10 && !Powered) return 620;
- if (Instrument == Instrument::Guitar && Note == 11 && Powered) return 621;
- if (Instrument == Instrument::Guitar && Note == 11 && !Powered) return 622;
- if (Instrument == Instrument::Guitar && Note == 12 && Powered) return 623;
- if (Instrument == Instrument::Guitar && Note == 12 && !Powered) return 624;
- if (Instrument == Instrument::Guitar && Note == 13 && Powered) return 625;
- if (Instrument == Instrument::Guitar && Note == 13 && !Powered) return 626;
- if (Instrument == Instrument::Guitar && Note == 14 && Powered) return 627;
- if (Instrument == Instrument::Guitar && Note == 14 && !Powered) return 628;
- if (Instrument == Instrument::Guitar && Note == 15 && Powered) return 629;
- if (Instrument == Instrument::Guitar && Note == 15 && !Powered) return 630;
- if (Instrument == Instrument::Guitar && Note == 16 && Powered) return 631;
- if (Instrument == Instrument::Guitar && Note == 16 && !Powered) return 632;
- if (Instrument == Instrument::Guitar && Note == 17 && Powered) return 633;
- if (Instrument == Instrument::Guitar && Note == 17 && !Powered) return 634;
- if (Instrument == Instrument::Guitar && Note == 18 && Powered) return 635;
- if (Instrument == Instrument::Guitar && Note == 18 && !Powered) return 636;
- if (Instrument == Instrument::Guitar && Note == 19 && Powered) return 637;
- if (Instrument == Instrument::Guitar && Note == 19 && !Powered) return 638;
- if (Instrument == Instrument::Guitar && Note == 20 && Powered) return 639;
- if (Instrument == Instrument::Guitar && Note == 20 && !Powered) return 640;
- if (Instrument == Instrument::Guitar && Note == 21 && Powered) return 641;
- if (Instrument == Instrument::Guitar && Note == 21 && !Powered) return 642;
- if (Instrument == Instrument::Guitar && Note == 22 && Powered) return 643;
- if (Instrument == Instrument::Guitar && Note == 22 && !Powered) return 644;
- if (Instrument == Instrument::Guitar && Note == 23 && Powered) return 645;
- if (Instrument == Instrument::Guitar && Note == 23 && !Powered) return 646;
- if (Instrument == Instrument::Guitar && Note == 24 && Powered) return 647;
- if (Instrument == Instrument::Guitar && Note == 24 && !Powered) return 648;
- if (Instrument == Instrument::Chime && Note == 0 && Powered) return 649;
- if (Instrument == Instrument::Chime && Note == 0 && !Powered) return 650;
- if (Instrument == Instrument::Chime && Note == 1 && Powered) return 651;
- if (Instrument == Instrument::Chime && Note == 1 && !Powered) return 652;
- if (Instrument == Instrument::Chime && Note == 2 && Powered) return 653;
- if (Instrument == Instrument::Chime && Note == 2 && !Powered) return 654;
- if (Instrument == Instrument::Chime && Note == 3 && Powered) return 655;
- if (Instrument == Instrument::Chime && Note == 3 && !Powered) return 656;
- if (Instrument == Instrument::Chime && Note == 4 && Powered) return 657;
- if (Instrument == Instrument::Chime && Note == 4 && !Powered) return 658;
- if (Instrument == Instrument::Chime && Note == 5 && Powered) return 659;
- if (Instrument == Instrument::Chime && Note == 5 && !Powered) return 660;
- if (Instrument == Instrument::Chime && Note == 6 && Powered) return 661;
- if (Instrument == Instrument::Chime && Note == 6 && !Powered) return 662;
- if (Instrument == Instrument::Chime && Note == 7 && Powered) return 663;
- if (Instrument == Instrument::Chime && Note == 7 && !Powered) return 664;
- if (Instrument == Instrument::Chime && Note == 8 && Powered) return 665;
- if (Instrument == Instrument::Chime && Note == 8 && !Powered) return 666;
- if (Instrument == Instrument::Chime && Note == 9 && Powered) return 667;
- if (Instrument == Instrument::Chime && Note == 9 && !Powered) return 668;
- if (Instrument == Instrument::Chime && Note == 10 && Powered) return 669;
- if (Instrument == Instrument::Chime && Note == 10 && !Powered) return 670;
- if (Instrument == Instrument::Chime && Note == 11 && Powered) return 671;
- if (Instrument == Instrument::Chime && Note == 11 && !Powered) return 672;
- if (Instrument == Instrument::Chime && Note == 12 && Powered) return 673;
- if (Instrument == Instrument::Chime && Note == 12 && !Powered) return 674;
- if (Instrument == Instrument::Chime && Note == 13 && Powered) return 675;
- if (Instrument == Instrument::Chime && Note == 13 && !Powered) return 676;
- if (Instrument == Instrument::Chime && Note == 14 && Powered) return 677;
- if (Instrument == Instrument::Chime && Note == 14 && !Powered) return 678;
- if (Instrument == Instrument::Chime && Note == 15 && Powered) return 679;
- if (Instrument == Instrument::Chime && Note == 15 && !Powered) return 680;
- if (Instrument == Instrument::Chime && Note == 16 && Powered) return 681;
- if (Instrument == Instrument::Chime && Note == 16 && !Powered) return 682;
- if (Instrument == Instrument::Chime && Note == 17 && Powered) return 683;
- if (Instrument == Instrument::Chime && Note == 17 && !Powered) return 684;
- if (Instrument == Instrument::Chime && Note == 18 && Powered) return 685;
- if (Instrument == Instrument::Chime && Note == 18 && !Powered) return 686;
- if (Instrument == Instrument::Chime && Note == 19 && Powered) return 687;
- if (Instrument == Instrument::Chime && Note == 19 && !Powered) return 688;
- if (Instrument == Instrument::Chime && Note == 20 && Powered) return 689;
- if (Instrument == Instrument::Chime && Note == 20 && !Powered) return 690;
- if (Instrument == Instrument::Chime && Note == 21 && Powered) return 691;
- if (Instrument == Instrument::Chime && Note == 21 && !Powered) return 692;
- if (Instrument == Instrument::Chime && Note == 22 && Powered) return 693;
- if (Instrument == Instrument::Chime && Note == 22 && !Powered) return 694;
- if (Instrument == Instrument::Chime && Note == 23 && Powered) return 695;
- if (Instrument == Instrument::Chime && Note == 23 && !Powered) return 696;
- if (Instrument == Instrument::Chime && Note == 24 && Powered) return 697;
- if (Instrument == Instrument::Chime && Note == 24 && !Powered) return 698;
- if (Instrument == Instrument::Xylophone && Note == 0 && Powered) return 699;
- if (Instrument == Instrument::Xylophone && Note == 0 && !Powered) return 700;
- if (Instrument == Instrument::Xylophone && Note == 1 && Powered) return 701;
- if (Instrument == Instrument::Xylophone && Note == 1 && !Powered) return 702;
- if (Instrument == Instrument::Xylophone && Note == 2 && Powered) return 703;
- if (Instrument == Instrument::Xylophone && Note == 2 && !Powered) return 704;
- if (Instrument == Instrument::Xylophone && Note == 3 && Powered) return 705;
- if (Instrument == Instrument::Xylophone && Note == 3 && !Powered) return 706;
- if (Instrument == Instrument::Xylophone && Note == 4 && Powered) return 707;
- if (Instrument == Instrument::Xylophone && Note == 4 && !Powered) return 708;
- if (Instrument == Instrument::Xylophone && Note == 5 && Powered) return 709;
- if (Instrument == Instrument::Xylophone && Note == 5 && !Powered) return 710;
- if (Instrument == Instrument::Xylophone && Note == 6 && Powered) return 711;
- if (Instrument == Instrument::Xylophone && Note == 6 && !Powered) return 712;
- if (Instrument == Instrument::Xylophone && Note == 7 && Powered) return 713;
- if (Instrument == Instrument::Xylophone && Note == 7 && !Powered) return 714;
- if (Instrument == Instrument::Xylophone && Note == 8 && Powered) return 715;
- if (Instrument == Instrument::Xylophone && Note == 8 && !Powered) return 716;
- if (Instrument == Instrument::Xylophone && Note == 9 && Powered) return 717;
- if (Instrument == Instrument::Xylophone && Note == 9 && !Powered) return 718;
- if (Instrument == Instrument::Xylophone && Note == 10 && Powered) return 719;
- if (Instrument == Instrument::Xylophone && Note == 10 && !Powered) return 720;
- if (Instrument == Instrument::Xylophone && Note == 11 && Powered) return 721;
- if (Instrument == Instrument::Xylophone && Note == 11 && !Powered) return 722;
- if (Instrument == Instrument::Xylophone && Note == 12 && Powered) return 723;
- if (Instrument == Instrument::Xylophone && Note == 12 && !Powered) return 724;
- if (Instrument == Instrument::Xylophone && Note == 13 && Powered) return 725;
- if (Instrument == Instrument::Xylophone && Note == 13 && !Powered) return 726;
- if (Instrument == Instrument::Xylophone && Note == 14 && Powered) return 727;
- if (Instrument == Instrument::Xylophone && Note == 14 && !Powered) return 728;
- if (Instrument == Instrument::Xylophone && Note == 15 && Powered) return 729;
- if (Instrument == Instrument::Xylophone && Note == 15 && !Powered) return 730;
- if (Instrument == Instrument::Xylophone && Note == 16 && Powered) return 731;
- if (Instrument == Instrument::Xylophone && Note == 16 && !Powered) return 732;
- if (Instrument == Instrument::Xylophone && Note == 17 && Powered) return 733;
- if (Instrument == Instrument::Xylophone && Note == 17 && !Powered) return 734;
- if (Instrument == Instrument::Xylophone && Note == 18 && Powered) return 735;
- if (Instrument == Instrument::Xylophone && Note == 18 && !Powered) return 736;
- if (Instrument == Instrument::Xylophone && Note == 19 && Powered) return 737;
- if (Instrument == Instrument::Xylophone && Note == 19 && !Powered) return 738;
- if (Instrument == Instrument::Xylophone && Note == 20 && Powered) return 739;
- if (Instrument == Instrument::Xylophone && Note == 20 && !Powered) return 740;
- if (Instrument == Instrument::Xylophone && Note == 21 && Powered) return 741;
- if (Instrument == Instrument::Xylophone && Note == 21 && !Powered) return 742;
- if (Instrument == Instrument::Xylophone && Note == 22 && Powered) return 743;
- if (Instrument == Instrument::Xylophone && Note == 22 && !Powered) return 744;
- if (Instrument == Instrument::Xylophone && Note == 23 && Powered) return 745;
- if (Instrument == Instrument::Xylophone && Note == 23 && !Powered) return 746;
- if (Instrument == Instrument::Xylophone && Note == 24 && Powered) return 747;
- if (Instrument == Instrument::Xylophone && Note == 24 && !Powered) return 748;
- if (Instrument == Instrument::IronXylophone && Note == 0 && Powered) return 749;
- if (Instrument == Instrument::IronXylophone && Note == 0 && !Powered) return 750;
- if (Instrument == Instrument::IronXylophone && Note == 1 && Powered) return 751;
- if (Instrument == Instrument::IronXylophone && Note == 1 && !Powered) return 752;
- if (Instrument == Instrument::IronXylophone && Note == 2 && Powered) return 753;
- if (Instrument == Instrument::IronXylophone && Note == 2 && !Powered) return 754;
- if (Instrument == Instrument::IronXylophone && Note == 3 && Powered) return 755;
- if (Instrument == Instrument::IronXylophone && Note == 3 && !Powered) return 756;
- if (Instrument == Instrument::IronXylophone && Note == 4 && Powered) return 757;
- if (Instrument == Instrument::IronXylophone && Note == 4 && !Powered) return 758;
- if (Instrument == Instrument::IronXylophone && Note == 5 && Powered) return 759;
- if (Instrument == Instrument::IronXylophone && Note == 5 && !Powered) return 760;
- if (Instrument == Instrument::IronXylophone && Note == 6 && Powered) return 761;
- if (Instrument == Instrument::IronXylophone && Note == 6 && !Powered) return 762;
- if (Instrument == Instrument::IronXylophone && Note == 7 && Powered) return 763;
- if (Instrument == Instrument::IronXylophone && Note == 7 && !Powered) return 764;
- if (Instrument == Instrument::IronXylophone && Note == 8 && Powered) return 765;
- if (Instrument == Instrument::IronXylophone && Note == 8 && !Powered) return 766;
- if (Instrument == Instrument::IronXylophone && Note == 9 && Powered) return 767;
- if (Instrument == Instrument::IronXylophone && Note == 9 && !Powered) return 768;
- if (Instrument == Instrument::IronXylophone && Note == 10 && Powered) return 769;
- if (Instrument == Instrument::IronXylophone && Note == 10 && !Powered) return 770;
- if (Instrument == Instrument::IronXylophone && Note == 11 && Powered) return 771;
- if (Instrument == Instrument::IronXylophone && Note == 11 && !Powered) return 772;
- if (Instrument == Instrument::IronXylophone && Note == 12 && Powered) return 773;
- if (Instrument == Instrument::IronXylophone && Note == 12 && !Powered) return 774;
- if (Instrument == Instrument::IronXylophone && Note == 13 && Powered) return 775;
- if (Instrument == Instrument::IronXylophone && Note == 13 && !Powered) return 776;
- if (Instrument == Instrument::IronXylophone && Note == 14 && Powered) return 777;
- if (Instrument == Instrument::IronXylophone && Note == 14 && !Powered) return 778;
- if (Instrument == Instrument::IronXylophone && Note == 15 && Powered) return 779;
- if (Instrument == Instrument::IronXylophone && Note == 15 && !Powered) return 780;
- if (Instrument == Instrument::IronXylophone && Note == 16 && Powered) return 781;
- if (Instrument == Instrument::IronXylophone && Note == 16 && !Powered) return 782;
- if (Instrument == Instrument::IronXylophone && Note == 17 && Powered) return 783;
- if (Instrument == Instrument::IronXylophone && Note == 17 && !Powered) return 784;
- if (Instrument == Instrument::IronXylophone && Note == 18 && Powered) return 785;
- if (Instrument == Instrument::IronXylophone && Note == 18 && !Powered) return 786;
- if (Instrument == Instrument::IronXylophone && Note == 19 && Powered) return 787;
- if (Instrument == Instrument::IronXylophone && Note == 19 && !Powered) return 788;
- if (Instrument == Instrument::IronXylophone && Note == 20 && Powered) return 789;
- if (Instrument == Instrument::IronXylophone && Note == 20 && !Powered) return 790;
- if (Instrument == Instrument::IronXylophone && Note == 21 && Powered) return 791;
- if (Instrument == Instrument::IronXylophone && Note == 21 && !Powered) return 792;
- if (Instrument == Instrument::IronXylophone && Note == 22 && Powered) return 793;
- if (Instrument == Instrument::IronXylophone && Note == 22 && !Powered) return 794;
- if (Instrument == Instrument::IronXylophone && Note == 23 && Powered) return 795;
- if (Instrument == Instrument::IronXylophone && Note == 23 && !Powered) return 796;
- if (Instrument == Instrument::IronXylophone && Note == 24 && Powered) return 797;
- if (Instrument == Instrument::IronXylophone && Note == 24 && !Powered) return 798;
- if (Instrument == Instrument::CowBell && Note == 0 && Powered) return 799;
- if (Instrument == Instrument::CowBell && Note == 0 && !Powered) return 800;
- if (Instrument == Instrument::CowBell && Note == 1 && Powered) return 801;
- if (Instrument == Instrument::CowBell && Note == 1 && !Powered) return 802;
- if (Instrument == Instrument::CowBell && Note == 2 && Powered) return 803;
- if (Instrument == Instrument::CowBell && Note == 2 && !Powered) return 804;
- if (Instrument == Instrument::CowBell && Note == 3 && Powered) return 805;
- if (Instrument == Instrument::CowBell && Note == 3 && !Powered) return 806;
- if (Instrument == Instrument::CowBell && Note == 4 && Powered) return 807;
- if (Instrument == Instrument::CowBell && Note == 4 && !Powered) return 808;
- if (Instrument == Instrument::CowBell && Note == 5 && Powered) return 809;
- if (Instrument == Instrument::CowBell && Note == 5 && !Powered) return 810;
- if (Instrument == Instrument::CowBell && Note == 6 && Powered) return 811;
- if (Instrument == Instrument::CowBell && Note == 6 && !Powered) return 812;
- if (Instrument == Instrument::CowBell && Note == 7 && Powered) return 813;
- if (Instrument == Instrument::CowBell && Note == 7 && !Powered) return 814;
- if (Instrument == Instrument::CowBell && Note == 8 && Powered) return 815;
- if (Instrument == Instrument::CowBell && Note == 8 && !Powered) return 816;
- if (Instrument == Instrument::CowBell && Note == 9 && Powered) return 817;
- if (Instrument == Instrument::CowBell && Note == 9 && !Powered) return 818;
- if (Instrument == Instrument::CowBell && Note == 10 && Powered) return 819;
- if (Instrument == Instrument::CowBell && Note == 10 && !Powered) return 820;
- if (Instrument == Instrument::CowBell && Note == 11 && Powered) return 821;
- if (Instrument == Instrument::CowBell && Note == 11 && !Powered) return 822;
- if (Instrument == Instrument::CowBell && Note == 12 && Powered) return 823;
- if (Instrument == Instrument::CowBell && Note == 12 && !Powered) return 824;
- if (Instrument == Instrument::CowBell && Note == 13 && Powered) return 825;
- if (Instrument == Instrument::CowBell && Note == 13 && !Powered) return 826;
- if (Instrument == Instrument::CowBell && Note == 14 && Powered) return 827;
- if (Instrument == Instrument::CowBell && Note == 14 && !Powered) return 828;
- if (Instrument == Instrument::CowBell && Note == 15 && Powered) return 829;
- if (Instrument == Instrument::CowBell && Note == 15 && !Powered) return 830;
- if (Instrument == Instrument::CowBell && Note == 16 && Powered) return 831;
- if (Instrument == Instrument::CowBell && Note == 16 && !Powered) return 832;
- if (Instrument == Instrument::CowBell && Note == 17 && Powered) return 833;
- if (Instrument == Instrument::CowBell && Note == 17 && !Powered) return 834;
- if (Instrument == Instrument::CowBell && Note == 18 && Powered) return 835;
- if (Instrument == Instrument::CowBell && Note == 18 && !Powered) return 836;
- if (Instrument == Instrument::CowBell && Note == 19 && Powered) return 837;
- if (Instrument == Instrument::CowBell && Note == 19 && !Powered) return 838;
- if (Instrument == Instrument::CowBell && Note == 20 && Powered) return 839;
- if (Instrument == Instrument::CowBell && Note == 20 && !Powered) return 840;
- if (Instrument == Instrument::CowBell && Note == 21 && Powered) return 841;
- if (Instrument == Instrument::CowBell && Note == 21 && !Powered) return 842;
- if (Instrument == Instrument::CowBell && Note == 22 && Powered) return 843;
- if (Instrument == Instrument::CowBell && Note == 22 && !Powered) return 844;
- if (Instrument == Instrument::CowBell && Note == 23 && Powered) return 845;
- if (Instrument == Instrument::CowBell && Note == 23 && !Powered) return 846;
- if (Instrument == Instrument::CowBell && Note == 24 && Powered) return 847;
- if (Instrument == Instrument::CowBell && Note == 24 && !Powered) return 848;
- if (Instrument == Instrument::Didgeridoo && Note == 0 && Powered) return 849;
- if (Instrument == Instrument::Didgeridoo && Note == 0 && !Powered) return 850;
- if (Instrument == Instrument::Didgeridoo && Note == 1 && Powered) return 851;
- if (Instrument == Instrument::Didgeridoo && Note == 1 && !Powered) return 852;
- if (Instrument == Instrument::Didgeridoo && Note == 2 && Powered) return 853;
- if (Instrument == Instrument::Didgeridoo && Note == 2 && !Powered) return 854;
- if (Instrument == Instrument::Didgeridoo && Note == 3 && Powered) return 855;
- if (Instrument == Instrument::Didgeridoo && Note == 3 && !Powered) return 856;
- if (Instrument == Instrument::Didgeridoo && Note == 4 && Powered) return 857;
- if (Instrument == Instrument::Didgeridoo && Note == 4 && !Powered) return 858;
- if (Instrument == Instrument::Didgeridoo && Note == 5 && Powered) return 859;
- if (Instrument == Instrument::Didgeridoo && Note == 5 && !Powered) return 860;
- if (Instrument == Instrument::Didgeridoo && Note == 6 && Powered) return 861;
- if (Instrument == Instrument::Didgeridoo && Note == 6 && !Powered) return 862;
- if (Instrument == Instrument::Didgeridoo && Note == 7 && Powered) return 863;
- if (Instrument == Instrument::Didgeridoo && Note == 7 && !Powered) return 864;
- if (Instrument == Instrument::Didgeridoo && Note == 8 && Powered) return 865;
- if (Instrument == Instrument::Didgeridoo && Note == 8 && !Powered) return 866;
- if (Instrument == Instrument::Didgeridoo && Note == 9 && Powered) return 867;
- if (Instrument == Instrument::Didgeridoo && Note == 9 && !Powered) return 868;
- if (Instrument == Instrument::Didgeridoo && Note == 10 && Powered) return 869;
- if (Instrument == Instrument::Didgeridoo && Note == 10 && !Powered) return 870;
- if (Instrument == Instrument::Didgeridoo && Note == 11 && Powered) return 871;
- if (Instrument == Instrument::Didgeridoo && Note == 11 && !Powered) return 872;
- if (Instrument == Instrument::Didgeridoo && Note == 12 && Powered) return 873;
- if (Instrument == Instrument::Didgeridoo && Note == 12 && !Powered) return 874;
- if (Instrument == Instrument::Didgeridoo && Note == 13 && Powered) return 875;
- if (Instrument == Instrument::Didgeridoo && Note == 13 && !Powered) return 876;
- if (Instrument == Instrument::Didgeridoo && Note == 14 && Powered) return 877;
- if (Instrument == Instrument::Didgeridoo && Note == 14 && !Powered) return 878;
- if (Instrument == Instrument::Didgeridoo && Note == 15 && Powered) return 879;
- if (Instrument == Instrument::Didgeridoo && Note == 15 && !Powered) return 880;
- if (Instrument == Instrument::Didgeridoo && Note == 16 && Powered) return 881;
- if (Instrument == Instrument::Didgeridoo && Note == 16 && !Powered) return 882;
- if (Instrument == Instrument::Didgeridoo && Note == 17 && Powered) return 883;
- if (Instrument == Instrument::Didgeridoo && Note == 17 && !Powered) return 884;
- if (Instrument == Instrument::Didgeridoo && Note == 18 && Powered) return 885;
- if (Instrument == Instrument::Didgeridoo && Note == 18 && !Powered) return 886;
- if (Instrument == Instrument::Didgeridoo && Note == 19 && Powered) return 887;
- if (Instrument == Instrument::Didgeridoo && Note == 19 && !Powered) return 888;
- if (Instrument == Instrument::Didgeridoo && Note == 20 && Powered) return 889;
- if (Instrument == Instrument::Didgeridoo && Note == 20 && !Powered) return 890;
- if (Instrument == Instrument::Didgeridoo && Note == 21 && Powered) return 891;
- if (Instrument == Instrument::Didgeridoo && Note == 21 && !Powered) return 892;
- if (Instrument == Instrument::Didgeridoo && Note == 22 && Powered) return 893;
- if (Instrument == Instrument::Didgeridoo && Note == 22 && !Powered) return 894;
- if (Instrument == Instrument::Didgeridoo && Note == 23 && Powered) return 895;
- if (Instrument == Instrument::Didgeridoo && Note == 23 && !Powered) return 896;
- if (Instrument == Instrument::Didgeridoo && Note == 24 && Powered) return 897;
- if (Instrument == Instrument::Didgeridoo && Note == 24 && !Powered) return 898;
- if (Instrument == Instrument::Bit && Note == 0 && Powered) return 899;
- if (Instrument == Instrument::Bit && Note == 0 && !Powered) return 900;
- if (Instrument == Instrument::Bit && Note == 1 && Powered) return 901;
- if (Instrument == Instrument::Bit && Note == 1 && !Powered) return 902;
- if (Instrument == Instrument::Bit && Note == 2 && Powered) return 903;
- if (Instrument == Instrument::Bit && Note == 2 && !Powered) return 904;
- if (Instrument == Instrument::Bit && Note == 3 && Powered) return 905;
- if (Instrument == Instrument::Bit && Note == 3 && !Powered) return 906;
- if (Instrument == Instrument::Bit && Note == 4 && Powered) return 907;
- if (Instrument == Instrument::Bit && Note == 4 && !Powered) return 908;
- if (Instrument == Instrument::Bit && Note == 5 && Powered) return 909;
- if (Instrument == Instrument::Bit && Note == 5 && !Powered) return 910;
- if (Instrument == Instrument::Bit && Note == 6 && Powered) return 911;
- if (Instrument == Instrument::Bit && Note == 6 && !Powered) return 912;
- if (Instrument == Instrument::Bit && Note == 7 && Powered) return 913;
- if (Instrument == Instrument::Bit && Note == 7 && !Powered) return 914;
- if (Instrument == Instrument::Bit && Note == 8 && Powered) return 915;
- if (Instrument == Instrument::Bit && Note == 8 && !Powered) return 916;
- if (Instrument == Instrument::Bit && Note == 9 && Powered) return 917;
- if (Instrument == Instrument::Bit && Note == 9 && !Powered) return 918;
- if (Instrument == Instrument::Bit && Note == 10 && Powered) return 919;
- if (Instrument == Instrument::Bit && Note == 10 && !Powered) return 920;
- if (Instrument == Instrument::Bit && Note == 11 && Powered) return 921;
- if (Instrument == Instrument::Bit && Note == 11 && !Powered) return 922;
- if (Instrument == Instrument::Bit && Note == 12 && Powered) return 923;
- if (Instrument == Instrument::Bit && Note == 12 && !Powered) return 924;
- if (Instrument == Instrument::Bit && Note == 13 && Powered) return 925;
- if (Instrument == Instrument::Bit && Note == 13 && !Powered) return 926;
- if (Instrument == Instrument::Bit && Note == 14 && Powered) return 927;
- if (Instrument == Instrument::Bit && Note == 14 && !Powered) return 928;
- if (Instrument == Instrument::Bit && Note == 15 && Powered) return 929;
- if (Instrument == Instrument::Bit && Note == 15 && !Powered) return 930;
- if (Instrument == Instrument::Bit && Note == 16 && Powered) return 931;
- if (Instrument == Instrument::Bit && Note == 16 && !Powered) return 932;
- if (Instrument == Instrument::Bit && Note == 17 && Powered) return 933;
- if (Instrument == Instrument::Bit && Note == 17 && !Powered) return 934;
- if (Instrument == Instrument::Bit && Note == 18 && Powered) return 935;
- if (Instrument == Instrument::Bit && Note == 18 && !Powered) return 936;
- if (Instrument == Instrument::Bit && Note == 19 && Powered) return 937;
- if (Instrument == Instrument::Bit && Note == 19 && !Powered) return 938;
- if (Instrument == Instrument::Bit && Note == 20 && Powered) return 939;
- if (Instrument == Instrument::Bit && Note == 20 && !Powered) return 940;
- if (Instrument == Instrument::Bit && Note == 21 && Powered) return 941;
- if (Instrument == Instrument::Bit && Note == 21 && !Powered) return 942;
- if (Instrument == Instrument::Bit && Note == 22 && Powered) return 943;
- if (Instrument == Instrument::Bit && Note == 22 && !Powered) return 944;
- if (Instrument == Instrument::Bit && Note == 23 && Powered) return 945;
- if (Instrument == Instrument::Bit && Note == 23 && !Powered) return 946;
- if (Instrument == Instrument::Bit && Note == 24 && Powered) return 947;
- if (Instrument == Instrument::Bit && Note == 24 && !Powered) return 948;
- if (Instrument == Instrument::Banjo && Note == 0 && Powered) return 949;
- if (Instrument == Instrument::Banjo && Note == 0 && !Powered) return 950;
- if (Instrument == Instrument::Banjo && Note == 1 && Powered) return 951;
- if (Instrument == Instrument::Banjo && Note == 1 && !Powered) return 952;
- if (Instrument == Instrument::Banjo && Note == 2 && Powered) return 953;
- if (Instrument == Instrument::Banjo && Note == 2 && !Powered) return 954;
- if (Instrument == Instrument::Banjo && Note == 3 && Powered) return 955;
- if (Instrument == Instrument::Banjo && Note == 3 && !Powered) return 956;
- if (Instrument == Instrument::Banjo && Note == 4 && Powered) return 957;
- if (Instrument == Instrument::Banjo && Note == 4 && !Powered) return 958;
- if (Instrument == Instrument::Banjo && Note == 5 && Powered) return 959;
- if (Instrument == Instrument::Banjo && Note == 5 && !Powered) return 960;
- if (Instrument == Instrument::Banjo && Note == 6 && Powered) return 961;
- if (Instrument == Instrument::Banjo && Note == 6 && !Powered) return 962;
- if (Instrument == Instrument::Banjo && Note == 7 && Powered) return 963;
- if (Instrument == Instrument::Banjo && Note == 7 && !Powered) return 964;
- if (Instrument == Instrument::Banjo && Note == 8 && Powered) return 965;
- if (Instrument == Instrument::Banjo && Note == 8 && !Powered) return 966;
- if (Instrument == Instrument::Banjo && Note == 9 && Powered) return 967;
- if (Instrument == Instrument::Banjo && Note == 9 && !Powered) return 968;
- if (Instrument == Instrument::Banjo && Note == 10 && Powered) return 969;
- if (Instrument == Instrument::Banjo && Note == 10 && !Powered) return 970;
- if (Instrument == Instrument::Banjo && Note == 11 && Powered) return 971;
- if (Instrument == Instrument::Banjo && Note == 11 && !Powered) return 972;
- if (Instrument == Instrument::Banjo && Note == 12 && Powered) return 973;
- if (Instrument == Instrument::Banjo && Note == 12 && !Powered) return 974;
- if (Instrument == Instrument::Banjo && Note == 13 && Powered) return 975;
- if (Instrument == Instrument::Banjo && Note == 13 && !Powered) return 976;
- if (Instrument == Instrument::Banjo && Note == 14 && Powered) return 977;
- if (Instrument == Instrument::Banjo && Note == 14 && !Powered) return 978;
- if (Instrument == Instrument::Banjo && Note == 15 && Powered) return 979;
- if (Instrument == Instrument::Banjo && Note == 15 && !Powered) return 980;
- if (Instrument == Instrument::Banjo && Note == 16 && Powered) return 981;
- if (Instrument == Instrument::Banjo && Note == 16 && !Powered) return 982;
- if (Instrument == Instrument::Banjo && Note == 17 && Powered) return 983;
- if (Instrument == Instrument::Banjo && Note == 17 && !Powered) return 984;
- if (Instrument == Instrument::Banjo && Note == 18 && Powered) return 985;
- if (Instrument == Instrument::Banjo && Note == 18 && !Powered) return 986;
- if (Instrument == Instrument::Banjo && Note == 19 && Powered) return 987;
- if (Instrument == Instrument::Banjo && Note == 19 && !Powered) return 988;
- if (Instrument == Instrument::Banjo && Note == 20 && Powered) return 989;
- if (Instrument == Instrument::Banjo && Note == 20 && !Powered) return 990;
- if (Instrument == Instrument::Banjo && Note == 21 && Powered) return 991;
- if (Instrument == Instrument::Banjo && Note == 21 && !Powered) return 992;
- if (Instrument == Instrument::Banjo && Note == 22 && Powered) return 993;
- if (Instrument == Instrument::Banjo && Note == 22 && !Powered) return 994;
- if (Instrument == Instrument::Banjo && Note == 23 && Powered) return 995;
- if (Instrument == Instrument::Banjo && Note == 23 && !Powered) return 996;
- if (Instrument == Instrument::Banjo && Note == 24 && Powered) return 997;
- if (Instrument == Instrument::Banjo && Note == 24 && !Powered) return 998;
- if (Instrument == Instrument::Pling && Note == 0 && Powered) return 999;
- if (Instrument == Instrument::Pling && Note == 0 && !Powered) return 1000;
- if (Instrument == Instrument::Pling && Note == 1 && Powered) return 1001;
- if (Instrument == Instrument::Pling && Note == 1 && !Powered) return 1002;
- if (Instrument == Instrument::Pling && Note == 2 && Powered) return 1003;
- if (Instrument == Instrument::Pling && Note == 2 && !Powered) return 1004;
- if (Instrument == Instrument::Pling && Note == 3 && Powered) return 1005;
- if (Instrument == Instrument::Pling && Note == 3 && !Powered) return 1006;
- if (Instrument == Instrument::Pling && Note == 4 && Powered) return 1007;
- if (Instrument == Instrument::Pling && Note == 4 && !Powered) return 1008;
- if (Instrument == Instrument::Pling && Note == 5 && Powered) return 1009;
- if (Instrument == Instrument::Pling && Note == 5 && !Powered) return 1010;
- if (Instrument == Instrument::Pling && Note == 6 && Powered) return 1011;
- if (Instrument == Instrument::Pling && Note == 6 && !Powered) return 1012;
- if (Instrument == Instrument::Pling && Note == 7 && Powered) return 1013;
- if (Instrument == Instrument::Pling && Note == 7 && !Powered) return 1014;
- if (Instrument == Instrument::Pling && Note == 8 && Powered) return 1015;
- if (Instrument == Instrument::Pling && Note == 8 && !Powered) return 1016;
- if (Instrument == Instrument::Pling && Note == 9 && Powered) return 1017;
- if (Instrument == Instrument::Pling && Note == 9 && !Powered) return 1018;
- if (Instrument == Instrument::Pling && Note == 10 && Powered) return 1019;
- if (Instrument == Instrument::Pling && Note == 10 && !Powered) return 1020;
- if (Instrument == Instrument::Pling && Note == 11 && Powered) return 1021;
- if (Instrument == Instrument::Pling && Note == 11 && !Powered) return 1022;
- if (Instrument == Instrument::Pling && Note == 12 && Powered) return 1023;
- if (Instrument == Instrument::Pling && Note == 12 && !Powered) return 1024;
- if (Instrument == Instrument::Pling && Note == 13 && Powered) return 1025;
- if (Instrument == Instrument::Pling && Note == 13 && !Powered) return 1026;
- if (Instrument == Instrument::Pling && Note == 14 && Powered) return 1027;
- if (Instrument == Instrument::Pling && Note == 14 && !Powered) return 1028;
- if (Instrument == Instrument::Pling && Note == 15 && Powered) return 1029;
- if (Instrument == Instrument::Pling && Note == 15 && !Powered) return 1030;
- if (Instrument == Instrument::Pling && Note == 16 && Powered) return 1031;
- if (Instrument == Instrument::Pling && Note == 16 && !Powered) return 1032;
- if (Instrument == Instrument::Pling && Note == 17 && Powered) return 1033;
- if (Instrument == Instrument::Pling && Note == 17 && !Powered) return 1034;
- if (Instrument == Instrument::Pling && Note == 18 && Powered) return 1035;
- if (Instrument == Instrument::Pling && Note == 18 && !Powered) return 1036;
- if (Instrument == Instrument::Pling && Note == 19 && Powered) return 1037;
- if (Instrument == Instrument::Pling && Note == 19 && !Powered) return 1038;
- if (Instrument == Instrument::Pling && Note == 20 && Powered) return 1039;
- if (Instrument == Instrument::Pling && Note == 20 && !Powered) return 1040;
- if (Instrument == Instrument::Pling && Note == 21 && Powered) return 1041;
- if (Instrument == Instrument::Pling && Note == 21 && !Powered) return 1042;
- if (Instrument == Instrument::Pling && Note == 22 && Powered) return 1043;
- if (Instrument == Instrument::Pling && Note == 22 && !Powered) return 1044;
- if (Instrument == Instrument::Pling && Note == 23 && Powered) return 1045;
- if (Instrument == Instrument::Pling && Note == 23 && !Powered) return 1046;
- if (Instrument == Instrument::Pling && Note == 24 && Powered) return 1047;
- return 1048;
- }
- short NoteBlock();
- enum Instrument Instrument(short ID);
- unsigned char Note(short ID);
- bool Powered(short ID);
- }
- namespace OakButton
- {
- enum class Face
- {
- Floor,
- Wall,
- Ceiling
- };
- constexpr short OakButton(enum Face Face, eBlockFace Facing, bool Powered)
- {
- if (Face == Face::Floor && Facing == eBlockFace::BLOCK_FACE_ZM && Powered) return 6346;
- if (Face == Face::Floor && Facing == eBlockFace::BLOCK_FACE_ZM && !Powered) return 6347;
- if (Face == Face::Floor && Facing == eBlockFace::BLOCK_FACE_ZP && Powered) return 6348;
- if (Face == Face::Floor && Facing == eBlockFace::BLOCK_FACE_ZP && !Powered) return 6349;
- if (Face == Face::Floor && Facing == eBlockFace::BLOCK_FACE_XM && Powered) return 6350;
- if (Face == Face::Floor && Facing == eBlockFace::BLOCK_FACE_XM && !Powered) return 6351;
- if (Face == Face::Floor && Facing == eBlockFace::BLOCK_FACE_XP && Powered) return 6352;
- if (Face == Face::Floor && Facing == eBlockFace::BLOCK_FACE_XP && !Powered) return 6353;
- if (Face == Face::Wall && Facing == eBlockFace::BLOCK_FACE_ZM && Powered) return 6354;
- if (Face == Face::Wall && Facing == eBlockFace::BLOCK_FACE_ZM && !Powered) return 6355;
- if (Face == Face::Wall && Facing == eBlockFace::BLOCK_FACE_ZP && Powered) return 6356;
- if (Face == Face::Wall && Facing == eBlockFace::BLOCK_FACE_ZP && !Powered) return 6357;
- if (Face == Face::Wall && Facing == eBlockFace::BLOCK_FACE_XM && Powered) return 6358;
- if (Face == Face::Wall && Facing == eBlockFace::BLOCK_FACE_XM && !Powered) return 6359;
- if (Face == Face::Wall && Facing == eBlockFace::BLOCK_FACE_XP && Powered) return 6360;
- if (Face == Face::Wall && Facing == eBlockFace::BLOCK_FACE_XP && !Powered) return 6361;
- if (Face == Face::Ceiling && Facing == eBlockFace::BLOCK_FACE_ZM && Powered) return 6362;
- if (Face == Face::Ceiling && Facing == eBlockFace::BLOCK_FACE_ZM && !Powered) return 6363;
- if (Face == Face::Ceiling && Facing == eBlockFace::BLOCK_FACE_ZP && Powered) return 6364;
- if (Face == Face::Ceiling && Facing == eBlockFace::BLOCK_FACE_ZP && !Powered) return 6365;
- if (Face == Face::Ceiling && Facing == eBlockFace::BLOCK_FACE_XM && Powered) return 6366;
- if (Face == Face::Ceiling && Facing == eBlockFace::BLOCK_FACE_XM && !Powered) return 6367;
- if (Face == Face::Ceiling && Facing == eBlockFace::BLOCK_FACE_XP && Powered) return 6368;
- return 6369;
- }
- short OakButton();
- enum Face Face(short ID);
- eBlockFace Facing(short ID);
- bool Powered(short ID);
- }
- namespace OakDoor
- {
- enum class Half
- {
- Upper,
- Lower
- };
- enum class Hinge
- {
- Left,
- Right
- };
- constexpr short OakDoor(eBlockFace Facing, enum Half Half, enum Hinge Hinge, bool Open, bool Powered)
- {
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Upper && Hinge == Hinge::Left && Open && Powered) return 3573;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Upper && Hinge == Hinge::Left && Open && !Powered) return 3574;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Upper && Hinge == Hinge::Left && !Open && Powered) return 3575;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Upper && Hinge == Hinge::Left && !Open && !Powered) return 3576;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Upper && Hinge == Hinge::Right && Open && Powered) return 3577;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Upper && Hinge == Hinge::Right && Open && !Powered) return 3578;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Upper && Hinge == Hinge::Right && !Open && Powered) return 3579;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Upper && Hinge == Hinge::Right && !Open && !Powered) return 3580;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Lower && Hinge == Hinge::Left && Open && Powered) return 3581;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Lower && Hinge == Hinge::Left && Open && !Powered) return 3582;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Lower && Hinge == Hinge::Left && !Open && Powered) return 3583;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Lower && Hinge == Hinge::Left && !Open && !Powered) return 3584;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Lower && Hinge == Hinge::Right && Open && Powered) return 3585;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Lower && Hinge == Hinge::Right && Open && !Powered) return 3586;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Lower && Hinge == Hinge::Right && !Open && Powered) return 3587;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Lower && Hinge == Hinge::Right && !Open && !Powered) return 3588;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Upper && Hinge == Hinge::Left && Open && Powered) return 3589;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Upper && Hinge == Hinge::Left && Open && !Powered) return 3590;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Upper && Hinge == Hinge::Left && !Open && Powered) return 3591;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Upper && Hinge == Hinge::Left && !Open && !Powered) return 3592;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Upper && Hinge == Hinge::Right && Open && Powered) return 3593;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Upper && Hinge == Hinge::Right && Open && !Powered) return 3594;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Upper && Hinge == Hinge::Right && !Open && Powered) return 3595;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Upper && Hinge == Hinge::Right && !Open && !Powered) return 3596;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Lower && Hinge == Hinge::Left && Open && Powered) return 3597;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Lower && Hinge == Hinge::Left && Open && !Powered) return 3598;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Lower && Hinge == Hinge::Left && !Open && Powered) return 3599;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Lower && Hinge == Hinge::Left && !Open && !Powered) return 3600;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Lower && Hinge == Hinge::Right && Open && Powered) return 3601;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Lower && Hinge == Hinge::Right && Open && !Powered) return 3602;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Lower && Hinge == Hinge::Right && !Open && Powered) return 3603;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Lower && Hinge == Hinge::Right && !Open && !Powered) return 3604;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Upper && Hinge == Hinge::Left && Open && Powered) return 3605;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Upper && Hinge == Hinge::Left && Open && !Powered) return 3606;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Upper && Hinge == Hinge::Left && !Open && Powered) return 3607;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Upper && Hinge == Hinge::Left && !Open && !Powered) return 3608;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Upper && Hinge == Hinge::Right && Open && Powered) return 3609;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Upper && Hinge == Hinge::Right && Open && !Powered) return 3610;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Upper && Hinge == Hinge::Right && !Open && Powered) return 3611;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Upper && Hinge == Hinge::Right && !Open && !Powered) return 3612;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Lower && Hinge == Hinge::Left && Open && Powered) return 3613;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Lower && Hinge == Hinge::Left && Open && !Powered) return 3614;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Lower && Hinge == Hinge::Left && !Open && Powered) return 3615;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Lower && Hinge == Hinge::Left && !Open && !Powered) return 3616;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Lower && Hinge == Hinge::Right && Open && Powered) return 3617;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Lower && Hinge == Hinge::Right && Open && !Powered) return 3618;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Lower && Hinge == Hinge::Right && !Open && Powered) return 3619;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Lower && Hinge == Hinge::Right && !Open && !Powered) return 3620;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Upper && Hinge == Hinge::Left && Open && Powered) return 3621;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Upper && Hinge == Hinge::Left && Open && !Powered) return 3622;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Upper && Hinge == Hinge::Left && !Open && Powered) return 3623;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Upper && Hinge == Hinge::Left && !Open && !Powered) return 3624;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Upper && Hinge == Hinge::Right && Open && Powered) return 3625;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Upper && Hinge == Hinge::Right && Open && !Powered) return 3626;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Upper && Hinge == Hinge::Right && !Open && Powered) return 3627;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Upper && Hinge == Hinge::Right && !Open && !Powered) return 3628;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Lower && Hinge == Hinge::Left && Open && Powered) return 3629;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Lower && Hinge == Hinge::Left && Open && !Powered) return 3630;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Lower && Hinge == Hinge::Left && !Open && Powered) return 3631;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Lower && Hinge == Hinge::Left && !Open && !Powered) return 3632;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Lower && Hinge == Hinge::Right && Open && Powered) return 3633;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Lower && Hinge == Hinge::Right && Open && !Powered) return 3634;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Lower && Hinge == Hinge::Right && !Open && Powered) return 3635;
- return 3636;
- }
- short OakDoor();
- eBlockFace Facing(short ID);
- enum Half Half(short ID);
- enum Hinge Hinge(short ID);
- bool Open(short ID);
- bool Powered(short ID);
- }
- namespace OakFence
- {
- constexpr short OakFence(bool East, bool North, bool South, bool West)
- {
- if (East && North && South && West) return 3968;
- if (East && North && South && !West) return 3969;
- if (East && North && !South && West) return 3972;
- if (East && North && !South && !West) return 3973;
- if (East && !North && South && West) return 3976;
- if (East && !North && South && !West) return 3977;
- if (East && !North && !South && West) return 3980;
- if (East && !North && !South && !West) return 3981;
- if (!East && North && South && West) return 3984;
- if (!East && North && South && !West) return 3985;
- if (!East && North && !South && West) return 3988;
- if (!East && North && !South && !West) return 3989;
- if (!East && !North && South && West) return 3992;
- if (!East && !North && South && !West) return 3993;
- if (!East && !North && !South && West) return 3996;
- return 3997;
- }
- short OakFence();
- bool East(short ID);
- bool North(short ID);
- bool South(short ID);
- bool West(short ID);
- }
- namespace OakFenceGate
- {
- constexpr short OakFenceGate(eBlockFace Facing, bool InWall, bool Open, bool Powered)
- {
- if (Facing == eBlockFace::BLOCK_FACE_ZM && InWall && Open && Powered) return 4820;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && InWall && Open && !Powered) return 4821;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && InWall && !Open && Powered) return 4822;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && InWall && !Open && !Powered) return 4823;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && !InWall && Open && Powered) return 4824;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && !InWall && Open && !Powered) return 4825;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && !InWall && !Open && Powered) return 4826;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && !InWall && !Open && !Powered) return 4827;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && InWall && Open && Powered) return 4828;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && InWall && Open && !Powered) return 4829;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && InWall && !Open && Powered) return 4830;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && InWall && !Open && !Powered) return 4831;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && !InWall && Open && Powered) return 4832;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && !InWall && Open && !Powered) return 4833;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && !InWall && !Open && Powered) return 4834;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && !InWall && !Open && !Powered) return 4835;
- if (Facing == eBlockFace::BLOCK_FACE_XM && InWall && Open && Powered) return 4836;
- if (Facing == eBlockFace::BLOCK_FACE_XM && InWall && Open && !Powered) return 4837;
- if (Facing == eBlockFace::BLOCK_FACE_XM && InWall && !Open && Powered) return 4838;
- if (Facing == eBlockFace::BLOCK_FACE_XM && InWall && !Open && !Powered) return 4839;
- if (Facing == eBlockFace::BLOCK_FACE_XM && !InWall && Open && Powered) return 4840;
- if (Facing == eBlockFace::BLOCK_FACE_XM && !InWall && Open && !Powered) return 4841;
- if (Facing == eBlockFace::BLOCK_FACE_XM && !InWall && !Open && Powered) return 4842;
- if (Facing == eBlockFace::BLOCK_FACE_XM && !InWall && !Open && !Powered) return 4843;
- if (Facing == eBlockFace::BLOCK_FACE_XP && InWall && Open && Powered) return 4844;
- if (Facing == eBlockFace::BLOCK_FACE_XP && InWall && Open && !Powered) return 4845;
- if (Facing == eBlockFace::BLOCK_FACE_XP && InWall && !Open && Powered) return 4846;
- if (Facing == eBlockFace::BLOCK_FACE_XP && InWall && !Open && !Powered) return 4847;
- if (Facing == eBlockFace::BLOCK_FACE_XP && !InWall && Open && Powered) return 4848;
- if (Facing == eBlockFace::BLOCK_FACE_XP && !InWall && Open && !Powered) return 4849;
- if (Facing == eBlockFace::BLOCK_FACE_XP && !InWall && !Open && Powered) return 4850;
- return 4851;
- }
- short OakFenceGate();
- eBlockFace Facing(short ID);
- bool InWall(short ID);
- bool Open(short ID);
- bool Powered(short ID);
- }
- namespace OakLeaves
- {
- constexpr short OakLeaves(unsigned char Distance, bool Persistent)
- {
- if (Distance == 1 && Persistent) return 145;
- if (Distance == 1 && !Persistent) return 146;
- if (Distance == 2 && Persistent) return 147;
- if (Distance == 2 && !Persistent) return 148;
- if (Distance == 3 && Persistent) return 149;
- if (Distance == 3 && !Persistent) return 150;
- if (Distance == 4 && Persistent) return 151;
- if (Distance == 4 && !Persistent) return 152;
- if (Distance == 5 && Persistent) return 153;
- if (Distance == 5 && !Persistent) return 154;
- if (Distance == 6 && Persistent) return 155;
- if (Distance == 6 && !Persistent) return 156;
- if (Distance == 7 && Persistent) return 157;
- return 158;
- }
- short OakLeaves();
- unsigned char Distance(short ID);
- bool Persistent(short ID);
- }
- namespace OakLog
- {
- enum class Axis
- {
- X,
- Y,
- Z
- };
- constexpr short OakLog(enum Axis Axis)
- {
- if (Axis == Axis::X) return 73;
- if (Axis == Axis::Y) return 74;
- return 75;
- }
- short OakLog();
- enum Axis Axis(short ID);
- }
- namespace OakPlanks
- {
- constexpr short OakPlanks()
- {
- return 15;
- }
- }
- namespace OakPressurePlate
- {
- constexpr short OakPressurePlate(bool Powered)
- {
- if (Powered) return 3873;
- return 3874;
- }
- short OakPressurePlate();
- bool Powered(short ID);
- }
- namespace OakSapling
- {
- constexpr short OakSapling(unsigned char Stage)
- {
- if (Stage == 0) return 21;
- return 22;
- }
- short OakSapling();
- unsigned char Stage(short ID);
- }
- namespace OakSign
- {
- constexpr short OakSign(unsigned char Rotation)
- {
- if (Rotation == 0) return 3382;
- if (Rotation == 1) return 3384;
- if (Rotation == 2) return 3386;
- if (Rotation == 3) return 3388;
- if (Rotation == 4) return 3390;
- if (Rotation == 5) return 3392;
- if (Rotation == 6) return 3394;
- if (Rotation == 7) return 3396;
- if (Rotation == 8) return 3398;
- if (Rotation == 9) return 3400;
- if (Rotation == 10) return 3402;
- if (Rotation == 11) return 3404;
- if (Rotation == 12) return 3406;
- if (Rotation == 13) return 3408;
- if (Rotation == 14) return 3410;
- return 3412;
- }
- short OakSign();
- unsigned char Rotation(short ID);
- }
- namespace OakSlab
- {
- enum class Type
- {
- Top,
- Bottom,
- Double
- };
- constexpr short OakSlab(enum Type Type)
- {
- if (Type == Type::Top) return 8301;
- if (Type == Type::Bottom) return 8303;
- return 8305;
- }
- short OakSlab();
- enum Type Type(short ID);
- }
- namespace OakStairs
- {
- enum class Half
- {
- Top,
- Bottom
- };
- enum class Shape
- {
- Straight,
- InnerLeft,
- InnerRight,
- OuterLeft,
- OuterRight
- };
- constexpr short OakStairs(eBlockFace Facing, enum Half Half, enum Shape Shape)
- {
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Top && Shape == Shape::Straight) return 1955;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Top && Shape == Shape::InnerLeft) return 1957;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Top && Shape == Shape::InnerRight) return 1959;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Top && Shape == Shape::OuterLeft) return 1961;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Top && Shape == Shape::OuterRight) return 1963;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Bottom && Shape == Shape::Straight) return 1965;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Bottom && Shape == Shape::InnerLeft) return 1967;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Bottom && Shape == Shape::InnerRight) return 1969;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Bottom && Shape == Shape::OuterLeft) return 1971;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Bottom && Shape == Shape::OuterRight) return 1973;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Top && Shape == Shape::Straight) return 1975;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Top && Shape == Shape::InnerLeft) return 1977;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Top && Shape == Shape::InnerRight) return 1979;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Top && Shape == Shape::OuterLeft) return 1981;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Top && Shape == Shape::OuterRight) return 1983;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Bottom && Shape == Shape::Straight) return 1985;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Bottom && Shape == Shape::InnerLeft) return 1987;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Bottom && Shape == Shape::InnerRight) return 1989;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Bottom && Shape == Shape::OuterLeft) return 1991;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Bottom && Shape == Shape::OuterRight) return 1993;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Top && Shape == Shape::Straight) return 1995;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Top && Shape == Shape::InnerLeft) return 1997;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Top && Shape == Shape::InnerRight) return 1999;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Top && Shape == Shape::OuterLeft) return 2001;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Top && Shape == Shape::OuterRight) return 2003;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Bottom && Shape == Shape::Straight) return 2005;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Bottom && Shape == Shape::InnerLeft) return 2007;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Bottom && Shape == Shape::InnerRight) return 2009;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Bottom && Shape == Shape::OuterLeft) return 2011;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Bottom && Shape == Shape::OuterRight) return 2013;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Top && Shape == Shape::Straight) return 2015;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Top && Shape == Shape::InnerLeft) return 2017;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Top && Shape == Shape::InnerRight) return 2019;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Top && Shape == Shape::OuterLeft) return 2021;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Top && Shape == Shape::OuterRight) return 2023;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Bottom && Shape == Shape::Straight) return 2025;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Bottom && Shape == Shape::InnerLeft) return 2027;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Bottom && Shape == Shape::InnerRight) return 2029;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Bottom && Shape == Shape::OuterLeft) return 2031;
- return 2033;
- }
- short OakStairs();
- eBlockFace Facing(short ID);
- enum Half Half(short ID);
- enum Shape Shape(short ID);
- }
- namespace OakTrapdoor
- {
- enum class Half
- {
- Top,
- Bottom
- };
- constexpr short OakTrapdoor(eBlockFace Facing, enum Half Half, bool Open, bool Powered)
- {
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Top && Open && Powered) return 4112;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Top && Open && !Powered) return 4114;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Top && !Open && Powered) return 4116;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Top && !Open && !Powered) return 4118;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Bottom && Open && Powered) return 4120;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Bottom && Open && !Powered) return 4122;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Bottom && !Open && Powered) return 4124;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Bottom && !Open && !Powered) return 4126;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Top && Open && Powered) return 4128;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Top && Open && !Powered) return 4130;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Top && !Open && Powered) return 4132;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Top && !Open && !Powered) return 4134;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Bottom && Open && Powered) return 4136;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Bottom && Open && !Powered) return 4138;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Bottom && !Open && Powered) return 4140;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Bottom && !Open && !Powered) return 4142;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Top && Open && Powered) return 4144;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Top && Open && !Powered) return 4146;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Top && !Open && Powered) return 4148;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Top && !Open && !Powered) return 4150;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Bottom && Open && Powered) return 4152;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Bottom && Open && !Powered) return 4154;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Bottom && !Open && Powered) return 4156;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Bottom && !Open && !Powered) return 4158;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Top && Open && Powered) return 4160;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Top && Open && !Powered) return 4162;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Top && !Open && Powered) return 4164;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Top && !Open && !Powered) return 4166;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Bottom && Open && Powered) return 4168;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Bottom && Open && !Powered) return 4170;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Bottom && !Open && Powered) return 4172;
- return 4174;
- }
- short OakTrapdoor();
- eBlockFace Facing(short ID);
- enum Half Half(short ID);
- bool Open(short ID);
- bool Powered(short ID);
- }
- namespace OakWallSign
- {
- constexpr short OakWallSign(eBlockFace Facing)
- {
- if (Facing == eBlockFace::BLOCK_FACE_ZM) return 3736;
- if (Facing == eBlockFace::BLOCK_FACE_ZP) return 3738;
- if (Facing == eBlockFace::BLOCK_FACE_XM) return 3740;
- return 3742;
- }
- short OakWallSign();
- eBlockFace Facing(short ID);
- }
- namespace OakWood
- {
- enum class Axis
- {
- X,
- Y,
- Z
- };
- constexpr short OakWood(enum Axis Axis)
- {
- if (Axis == Axis::X) return 109;
- if (Axis == Axis::Y) return 110;
- return 111;
- }
- short OakWood();
- enum Axis Axis(short ID);
- }
- namespace Observer
- {
- constexpr short Observer(eBlockFace Facing, bool Powered)
- {
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Powered) return 9260;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && !Powered) return 9261;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Powered) return 9262;
- if (Facing == eBlockFace::BLOCK_FACE_XP && !Powered) return 9263;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Powered) return 9264;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && !Powered) return 9265;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Powered) return 9266;
- if (Facing == eBlockFace::BLOCK_FACE_XM && !Powered) return 9267;
- if (Facing == eBlockFace::BLOCK_FACE_YP && Powered) return 9268;
- if (Facing == eBlockFace::BLOCK_FACE_YP && !Powered) return 9269;
- if (Facing == eBlockFace::BLOCK_FACE_YM && Powered) return 9270;
- return 9271;
- }
- short Observer();
- eBlockFace Facing(short ID);
- bool Powered(short ID);
- }
- namespace Obsidian
- {
- constexpr short Obsidian()
- {
- return 1434;
- }
- }
- namespace OrangeBanner
- {
- constexpr short OrangeBanner(unsigned char Rotation)
- {
- if (Rotation == 0) return 7913;
- if (Rotation == 1) return 7914;
- if (Rotation == 2) return 7915;
- if (Rotation == 3) return 7916;
- if (Rotation == 4) return 7917;
- if (Rotation == 5) return 7918;
- if (Rotation == 6) return 7919;
- if (Rotation == 7) return 7920;
- if (Rotation == 8) return 7921;
- if (Rotation == 9) return 7922;
- if (Rotation == 10) return 7923;
- if (Rotation == 11) return 7924;
- if (Rotation == 12) return 7925;
- if (Rotation == 13) return 7926;
- if (Rotation == 14) return 7927;
- return 7928;
- }
- short OrangeBanner();
- unsigned char Rotation(short ID);
- }
- namespace OrangeBed
- {
- enum class Part
- {
- Head,
- Foot
- };
- constexpr short OrangeBed(eBlockFace Facing, bool Occupied, enum Part Part)
- {
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Occupied && Part == Part::Head) return 1065;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Occupied && Part == Part::Foot) return 1066;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && !Occupied && Part == Part::Head) return 1067;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && !Occupied && Part == Part::Foot) return 1068;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Occupied && Part == Part::Head) return 1069;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Occupied && Part == Part::Foot) return 1070;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && !Occupied && Part == Part::Head) return 1071;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && !Occupied && Part == Part::Foot) return 1072;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Occupied && Part == Part::Head) return 1073;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Occupied && Part == Part::Foot) return 1074;
- if (Facing == eBlockFace::BLOCK_FACE_XM && !Occupied && Part == Part::Head) return 1075;
- if (Facing == eBlockFace::BLOCK_FACE_XM && !Occupied && Part == Part::Foot) return 1076;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Occupied && Part == Part::Head) return 1077;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Occupied && Part == Part::Foot) return 1078;
- if (Facing == eBlockFace::BLOCK_FACE_XP && !Occupied && Part == Part::Head) return 1079;
- return 1080;
- }
- short OrangeBed();
- eBlockFace Facing(short ID);
- bool Occupied(short ID);
- enum Part Part(short ID);
- }
- namespace OrangeCarpet
- {
- constexpr short OrangeCarpet()
- {
- return 7867;
- }
- }
- namespace OrangeConcrete
- {
- constexpr short OrangeConcrete()
- {
- return 9439;
- }
- }
- namespace OrangeConcretePowder
- {
- constexpr short OrangeConcretePowder()
- {
- return 9455;
- }
- }
- namespace OrangeGlazedTerracotta
- {
- constexpr short OrangeGlazedTerracotta(eBlockFace Facing)
- {
- if (Facing == eBlockFace::BLOCK_FACE_ZM) return 9378;
- if (Facing == eBlockFace::BLOCK_FACE_ZP) return 9379;
- if (Facing == eBlockFace::BLOCK_FACE_XM) return 9380;
- return 9381;
- }
- short OrangeGlazedTerracotta();
- eBlockFace Facing(short ID);
- }
- namespace OrangeShulkerBox
- {
- constexpr short OrangeShulkerBox(eBlockFace Facing)
- {
- if (Facing == eBlockFace::BLOCK_FACE_ZM) return 9284;
- if (Facing == eBlockFace::BLOCK_FACE_XP) return 9285;
- if (Facing == eBlockFace::BLOCK_FACE_ZP) return 9286;
- if (Facing == eBlockFace::BLOCK_FACE_XM) return 9287;
- if (Facing == eBlockFace::BLOCK_FACE_YP) return 9288;
- return 9289;
- }
- short OrangeShulkerBox();
- eBlockFace Facing(short ID);
- }
- namespace OrangeStainedGlass
- {
- constexpr short OrangeStainedGlass()
- {
- return 4096;
- }
- }
- namespace OrangeStainedGlassPane
- {
- constexpr short OrangeStainedGlassPane(bool East, bool North, bool South, bool West)
- {
- if (East && North && South && West) return 6897;
- if (East && North && South && !West) return 6898;
- if (East && North && !South && West) return 6901;
- if (East && North && !South && !West) return 6902;
- if (East && !North && South && West) return 6905;
- if (East && !North && South && !West) return 6906;
- if (East && !North && !South && West) return 6909;
- if (East && !North && !South && !West) return 6910;
- if (!East && North && South && West) return 6913;
- if (!East && North && South && !West) return 6914;
- if (!East && North && !South && West) return 6917;
- if (!East && North && !South && !West) return 6918;
- if (!East && !North && South && West) return 6921;
- if (!East && !North && South && !West) return 6922;
- if (!East && !North && !South && West) return 6925;
- return 6926;
- }
- short OrangeStainedGlassPane();
- bool East(short ID);
- bool North(short ID);
- bool South(short ID);
- bool West(short ID);
- }
- namespace OrangeTerracotta
- {
- constexpr short OrangeTerracotta()
- {
- return 6848;
- }
- }
- namespace OrangeTulip
- {
- constexpr short OrangeTulip()
- {
- return 1418;
- }
- }
- namespace OrangeWallBanner
- {
- constexpr short OrangeWallBanner(eBlockFace Facing)
- {
- if (Facing == eBlockFace::BLOCK_FACE_ZM) return 8157;
- if (Facing == eBlockFace::BLOCK_FACE_ZP) return 8158;
- if (Facing == eBlockFace::BLOCK_FACE_XM) return 8159;
- return 8160;
- }
- short OrangeWallBanner();
- eBlockFace Facing(short ID);
- }
- namespace OrangeWool
- {
- constexpr short OrangeWool()
- {
- return 1385;
- }
- }
- namespace OxeyeDaisy
- {
- constexpr short OxeyeDaisy()
- {
- return 1421;
- }
- }
- namespace PackedIce
- {
- constexpr short PackedIce()
- {
- return 7884;
- }
- }
- namespace Peony
- {
- enum class Half
- {
- Upper,
- Lower
- };
- constexpr short Peony(enum Half Half)
- {
- if (Half == Half::Upper) return 7891;
- return 7892;
- }
- short Peony();
- enum Half Half(short ID);
- }
- namespace PetrifiedOakSlab
- {
- enum class Type
- {
- Top,
- Bottom,
- Double
- };
- constexpr short PetrifiedOakSlab(enum Type Type)
- {
- if (Type == Type::Top) return 8361;
- if (Type == Type::Bottom) return 8363;
- return 8365;
- }
- short PetrifiedOakSlab();
- enum Type Type(short ID);
- }
- namespace PinkBanner
- {
- constexpr short PinkBanner(unsigned char Rotation)
- {
- if (Rotation == 0) return 7993;
- if (Rotation == 1) return 7994;
- if (Rotation == 2) return 7995;
- if (Rotation == 3) return 7996;
- if (Rotation == 4) return 7997;
- if (Rotation == 5) return 7998;
- if (Rotation == 6) return 7999;
- if (Rotation == 7) return 8000;
- if (Rotation == 8) return 8001;
- if (Rotation == 9) return 8002;
- if (Rotation == 10) return 8003;
- if (Rotation == 11) return 8004;
- if (Rotation == 12) return 8005;
- if (Rotation == 13) return 8006;
- if (Rotation == 14) return 8007;
- return 8008;
- }
- short PinkBanner();
- unsigned char Rotation(short ID);
- }
- namespace PinkBed
- {
- enum class Part
- {
- Head,
- Foot
- };
- constexpr short PinkBed(eBlockFace Facing, bool Occupied, enum Part Part)
- {
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Occupied && Part == Part::Head) return 1145;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Occupied && Part == Part::Foot) return 1146;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && !Occupied && Part == Part::Head) return 1147;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && !Occupied && Part == Part::Foot) return 1148;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Occupied && Part == Part::Head) return 1149;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Occupied && Part == Part::Foot) return 1150;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && !Occupied && Part == Part::Head) return 1151;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && !Occupied && Part == Part::Foot) return 1152;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Occupied && Part == Part::Head) return 1153;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Occupied && Part == Part::Foot) return 1154;
- if (Facing == eBlockFace::BLOCK_FACE_XM && !Occupied && Part == Part::Head) return 1155;
- if (Facing == eBlockFace::BLOCK_FACE_XM && !Occupied && Part == Part::Foot) return 1156;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Occupied && Part == Part::Head) return 1157;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Occupied && Part == Part::Foot) return 1158;
- if (Facing == eBlockFace::BLOCK_FACE_XP && !Occupied && Part == Part::Head) return 1159;
- return 1160;
- }
- short PinkBed();
- eBlockFace Facing(short ID);
- bool Occupied(short ID);
- enum Part Part(short ID);
- }
- namespace PinkCarpet
- {
- constexpr short PinkCarpet()
- {
- return 7872;
- }
- }
- namespace PinkConcrete
- {
- constexpr short PinkConcrete()
- {
- return 9444;
- }
- }
- namespace PinkConcretePowder
- {
- constexpr short PinkConcretePowder()
- {
- return 9460;
- }
- }
- namespace PinkGlazedTerracotta
- {
- constexpr short PinkGlazedTerracotta(eBlockFace Facing)
- {
- if (Facing == eBlockFace::BLOCK_FACE_ZM) return 9398;
- if (Facing == eBlockFace::BLOCK_FACE_ZP) return 9399;
- if (Facing == eBlockFace::BLOCK_FACE_XM) return 9400;
- return 9401;
- }
- short PinkGlazedTerracotta();
- eBlockFace Facing(short ID);
- }
- namespace PinkShulkerBox
- {
- constexpr short PinkShulkerBox(eBlockFace Facing)
- {
- if (Facing == eBlockFace::BLOCK_FACE_ZM) return 9314;
- if (Facing == eBlockFace::BLOCK_FACE_XP) return 9315;
- if (Facing == eBlockFace::BLOCK_FACE_ZP) return 9316;
- if (Facing == eBlockFace::BLOCK_FACE_XM) return 9317;
- if (Facing == eBlockFace::BLOCK_FACE_YP) return 9318;
- return 9319;
- }
- short PinkShulkerBox();
- eBlockFace Facing(short ID);
- }
- namespace PinkStainedGlass
- {
- constexpr short PinkStainedGlass()
- {
- return 4101;
- }
- }
- namespace PinkStainedGlassPane
- {
- constexpr short PinkStainedGlassPane(bool East, bool North, bool South, bool West)
- {
- if (East && North && South && West) return 7057;
- if (East && North && South && !West) return 7058;
- if (East && North && !South && West) return 7061;
- if (East && North && !South && !West) return 7062;
- if (East && !North && South && West) return 7065;
- if (East && !North && South && !West) return 7066;
- if (East && !North && !South && West) return 7069;
- if (East && !North && !South && !West) return 7070;
- if (!East && North && South && West) return 7073;
- if (!East && North && South && !West) return 7074;
- if (!East && North && !South && West) return 7077;
- if (!East && North && !South && !West) return 7078;
- if (!East && !North && South && West) return 7081;
- if (!East && !North && South && !West) return 7082;
- if (!East && !North && !South && West) return 7085;
- return 7086;
- }
- short PinkStainedGlassPane();
- bool East(short ID);
- bool North(short ID);
- bool South(short ID);
- bool West(short ID);
- }
- namespace PinkTerracotta
- {
- constexpr short PinkTerracotta()
- {
- return 6853;
- }
- }
- namespace PinkTulip
- {
- constexpr short PinkTulip()
- {
- return 1420;
- }
- }
- namespace PinkWallBanner
- {
- constexpr short PinkWallBanner(eBlockFace Facing)
- {
- if (Facing == eBlockFace::BLOCK_FACE_ZM) return 8177;
- if (Facing == eBlockFace::BLOCK_FACE_ZP) return 8178;
- if (Facing == eBlockFace::BLOCK_FACE_XM) return 8179;
- return 8180;
- }
- short PinkWallBanner();
- eBlockFace Facing(short ID);
- }
- namespace PinkWool
- {
- constexpr short PinkWool()
- {
- return 1390;
- }
- }
- namespace Piston
- {
- constexpr short Piston(bool Extended, eBlockFace Facing)
- {
- if (Extended && Facing == eBlockFace::BLOCK_FACE_ZM) return 1348;
- if (Extended && Facing == eBlockFace::BLOCK_FACE_XP) return 1349;
- if (Extended && Facing == eBlockFace::BLOCK_FACE_ZP) return 1350;
- if (Extended && Facing == eBlockFace::BLOCK_FACE_XM) return 1351;
- if (Extended && Facing == eBlockFace::BLOCK_FACE_YP) return 1352;
- if (Extended && Facing == eBlockFace::BLOCK_FACE_YM) return 1353;
- if (!Extended && Facing == eBlockFace::BLOCK_FACE_ZM) return 1354;
- if (!Extended && Facing == eBlockFace::BLOCK_FACE_XP) return 1355;
- if (!Extended && Facing == eBlockFace::BLOCK_FACE_ZP) return 1356;
- if (!Extended && Facing == eBlockFace::BLOCK_FACE_XM) return 1357;
- if (!Extended && Facing == eBlockFace::BLOCK_FACE_YP) return 1358;
- return 1359;
- }
- short Piston();
- bool Extended(short ID);
- eBlockFace Facing(short ID);
- }
- namespace PistonHead
- {
- enum class Type
- {
- Normal,
- Sticky
- };
- constexpr short PistonHead(eBlockFace Facing, bool Short, enum Type Type)
- {
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Short && Type == Type::Normal) return 1360;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Short && Type == Type::Sticky) return 1361;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && !Short && Type == Type::Normal) return 1362;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && !Short && Type == Type::Sticky) return 1363;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Short && Type == Type::Normal) return 1364;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Short && Type == Type::Sticky) return 1365;
- if (Facing == eBlockFace::BLOCK_FACE_XP && !Short && Type == Type::Normal) return 1366;
- if (Facing == eBlockFace::BLOCK_FACE_XP && !Short && Type == Type::Sticky) return 1367;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Short && Type == Type::Normal) return 1368;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Short && Type == Type::Sticky) return 1369;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && !Short && Type == Type::Normal) return 1370;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && !Short && Type == Type::Sticky) return 1371;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Short && Type == Type::Normal) return 1372;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Short && Type == Type::Sticky) return 1373;
- if (Facing == eBlockFace::BLOCK_FACE_XM && !Short && Type == Type::Normal) return 1374;
- if (Facing == eBlockFace::BLOCK_FACE_XM && !Short && Type == Type::Sticky) return 1375;
- if (Facing == eBlockFace::BLOCK_FACE_YP && Short && Type == Type::Normal) return 1376;
- if (Facing == eBlockFace::BLOCK_FACE_YP && Short && Type == Type::Sticky) return 1377;
- if (Facing == eBlockFace::BLOCK_FACE_YP && !Short && Type == Type::Normal) return 1378;
- if (Facing == eBlockFace::BLOCK_FACE_YP && !Short && Type == Type::Sticky) return 1379;
- if (Facing == eBlockFace::BLOCK_FACE_YM && Short && Type == Type::Normal) return 1380;
- if (Facing == eBlockFace::BLOCK_FACE_YM && Short && Type == Type::Sticky) return 1381;
- if (Facing == eBlockFace::BLOCK_FACE_YM && !Short && Type == Type::Normal) return 1382;
- return 1383;
- }
- short PistonHead();
- eBlockFace Facing(short ID);
- bool Short(short ID);
- enum Type Type(short ID);
- }
- namespace PlayerHead
- {
- constexpr short PlayerHead(unsigned char Rotation)
- {
- if (Rotation == 0) return 6550;
- if (Rotation == 1) return 6551;
- if (Rotation == 2) return 6552;
- if (Rotation == 3) return 6553;
- if (Rotation == 4) return 6554;
- if (Rotation == 5) return 6555;
- if (Rotation == 6) return 6556;
- if (Rotation == 7) return 6557;
- if (Rotation == 8) return 6558;
- if (Rotation == 9) return 6559;
- if (Rotation == 10) return 6560;
- if (Rotation == 11) return 6561;
- if (Rotation == 12) return 6562;
- if (Rotation == 13) return 6563;
- if (Rotation == 14) return 6564;
- return 6565;
- }
- short PlayerHead();
- unsigned char Rotation(short ID);
- }
- namespace PlayerWallHead
- {
- constexpr short PlayerWallHead(eBlockFace Facing)
- {
- if (Facing == eBlockFace::BLOCK_FACE_ZM) return 6566;
- if (Facing == eBlockFace::BLOCK_FACE_ZP) return 6567;
- if (Facing == eBlockFace::BLOCK_FACE_XM) return 6568;
- return 6569;
- }
- short PlayerWallHead();
- eBlockFace Facing(short ID);
- }
- namespace Podzol
- {
- constexpr short Podzol(bool Snowy)
- {
- if (Snowy) return 12;
- return 13;
- }
- short Podzol();
- bool Snowy(short ID);
- }
- namespace PolishedAndesite
- {
- constexpr short PolishedAndesite()
- {
- return 7;
- }
- }
- namespace PolishedAndesiteSlab
- {
- enum class Type
- {
- Top,
- Bottom,
- Double
- };
- constexpr short PolishedAndesiteSlab(enum Type Type)
- {
- if (Type == Type::Top) return 10856;
- if (Type == Type::Bottom) return 10858;
- return 10860;
- }
- short PolishedAndesiteSlab();
- enum Type Type(short ID);
- }
- namespace PolishedAndesiteStairs
- {
- enum class Half
- {
- Top,
- Bottom
- };
- enum class Shape
- {
- Straight,
- InnerLeft,
- InnerRight,
- OuterLeft,
- OuterRight
- };
- constexpr short PolishedAndesiteStairs(eBlockFace Facing, enum Half Half, enum Shape Shape)
- {
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Top && Shape == Shape::Straight) return 10630;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Top && Shape == Shape::InnerLeft) return 10632;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Top && Shape == Shape::InnerRight) return 10634;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Top && Shape == Shape::OuterLeft) return 10636;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Top && Shape == Shape::OuterRight) return 10638;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Bottom && Shape == Shape::Straight) return 10640;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Bottom && Shape == Shape::InnerLeft) return 10642;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Bottom && Shape == Shape::InnerRight) return 10644;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Bottom && Shape == Shape::OuterLeft) return 10646;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Bottom && Shape == Shape::OuterRight) return 10648;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Top && Shape == Shape::Straight) return 10650;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Top && Shape == Shape::InnerLeft) return 10652;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Top && Shape == Shape::InnerRight) return 10654;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Top && Shape == Shape::OuterLeft) return 10656;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Top && Shape == Shape::OuterRight) return 10658;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Bottom && Shape == Shape::Straight) return 10660;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Bottom && Shape == Shape::InnerLeft) return 10662;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Bottom && Shape == Shape::InnerRight) return 10664;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Bottom && Shape == Shape::OuterLeft) return 10666;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Bottom && Shape == Shape::OuterRight) return 10668;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Top && Shape == Shape::Straight) return 10670;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Top && Shape == Shape::InnerLeft) return 10672;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Top && Shape == Shape::InnerRight) return 10674;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Top && Shape == Shape::OuterLeft) return 10676;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Top && Shape == Shape::OuterRight) return 10678;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Bottom && Shape == Shape::Straight) return 10680;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Bottom && Shape == Shape::InnerLeft) return 10682;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Bottom && Shape == Shape::InnerRight) return 10684;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Bottom && Shape == Shape::OuterLeft) return 10686;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Bottom && Shape == Shape::OuterRight) return 10688;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Top && Shape == Shape::Straight) return 10690;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Top && Shape == Shape::InnerLeft) return 10692;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Top && Shape == Shape::InnerRight) return 10694;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Top && Shape == Shape::OuterLeft) return 10696;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Top && Shape == Shape::OuterRight) return 10698;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Bottom && Shape == Shape::Straight) return 10700;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Bottom && Shape == Shape::InnerLeft) return 10702;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Bottom && Shape == Shape::InnerRight) return 10704;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Bottom && Shape == Shape::OuterLeft) return 10706;
- return 10708;
- }
- short PolishedAndesiteStairs();
- eBlockFace Facing(short ID);
- enum Half Half(short ID);
- enum Shape Shape(short ID);
- }
- namespace PolishedBasalt
- {
- enum class Axis
- {
- X,
- Y,
- Z
- };
- constexpr short PolishedBasalt(enum Axis Axis)
- {
- if (Axis == Axis::X) return 4005;
- if (Axis == Axis::Y) return 4006;
- return 4007;
- }
- short PolishedBasalt();
- enum Axis Axis(short ID);
- }
- namespace PolishedBlackstone
- {
- constexpr short PolishedBlackstone()
- {
- return 16250;
- }
- }
- namespace PolishedBlackstoneBrickSlab
- {
- enum class Type
- {
- Top,
- Bottom,
- Double
- };
- constexpr short PolishedBlackstoneBrickSlab(enum Type Type)
- {
- if (Type == Type::Top) return 16255;
- if (Type == Type::Bottom) return 16257;
- return 16259;
- }
- short PolishedBlackstoneBrickSlab();
- enum Type Type(short ID);
- }
- namespace PolishedBlackstoneBrickStairs
- {
- enum class Half
- {
- Top,
- Bottom
- };
- enum class Shape
- {
- Straight,
- InnerLeft,
- InnerRight,
- OuterLeft,
- OuterRight
- };
- constexpr short PolishedBlackstoneBrickStairs(eBlockFace Facing, enum Half Half, enum Shape Shape)
- {
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Top && Shape == Shape::Straight) return 16261;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Top && Shape == Shape::InnerLeft) return 16263;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Top && Shape == Shape::InnerRight) return 16265;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Top && Shape == Shape::OuterLeft) return 16267;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Top && Shape == Shape::OuterRight) return 16269;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Bottom && Shape == Shape::Straight) return 16271;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Bottom && Shape == Shape::InnerLeft) return 16273;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Bottom && Shape == Shape::InnerRight) return 16275;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Bottom && Shape == Shape::OuterLeft) return 16277;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Bottom && Shape == Shape::OuterRight) return 16279;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Top && Shape == Shape::Straight) return 16281;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Top && Shape == Shape::InnerLeft) return 16283;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Top && Shape == Shape::InnerRight) return 16285;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Top && Shape == Shape::OuterLeft) return 16287;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Top && Shape == Shape::OuterRight) return 16289;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Bottom && Shape == Shape::Straight) return 16291;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Bottom && Shape == Shape::InnerLeft) return 16293;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Bottom && Shape == Shape::InnerRight) return 16295;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Bottom && Shape == Shape::OuterLeft) return 16297;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Bottom && Shape == Shape::OuterRight) return 16299;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Top && Shape == Shape::Straight) return 16301;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Top && Shape == Shape::InnerLeft) return 16303;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Top && Shape == Shape::InnerRight) return 16305;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Top && Shape == Shape::OuterLeft) return 16307;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Top && Shape == Shape::OuterRight) return 16309;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Bottom && Shape == Shape::Straight) return 16311;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Bottom && Shape == Shape::InnerLeft) return 16313;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Bottom && Shape == Shape::InnerRight) return 16315;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Bottom && Shape == Shape::OuterLeft) return 16317;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Bottom && Shape == Shape::OuterRight) return 16319;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Top && Shape == Shape::Straight) return 16321;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Top && Shape == Shape::InnerLeft) return 16323;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Top && Shape == Shape::InnerRight) return 16325;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Top && Shape == Shape::OuterLeft) return 16327;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Top && Shape == Shape::OuterRight) return 16329;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Bottom && Shape == Shape::Straight) return 16331;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Bottom && Shape == Shape::InnerLeft) return 16333;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Bottom && Shape == Shape::InnerRight) return 16335;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Bottom && Shape == Shape::OuterLeft) return 16337;
- return 16339;
- }
- short PolishedBlackstoneBrickStairs();
- eBlockFace Facing(short ID);
- enum Half Half(short ID);
- enum Shape Shape(short ID);
- }
- namespace PolishedBlackstoneBrickWall
- {
- enum class East
- {
- None,
- Low,
- Tall
- };
- enum class North
- {
- None,
- Low,
- Tall
- };
- enum class South
- {
- None,
- Low,
- Tall
- };
- enum class West
- {
- None,
- Low,
- Tall
- };
- constexpr short PolishedBlackstoneBrickWall(enum East East, enum North North, enum South South, bool Up, enum West West)
- {
- if (East == East::None && North == North::None && South == South::None && Up && West == West::None) return 16343;
- if (East == East::None && North == North::None && South == South::None && Up && West == West::Low) return 16344;
- if (East == East::None && North == North::None && South == South::None && Up && West == West::Tall) return 16345;
- if (East == East::None && North == North::None && South == South::None && !Up && West == West::None) return 16349;
- if (East == East::None && North == North::None && South == South::None && !Up && West == West::Low) return 16350;
- if (East == East::None && North == North::None && South == South::None && !Up && West == West::Tall) return 16351;
- if (East == East::None && North == North::None && South == South::Low && Up && West == West::None) return 16355;
- if (East == East::None && North == North::None && South == South::Low && Up && West == West::Low) return 16356;
- if (East == East::None && North == North::None && South == South::Low && Up && West == West::Tall) return 16357;
- if (East == East::None && North == North::None && South == South::Low && !Up && West == West::None) return 16361;
- if (East == East::None && North == North::None && South == South::Low && !Up && West == West::Low) return 16362;
- if (East == East::None && North == North::None && South == South::Low && !Up && West == West::Tall) return 16363;
- if (East == East::None && North == North::None && South == South::Tall && Up && West == West::None) return 16367;
- if (East == East::None && North == North::None && South == South::Tall && Up && West == West::Low) return 16368;
- if (East == East::None && North == North::None && South == South::Tall && Up && West == West::Tall) return 16369;
- if (East == East::None && North == North::None && South == South::Tall && !Up && West == West::None) return 16373;
- if (East == East::None && North == North::None && South == South::Tall && !Up && West == West::Low) return 16374;
- if (East == East::None && North == North::None && South == South::Tall && !Up && West == West::Tall) return 16375;
- if (East == East::None && North == North::Low && South == South::None && Up && West == West::None) return 16379;
- if (East == East::None && North == North::Low && South == South::None && Up && West == West::Low) return 16380;
- if (East == East::None && North == North::Low && South == South::None && Up && West == West::Tall) return 16381;
- if (East == East::None && North == North::Low && South == South::None && !Up && West == West::None) return 16385;
- if (East == East::None && North == North::Low && South == South::None && !Up && West == West::Low) return 16386;
- if (East == East::None && North == North::Low && South == South::None && !Up && West == West::Tall) return 16387;
- if (East == East::None && North == North::Low && South == South::Low && Up && West == West::None) return 16391;
- if (East == East::None && North == North::Low && South == South::Low && Up && West == West::Low) return 16392;
- if (East == East::None && North == North::Low && South == South::Low && Up && West == West::Tall) return 16393;
- if (East == East::None && North == North::Low && South == South::Low && !Up && West == West::None) return 16397;
- if (East == East::None && North == North::Low && South == South::Low && !Up && West == West::Low) return 16398;
- if (East == East::None && North == North::Low && South == South::Low && !Up && West == West::Tall) return 16399;
- if (East == East::None && North == North::Low && South == South::Tall && Up && West == West::None) return 16403;
- if (East == East::None && North == North::Low && South == South::Tall && Up && West == West::Low) return 16404;
- if (East == East::None && North == North::Low && South == South::Tall && Up && West == West::Tall) return 16405;
- if (East == East::None && North == North::Low && South == South::Tall && !Up && West == West::None) return 16409;
- if (East == East::None && North == North::Low && South == South::Tall && !Up && West == West::Low) return 16410;
- if (East == East::None && North == North::Low && South == South::Tall && !Up && West == West::Tall) return 16411;
- if (East == East::None && North == North::Tall && South == South::None && Up && West == West::None) return 16415;
- if (East == East::None && North == North::Tall && South == South::None && Up && West == West::Low) return 16416;
- if (East == East::None && North == North::Tall && South == South::None && Up && West == West::Tall) return 16417;
- if (East == East::None && North == North::Tall && South == South::None && !Up && West == West::None) return 16421;
- if (East == East::None && North == North::Tall && South == South::None && !Up && West == West::Low) return 16422;
- if (East == East::None && North == North::Tall && South == South::None && !Up && West == West::Tall) return 16423;
- if (East == East::None && North == North::Tall && South == South::Low && Up && West == West::None) return 16427;
- if (East == East::None && North == North::Tall && South == South::Low && Up && West == West::Low) return 16428;
- if (East == East::None && North == North::Tall && South == South::Low && Up && West == West::Tall) return 16429;
- if (East == East::None && North == North::Tall && South == South::Low && !Up && West == West::None) return 16433;
- if (East == East::None && North == North::Tall && South == South::Low && !Up && West == West::Low) return 16434;
- if (East == East::None && North == North::Tall && South == South::Low && !Up && West == West::Tall) return 16435;
- if (East == East::None && North == North::Tall && South == South::Tall && Up && West == West::None) return 16439;
- if (East == East::None && North == North::Tall && South == South::Tall && Up && West == West::Low) return 16440;
- if (East == East::None && North == North::Tall && South == South::Tall && Up && West == West::Tall) return 16441;
- if (East == East::None && North == North::Tall && South == South::Tall && !Up && West == West::None) return 16445;
- if (East == East::None && North == North::Tall && South == South::Tall && !Up && West == West::Low) return 16446;
- if (East == East::None && North == North::Tall && South == South::Tall && !Up && West == West::Tall) return 16447;
- if (East == East::Low && North == North::None && South == South::None && Up && West == West::None) return 16451;
- if (East == East::Low && North == North::None && South == South::None && Up && West == West::Low) return 16452;
- if (East == East::Low && North == North::None && South == South::None && Up && West == West::Tall) return 16453;
- if (East == East::Low && North == North::None && South == South::None && !Up && West == West::None) return 16457;
- if (East == East::Low && North == North::None && South == South::None && !Up && West == West::Low) return 16458;
- if (East == East::Low && North == North::None && South == South::None && !Up && West == West::Tall) return 16459;
- if (East == East::Low && North == North::None && South == South::Low && Up && West == West::None) return 16463;
- if (East == East::Low && North == North::None && South == South::Low && Up && West == West::Low) return 16464;
- if (East == East::Low && North == North::None && South == South::Low && Up && West == West::Tall) return 16465;
- if (East == East::Low && North == North::None && South == South::Low && !Up && West == West::None) return 16469;
- if (East == East::Low && North == North::None && South == South::Low && !Up && West == West::Low) return 16470;
- if (East == East::Low && North == North::None && South == South::Low && !Up && West == West::Tall) return 16471;
- if (East == East::Low && North == North::None && South == South::Tall && Up && West == West::None) return 16475;
- if (East == East::Low && North == North::None && South == South::Tall && Up && West == West::Low) return 16476;
- if (East == East::Low && North == North::None && South == South::Tall && Up && West == West::Tall) return 16477;
- if (East == East::Low && North == North::None && South == South::Tall && !Up && West == West::None) return 16481;
- if (East == East::Low && North == North::None && South == South::Tall && !Up && West == West::Low) return 16482;
- if (East == East::Low && North == North::None && South == South::Tall && !Up && West == West::Tall) return 16483;
- if (East == East::Low && North == North::Low && South == South::None && Up && West == West::None) return 16487;
- if (East == East::Low && North == North::Low && South == South::None && Up && West == West::Low) return 16488;
- if (East == East::Low && North == North::Low && South == South::None && Up && West == West::Tall) return 16489;
- if (East == East::Low && North == North::Low && South == South::None && !Up && West == West::None) return 16493;
- if (East == East::Low && North == North::Low && South == South::None && !Up && West == West::Low) return 16494;
- if (East == East::Low && North == North::Low && South == South::None && !Up && West == West::Tall) return 16495;
- if (East == East::Low && North == North::Low && South == South::Low && Up && West == West::None) return 16499;
- if (East == East::Low && North == North::Low && South == South::Low && Up && West == West::Low) return 16500;
- if (East == East::Low && North == North::Low && South == South::Low && Up && West == West::Tall) return 16501;
- if (East == East::Low && North == North::Low && South == South::Low && !Up && West == West::None) return 16505;
- if (East == East::Low && North == North::Low && South == South::Low && !Up && West == West::Low) return 16506;
- if (East == East::Low && North == North::Low && South == South::Low && !Up && West == West::Tall) return 16507;
- if (East == East::Low && North == North::Low && South == South::Tall && Up && West == West::None) return 16511;
- if (East == East::Low && North == North::Low && South == South::Tall && Up && West == West::Low) return 16512;
- if (East == East::Low && North == North::Low && South == South::Tall && Up && West == West::Tall) return 16513;
- if (East == East::Low && North == North::Low && South == South::Tall && !Up && West == West::None) return 16517;
- if (East == East::Low && North == North::Low && South == South::Tall && !Up && West == West::Low) return 16518;
- if (East == East::Low && North == North::Low && South == South::Tall && !Up && West == West::Tall) return 16519;
- if (East == East::Low && North == North::Tall && South == South::None && Up && West == West::None) return 16523;
- if (East == East::Low && North == North::Tall && South == South::None && Up && West == West::Low) return 16524;
- if (East == East::Low && North == North::Tall && South == South::None && Up && West == West::Tall) return 16525;
- if (East == East::Low && North == North::Tall && South == South::None && !Up && West == West::None) return 16529;
- if (East == East::Low && North == North::Tall && South == South::None && !Up && West == West::Low) return 16530;
- if (East == East::Low && North == North::Tall && South == South::None && !Up && West == West::Tall) return 16531;
- if (East == East::Low && North == North::Tall && South == South::Low && Up && West == West::None) return 16535;
- if (East == East::Low && North == North::Tall && South == South::Low && Up && West == West::Low) return 16536;
- if (East == East::Low && North == North::Tall && South == South::Low && Up && West == West::Tall) return 16537;
- if (East == East::Low && North == North::Tall && South == South::Low && !Up && West == West::None) return 16541;
- if (East == East::Low && North == North::Tall && South == South::Low && !Up && West == West::Low) return 16542;
- if (East == East::Low && North == North::Tall && South == South::Low && !Up && West == West::Tall) return 16543;
- if (East == East::Low && North == North::Tall && South == South::Tall && Up && West == West::None) return 16547;
- if (East == East::Low && North == North::Tall && South == South::Tall && Up && West == West::Low) return 16548;
- if (East == East::Low && North == North::Tall && South == South::Tall && Up && West == West::Tall) return 16549;
- if (East == East::Low && North == North::Tall && South == South::Tall && !Up && West == West::None) return 16553;
- if (East == East::Low && North == North::Tall && South == South::Tall && !Up && West == West::Low) return 16554;
- if (East == East::Low && North == North::Tall && South == South::Tall && !Up && West == West::Tall) return 16555;
- if (East == East::Tall && North == North::None && South == South::None && Up && West == West::None) return 16559;
- if (East == East::Tall && North == North::None && South == South::None && Up && West == West::Low) return 16560;
- if (East == East::Tall && North == North::None && South == South::None && Up && West == West::Tall) return 16561;
- if (East == East::Tall && North == North::None && South == South::None && !Up && West == West::None) return 16565;
- if (East == East::Tall && North == North::None && South == South::None && !Up && West == West::Low) return 16566;
- if (East == East::Tall && North == North::None && South == South::None && !Up && West == West::Tall) return 16567;
- if (East == East::Tall && North == North::None && South == South::Low && Up && West == West::None) return 16571;
- if (East == East::Tall && North == North::None && South == South::Low && Up && West == West::Low) return 16572;
- if (East == East::Tall && North == North::None && South == South::Low && Up && West == West::Tall) return 16573;
- if (East == East::Tall && North == North::None && South == South::Low && !Up && West == West::None) return 16577;
- if (East == East::Tall && North == North::None && South == South::Low && !Up && West == West::Low) return 16578;
- if (East == East::Tall && North == North::None && South == South::Low && !Up && West == West::Tall) return 16579;
- if (East == East::Tall && North == North::None && South == South::Tall && Up && West == West::None) return 16583;
- if (East == East::Tall && North == North::None && South == South::Tall && Up && West == West::Low) return 16584;
- if (East == East::Tall && North == North::None && South == South::Tall && Up && West == West::Tall) return 16585;
- if (East == East::Tall && North == North::None && South == South::Tall && !Up && West == West::None) return 16589;
- if (East == East::Tall && North == North::None && South == South::Tall && !Up && West == West::Low) return 16590;
- if (East == East::Tall && North == North::None && South == South::Tall && !Up && West == West::Tall) return 16591;
- if (East == East::Tall && North == North::Low && South == South::None && Up && West == West::None) return 16595;
- if (East == East::Tall && North == North::Low && South == South::None && Up && West == West::Low) return 16596;
- if (East == East::Tall && North == North::Low && South == South::None && Up && West == West::Tall) return 16597;
- if (East == East::Tall && North == North::Low && South == South::None && !Up && West == West::None) return 16601;
- if (East == East::Tall && North == North::Low && South == South::None && !Up && West == West::Low) return 16602;
- if (East == East::Tall && North == North::Low && South == South::None && !Up && West == West::Tall) return 16603;
- if (East == East::Tall && North == North::Low && South == South::Low && Up && West == West::None) return 16607;
- if (East == East::Tall && North == North::Low && South == South::Low && Up && West == West::Low) return 16608;
- if (East == East::Tall && North == North::Low && South == South::Low && Up && West == West::Tall) return 16609;
- if (East == East::Tall && North == North::Low && South == South::Low && !Up && West == West::None) return 16613;
- if (East == East::Tall && North == North::Low && South == South::Low && !Up && West == West::Low) return 16614;
- if (East == East::Tall && North == North::Low && South == South::Low && !Up && West == West::Tall) return 16615;
- if (East == East::Tall && North == North::Low && South == South::Tall && Up && West == West::None) return 16619;
- if (East == East::Tall && North == North::Low && South == South::Tall && Up && West == West::Low) return 16620;
- if (East == East::Tall && North == North::Low && South == South::Tall && Up && West == West::Tall) return 16621;
- if (East == East::Tall && North == North::Low && South == South::Tall && !Up && West == West::None) return 16625;
- if (East == East::Tall && North == North::Low && South == South::Tall && !Up && West == West::Low) return 16626;
- if (East == East::Tall && North == North::Low && South == South::Tall && !Up && West == West::Tall) return 16627;
- if (East == East::Tall && North == North::Tall && South == South::None && Up && West == West::None) return 16631;
- if (East == East::Tall && North == North::Tall && South == South::None && Up && West == West::Low) return 16632;
- if (East == East::Tall && North == North::Tall && South == South::None && Up && West == West::Tall) return 16633;
- if (East == East::Tall && North == North::Tall && South == South::None && !Up && West == West::None) return 16637;
- if (East == East::Tall && North == North::Tall && South == South::None && !Up && West == West::Low) return 16638;
- if (East == East::Tall && North == North::Tall && South == South::None && !Up && West == West::Tall) return 16639;
- if (East == East::Tall && North == North::Tall && South == South::Low && Up && West == West::None) return 16643;
- if (East == East::Tall && North == North::Tall && South == South::Low && Up && West == West::Low) return 16644;
- if (East == East::Tall && North == North::Tall && South == South::Low && Up && West == West::Tall) return 16645;
- if (East == East::Tall && North == North::Tall && South == South::Low && !Up && West == West::None) return 16649;
- if (East == East::Tall && North == North::Tall && South == South::Low && !Up && West == West::Low) return 16650;
- if (East == East::Tall && North == North::Tall && South == South::Low && !Up && West == West::Tall) return 16651;
- if (East == East::Tall && North == North::Tall && South == South::Tall && Up && West == West::None) return 16655;
- if (East == East::Tall && North == North::Tall && South == South::Tall && Up && West == West::Low) return 16656;
- if (East == East::Tall && North == North::Tall && South == South::Tall && Up && West == West::Tall) return 16657;
- if (East == East::Tall && North == North::Tall && South == South::Tall && !Up && West == West::None) return 16661;
- if (East == East::Tall && North == North::Tall && South == South::Tall && !Up && West == West::Low) return 16662;
- return 16663;
- }
- short PolishedBlackstoneBrickWall();
- enum East East(short ID);
- enum North North(short ID);
- enum South South(short ID);
- bool Up(short ID);
- enum West West(short ID);
- }
- namespace PolishedBlackstoneBricks
- {
- constexpr short PolishedBlackstoneBricks()
- {
- return 16251;
- }
- }
- namespace PolishedBlackstoneButton
- {
- enum class Face
- {
- Floor,
- Wall,
- Ceiling
- };
- constexpr short PolishedBlackstoneButton(enum Face Face, eBlockFace Facing, bool Powered)
- {
- if (Face == Face::Floor && Facing == eBlockFace::BLOCK_FACE_ZM && Powered) return 16753;
- if (Face == Face::Floor && Facing == eBlockFace::BLOCK_FACE_ZM && !Powered) return 16754;
- if (Face == Face::Floor && Facing == eBlockFace::BLOCK_FACE_ZP && Powered) return 16755;
- if (Face == Face::Floor && Facing == eBlockFace::BLOCK_FACE_ZP && !Powered) return 16756;
- if (Face == Face::Floor && Facing == eBlockFace::BLOCK_FACE_XM && Powered) return 16757;
- if (Face == Face::Floor && Facing == eBlockFace::BLOCK_FACE_XM && !Powered) return 16758;
- if (Face == Face::Floor && Facing == eBlockFace::BLOCK_FACE_XP && Powered) return 16759;
- if (Face == Face::Floor && Facing == eBlockFace::BLOCK_FACE_XP && !Powered) return 16760;
- if (Face == Face::Wall && Facing == eBlockFace::BLOCK_FACE_ZM && Powered) return 16761;
- if (Face == Face::Wall && Facing == eBlockFace::BLOCK_FACE_ZM && !Powered) return 16762;
- if (Face == Face::Wall && Facing == eBlockFace::BLOCK_FACE_ZP && Powered) return 16763;
- if (Face == Face::Wall && Facing == eBlockFace::BLOCK_FACE_ZP && !Powered) return 16764;
- if (Face == Face::Wall && Facing == eBlockFace::BLOCK_FACE_XM && Powered) return 16765;
- if (Face == Face::Wall && Facing == eBlockFace::BLOCK_FACE_XM && !Powered) return 16766;
- if (Face == Face::Wall && Facing == eBlockFace::BLOCK_FACE_XP && Powered) return 16767;
- if (Face == Face::Wall && Facing == eBlockFace::BLOCK_FACE_XP && !Powered) return 16768;
- if (Face == Face::Ceiling && Facing == eBlockFace::BLOCK_FACE_ZM && Powered) return 16769;
- if (Face == Face::Ceiling && Facing == eBlockFace::BLOCK_FACE_ZM && !Powered) return 16770;
- if (Face == Face::Ceiling && Facing == eBlockFace::BLOCK_FACE_ZP && Powered) return 16771;
- if (Face == Face::Ceiling && Facing == eBlockFace::BLOCK_FACE_ZP && !Powered) return 16772;
- if (Face == Face::Ceiling && Facing == eBlockFace::BLOCK_FACE_XM && Powered) return 16773;
- if (Face == Face::Ceiling && Facing == eBlockFace::BLOCK_FACE_XM && !Powered) return 16774;
- if (Face == Face::Ceiling && Facing == eBlockFace::BLOCK_FACE_XP && Powered) return 16775;
- return 16776;
- }
- short PolishedBlackstoneButton();
- enum Face Face(short ID);
- eBlockFace Facing(short ID);
- bool Powered(short ID);
- }
- namespace PolishedBlackstonePressurePlate
- {
- constexpr short PolishedBlackstonePressurePlate(bool Powered)
- {
- if (Powered) return 16751;
- return 16752;
- }
- short PolishedBlackstonePressurePlate();
- bool Powered(short ID);
- }
- namespace PolishedBlackstoneSlab
- {
- enum class Type
- {
- Top,
- Bottom,
- Double
- };
- constexpr short PolishedBlackstoneSlab(enum Type Type)
- {
- if (Type == Type::Top) return 16746;
- if (Type == Type::Bottom) return 16748;
- return 16750;
- }
- short PolishedBlackstoneSlab();
- enum Type Type(short ID);
- }
- namespace PolishedBlackstoneStairs
- {
- enum class Half
- {
- Top,
- Bottom
- };
- enum class Shape
- {
- Straight,
- InnerLeft,
- InnerRight,
- OuterLeft,
- OuterRight
- };
- constexpr short PolishedBlackstoneStairs(eBlockFace Facing, enum Half Half, enum Shape Shape)
- {
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Top && Shape == Shape::Straight) return 16666;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Top && Shape == Shape::InnerLeft) return 16668;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Top && Shape == Shape::InnerRight) return 16670;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Top && Shape == Shape::OuterLeft) return 16672;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Top && Shape == Shape::OuterRight) return 16674;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Bottom && Shape == Shape::Straight) return 16676;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Bottom && Shape == Shape::InnerLeft) return 16678;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Bottom && Shape == Shape::InnerRight) return 16680;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Bottom && Shape == Shape::OuterLeft) return 16682;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Bottom && Shape == Shape::OuterRight) return 16684;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Top && Shape == Shape::Straight) return 16686;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Top && Shape == Shape::InnerLeft) return 16688;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Top && Shape == Shape::InnerRight) return 16690;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Top && Shape == Shape::OuterLeft) return 16692;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Top && Shape == Shape::OuterRight) return 16694;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Bottom && Shape == Shape::Straight) return 16696;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Bottom && Shape == Shape::InnerLeft) return 16698;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Bottom && Shape == Shape::InnerRight) return 16700;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Bottom && Shape == Shape::OuterLeft) return 16702;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Bottom && Shape == Shape::OuterRight) return 16704;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Top && Shape == Shape::Straight) return 16706;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Top && Shape == Shape::InnerLeft) return 16708;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Top && Shape == Shape::InnerRight) return 16710;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Top && Shape == Shape::OuterLeft) return 16712;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Top && Shape == Shape::OuterRight) return 16714;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Bottom && Shape == Shape::Straight) return 16716;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Bottom && Shape == Shape::InnerLeft) return 16718;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Bottom && Shape == Shape::InnerRight) return 16720;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Bottom && Shape == Shape::OuterLeft) return 16722;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Bottom && Shape == Shape::OuterRight) return 16724;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Top && Shape == Shape::Straight) return 16726;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Top && Shape == Shape::InnerLeft) return 16728;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Top && Shape == Shape::InnerRight) return 16730;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Top && Shape == Shape::OuterLeft) return 16732;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Top && Shape == Shape::OuterRight) return 16734;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Bottom && Shape == Shape::Straight) return 16736;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Bottom && Shape == Shape::InnerLeft) return 16738;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Bottom && Shape == Shape::InnerRight) return 16740;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Bottom && Shape == Shape::OuterLeft) return 16742;
- return 16744;
- }
- short PolishedBlackstoneStairs();
- eBlockFace Facing(short ID);
- enum Half Half(short ID);
- enum Shape Shape(short ID);
- }
- namespace PolishedBlackstoneWall
- {
- enum class East
- {
- None,
- Low,
- Tall
- };
- enum class North
- {
- None,
- Low,
- Tall
- };
- enum class South
- {
- None,
- Low,
- Tall
- };
- enum class West
- {
- None,
- Low,
- Tall
- };
- constexpr short PolishedBlackstoneWall(enum East East, enum North North, enum South South, bool Up, enum West West)
- {
- if (East == East::None && North == North::None && South == South::None && Up && West == West::None) return 16780;
- if (East == East::None && North == North::None && South == South::None && Up && West == West::Low) return 16781;
- if (East == East::None && North == North::None && South == South::None && Up && West == West::Tall) return 16782;
- if (East == East::None && North == North::None && South == South::None && !Up && West == West::None) return 16786;
- if (East == East::None && North == North::None && South == South::None && !Up && West == West::Low) return 16787;
- if (East == East::None && North == North::None && South == South::None && !Up && West == West::Tall) return 16788;
- if (East == East::None && North == North::None && South == South::Low && Up && West == West::None) return 16792;
- if (East == East::None && North == North::None && South == South::Low && Up && West == West::Low) return 16793;
- if (East == East::None && North == North::None && South == South::Low && Up && West == West::Tall) return 16794;
- if (East == East::None && North == North::None && South == South::Low && !Up && West == West::None) return 16798;
- if (East == East::None && North == North::None && South == South::Low && !Up && West == West::Low) return 16799;
- if (East == East::None && North == North::None && South == South::Low && !Up && West == West::Tall) return 16800;
- if (East == East::None && North == North::None && South == South::Tall && Up && West == West::None) return 16804;
- if (East == East::None && North == North::None && South == South::Tall && Up && West == West::Low) return 16805;
- if (East == East::None && North == North::None && South == South::Tall && Up && West == West::Tall) return 16806;
- if (East == East::None && North == North::None && South == South::Tall && !Up && West == West::None) return 16810;
- if (East == East::None && North == North::None && South == South::Tall && !Up && West == West::Low) return 16811;
- if (East == East::None && North == North::None && South == South::Tall && !Up && West == West::Tall) return 16812;
- if (East == East::None && North == North::Low && South == South::None && Up && West == West::None) return 16816;
- if (East == East::None && North == North::Low && South == South::None && Up && West == West::Low) return 16817;
- if (East == East::None && North == North::Low && South == South::None && Up && West == West::Tall) return 16818;
- if (East == East::None && North == North::Low && South == South::None && !Up && West == West::None) return 16822;
- if (East == East::None && North == North::Low && South == South::None && !Up && West == West::Low) return 16823;
- if (East == East::None && North == North::Low && South == South::None && !Up && West == West::Tall) return 16824;
- if (East == East::None && North == North::Low && South == South::Low && Up && West == West::None) return 16828;
- if (East == East::None && North == North::Low && South == South::Low && Up && West == West::Low) return 16829;
- if (East == East::None && North == North::Low && South == South::Low && Up && West == West::Tall) return 16830;
- if (East == East::None && North == North::Low && South == South::Low && !Up && West == West::None) return 16834;
- if (East == East::None && North == North::Low && South == South::Low && !Up && West == West::Low) return 16835;
- if (East == East::None && North == North::Low && South == South::Low && !Up && West == West::Tall) return 16836;
- if (East == East::None && North == North::Low && South == South::Tall && Up && West == West::None) return 16840;
- if (East == East::None && North == North::Low && South == South::Tall && Up && West == West::Low) return 16841;
- if (East == East::None && North == North::Low && South == South::Tall && Up && West == West::Tall) return 16842;
- if (East == East::None && North == North::Low && South == South::Tall && !Up && West == West::None) return 16846;
- if (East == East::None && North == North::Low && South == South::Tall && !Up && West == West::Low) return 16847;
- if (East == East::None && North == North::Low && South == South::Tall && !Up && West == West::Tall) return 16848;
- if (East == East::None && North == North::Tall && South == South::None && Up && West == West::None) return 16852;
- if (East == East::None && North == North::Tall && South == South::None && Up && West == West::Low) return 16853;
- if (East == East::None && North == North::Tall && South == South::None && Up && West == West::Tall) return 16854;
- if (East == East::None && North == North::Tall && South == South::None && !Up && West == West::None) return 16858;
- if (East == East::None && North == North::Tall && South == South::None && !Up && West == West::Low) return 16859;
- if (East == East::None && North == North::Tall && South == South::None && !Up && West == West::Tall) return 16860;
- if (East == East::None && North == North::Tall && South == South::Low && Up && West == West::None) return 16864;
- if (East == East::None && North == North::Tall && South == South::Low && Up && West == West::Low) return 16865;
- if (East == East::None && North == North::Tall && South == South::Low && Up && West == West::Tall) return 16866;
- if (East == East::None && North == North::Tall && South == South::Low && !Up && West == West::None) return 16870;
- if (East == East::None && North == North::Tall && South == South::Low && !Up && West == West::Low) return 16871;
- if (East == East::None && North == North::Tall && South == South::Low && !Up && West == West::Tall) return 16872;
- if (East == East::None && North == North::Tall && South == South::Tall && Up && West == West::None) return 16876;
- if (East == East::None && North == North::Tall && South == South::Tall && Up && West == West::Low) return 16877;
- if (East == East::None && North == North::Tall && South == South::Tall && Up && West == West::Tall) return 16878;
- if (East == East::None && North == North::Tall && South == South::Tall && !Up && West == West::None) return 16882;
- if (East == East::None && North == North::Tall && South == South::Tall && !Up && West == West::Low) return 16883;
- if (East == East::None && North == North::Tall && South == South::Tall && !Up && West == West::Tall) return 16884;
- if (East == East::Low && North == North::None && South == South::None && Up && West == West::None) return 16888;
- if (East == East::Low && North == North::None && South == South::None && Up && West == West::Low) return 16889;
- if (East == East::Low && North == North::None && South == South::None && Up && West == West::Tall) return 16890;
- if (East == East::Low && North == North::None && South == South::None && !Up && West == West::None) return 16894;
- if (East == East::Low && North == North::None && South == South::None && !Up && West == West::Low) return 16895;
- if (East == East::Low && North == North::None && South == South::None && !Up && West == West::Tall) return 16896;
- if (East == East::Low && North == North::None && South == South::Low && Up && West == West::None) return 16900;
- if (East == East::Low && North == North::None && South == South::Low && Up && West == West::Low) return 16901;
- if (East == East::Low && North == North::None && South == South::Low && Up && West == West::Tall) return 16902;
- if (East == East::Low && North == North::None && South == South::Low && !Up && West == West::None) return 16906;
- if (East == East::Low && North == North::None && South == South::Low && !Up && West == West::Low) return 16907;
- if (East == East::Low && North == North::None && South == South::Low && !Up && West == West::Tall) return 16908;
- if (East == East::Low && North == North::None && South == South::Tall && Up && West == West::None) return 16912;
- if (East == East::Low && North == North::None && South == South::Tall && Up && West == West::Low) return 16913;
- if (East == East::Low && North == North::None && South == South::Tall && Up && West == West::Tall) return 16914;
- if (East == East::Low && North == North::None && South == South::Tall && !Up && West == West::None) return 16918;
- if (East == East::Low && North == North::None && South == South::Tall && !Up && West == West::Low) return 16919;
- if (East == East::Low && North == North::None && South == South::Tall && !Up && West == West::Tall) return 16920;
- if (East == East::Low && North == North::Low && South == South::None && Up && West == West::None) return 16924;
- if (East == East::Low && North == North::Low && South == South::None && Up && West == West::Low) return 16925;
- if (East == East::Low && North == North::Low && South == South::None && Up && West == West::Tall) return 16926;
- if (East == East::Low && North == North::Low && South == South::None && !Up && West == West::None) return 16930;
- if (East == East::Low && North == North::Low && South == South::None && !Up && West == West::Low) return 16931;
- if (East == East::Low && North == North::Low && South == South::None && !Up && West == West::Tall) return 16932;
- if (East == East::Low && North == North::Low && South == South::Low && Up && West == West::None) return 16936;
- if (East == East::Low && North == North::Low && South == South::Low && Up && West == West::Low) return 16937;
- if (East == East::Low && North == North::Low && South == South::Low && Up && West == West::Tall) return 16938;
- if (East == East::Low && North == North::Low && South == South::Low && !Up && West == West::None) return 16942;
- if (East == East::Low && North == North::Low && South == South::Low && !Up && West == West::Low) return 16943;
- if (East == East::Low && North == North::Low && South == South::Low && !Up && West == West::Tall) return 16944;
- if (East == East::Low && North == North::Low && South == South::Tall && Up && West == West::None) return 16948;
- if (East == East::Low && North == North::Low && South == South::Tall && Up && West == West::Low) return 16949;
- if (East == East::Low && North == North::Low && South == South::Tall && Up && West == West::Tall) return 16950;
- if (East == East::Low && North == North::Low && South == South::Tall && !Up && West == West::None) return 16954;
- if (East == East::Low && North == North::Low && South == South::Tall && !Up && West == West::Low) return 16955;
- if (East == East::Low && North == North::Low && South == South::Tall && !Up && West == West::Tall) return 16956;
- if (East == East::Low && North == North::Tall && South == South::None && Up && West == West::None) return 16960;
- if (East == East::Low && North == North::Tall && South == South::None && Up && West == West::Low) return 16961;
- if (East == East::Low && North == North::Tall && South == South::None && Up && West == West::Tall) return 16962;
- if (East == East::Low && North == North::Tall && South == South::None && !Up && West == West::None) return 16966;
- if (East == East::Low && North == North::Tall && South == South::None && !Up && West == West::Low) return 16967;
- if (East == East::Low && North == North::Tall && South == South::None && !Up && West == West::Tall) return 16968;
- if (East == East::Low && North == North::Tall && South == South::Low && Up && West == West::None) return 16972;
- if (East == East::Low && North == North::Tall && South == South::Low && Up && West == West::Low) return 16973;
- if (East == East::Low && North == North::Tall && South == South::Low && Up && West == West::Tall) return 16974;
- if (East == East::Low && North == North::Tall && South == South::Low && !Up && West == West::None) return 16978;
- if (East == East::Low && North == North::Tall && South == South::Low && !Up && West == West::Low) return 16979;
- if (East == East::Low && North == North::Tall && South == South::Low && !Up && West == West::Tall) return 16980;
- if (East == East::Low && North == North::Tall && South == South::Tall && Up && West == West::None) return 16984;
- if (East == East::Low && North == North::Tall && South == South::Tall && Up && West == West::Low) return 16985;
- if (East == East::Low && North == North::Tall && South == South::Tall && Up && West == West::Tall) return 16986;
- if (East == East::Low && North == North::Tall && South == South::Tall && !Up && West == West::None) return 16990;
- if (East == East::Low && North == North::Tall && South == South::Tall && !Up && West == West::Low) return 16991;
- if (East == East::Low && North == North::Tall && South == South::Tall && !Up && West == West::Tall) return 16992;
- if (East == East::Tall && North == North::None && South == South::None && Up && West == West::None) return 16996;
- if (East == East::Tall && North == North::None && South == South::None && Up && West == West::Low) return 16997;
- if (East == East::Tall && North == North::None && South == South::None && Up && West == West::Tall) return 16998;
- if (East == East::Tall && North == North::None && South == South::None && !Up && West == West::None) return 17002;
- if (East == East::Tall && North == North::None && South == South::None && !Up && West == West::Low) return 17003;
- if (East == East::Tall && North == North::None && South == South::None && !Up && West == West::Tall) return 17004;
- if (East == East::Tall && North == North::None && South == South::Low && Up && West == West::None) return 17008;
- if (East == East::Tall && North == North::None && South == South::Low && Up && West == West::Low) return 17009;
- if (East == East::Tall && North == North::None && South == South::Low && Up && West == West::Tall) return 17010;
- if (East == East::Tall && North == North::None && South == South::Low && !Up && West == West::None) return 17014;
- if (East == East::Tall && North == North::None && South == South::Low && !Up && West == West::Low) return 17015;
- if (East == East::Tall && North == North::None && South == South::Low && !Up && West == West::Tall) return 17016;
- if (East == East::Tall && North == North::None && South == South::Tall && Up && West == West::None) return 17020;
- if (East == East::Tall && North == North::None && South == South::Tall && Up && West == West::Low) return 17021;
- if (East == East::Tall && North == North::None && South == South::Tall && Up && West == West::Tall) return 17022;
- if (East == East::Tall && North == North::None && South == South::Tall && !Up && West == West::None) return 17026;
- if (East == East::Tall && North == North::None && South == South::Tall && !Up && West == West::Low) return 17027;
- if (East == East::Tall && North == North::None && South == South::Tall && !Up && West == West::Tall) return 17028;
- if (East == East::Tall && North == North::Low && South == South::None && Up && West == West::None) return 17032;
- if (East == East::Tall && North == North::Low && South == South::None && Up && West == West::Low) return 17033;
- if (East == East::Tall && North == North::Low && South == South::None && Up && West == West::Tall) return 17034;
- if (East == East::Tall && North == North::Low && South == South::None && !Up && West == West::None) return 17038;
- if (East == East::Tall && North == North::Low && South == South::None && !Up && West == West::Low) return 17039;
- if (East == East::Tall && North == North::Low && South == South::None && !Up && West == West::Tall) return 17040;
- if (East == East::Tall && North == North::Low && South == South::Low && Up && West == West::None) return 17044;
- if (East == East::Tall && North == North::Low && South == South::Low && Up && West == West::Low) return 17045;
- if (East == East::Tall && North == North::Low && South == South::Low && Up && West == West::Tall) return 17046;
- if (East == East::Tall && North == North::Low && South == South::Low && !Up && West == West::None) return 17050;
- if (East == East::Tall && North == North::Low && South == South::Low && !Up && West == West::Low) return 17051;
- if (East == East::Tall && North == North::Low && South == South::Low && !Up && West == West::Tall) return 17052;
- if (East == East::Tall && North == North::Low && South == South::Tall && Up && West == West::None) return 17056;
- if (East == East::Tall && North == North::Low && South == South::Tall && Up && West == West::Low) return 17057;
- if (East == East::Tall && North == North::Low && South == South::Tall && Up && West == West::Tall) return 17058;
- if (East == East::Tall && North == North::Low && South == South::Tall && !Up && West == West::None) return 17062;
- if (East == East::Tall && North == North::Low && South == South::Tall && !Up && West == West::Low) return 17063;
- if (East == East::Tall && North == North::Low && South == South::Tall && !Up && West == West::Tall) return 17064;
- if (East == East::Tall && North == North::Tall && South == South::None && Up && West == West::None) return 17068;
- if (East == East::Tall && North == North::Tall && South == South::None && Up && West == West::Low) return 17069;
- if (East == East::Tall && North == North::Tall && South == South::None && Up && West == West::Tall) return 17070;
- if (East == East::Tall && North == North::Tall && South == South::None && !Up && West == West::None) return 17074;
- if (East == East::Tall && North == North::Tall && South == South::None && !Up && West == West::Low) return 17075;
- if (East == East::Tall && North == North::Tall && South == South::None && !Up && West == West::Tall) return 17076;
- if (East == East::Tall && North == North::Tall && South == South::Low && Up && West == West::None) return 17080;
- if (East == East::Tall && North == North::Tall && South == South::Low && Up && West == West::Low) return 17081;
- if (East == East::Tall && North == North::Tall && South == South::Low && Up && West == West::Tall) return 17082;
- if (East == East::Tall && North == North::Tall && South == South::Low && !Up && West == West::None) return 17086;
- if (East == East::Tall && North == North::Tall && South == South::Low && !Up && West == West::Low) return 17087;
- if (East == East::Tall && North == North::Tall && South == South::Low && !Up && West == West::Tall) return 17088;
- if (East == East::Tall && North == North::Tall && South == South::Tall && Up && West == West::None) return 17092;
- if (East == East::Tall && North == North::Tall && South == South::Tall && Up && West == West::Low) return 17093;
- if (East == East::Tall && North == North::Tall && South == South::Tall && Up && West == West::Tall) return 17094;
- if (East == East::Tall && North == North::Tall && South == South::Tall && !Up && West == West::None) return 17098;
- if (East == East::Tall && North == North::Tall && South == South::Tall && !Up && West == West::Low) return 17099;
- return 17100;
- }
- short PolishedBlackstoneWall();
- enum East East(short ID);
- enum North North(short ID);
- enum South South(short ID);
- bool Up(short ID);
- enum West West(short ID);
- }
- namespace PolishedDiorite
- {
- constexpr short PolishedDiorite()
- {
- return 5;
- }
- }
- namespace PolishedDioriteSlab
- {
- enum class Type
- {
- Top,
- Bottom,
- Double
- };
- constexpr short PolishedDioriteSlab(enum Type Type)
- {
- if (Type == Type::Top) return 10808;
- if (Type == Type::Bottom) return 10810;
- return 10812;
- }
- short PolishedDioriteSlab();
- enum Type Type(short ID);
- }
- namespace PolishedDioriteStairs
- {
- enum class Half
- {
- Top,
- Bottom
- };
- enum class Shape
- {
- Straight,
- InnerLeft,
- InnerRight,
- OuterLeft,
- OuterRight
- };
- constexpr short PolishedDioriteStairs(eBlockFace Facing, enum Half Half, enum Shape Shape)
- {
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Top && Shape == Shape::Straight) return 9910;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Top && Shape == Shape::InnerLeft) return 9912;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Top && Shape == Shape::InnerRight) return 9914;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Top && Shape == Shape::OuterLeft) return 9916;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Top && Shape == Shape::OuterRight) return 9918;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Bottom && Shape == Shape::Straight) return 9920;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Bottom && Shape == Shape::InnerLeft) return 9922;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Bottom && Shape == Shape::InnerRight) return 9924;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Bottom && Shape == Shape::OuterLeft) return 9926;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Bottom && Shape == Shape::OuterRight) return 9928;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Top && Shape == Shape::Straight) return 9930;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Top && Shape == Shape::InnerLeft) return 9932;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Top && Shape == Shape::InnerRight) return 9934;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Top && Shape == Shape::OuterLeft) return 9936;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Top && Shape == Shape::OuterRight) return 9938;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Bottom && Shape == Shape::Straight) return 9940;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Bottom && Shape == Shape::InnerLeft) return 9942;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Bottom && Shape == Shape::InnerRight) return 9944;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Bottom && Shape == Shape::OuterLeft) return 9946;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Bottom && Shape == Shape::OuterRight) return 9948;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Top && Shape == Shape::Straight) return 9950;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Top && Shape == Shape::InnerLeft) return 9952;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Top && Shape == Shape::InnerRight) return 9954;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Top && Shape == Shape::OuterLeft) return 9956;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Top && Shape == Shape::OuterRight) return 9958;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Bottom && Shape == Shape::Straight) return 9960;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Bottom && Shape == Shape::InnerLeft) return 9962;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Bottom && Shape == Shape::InnerRight) return 9964;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Bottom && Shape == Shape::OuterLeft) return 9966;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Bottom && Shape == Shape::OuterRight) return 9968;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Top && Shape == Shape::Straight) return 9970;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Top && Shape == Shape::InnerLeft) return 9972;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Top && Shape == Shape::InnerRight) return 9974;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Top && Shape == Shape::OuterLeft) return 9976;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Top && Shape == Shape::OuterRight) return 9978;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Bottom && Shape == Shape::Straight) return 9980;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Bottom && Shape == Shape::InnerLeft) return 9982;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Bottom && Shape == Shape::InnerRight) return 9984;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Bottom && Shape == Shape::OuterLeft) return 9986;
- return 9988;
- }
- short PolishedDioriteStairs();
- eBlockFace Facing(short ID);
- enum Half Half(short ID);
- enum Shape Shape(short ID);
- }
- namespace PolishedGranite
- {
- constexpr short PolishedGranite()
- {
- return 3;
- }
- }
- namespace PolishedGraniteSlab
- {
- enum class Type
- {
- Top,
- Bottom,
- Double
- };
- constexpr short PolishedGraniteSlab(enum Type Type)
- {
- if (Type == Type::Top) return 10790;
- if (Type == Type::Bottom) return 10792;
- return 10794;
- }
- short PolishedGraniteSlab();
- enum Type Type(short ID);
- }
- namespace PolishedGraniteStairs
- {
- enum class Half
- {
- Top,
- Bottom
- };
- enum class Shape
- {
- Straight,
- InnerLeft,
- InnerRight,
- OuterLeft,
- OuterRight
- };
- constexpr short PolishedGraniteStairs(eBlockFace Facing, enum Half Half, enum Shape Shape)
- {
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Top && Shape == Shape::Straight) return 9670;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Top && Shape == Shape::InnerLeft) return 9672;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Top && Shape == Shape::InnerRight) return 9674;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Top && Shape == Shape::OuterLeft) return 9676;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Top && Shape == Shape::OuterRight) return 9678;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Bottom && Shape == Shape::Straight) return 9680;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Bottom && Shape == Shape::InnerLeft) return 9682;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Bottom && Shape == Shape::InnerRight) return 9684;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Bottom && Shape == Shape::OuterLeft) return 9686;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Bottom && Shape == Shape::OuterRight) return 9688;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Top && Shape == Shape::Straight) return 9690;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Top && Shape == Shape::InnerLeft) return 9692;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Top && Shape == Shape::InnerRight) return 9694;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Top && Shape == Shape::OuterLeft) return 9696;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Top && Shape == Shape::OuterRight) return 9698;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Bottom && Shape == Shape::Straight) return 9700;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Bottom && Shape == Shape::InnerLeft) return 9702;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Bottom && Shape == Shape::InnerRight) return 9704;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Bottom && Shape == Shape::OuterLeft) return 9706;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Bottom && Shape == Shape::OuterRight) return 9708;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Top && Shape == Shape::Straight) return 9710;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Top && Shape == Shape::InnerLeft) return 9712;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Top && Shape == Shape::InnerRight) return 9714;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Top && Shape == Shape::OuterLeft) return 9716;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Top && Shape == Shape::OuterRight) return 9718;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Bottom && Shape == Shape::Straight) return 9720;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Bottom && Shape == Shape::InnerLeft) return 9722;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Bottom && Shape == Shape::InnerRight) return 9724;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Bottom && Shape == Shape::OuterLeft) return 9726;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Bottom && Shape == Shape::OuterRight) return 9728;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Top && Shape == Shape::Straight) return 9730;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Top && Shape == Shape::InnerLeft) return 9732;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Top && Shape == Shape::InnerRight) return 9734;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Top && Shape == Shape::OuterLeft) return 9736;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Top && Shape == Shape::OuterRight) return 9738;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Bottom && Shape == Shape::Straight) return 9740;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Bottom && Shape == Shape::InnerLeft) return 9742;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Bottom && Shape == Shape::InnerRight) return 9744;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Bottom && Shape == Shape::OuterLeft) return 9746;
- return 9748;
- }
- short PolishedGraniteStairs();
- eBlockFace Facing(short ID);
- enum Half Half(short ID);
- enum Shape Shape(short ID);
- }
- namespace Poppy
- {
- constexpr short Poppy()
- {
- return 1413;
- }
- }
- namespace Potatoes
- {
- constexpr short Potatoes(unsigned char Age)
- {
- if (Age == 0) return 6338;
- if (Age == 1) return 6339;
- if (Age == 2) return 6340;
- if (Age == 3) return 6341;
- if (Age == 4) return 6342;
- if (Age == 5) return 6343;
- if (Age == 6) return 6344;
- return 6345;
- }
- short Potatoes();
- unsigned char Age(short ID);
- }
- namespace PottedAcaciaSapling
- {
- constexpr short PottedAcaciaSapling()
- {
- return 6310;
- }
- }
- namespace PottedAllium
- {
- constexpr short PottedAllium()
- {
- return 6316;
- }
- }
- namespace PottedAzureBluet
- {
- constexpr short PottedAzureBluet()
- {
- return 6317;
- }
- }
- namespace PottedBamboo
- {
- constexpr short PottedBamboo()
- {
- return 9664;
- }
- }
- namespace PottedBirchSapling
- {
- constexpr short PottedBirchSapling()
- {
- return 6308;
- }
- }
- namespace PottedBlueOrchid
- {
- constexpr short PottedBlueOrchid()
- {
- return 6315;
- }
- }
- namespace PottedBrownMushroom
- {
- constexpr short PottedBrownMushroom()
- {
- return 6327;
- }
- }
- namespace PottedCactus
- {
- constexpr short PottedCactus()
- {
- return 6329;
- }
- }
- namespace PottedCornflower
- {
- constexpr short PottedCornflower()
- {
- return 6323;
- }
- }
- namespace PottedCrimsonFungus
- {
- constexpr short PottedCrimsonFungus()
- {
- return 15834;
- }
- }
- namespace PottedCrimsonRoots
- {
- constexpr short PottedCrimsonRoots()
- {
- return 15836;
- }
- }
- namespace PottedDandelion
- {
- constexpr short PottedDandelion()
- {
- return 6313;
- }
- }
- namespace PottedDarkOakSapling
- {
- constexpr short PottedDarkOakSapling()
- {
- return 6311;
- }
- }
- namespace PottedDeadBush
- {
- constexpr short PottedDeadBush()
- {
- return 6328;
- }
- }
- namespace PottedFern
- {
- constexpr short PottedFern()
- {
- return 6312;
- }
- }
- namespace PottedJungleSapling
- {
- constexpr short PottedJungleSapling()
- {
- return 6309;
- }
- }
- namespace PottedLilyOfTheValley
- {
- constexpr short PottedLilyOfTheValley()
- {
- return 6324;
- }
- }
- namespace PottedOakSapling
- {
- constexpr short PottedOakSapling()
- {
- return 6306;
- }
- }
- namespace PottedOrangeTulip
- {
- constexpr short PottedOrangeTulip()
- {
- return 6319;
- }
- }
- namespace PottedOxeyeDaisy
- {
- constexpr short PottedOxeyeDaisy()
- {
- return 6322;
- }
- }
- namespace PottedPinkTulip
- {
- constexpr short PottedPinkTulip()
- {
- return 6321;
- }
- }
- namespace PottedPoppy
- {
- constexpr short PottedPoppy()
- {
- return 6314;
- }
- }
- namespace PottedRedMushroom
- {
- constexpr short PottedRedMushroom()
- {
- return 6326;
- }
- }
- namespace PottedRedTulip
- {
- constexpr short PottedRedTulip()
- {
- return 6318;
- }
- }
- namespace PottedSpruceSapling
- {
- constexpr short PottedSpruceSapling()
- {
- return 6307;
- }
- }
- namespace PottedWarpedFungus
- {
- constexpr short PottedWarpedFungus()
- {
- return 15835;
- }
- }
- namespace PottedWarpedRoots
- {
- constexpr short PottedWarpedRoots()
- {
- return 15837;
- }
- }
- namespace PottedWhiteTulip
- {
- constexpr short PottedWhiteTulip()
- {
- return 6320;
- }
- }
- namespace PottedWitherRose
- {
- constexpr short PottedWitherRose()
- {
- return 6325;
- }
- }
- namespace PoweredRail
- {
- enum class Shape
- {
- NorthSouth,
- EastWest,
- AscendingEast,
- AscendingWest,
- AscendingNorth,
- AscendingSouth
- };
- constexpr short PoweredRail(bool Powered, enum Shape Shape)
- {
- if (Powered && Shape == Shape::NorthSouth) return 1305;
- if (Powered && Shape == Shape::EastWest) return 1306;
- if (Powered && Shape == Shape::AscendingEast) return 1307;
- if (Powered && Shape == Shape::AscendingWest) return 1308;
- if (Powered && Shape == Shape::AscendingNorth) return 1309;
- if (Powered && Shape == Shape::AscendingSouth) return 1310;
- if (!Powered && Shape == Shape::NorthSouth) return 1311;
- if (!Powered && Shape == Shape::EastWest) return 1312;
- if (!Powered && Shape == Shape::AscendingEast) return 1313;
- if (!Powered && Shape == Shape::AscendingWest) return 1314;
- if (!Powered && Shape == Shape::AscendingNorth) return 1315;
- return 1316;
- }
- short PoweredRail();
- bool Powered(short ID);
- enum Shape Shape(short ID);
- }
- namespace Prismarine
- {
- constexpr short Prismarine()
- {
- return 7601;
- }
- }
- namespace PrismarineBrickSlab
- {
- enum class Type
- {
- Top,
- Bottom,
- Double
- };
- constexpr short PrismarineBrickSlab(enum Type Type)
- {
- if (Type == Type::Top) return 7851;
- if (Type == Type::Bottom) return 7853;
- return 7855;
- }
- short PrismarineBrickSlab();
- enum Type Type(short ID);
- }
- namespace PrismarineBrickStairs
- {
- enum class Half
- {
- Top,
- Bottom
- };
- enum class Shape
- {
- Straight,
- InnerLeft,
- InnerRight,
- OuterLeft,
- OuterRight
- };
- constexpr short PrismarineBrickStairs(eBlockFace Facing, enum Half Half, enum Shape Shape)
- {
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Top && Shape == Shape::Straight) return 7685;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Top && Shape == Shape::InnerLeft) return 7687;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Top && Shape == Shape::InnerRight) return 7689;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Top && Shape == Shape::OuterLeft) return 7691;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Top && Shape == Shape::OuterRight) return 7693;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Bottom && Shape == Shape::Straight) return 7695;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Bottom && Shape == Shape::InnerLeft) return 7697;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Bottom && Shape == Shape::InnerRight) return 7699;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Bottom && Shape == Shape::OuterLeft) return 7701;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Bottom && Shape == Shape::OuterRight) return 7703;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Top && Shape == Shape::Straight) return 7705;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Top && Shape == Shape::InnerLeft) return 7707;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Top && Shape == Shape::InnerRight) return 7709;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Top && Shape == Shape::OuterLeft) return 7711;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Top && Shape == Shape::OuterRight) return 7713;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Bottom && Shape == Shape::Straight) return 7715;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Bottom && Shape == Shape::InnerLeft) return 7717;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Bottom && Shape == Shape::InnerRight) return 7719;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Bottom && Shape == Shape::OuterLeft) return 7721;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Bottom && Shape == Shape::OuterRight) return 7723;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Top && Shape == Shape::Straight) return 7725;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Top && Shape == Shape::InnerLeft) return 7727;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Top && Shape == Shape::InnerRight) return 7729;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Top && Shape == Shape::OuterLeft) return 7731;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Top && Shape == Shape::OuterRight) return 7733;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Bottom && Shape == Shape::Straight) return 7735;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Bottom && Shape == Shape::InnerLeft) return 7737;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Bottom && Shape == Shape::InnerRight) return 7739;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Bottom && Shape == Shape::OuterLeft) return 7741;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Bottom && Shape == Shape::OuterRight) return 7743;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Top && Shape == Shape::Straight) return 7745;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Top && Shape == Shape::InnerLeft) return 7747;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Top && Shape == Shape::InnerRight) return 7749;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Top && Shape == Shape::OuterLeft) return 7751;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Top && Shape == Shape::OuterRight) return 7753;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Bottom && Shape == Shape::Straight) return 7755;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Bottom && Shape == Shape::InnerLeft) return 7757;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Bottom && Shape == Shape::InnerRight) return 7759;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Bottom && Shape == Shape::OuterLeft) return 7761;
- return 7763;
- }
- short PrismarineBrickStairs();
- eBlockFace Facing(short ID);
- enum Half Half(short ID);
- enum Shape Shape(short ID);
- }
- namespace PrismarineBricks
- {
- constexpr short PrismarineBricks()
- {
- return 7602;
- }
- }
- namespace PrismarineSlab
- {
- enum class Type
- {
- Top,
- Bottom,
- Double
- };
- constexpr short PrismarineSlab(enum Type Type)
- {
- if (Type == Type::Top) return 7845;
- if (Type == Type::Bottom) return 7847;
- return 7849;
- }
- short PrismarineSlab();
- enum Type Type(short ID);
- }
- namespace PrismarineStairs
- {
- enum class Half
- {
- Top,
- Bottom
- };
- enum class Shape
- {
- Straight,
- InnerLeft,
- InnerRight,
- OuterLeft,
- OuterRight
- };
- constexpr short PrismarineStairs(eBlockFace Facing, enum Half Half, enum Shape Shape)
- {
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Top && Shape == Shape::Straight) return 7605;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Top && Shape == Shape::InnerLeft) return 7607;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Top && Shape == Shape::InnerRight) return 7609;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Top && Shape == Shape::OuterLeft) return 7611;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Top && Shape == Shape::OuterRight) return 7613;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Bottom && Shape == Shape::Straight) return 7615;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Bottom && Shape == Shape::InnerLeft) return 7617;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Bottom && Shape == Shape::InnerRight) return 7619;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Bottom && Shape == Shape::OuterLeft) return 7621;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Bottom && Shape == Shape::OuterRight) return 7623;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Top && Shape == Shape::Straight) return 7625;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Top && Shape == Shape::InnerLeft) return 7627;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Top && Shape == Shape::InnerRight) return 7629;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Top && Shape == Shape::OuterLeft) return 7631;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Top && Shape == Shape::OuterRight) return 7633;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Bottom && Shape == Shape::Straight) return 7635;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Bottom && Shape == Shape::InnerLeft) return 7637;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Bottom && Shape == Shape::InnerRight) return 7639;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Bottom && Shape == Shape::OuterLeft) return 7641;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Bottom && Shape == Shape::OuterRight) return 7643;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Top && Shape == Shape::Straight) return 7645;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Top && Shape == Shape::InnerLeft) return 7647;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Top && Shape == Shape::InnerRight) return 7649;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Top && Shape == Shape::OuterLeft) return 7651;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Top && Shape == Shape::OuterRight) return 7653;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Bottom && Shape == Shape::Straight) return 7655;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Bottom && Shape == Shape::InnerLeft) return 7657;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Bottom && Shape == Shape::InnerRight) return 7659;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Bottom && Shape == Shape::OuterLeft) return 7661;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Bottom && Shape == Shape::OuterRight) return 7663;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Top && Shape == Shape::Straight) return 7665;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Top && Shape == Shape::InnerLeft) return 7667;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Top && Shape == Shape::InnerRight) return 7669;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Top && Shape == Shape::OuterLeft) return 7671;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Top && Shape == Shape::OuterRight) return 7673;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Bottom && Shape == Shape::Straight) return 7675;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Bottom && Shape == Shape::InnerLeft) return 7677;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Bottom && Shape == Shape::InnerRight) return 7679;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Bottom && Shape == Shape::OuterLeft) return 7681;
- return 7683;
- }
- short PrismarineStairs();
- eBlockFace Facing(short ID);
- enum Half Half(short ID);
- enum Shape Shape(short ID);
- }
- namespace PrismarineWall
- {
- enum class East
- {
- None,
- Low,
- Tall
- };
- enum class North
- {
- None,
- Low,
- Tall
- };
- enum class South
- {
- None,
- Low,
- Tall
- };
- enum class West
- {
- None,
- Low,
- Tall
- };
- constexpr short PrismarineWall(enum East East, enum North North, enum South South, bool Up, enum West West)
- {
- if (East == East::None && North == North::None && South == South::None && Up && West == West::None) return 11194;
- if (East == East::None && North == North::None && South == South::None && Up && West == West::Low) return 11195;
- if (East == East::None && North == North::None && South == South::None && Up && West == West::Tall) return 11196;
- if (East == East::None && North == North::None && South == South::None && !Up && West == West::None) return 11200;
- if (East == East::None && North == North::None && South == South::None && !Up && West == West::Low) return 11201;
- if (East == East::None && North == North::None && South == South::None && !Up && West == West::Tall) return 11202;
- if (East == East::None && North == North::None && South == South::Low && Up && West == West::None) return 11206;
- if (East == East::None && North == North::None && South == South::Low && Up && West == West::Low) return 11207;
- if (East == East::None && North == North::None && South == South::Low && Up && West == West::Tall) return 11208;
- if (East == East::None && North == North::None && South == South::Low && !Up && West == West::None) return 11212;
- if (East == East::None && North == North::None && South == South::Low && !Up && West == West::Low) return 11213;
- if (East == East::None && North == North::None && South == South::Low && !Up && West == West::Tall) return 11214;
- if (East == East::None && North == North::None && South == South::Tall && Up && West == West::None) return 11218;
- if (East == East::None && North == North::None && South == South::Tall && Up && West == West::Low) return 11219;
- if (East == East::None && North == North::None && South == South::Tall && Up && West == West::Tall) return 11220;
- if (East == East::None && North == North::None && South == South::Tall && !Up && West == West::None) return 11224;
- if (East == East::None && North == North::None && South == South::Tall && !Up && West == West::Low) return 11225;
- if (East == East::None && North == North::None && South == South::Tall && !Up && West == West::Tall) return 11226;
- if (East == East::None && North == North::Low && South == South::None && Up && West == West::None) return 11230;
- if (East == East::None && North == North::Low && South == South::None && Up && West == West::Low) return 11231;
- if (East == East::None && North == North::Low && South == South::None && Up && West == West::Tall) return 11232;
- if (East == East::None && North == North::Low && South == South::None && !Up && West == West::None) return 11236;
- if (East == East::None && North == North::Low && South == South::None && !Up && West == West::Low) return 11237;
- if (East == East::None && North == North::Low && South == South::None && !Up && West == West::Tall) return 11238;
- if (East == East::None && North == North::Low && South == South::Low && Up && West == West::None) return 11242;
- if (East == East::None && North == North::Low && South == South::Low && Up && West == West::Low) return 11243;
- if (East == East::None && North == North::Low && South == South::Low && Up && West == West::Tall) return 11244;
- if (East == East::None && North == North::Low && South == South::Low && !Up && West == West::None) return 11248;
- if (East == East::None && North == North::Low && South == South::Low && !Up && West == West::Low) return 11249;
- if (East == East::None && North == North::Low && South == South::Low && !Up && West == West::Tall) return 11250;
- if (East == East::None && North == North::Low && South == South::Tall && Up && West == West::None) return 11254;
- if (East == East::None && North == North::Low && South == South::Tall && Up && West == West::Low) return 11255;
- if (East == East::None && North == North::Low && South == South::Tall && Up && West == West::Tall) return 11256;
- if (East == East::None && North == North::Low && South == South::Tall && !Up && West == West::None) return 11260;
- if (East == East::None && North == North::Low && South == South::Tall && !Up && West == West::Low) return 11261;
- if (East == East::None && North == North::Low && South == South::Tall && !Up && West == West::Tall) return 11262;
- if (East == East::None && North == North::Tall && South == South::None && Up && West == West::None) return 11266;
- if (East == East::None && North == North::Tall && South == South::None && Up && West == West::Low) return 11267;
- if (East == East::None && North == North::Tall && South == South::None && Up && West == West::Tall) return 11268;
- if (East == East::None && North == North::Tall && South == South::None && !Up && West == West::None) return 11272;
- if (East == East::None && North == North::Tall && South == South::None && !Up && West == West::Low) return 11273;
- if (East == East::None && North == North::Tall && South == South::None && !Up && West == West::Tall) return 11274;
- if (East == East::None && North == North::Tall && South == South::Low && Up && West == West::None) return 11278;
- if (East == East::None && North == North::Tall && South == South::Low && Up && West == West::Low) return 11279;
- if (East == East::None && North == North::Tall && South == South::Low && Up && West == West::Tall) return 11280;
- if (East == East::None && North == North::Tall && South == South::Low && !Up && West == West::None) return 11284;
- if (East == East::None && North == North::Tall && South == South::Low && !Up && West == West::Low) return 11285;
- if (East == East::None && North == North::Tall && South == South::Low && !Up && West == West::Tall) return 11286;
- if (East == East::None && North == North::Tall && South == South::Tall && Up && West == West::None) return 11290;
- if (East == East::None && North == North::Tall && South == South::Tall && Up && West == West::Low) return 11291;
- if (East == East::None && North == North::Tall && South == South::Tall && Up && West == West::Tall) return 11292;
- if (East == East::None && North == North::Tall && South == South::Tall && !Up && West == West::None) return 11296;
- if (East == East::None && North == North::Tall && South == South::Tall && !Up && West == West::Low) return 11297;
- if (East == East::None && North == North::Tall && South == South::Tall && !Up && West == West::Tall) return 11298;
- if (East == East::Low && North == North::None && South == South::None && Up && West == West::None) return 11302;
- if (East == East::Low && North == North::None && South == South::None && Up && West == West::Low) return 11303;
- if (East == East::Low && North == North::None && South == South::None && Up && West == West::Tall) return 11304;
- if (East == East::Low && North == North::None && South == South::None && !Up && West == West::None) return 11308;
- if (East == East::Low && North == North::None && South == South::None && !Up && West == West::Low) return 11309;
- if (East == East::Low && North == North::None && South == South::None && !Up && West == West::Tall) return 11310;
- if (East == East::Low && North == North::None && South == South::Low && Up && West == West::None) return 11314;
- if (East == East::Low && North == North::None && South == South::Low && Up && West == West::Low) return 11315;
- if (East == East::Low && North == North::None && South == South::Low && Up && West == West::Tall) return 11316;
- if (East == East::Low && North == North::None && South == South::Low && !Up && West == West::None) return 11320;
- if (East == East::Low && North == North::None && South == South::Low && !Up && West == West::Low) return 11321;
- if (East == East::Low && North == North::None && South == South::Low && !Up && West == West::Tall) return 11322;
- if (East == East::Low && North == North::None && South == South::Tall && Up && West == West::None) return 11326;
- if (East == East::Low && North == North::None && South == South::Tall && Up && West == West::Low) return 11327;
- if (East == East::Low && North == North::None && South == South::Tall && Up && West == West::Tall) return 11328;
- if (East == East::Low && North == North::None && South == South::Tall && !Up && West == West::None) return 11332;
- if (East == East::Low && North == North::None && South == South::Tall && !Up && West == West::Low) return 11333;
- if (East == East::Low && North == North::None && South == South::Tall && !Up && West == West::Tall) return 11334;
- if (East == East::Low && North == North::Low && South == South::None && Up && West == West::None) return 11338;
- if (East == East::Low && North == North::Low && South == South::None && Up && West == West::Low) return 11339;
- if (East == East::Low && North == North::Low && South == South::None && Up && West == West::Tall) return 11340;
- if (East == East::Low && North == North::Low && South == South::None && !Up && West == West::None) return 11344;
- if (East == East::Low && North == North::Low && South == South::None && !Up && West == West::Low) return 11345;
- if (East == East::Low && North == North::Low && South == South::None && !Up && West == West::Tall) return 11346;
- if (East == East::Low && North == North::Low && South == South::Low && Up && West == West::None) return 11350;
- if (East == East::Low && North == North::Low && South == South::Low && Up && West == West::Low) return 11351;
- if (East == East::Low && North == North::Low && South == South::Low && Up && West == West::Tall) return 11352;
- if (East == East::Low && North == North::Low && South == South::Low && !Up && West == West::None) return 11356;
- if (East == East::Low && North == North::Low && South == South::Low && !Up && West == West::Low) return 11357;
- if (East == East::Low && North == North::Low && South == South::Low && !Up && West == West::Tall) return 11358;
- if (East == East::Low && North == North::Low && South == South::Tall && Up && West == West::None) return 11362;
- if (East == East::Low && North == North::Low && South == South::Tall && Up && West == West::Low) return 11363;
- if (East == East::Low && North == North::Low && South == South::Tall && Up && West == West::Tall) return 11364;
- if (East == East::Low && North == North::Low && South == South::Tall && !Up && West == West::None) return 11368;
- if (East == East::Low && North == North::Low && South == South::Tall && !Up && West == West::Low) return 11369;
- if (East == East::Low && North == North::Low && South == South::Tall && !Up && West == West::Tall) return 11370;
- if (East == East::Low && North == North::Tall && South == South::None && Up && West == West::None) return 11374;
- if (East == East::Low && North == North::Tall && South == South::None && Up && West == West::Low) return 11375;
- if (East == East::Low && North == North::Tall && South == South::None && Up && West == West::Tall) return 11376;
- if (East == East::Low && North == North::Tall && South == South::None && !Up && West == West::None) return 11380;
- if (East == East::Low && North == North::Tall && South == South::None && !Up && West == West::Low) return 11381;
- if (East == East::Low && North == North::Tall && South == South::None && !Up && West == West::Tall) return 11382;
- if (East == East::Low && North == North::Tall && South == South::Low && Up && West == West::None) return 11386;
- if (East == East::Low && North == North::Tall && South == South::Low && Up && West == West::Low) return 11387;
- if (East == East::Low && North == North::Tall && South == South::Low && Up && West == West::Tall) return 11388;
- if (East == East::Low && North == North::Tall && South == South::Low && !Up && West == West::None) return 11392;
- if (East == East::Low && North == North::Tall && South == South::Low && !Up && West == West::Low) return 11393;
- if (East == East::Low && North == North::Tall && South == South::Low && !Up && West == West::Tall) return 11394;
- if (East == East::Low && North == North::Tall && South == South::Tall && Up && West == West::None) return 11398;
- if (East == East::Low && North == North::Tall && South == South::Tall && Up && West == West::Low) return 11399;
- if (East == East::Low && North == North::Tall && South == South::Tall && Up && West == West::Tall) return 11400;
- if (East == East::Low && North == North::Tall && South == South::Tall && !Up && West == West::None) return 11404;
- if (East == East::Low && North == North::Tall && South == South::Tall && !Up && West == West::Low) return 11405;
- if (East == East::Low && North == North::Tall && South == South::Tall && !Up && West == West::Tall) return 11406;
- if (East == East::Tall && North == North::None && South == South::None && Up && West == West::None) return 11410;
- if (East == East::Tall && North == North::None && South == South::None && Up && West == West::Low) return 11411;
- if (East == East::Tall && North == North::None && South == South::None && Up && West == West::Tall) return 11412;
- if (East == East::Tall && North == North::None && South == South::None && !Up && West == West::None) return 11416;
- if (East == East::Tall && North == North::None && South == South::None && !Up && West == West::Low) return 11417;
- if (East == East::Tall && North == North::None && South == South::None && !Up && West == West::Tall) return 11418;
- if (East == East::Tall && North == North::None && South == South::Low && Up && West == West::None) return 11422;
- if (East == East::Tall && North == North::None && South == South::Low && Up && West == West::Low) return 11423;
- if (East == East::Tall && North == North::None && South == South::Low && Up && West == West::Tall) return 11424;
- if (East == East::Tall && North == North::None && South == South::Low && !Up && West == West::None) return 11428;
- if (East == East::Tall && North == North::None && South == South::Low && !Up && West == West::Low) return 11429;
- if (East == East::Tall && North == North::None && South == South::Low && !Up && West == West::Tall) return 11430;
- if (East == East::Tall && North == North::None && South == South::Tall && Up && West == West::None) return 11434;
- if (East == East::Tall && North == North::None && South == South::Tall && Up && West == West::Low) return 11435;
- if (East == East::Tall && North == North::None && South == South::Tall && Up && West == West::Tall) return 11436;
- if (East == East::Tall && North == North::None && South == South::Tall && !Up && West == West::None) return 11440;
- if (East == East::Tall && North == North::None && South == South::Tall && !Up && West == West::Low) return 11441;
- if (East == East::Tall && North == North::None && South == South::Tall && !Up && West == West::Tall) return 11442;
- if (East == East::Tall && North == North::Low && South == South::None && Up && West == West::None) return 11446;
- if (East == East::Tall && North == North::Low && South == South::None && Up && West == West::Low) return 11447;
- if (East == East::Tall && North == North::Low && South == South::None && Up && West == West::Tall) return 11448;
- if (East == East::Tall && North == North::Low && South == South::None && !Up && West == West::None) return 11452;
- if (East == East::Tall && North == North::Low && South == South::None && !Up && West == West::Low) return 11453;
- if (East == East::Tall && North == North::Low && South == South::None && !Up && West == West::Tall) return 11454;
- if (East == East::Tall && North == North::Low && South == South::Low && Up && West == West::None) return 11458;
- if (East == East::Tall && North == North::Low && South == South::Low && Up && West == West::Low) return 11459;
- if (East == East::Tall && North == North::Low && South == South::Low && Up && West == West::Tall) return 11460;
- if (East == East::Tall && North == North::Low && South == South::Low && !Up && West == West::None) return 11464;
- if (East == East::Tall && North == North::Low && South == South::Low && !Up && West == West::Low) return 11465;
- if (East == East::Tall && North == North::Low && South == South::Low && !Up && West == West::Tall) return 11466;
- if (East == East::Tall && North == North::Low && South == South::Tall && Up && West == West::None) return 11470;
- if (East == East::Tall && North == North::Low && South == South::Tall && Up && West == West::Low) return 11471;
- if (East == East::Tall && North == North::Low && South == South::Tall && Up && West == West::Tall) return 11472;
- if (East == East::Tall && North == North::Low && South == South::Tall && !Up && West == West::None) return 11476;
- if (East == East::Tall && North == North::Low && South == South::Tall && !Up && West == West::Low) return 11477;
- if (East == East::Tall && North == North::Low && South == South::Tall && !Up && West == West::Tall) return 11478;
- if (East == East::Tall && North == North::Tall && South == South::None && Up && West == West::None) return 11482;
- if (East == East::Tall && North == North::Tall && South == South::None && Up && West == West::Low) return 11483;
- if (East == East::Tall && North == North::Tall && South == South::None && Up && West == West::Tall) return 11484;
- if (East == East::Tall && North == North::Tall && South == South::None && !Up && West == West::None) return 11488;
- if (East == East::Tall && North == North::Tall && South == South::None && !Up && West == West::Low) return 11489;
- if (East == East::Tall && North == North::Tall && South == South::None && !Up && West == West::Tall) return 11490;
- if (East == East::Tall && North == North::Tall && South == South::Low && Up && West == West::None) return 11494;
- if (East == East::Tall && North == North::Tall && South == South::Low && Up && West == West::Low) return 11495;
- if (East == East::Tall && North == North::Tall && South == South::Low && Up && West == West::Tall) return 11496;
- if (East == East::Tall && North == North::Tall && South == South::Low && !Up && West == West::None) return 11500;
- if (East == East::Tall && North == North::Tall && South == South::Low && !Up && West == West::Low) return 11501;
- if (East == East::Tall && North == North::Tall && South == South::Low && !Up && West == West::Tall) return 11502;
- if (East == East::Tall && North == North::Tall && South == South::Tall && Up && West == West::None) return 11506;
- if (East == East::Tall && North == North::Tall && South == South::Tall && Up && West == West::Low) return 11507;
- if (East == East::Tall && North == North::Tall && South == South::Tall && Up && West == West::Tall) return 11508;
- if (East == East::Tall && North == North::Tall && South == South::Tall && !Up && West == West::None) return 11512;
- if (East == East::Tall && North == North::Tall && South == South::Tall && !Up && West == West::Low) return 11513;
- return 11514;
- }
- short PrismarineWall();
- enum East East(short ID);
- enum North North(short ID);
- enum South South(short ID);
- bool Up(short ID);
- enum West West(short ID);
- }
- namespace Pumpkin
- {
- constexpr short Pumpkin()
- {
- return 3998;
- }
- }
- namespace PumpkinStem
- {
- constexpr short PumpkinStem(unsigned char Age)
- {
- if (Age == 0) return 4772;
- if (Age == 1) return 4773;
- if (Age == 2) return 4774;
- if (Age == 3) return 4775;
- if (Age == 4) return 4776;
- if (Age == 5) return 4777;
- if (Age == 6) return 4778;
- return 4779;
- }
- short PumpkinStem();
- unsigned char Age(short ID);
- }
- namespace PurpleBanner
- {
- constexpr short PurpleBanner(unsigned char Rotation)
- {
- if (Rotation == 0) return 8057;
- if (Rotation == 1) return 8058;
- if (Rotation == 2) return 8059;
- if (Rotation == 3) return 8060;
- if (Rotation == 4) return 8061;
- if (Rotation == 5) return 8062;
- if (Rotation == 6) return 8063;
- if (Rotation == 7) return 8064;
- if (Rotation == 8) return 8065;
- if (Rotation == 9) return 8066;
- if (Rotation == 10) return 8067;
- if (Rotation == 11) return 8068;
- if (Rotation == 12) return 8069;
- if (Rotation == 13) return 8070;
- if (Rotation == 14) return 8071;
- return 8072;
- }
- short PurpleBanner();
- unsigned char Rotation(short ID);
- }
- namespace PurpleBed
- {
- enum class Part
- {
- Head,
- Foot
- };
- constexpr short PurpleBed(eBlockFace Facing, bool Occupied, enum Part Part)
- {
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Occupied && Part == Part::Head) return 1209;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Occupied && Part == Part::Foot) return 1210;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && !Occupied && Part == Part::Head) return 1211;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && !Occupied && Part == Part::Foot) return 1212;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Occupied && Part == Part::Head) return 1213;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Occupied && Part == Part::Foot) return 1214;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && !Occupied && Part == Part::Head) return 1215;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && !Occupied && Part == Part::Foot) return 1216;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Occupied && Part == Part::Head) return 1217;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Occupied && Part == Part::Foot) return 1218;
- if (Facing == eBlockFace::BLOCK_FACE_XM && !Occupied && Part == Part::Head) return 1219;
- if (Facing == eBlockFace::BLOCK_FACE_XM && !Occupied && Part == Part::Foot) return 1220;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Occupied && Part == Part::Head) return 1221;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Occupied && Part == Part::Foot) return 1222;
- if (Facing == eBlockFace::BLOCK_FACE_XP && !Occupied && Part == Part::Head) return 1223;
- return 1224;
- }
- short PurpleBed();
- eBlockFace Facing(short ID);
- bool Occupied(short ID);
- enum Part Part(short ID);
- }
- namespace PurpleCarpet
- {
- constexpr short PurpleCarpet()
- {
- return 7876;
- }
- }
- namespace PurpleConcrete
- {
- constexpr short PurpleConcrete()
- {
- return 9448;
- }
- }
- namespace PurpleConcretePowder
- {
- constexpr short PurpleConcretePowder()
- {
- return 9464;
- }
- }
- namespace PurpleGlazedTerracotta
- {
- constexpr short PurpleGlazedTerracotta(eBlockFace Facing)
- {
- if (Facing == eBlockFace::BLOCK_FACE_ZM) return 9414;
- if (Facing == eBlockFace::BLOCK_FACE_ZP) return 9415;
- if (Facing == eBlockFace::BLOCK_FACE_XM) return 9416;
- return 9417;
- }
- short PurpleGlazedTerracotta();
- eBlockFace Facing(short ID);
- }
- namespace PurpleShulkerBox
- {
- constexpr short PurpleShulkerBox(eBlockFace Facing)
- {
- if (Facing == eBlockFace::BLOCK_FACE_ZM) return 9338;
- if (Facing == eBlockFace::BLOCK_FACE_XP) return 9339;
- if (Facing == eBlockFace::BLOCK_FACE_ZP) return 9340;
- if (Facing == eBlockFace::BLOCK_FACE_XM) return 9341;
- if (Facing == eBlockFace::BLOCK_FACE_YP) return 9342;
- return 9343;
- }
- short PurpleShulkerBox();
- eBlockFace Facing(short ID);
- }
- namespace PurpleStainedGlass
- {
- constexpr short PurpleStainedGlass()
- {
- return 4105;
- }
- }
- namespace PurpleStainedGlassPane
- {
- constexpr short PurpleStainedGlassPane(bool East, bool North, bool South, bool West)
- {
- if (East && North && South && West) return 7185;
- if (East && North && South && !West) return 7186;
- if (East && North && !South && West) return 7189;
- if (East && North && !South && !West) return 7190;
- if (East && !North && South && West) return 7193;
- if (East && !North && South && !West) return 7194;
- if (East && !North && !South && West) return 7197;
- if (East && !North && !South && !West) return 7198;
- if (!East && North && South && West) return 7201;
- if (!East && North && South && !West) return 7202;
- if (!East && North && !South && West) return 7205;
- if (!East && North && !South && !West) return 7206;
- if (!East && !North && South && West) return 7209;
- if (!East && !North && South && !West) return 7210;
- if (!East && !North && !South && West) return 7213;
- return 7214;
- }
- short PurpleStainedGlassPane();
- bool East(short ID);
- bool North(short ID);
- bool South(short ID);
- bool West(short ID);
- }
- namespace PurpleTerracotta
- {
- constexpr short PurpleTerracotta()
- {
- return 6857;
- }
- }
- namespace PurpleWallBanner
- {
- constexpr short PurpleWallBanner(eBlockFace Facing)
- {
- if (Facing == eBlockFace::BLOCK_FACE_ZM) return 8193;
- if (Facing == eBlockFace::BLOCK_FACE_ZP) return 8194;
- if (Facing == eBlockFace::BLOCK_FACE_XM) return 8195;
- return 8196;
- }
- short PurpleWallBanner();
- eBlockFace Facing(short ID);
- }
- namespace PurpleWool
- {
- constexpr short PurpleWool()
- {
- return 1394;
- }
- }
- namespace PurpurBlock
- {
- constexpr short PurpurBlock()
- {
- return 9134;
- }
- }
- namespace PurpurPillar
- {
- enum class Axis
- {
- X,
- Y,
- Z
- };
- constexpr short PurpurPillar(enum Axis Axis)
- {
- if (Axis == Axis::X) return 9135;
- if (Axis == Axis::Y) return 9136;
- return 9137;
- }
- short PurpurPillar();
- enum Axis Axis(short ID);
- }
- namespace PurpurSlab
- {
- enum class Type
- {
- Top,
- Bottom,
- Double
- };
- constexpr short PurpurSlab(enum Type Type)
- {
- if (Type == Type::Top) return 8409;
- if (Type == Type::Bottom) return 8411;
- return 8413;
- }
- short PurpurSlab();
- enum Type Type(short ID);
- }
- namespace PurpurStairs
- {
- enum class Half
- {
- Top,
- Bottom
- };
- enum class Shape
- {
- Straight,
- InnerLeft,
- InnerRight,
- OuterLeft,
- OuterRight
- };
- constexpr short PurpurStairs(eBlockFace Facing, enum Half Half, enum Shape Shape)
- {
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Top && Shape == Shape::Straight) return 9139;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Top && Shape == Shape::InnerLeft) return 9141;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Top && Shape == Shape::InnerRight) return 9143;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Top && Shape == Shape::OuterLeft) return 9145;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Top && Shape == Shape::OuterRight) return 9147;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Bottom && Shape == Shape::Straight) return 9149;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Bottom && Shape == Shape::InnerLeft) return 9151;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Bottom && Shape == Shape::InnerRight) return 9153;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Bottom && Shape == Shape::OuterLeft) return 9155;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Bottom && Shape == Shape::OuterRight) return 9157;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Top && Shape == Shape::Straight) return 9159;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Top && Shape == Shape::InnerLeft) return 9161;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Top && Shape == Shape::InnerRight) return 9163;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Top && Shape == Shape::OuterLeft) return 9165;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Top && Shape == Shape::OuterRight) return 9167;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Bottom && Shape == Shape::Straight) return 9169;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Bottom && Shape == Shape::InnerLeft) return 9171;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Bottom && Shape == Shape::InnerRight) return 9173;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Bottom && Shape == Shape::OuterLeft) return 9175;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Bottom && Shape == Shape::OuterRight) return 9177;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Top && Shape == Shape::Straight) return 9179;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Top && Shape == Shape::InnerLeft) return 9181;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Top && Shape == Shape::InnerRight) return 9183;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Top && Shape == Shape::OuterLeft) return 9185;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Top && Shape == Shape::OuterRight) return 9187;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Bottom && Shape == Shape::Straight) return 9189;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Bottom && Shape == Shape::InnerLeft) return 9191;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Bottom && Shape == Shape::InnerRight) return 9193;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Bottom && Shape == Shape::OuterLeft) return 9195;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Bottom && Shape == Shape::OuterRight) return 9197;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Top && Shape == Shape::Straight) return 9199;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Top && Shape == Shape::InnerLeft) return 9201;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Top && Shape == Shape::InnerRight) return 9203;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Top && Shape == Shape::OuterLeft) return 9205;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Top && Shape == Shape::OuterRight) return 9207;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Bottom && Shape == Shape::Straight) return 9209;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Bottom && Shape == Shape::InnerLeft) return 9211;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Bottom && Shape == Shape::InnerRight) return 9213;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Bottom && Shape == Shape::OuterLeft) return 9215;
- return 9217;
- }
- short PurpurStairs();
- eBlockFace Facing(short ID);
- enum Half Half(short ID);
- enum Shape Shape(short ID);
- }
- namespace QuartzBlock
- {
- constexpr short QuartzBlock()
- {
- return 6738;
- }
- }
- namespace QuartzBricks
- {
- constexpr short QuartzBricks()
- {
- return 17103;
- }
- }
- namespace QuartzPillar
- {
- enum class Axis
- {
- X,
- Y,
- Z
- };
- constexpr short QuartzPillar(enum Axis Axis)
- {
- if (Axis == Axis::X) return 6740;
- if (Axis == Axis::Y) return 6741;
- return 6742;
- }
- short QuartzPillar();
- enum Axis Axis(short ID);
- }
- namespace QuartzSlab
- {
- enum class Type
- {
- Top,
- Bottom,
- Double
- };
- constexpr short QuartzSlab(enum Type Type)
- {
- if (Type == Type::Top) return 8391;
- if (Type == Type::Bottom) return 8393;
- return 8395;
- }
- short QuartzSlab();
- enum Type Type(short ID);
- }
- namespace QuartzStairs
- {
- enum class Half
- {
- Top,
- Bottom
- };
- enum class Shape
- {
- Straight,
- InnerLeft,
- InnerRight,
- OuterLeft,
- OuterRight
- };
- constexpr short QuartzStairs(eBlockFace Facing, enum Half Half, enum Shape Shape)
- {
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Top && Shape == Shape::Straight) return 6744;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Top && Shape == Shape::InnerLeft) return 6746;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Top && Shape == Shape::InnerRight) return 6748;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Top && Shape == Shape::OuterLeft) return 6750;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Top && Shape == Shape::OuterRight) return 6752;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Bottom && Shape == Shape::Straight) return 6754;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Bottom && Shape == Shape::InnerLeft) return 6756;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Bottom && Shape == Shape::InnerRight) return 6758;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Bottom && Shape == Shape::OuterLeft) return 6760;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Bottom && Shape == Shape::OuterRight) return 6762;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Top && Shape == Shape::Straight) return 6764;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Top && Shape == Shape::InnerLeft) return 6766;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Top && Shape == Shape::InnerRight) return 6768;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Top && Shape == Shape::OuterLeft) return 6770;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Top && Shape == Shape::OuterRight) return 6772;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Bottom && Shape == Shape::Straight) return 6774;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Bottom && Shape == Shape::InnerLeft) return 6776;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Bottom && Shape == Shape::InnerRight) return 6778;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Bottom && Shape == Shape::OuterLeft) return 6780;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Bottom && Shape == Shape::OuterRight) return 6782;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Top && Shape == Shape::Straight) return 6784;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Top && Shape == Shape::InnerLeft) return 6786;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Top && Shape == Shape::InnerRight) return 6788;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Top && Shape == Shape::OuterLeft) return 6790;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Top && Shape == Shape::OuterRight) return 6792;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Bottom && Shape == Shape::Straight) return 6794;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Bottom && Shape == Shape::InnerLeft) return 6796;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Bottom && Shape == Shape::InnerRight) return 6798;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Bottom && Shape == Shape::OuterLeft) return 6800;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Bottom && Shape == Shape::OuterRight) return 6802;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Top && Shape == Shape::Straight) return 6804;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Top && Shape == Shape::InnerLeft) return 6806;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Top && Shape == Shape::InnerRight) return 6808;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Top && Shape == Shape::OuterLeft) return 6810;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Top && Shape == Shape::OuterRight) return 6812;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Bottom && Shape == Shape::Straight) return 6814;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Bottom && Shape == Shape::InnerLeft) return 6816;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Bottom && Shape == Shape::InnerRight) return 6818;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Bottom && Shape == Shape::OuterLeft) return 6820;
- return 6822;
- }
- short QuartzStairs();
- eBlockFace Facing(short ID);
- enum Half Half(short ID);
- enum Shape Shape(short ID);
- }
- namespace Rail
- {
- enum class Shape
- {
- NorthSouth,
- EastWest,
- AscendingEast,
- AscendingWest,
- AscendingNorth,
- AscendingSouth,
- SouthEast,
- SouthWest,
- NorthWest,
- NorthEast
- };
- constexpr short Rail(enum Shape Shape)
- {
- if (Shape == Shape::NorthSouth) return 3645;
- if (Shape == Shape::EastWest) return 3646;
- if (Shape == Shape::AscendingEast) return 3647;
- if (Shape == Shape::AscendingWest) return 3648;
- if (Shape == Shape::AscendingNorth) return 3649;
- if (Shape == Shape::AscendingSouth) return 3650;
- if (Shape == Shape::SouthEast) return 3651;
- if (Shape == Shape::SouthWest) return 3652;
- if (Shape == Shape::NorthWest) return 3653;
- return 3654;
- }
- short Rail();
- enum Shape Shape(short ID);
- }
- namespace RedBanner
- {
- constexpr short RedBanner(unsigned char Rotation)
- {
- if (Rotation == 0) return 8121;
- if (Rotation == 1) return 8122;
- if (Rotation == 2) return 8123;
- if (Rotation == 3) return 8124;
- if (Rotation == 4) return 8125;
- if (Rotation == 5) return 8126;
- if (Rotation == 6) return 8127;
- if (Rotation == 7) return 8128;
- if (Rotation == 8) return 8129;
- if (Rotation == 9) return 8130;
- if (Rotation == 10) return 8131;
- if (Rotation == 11) return 8132;
- if (Rotation == 12) return 8133;
- if (Rotation == 13) return 8134;
- if (Rotation == 14) return 8135;
- return 8136;
- }
- short RedBanner();
- unsigned char Rotation(short ID);
- }
- namespace RedBed
- {
- enum class Part
- {
- Head,
- Foot
- };
- constexpr short RedBed(eBlockFace Facing, bool Occupied, enum Part Part)
- {
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Occupied && Part == Part::Head) return 1273;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Occupied && Part == Part::Foot) return 1274;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && !Occupied && Part == Part::Head) return 1275;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && !Occupied && Part == Part::Foot) return 1276;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Occupied && Part == Part::Head) return 1277;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Occupied && Part == Part::Foot) return 1278;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && !Occupied && Part == Part::Head) return 1279;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && !Occupied && Part == Part::Foot) return 1280;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Occupied && Part == Part::Head) return 1281;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Occupied && Part == Part::Foot) return 1282;
- if (Facing == eBlockFace::BLOCK_FACE_XM && !Occupied && Part == Part::Head) return 1283;
- if (Facing == eBlockFace::BLOCK_FACE_XM && !Occupied && Part == Part::Foot) return 1284;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Occupied && Part == Part::Head) return 1285;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Occupied && Part == Part::Foot) return 1286;
- if (Facing == eBlockFace::BLOCK_FACE_XP && !Occupied && Part == Part::Head) return 1287;
- return 1288;
- }
- short RedBed();
- eBlockFace Facing(short ID);
- bool Occupied(short ID);
- enum Part Part(short ID);
- }
- namespace RedCarpet
- {
- constexpr short RedCarpet()
- {
- return 7880;
- }
- }
- namespace RedConcrete
- {
- constexpr short RedConcrete()
- {
- return 9452;
- }
- }
- namespace RedConcretePowder
- {
- constexpr short RedConcretePowder()
- {
- return 9468;
- }
- }
- namespace RedGlazedTerracotta
- {
- constexpr short RedGlazedTerracotta(eBlockFace Facing)
- {
- if (Facing == eBlockFace::BLOCK_FACE_ZM) return 9430;
- if (Facing == eBlockFace::BLOCK_FACE_ZP) return 9431;
- if (Facing == eBlockFace::BLOCK_FACE_XM) return 9432;
- return 9433;
- }
- short RedGlazedTerracotta();
- eBlockFace Facing(short ID);
- }
- namespace RedMushroom
- {
- constexpr short RedMushroom()
- {
- return 1426;
- }
- }
- namespace RedMushroomBlock
- {
- constexpr short RedMushroomBlock(bool Down, bool East, bool North, bool South, bool Up, bool West)
- {
- if (Down && East && North && South && Up && West) return 4569;
- if (Down && East && North && South && Up && !West) return 4570;
- if (Down && East && North && South && !Up && West) return 4571;
- if (Down && East && North && South && !Up && !West) return 4572;
- if (Down && East && North && !South && Up && West) return 4573;
- if (Down && East && North && !South && Up && !West) return 4574;
- if (Down && East && North && !South && !Up && West) return 4575;
- if (Down && East && North && !South && !Up && !West) return 4576;
- if (Down && East && !North && South && Up && West) return 4577;
- if (Down && East && !North && South && Up && !West) return 4578;
- if (Down && East && !North && South && !Up && West) return 4579;
- if (Down && East && !North && South && !Up && !West) return 4580;
- if (Down && East && !North && !South && Up && West) return 4581;
- if (Down && East && !North && !South && Up && !West) return 4582;
- if (Down && East && !North && !South && !Up && West) return 4583;
- if (Down && East && !North && !South && !Up && !West) return 4584;
- if (Down && !East && North && South && Up && West) return 4585;
- if (Down && !East && North && South && Up && !West) return 4586;
- if (Down && !East && North && South && !Up && West) return 4587;
- if (Down && !East && North && South && !Up && !West) return 4588;
- if (Down && !East && North && !South && Up && West) return 4589;
- if (Down && !East && North && !South && Up && !West) return 4590;
- if (Down && !East && North && !South && !Up && West) return 4591;
- if (Down && !East && North && !South && !Up && !West) return 4592;
- if (Down && !East && !North && South && Up && West) return 4593;
- if (Down && !East && !North && South && Up && !West) return 4594;
- if (Down && !East && !North && South && !Up && West) return 4595;
- if (Down && !East && !North && South && !Up && !West) return 4596;
- if (Down && !East && !North && !South && Up && West) return 4597;
- if (Down && !East && !North && !South && Up && !West) return 4598;
- if (Down && !East && !North && !South && !Up && West) return 4599;
- if (Down && !East && !North && !South && !Up && !West) return 4600;
- if (!Down && East && North && South && Up && West) return 4601;
- if (!Down && East && North && South && Up && !West) return 4602;
- if (!Down && East && North && South && !Up && West) return 4603;
- if (!Down && East && North && South && !Up && !West) return 4604;
- if (!Down && East && North && !South && Up && West) return 4605;
- if (!Down && East && North && !South && Up && !West) return 4606;
- if (!Down && East && North && !South && !Up && West) return 4607;
- if (!Down && East && North && !South && !Up && !West) return 4608;
- if (!Down && East && !North && South && Up && West) return 4609;
- if (!Down && East && !North && South && Up && !West) return 4610;
- if (!Down && East && !North && South && !Up && West) return 4611;
- if (!Down && East && !North && South && !Up && !West) return 4612;
- if (!Down && East && !North && !South && Up && West) return 4613;
- if (!Down && East && !North && !South && Up && !West) return 4614;
- if (!Down && East && !North && !South && !Up && West) return 4615;
- if (!Down && East && !North && !South && !Up && !West) return 4616;
- if (!Down && !East && North && South && Up && West) return 4617;
- if (!Down && !East && North && South && Up && !West) return 4618;
- if (!Down && !East && North && South && !Up && West) return 4619;
- if (!Down && !East && North && South && !Up && !West) return 4620;
- if (!Down && !East && North && !South && Up && West) return 4621;
- if (!Down && !East && North && !South && Up && !West) return 4622;
- if (!Down && !East && North && !South && !Up && West) return 4623;
- if (!Down && !East && North && !South && !Up && !West) return 4624;
- if (!Down && !East && !North && South && Up && West) return 4625;
- if (!Down && !East && !North && South && Up && !West) return 4626;
- if (!Down && !East && !North && South && !Up && West) return 4627;
- if (!Down && !East && !North && South && !Up && !West) return 4628;
- if (!Down && !East && !North && !South && Up && West) return 4629;
- if (!Down && !East && !North && !South && Up && !West) return 4630;
- if (!Down && !East && !North && !South && !Up && West) return 4631;
- return 4632;
- }
- short RedMushroomBlock();
- bool Down(short ID);
- bool East(short ID);
- bool North(short ID);
- bool South(short ID);
- bool Up(short ID);
- bool West(short ID);
- }
- namespace RedNetherBrickSlab
- {
- enum class Type
- {
- Top,
- Bottom,
- Double
- };
- constexpr short RedNetherBrickSlab(enum Type Type)
- {
- if (Type == Type::Top) return 10850;
- if (Type == Type::Bottom) return 10852;
- return 10854;
- }
- short RedNetherBrickSlab();
- enum Type Type(short ID);
- }
- namespace RedNetherBrickStairs
- {
- enum class Half
- {
- Top,
- Bottom
- };
- enum class Shape
- {
- Straight,
- InnerLeft,
- InnerRight,
- OuterLeft,
- OuterRight
- };
- constexpr short RedNetherBrickStairs(eBlockFace Facing, enum Half Half, enum Shape Shape)
- {
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Top && Shape == Shape::Straight) return 10550;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Top && Shape == Shape::InnerLeft) return 10552;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Top && Shape == Shape::InnerRight) return 10554;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Top && Shape == Shape::OuterLeft) return 10556;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Top && Shape == Shape::OuterRight) return 10558;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Bottom && Shape == Shape::Straight) return 10560;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Bottom && Shape == Shape::InnerLeft) return 10562;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Bottom && Shape == Shape::InnerRight) return 10564;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Bottom && Shape == Shape::OuterLeft) return 10566;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Bottom && Shape == Shape::OuterRight) return 10568;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Top && Shape == Shape::Straight) return 10570;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Top && Shape == Shape::InnerLeft) return 10572;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Top && Shape == Shape::InnerRight) return 10574;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Top && Shape == Shape::OuterLeft) return 10576;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Top && Shape == Shape::OuterRight) return 10578;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Bottom && Shape == Shape::Straight) return 10580;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Bottom && Shape == Shape::InnerLeft) return 10582;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Bottom && Shape == Shape::InnerRight) return 10584;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Bottom && Shape == Shape::OuterLeft) return 10586;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Bottom && Shape == Shape::OuterRight) return 10588;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Top && Shape == Shape::Straight) return 10590;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Top && Shape == Shape::InnerLeft) return 10592;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Top && Shape == Shape::InnerRight) return 10594;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Top && Shape == Shape::OuterLeft) return 10596;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Top && Shape == Shape::OuterRight) return 10598;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Bottom && Shape == Shape::Straight) return 10600;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Bottom && Shape == Shape::InnerLeft) return 10602;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Bottom && Shape == Shape::InnerRight) return 10604;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Bottom && Shape == Shape::OuterLeft) return 10606;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Bottom && Shape == Shape::OuterRight) return 10608;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Top && Shape == Shape::Straight) return 10610;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Top && Shape == Shape::InnerLeft) return 10612;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Top && Shape == Shape::InnerRight) return 10614;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Top && Shape == Shape::OuterLeft) return 10616;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Top && Shape == Shape::OuterRight) return 10618;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Bottom && Shape == Shape::Straight) return 10620;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Bottom && Shape == Shape::InnerLeft) return 10622;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Bottom && Shape == Shape::InnerRight) return 10624;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Bottom && Shape == Shape::OuterLeft) return 10626;
- return 10628;
- }
- short RedNetherBrickStairs();
- eBlockFace Facing(short ID);
- enum Half Half(short ID);
- enum Shape Shape(short ID);
- }
- namespace RedNetherBrickWall
- {
- enum class East
- {
- None,
- Low,
- Tall
- };
- enum class North
- {
- None,
- Low,
- Tall
- };
- enum class South
- {
- None,
- Low,
- Tall
- };
- enum class West
- {
- None,
- Low,
- Tall
- };
- constexpr short RedNetherBrickWall(enum East East, enum North North, enum South South, bool Up, enum West West)
- {
- if (East == East::None && North == North::None && South == South::None && Up && West == West::None) return 13462;
- if (East == East::None && North == North::None && South == South::None && Up && West == West::Low) return 13463;
- if (East == East::None && North == North::None && South == South::None && Up && West == West::Tall) return 13464;
- if (East == East::None && North == North::None && South == South::None && !Up && West == West::None) return 13468;
- if (East == East::None && North == North::None && South == South::None && !Up && West == West::Low) return 13469;
- if (East == East::None && North == North::None && South == South::None && !Up && West == West::Tall) return 13470;
- if (East == East::None && North == North::None && South == South::Low && Up && West == West::None) return 13474;
- if (East == East::None && North == North::None && South == South::Low && Up && West == West::Low) return 13475;
- if (East == East::None && North == North::None && South == South::Low && Up && West == West::Tall) return 13476;
- if (East == East::None && North == North::None && South == South::Low && !Up && West == West::None) return 13480;
- if (East == East::None && North == North::None && South == South::Low && !Up && West == West::Low) return 13481;
- if (East == East::None && North == North::None && South == South::Low && !Up && West == West::Tall) return 13482;
- if (East == East::None && North == North::None && South == South::Tall && Up && West == West::None) return 13486;
- if (East == East::None && North == North::None && South == South::Tall && Up && West == West::Low) return 13487;
- if (East == East::None && North == North::None && South == South::Tall && Up && West == West::Tall) return 13488;
- if (East == East::None && North == North::None && South == South::Tall && !Up && West == West::None) return 13492;
- if (East == East::None && North == North::None && South == South::Tall && !Up && West == West::Low) return 13493;
- if (East == East::None && North == North::None && South == South::Tall && !Up && West == West::Tall) return 13494;
- if (East == East::None && North == North::Low && South == South::None && Up && West == West::None) return 13498;
- if (East == East::None && North == North::Low && South == South::None && Up && West == West::Low) return 13499;
- if (East == East::None && North == North::Low && South == South::None && Up && West == West::Tall) return 13500;
- if (East == East::None && North == North::Low && South == South::None && !Up && West == West::None) return 13504;
- if (East == East::None && North == North::Low && South == South::None && !Up && West == West::Low) return 13505;
- if (East == East::None && North == North::Low && South == South::None && !Up && West == West::Tall) return 13506;
- if (East == East::None && North == North::Low && South == South::Low && Up && West == West::None) return 13510;
- if (East == East::None && North == North::Low && South == South::Low && Up && West == West::Low) return 13511;
- if (East == East::None && North == North::Low && South == South::Low && Up && West == West::Tall) return 13512;
- if (East == East::None && North == North::Low && South == South::Low && !Up && West == West::None) return 13516;
- if (East == East::None && North == North::Low && South == South::Low && !Up && West == West::Low) return 13517;
- if (East == East::None && North == North::Low && South == South::Low && !Up && West == West::Tall) return 13518;
- if (East == East::None && North == North::Low && South == South::Tall && Up && West == West::None) return 13522;
- if (East == East::None && North == North::Low && South == South::Tall && Up && West == West::Low) return 13523;
- if (East == East::None && North == North::Low && South == South::Tall && Up && West == West::Tall) return 13524;
- if (East == East::None && North == North::Low && South == South::Tall && !Up && West == West::None) return 13528;
- if (East == East::None && North == North::Low && South == South::Tall && !Up && West == West::Low) return 13529;
- if (East == East::None && North == North::Low && South == South::Tall && !Up && West == West::Tall) return 13530;
- if (East == East::None && North == North::Tall && South == South::None && Up && West == West::None) return 13534;
- if (East == East::None && North == North::Tall && South == South::None && Up && West == West::Low) return 13535;
- if (East == East::None && North == North::Tall && South == South::None && Up && West == West::Tall) return 13536;
- if (East == East::None && North == North::Tall && South == South::None && !Up && West == West::None) return 13540;
- if (East == East::None && North == North::Tall && South == South::None && !Up && West == West::Low) return 13541;
- if (East == East::None && North == North::Tall && South == South::None && !Up && West == West::Tall) return 13542;
- if (East == East::None && North == North::Tall && South == South::Low && Up && West == West::None) return 13546;
- if (East == East::None && North == North::Tall && South == South::Low && Up && West == West::Low) return 13547;
- if (East == East::None && North == North::Tall && South == South::Low && Up && West == West::Tall) return 13548;
- if (East == East::None && North == North::Tall && South == South::Low && !Up && West == West::None) return 13552;
- if (East == East::None && North == North::Tall && South == South::Low && !Up && West == West::Low) return 13553;
- if (East == East::None && North == North::Tall && South == South::Low && !Up && West == West::Tall) return 13554;
- if (East == East::None && North == North::Tall && South == South::Tall && Up && West == West::None) return 13558;
- if (East == East::None && North == North::Tall && South == South::Tall && Up && West == West::Low) return 13559;
- if (East == East::None && North == North::Tall && South == South::Tall && Up && West == West::Tall) return 13560;
- if (East == East::None && North == North::Tall && South == South::Tall && !Up && West == West::None) return 13564;
- if (East == East::None && North == North::Tall && South == South::Tall && !Up && West == West::Low) return 13565;
- if (East == East::None && North == North::Tall && South == South::Tall && !Up && West == West::Tall) return 13566;
- if (East == East::Low && North == North::None && South == South::None && Up && West == West::None) return 13570;
- if (East == East::Low && North == North::None && South == South::None && Up && West == West::Low) return 13571;
- if (East == East::Low && North == North::None && South == South::None && Up && West == West::Tall) return 13572;
- if (East == East::Low && North == North::None && South == South::None && !Up && West == West::None) return 13576;
- if (East == East::Low && North == North::None && South == South::None && !Up && West == West::Low) return 13577;
- if (East == East::Low && North == North::None && South == South::None && !Up && West == West::Tall) return 13578;
- if (East == East::Low && North == North::None && South == South::Low && Up && West == West::None) return 13582;
- if (East == East::Low && North == North::None && South == South::Low && Up && West == West::Low) return 13583;
- if (East == East::Low && North == North::None && South == South::Low && Up && West == West::Tall) return 13584;
- if (East == East::Low && North == North::None && South == South::Low && !Up && West == West::None) return 13588;
- if (East == East::Low && North == North::None && South == South::Low && !Up && West == West::Low) return 13589;
- if (East == East::Low && North == North::None && South == South::Low && !Up && West == West::Tall) return 13590;
- if (East == East::Low && North == North::None && South == South::Tall && Up && West == West::None) return 13594;
- if (East == East::Low && North == North::None && South == South::Tall && Up && West == West::Low) return 13595;
- if (East == East::Low && North == North::None && South == South::Tall && Up && West == West::Tall) return 13596;
- if (East == East::Low && North == North::None && South == South::Tall && !Up && West == West::None) return 13600;
- if (East == East::Low && North == North::None && South == South::Tall && !Up && West == West::Low) return 13601;
- if (East == East::Low && North == North::None && South == South::Tall && !Up && West == West::Tall) return 13602;
- if (East == East::Low && North == North::Low && South == South::None && Up && West == West::None) return 13606;
- if (East == East::Low && North == North::Low && South == South::None && Up && West == West::Low) return 13607;
- if (East == East::Low && North == North::Low && South == South::None && Up && West == West::Tall) return 13608;
- if (East == East::Low && North == North::Low && South == South::None && !Up && West == West::None) return 13612;
- if (East == East::Low && North == North::Low && South == South::None && !Up && West == West::Low) return 13613;
- if (East == East::Low && North == North::Low && South == South::None && !Up && West == West::Tall) return 13614;
- if (East == East::Low && North == North::Low && South == South::Low && Up && West == West::None) return 13618;
- if (East == East::Low && North == North::Low && South == South::Low && Up && West == West::Low) return 13619;
- if (East == East::Low && North == North::Low && South == South::Low && Up && West == West::Tall) return 13620;
- if (East == East::Low && North == North::Low && South == South::Low && !Up && West == West::None) return 13624;
- if (East == East::Low && North == North::Low && South == South::Low && !Up && West == West::Low) return 13625;
- if (East == East::Low && North == North::Low && South == South::Low && !Up && West == West::Tall) return 13626;
- if (East == East::Low && North == North::Low && South == South::Tall && Up && West == West::None) return 13630;
- if (East == East::Low && North == North::Low && South == South::Tall && Up && West == West::Low) return 13631;
- if (East == East::Low && North == North::Low && South == South::Tall && Up && West == West::Tall) return 13632;
- if (East == East::Low && North == North::Low && South == South::Tall && !Up && West == West::None) return 13636;
- if (East == East::Low && North == North::Low && South == South::Tall && !Up && West == West::Low) return 13637;
- if (East == East::Low && North == North::Low && South == South::Tall && !Up && West == West::Tall) return 13638;
- if (East == East::Low && North == North::Tall && South == South::None && Up && West == West::None) return 13642;
- if (East == East::Low && North == North::Tall && South == South::None && Up && West == West::Low) return 13643;
- if (East == East::Low && North == North::Tall && South == South::None && Up && West == West::Tall) return 13644;
- if (East == East::Low && North == North::Tall && South == South::None && !Up && West == West::None) return 13648;
- if (East == East::Low && North == North::Tall && South == South::None && !Up && West == West::Low) return 13649;
- if (East == East::Low && North == North::Tall && South == South::None && !Up && West == West::Tall) return 13650;
- if (East == East::Low && North == North::Tall && South == South::Low && Up && West == West::None) return 13654;
- if (East == East::Low && North == North::Tall && South == South::Low && Up && West == West::Low) return 13655;
- if (East == East::Low && North == North::Tall && South == South::Low && Up && West == West::Tall) return 13656;
- if (East == East::Low && North == North::Tall && South == South::Low && !Up && West == West::None) return 13660;
- if (East == East::Low && North == North::Tall && South == South::Low && !Up && West == West::Low) return 13661;
- if (East == East::Low && North == North::Tall && South == South::Low && !Up && West == West::Tall) return 13662;
- if (East == East::Low && North == North::Tall && South == South::Tall && Up && West == West::None) return 13666;
- if (East == East::Low && North == North::Tall && South == South::Tall && Up && West == West::Low) return 13667;
- if (East == East::Low && North == North::Tall && South == South::Tall && Up && West == West::Tall) return 13668;
- if (East == East::Low && North == North::Tall && South == South::Tall && !Up && West == West::None) return 13672;
- if (East == East::Low && North == North::Tall && South == South::Tall && !Up && West == West::Low) return 13673;
- if (East == East::Low && North == North::Tall && South == South::Tall && !Up && West == West::Tall) return 13674;
- if (East == East::Tall && North == North::None && South == South::None && Up && West == West::None) return 13678;
- if (East == East::Tall && North == North::None && South == South::None && Up && West == West::Low) return 13679;
- if (East == East::Tall && North == North::None && South == South::None && Up && West == West::Tall) return 13680;
- if (East == East::Tall && North == North::None && South == South::None && !Up && West == West::None) return 13684;
- if (East == East::Tall && North == North::None && South == South::None && !Up && West == West::Low) return 13685;
- if (East == East::Tall && North == North::None && South == South::None && !Up && West == West::Tall) return 13686;
- if (East == East::Tall && North == North::None && South == South::Low && Up && West == West::None) return 13690;
- if (East == East::Tall && North == North::None && South == South::Low && Up && West == West::Low) return 13691;
- if (East == East::Tall && North == North::None && South == South::Low && Up && West == West::Tall) return 13692;
- if (East == East::Tall && North == North::None && South == South::Low && !Up && West == West::None) return 13696;
- if (East == East::Tall && North == North::None && South == South::Low && !Up && West == West::Low) return 13697;
- if (East == East::Tall && North == North::None && South == South::Low && !Up && West == West::Tall) return 13698;
- if (East == East::Tall && North == North::None && South == South::Tall && Up && West == West::None) return 13702;
- if (East == East::Tall && North == North::None && South == South::Tall && Up && West == West::Low) return 13703;
- if (East == East::Tall && North == North::None && South == South::Tall && Up && West == West::Tall) return 13704;
- if (East == East::Tall && North == North::None && South == South::Tall && !Up && West == West::None) return 13708;
- if (East == East::Tall && North == North::None && South == South::Tall && !Up && West == West::Low) return 13709;
- if (East == East::Tall && North == North::None && South == South::Tall && !Up && West == West::Tall) return 13710;
- if (East == East::Tall && North == North::Low && South == South::None && Up && West == West::None) return 13714;
- if (East == East::Tall && North == North::Low && South == South::None && Up && West == West::Low) return 13715;
- if (East == East::Tall && North == North::Low && South == South::None && Up && West == West::Tall) return 13716;
- if (East == East::Tall && North == North::Low && South == South::None && !Up && West == West::None) return 13720;
- if (East == East::Tall && North == North::Low && South == South::None && !Up && West == West::Low) return 13721;
- if (East == East::Tall && North == North::Low && South == South::None && !Up && West == West::Tall) return 13722;
- if (East == East::Tall && North == North::Low && South == South::Low && Up && West == West::None) return 13726;
- if (East == East::Tall && North == North::Low && South == South::Low && Up && West == West::Low) return 13727;
- if (East == East::Tall && North == North::Low && South == South::Low && Up && West == West::Tall) return 13728;
- if (East == East::Tall && North == North::Low && South == South::Low && !Up && West == West::None) return 13732;
- if (East == East::Tall && North == North::Low && South == South::Low && !Up && West == West::Low) return 13733;
- if (East == East::Tall && North == North::Low && South == South::Low && !Up && West == West::Tall) return 13734;
- if (East == East::Tall && North == North::Low && South == South::Tall && Up && West == West::None) return 13738;
- if (East == East::Tall && North == North::Low && South == South::Tall && Up && West == West::Low) return 13739;
- if (East == East::Tall && North == North::Low && South == South::Tall && Up && West == West::Tall) return 13740;
- if (East == East::Tall && North == North::Low && South == South::Tall && !Up && West == West::None) return 13744;
- if (East == East::Tall && North == North::Low && South == South::Tall && !Up && West == West::Low) return 13745;
- if (East == East::Tall && North == North::Low && South == South::Tall && !Up && West == West::Tall) return 13746;
- if (East == East::Tall && North == North::Tall && South == South::None && Up && West == West::None) return 13750;
- if (East == East::Tall && North == North::Tall && South == South::None && Up && West == West::Low) return 13751;
- if (East == East::Tall && North == North::Tall && South == South::None && Up && West == West::Tall) return 13752;
- if (East == East::Tall && North == North::Tall && South == South::None && !Up && West == West::None) return 13756;
- if (East == East::Tall && North == North::Tall && South == South::None && !Up && West == West::Low) return 13757;
- if (East == East::Tall && North == North::Tall && South == South::None && !Up && West == West::Tall) return 13758;
- if (East == East::Tall && North == North::Tall && South == South::Low && Up && West == West::None) return 13762;
- if (East == East::Tall && North == North::Tall && South == South::Low && Up && West == West::Low) return 13763;
- if (East == East::Tall && North == North::Tall && South == South::Low && Up && West == West::Tall) return 13764;
- if (East == East::Tall && North == North::Tall && South == South::Low && !Up && West == West::None) return 13768;
- if (East == East::Tall && North == North::Tall && South == South::Low && !Up && West == West::Low) return 13769;
- if (East == East::Tall && North == North::Tall && South == South::Low && !Up && West == West::Tall) return 13770;
- if (East == East::Tall && North == North::Tall && South == South::Tall && Up && West == West::None) return 13774;
- if (East == East::Tall && North == North::Tall && South == South::Tall && Up && West == West::Low) return 13775;
- if (East == East::Tall && North == North::Tall && South == South::Tall && Up && West == West::Tall) return 13776;
- if (East == East::Tall && North == North::Tall && South == South::Tall && !Up && West == West::None) return 13780;
- if (East == East::Tall && North == North::Tall && South == South::Tall && !Up && West == West::Low) return 13781;
- return 13782;
- }
- short RedNetherBrickWall();
- enum East East(short ID);
- enum North North(short ID);
- enum South South(short ID);
- bool Up(short ID);
- enum West West(short ID);
- }
- namespace RedNetherBricks
- {
- constexpr short RedNetherBricks()
- {
- return 9255;
- }
- }
- namespace RedSand
- {
- constexpr short RedSand()
- {
- return 67;
- }
- }
- namespace RedSandstone
- {
- constexpr short RedSandstone()
- {
- return 8217;
- }
- }
- namespace RedSandstoneSlab
- {
- enum class Type
- {
- Top,
- Bottom,
- Double
- };
- constexpr short RedSandstoneSlab(enum Type Type)
- {
- if (Type == Type::Top) return 8397;
- if (Type == Type::Bottom) return 8399;
- return 8401;
- }
- short RedSandstoneSlab();
- enum Type Type(short ID);
- }
- namespace RedSandstoneStairs
- {
- enum class Half
- {
- Top,
- Bottom
- };
- enum class Shape
- {
- Straight,
- InnerLeft,
- InnerRight,
- OuterLeft,
- OuterRight
- };
- constexpr short RedSandstoneStairs(eBlockFace Facing, enum Half Half, enum Shape Shape)
- {
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Top && Shape == Shape::Straight) return 8221;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Top && Shape == Shape::InnerLeft) return 8223;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Top && Shape == Shape::InnerRight) return 8225;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Top && Shape == Shape::OuterLeft) return 8227;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Top && Shape == Shape::OuterRight) return 8229;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Bottom && Shape == Shape::Straight) return 8231;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Bottom && Shape == Shape::InnerLeft) return 8233;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Bottom && Shape == Shape::InnerRight) return 8235;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Bottom && Shape == Shape::OuterLeft) return 8237;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Bottom && Shape == Shape::OuterRight) return 8239;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Top && Shape == Shape::Straight) return 8241;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Top && Shape == Shape::InnerLeft) return 8243;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Top && Shape == Shape::InnerRight) return 8245;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Top && Shape == Shape::OuterLeft) return 8247;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Top && Shape == Shape::OuterRight) return 8249;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Bottom && Shape == Shape::Straight) return 8251;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Bottom && Shape == Shape::InnerLeft) return 8253;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Bottom && Shape == Shape::InnerRight) return 8255;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Bottom && Shape == Shape::OuterLeft) return 8257;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Bottom && Shape == Shape::OuterRight) return 8259;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Top && Shape == Shape::Straight) return 8261;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Top && Shape == Shape::InnerLeft) return 8263;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Top && Shape == Shape::InnerRight) return 8265;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Top && Shape == Shape::OuterLeft) return 8267;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Top && Shape == Shape::OuterRight) return 8269;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Bottom && Shape == Shape::Straight) return 8271;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Bottom && Shape == Shape::InnerLeft) return 8273;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Bottom && Shape == Shape::InnerRight) return 8275;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Bottom && Shape == Shape::OuterLeft) return 8277;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Bottom && Shape == Shape::OuterRight) return 8279;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Top && Shape == Shape::Straight) return 8281;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Top && Shape == Shape::InnerLeft) return 8283;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Top && Shape == Shape::InnerRight) return 8285;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Top && Shape == Shape::OuterLeft) return 8287;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Top && Shape == Shape::OuterRight) return 8289;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Bottom && Shape == Shape::Straight) return 8291;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Bottom && Shape == Shape::InnerLeft) return 8293;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Bottom && Shape == Shape::InnerRight) return 8295;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Bottom && Shape == Shape::OuterLeft) return 8297;
- return 8299;
- }
- short RedSandstoneStairs();
- eBlockFace Facing(short ID);
- enum Half Half(short ID);
- enum Shape Shape(short ID);
- }
- namespace RedSandstoneWall
- {
- enum class East
- {
- None,
- Low,
- Tall
- };
- enum class North
- {
- None,
- Low,
- Tall
- };
- enum class South
- {
- None,
- Low,
- Tall
- };
- enum class West
- {
- None,
- Low,
- Tall
- };
- constexpr short RedSandstoneWall(enum East East, enum North North, enum South South, bool Up, enum West West)
- {
- if (East == East::None && North == North::None && South == South::None && Up && West == West::None) return 11518;
- if (East == East::None && North == North::None && South == South::None && Up && West == West::Low) return 11519;
- if (East == East::None && North == North::None && South == South::None && Up && West == West::Tall) return 11520;
- if (East == East::None && North == North::None && South == South::None && !Up && West == West::None) return 11524;
- if (East == East::None && North == North::None && South == South::None && !Up && West == West::Low) return 11525;
- if (East == East::None && North == North::None && South == South::None && !Up && West == West::Tall) return 11526;
- if (East == East::None && North == North::None && South == South::Low && Up && West == West::None) return 11530;
- if (East == East::None && North == North::None && South == South::Low && Up && West == West::Low) return 11531;
- if (East == East::None && North == North::None && South == South::Low && Up && West == West::Tall) return 11532;
- if (East == East::None && North == North::None && South == South::Low && !Up && West == West::None) return 11536;
- if (East == East::None && North == North::None && South == South::Low && !Up && West == West::Low) return 11537;
- if (East == East::None && North == North::None && South == South::Low && !Up && West == West::Tall) return 11538;
- if (East == East::None && North == North::None && South == South::Tall && Up && West == West::None) return 11542;
- if (East == East::None && North == North::None && South == South::Tall && Up && West == West::Low) return 11543;
- if (East == East::None && North == North::None && South == South::Tall && Up && West == West::Tall) return 11544;
- if (East == East::None && North == North::None && South == South::Tall && !Up && West == West::None) return 11548;
- if (East == East::None && North == North::None && South == South::Tall && !Up && West == West::Low) return 11549;
- if (East == East::None && North == North::None && South == South::Tall && !Up && West == West::Tall) return 11550;
- if (East == East::None && North == North::Low && South == South::None && Up && West == West::None) return 11554;
- if (East == East::None && North == North::Low && South == South::None && Up && West == West::Low) return 11555;
- if (East == East::None && North == North::Low && South == South::None && Up && West == West::Tall) return 11556;
- if (East == East::None && North == North::Low && South == South::None && !Up && West == West::None) return 11560;
- if (East == East::None && North == North::Low && South == South::None && !Up && West == West::Low) return 11561;
- if (East == East::None && North == North::Low && South == South::None && !Up && West == West::Tall) return 11562;
- if (East == East::None && North == North::Low && South == South::Low && Up && West == West::None) return 11566;
- if (East == East::None && North == North::Low && South == South::Low && Up && West == West::Low) return 11567;
- if (East == East::None && North == North::Low && South == South::Low && Up && West == West::Tall) return 11568;
- if (East == East::None && North == North::Low && South == South::Low && !Up && West == West::None) return 11572;
- if (East == East::None && North == North::Low && South == South::Low && !Up && West == West::Low) return 11573;
- if (East == East::None && North == North::Low && South == South::Low && !Up && West == West::Tall) return 11574;
- if (East == East::None && North == North::Low && South == South::Tall && Up && West == West::None) return 11578;
- if (East == East::None && North == North::Low && South == South::Tall && Up && West == West::Low) return 11579;
- if (East == East::None && North == North::Low && South == South::Tall && Up && West == West::Tall) return 11580;
- if (East == East::None && North == North::Low && South == South::Tall && !Up && West == West::None) return 11584;
- if (East == East::None && North == North::Low && South == South::Tall && !Up && West == West::Low) return 11585;
- if (East == East::None && North == North::Low && South == South::Tall && !Up && West == West::Tall) return 11586;
- if (East == East::None && North == North::Tall && South == South::None && Up && West == West::None) return 11590;
- if (East == East::None && North == North::Tall && South == South::None && Up && West == West::Low) return 11591;
- if (East == East::None && North == North::Tall && South == South::None && Up && West == West::Tall) return 11592;
- if (East == East::None && North == North::Tall && South == South::None && !Up && West == West::None) return 11596;
- if (East == East::None && North == North::Tall && South == South::None && !Up && West == West::Low) return 11597;
- if (East == East::None && North == North::Tall && South == South::None && !Up && West == West::Tall) return 11598;
- if (East == East::None && North == North::Tall && South == South::Low && Up && West == West::None) return 11602;
- if (East == East::None && North == North::Tall && South == South::Low && Up && West == West::Low) return 11603;
- if (East == East::None && North == North::Tall && South == South::Low && Up && West == West::Tall) return 11604;
- if (East == East::None && North == North::Tall && South == South::Low && !Up && West == West::None) return 11608;
- if (East == East::None && North == North::Tall && South == South::Low && !Up && West == West::Low) return 11609;
- if (East == East::None && North == North::Tall && South == South::Low && !Up && West == West::Tall) return 11610;
- if (East == East::None && North == North::Tall && South == South::Tall && Up && West == West::None) return 11614;
- if (East == East::None && North == North::Tall && South == South::Tall && Up && West == West::Low) return 11615;
- if (East == East::None && North == North::Tall && South == South::Tall && Up && West == West::Tall) return 11616;
- if (East == East::None && North == North::Tall && South == South::Tall && !Up && West == West::None) return 11620;
- if (East == East::None && North == North::Tall && South == South::Tall && !Up && West == West::Low) return 11621;
- if (East == East::None && North == North::Tall && South == South::Tall && !Up && West == West::Tall) return 11622;
- if (East == East::Low && North == North::None && South == South::None && Up && West == West::None) return 11626;
- if (East == East::Low && North == North::None && South == South::None && Up && West == West::Low) return 11627;
- if (East == East::Low && North == North::None && South == South::None && Up && West == West::Tall) return 11628;
- if (East == East::Low && North == North::None && South == South::None && !Up && West == West::None) return 11632;
- if (East == East::Low && North == North::None && South == South::None && !Up && West == West::Low) return 11633;
- if (East == East::Low && North == North::None && South == South::None && !Up && West == West::Tall) return 11634;
- if (East == East::Low && North == North::None && South == South::Low && Up && West == West::None) return 11638;
- if (East == East::Low && North == North::None && South == South::Low && Up && West == West::Low) return 11639;
- if (East == East::Low && North == North::None && South == South::Low && Up && West == West::Tall) return 11640;
- if (East == East::Low && North == North::None && South == South::Low && !Up && West == West::None) return 11644;
- if (East == East::Low && North == North::None && South == South::Low && !Up && West == West::Low) return 11645;
- if (East == East::Low && North == North::None && South == South::Low && !Up && West == West::Tall) return 11646;
- if (East == East::Low && North == North::None && South == South::Tall && Up && West == West::None) return 11650;
- if (East == East::Low && North == North::None && South == South::Tall && Up && West == West::Low) return 11651;
- if (East == East::Low && North == North::None && South == South::Tall && Up && West == West::Tall) return 11652;
- if (East == East::Low && North == North::None && South == South::Tall && !Up && West == West::None) return 11656;
- if (East == East::Low && North == North::None && South == South::Tall && !Up && West == West::Low) return 11657;
- if (East == East::Low && North == North::None && South == South::Tall && !Up && West == West::Tall) return 11658;
- if (East == East::Low && North == North::Low && South == South::None && Up && West == West::None) return 11662;
- if (East == East::Low && North == North::Low && South == South::None && Up && West == West::Low) return 11663;
- if (East == East::Low && North == North::Low && South == South::None && Up && West == West::Tall) return 11664;
- if (East == East::Low && North == North::Low && South == South::None && !Up && West == West::None) return 11668;
- if (East == East::Low && North == North::Low && South == South::None && !Up && West == West::Low) return 11669;
- if (East == East::Low && North == North::Low && South == South::None && !Up && West == West::Tall) return 11670;
- if (East == East::Low && North == North::Low && South == South::Low && Up && West == West::None) return 11674;
- if (East == East::Low && North == North::Low && South == South::Low && Up && West == West::Low) return 11675;
- if (East == East::Low && North == North::Low && South == South::Low && Up && West == West::Tall) return 11676;
- if (East == East::Low && North == North::Low && South == South::Low && !Up && West == West::None) return 11680;
- if (East == East::Low && North == North::Low && South == South::Low && !Up && West == West::Low) return 11681;
- if (East == East::Low && North == North::Low && South == South::Low && !Up && West == West::Tall) return 11682;
- if (East == East::Low && North == North::Low && South == South::Tall && Up && West == West::None) return 11686;
- if (East == East::Low && North == North::Low && South == South::Tall && Up && West == West::Low) return 11687;
- if (East == East::Low && North == North::Low && South == South::Tall && Up && West == West::Tall) return 11688;
- if (East == East::Low && North == North::Low && South == South::Tall && !Up && West == West::None) return 11692;
- if (East == East::Low && North == North::Low && South == South::Tall && !Up && West == West::Low) return 11693;
- if (East == East::Low && North == North::Low && South == South::Tall && !Up && West == West::Tall) return 11694;
- if (East == East::Low && North == North::Tall && South == South::None && Up && West == West::None) return 11698;
- if (East == East::Low && North == North::Tall && South == South::None && Up && West == West::Low) return 11699;
- if (East == East::Low && North == North::Tall && South == South::None && Up && West == West::Tall) return 11700;
- if (East == East::Low && North == North::Tall && South == South::None && !Up && West == West::None) return 11704;
- if (East == East::Low && North == North::Tall && South == South::None && !Up && West == West::Low) return 11705;
- if (East == East::Low && North == North::Tall && South == South::None && !Up && West == West::Tall) return 11706;
- if (East == East::Low && North == North::Tall && South == South::Low && Up && West == West::None) return 11710;
- if (East == East::Low && North == North::Tall && South == South::Low && Up && West == West::Low) return 11711;
- if (East == East::Low && North == North::Tall && South == South::Low && Up && West == West::Tall) return 11712;
- if (East == East::Low && North == North::Tall && South == South::Low && !Up && West == West::None) return 11716;
- if (East == East::Low && North == North::Tall && South == South::Low && !Up && West == West::Low) return 11717;
- if (East == East::Low && North == North::Tall && South == South::Low && !Up && West == West::Tall) return 11718;
- if (East == East::Low && North == North::Tall && South == South::Tall && Up && West == West::None) return 11722;
- if (East == East::Low && North == North::Tall && South == South::Tall && Up && West == West::Low) return 11723;
- if (East == East::Low && North == North::Tall && South == South::Tall && Up && West == West::Tall) return 11724;
- if (East == East::Low && North == North::Tall && South == South::Tall && !Up && West == West::None) return 11728;
- if (East == East::Low && North == North::Tall && South == South::Tall && !Up && West == West::Low) return 11729;
- if (East == East::Low && North == North::Tall && South == South::Tall && !Up && West == West::Tall) return 11730;
- if (East == East::Tall && North == North::None && South == South::None && Up && West == West::None) return 11734;
- if (East == East::Tall && North == North::None && South == South::None && Up && West == West::Low) return 11735;
- if (East == East::Tall && North == North::None && South == South::None && Up && West == West::Tall) return 11736;
- if (East == East::Tall && North == North::None && South == South::None && !Up && West == West::None) return 11740;
- if (East == East::Tall && North == North::None && South == South::None && !Up && West == West::Low) return 11741;
- if (East == East::Tall && North == North::None && South == South::None && !Up && West == West::Tall) return 11742;
- if (East == East::Tall && North == North::None && South == South::Low && Up && West == West::None) return 11746;
- if (East == East::Tall && North == North::None && South == South::Low && Up && West == West::Low) return 11747;
- if (East == East::Tall && North == North::None && South == South::Low && Up && West == West::Tall) return 11748;
- if (East == East::Tall && North == North::None && South == South::Low && !Up && West == West::None) return 11752;
- if (East == East::Tall && North == North::None && South == South::Low && !Up && West == West::Low) return 11753;
- if (East == East::Tall && North == North::None && South == South::Low && !Up && West == West::Tall) return 11754;
- if (East == East::Tall && North == North::None && South == South::Tall && Up && West == West::None) return 11758;
- if (East == East::Tall && North == North::None && South == South::Tall && Up && West == West::Low) return 11759;
- if (East == East::Tall && North == North::None && South == South::Tall && Up && West == West::Tall) return 11760;
- if (East == East::Tall && North == North::None && South == South::Tall && !Up && West == West::None) return 11764;
- if (East == East::Tall && North == North::None && South == South::Tall && !Up && West == West::Low) return 11765;
- if (East == East::Tall && North == North::None && South == South::Tall && !Up && West == West::Tall) return 11766;
- if (East == East::Tall && North == North::Low && South == South::None && Up && West == West::None) return 11770;
- if (East == East::Tall && North == North::Low && South == South::None && Up && West == West::Low) return 11771;
- if (East == East::Tall && North == North::Low && South == South::None && Up && West == West::Tall) return 11772;
- if (East == East::Tall && North == North::Low && South == South::None && !Up && West == West::None) return 11776;
- if (East == East::Tall && North == North::Low && South == South::None && !Up && West == West::Low) return 11777;
- if (East == East::Tall && North == North::Low && South == South::None && !Up && West == West::Tall) return 11778;
- if (East == East::Tall && North == North::Low && South == South::Low && Up && West == West::None) return 11782;
- if (East == East::Tall && North == North::Low && South == South::Low && Up && West == West::Low) return 11783;
- if (East == East::Tall && North == North::Low && South == South::Low && Up && West == West::Tall) return 11784;
- if (East == East::Tall && North == North::Low && South == South::Low && !Up && West == West::None) return 11788;
- if (East == East::Tall && North == North::Low && South == South::Low && !Up && West == West::Low) return 11789;
- if (East == East::Tall && North == North::Low && South == South::Low && !Up && West == West::Tall) return 11790;
- if (East == East::Tall && North == North::Low && South == South::Tall && Up && West == West::None) return 11794;
- if (East == East::Tall && North == North::Low && South == South::Tall && Up && West == West::Low) return 11795;
- if (East == East::Tall && North == North::Low && South == South::Tall && Up && West == West::Tall) return 11796;
- if (East == East::Tall && North == North::Low && South == South::Tall && !Up && West == West::None) return 11800;
- if (East == East::Tall && North == North::Low && South == South::Tall && !Up && West == West::Low) return 11801;
- if (East == East::Tall && North == North::Low && South == South::Tall && !Up && West == West::Tall) return 11802;
- if (East == East::Tall && North == North::Tall && South == South::None && Up && West == West::None) return 11806;
- if (East == East::Tall && North == North::Tall && South == South::None && Up && West == West::Low) return 11807;
- if (East == East::Tall && North == North::Tall && South == South::None && Up && West == West::Tall) return 11808;
- if (East == East::Tall && North == North::Tall && South == South::None && !Up && West == West::None) return 11812;
- if (East == East::Tall && North == North::Tall && South == South::None && !Up && West == West::Low) return 11813;
- if (East == East::Tall && North == North::Tall && South == South::None && !Up && West == West::Tall) return 11814;
- if (East == East::Tall && North == North::Tall && South == South::Low && Up && West == West::None) return 11818;
- if (East == East::Tall && North == North::Tall && South == South::Low && Up && West == West::Low) return 11819;
- if (East == East::Tall && North == North::Tall && South == South::Low && Up && West == West::Tall) return 11820;
- if (East == East::Tall && North == North::Tall && South == South::Low && !Up && West == West::None) return 11824;
- if (East == East::Tall && North == North::Tall && South == South::Low && !Up && West == West::Low) return 11825;
- if (East == East::Tall && North == North::Tall && South == South::Low && !Up && West == West::Tall) return 11826;
- if (East == East::Tall && North == North::Tall && South == South::Tall && Up && West == West::None) return 11830;
- if (East == East::Tall && North == North::Tall && South == South::Tall && Up && West == West::Low) return 11831;
- if (East == East::Tall && North == North::Tall && South == South::Tall && Up && West == West::Tall) return 11832;
- if (East == East::Tall && North == North::Tall && South == South::Tall && !Up && West == West::None) return 11836;
- if (East == East::Tall && North == North::Tall && South == South::Tall && !Up && West == West::Low) return 11837;
- return 11838;
- }
- short RedSandstoneWall();
- enum East East(short ID);
- enum North North(short ID);
- enum South South(short ID);
- bool Up(short ID);
- enum West West(short ID);
- }
- namespace RedShulkerBox
- {
- constexpr short RedShulkerBox(eBlockFace Facing)
- {
- if (Facing == eBlockFace::BLOCK_FACE_ZM) return 9362;
- if (Facing == eBlockFace::BLOCK_FACE_XP) return 9363;
- if (Facing == eBlockFace::BLOCK_FACE_ZP) return 9364;
- if (Facing == eBlockFace::BLOCK_FACE_XM) return 9365;
- if (Facing == eBlockFace::BLOCK_FACE_YP) return 9366;
- return 9367;
- }
- short RedShulkerBox();
- eBlockFace Facing(short ID);
- }
- namespace RedStainedGlass
- {
- constexpr short RedStainedGlass()
- {
- return 4109;
- }
- }
- namespace RedStainedGlassPane
- {
- constexpr short RedStainedGlassPane(bool East, bool North, bool South, bool West)
- {
- if (East && North && South && West) return 7313;
- if (East && North && South && !West) return 7314;
- if (East && North && !South && West) return 7317;
- if (East && North && !South && !West) return 7318;
- if (East && !North && South && West) return 7321;
- if (East && !North && South && !West) return 7322;
- if (East && !North && !South && West) return 7325;
- if (East && !North && !South && !West) return 7326;
- if (!East && North && South && West) return 7329;
- if (!East && North && South && !West) return 7330;
- if (!East && North && !South && West) return 7333;
- if (!East && North && !South && !West) return 7334;
- if (!East && !North && South && West) return 7337;
- if (!East && !North && South && !West) return 7338;
- if (!East && !North && !South && West) return 7341;
- return 7342;
- }
- short RedStainedGlassPane();
- bool East(short ID);
- bool North(short ID);
- bool South(short ID);
- bool West(short ID);
- }
- namespace RedTerracotta
- {
- constexpr short RedTerracotta()
- {
- return 6861;
- }
- }
- namespace RedTulip
- {
- constexpr short RedTulip()
- {
- return 1417;
- }
- }
- namespace RedWallBanner
- {
- constexpr short RedWallBanner(eBlockFace Facing)
- {
- if (Facing == eBlockFace::BLOCK_FACE_ZM) return 8209;
- if (Facing == eBlockFace::BLOCK_FACE_ZP) return 8210;
- if (Facing == eBlockFace::BLOCK_FACE_XM) return 8211;
- return 8212;
- }
- short RedWallBanner();
- eBlockFace Facing(short ID);
- }
- namespace RedWool
- {
- constexpr short RedWool()
- {
- return 1398;
- }
- }
- namespace RedstoneBlock
- {
- constexpr short RedstoneBlock()
- {
- return 6726;
- }
- }
- namespace RedstoneLamp
- {
- constexpr short RedstoneLamp(bool Lit)
- {
- if (Lit) return 5156;
- return 5157;
- }
- short RedstoneLamp();
- bool Lit(short ID);
- }
- namespace RedstoneOre
- {
- constexpr short RedstoneOre(bool Lit)
- {
- if (Lit) return 3885;
- return 3886;
- }
- short RedstoneOre();
- bool Lit(short ID);
- }
- namespace RedstoneTorch
- {
- constexpr short RedstoneTorch(bool Lit)
- {
- if (Lit) return 3887;
- return 3888;
- }
- short RedstoneTorch();
- bool Lit(short ID);
- }
- namespace RedstoneWallTorch
- {
- constexpr short RedstoneWallTorch(eBlockFace Facing, bool Lit)
- {
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Lit) return 3889;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && !Lit) return 3890;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Lit) return 3891;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && !Lit) return 3892;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Lit) return 3893;
- if (Facing == eBlockFace::BLOCK_FACE_XM && !Lit) return 3894;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Lit) return 3895;
- return 3896;
- }
- short RedstoneWallTorch();
- eBlockFace Facing(short ID);
- bool Lit(short ID);
- }
- namespace RedstoneWire
- {
- enum class East
- {
- Up,
- Side,
- None
- };
- enum class North
- {
- Up,
- Side,
- None
- };
- enum class South
- {
- Up,
- Side,
- None
- };
- enum class West
- {
- Up,
- Side,
- None
- };
- constexpr short RedstoneWire(enum East East, enum North North, unsigned char Power, enum South South, enum West West)
- {
- if (East == East::Up && North == North::Up && Power == 0 && South == South::Up && West == West::Up) return 2058;
- if (East == East::Up && North == North::Up && Power == 0 && South == South::Up && West == West::Side) return 2059;
- if (East == East::Up && North == North::Up && Power == 0 && South == South::Up && West == West::None) return 2060;
- if (East == East::Up && North == North::Up && Power == 0 && South == South::Side && West == West::Up) return 2061;
- if (East == East::Up && North == North::Up && Power == 0 && South == South::Side && West == West::Side) return 2062;
- if (East == East::Up && North == North::Up && Power == 0 && South == South::Side && West == West::None) return 2063;
- if (East == East::Up && North == North::Up && Power == 0 && South == South::None && West == West::Up) return 2064;
- if (East == East::Up && North == North::Up && Power == 0 && South == South::None && West == West::Side) return 2065;
- if (East == East::Up && North == North::Up && Power == 0 && South == South::None && West == West::None) return 2066;
- if (East == East::Up && North == North::Up && Power == 1 && South == South::Up && West == West::Up) return 2067;
- if (East == East::Up && North == North::Up && Power == 1 && South == South::Up && West == West::Side) return 2068;
- if (East == East::Up && North == North::Up && Power == 1 && South == South::Up && West == West::None) return 2069;
- if (East == East::Up && North == North::Up && Power == 1 && South == South::Side && West == West::Up) return 2070;
- if (East == East::Up && North == North::Up && Power == 1 && South == South::Side && West == West::Side) return 2071;
- if (East == East::Up && North == North::Up && Power == 1 && South == South::Side && West == West::None) return 2072;
- if (East == East::Up && North == North::Up && Power == 1 && South == South::None && West == West::Up) return 2073;
- if (East == East::Up && North == North::Up && Power == 1 && South == South::None && West == West::Side) return 2074;
- if (East == East::Up && North == North::Up && Power == 1 && South == South::None && West == West::None) return 2075;
- if (East == East::Up && North == North::Up && Power == 2 && South == South::Up && West == West::Up) return 2076;
- if (East == East::Up && North == North::Up && Power == 2 && South == South::Up && West == West::Side) return 2077;
- if (East == East::Up && North == North::Up && Power == 2 && South == South::Up && West == West::None) return 2078;
- if (East == East::Up && North == North::Up && Power == 2 && South == South::Side && West == West::Up) return 2079;
- if (East == East::Up && North == North::Up && Power == 2 && South == South::Side && West == West::Side) return 2080;
- if (East == East::Up && North == North::Up && Power == 2 && South == South::Side && West == West::None) return 2081;
- if (East == East::Up && North == North::Up && Power == 2 && South == South::None && West == West::Up) return 2082;
- if (East == East::Up && North == North::Up && Power == 2 && South == South::None && West == West::Side) return 2083;
- if (East == East::Up && North == North::Up && Power == 2 && South == South::None && West == West::None) return 2084;
- if (East == East::Up && North == North::Up && Power == 3 && South == South::Up && West == West::Up) return 2085;
- if (East == East::Up && North == North::Up && Power == 3 && South == South::Up && West == West::Side) return 2086;
- if (East == East::Up && North == North::Up && Power == 3 && South == South::Up && West == West::None) return 2087;
- if (East == East::Up && North == North::Up && Power == 3 && South == South::Side && West == West::Up) return 2088;
- if (East == East::Up && North == North::Up && Power == 3 && South == South::Side && West == West::Side) return 2089;
- if (East == East::Up && North == North::Up && Power == 3 && South == South::Side && West == West::None) return 2090;
- if (East == East::Up && North == North::Up && Power == 3 && South == South::None && West == West::Up) return 2091;
- if (East == East::Up && North == North::Up && Power == 3 && South == South::None && West == West::Side) return 2092;
- if (East == East::Up && North == North::Up && Power == 3 && South == South::None && West == West::None) return 2093;
- if (East == East::Up && North == North::Up && Power == 4 && South == South::Up && West == West::Up) return 2094;
- if (East == East::Up && North == North::Up && Power == 4 && South == South::Up && West == West::Side) return 2095;
- if (East == East::Up && North == North::Up && Power == 4 && South == South::Up && West == West::None) return 2096;
- if (East == East::Up && North == North::Up && Power == 4 && South == South::Side && West == West::Up) return 2097;
- if (East == East::Up && North == North::Up && Power == 4 && South == South::Side && West == West::Side) return 2098;
- if (East == East::Up && North == North::Up && Power == 4 && South == South::Side && West == West::None) return 2099;
- if (East == East::Up && North == North::Up && Power == 4 && South == South::None && West == West::Up) return 2100;
- if (East == East::Up && North == North::Up && Power == 4 && South == South::None && West == West::Side) return 2101;
- if (East == East::Up && North == North::Up && Power == 4 && South == South::None && West == West::None) return 2102;
- if (East == East::Up && North == North::Up && Power == 5 && South == South::Up && West == West::Up) return 2103;
- if (East == East::Up && North == North::Up && Power == 5 && South == South::Up && West == West::Side) return 2104;
- if (East == East::Up && North == North::Up && Power == 5 && South == South::Up && West == West::None) return 2105;
- if (East == East::Up && North == North::Up && Power == 5 && South == South::Side && West == West::Up) return 2106;
- if (East == East::Up && North == North::Up && Power == 5 && South == South::Side && West == West::Side) return 2107;
- if (East == East::Up && North == North::Up && Power == 5 && South == South::Side && West == West::None) return 2108;
- if (East == East::Up && North == North::Up && Power == 5 && South == South::None && West == West::Up) return 2109;
- if (East == East::Up && North == North::Up && Power == 5 && South == South::None && West == West::Side) return 2110;
- if (East == East::Up && North == North::Up && Power == 5 && South == South::None && West == West::None) return 2111;
- if (East == East::Up && North == North::Up && Power == 6 && South == South::Up && West == West::Up) return 2112;
- if (East == East::Up && North == North::Up && Power == 6 && South == South::Up && West == West::Side) return 2113;
- if (East == East::Up && North == North::Up && Power == 6 && South == South::Up && West == West::None) return 2114;
- if (East == East::Up && North == North::Up && Power == 6 && South == South::Side && West == West::Up) return 2115;
- if (East == East::Up && North == North::Up && Power == 6 && South == South::Side && West == West::Side) return 2116;
- if (East == East::Up && North == North::Up && Power == 6 && South == South::Side && West == West::None) return 2117;
- if (East == East::Up && North == North::Up && Power == 6 && South == South::None && West == West::Up) return 2118;
- if (East == East::Up && North == North::Up && Power == 6 && South == South::None && West == West::Side) return 2119;
- if (East == East::Up && North == North::Up && Power == 6 && South == South::None && West == West::None) return 2120;
- if (East == East::Up && North == North::Up && Power == 7 && South == South::Up && West == West::Up) return 2121;
- if (East == East::Up && North == North::Up && Power == 7 && South == South::Up && West == West::Side) return 2122;
- if (East == East::Up && North == North::Up && Power == 7 && South == South::Up && West == West::None) return 2123;
- if (East == East::Up && North == North::Up && Power == 7 && South == South::Side && West == West::Up) return 2124;
- if (East == East::Up && North == North::Up && Power == 7 && South == South::Side && West == West::Side) return 2125;
- if (East == East::Up && North == North::Up && Power == 7 && South == South::Side && West == West::None) return 2126;
- if (East == East::Up && North == North::Up && Power == 7 && South == South::None && West == West::Up) return 2127;
- if (East == East::Up && North == North::Up && Power == 7 && South == South::None && West == West::Side) return 2128;
- if (East == East::Up && North == North::Up && Power == 7 && South == South::None && West == West::None) return 2129;
- if (East == East::Up && North == North::Up && Power == 8 && South == South::Up && West == West::Up) return 2130;
- if (East == East::Up && North == North::Up && Power == 8 && South == South::Up && West == West::Side) return 2131;
- if (East == East::Up && North == North::Up && Power == 8 && South == South::Up && West == West::None) return 2132;
- if (East == East::Up && North == North::Up && Power == 8 && South == South::Side && West == West::Up) return 2133;
- if (East == East::Up && North == North::Up && Power == 8 && South == South::Side && West == West::Side) return 2134;
- if (East == East::Up && North == North::Up && Power == 8 && South == South::Side && West == West::None) return 2135;
- if (East == East::Up && North == North::Up && Power == 8 && South == South::None && West == West::Up) return 2136;
- if (East == East::Up && North == North::Up && Power == 8 && South == South::None && West == West::Side) return 2137;
- if (East == East::Up && North == North::Up && Power == 8 && South == South::None && West == West::None) return 2138;
- if (East == East::Up && North == North::Up && Power == 9 && South == South::Up && West == West::Up) return 2139;
- if (East == East::Up && North == North::Up && Power == 9 && South == South::Up && West == West::Side) return 2140;
- if (East == East::Up && North == North::Up && Power == 9 && South == South::Up && West == West::None) return 2141;
- if (East == East::Up && North == North::Up && Power == 9 && South == South::Side && West == West::Up) return 2142;
- if (East == East::Up && North == North::Up && Power == 9 && South == South::Side && West == West::Side) return 2143;
- if (East == East::Up && North == North::Up && Power == 9 && South == South::Side && West == West::None) return 2144;
- if (East == East::Up && North == North::Up && Power == 9 && South == South::None && West == West::Up) return 2145;
- if (East == East::Up && North == North::Up && Power == 9 && South == South::None && West == West::Side) return 2146;
- if (East == East::Up && North == North::Up && Power == 9 && South == South::None && West == West::None) return 2147;
- if (East == East::Up && North == North::Up && Power == 10 && South == South::Up && West == West::Up) return 2148;
- if (East == East::Up && North == North::Up && Power == 10 && South == South::Up && West == West::Side) return 2149;
- if (East == East::Up && North == North::Up && Power == 10 && South == South::Up && West == West::None) return 2150;
- if (East == East::Up && North == North::Up && Power == 10 && South == South::Side && West == West::Up) return 2151;
- if (East == East::Up && North == North::Up && Power == 10 && South == South::Side && West == West::Side) return 2152;
- if (East == East::Up && North == North::Up && Power == 10 && South == South::Side && West == West::None) return 2153;
- if (East == East::Up && North == North::Up && Power == 10 && South == South::None && West == West::Up) return 2154;
- if (East == East::Up && North == North::Up && Power == 10 && South == South::None && West == West::Side) return 2155;
- if (East == East::Up && North == North::Up && Power == 10 && South == South::None && West == West::None) return 2156;
- if (East == East::Up && North == North::Up && Power == 11 && South == South::Up && West == West::Up) return 2157;
- if (East == East::Up && North == North::Up && Power == 11 && South == South::Up && West == West::Side) return 2158;
- if (East == East::Up && North == North::Up && Power == 11 && South == South::Up && West == West::None) return 2159;
- if (East == East::Up && North == North::Up && Power == 11 && South == South::Side && West == West::Up) return 2160;
- if (East == East::Up && North == North::Up && Power == 11 && South == South::Side && West == West::Side) return 2161;
- if (East == East::Up && North == North::Up && Power == 11 && South == South::Side && West == West::None) return 2162;
- if (East == East::Up && North == North::Up && Power == 11 && South == South::None && West == West::Up) return 2163;
- if (East == East::Up && North == North::Up && Power == 11 && South == South::None && West == West::Side) return 2164;
- if (East == East::Up && North == North::Up && Power == 11 && South == South::None && West == West::None) return 2165;
- if (East == East::Up && North == North::Up && Power == 12 && South == South::Up && West == West::Up) return 2166;
- if (East == East::Up && North == North::Up && Power == 12 && South == South::Up && West == West::Side) return 2167;
- if (East == East::Up && North == North::Up && Power == 12 && South == South::Up && West == West::None) return 2168;
- if (East == East::Up && North == North::Up && Power == 12 && South == South::Side && West == West::Up) return 2169;
- if (East == East::Up && North == North::Up && Power == 12 && South == South::Side && West == West::Side) return 2170;
- if (East == East::Up && North == North::Up && Power == 12 && South == South::Side && West == West::None) return 2171;
- if (East == East::Up && North == North::Up && Power == 12 && South == South::None && West == West::Up) return 2172;
- if (East == East::Up && North == North::Up && Power == 12 && South == South::None && West == West::Side) return 2173;
- if (East == East::Up && North == North::Up && Power == 12 && South == South::None && West == West::None) return 2174;
- if (East == East::Up && North == North::Up && Power == 13 && South == South::Up && West == West::Up) return 2175;
- if (East == East::Up && North == North::Up && Power == 13 && South == South::Up && West == West::Side) return 2176;
- if (East == East::Up && North == North::Up && Power == 13 && South == South::Up && West == West::None) return 2177;
- if (East == East::Up && North == North::Up && Power == 13 && South == South::Side && West == West::Up) return 2178;
- if (East == East::Up && North == North::Up && Power == 13 && South == South::Side && West == West::Side) return 2179;
- if (East == East::Up && North == North::Up && Power == 13 && South == South::Side && West == West::None) return 2180;
- if (East == East::Up && North == North::Up && Power == 13 && South == South::None && West == West::Up) return 2181;
- if (East == East::Up && North == North::Up && Power == 13 && South == South::None && West == West::Side) return 2182;
- if (East == East::Up && North == North::Up && Power == 13 && South == South::None && West == West::None) return 2183;
- if (East == East::Up && North == North::Up && Power == 14 && South == South::Up && West == West::Up) return 2184;
- if (East == East::Up && North == North::Up && Power == 14 && South == South::Up && West == West::Side) return 2185;
- if (East == East::Up && North == North::Up && Power == 14 && South == South::Up && West == West::None) return 2186;
- if (East == East::Up && North == North::Up && Power == 14 && South == South::Side && West == West::Up) return 2187;
- if (East == East::Up && North == North::Up && Power == 14 && South == South::Side && West == West::Side) return 2188;
- if (East == East::Up && North == North::Up && Power == 14 && South == South::Side && West == West::None) return 2189;
- if (East == East::Up && North == North::Up && Power == 14 && South == South::None && West == West::Up) return 2190;
- if (East == East::Up && North == North::Up && Power == 14 && South == South::None && West == West::Side) return 2191;
- if (East == East::Up && North == North::Up && Power == 14 && South == South::None && West == West::None) return 2192;
- if (East == East::Up && North == North::Up && Power == 15 && South == South::Up && West == West::Up) return 2193;
- if (East == East::Up && North == North::Up && Power == 15 && South == South::Up && West == West::Side) return 2194;
- if (East == East::Up && North == North::Up && Power == 15 && South == South::Up && West == West::None) return 2195;
- if (East == East::Up && North == North::Up && Power == 15 && South == South::Side && West == West::Up) return 2196;
- if (East == East::Up && North == North::Up && Power == 15 && South == South::Side && West == West::Side) return 2197;
- if (East == East::Up && North == North::Up && Power == 15 && South == South::Side && West == West::None) return 2198;
- if (East == East::Up && North == North::Up && Power == 15 && South == South::None && West == West::Up) return 2199;
- if (East == East::Up && North == North::Up && Power == 15 && South == South::None && West == West::Side) return 2200;
- if (East == East::Up && North == North::Up && Power == 15 && South == South::None && West == West::None) return 2201;
- if (East == East::Up && North == North::Side && Power == 0 && South == South::Up && West == West::Up) return 2202;
- if (East == East::Up && North == North::Side && Power == 0 && South == South::Up && West == West::Side) return 2203;
- if (East == East::Up && North == North::Side && Power == 0 && South == South::Up && West == West::None) return 2204;
- if (East == East::Up && North == North::Side && Power == 0 && South == South::Side && West == West::Up) return 2205;
- if (East == East::Up && North == North::Side && Power == 0 && South == South::Side && West == West::Side) return 2206;
- if (East == East::Up && North == North::Side && Power == 0 && South == South::Side && West == West::None) return 2207;
- if (East == East::Up && North == North::Side && Power == 0 && South == South::None && West == West::Up) return 2208;
- if (East == East::Up && North == North::Side && Power == 0 && South == South::None && West == West::Side) return 2209;
- if (East == East::Up && North == North::Side && Power == 0 && South == South::None && West == West::None) return 2210;
- if (East == East::Up && North == North::Side && Power == 1 && South == South::Up && West == West::Up) return 2211;
- if (East == East::Up && North == North::Side && Power == 1 && South == South::Up && West == West::Side) return 2212;
- if (East == East::Up && North == North::Side && Power == 1 && South == South::Up && West == West::None) return 2213;
- if (East == East::Up && North == North::Side && Power == 1 && South == South::Side && West == West::Up) return 2214;
- if (East == East::Up && North == North::Side && Power == 1 && South == South::Side && West == West::Side) return 2215;
- if (East == East::Up && North == North::Side && Power == 1 && South == South::Side && West == West::None) return 2216;
- if (East == East::Up && North == North::Side && Power == 1 && South == South::None && West == West::Up) return 2217;
- if (East == East::Up && North == North::Side && Power == 1 && South == South::None && West == West::Side) return 2218;
- if (East == East::Up && North == North::Side && Power == 1 && South == South::None && West == West::None) return 2219;
- if (East == East::Up && North == North::Side && Power == 2 && South == South::Up && West == West::Up) return 2220;
- if (East == East::Up && North == North::Side && Power == 2 && South == South::Up && West == West::Side) return 2221;
- if (East == East::Up && North == North::Side && Power == 2 && South == South::Up && West == West::None) return 2222;
- if (East == East::Up && North == North::Side && Power == 2 && South == South::Side && West == West::Up) return 2223;
- if (East == East::Up && North == North::Side && Power == 2 && South == South::Side && West == West::Side) return 2224;
- if (East == East::Up && North == North::Side && Power == 2 && South == South::Side && West == West::None) return 2225;
- if (East == East::Up && North == North::Side && Power == 2 && South == South::None && West == West::Up) return 2226;
- if (East == East::Up && North == North::Side && Power == 2 && South == South::None && West == West::Side) return 2227;
- if (East == East::Up && North == North::Side && Power == 2 && South == South::None && West == West::None) return 2228;
- if (East == East::Up && North == North::Side && Power == 3 && South == South::Up && West == West::Up) return 2229;
- if (East == East::Up && North == North::Side && Power == 3 && South == South::Up && West == West::Side) return 2230;
- if (East == East::Up && North == North::Side && Power == 3 && South == South::Up && West == West::None) return 2231;
- if (East == East::Up && North == North::Side && Power == 3 && South == South::Side && West == West::Up) return 2232;
- if (East == East::Up && North == North::Side && Power == 3 && South == South::Side && West == West::Side) return 2233;
- if (East == East::Up && North == North::Side && Power == 3 && South == South::Side && West == West::None) return 2234;
- if (East == East::Up && North == North::Side && Power == 3 && South == South::None && West == West::Up) return 2235;
- if (East == East::Up && North == North::Side && Power == 3 && South == South::None && West == West::Side) return 2236;
- if (East == East::Up && North == North::Side && Power == 3 && South == South::None && West == West::None) return 2237;
- if (East == East::Up && North == North::Side && Power == 4 && South == South::Up && West == West::Up) return 2238;
- if (East == East::Up && North == North::Side && Power == 4 && South == South::Up && West == West::Side) return 2239;
- if (East == East::Up && North == North::Side && Power == 4 && South == South::Up && West == West::None) return 2240;
- if (East == East::Up && North == North::Side && Power == 4 && South == South::Side && West == West::Up) return 2241;
- if (East == East::Up && North == North::Side && Power == 4 && South == South::Side && West == West::Side) return 2242;
- if (East == East::Up && North == North::Side && Power == 4 && South == South::Side && West == West::None) return 2243;
- if (East == East::Up && North == North::Side && Power == 4 && South == South::None && West == West::Up) return 2244;
- if (East == East::Up && North == North::Side && Power == 4 && South == South::None && West == West::Side) return 2245;
- if (East == East::Up && North == North::Side && Power == 4 && South == South::None && West == West::None) return 2246;
- if (East == East::Up && North == North::Side && Power == 5 && South == South::Up && West == West::Up) return 2247;
- if (East == East::Up && North == North::Side && Power == 5 && South == South::Up && West == West::Side) return 2248;
- if (East == East::Up && North == North::Side && Power == 5 && South == South::Up && West == West::None) return 2249;
- if (East == East::Up && North == North::Side && Power == 5 && South == South::Side && West == West::Up) return 2250;
- if (East == East::Up && North == North::Side && Power == 5 && South == South::Side && West == West::Side) return 2251;
- if (East == East::Up && North == North::Side && Power == 5 && South == South::Side && West == West::None) return 2252;
- if (East == East::Up && North == North::Side && Power == 5 && South == South::None && West == West::Up) return 2253;
- if (East == East::Up && North == North::Side && Power == 5 && South == South::None && West == West::Side) return 2254;
- if (East == East::Up && North == North::Side && Power == 5 && South == South::None && West == West::None) return 2255;
- if (East == East::Up && North == North::Side && Power == 6 && South == South::Up && West == West::Up) return 2256;
- if (East == East::Up && North == North::Side && Power == 6 && South == South::Up && West == West::Side) return 2257;
- if (East == East::Up && North == North::Side && Power == 6 && South == South::Up && West == West::None) return 2258;
- if (East == East::Up && North == North::Side && Power == 6 && South == South::Side && West == West::Up) return 2259;
- if (East == East::Up && North == North::Side && Power == 6 && South == South::Side && West == West::Side) return 2260;
- if (East == East::Up && North == North::Side && Power == 6 && South == South::Side && West == West::None) return 2261;
- if (East == East::Up && North == North::Side && Power == 6 && South == South::None && West == West::Up) return 2262;
- if (East == East::Up && North == North::Side && Power == 6 && South == South::None && West == West::Side) return 2263;
- if (East == East::Up && North == North::Side && Power == 6 && South == South::None && West == West::None) return 2264;
- if (East == East::Up && North == North::Side && Power == 7 && South == South::Up && West == West::Up) return 2265;
- if (East == East::Up && North == North::Side && Power == 7 && South == South::Up && West == West::Side) return 2266;
- if (East == East::Up && North == North::Side && Power == 7 && South == South::Up && West == West::None) return 2267;
- if (East == East::Up && North == North::Side && Power == 7 && South == South::Side && West == West::Up) return 2268;
- if (East == East::Up && North == North::Side && Power == 7 && South == South::Side && West == West::Side) return 2269;
- if (East == East::Up && North == North::Side && Power == 7 && South == South::Side && West == West::None) return 2270;
- if (East == East::Up && North == North::Side && Power == 7 && South == South::None && West == West::Up) return 2271;
- if (East == East::Up && North == North::Side && Power == 7 && South == South::None && West == West::Side) return 2272;
- if (East == East::Up && North == North::Side && Power == 7 && South == South::None && West == West::None) return 2273;
- if (East == East::Up && North == North::Side && Power == 8 && South == South::Up && West == West::Up) return 2274;
- if (East == East::Up && North == North::Side && Power == 8 && South == South::Up && West == West::Side) return 2275;
- if (East == East::Up && North == North::Side && Power == 8 && South == South::Up && West == West::None) return 2276;
- if (East == East::Up && North == North::Side && Power == 8 && South == South::Side && West == West::Up) return 2277;
- if (East == East::Up && North == North::Side && Power == 8 && South == South::Side && West == West::Side) return 2278;
- if (East == East::Up && North == North::Side && Power == 8 && South == South::Side && West == West::None) return 2279;
- if (East == East::Up && North == North::Side && Power == 8 && South == South::None && West == West::Up) return 2280;
- if (East == East::Up && North == North::Side && Power == 8 && South == South::None && West == West::Side) return 2281;
- if (East == East::Up && North == North::Side && Power == 8 && South == South::None && West == West::None) return 2282;
- if (East == East::Up && North == North::Side && Power == 9 && South == South::Up && West == West::Up) return 2283;
- if (East == East::Up && North == North::Side && Power == 9 && South == South::Up && West == West::Side) return 2284;
- if (East == East::Up && North == North::Side && Power == 9 && South == South::Up && West == West::None) return 2285;
- if (East == East::Up && North == North::Side && Power == 9 && South == South::Side && West == West::Up) return 2286;
- if (East == East::Up && North == North::Side && Power == 9 && South == South::Side && West == West::Side) return 2287;
- if (East == East::Up && North == North::Side && Power == 9 && South == South::Side && West == West::None) return 2288;
- if (East == East::Up && North == North::Side && Power == 9 && South == South::None && West == West::Up) return 2289;
- if (East == East::Up && North == North::Side && Power == 9 && South == South::None && West == West::Side) return 2290;
- if (East == East::Up && North == North::Side && Power == 9 && South == South::None && West == West::None) return 2291;
- if (East == East::Up && North == North::Side && Power == 10 && South == South::Up && West == West::Up) return 2292;
- if (East == East::Up && North == North::Side && Power == 10 && South == South::Up && West == West::Side) return 2293;
- if (East == East::Up && North == North::Side && Power == 10 && South == South::Up && West == West::None) return 2294;
- if (East == East::Up && North == North::Side && Power == 10 && South == South::Side && West == West::Up) return 2295;
- if (East == East::Up && North == North::Side && Power == 10 && South == South::Side && West == West::Side) return 2296;
- if (East == East::Up && North == North::Side && Power == 10 && South == South::Side && West == West::None) return 2297;
- if (East == East::Up && North == North::Side && Power == 10 && South == South::None && West == West::Up) return 2298;
- if (East == East::Up && North == North::Side && Power == 10 && South == South::None && West == West::Side) return 2299;
- if (East == East::Up && North == North::Side && Power == 10 && South == South::None && West == West::None) return 2300;
- if (East == East::Up && North == North::Side && Power == 11 && South == South::Up && West == West::Up) return 2301;
- if (East == East::Up && North == North::Side && Power == 11 && South == South::Up && West == West::Side) return 2302;
- if (East == East::Up && North == North::Side && Power == 11 && South == South::Up && West == West::None) return 2303;
- if (East == East::Up && North == North::Side && Power == 11 && South == South::Side && West == West::Up) return 2304;
- if (East == East::Up && North == North::Side && Power == 11 && South == South::Side && West == West::Side) return 2305;
- if (East == East::Up && North == North::Side && Power == 11 && South == South::Side && West == West::None) return 2306;
- if (East == East::Up && North == North::Side && Power == 11 && South == South::None && West == West::Up) return 2307;
- if (East == East::Up && North == North::Side && Power == 11 && South == South::None && West == West::Side) return 2308;
- if (East == East::Up && North == North::Side && Power == 11 && South == South::None && West == West::None) return 2309;
- if (East == East::Up && North == North::Side && Power == 12 && South == South::Up && West == West::Up) return 2310;
- if (East == East::Up && North == North::Side && Power == 12 && South == South::Up && West == West::Side) return 2311;
- if (East == East::Up && North == North::Side && Power == 12 && South == South::Up && West == West::None) return 2312;
- if (East == East::Up && North == North::Side && Power == 12 && South == South::Side && West == West::Up) return 2313;
- if (East == East::Up && North == North::Side && Power == 12 && South == South::Side && West == West::Side) return 2314;
- if (East == East::Up && North == North::Side && Power == 12 && South == South::Side && West == West::None) return 2315;
- if (East == East::Up && North == North::Side && Power == 12 && South == South::None && West == West::Up) return 2316;
- if (East == East::Up && North == North::Side && Power == 12 && South == South::None && West == West::Side) return 2317;
- if (East == East::Up && North == North::Side && Power == 12 && South == South::None && West == West::None) return 2318;
- if (East == East::Up && North == North::Side && Power == 13 && South == South::Up && West == West::Up) return 2319;
- if (East == East::Up && North == North::Side && Power == 13 && South == South::Up && West == West::Side) return 2320;
- if (East == East::Up && North == North::Side && Power == 13 && South == South::Up && West == West::None) return 2321;
- if (East == East::Up && North == North::Side && Power == 13 && South == South::Side && West == West::Up) return 2322;
- if (East == East::Up && North == North::Side && Power == 13 && South == South::Side && West == West::Side) return 2323;
- if (East == East::Up && North == North::Side && Power == 13 && South == South::Side && West == West::None) return 2324;
- if (East == East::Up && North == North::Side && Power == 13 && South == South::None && West == West::Up) return 2325;
- if (East == East::Up && North == North::Side && Power == 13 && South == South::None && West == West::Side) return 2326;
- if (East == East::Up && North == North::Side && Power == 13 && South == South::None && West == West::None) return 2327;
- if (East == East::Up && North == North::Side && Power == 14 && South == South::Up && West == West::Up) return 2328;
- if (East == East::Up && North == North::Side && Power == 14 && South == South::Up && West == West::Side) return 2329;
- if (East == East::Up && North == North::Side && Power == 14 && South == South::Up && West == West::None) return 2330;
- if (East == East::Up && North == North::Side && Power == 14 && South == South::Side && West == West::Up) return 2331;
- if (East == East::Up && North == North::Side && Power == 14 && South == South::Side && West == West::Side) return 2332;
- if (East == East::Up && North == North::Side && Power == 14 && South == South::Side && West == West::None) return 2333;
- if (East == East::Up && North == North::Side && Power == 14 && South == South::None && West == West::Up) return 2334;
- if (East == East::Up && North == North::Side && Power == 14 && South == South::None && West == West::Side) return 2335;
- if (East == East::Up && North == North::Side && Power == 14 && South == South::None && West == West::None) return 2336;
- if (East == East::Up && North == North::Side && Power == 15 && South == South::Up && West == West::Up) return 2337;
- if (East == East::Up && North == North::Side && Power == 15 && South == South::Up && West == West::Side) return 2338;
- if (East == East::Up && North == North::Side && Power == 15 && South == South::Up && West == West::None) return 2339;
- if (East == East::Up && North == North::Side && Power == 15 && South == South::Side && West == West::Up) return 2340;
- if (East == East::Up && North == North::Side && Power == 15 && South == South::Side && West == West::Side) return 2341;
- if (East == East::Up && North == North::Side && Power == 15 && South == South::Side && West == West::None) return 2342;
- if (East == East::Up && North == North::Side && Power == 15 && South == South::None && West == West::Up) return 2343;
- if (East == East::Up && North == North::Side && Power == 15 && South == South::None && West == West::Side) return 2344;
- if (East == East::Up && North == North::Side && Power == 15 && South == South::None && West == West::None) return 2345;
- if (East == East::Up && North == North::None && Power == 0 && South == South::Up && West == West::Up) return 2346;
- if (East == East::Up && North == North::None && Power == 0 && South == South::Up && West == West::Side) return 2347;
- if (East == East::Up && North == North::None && Power == 0 && South == South::Up && West == West::None) return 2348;
- if (East == East::Up && North == North::None && Power == 0 && South == South::Side && West == West::Up) return 2349;
- if (East == East::Up && North == North::None && Power == 0 && South == South::Side && West == West::Side) return 2350;
- if (East == East::Up && North == North::None && Power == 0 && South == South::Side && West == West::None) return 2351;
- if (East == East::Up && North == North::None && Power == 0 && South == South::None && West == West::Up) return 2352;
- if (East == East::Up && North == North::None && Power == 0 && South == South::None && West == West::Side) return 2353;
- if (East == East::Up && North == North::None && Power == 0 && South == South::None && West == West::None) return 2354;
- if (East == East::Up && North == North::None && Power == 1 && South == South::Up && West == West::Up) return 2355;
- if (East == East::Up && North == North::None && Power == 1 && South == South::Up && West == West::Side) return 2356;
- if (East == East::Up && North == North::None && Power == 1 && South == South::Up && West == West::None) return 2357;
- if (East == East::Up && North == North::None && Power == 1 && South == South::Side && West == West::Up) return 2358;
- if (East == East::Up && North == North::None && Power == 1 && South == South::Side && West == West::Side) return 2359;
- if (East == East::Up && North == North::None && Power == 1 && South == South::Side && West == West::None) return 2360;
- if (East == East::Up && North == North::None && Power == 1 && South == South::None && West == West::Up) return 2361;
- if (East == East::Up && North == North::None && Power == 1 && South == South::None && West == West::Side) return 2362;
- if (East == East::Up && North == North::None && Power == 1 && South == South::None && West == West::None) return 2363;
- if (East == East::Up && North == North::None && Power == 2 && South == South::Up && West == West::Up) return 2364;
- if (East == East::Up && North == North::None && Power == 2 && South == South::Up && West == West::Side) return 2365;
- if (East == East::Up && North == North::None && Power == 2 && South == South::Up && West == West::None) return 2366;
- if (East == East::Up && North == North::None && Power == 2 && South == South::Side && West == West::Up) return 2367;
- if (East == East::Up && North == North::None && Power == 2 && South == South::Side && West == West::Side) return 2368;
- if (East == East::Up && North == North::None && Power == 2 && South == South::Side && West == West::None) return 2369;
- if (East == East::Up && North == North::None && Power == 2 && South == South::None && West == West::Up) return 2370;
- if (East == East::Up && North == North::None && Power == 2 && South == South::None && West == West::Side) return 2371;
- if (East == East::Up && North == North::None && Power == 2 && South == South::None && West == West::None) return 2372;
- if (East == East::Up && North == North::None && Power == 3 && South == South::Up && West == West::Up) return 2373;
- if (East == East::Up && North == North::None && Power == 3 && South == South::Up && West == West::Side) return 2374;
- if (East == East::Up && North == North::None && Power == 3 && South == South::Up && West == West::None) return 2375;
- if (East == East::Up && North == North::None && Power == 3 && South == South::Side && West == West::Up) return 2376;
- if (East == East::Up && North == North::None && Power == 3 && South == South::Side && West == West::Side) return 2377;
- if (East == East::Up && North == North::None && Power == 3 && South == South::Side && West == West::None) return 2378;
- if (East == East::Up && North == North::None && Power == 3 && South == South::None && West == West::Up) return 2379;
- if (East == East::Up && North == North::None && Power == 3 && South == South::None && West == West::Side) return 2380;
- if (East == East::Up && North == North::None && Power == 3 && South == South::None && West == West::None) return 2381;
- if (East == East::Up && North == North::None && Power == 4 && South == South::Up && West == West::Up) return 2382;
- if (East == East::Up && North == North::None && Power == 4 && South == South::Up && West == West::Side) return 2383;
- if (East == East::Up && North == North::None && Power == 4 && South == South::Up && West == West::None) return 2384;
- if (East == East::Up && North == North::None && Power == 4 && South == South::Side && West == West::Up) return 2385;
- if (East == East::Up && North == North::None && Power == 4 && South == South::Side && West == West::Side) return 2386;
- if (East == East::Up && North == North::None && Power == 4 && South == South::Side && West == West::None) return 2387;
- if (East == East::Up && North == North::None && Power == 4 && South == South::None && West == West::Up) return 2388;
- if (East == East::Up && North == North::None && Power == 4 && South == South::None && West == West::Side) return 2389;
- if (East == East::Up && North == North::None && Power == 4 && South == South::None && West == West::None) return 2390;
- if (East == East::Up && North == North::None && Power == 5 && South == South::Up && West == West::Up) return 2391;
- if (East == East::Up && North == North::None && Power == 5 && South == South::Up && West == West::Side) return 2392;
- if (East == East::Up && North == North::None && Power == 5 && South == South::Up && West == West::None) return 2393;
- if (East == East::Up && North == North::None && Power == 5 && South == South::Side && West == West::Up) return 2394;
- if (East == East::Up && North == North::None && Power == 5 && South == South::Side && West == West::Side) return 2395;
- if (East == East::Up && North == North::None && Power == 5 && South == South::Side && West == West::None) return 2396;
- if (East == East::Up && North == North::None && Power == 5 && South == South::None && West == West::Up) return 2397;
- if (East == East::Up && North == North::None && Power == 5 && South == South::None && West == West::Side) return 2398;
- if (East == East::Up && North == North::None && Power == 5 && South == South::None && West == West::None) return 2399;
- if (East == East::Up && North == North::None && Power == 6 && South == South::Up && West == West::Up) return 2400;
- if (East == East::Up && North == North::None && Power == 6 && South == South::Up && West == West::Side) return 2401;
- if (East == East::Up && North == North::None && Power == 6 && South == South::Up && West == West::None) return 2402;
- if (East == East::Up && North == North::None && Power == 6 && South == South::Side && West == West::Up) return 2403;
- if (East == East::Up && North == North::None && Power == 6 && South == South::Side && West == West::Side) return 2404;
- if (East == East::Up && North == North::None && Power == 6 && South == South::Side && West == West::None) return 2405;
- if (East == East::Up && North == North::None && Power == 6 && South == South::None && West == West::Up) return 2406;
- if (East == East::Up && North == North::None && Power == 6 && South == South::None && West == West::Side) return 2407;
- if (East == East::Up && North == North::None && Power == 6 && South == South::None && West == West::None) return 2408;
- if (East == East::Up && North == North::None && Power == 7 && South == South::Up && West == West::Up) return 2409;
- if (East == East::Up && North == North::None && Power == 7 && South == South::Up && West == West::Side) return 2410;
- if (East == East::Up && North == North::None && Power == 7 && South == South::Up && West == West::None) return 2411;
- if (East == East::Up && North == North::None && Power == 7 && South == South::Side && West == West::Up) return 2412;
- if (East == East::Up && North == North::None && Power == 7 && South == South::Side && West == West::Side) return 2413;
- if (East == East::Up && North == North::None && Power == 7 && South == South::Side && West == West::None) return 2414;
- if (East == East::Up && North == North::None && Power == 7 && South == South::None && West == West::Up) return 2415;
- if (East == East::Up && North == North::None && Power == 7 && South == South::None && West == West::Side) return 2416;
- if (East == East::Up && North == North::None && Power == 7 && South == South::None && West == West::None) return 2417;
- if (East == East::Up && North == North::None && Power == 8 && South == South::Up && West == West::Up) return 2418;
- if (East == East::Up && North == North::None && Power == 8 && South == South::Up && West == West::Side) return 2419;
- if (East == East::Up && North == North::None && Power == 8 && South == South::Up && West == West::None) return 2420;
- if (East == East::Up && North == North::None && Power == 8 && South == South::Side && West == West::Up) return 2421;
- if (East == East::Up && North == North::None && Power == 8 && South == South::Side && West == West::Side) return 2422;
- if (East == East::Up && North == North::None && Power == 8 && South == South::Side && West == West::None) return 2423;
- if (East == East::Up && North == North::None && Power == 8 && South == South::None && West == West::Up) return 2424;
- if (East == East::Up && North == North::None && Power == 8 && South == South::None && West == West::Side) return 2425;
- if (East == East::Up && North == North::None && Power == 8 && South == South::None && West == West::None) return 2426;
- if (East == East::Up && North == North::None && Power == 9 && South == South::Up && West == West::Up) return 2427;
- if (East == East::Up && North == North::None && Power == 9 && South == South::Up && West == West::Side) return 2428;
- if (East == East::Up && North == North::None && Power == 9 && South == South::Up && West == West::None) return 2429;
- if (East == East::Up && North == North::None && Power == 9 && South == South::Side && West == West::Up) return 2430;
- if (East == East::Up && North == North::None && Power == 9 && South == South::Side && West == West::Side) return 2431;
- if (East == East::Up && North == North::None && Power == 9 && South == South::Side && West == West::None) return 2432;
- if (East == East::Up && North == North::None && Power == 9 && South == South::None && West == West::Up) return 2433;
- if (East == East::Up && North == North::None && Power == 9 && South == South::None && West == West::Side) return 2434;
- if (East == East::Up && North == North::None && Power == 9 && South == South::None && West == West::None) return 2435;
- if (East == East::Up && North == North::None && Power == 10 && South == South::Up && West == West::Up) return 2436;
- if (East == East::Up && North == North::None && Power == 10 && South == South::Up && West == West::Side) return 2437;
- if (East == East::Up && North == North::None && Power == 10 && South == South::Up && West == West::None) return 2438;
- if (East == East::Up && North == North::None && Power == 10 && South == South::Side && West == West::Up) return 2439;
- if (East == East::Up && North == North::None && Power == 10 && South == South::Side && West == West::Side) return 2440;
- if (East == East::Up && North == North::None && Power == 10 && South == South::Side && West == West::None) return 2441;
- if (East == East::Up && North == North::None && Power == 10 && South == South::None && West == West::Up) return 2442;
- if (East == East::Up && North == North::None && Power == 10 && South == South::None && West == West::Side) return 2443;
- if (East == East::Up && North == North::None && Power == 10 && South == South::None && West == West::None) return 2444;
- if (East == East::Up && North == North::None && Power == 11 && South == South::Up && West == West::Up) return 2445;
- if (East == East::Up && North == North::None && Power == 11 && South == South::Up && West == West::Side) return 2446;
- if (East == East::Up && North == North::None && Power == 11 && South == South::Up && West == West::None) return 2447;
- if (East == East::Up && North == North::None && Power == 11 && South == South::Side && West == West::Up) return 2448;
- if (East == East::Up && North == North::None && Power == 11 && South == South::Side && West == West::Side) return 2449;
- if (East == East::Up && North == North::None && Power == 11 && South == South::Side && West == West::None) return 2450;
- if (East == East::Up && North == North::None && Power == 11 && South == South::None && West == West::Up) return 2451;
- if (East == East::Up && North == North::None && Power == 11 && South == South::None && West == West::Side) return 2452;
- if (East == East::Up && North == North::None && Power == 11 && South == South::None && West == West::None) return 2453;
- if (East == East::Up && North == North::None && Power == 12 && South == South::Up && West == West::Up) return 2454;
- if (East == East::Up && North == North::None && Power == 12 && South == South::Up && West == West::Side) return 2455;
- if (East == East::Up && North == North::None && Power == 12 && South == South::Up && West == West::None) return 2456;
- if (East == East::Up && North == North::None && Power == 12 && South == South::Side && West == West::Up) return 2457;
- if (East == East::Up && North == North::None && Power == 12 && South == South::Side && West == West::Side) return 2458;
- if (East == East::Up && North == North::None && Power == 12 && South == South::Side && West == West::None) return 2459;
- if (East == East::Up && North == North::None && Power == 12 && South == South::None && West == West::Up) return 2460;
- if (East == East::Up && North == North::None && Power == 12 && South == South::None && West == West::Side) return 2461;
- if (East == East::Up && North == North::None && Power == 12 && South == South::None && West == West::None) return 2462;
- if (East == East::Up && North == North::None && Power == 13 && South == South::Up && West == West::Up) return 2463;
- if (East == East::Up && North == North::None && Power == 13 && South == South::Up && West == West::Side) return 2464;
- if (East == East::Up && North == North::None && Power == 13 && South == South::Up && West == West::None) return 2465;
- if (East == East::Up && North == North::None && Power == 13 && South == South::Side && West == West::Up) return 2466;
- if (East == East::Up && North == North::None && Power == 13 && South == South::Side && West == West::Side) return 2467;
- if (East == East::Up && North == North::None && Power == 13 && South == South::Side && West == West::None) return 2468;
- if (East == East::Up && North == North::None && Power == 13 && South == South::None && West == West::Up) return 2469;
- if (East == East::Up && North == North::None && Power == 13 && South == South::None && West == West::Side) return 2470;
- if (East == East::Up && North == North::None && Power == 13 && South == South::None && West == West::None) return 2471;
- if (East == East::Up && North == North::None && Power == 14 && South == South::Up && West == West::Up) return 2472;
- if (East == East::Up && North == North::None && Power == 14 && South == South::Up && West == West::Side) return 2473;
- if (East == East::Up && North == North::None && Power == 14 && South == South::Up && West == West::None) return 2474;
- if (East == East::Up && North == North::None && Power == 14 && South == South::Side && West == West::Up) return 2475;
- if (East == East::Up && North == North::None && Power == 14 && South == South::Side && West == West::Side) return 2476;
- if (East == East::Up && North == North::None && Power == 14 && South == South::Side && West == West::None) return 2477;
- if (East == East::Up && North == North::None && Power == 14 && South == South::None && West == West::Up) return 2478;
- if (East == East::Up && North == North::None && Power == 14 && South == South::None && West == West::Side) return 2479;
- if (East == East::Up && North == North::None && Power == 14 && South == South::None && West == West::None) return 2480;
- if (East == East::Up && North == North::None && Power == 15 && South == South::Up && West == West::Up) return 2481;
- if (East == East::Up && North == North::None && Power == 15 && South == South::Up && West == West::Side) return 2482;
- if (East == East::Up && North == North::None && Power == 15 && South == South::Up && West == West::None) return 2483;
- if (East == East::Up && North == North::None && Power == 15 && South == South::Side && West == West::Up) return 2484;
- if (East == East::Up && North == North::None && Power == 15 && South == South::Side && West == West::Side) return 2485;
- if (East == East::Up && North == North::None && Power == 15 && South == South::Side && West == West::None) return 2486;
- if (East == East::Up && North == North::None && Power == 15 && South == South::None && West == West::Up) return 2487;
- if (East == East::Up && North == North::None && Power == 15 && South == South::None && West == West::Side) return 2488;
- if (East == East::Up && North == North::None && Power == 15 && South == South::None && West == West::None) return 2489;
- if (East == East::Side && North == North::Up && Power == 0 && South == South::Up && West == West::Up) return 2490;
- if (East == East::Side && North == North::Up && Power == 0 && South == South::Up && West == West::Side) return 2491;
- if (East == East::Side && North == North::Up && Power == 0 && South == South::Up && West == West::None) return 2492;
- if (East == East::Side && North == North::Up && Power == 0 && South == South::Side && West == West::Up) return 2493;
- if (East == East::Side && North == North::Up && Power == 0 && South == South::Side && West == West::Side) return 2494;
- if (East == East::Side && North == North::Up && Power == 0 && South == South::Side && West == West::None) return 2495;
- if (East == East::Side && North == North::Up && Power == 0 && South == South::None && West == West::Up) return 2496;
- if (East == East::Side && North == North::Up && Power == 0 && South == South::None && West == West::Side) return 2497;
- if (East == East::Side && North == North::Up && Power == 0 && South == South::None && West == West::None) return 2498;
- if (East == East::Side && North == North::Up && Power == 1 && South == South::Up && West == West::Up) return 2499;
- if (East == East::Side && North == North::Up && Power == 1 && South == South::Up && West == West::Side) return 2500;
- if (East == East::Side && North == North::Up && Power == 1 && South == South::Up && West == West::None) return 2501;
- if (East == East::Side && North == North::Up && Power == 1 && South == South::Side && West == West::Up) return 2502;
- if (East == East::Side && North == North::Up && Power == 1 && South == South::Side && West == West::Side) return 2503;
- if (East == East::Side && North == North::Up && Power == 1 && South == South::Side && West == West::None) return 2504;
- if (East == East::Side && North == North::Up && Power == 1 && South == South::None && West == West::Up) return 2505;
- if (East == East::Side && North == North::Up && Power == 1 && South == South::None && West == West::Side) return 2506;
- if (East == East::Side && North == North::Up && Power == 1 && South == South::None && West == West::None) return 2507;
- if (East == East::Side && North == North::Up && Power == 2 && South == South::Up && West == West::Up) return 2508;
- if (East == East::Side && North == North::Up && Power == 2 && South == South::Up && West == West::Side) return 2509;
- if (East == East::Side && North == North::Up && Power == 2 && South == South::Up && West == West::None) return 2510;
- if (East == East::Side && North == North::Up && Power == 2 && South == South::Side && West == West::Up) return 2511;
- if (East == East::Side && North == North::Up && Power == 2 && South == South::Side && West == West::Side) return 2512;
- if (East == East::Side && North == North::Up && Power == 2 && South == South::Side && West == West::None) return 2513;
- if (East == East::Side && North == North::Up && Power == 2 && South == South::None && West == West::Up) return 2514;
- if (East == East::Side && North == North::Up && Power == 2 && South == South::None && West == West::Side) return 2515;
- if (East == East::Side && North == North::Up && Power == 2 && South == South::None && West == West::None) return 2516;
- if (East == East::Side && North == North::Up && Power == 3 && South == South::Up && West == West::Up) return 2517;
- if (East == East::Side && North == North::Up && Power == 3 && South == South::Up && West == West::Side) return 2518;
- if (East == East::Side && North == North::Up && Power == 3 && South == South::Up && West == West::None) return 2519;
- if (East == East::Side && North == North::Up && Power == 3 && South == South::Side && West == West::Up) return 2520;
- if (East == East::Side && North == North::Up && Power == 3 && South == South::Side && West == West::Side) return 2521;
- if (East == East::Side && North == North::Up && Power == 3 && South == South::Side && West == West::None) return 2522;
- if (East == East::Side && North == North::Up && Power == 3 && South == South::None && West == West::Up) return 2523;
- if (East == East::Side && North == North::Up && Power == 3 && South == South::None && West == West::Side) return 2524;
- if (East == East::Side && North == North::Up && Power == 3 && South == South::None && West == West::None) return 2525;
- if (East == East::Side && North == North::Up && Power == 4 && South == South::Up && West == West::Up) return 2526;
- if (East == East::Side && North == North::Up && Power == 4 && South == South::Up && West == West::Side) return 2527;
- if (East == East::Side && North == North::Up && Power == 4 && South == South::Up && West == West::None) return 2528;
- if (East == East::Side && North == North::Up && Power == 4 && South == South::Side && West == West::Up) return 2529;
- if (East == East::Side && North == North::Up && Power == 4 && South == South::Side && West == West::Side) return 2530;
- if (East == East::Side && North == North::Up && Power == 4 && South == South::Side && West == West::None) return 2531;
- if (East == East::Side && North == North::Up && Power == 4 && South == South::None && West == West::Up) return 2532;
- if (East == East::Side && North == North::Up && Power == 4 && South == South::None && West == West::Side) return 2533;
- if (East == East::Side && North == North::Up && Power == 4 && South == South::None && West == West::None) return 2534;
- if (East == East::Side && North == North::Up && Power == 5 && South == South::Up && West == West::Up) return 2535;
- if (East == East::Side && North == North::Up && Power == 5 && South == South::Up && West == West::Side) return 2536;
- if (East == East::Side && North == North::Up && Power == 5 && South == South::Up && West == West::None) return 2537;
- if (East == East::Side && North == North::Up && Power == 5 && South == South::Side && West == West::Up) return 2538;
- if (East == East::Side && North == North::Up && Power == 5 && South == South::Side && West == West::Side) return 2539;
- if (East == East::Side && North == North::Up && Power == 5 && South == South::Side && West == West::None) return 2540;
- if (East == East::Side && North == North::Up && Power == 5 && South == South::None && West == West::Up) return 2541;
- if (East == East::Side && North == North::Up && Power == 5 && South == South::None && West == West::Side) return 2542;
- if (East == East::Side && North == North::Up && Power == 5 && South == South::None && West == West::None) return 2543;
- if (East == East::Side && North == North::Up && Power == 6 && South == South::Up && West == West::Up) return 2544;
- if (East == East::Side && North == North::Up && Power == 6 && South == South::Up && West == West::Side) return 2545;
- if (East == East::Side && North == North::Up && Power == 6 && South == South::Up && West == West::None) return 2546;
- if (East == East::Side && North == North::Up && Power == 6 && South == South::Side && West == West::Up) return 2547;
- if (East == East::Side && North == North::Up && Power == 6 && South == South::Side && West == West::Side) return 2548;
- if (East == East::Side && North == North::Up && Power == 6 && South == South::Side && West == West::None) return 2549;
- if (East == East::Side && North == North::Up && Power == 6 && South == South::None && West == West::Up) return 2550;
- if (East == East::Side && North == North::Up && Power == 6 && South == South::None && West == West::Side) return 2551;
- if (East == East::Side && North == North::Up && Power == 6 && South == South::None && West == West::None) return 2552;
- if (East == East::Side && North == North::Up && Power == 7 && South == South::Up && West == West::Up) return 2553;
- if (East == East::Side && North == North::Up && Power == 7 && South == South::Up && West == West::Side) return 2554;
- if (East == East::Side && North == North::Up && Power == 7 && South == South::Up && West == West::None) return 2555;
- if (East == East::Side && North == North::Up && Power == 7 && South == South::Side && West == West::Up) return 2556;
- if (East == East::Side && North == North::Up && Power == 7 && South == South::Side && West == West::Side) return 2557;
- if (East == East::Side && North == North::Up && Power == 7 && South == South::Side && West == West::None) return 2558;
- if (East == East::Side && North == North::Up && Power == 7 && South == South::None && West == West::Up) return 2559;
- if (East == East::Side && North == North::Up && Power == 7 && South == South::None && West == West::Side) return 2560;
- if (East == East::Side && North == North::Up && Power == 7 && South == South::None && West == West::None) return 2561;
- if (East == East::Side && North == North::Up && Power == 8 && South == South::Up && West == West::Up) return 2562;
- if (East == East::Side && North == North::Up && Power == 8 && South == South::Up && West == West::Side) return 2563;
- if (East == East::Side && North == North::Up && Power == 8 && South == South::Up && West == West::None) return 2564;
- if (East == East::Side && North == North::Up && Power == 8 && South == South::Side && West == West::Up) return 2565;
- if (East == East::Side && North == North::Up && Power == 8 && South == South::Side && West == West::Side) return 2566;
- if (East == East::Side && North == North::Up && Power == 8 && South == South::Side && West == West::None) return 2567;
- if (East == East::Side && North == North::Up && Power == 8 && South == South::None && West == West::Up) return 2568;
- if (East == East::Side && North == North::Up && Power == 8 && South == South::None && West == West::Side) return 2569;
- if (East == East::Side && North == North::Up && Power == 8 && South == South::None && West == West::None) return 2570;
- if (East == East::Side && North == North::Up && Power == 9 && South == South::Up && West == West::Up) return 2571;
- if (East == East::Side && North == North::Up && Power == 9 && South == South::Up && West == West::Side) return 2572;
- if (East == East::Side && North == North::Up && Power == 9 && South == South::Up && West == West::None) return 2573;
- if (East == East::Side && North == North::Up && Power == 9 && South == South::Side && West == West::Up) return 2574;
- if (East == East::Side && North == North::Up && Power == 9 && South == South::Side && West == West::Side) return 2575;
- if (East == East::Side && North == North::Up && Power == 9 && South == South::Side && West == West::None) return 2576;
- if (East == East::Side && North == North::Up && Power == 9 && South == South::None && West == West::Up) return 2577;
- if (East == East::Side && North == North::Up && Power == 9 && South == South::None && West == West::Side) return 2578;
- if (East == East::Side && North == North::Up && Power == 9 && South == South::None && West == West::None) return 2579;
- if (East == East::Side && North == North::Up && Power == 10 && South == South::Up && West == West::Up) return 2580;
- if (East == East::Side && North == North::Up && Power == 10 && South == South::Up && West == West::Side) return 2581;
- if (East == East::Side && North == North::Up && Power == 10 && South == South::Up && West == West::None) return 2582;
- if (East == East::Side && North == North::Up && Power == 10 && South == South::Side && West == West::Up) return 2583;
- if (East == East::Side && North == North::Up && Power == 10 && South == South::Side && West == West::Side) return 2584;
- if (East == East::Side && North == North::Up && Power == 10 && South == South::Side && West == West::None) return 2585;
- if (East == East::Side && North == North::Up && Power == 10 && South == South::None && West == West::Up) return 2586;
- if (East == East::Side && North == North::Up && Power == 10 && South == South::None && West == West::Side) return 2587;
- if (East == East::Side && North == North::Up && Power == 10 && South == South::None && West == West::None) return 2588;
- if (East == East::Side && North == North::Up && Power == 11 && South == South::Up && West == West::Up) return 2589;
- if (East == East::Side && North == North::Up && Power == 11 && South == South::Up && West == West::Side) return 2590;
- if (East == East::Side && North == North::Up && Power == 11 && South == South::Up && West == West::None) return 2591;
- if (East == East::Side && North == North::Up && Power == 11 && South == South::Side && West == West::Up) return 2592;
- if (East == East::Side && North == North::Up && Power == 11 && South == South::Side && West == West::Side) return 2593;
- if (East == East::Side && North == North::Up && Power == 11 && South == South::Side && West == West::None) return 2594;
- if (East == East::Side && North == North::Up && Power == 11 && South == South::None && West == West::Up) return 2595;
- if (East == East::Side && North == North::Up && Power == 11 && South == South::None && West == West::Side) return 2596;
- if (East == East::Side && North == North::Up && Power == 11 && South == South::None && West == West::None) return 2597;
- if (East == East::Side && North == North::Up && Power == 12 && South == South::Up && West == West::Up) return 2598;
- if (East == East::Side && North == North::Up && Power == 12 && South == South::Up && West == West::Side) return 2599;
- if (East == East::Side && North == North::Up && Power == 12 && South == South::Up && West == West::None) return 2600;
- if (East == East::Side && North == North::Up && Power == 12 && South == South::Side && West == West::Up) return 2601;
- if (East == East::Side && North == North::Up && Power == 12 && South == South::Side && West == West::Side) return 2602;
- if (East == East::Side && North == North::Up && Power == 12 && South == South::Side && West == West::None) return 2603;
- if (East == East::Side && North == North::Up && Power == 12 && South == South::None && West == West::Up) return 2604;
- if (East == East::Side && North == North::Up && Power == 12 && South == South::None && West == West::Side) return 2605;
- if (East == East::Side && North == North::Up && Power == 12 && South == South::None && West == West::None) return 2606;
- if (East == East::Side && North == North::Up && Power == 13 && South == South::Up && West == West::Up) return 2607;
- if (East == East::Side && North == North::Up && Power == 13 && South == South::Up && West == West::Side) return 2608;
- if (East == East::Side && North == North::Up && Power == 13 && South == South::Up && West == West::None) return 2609;
- if (East == East::Side && North == North::Up && Power == 13 && South == South::Side && West == West::Up) return 2610;
- if (East == East::Side && North == North::Up && Power == 13 && South == South::Side && West == West::Side) return 2611;
- if (East == East::Side && North == North::Up && Power == 13 && South == South::Side && West == West::None) return 2612;
- if (East == East::Side && North == North::Up && Power == 13 && South == South::None && West == West::Up) return 2613;
- if (East == East::Side && North == North::Up && Power == 13 && South == South::None && West == West::Side) return 2614;
- if (East == East::Side && North == North::Up && Power == 13 && South == South::None && West == West::None) return 2615;
- if (East == East::Side && North == North::Up && Power == 14 && South == South::Up && West == West::Up) return 2616;
- if (East == East::Side && North == North::Up && Power == 14 && South == South::Up && West == West::Side) return 2617;
- if (East == East::Side && North == North::Up && Power == 14 && South == South::Up && West == West::None) return 2618;
- if (East == East::Side && North == North::Up && Power == 14 && South == South::Side && West == West::Up) return 2619;
- if (East == East::Side && North == North::Up && Power == 14 && South == South::Side && West == West::Side) return 2620;
- if (East == East::Side && North == North::Up && Power == 14 && South == South::Side && West == West::None) return 2621;
- if (East == East::Side && North == North::Up && Power == 14 && South == South::None && West == West::Up) return 2622;
- if (East == East::Side && North == North::Up && Power == 14 && South == South::None && West == West::Side) return 2623;
- if (East == East::Side && North == North::Up && Power == 14 && South == South::None && West == West::None) return 2624;
- if (East == East::Side && North == North::Up && Power == 15 && South == South::Up && West == West::Up) return 2625;
- if (East == East::Side && North == North::Up && Power == 15 && South == South::Up && West == West::Side) return 2626;
- if (East == East::Side && North == North::Up && Power == 15 && South == South::Up && West == West::None) return 2627;
- if (East == East::Side && North == North::Up && Power == 15 && South == South::Side && West == West::Up) return 2628;
- if (East == East::Side && North == North::Up && Power == 15 && South == South::Side && West == West::Side) return 2629;
- if (East == East::Side && North == North::Up && Power == 15 && South == South::Side && West == West::None) return 2630;
- if (East == East::Side && North == North::Up && Power == 15 && South == South::None && West == West::Up) return 2631;
- if (East == East::Side && North == North::Up && Power == 15 && South == South::None && West == West::Side) return 2632;
- if (East == East::Side && North == North::Up && Power == 15 && South == South::None && West == West::None) return 2633;
- if (East == East::Side && North == North::Side && Power == 0 && South == South::Up && West == West::Up) return 2634;
- if (East == East::Side && North == North::Side && Power == 0 && South == South::Up && West == West::Side) return 2635;
- if (East == East::Side && North == North::Side && Power == 0 && South == South::Up && West == West::None) return 2636;
- if (East == East::Side && North == North::Side && Power == 0 && South == South::Side && West == West::Up) return 2637;
- if (East == East::Side && North == North::Side && Power == 0 && South == South::Side && West == West::Side) return 2638;
- if (East == East::Side && North == North::Side && Power == 0 && South == South::Side && West == West::None) return 2639;
- if (East == East::Side && North == North::Side && Power == 0 && South == South::None && West == West::Up) return 2640;
- if (East == East::Side && North == North::Side && Power == 0 && South == South::None && West == West::Side) return 2641;
- if (East == East::Side && North == North::Side && Power == 0 && South == South::None && West == West::None) return 2642;
- if (East == East::Side && North == North::Side && Power == 1 && South == South::Up && West == West::Up) return 2643;
- if (East == East::Side && North == North::Side && Power == 1 && South == South::Up && West == West::Side) return 2644;
- if (East == East::Side && North == North::Side && Power == 1 && South == South::Up && West == West::None) return 2645;
- if (East == East::Side && North == North::Side && Power == 1 && South == South::Side && West == West::Up) return 2646;
- if (East == East::Side && North == North::Side && Power == 1 && South == South::Side && West == West::Side) return 2647;
- if (East == East::Side && North == North::Side && Power == 1 && South == South::Side && West == West::None) return 2648;
- if (East == East::Side && North == North::Side && Power == 1 && South == South::None && West == West::Up) return 2649;
- if (East == East::Side && North == North::Side && Power == 1 && South == South::None && West == West::Side) return 2650;
- if (East == East::Side && North == North::Side && Power == 1 && South == South::None && West == West::None) return 2651;
- if (East == East::Side && North == North::Side && Power == 2 && South == South::Up && West == West::Up) return 2652;
- if (East == East::Side && North == North::Side && Power == 2 && South == South::Up && West == West::Side) return 2653;
- if (East == East::Side && North == North::Side && Power == 2 && South == South::Up && West == West::None) return 2654;
- if (East == East::Side && North == North::Side && Power == 2 && South == South::Side && West == West::Up) return 2655;
- if (East == East::Side && North == North::Side && Power == 2 && South == South::Side && West == West::Side) return 2656;
- if (East == East::Side && North == North::Side && Power == 2 && South == South::Side && West == West::None) return 2657;
- if (East == East::Side && North == North::Side && Power == 2 && South == South::None && West == West::Up) return 2658;
- if (East == East::Side && North == North::Side && Power == 2 && South == South::None && West == West::Side) return 2659;
- if (East == East::Side && North == North::Side && Power == 2 && South == South::None && West == West::None) return 2660;
- if (East == East::Side && North == North::Side && Power == 3 && South == South::Up && West == West::Up) return 2661;
- if (East == East::Side && North == North::Side && Power == 3 && South == South::Up && West == West::Side) return 2662;
- if (East == East::Side && North == North::Side && Power == 3 && South == South::Up && West == West::None) return 2663;
- if (East == East::Side && North == North::Side && Power == 3 && South == South::Side && West == West::Up) return 2664;
- if (East == East::Side && North == North::Side && Power == 3 && South == South::Side && West == West::Side) return 2665;
- if (East == East::Side && North == North::Side && Power == 3 && South == South::Side && West == West::None) return 2666;
- if (East == East::Side && North == North::Side && Power == 3 && South == South::None && West == West::Up) return 2667;
- if (East == East::Side && North == North::Side && Power == 3 && South == South::None && West == West::Side) return 2668;
- if (East == East::Side && North == North::Side && Power == 3 && South == South::None && West == West::None) return 2669;
- if (East == East::Side && North == North::Side && Power == 4 && South == South::Up && West == West::Up) return 2670;
- if (East == East::Side && North == North::Side && Power == 4 && South == South::Up && West == West::Side) return 2671;
- if (East == East::Side && North == North::Side && Power == 4 && South == South::Up && West == West::None) return 2672;
- if (East == East::Side && North == North::Side && Power == 4 && South == South::Side && West == West::Up) return 2673;
- if (East == East::Side && North == North::Side && Power == 4 && South == South::Side && West == West::Side) return 2674;
- if (East == East::Side && North == North::Side && Power == 4 && South == South::Side && West == West::None) return 2675;
- if (East == East::Side && North == North::Side && Power == 4 && South == South::None && West == West::Up) return 2676;
- if (East == East::Side && North == North::Side && Power == 4 && South == South::None && West == West::Side) return 2677;
- if (East == East::Side && North == North::Side && Power == 4 && South == South::None && West == West::None) return 2678;
- if (East == East::Side && North == North::Side && Power == 5 && South == South::Up && West == West::Up) return 2679;
- if (East == East::Side && North == North::Side && Power == 5 && South == South::Up && West == West::Side) return 2680;
- if (East == East::Side && North == North::Side && Power == 5 && South == South::Up && West == West::None) return 2681;
- if (East == East::Side && North == North::Side && Power == 5 && South == South::Side && West == West::Up) return 2682;
- if (East == East::Side && North == North::Side && Power == 5 && South == South::Side && West == West::Side) return 2683;
- if (East == East::Side && North == North::Side && Power == 5 && South == South::Side && West == West::None) return 2684;
- if (East == East::Side && North == North::Side && Power == 5 && South == South::None && West == West::Up) return 2685;
- if (East == East::Side && North == North::Side && Power == 5 && South == South::None && West == West::Side) return 2686;
- if (East == East::Side && North == North::Side && Power == 5 && South == South::None && West == West::None) return 2687;
- if (East == East::Side && North == North::Side && Power == 6 && South == South::Up && West == West::Up) return 2688;
- if (East == East::Side && North == North::Side && Power == 6 && South == South::Up && West == West::Side) return 2689;
- if (East == East::Side && North == North::Side && Power == 6 && South == South::Up && West == West::None) return 2690;
- if (East == East::Side && North == North::Side && Power == 6 && South == South::Side && West == West::Up) return 2691;
- if (East == East::Side && North == North::Side && Power == 6 && South == South::Side && West == West::Side) return 2692;
- if (East == East::Side && North == North::Side && Power == 6 && South == South::Side && West == West::None) return 2693;
- if (East == East::Side && North == North::Side && Power == 6 && South == South::None && West == West::Up) return 2694;
- if (East == East::Side && North == North::Side && Power == 6 && South == South::None && West == West::Side) return 2695;
- if (East == East::Side && North == North::Side && Power == 6 && South == South::None && West == West::None) return 2696;
- if (East == East::Side && North == North::Side && Power == 7 && South == South::Up && West == West::Up) return 2697;
- if (East == East::Side && North == North::Side && Power == 7 && South == South::Up && West == West::Side) return 2698;
- if (East == East::Side && North == North::Side && Power == 7 && South == South::Up && West == West::None) return 2699;
- if (East == East::Side && North == North::Side && Power == 7 && South == South::Side && West == West::Up) return 2700;
- if (East == East::Side && North == North::Side && Power == 7 && South == South::Side && West == West::Side) return 2701;
- if (East == East::Side && North == North::Side && Power == 7 && South == South::Side && West == West::None) return 2702;
- if (East == East::Side && North == North::Side && Power == 7 && South == South::None && West == West::Up) return 2703;
- if (East == East::Side && North == North::Side && Power == 7 && South == South::None && West == West::Side) return 2704;
- if (East == East::Side && North == North::Side && Power == 7 && South == South::None && West == West::None) return 2705;
- if (East == East::Side && North == North::Side && Power == 8 && South == South::Up && West == West::Up) return 2706;
- if (East == East::Side && North == North::Side && Power == 8 && South == South::Up && West == West::Side) return 2707;
- if (East == East::Side && North == North::Side && Power == 8 && South == South::Up && West == West::None) return 2708;
- if (East == East::Side && North == North::Side && Power == 8 && South == South::Side && West == West::Up) return 2709;
- if (East == East::Side && North == North::Side && Power == 8 && South == South::Side && West == West::Side) return 2710;
- if (East == East::Side && North == North::Side && Power == 8 && South == South::Side && West == West::None) return 2711;
- if (East == East::Side && North == North::Side && Power == 8 && South == South::None && West == West::Up) return 2712;
- if (East == East::Side && North == North::Side && Power == 8 && South == South::None && West == West::Side) return 2713;
- if (East == East::Side && North == North::Side && Power == 8 && South == South::None && West == West::None) return 2714;
- if (East == East::Side && North == North::Side && Power == 9 && South == South::Up && West == West::Up) return 2715;
- if (East == East::Side && North == North::Side && Power == 9 && South == South::Up && West == West::Side) return 2716;
- if (East == East::Side && North == North::Side && Power == 9 && South == South::Up && West == West::None) return 2717;
- if (East == East::Side && North == North::Side && Power == 9 && South == South::Side && West == West::Up) return 2718;
- if (East == East::Side && North == North::Side && Power == 9 && South == South::Side && West == West::Side) return 2719;
- if (East == East::Side && North == North::Side && Power == 9 && South == South::Side && West == West::None) return 2720;
- if (East == East::Side && North == North::Side && Power == 9 && South == South::None && West == West::Up) return 2721;
- if (East == East::Side && North == North::Side && Power == 9 && South == South::None && West == West::Side) return 2722;
- if (East == East::Side && North == North::Side && Power == 9 && South == South::None && West == West::None) return 2723;
- if (East == East::Side && North == North::Side && Power == 10 && South == South::Up && West == West::Up) return 2724;
- if (East == East::Side && North == North::Side && Power == 10 && South == South::Up && West == West::Side) return 2725;
- if (East == East::Side && North == North::Side && Power == 10 && South == South::Up && West == West::None) return 2726;
- if (East == East::Side && North == North::Side && Power == 10 && South == South::Side && West == West::Up) return 2727;
- if (East == East::Side && North == North::Side && Power == 10 && South == South::Side && West == West::Side) return 2728;
- if (East == East::Side && North == North::Side && Power == 10 && South == South::Side && West == West::None) return 2729;
- if (East == East::Side && North == North::Side && Power == 10 && South == South::None && West == West::Up) return 2730;
- if (East == East::Side && North == North::Side && Power == 10 && South == South::None && West == West::Side) return 2731;
- if (East == East::Side && North == North::Side && Power == 10 && South == South::None && West == West::None) return 2732;
- if (East == East::Side && North == North::Side && Power == 11 && South == South::Up && West == West::Up) return 2733;
- if (East == East::Side && North == North::Side && Power == 11 && South == South::Up && West == West::Side) return 2734;
- if (East == East::Side && North == North::Side && Power == 11 && South == South::Up && West == West::None) return 2735;
- if (East == East::Side && North == North::Side && Power == 11 && South == South::Side && West == West::Up) return 2736;
- if (East == East::Side && North == North::Side && Power == 11 && South == South::Side && West == West::Side) return 2737;
- if (East == East::Side && North == North::Side && Power == 11 && South == South::Side && West == West::None) return 2738;
- if (East == East::Side && North == North::Side && Power == 11 && South == South::None && West == West::Up) return 2739;
- if (East == East::Side && North == North::Side && Power == 11 && South == South::None && West == West::Side) return 2740;
- if (East == East::Side && North == North::Side && Power == 11 && South == South::None && West == West::None) return 2741;
- if (East == East::Side && North == North::Side && Power == 12 && South == South::Up && West == West::Up) return 2742;
- if (East == East::Side && North == North::Side && Power == 12 && South == South::Up && West == West::Side) return 2743;
- if (East == East::Side && North == North::Side && Power == 12 && South == South::Up && West == West::None) return 2744;
- if (East == East::Side && North == North::Side && Power == 12 && South == South::Side && West == West::Up) return 2745;
- if (East == East::Side && North == North::Side && Power == 12 && South == South::Side && West == West::Side) return 2746;
- if (East == East::Side && North == North::Side && Power == 12 && South == South::Side && West == West::None) return 2747;
- if (East == East::Side && North == North::Side && Power == 12 && South == South::None && West == West::Up) return 2748;
- if (East == East::Side && North == North::Side && Power == 12 && South == South::None && West == West::Side) return 2749;
- if (East == East::Side && North == North::Side && Power == 12 && South == South::None && West == West::None) return 2750;
- if (East == East::Side && North == North::Side && Power == 13 && South == South::Up && West == West::Up) return 2751;
- if (East == East::Side && North == North::Side && Power == 13 && South == South::Up && West == West::Side) return 2752;
- if (East == East::Side && North == North::Side && Power == 13 && South == South::Up && West == West::None) return 2753;
- if (East == East::Side && North == North::Side && Power == 13 && South == South::Side && West == West::Up) return 2754;
- if (East == East::Side && North == North::Side && Power == 13 && South == South::Side && West == West::Side) return 2755;
- if (East == East::Side && North == North::Side && Power == 13 && South == South::Side && West == West::None) return 2756;
- if (East == East::Side && North == North::Side && Power == 13 && South == South::None && West == West::Up) return 2757;
- if (East == East::Side && North == North::Side && Power == 13 && South == South::None && West == West::Side) return 2758;
- if (East == East::Side && North == North::Side && Power == 13 && South == South::None && West == West::None) return 2759;
- if (East == East::Side && North == North::Side && Power == 14 && South == South::Up && West == West::Up) return 2760;
- if (East == East::Side && North == North::Side && Power == 14 && South == South::Up && West == West::Side) return 2761;
- if (East == East::Side && North == North::Side && Power == 14 && South == South::Up && West == West::None) return 2762;
- if (East == East::Side && North == North::Side && Power == 14 && South == South::Side && West == West::Up) return 2763;
- if (East == East::Side && North == North::Side && Power == 14 && South == South::Side && West == West::Side) return 2764;
- if (East == East::Side && North == North::Side && Power == 14 && South == South::Side && West == West::None) return 2765;
- if (East == East::Side && North == North::Side && Power == 14 && South == South::None && West == West::Up) return 2766;
- if (East == East::Side && North == North::Side && Power == 14 && South == South::None && West == West::Side) return 2767;
- if (East == East::Side && North == North::Side && Power == 14 && South == South::None && West == West::None) return 2768;
- if (East == East::Side && North == North::Side && Power == 15 && South == South::Up && West == West::Up) return 2769;
- if (East == East::Side && North == North::Side && Power == 15 && South == South::Up && West == West::Side) return 2770;
- if (East == East::Side && North == North::Side && Power == 15 && South == South::Up && West == West::None) return 2771;
- if (East == East::Side && North == North::Side && Power == 15 && South == South::Side && West == West::Up) return 2772;
- if (East == East::Side && North == North::Side && Power == 15 && South == South::Side && West == West::Side) return 2773;
- if (East == East::Side && North == North::Side && Power == 15 && South == South::Side && West == West::None) return 2774;
- if (East == East::Side && North == North::Side && Power == 15 && South == South::None && West == West::Up) return 2775;
- if (East == East::Side && North == North::Side && Power == 15 && South == South::None && West == West::Side) return 2776;
- if (East == East::Side && North == North::Side && Power == 15 && South == South::None && West == West::None) return 2777;
- if (East == East::Side && North == North::None && Power == 0 && South == South::Up && West == West::Up) return 2778;
- if (East == East::Side && North == North::None && Power == 0 && South == South::Up && West == West::Side) return 2779;
- if (East == East::Side && North == North::None && Power == 0 && South == South::Up && West == West::None) return 2780;
- if (East == East::Side && North == North::None && Power == 0 && South == South::Side && West == West::Up) return 2781;
- if (East == East::Side && North == North::None && Power == 0 && South == South::Side && West == West::Side) return 2782;
- if (East == East::Side && North == North::None && Power == 0 && South == South::Side && West == West::None) return 2783;
- if (East == East::Side && North == North::None && Power == 0 && South == South::None && West == West::Up) return 2784;
- if (East == East::Side && North == North::None && Power == 0 && South == South::None && West == West::Side) return 2785;
- if (East == East::Side && North == North::None && Power == 0 && South == South::None && West == West::None) return 2786;
- if (East == East::Side && North == North::None && Power == 1 && South == South::Up && West == West::Up) return 2787;
- if (East == East::Side && North == North::None && Power == 1 && South == South::Up && West == West::Side) return 2788;
- if (East == East::Side && North == North::None && Power == 1 && South == South::Up && West == West::None) return 2789;
- if (East == East::Side && North == North::None && Power == 1 && South == South::Side && West == West::Up) return 2790;
- if (East == East::Side && North == North::None && Power == 1 && South == South::Side && West == West::Side) return 2791;
- if (East == East::Side && North == North::None && Power == 1 && South == South::Side && West == West::None) return 2792;
- if (East == East::Side && North == North::None && Power == 1 && South == South::None && West == West::Up) return 2793;
- if (East == East::Side && North == North::None && Power == 1 && South == South::None && West == West::Side) return 2794;
- if (East == East::Side && North == North::None && Power == 1 && South == South::None && West == West::None) return 2795;
- if (East == East::Side && North == North::None && Power == 2 && South == South::Up && West == West::Up) return 2796;
- if (East == East::Side && North == North::None && Power == 2 && South == South::Up && West == West::Side) return 2797;
- if (East == East::Side && North == North::None && Power == 2 && South == South::Up && West == West::None) return 2798;
- if (East == East::Side && North == North::None && Power == 2 && South == South::Side && West == West::Up) return 2799;
- if (East == East::Side && North == North::None && Power == 2 && South == South::Side && West == West::Side) return 2800;
- if (East == East::Side && North == North::None && Power == 2 && South == South::Side && West == West::None) return 2801;
- if (East == East::Side && North == North::None && Power == 2 && South == South::None && West == West::Up) return 2802;
- if (East == East::Side && North == North::None && Power == 2 && South == South::None && West == West::Side) return 2803;
- if (East == East::Side && North == North::None && Power == 2 && South == South::None && West == West::None) return 2804;
- if (East == East::Side && North == North::None && Power == 3 && South == South::Up && West == West::Up) return 2805;
- if (East == East::Side && North == North::None && Power == 3 && South == South::Up && West == West::Side) return 2806;
- if (East == East::Side && North == North::None && Power == 3 && South == South::Up && West == West::None) return 2807;
- if (East == East::Side && North == North::None && Power == 3 && South == South::Side && West == West::Up) return 2808;
- if (East == East::Side && North == North::None && Power == 3 && South == South::Side && West == West::Side) return 2809;
- if (East == East::Side && North == North::None && Power == 3 && South == South::Side && West == West::None) return 2810;
- if (East == East::Side && North == North::None && Power == 3 && South == South::None && West == West::Up) return 2811;
- if (East == East::Side && North == North::None && Power == 3 && South == South::None && West == West::Side) return 2812;
- if (East == East::Side && North == North::None && Power == 3 && South == South::None && West == West::None) return 2813;
- if (East == East::Side && North == North::None && Power == 4 && South == South::Up && West == West::Up) return 2814;
- if (East == East::Side && North == North::None && Power == 4 && South == South::Up && West == West::Side) return 2815;
- if (East == East::Side && North == North::None && Power == 4 && South == South::Up && West == West::None) return 2816;
- if (East == East::Side && North == North::None && Power == 4 && South == South::Side && West == West::Up) return 2817;
- if (East == East::Side && North == North::None && Power == 4 && South == South::Side && West == West::Side) return 2818;
- if (East == East::Side && North == North::None && Power == 4 && South == South::Side && West == West::None) return 2819;
- if (East == East::Side && North == North::None && Power == 4 && South == South::None && West == West::Up) return 2820;
- if (East == East::Side && North == North::None && Power == 4 && South == South::None && West == West::Side) return 2821;
- if (East == East::Side && North == North::None && Power == 4 && South == South::None && West == West::None) return 2822;
- if (East == East::Side && North == North::None && Power == 5 && South == South::Up && West == West::Up) return 2823;
- if (East == East::Side && North == North::None && Power == 5 && South == South::Up && West == West::Side) return 2824;
- if (East == East::Side && North == North::None && Power == 5 && South == South::Up && West == West::None) return 2825;
- if (East == East::Side && North == North::None && Power == 5 && South == South::Side && West == West::Up) return 2826;
- if (East == East::Side && North == North::None && Power == 5 && South == South::Side && West == West::Side) return 2827;
- if (East == East::Side && North == North::None && Power == 5 && South == South::Side && West == West::None) return 2828;
- if (East == East::Side && North == North::None && Power == 5 && South == South::None && West == West::Up) return 2829;
- if (East == East::Side && North == North::None && Power == 5 && South == South::None && West == West::Side) return 2830;
- if (East == East::Side && North == North::None && Power == 5 && South == South::None && West == West::None) return 2831;
- if (East == East::Side && North == North::None && Power == 6 && South == South::Up && West == West::Up) return 2832;
- if (East == East::Side && North == North::None && Power == 6 && South == South::Up && West == West::Side) return 2833;
- if (East == East::Side && North == North::None && Power == 6 && South == South::Up && West == West::None) return 2834;
- if (East == East::Side && North == North::None && Power == 6 && South == South::Side && West == West::Up) return 2835;
- if (East == East::Side && North == North::None && Power == 6 && South == South::Side && West == West::Side) return 2836;
- if (East == East::Side && North == North::None && Power == 6 && South == South::Side && West == West::None) return 2837;
- if (East == East::Side && North == North::None && Power == 6 && South == South::None && West == West::Up) return 2838;
- if (East == East::Side && North == North::None && Power == 6 && South == South::None && West == West::Side) return 2839;
- if (East == East::Side && North == North::None && Power == 6 && South == South::None && West == West::None) return 2840;
- if (East == East::Side && North == North::None && Power == 7 && South == South::Up && West == West::Up) return 2841;
- if (East == East::Side && North == North::None && Power == 7 && South == South::Up && West == West::Side) return 2842;
- if (East == East::Side && North == North::None && Power == 7 && South == South::Up && West == West::None) return 2843;
- if (East == East::Side && North == North::None && Power == 7 && South == South::Side && West == West::Up) return 2844;
- if (East == East::Side && North == North::None && Power == 7 && South == South::Side && West == West::Side) return 2845;
- if (East == East::Side && North == North::None && Power == 7 && South == South::Side && West == West::None) return 2846;
- if (East == East::Side && North == North::None && Power == 7 && South == South::None && West == West::Up) return 2847;
- if (East == East::Side && North == North::None && Power == 7 && South == South::None && West == West::Side) return 2848;
- if (East == East::Side && North == North::None && Power == 7 && South == South::None && West == West::None) return 2849;
- if (East == East::Side && North == North::None && Power == 8 && South == South::Up && West == West::Up) return 2850;
- if (East == East::Side && North == North::None && Power == 8 && South == South::Up && West == West::Side) return 2851;
- if (East == East::Side && North == North::None && Power == 8 && South == South::Up && West == West::None) return 2852;
- if (East == East::Side && North == North::None && Power == 8 && South == South::Side && West == West::Up) return 2853;
- if (East == East::Side && North == North::None && Power == 8 && South == South::Side && West == West::Side) return 2854;
- if (East == East::Side && North == North::None && Power == 8 && South == South::Side && West == West::None) return 2855;
- if (East == East::Side && North == North::None && Power == 8 && South == South::None && West == West::Up) return 2856;
- if (East == East::Side && North == North::None && Power == 8 && South == South::None && West == West::Side) return 2857;
- if (East == East::Side && North == North::None && Power == 8 && South == South::None && West == West::None) return 2858;
- if (East == East::Side && North == North::None && Power == 9 && South == South::Up && West == West::Up) return 2859;
- if (East == East::Side && North == North::None && Power == 9 && South == South::Up && West == West::Side) return 2860;
- if (East == East::Side && North == North::None && Power == 9 && South == South::Up && West == West::None) return 2861;
- if (East == East::Side && North == North::None && Power == 9 && South == South::Side && West == West::Up) return 2862;
- if (East == East::Side && North == North::None && Power == 9 && South == South::Side && West == West::Side) return 2863;
- if (East == East::Side && North == North::None && Power == 9 && South == South::Side && West == West::None) return 2864;
- if (East == East::Side && North == North::None && Power == 9 && South == South::None && West == West::Up) return 2865;
- if (East == East::Side && North == North::None && Power == 9 && South == South::None && West == West::Side) return 2866;
- if (East == East::Side && North == North::None && Power == 9 && South == South::None && West == West::None) return 2867;
- if (East == East::Side && North == North::None && Power == 10 && South == South::Up && West == West::Up) return 2868;
- if (East == East::Side && North == North::None && Power == 10 && South == South::Up && West == West::Side) return 2869;
- if (East == East::Side && North == North::None && Power == 10 && South == South::Up && West == West::None) return 2870;
- if (East == East::Side && North == North::None && Power == 10 && South == South::Side && West == West::Up) return 2871;
- if (East == East::Side && North == North::None && Power == 10 && South == South::Side && West == West::Side) return 2872;
- if (East == East::Side && North == North::None && Power == 10 && South == South::Side && West == West::None) return 2873;
- if (East == East::Side && North == North::None && Power == 10 && South == South::None && West == West::Up) return 2874;
- if (East == East::Side && North == North::None && Power == 10 && South == South::None && West == West::Side) return 2875;
- if (East == East::Side && North == North::None && Power == 10 && South == South::None && West == West::None) return 2876;
- if (East == East::Side && North == North::None && Power == 11 && South == South::Up && West == West::Up) return 2877;
- if (East == East::Side && North == North::None && Power == 11 && South == South::Up && West == West::Side) return 2878;
- if (East == East::Side && North == North::None && Power == 11 && South == South::Up && West == West::None) return 2879;
- if (East == East::Side && North == North::None && Power == 11 && South == South::Side && West == West::Up) return 2880;
- if (East == East::Side && North == North::None && Power == 11 && South == South::Side && West == West::Side) return 2881;
- if (East == East::Side && North == North::None && Power == 11 && South == South::Side && West == West::None) return 2882;
- if (East == East::Side && North == North::None && Power == 11 && South == South::None && West == West::Up) return 2883;
- if (East == East::Side && North == North::None && Power == 11 && South == South::None && West == West::Side) return 2884;
- if (East == East::Side && North == North::None && Power == 11 && South == South::None && West == West::None) return 2885;
- if (East == East::Side && North == North::None && Power == 12 && South == South::Up && West == West::Up) return 2886;
- if (East == East::Side && North == North::None && Power == 12 && South == South::Up && West == West::Side) return 2887;
- if (East == East::Side && North == North::None && Power == 12 && South == South::Up && West == West::None) return 2888;
- if (East == East::Side && North == North::None && Power == 12 && South == South::Side && West == West::Up) return 2889;
- if (East == East::Side && North == North::None && Power == 12 && South == South::Side && West == West::Side) return 2890;
- if (East == East::Side && North == North::None && Power == 12 && South == South::Side && West == West::None) return 2891;
- if (East == East::Side && North == North::None && Power == 12 && South == South::None && West == West::Up) return 2892;
- if (East == East::Side && North == North::None && Power == 12 && South == South::None && West == West::Side) return 2893;
- if (East == East::Side && North == North::None && Power == 12 && South == South::None && West == West::None) return 2894;
- if (East == East::Side && North == North::None && Power == 13 && South == South::Up && West == West::Up) return 2895;
- if (East == East::Side && North == North::None && Power == 13 && South == South::Up && West == West::Side) return 2896;
- if (East == East::Side && North == North::None && Power == 13 && South == South::Up && West == West::None) return 2897;
- if (East == East::Side && North == North::None && Power == 13 && South == South::Side && West == West::Up) return 2898;
- if (East == East::Side && North == North::None && Power == 13 && South == South::Side && West == West::Side) return 2899;
- if (East == East::Side && North == North::None && Power == 13 && South == South::Side && West == West::None) return 2900;
- if (East == East::Side && North == North::None && Power == 13 && South == South::None && West == West::Up) return 2901;
- if (East == East::Side && North == North::None && Power == 13 && South == South::None && West == West::Side) return 2902;
- if (East == East::Side && North == North::None && Power == 13 && South == South::None && West == West::None) return 2903;
- if (East == East::Side && North == North::None && Power == 14 && South == South::Up && West == West::Up) return 2904;
- if (East == East::Side && North == North::None && Power == 14 && South == South::Up && West == West::Side) return 2905;
- if (East == East::Side && North == North::None && Power == 14 && South == South::Up && West == West::None) return 2906;
- if (East == East::Side && North == North::None && Power == 14 && South == South::Side && West == West::Up) return 2907;
- if (East == East::Side && North == North::None && Power == 14 && South == South::Side && West == West::Side) return 2908;
- if (East == East::Side && North == North::None && Power == 14 && South == South::Side && West == West::None) return 2909;
- if (East == East::Side && North == North::None && Power == 14 && South == South::None && West == West::Up) return 2910;
- if (East == East::Side && North == North::None && Power == 14 && South == South::None && West == West::Side) return 2911;
- if (East == East::Side && North == North::None && Power == 14 && South == South::None && West == West::None) return 2912;
- if (East == East::Side && North == North::None && Power == 15 && South == South::Up && West == West::Up) return 2913;
- if (East == East::Side && North == North::None && Power == 15 && South == South::Up && West == West::Side) return 2914;
- if (East == East::Side && North == North::None && Power == 15 && South == South::Up && West == West::None) return 2915;
- if (East == East::Side && North == North::None && Power == 15 && South == South::Side && West == West::Up) return 2916;
- if (East == East::Side && North == North::None && Power == 15 && South == South::Side && West == West::Side) return 2917;
- if (East == East::Side && North == North::None && Power == 15 && South == South::Side && West == West::None) return 2918;
- if (East == East::Side && North == North::None && Power == 15 && South == South::None && West == West::Up) return 2919;
- if (East == East::Side && North == North::None && Power == 15 && South == South::None && West == West::Side) return 2920;
- if (East == East::Side && North == North::None && Power == 15 && South == South::None && West == West::None) return 2921;
- if (East == East::None && North == North::Up && Power == 0 && South == South::Up && West == West::Up) return 2922;
- if (East == East::None && North == North::Up && Power == 0 && South == South::Up && West == West::Side) return 2923;
- if (East == East::None && North == North::Up && Power == 0 && South == South::Up && West == West::None) return 2924;
- if (East == East::None && North == North::Up && Power == 0 && South == South::Side && West == West::Up) return 2925;
- if (East == East::None && North == North::Up && Power == 0 && South == South::Side && West == West::Side) return 2926;
- if (East == East::None && North == North::Up && Power == 0 && South == South::Side && West == West::None) return 2927;
- if (East == East::None && North == North::Up && Power == 0 && South == South::None && West == West::Up) return 2928;
- if (East == East::None && North == North::Up && Power == 0 && South == South::None && West == West::Side) return 2929;
- if (East == East::None && North == North::Up && Power == 0 && South == South::None && West == West::None) return 2930;
- if (East == East::None && North == North::Up && Power == 1 && South == South::Up && West == West::Up) return 2931;
- if (East == East::None && North == North::Up && Power == 1 && South == South::Up && West == West::Side) return 2932;
- if (East == East::None && North == North::Up && Power == 1 && South == South::Up && West == West::None) return 2933;
- if (East == East::None && North == North::Up && Power == 1 && South == South::Side && West == West::Up) return 2934;
- if (East == East::None && North == North::Up && Power == 1 && South == South::Side && West == West::Side) return 2935;
- if (East == East::None && North == North::Up && Power == 1 && South == South::Side && West == West::None) return 2936;
- if (East == East::None && North == North::Up && Power == 1 && South == South::None && West == West::Up) return 2937;
- if (East == East::None && North == North::Up && Power == 1 && South == South::None && West == West::Side) return 2938;
- if (East == East::None && North == North::Up && Power == 1 && South == South::None && West == West::None) return 2939;
- if (East == East::None && North == North::Up && Power == 2 && South == South::Up && West == West::Up) return 2940;
- if (East == East::None && North == North::Up && Power == 2 && South == South::Up && West == West::Side) return 2941;
- if (East == East::None && North == North::Up && Power == 2 && South == South::Up && West == West::None) return 2942;
- if (East == East::None && North == North::Up && Power == 2 && South == South::Side && West == West::Up) return 2943;
- if (East == East::None && North == North::Up && Power == 2 && South == South::Side && West == West::Side) return 2944;
- if (East == East::None && North == North::Up && Power == 2 && South == South::Side && West == West::None) return 2945;
- if (East == East::None && North == North::Up && Power == 2 && South == South::None && West == West::Up) return 2946;
- if (East == East::None && North == North::Up && Power == 2 && South == South::None && West == West::Side) return 2947;
- if (East == East::None && North == North::Up && Power == 2 && South == South::None && West == West::None) return 2948;
- if (East == East::None && North == North::Up && Power == 3 && South == South::Up && West == West::Up) return 2949;
- if (East == East::None && North == North::Up && Power == 3 && South == South::Up && West == West::Side) return 2950;
- if (East == East::None && North == North::Up && Power == 3 && South == South::Up && West == West::None) return 2951;
- if (East == East::None && North == North::Up && Power == 3 && South == South::Side && West == West::Up) return 2952;
- if (East == East::None && North == North::Up && Power == 3 && South == South::Side && West == West::Side) return 2953;
- if (East == East::None && North == North::Up && Power == 3 && South == South::Side && West == West::None) return 2954;
- if (East == East::None && North == North::Up && Power == 3 && South == South::None && West == West::Up) return 2955;
- if (East == East::None && North == North::Up && Power == 3 && South == South::None && West == West::Side) return 2956;
- if (East == East::None && North == North::Up && Power == 3 && South == South::None && West == West::None) return 2957;
- if (East == East::None && North == North::Up && Power == 4 && South == South::Up && West == West::Up) return 2958;
- if (East == East::None && North == North::Up && Power == 4 && South == South::Up && West == West::Side) return 2959;
- if (East == East::None && North == North::Up && Power == 4 && South == South::Up && West == West::None) return 2960;
- if (East == East::None && North == North::Up && Power == 4 && South == South::Side && West == West::Up) return 2961;
- if (East == East::None && North == North::Up && Power == 4 && South == South::Side && West == West::Side) return 2962;
- if (East == East::None && North == North::Up && Power == 4 && South == South::Side && West == West::None) return 2963;
- if (East == East::None && North == North::Up && Power == 4 && South == South::None && West == West::Up) return 2964;
- if (East == East::None && North == North::Up && Power == 4 && South == South::None && West == West::Side) return 2965;
- if (East == East::None && North == North::Up && Power == 4 && South == South::None && West == West::None) return 2966;
- if (East == East::None && North == North::Up && Power == 5 && South == South::Up && West == West::Up) return 2967;
- if (East == East::None && North == North::Up && Power == 5 && South == South::Up && West == West::Side) return 2968;
- if (East == East::None && North == North::Up && Power == 5 && South == South::Up && West == West::None) return 2969;
- if (East == East::None && North == North::Up && Power == 5 && South == South::Side && West == West::Up) return 2970;
- if (East == East::None && North == North::Up && Power == 5 && South == South::Side && West == West::Side) return 2971;
- if (East == East::None && North == North::Up && Power == 5 && South == South::Side && West == West::None) return 2972;
- if (East == East::None && North == North::Up && Power == 5 && South == South::None && West == West::Up) return 2973;
- if (East == East::None && North == North::Up && Power == 5 && South == South::None && West == West::Side) return 2974;
- if (East == East::None && North == North::Up && Power == 5 && South == South::None && West == West::None) return 2975;
- if (East == East::None && North == North::Up && Power == 6 && South == South::Up && West == West::Up) return 2976;
- if (East == East::None && North == North::Up && Power == 6 && South == South::Up && West == West::Side) return 2977;
- if (East == East::None && North == North::Up && Power == 6 && South == South::Up && West == West::None) return 2978;
- if (East == East::None && North == North::Up && Power == 6 && South == South::Side && West == West::Up) return 2979;
- if (East == East::None && North == North::Up && Power == 6 && South == South::Side && West == West::Side) return 2980;
- if (East == East::None && North == North::Up && Power == 6 && South == South::Side && West == West::None) return 2981;
- if (East == East::None && North == North::Up && Power == 6 && South == South::None && West == West::Up) return 2982;
- if (East == East::None && North == North::Up && Power == 6 && South == South::None && West == West::Side) return 2983;
- if (East == East::None && North == North::Up && Power == 6 && South == South::None && West == West::None) return 2984;
- if (East == East::None && North == North::Up && Power == 7 && South == South::Up && West == West::Up) return 2985;
- if (East == East::None && North == North::Up && Power == 7 && South == South::Up && West == West::Side) return 2986;
- if (East == East::None && North == North::Up && Power == 7 && South == South::Up && West == West::None) return 2987;
- if (East == East::None && North == North::Up && Power == 7 && South == South::Side && West == West::Up) return 2988;
- if (East == East::None && North == North::Up && Power == 7 && South == South::Side && West == West::Side) return 2989;
- if (East == East::None && North == North::Up && Power == 7 && South == South::Side && West == West::None) return 2990;
- if (East == East::None && North == North::Up && Power == 7 && South == South::None && West == West::Up) return 2991;
- if (East == East::None && North == North::Up && Power == 7 && South == South::None && West == West::Side) return 2992;
- if (East == East::None && North == North::Up && Power == 7 && South == South::None && West == West::None) return 2993;
- if (East == East::None && North == North::Up && Power == 8 && South == South::Up && West == West::Up) return 2994;
- if (East == East::None && North == North::Up && Power == 8 && South == South::Up && West == West::Side) return 2995;
- if (East == East::None && North == North::Up && Power == 8 && South == South::Up && West == West::None) return 2996;
- if (East == East::None && North == North::Up && Power == 8 && South == South::Side && West == West::Up) return 2997;
- if (East == East::None && North == North::Up && Power == 8 && South == South::Side && West == West::Side) return 2998;
- if (East == East::None && North == North::Up && Power == 8 && South == South::Side && West == West::None) return 2999;
- if (East == East::None && North == North::Up && Power == 8 && South == South::None && West == West::Up) return 3000;
- if (East == East::None && North == North::Up && Power == 8 && South == South::None && West == West::Side) return 3001;
- if (East == East::None && North == North::Up && Power == 8 && South == South::None && West == West::None) return 3002;
- if (East == East::None && North == North::Up && Power == 9 && South == South::Up && West == West::Up) return 3003;
- if (East == East::None && North == North::Up && Power == 9 && South == South::Up && West == West::Side) return 3004;
- if (East == East::None && North == North::Up && Power == 9 && South == South::Up && West == West::None) return 3005;
- if (East == East::None && North == North::Up && Power == 9 && South == South::Side && West == West::Up) return 3006;
- if (East == East::None && North == North::Up && Power == 9 && South == South::Side && West == West::Side) return 3007;
- if (East == East::None && North == North::Up && Power == 9 && South == South::Side && West == West::None) return 3008;
- if (East == East::None && North == North::Up && Power == 9 && South == South::None && West == West::Up) return 3009;
- if (East == East::None && North == North::Up && Power == 9 && South == South::None && West == West::Side) return 3010;
- if (East == East::None && North == North::Up && Power == 9 && South == South::None && West == West::None) return 3011;
- if (East == East::None && North == North::Up && Power == 10 && South == South::Up && West == West::Up) return 3012;
- if (East == East::None && North == North::Up && Power == 10 && South == South::Up && West == West::Side) return 3013;
- if (East == East::None && North == North::Up && Power == 10 && South == South::Up && West == West::None) return 3014;
- if (East == East::None && North == North::Up && Power == 10 && South == South::Side && West == West::Up) return 3015;
- if (East == East::None && North == North::Up && Power == 10 && South == South::Side && West == West::Side) return 3016;
- if (East == East::None && North == North::Up && Power == 10 && South == South::Side && West == West::None) return 3017;
- if (East == East::None && North == North::Up && Power == 10 && South == South::None && West == West::Up) return 3018;
- if (East == East::None && North == North::Up && Power == 10 && South == South::None && West == West::Side) return 3019;
- if (East == East::None && North == North::Up && Power == 10 && South == South::None && West == West::None) return 3020;
- if (East == East::None && North == North::Up && Power == 11 && South == South::Up && West == West::Up) return 3021;
- if (East == East::None && North == North::Up && Power == 11 && South == South::Up && West == West::Side) return 3022;
- if (East == East::None && North == North::Up && Power == 11 && South == South::Up && West == West::None) return 3023;
- if (East == East::None && North == North::Up && Power == 11 && South == South::Side && West == West::Up) return 3024;
- if (East == East::None && North == North::Up && Power == 11 && South == South::Side && West == West::Side) return 3025;
- if (East == East::None && North == North::Up && Power == 11 && South == South::Side && West == West::None) return 3026;
- if (East == East::None && North == North::Up && Power == 11 && South == South::None && West == West::Up) return 3027;
- if (East == East::None && North == North::Up && Power == 11 && South == South::None && West == West::Side) return 3028;
- if (East == East::None && North == North::Up && Power == 11 && South == South::None && West == West::None) return 3029;
- if (East == East::None && North == North::Up && Power == 12 && South == South::Up && West == West::Up) return 3030;
- if (East == East::None && North == North::Up && Power == 12 && South == South::Up && West == West::Side) return 3031;
- if (East == East::None && North == North::Up && Power == 12 && South == South::Up && West == West::None) return 3032;
- if (East == East::None && North == North::Up && Power == 12 && South == South::Side && West == West::Up) return 3033;
- if (East == East::None && North == North::Up && Power == 12 && South == South::Side && West == West::Side) return 3034;
- if (East == East::None && North == North::Up && Power == 12 && South == South::Side && West == West::None) return 3035;
- if (East == East::None && North == North::Up && Power == 12 && South == South::None && West == West::Up) return 3036;
- if (East == East::None && North == North::Up && Power == 12 && South == South::None && West == West::Side) return 3037;
- if (East == East::None && North == North::Up && Power == 12 && South == South::None && West == West::None) return 3038;
- if (East == East::None && North == North::Up && Power == 13 && South == South::Up && West == West::Up) return 3039;
- if (East == East::None && North == North::Up && Power == 13 && South == South::Up && West == West::Side) return 3040;
- if (East == East::None && North == North::Up && Power == 13 && South == South::Up && West == West::None) return 3041;
- if (East == East::None && North == North::Up && Power == 13 && South == South::Side && West == West::Up) return 3042;
- if (East == East::None && North == North::Up && Power == 13 && South == South::Side && West == West::Side) return 3043;
- if (East == East::None && North == North::Up && Power == 13 && South == South::Side && West == West::None) return 3044;
- if (East == East::None && North == North::Up && Power == 13 && South == South::None && West == West::Up) return 3045;
- if (East == East::None && North == North::Up && Power == 13 && South == South::None && West == West::Side) return 3046;
- if (East == East::None && North == North::Up && Power == 13 && South == South::None && West == West::None) return 3047;
- if (East == East::None && North == North::Up && Power == 14 && South == South::Up && West == West::Up) return 3048;
- if (East == East::None && North == North::Up && Power == 14 && South == South::Up && West == West::Side) return 3049;
- if (East == East::None && North == North::Up && Power == 14 && South == South::Up && West == West::None) return 3050;
- if (East == East::None && North == North::Up && Power == 14 && South == South::Side && West == West::Up) return 3051;
- if (East == East::None && North == North::Up && Power == 14 && South == South::Side && West == West::Side) return 3052;
- if (East == East::None && North == North::Up && Power == 14 && South == South::Side && West == West::None) return 3053;
- if (East == East::None && North == North::Up && Power == 14 && South == South::None && West == West::Up) return 3054;
- if (East == East::None && North == North::Up && Power == 14 && South == South::None && West == West::Side) return 3055;
- if (East == East::None && North == North::Up && Power == 14 && South == South::None && West == West::None) return 3056;
- if (East == East::None && North == North::Up && Power == 15 && South == South::Up && West == West::Up) return 3057;
- if (East == East::None && North == North::Up && Power == 15 && South == South::Up && West == West::Side) return 3058;
- if (East == East::None && North == North::Up && Power == 15 && South == South::Up && West == West::None) return 3059;
- if (East == East::None && North == North::Up && Power == 15 && South == South::Side && West == West::Up) return 3060;
- if (East == East::None && North == North::Up && Power == 15 && South == South::Side && West == West::Side) return 3061;
- if (East == East::None && North == North::Up && Power == 15 && South == South::Side && West == West::None) return 3062;
- if (East == East::None && North == North::Up && Power == 15 && South == South::None && West == West::Up) return 3063;
- if (East == East::None && North == North::Up && Power == 15 && South == South::None && West == West::Side) return 3064;
- if (East == East::None && North == North::Up && Power == 15 && South == South::None && West == West::None) return 3065;
- if (East == East::None && North == North::Side && Power == 0 && South == South::Up && West == West::Up) return 3066;
- if (East == East::None && North == North::Side && Power == 0 && South == South::Up && West == West::Side) return 3067;
- if (East == East::None && North == North::Side && Power == 0 && South == South::Up && West == West::None) return 3068;
- if (East == East::None && North == North::Side && Power == 0 && South == South::Side && West == West::Up) return 3069;
- if (East == East::None && North == North::Side && Power == 0 && South == South::Side && West == West::Side) return 3070;
- if (East == East::None && North == North::Side && Power == 0 && South == South::Side && West == West::None) return 3071;
- if (East == East::None && North == North::Side && Power == 0 && South == South::None && West == West::Up) return 3072;
- if (East == East::None && North == North::Side && Power == 0 && South == South::None && West == West::Side) return 3073;
- if (East == East::None && North == North::Side && Power == 0 && South == South::None && West == West::None) return 3074;
- if (East == East::None && North == North::Side && Power == 1 && South == South::Up && West == West::Up) return 3075;
- if (East == East::None && North == North::Side && Power == 1 && South == South::Up && West == West::Side) return 3076;
- if (East == East::None && North == North::Side && Power == 1 && South == South::Up && West == West::None) return 3077;
- if (East == East::None && North == North::Side && Power == 1 && South == South::Side && West == West::Up) return 3078;
- if (East == East::None && North == North::Side && Power == 1 && South == South::Side && West == West::Side) return 3079;
- if (East == East::None && North == North::Side && Power == 1 && South == South::Side && West == West::None) return 3080;
- if (East == East::None && North == North::Side && Power == 1 && South == South::None && West == West::Up) return 3081;
- if (East == East::None && North == North::Side && Power == 1 && South == South::None && West == West::Side) return 3082;
- if (East == East::None && North == North::Side && Power == 1 && South == South::None && West == West::None) return 3083;
- if (East == East::None && North == North::Side && Power == 2 && South == South::Up && West == West::Up) return 3084;
- if (East == East::None && North == North::Side && Power == 2 && South == South::Up && West == West::Side) return 3085;
- if (East == East::None && North == North::Side && Power == 2 && South == South::Up && West == West::None) return 3086;
- if (East == East::None && North == North::Side && Power == 2 && South == South::Side && West == West::Up) return 3087;
- if (East == East::None && North == North::Side && Power == 2 && South == South::Side && West == West::Side) return 3088;
- if (East == East::None && North == North::Side && Power == 2 && South == South::Side && West == West::None) return 3089;
- if (East == East::None && North == North::Side && Power == 2 && South == South::None && West == West::Up) return 3090;
- if (East == East::None && North == North::Side && Power == 2 && South == South::None && West == West::Side) return 3091;
- if (East == East::None && North == North::Side && Power == 2 && South == South::None && West == West::None) return 3092;
- if (East == East::None && North == North::Side && Power == 3 && South == South::Up && West == West::Up) return 3093;
- if (East == East::None && North == North::Side && Power == 3 && South == South::Up && West == West::Side) return 3094;
- if (East == East::None && North == North::Side && Power == 3 && South == South::Up && West == West::None) return 3095;
- if (East == East::None && North == North::Side && Power == 3 && South == South::Side && West == West::Up) return 3096;
- if (East == East::None && North == North::Side && Power == 3 && South == South::Side && West == West::Side) return 3097;
- if (East == East::None && North == North::Side && Power == 3 && South == South::Side && West == West::None) return 3098;
- if (East == East::None && North == North::Side && Power == 3 && South == South::None && West == West::Up) return 3099;
- if (East == East::None && North == North::Side && Power == 3 && South == South::None && West == West::Side) return 3100;
- if (East == East::None && North == North::Side && Power == 3 && South == South::None && West == West::None) return 3101;
- if (East == East::None && North == North::Side && Power == 4 && South == South::Up && West == West::Up) return 3102;
- if (East == East::None && North == North::Side && Power == 4 && South == South::Up && West == West::Side) return 3103;
- if (East == East::None && North == North::Side && Power == 4 && South == South::Up && West == West::None) return 3104;
- if (East == East::None && North == North::Side && Power == 4 && South == South::Side && West == West::Up) return 3105;
- if (East == East::None && North == North::Side && Power == 4 && South == South::Side && West == West::Side) return 3106;
- if (East == East::None && North == North::Side && Power == 4 && South == South::Side && West == West::None) return 3107;
- if (East == East::None && North == North::Side && Power == 4 && South == South::None && West == West::Up) return 3108;
- if (East == East::None && North == North::Side && Power == 4 && South == South::None && West == West::Side) return 3109;
- if (East == East::None && North == North::Side && Power == 4 && South == South::None && West == West::None) return 3110;
- if (East == East::None && North == North::Side && Power == 5 && South == South::Up && West == West::Up) return 3111;
- if (East == East::None && North == North::Side && Power == 5 && South == South::Up && West == West::Side) return 3112;
- if (East == East::None && North == North::Side && Power == 5 && South == South::Up && West == West::None) return 3113;
- if (East == East::None && North == North::Side && Power == 5 && South == South::Side && West == West::Up) return 3114;
- if (East == East::None && North == North::Side && Power == 5 && South == South::Side && West == West::Side) return 3115;
- if (East == East::None && North == North::Side && Power == 5 && South == South::Side && West == West::None) return 3116;
- if (East == East::None && North == North::Side && Power == 5 && South == South::None && West == West::Up) return 3117;
- if (East == East::None && North == North::Side && Power == 5 && South == South::None && West == West::Side) return 3118;
- if (East == East::None && North == North::Side && Power == 5 && South == South::None && West == West::None) return 3119;
- if (East == East::None && North == North::Side && Power == 6 && South == South::Up && West == West::Up) return 3120;
- if (East == East::None && North == North::Side && Power == 6 && South == South::Up && West == West::Side) return 3121;
- if (East == East::None && North == North::Side && Power == 6 && South == South::Up && West == West::None) return 3122;
- if (East == East::None && North == North::Side && Power == 6 && South == South::Side && West == West::Up) return 3123;
- if (East == East::None && North == North::Side && Power == 6 && South == South::Side && West == West::Side) return 3124;
- if (East == East::None && North == North::Side && Power == 6 && South == South::Side && West == West::None) return 3125;
- if (East == East::None && North == North::Side && Power == 6 && South == South::None && West == West::Up) return 3126;
- if (East == East::None && North == North::Side && Power == 6 && South == South::None && West == West::Side) return 3127;
- if (East == East::None && North == North::Side && Power == 6 && South == South::None && West == West::None) return 3128;
- if (East == East::None && North == North::Side && Power == 7 && South == South::Up && West == West::Up) return 3129;
- if (East == East::None && North == North::Side && Power == 7 && South == South::Up && West == West::Side) return 3130;
- if (East == East::None && North == North::Side && Power == 7 && South == South::Up && West == West::None) return 3131;
- if (East == East::None && North == North::Side && Power == 7 && South == South::Side && West == West::Up) return 3132;
- if (East == East::None && North == North::Side && Power == 7 && South == South::Side && West == West::Side) return 3133;
- if (East == East::None && North == North::Side && Power == 7 && South == South::Side && West == West::None) return 3134;
- if (East == East::None && North == North::Side && Power == 7 && South == South::None && West == West::Up) return 3135;
- if (East == East::None && North == North::Side && Power == 7 && South == South::None && West == West::Side) return 3136;
- if (East == East::None && North == North::Side && Power == 7 && South == South::None && West == West::None) return 3137;
- if (East == East::None && North == North::Side && Power == 8 && South == South::Up && West == West::Up) return 3138;
- if (East == East::None && North == North::Side && Power == 8 && South == South::Up && West == West::Side) return 3139;
- if (East == East::None && North == North::Side && Power == 8 && South == South::Up && West == West::None) return 3140;
- if (East == East::None && North == North::Side && Power == 8 && South == South::Side && West == West::Up) return 3141;
- if (East == East::None && North == North::Side && Power == 8 && South == South::Side && West == West::Side) return 3142;
- if (East == East::None && North == North::Side && Power == 8 && South == South::Side && West == West::None) return 3143;
- if (East == East::None && North == North::Side && Power == 8 && South == South::None && West == West::Up) return 3144;
- if (East == East::None && North == North::Side && Power == 8 && South == South::None && West == West::Side) return 3145;
- if (East == East::None && North == North::Side && Power == 8 && South == South::None && West == West::None) return 3146;
- if (East == East::None && North == North::Side && Power == 9 && South == South::Up && West == West::Up) return 3147;
- if (East == East::None && North == North::Side && Power == 9 && South == South::Up && West == West::Side) return 3148;
- if (East == East::None && North == North::Side && Power == 9 && South == South::Up && West == West::None) return 3149;
- if (East == East::None && North == North::Side && Power == 9 && South == South::Side && West == West::Up) return 3150;
- if (East == East::None && North == North::Side && Power == 9 && South == South::Side && West == West::Side) return 3151;
- if (East == East::None && North == North::Side && Power == 9 && South == South::Side && West == West::None) return 3152;
- if (East == East::None && North == North::Side && Power == 9 && South == South::None && West == West::Up) return 3153;
- if (East == East::None && North == North::Side && Power == 9 && South == South::None && West == West::Side) return 3154;
- if (East == East::None && North == North::Side && Power == 9 && South == South::None && West == West::None) return 3155;
- if (East == East::None && North == North::Side && Power == 10 && South == South::Up && West == West::Up) return 3156;
- if (East == East::None && North == North::Side && Power == 10 && South == South::Up && West == West::Side) return 3157;
- if (East == East::None && North == North::Side && Power == 10 && South == South::Up && West == West::None) return 3158;
- if (East == East::None && North == North::Side && Power == 10 && South == South::Side && West == West::Up) return 3159;
- if (East == East::None && North == North::Side && Power == 10 && South == South::Side && West == West::Side) return 3160;
- if (East == East::None && North == North::Side && Power == 10 && South == South::Side && West == West::None) return 3161;
- if (East == East::None && North == North::Side && Power == 10 && South == South::None && West == West::Up) return 3162;
- if (East == East::None && North == North::Side && Power == 10 && South == South::None && West == West::Side) return 3163;
- if (East == East::None && North == North::Side && Power == 10 && South == South::None && West == West::None) return 3164;
- if (East == East::None && North == North::Side && Power == 11 && South == South::Up && West == West::Up) return 3165;
- if (East == East::None && North == North::Side && Power == 11 && South == South::Up && West == West::Side) return 3166;
- if (East == East::None && North == North::Side && Power == 11 && South == South::Up && West == West::None) return 3167;
- if (East == East::None && North == North::Side && Power == 11 && South == South::Side && West == West::Up) return 3168;
- if (East == East::None && North == North::Side && Power == 11 && South == South::Side && West == West::Side) return 3169;
- if (East == East::None && North == North::Side && Power == 11 && South == South::Side && West == West::None) return 3170;
- if (East == East::None && North == North::Side && Power == 11 && South == South::None && West == West::Up) return 3171;
- if (East == East::None && North == North::Side && Power == 11 && South == South::None && West == West::Side) return 3172;
- if (East == East::None && North == North::Side && Power == 11 && South == South::None && West == West::None) return 3173;
- if (East == East::None && North == North::Side && Power == 12 && South == South::Up && West == West::Up) return 3174;
- if (East == East::None && North == North::Side && Power == 12 && South == South::Up && West == West::Side) return 3175;
- if (East == East::None && North == North::Side && Power == 12 && South == South::Up && West == West::None) return 3176;
- if (East == East::None && North == North::Side && Power == 12 && South == South::Side && West == West::Up) return 3177;
- if (East == East::None && North == North::Side && Power == 12 && South == South::Side && West == West::Side) return 3178;
- if (East == East::None && North == North::Side && Power == 12 && South == South::Side && West == West::None) return 3179;
- if (East == East::None && North == North::Side && Power == 12 && South == South::None && West == West::Up) return 3180;
- if (East == East::None && North == North::Side && Power == 12 && South == South::None && West == West::Side) return 3181;
- if (East == East::None && North == North::Side && Power == 12 && South == South::None && West == West::None) return 3182;
- if (East == East::None && North == North::Side && Power == 13 && South == South::Up && West == West::Up) return 3183;
- if (East == East::None && North == North::Side && Power == 13 && South == South::Up && West == West::Side) return 3184;
- if (East == East::None && North == North::Side && Power == 13 && South == South::Up && West == West::None) return 3185;
- if (East == East::None && North == North::Side && Power == 13 && South == South::Side && West == West::Up) return 3186;
- if (East == East::None && North == North::Side && Power == 13 && South == South::Side && West == West::Side) return 3187;
- if (East == East::None && North == North::Side && Power == 13 && South == South::Side && West == West::None) return 3188;
- if (East == East::None && North == North::Side && Power == 13 && South == South::None && West == West::Up) return 3189;
- if (East == East::None && North == North::Side && Power == 13 && South == South::None && West == West::Side) return 3190;
- if (East == East::None && North == North::Side && Power == 13 && South == South::None && West == West::None) return 3191;
- if (East == East::None && North == North::Side && Power == 14 && South == South::Up && West == West::Up) return 3192;
- if (East == East::None && North == North::Side && Power == 14 && South == South::Up && West == West::Side) return 3193;
- if (East == East::None && North == North::Side && Power == 14 && South == South::Up && West == West::None) return 3194;
- if (East == East::None && North == North::Side && Power == 14 && South == South::Side && West == West::Up) return 3195;
- if (East == East::None && North == North::Side && Power == 14 && South == South::Side && West == West::Side) return 3196;
- if (East == East::None && North == North::Side && Power == 14 && South == South::Side && West == West::None) return 3197;
- if (East == East::None && North == North::Side && Power == 14 && South == South::None && West == West::Up) return 3198;
- if (East == East::None && North == North::Side && Power == 14 && South == South::None && West == West::Side) return 3199;
- if (East == East::None && North == North::Side && Power == 14 && South == South::None && West == West::None) return 3200;
- if (East == East::None && North == North::Side && Power == 15 && South == South::Up && West == West::Up) return 3201;
- if (East == East::None && North == North::Side && Power == 15 && South == South::Up && West == West::Side) return 3202;
- if (East == East::None && North == North::Side && Power == 15 && South == South::Up && West == West::None) return 3203;
- if (East == East::None && North == North::Side && Power == 15 && South == South::Side && West == West::Up) return 3204;
- if (East == East::None && North == North::Side && Power == 15 && South == South::Side && West == West::Side) return 3205;
- if (East == East::None && North == North::Side && Power == 15 && South == South::Side && West == West::None) return 3206;
- if (East == East::None && North == North::Side && Power == 15 && South == South::None && West == West::Up) return 3207;
- if (East == East::None && North == North::Side && Power == 15 && South == South::None && West == West::Side) return 3208;
- if (East == East::None && North == North::Side && Power == 15 && South == South::None && West == West::None) return 3209;
- if (East == East::None && North == North::None && Power == 0 && South == South::Up && West == West::Up) return 3210;
- if (East == East::None && North == North::None && Power == 0 && South == South::Up && West == West::Side) return 3211;
- if (East == East::None && North == North::None && Power == 0 && South == South::Up && West == West::None) return 3212;
- if (East == East::None && North == North::None && Power == 0 && South == South::Side && West == West::Up) return 3213;
- if (East == East::None && North == North::None && Power == 0 && South == South::Side && West == West::Side) return 3214;
- if (East == East::None && North == North::None && Power == 0 && South == South::Side && West == West::None) return 3215;
- if (East == East::None && North == North::None && Power == 0 && South == South::None && West == West::Up) return 3216;
- if (East == East::None && North == North::None && Power == 0 && South == South::None && West == West::Side) return 3217;
- if (East == East::None && North == North::None && Power == 0 && South == South::None && West == West::None) return 3218;
- if (East == East::None && North == North::None && Power == 1 && South == South::Up && West == West::Up) return 3219;
- if (East == East::None && North == North::None && Power == 1 && South == South::Up && West == West::Side) return 3220;
- if (East == East::None && North == North::None && Power == 1 && South == South::Up && West == West::None) return 3221;
- if (East == East::None && North == North::None && Power == 1 && South == South::Side && West == West::Up) return 3222;
- if (East == East::None && North == North::None && Power == 1 && South == South::Side && West == West::Side) return 3223;
- if (East == East::None && North == North::None && Power == 1 && South == South::Side && West == West::None) return 3224;
- if (East == East::None && North == North::None && Power == 1 && South == South::None && West == West::Up) return 3225;
- if (East == East::None && North == North::None && Power == 1 && South == South::None && West == West::Side) return 3226;
- if (East == East::None && North == North::None && Power == 1 && South == South::None && West == West::None) return 3227;
- if (East == East::None && North == North::None && Power == 2 && South == South::Up && West == West::Up) return 3228;
- if (East == East::None && North == North::None && Power == 2 && South == South::Up && West == West::Side) return 3229;
- if (East == East::None && North == North::None && Power == 2 && South == South::Up && West == West::None) return 3230;
- if (East == East::None && North == North::None && Power == 2 && South == South::Side && West == West::Up) return 3231;
- if (East == East::None && North == North::None && Power == 2 && South == South::Side && West == West::Side) return 3232;
- if (East == East::None && North == North::None && Power == 2 && South == South::Side && West == West::None) return 3233;
- if (East == East::None && North == North::None && Power == 2 && South == South::None && West == West::Up) return 3234;
- if (East == East::None && North == North::None && Power == 2 && South == South::None && West == West::Side) return 3235;
- if (East == East::None && North == North::None && Power == 2 && South == South::None && West == West::None) return 3236;
- if (East == East::None && North == North::None && Power == 3 && South == South::Up && West == West::Up) return 3237;
- if (East == East::None && North == North::None && Power == 3 && South == South::Up && West == West::Side) return 3238;
- if (East == East::None && North == North::None && Power == 3 && South == South::Up && West == West::None) return 3239;
- if (East == East::None && North == North::None && Power == 3 && South == South::Side && West == West::Up) return 3240;
- if (East == East::None && North == North::None && Power == 3 && South == South::Side && West == West::Side) return 3241;
- if (East == East::None && North == North::None && Power == 3 && South == South::Side && West == West::None) return 3242;
- if (East == East::None && North == North::None && Power == 3 && South == South::None && West == West::Up) return 3243;
- if (East == East::None && North == North::None && Power == 3 && South == South::None && West == West::Side) return 3244;
- if (East == East::None && North == North::None && Power == 3 && South == South::None && West == West::None) return 3245;
- if (East == East::None && North == North::None && Power == 4 && South == South::Up && West == West::Up) return 3246;
- if (East == East::None && North == North::None && Power == 4 && South == South::Up && West == West::Side) return 3247;
- if (East == East::None && North == North::None && Power == 4 && South == South::Up && West == West::None) return 3248;
- if (East == East::None && North == North::None && Power == 4 && South == South::Side && West == West::Up) return 3249;
- if (East == East::None && North == North::None && Power == 4 && South == South::Side && West == West::Side) return 3250;
- if (East == East::None && North == North::None && Power == 4 && South == South::Side && West == West::None) return 3251;
- if (East == East::None && North == North::None && Power == 4 && South == South::None && West == West::Up) return 3252;
- if (East == East::None && North == North::None && Power == 4 && South == South::None && West == West::Side) return 3253;
- if (East == East::None && North == North::None && Power == 4 && South == South::None && West == West::None) return 3254;
- if (East == East::None && North == North::None && Power == 5 && South == South::Up && West == West::Up) return 3255;
- if (East == East::None && North == North::None && Power == 5 && South == South::Up && West == West::Side) return 3256;
- if (East == East::None && North == North::None && Power == 5 && South == South::Up && West == West::None) return 3257;
- if (East == East::None && North == North::None && Power == 5 && South == South::Side && West == West::Up) return 3258;
- if (East == East::None && North == North::None && Power == 5 && South == South::Side && West == West::Side) return 3259;
- if (East == East::None && North == North::None && Power == 5 && South == South::Side && West == West::None) return 3260;
- if (East == East::None && North == North::None && Power == 5 && South == South::None && West == West::Up) return 3261;
- if (East == East::None && North == North::None && Power == 5 && South == South::None && West == West::Side) return 3262;
- if (East == East::None && North == North::None && Power == 5 && South == South::None && West == West::None) return 3263;
- if (East == East::None && North == North::None && Power == 6 && South == South::Up && West == West::Up) return 3264;
- if (East == East::None && North == North::None && Power == 6 && South == South::Up && West == West::Side) return 3265;
- if (East == East::None && North == North::None && Power == 6 && South == South::Up && West == West::None) return 3266;
- if (East == East::None && North == North::None && Power == 6 && South == South::Side && West == West::Up) return 3267;
- if (East == East::None && North == North::None && Power == 6 && South == South::Side && West == West::Side) return 3268;
- if (East == East::None && North == North::None && Power == 6 && South == South::Side && West == West::None) return 3269;
- if (East == East::None && North == North::None && Power == 6 && South == South::None && West == West::Up) return 3270;
- if (East == East::None && North == North::None && Power == 6 && South == South::None && West == West::Side) return 3271;
- if (East == East::None && North == North::None && Power == 6 && South == South::None && West == West::None) return 3272;
- if (East == East::None && North == North::None && Power == 7 && South == South::Up && West == West::Up) return 3273;
- if (East == East::None && North == North::None && Power == 7 && South == South::Up && West == West::Side) return 3274;
- if (East == East::None && North == North::None && Power == 7 && South == South::Up && West == West::None) return 3275;
- if (East == East::None && North == North::None && Power == 7 && South == South::Side && West == West::Up) return 3276;
- if (East == East::None && North == North::None && Power == 7 && South == South::Side && West == West::Side) return 3277;
- if (East == East::None && North == North::None && Power == 7 && South == South::Side && West == West::None) return 3278;
- if (East == East::None && North == North::None && Power == 7 && South == South::None && West == West::Up) return 3279;
- if (East == East::None && North == North::None && Power == 7 && South == South::None && West == West::Side) return 3280;
- if (East == East::None && North == North::None && Power == 7 && South == South::None && West == West::None) return 3281;
- if (East == East::None && North == North::None && Power == 8 && South == South::Up && West == West::Up) return 3282;
- if (East == East::None && North == North::None && Power == 8 && South == South::Up && West == West::Side) return 3283;
- if (East == East::None && North == North::None && Power == 8 && South == South::Up && West == West::None) return 3284;
- if (East == East::None && North == North::None && Power == 8 && South == South::Side && West == West::Up) return 3285;
- if (East == East::None && North == North::None && Power == 8 && South == South::Side && West == West::Side) return 3286;
- if (East == East::None && North == North::None && Power == 8 && South == South::Side && West == West::None) return 3287;
- if (East == East::None && North == North::None && Power == 8 && South == South::None && West == West::Up) return 3288;
- if (East == East::None && North == North::None && Power == 8 && South == South::None && West == West::Side) return 3289;
- if (East == East::None && North == North::None && Power == 8 && South == South::None && West == West::None) return 3290;
- if (East == East::None && North == North::None && Power == 9 && South == South::Up && West == West::Up) return 3291;
- if (East == East::None && North == North::None && Power == 9 && South == South::Up && West == West::Side) return 3292;
- if (East == East::None && North == North::None && Power == 9 && South == South::Up && West == West::None) return 3293;
- if (East == East::None && North == North::None && Power == 9 && South == South::Side && West == West::Up) return 3294;
- if (East == East::None && North == North::None && Power == 9 && South == South::Side && West == West::Side) return 3295;
- if (East == East::None && North == North::None && Power == 9 && South == South::Side && West == West::None) return 3296;
- if (East == East::None && North == North::None && Power == 9 && South == South::None && West == West::Up) return 3297;
- if (East == East::None && North == North::None && Power == 9 && South == South::None && West == West::Side) return 3298;
- if (East == East::None && North == North::None && Power == 9 && South == South::None && West == West::None) return 3299;
- if (East == East::None && North == North::None && Power == 10 && South == South::Up && West == West::Up) return 3300;
- if (East == East::None && North == North::None && Power == 10 && South == South::Up && West == West::Side) return 3301;
- if (East == East::None && North == North::None && Power == 10 && South == South::Up && West == West::None) return 3302;
- if (East == East::None && North == North::None && Power == 10 && South == South::Side && West == West::Up) return 3303;
- if (East == East::None && North == North::None && Power == 10 && South == South::Side && West == West::Side) return 3304;
- if (East == East::None && North == North::None && Power == 10 && South == South::Side && West == West::None) return 3305;
- if (East == East::None && North == North::None && Power == 10 && South == South::None && West == West::Up) return 3306;
- if (East == East::None && North == North::None && Power == 10 && South == South::None && West == West::Side) return 3307;
- if (East == East::None && North == North::None && Power == 10 && South == South::None && West == West::None) return 3308;
- if (East == East::None && North == North::None && Power == 11 && South == South::Up && West == West::Up) return 3309;
- if (East == East::None && North == North::None && Power == 11 && South == South::Up && West == West::Side) return 3310;
- if (East == East::None && North == North::None && Power == 11 && South == South::Up && West == West::None) return 3311;
- if (East == East::None && North == North::None && Power == 11 && South == South::Side && West == West::Up) return 3312;
- if (East == East::None && North == North::None && Power == 11 && South == South::Side && West == West::Side) return 3313;
- if (East == East::None && North == North::None && Power == 11 && South == South::Side && West == West::None) return 3314;
- if (East == East::None && North == North::None && Power == 11 && South == South::None && West == West::Up) return 3315;
- if (East == East::None && North == North::None && Power == 11 && South == South::None && West == West::Side) return 3316;
- if (East == East::None && North == North::None && Power == 11 && South == South::None && West == West::None) return 3317;
- if (East == East::None && North == North::None && Power == 12 && South == South::Up && West == West::Up) return 3318;
- if (East == East::None && North == North::None && Power == 12 && South == South::Up && West == West::Side) return 3319;
- if (East == East::None && North == North::None && Power == 12 && South == South::Up && West == West::None) return 3320;
- if (East == East::None && North == North::None && Power == 12 && South == South::Side && West == West::Up) return 3321;
- if (East == East::None && North == North::None && Power == 12 && South == South::Side && West == West::Side) return 3322;
- if (East == East::None && North == North::None && Power == 12 && South == South::Side && West == West::None) return 3323;
- if (East == East::None && North == North::None && Power == 12 && South == South::None && West == West::Up) return 3324;
- if (East == East::None && North == North::None && Power == 12 && South == South::None && West == West::Side) return 3325;
- if (East == East::None && North == North::None && Power == 12 && South == South::None && West == West::None) return 3326;
- if (East == East::None && North == North::None && Power == 13 && South == South::Up && West == West::Up) return 3327;
- if (East == East::None && North == North::None && Power == 13 && South == South::Up && West == West::Side) return 3328;
- if (East == East::None && North == North::None && Power == 13 && South == South::Up && West == West::None) return 3329;
- if (East == East::None && North == North::None && Power == 13 && South == South::Side && West == West::Up) return 3330;
- if (East == East::None && North == North::None && Power == 13 && South == South::Side && West == West::Side) return 3331;
- if (East == East::None && North == North::None && Power == 13 && South == South::Side && West == West::None) return 3332;
- if (East == East::None && North == North::None && Power == 13 && South == South::None && West == West::Up) return 3333;
- if (East == East::None && North == North::None && Power == 13 && South == South::None && West == West::Side) return 3334;
- if (East == East::None && North == North::None && Power == 13 && South == South::None && West == West::None) return 3335;
- if (East == East::None && North == North::None && Power == 14 && South == South::Up && West == West::Up) return 3336;
- if (East == East::None && North == North::None && Power == 14 && South == South::Up && West == West::Side) return 3337;
- if (East == East::None && North == North::None && Power == 14 && South == South::Up && West == West::None) return 3338;
- if (East == East::None && North == North::None && Power == 14 && South == South::Side && West == West::Up) return 3339;
- if (East == East::None && North == North::None && Power == 14 && South == South::Side && West == West::Side) return 3340;
- if (East == East::None && North == North::None && Power == 14 && South == South::Side && West == West::None) return 3341;
- if (East == East::None && North == North::None && Power == 14 && South == South::None && West == West::Up) return 3342;
- if (East == East::None && North == North::None && Power == 14 && South == South::None && West == West::Side) return 3343;
- if (East == East::None && North == North::None && Power == 14 && South == South::None && West == West::None) return 3344;
- if (East == East::None && North == North::None && Power == 15 && South == South::Up && West == West::Up) return 3345;
- if (East == East::None && North == North::None && Power == 15 && South == South::Up && West == West::Side) return 3346;
- if (East == East::None && North == North::None && Power == 15 && South == South::Up && West == West::None) return 3347;
- if (East == East::None && North == North::None && Power == 15 && South == South::Side && West == West::Up) return 3348;
- if (East == East::None && North == North::None && Power == 15 && South == South::Side && West == West::Side) return 3349;
- if (East == East::None && North == North::None && Power == 15 && South == South::Side && West == West::None) return 3350;
- if (East == East::None && North == North::None && Power == 15 && South == South::None && West == West::Up) return 3351;
- if (East == East::None && North == North::None && Power == 15 && South == South::None && West == West::Side) return 3352;
- return 3353;
- }
- short RedstoneWire();
- enum East East(short ID);
- enum North North(short ID);
- unsigned char Power(short ID);
- enum South South(short ID);
- enum West West(short ID);
- }
- namespace Repeater
- {
- constexpr short Repeater(unsigned char Delay, eBlockFace Facing, bool Locked, bool Powered)
- {
- if (Delay == 1 && Facing == eBlockFace::BLOCK_FACE_ZM && Locked && Powered) return 4031;
- if (Delay == 1 && Facing == eBlockFace::BLOCK_FACE_ZM && Locked && !Powered) return 4032;
- if (Delay == 1 && Facing == eBlockFace::BLOCK_FACE_ZM && !Locked && Powered) return 4033;
- if (Delay == 1 && Facing == eBlockFace::BLOCK_FACE_ZM && !Locked && !Powered) return 4034;
- if (Delay == 1 && Facing == eBlockFace::BLOCK_FACE_ZP && Locked && Powered) return 4035;
- if (Delay == 1 && Facing == eBlockFace::BLOCK_FACE_ZP && Locked && !Powered) return 4036;
- if (Delay == 1 && Facing == eBlockFace::BLOCK_FACE_ZP && !Locked && Powered) return 4037;
- if (Delay == 1 && Facing == eBlockFace::BLOCK_FACE_ZP && !Locked && !Powered) return 4038;
- if (Delay == 1 && Facing == eBlockFace::BLOCK_FACE_XM && Locked && Powered) return 4039;
- if (Delay == 1 && Facing == eBlockFace::BLOCK_FACE_XM && Locked && !Powered) return 4040;
- if (Delay == 1 && Facing == eBlockFace::BLOCK_FACE_XM && !Locked && Powered) return 4041;
- if (Delay == 1 && Facing == eBlockFace::BLOCK_FACE_XM && !Locked && !Powered) return 4042;
- if (Delay == 1 && Facing == eBlockFace::BLOCK_FACE_XP && Locked && Powered) return 4043;
- if (Delay == 1 && Facing == eBlockFace::BLOCK_FACE_XP && Locked && !Powered) return 4044;
- if (Delay == 1 && Facing == eBlockFace::BLOCK_FACE_XP && !Locked && Powered) return 4045;
- if (Delay == 1 && Facing == eBlockFace::BLOCK_FACE_XP && !Locked && !Powered) return 4046;
- if (Delay == 2 && Facing == eBlockFace::BLOCK_FACE_ZM && Locked && Powered) return 4047;
- if (Delay == 2 && Facing == eBlockFace::BLOCK_FACE_ZM && Locked && !Powered) return 4048;
- if (Delay == 2 && Facing == eBlockFace::BLOCK_FACE_ZM && !Locked && Powered) return 4049;
- if (Delay == 2 && Facing == eBlockFace::BLOCK_FACE_ZM && !Locked && !Powered) return 4050;
- if (Delay == 2 && Facing == eBlockFace::BLOCK_FACE_ZP && Locked && Powered) return 4051;
- if (Delay == 2 && Facing == eBlockFace::BLOCK_FACE_ZP && Locked && !Powered) return 4052;
- if (Delay == 2 && Facing == eBlockFace::BLOCK_FACE_ZP && !Locked && Powered) return 4053;
- if (Delay == 2 && Facing == eBlockFace::BLOCK_FACE_ZP && !Locked && !Powered) return 4054;
- if (Delay == 2 && Facing == eBlockFace::BLOCK_FACE_XM && Locked && Powered) return 4055;
- if (Delay == 2 && Facing == eBlockFace::BLOCK_FACE_XM && Locked && !Powered) return 4056;
- if (Delay == 2 && Facing == eBlockFace::BLOCK_FACE_XM && !Locked && Powered) return 4057;
- if (Delay == 2 && Facing == eBlockFace::BLOCK_FACE_XM && !Locked && !Powered) return 4058;
- if (Delay == 2 && Facing == eBlockFace::BLOCK_FACE_XP && Locked && Powered) return 4059;
- if (Delay == 2 && Facing == eBlockFace::BLOCK_FACE_XP && Locked && !Powered) return 4060;
- if (Delay == 2 && Facing == eBlockFace::BLOCK_FACE_XP && !Locked && Powered) return 4061;
- if (Delay == 2 && Facing == eBlockFace::BLOCK_FACE_XP && !Locked && !Powered) return 4062;
- if (Delay == 3 && Facing == eBlockFace::BLOCK_FACE_ZM && Locked && Powered) return 4063;
- if (Delay == 3 && Facing == eBlockFace::BLOCK_FACE_ZM && Locked && !Powered) return 4064;
- if (Delay == 3 && Facing == eBlockFace::BLOCK_FACE_ZM && !Locked && Powered) return 4065;
- if (Delay == 3 && Facing == eBlockFace::BLOCK_FACE_ZM && !Locked && !Powered) return 4066;
- if (Delay == 3 && Facing == eBlockFace::BLOCK_FACE_ZP && Locked && Powered) return 4067;
- if (Delay == 3 && Facing == eBlockFace::BLOCK_FACE_ZP && Locked && !Powered) return 4068;
- if (Delay == 3 && Facing == eBlockFace::BLOCK_FACE_ZP && !Locked && Powered) return 4069;
- if (Delay == 3 && Facing == eBlockFace::BLOCK_FACE_ZP && !Locked && !Powered) return 4070;
- if (Delay == 3 && Facing == eBlockFace::BLOCK_FACE_XM && Locked && Powered) return 4071;
- if (Delay == 3 && Facing == eBlockFace::BLOCK_FACE_XM && Locked && !Powered) return 4072;
- if (Delay == 3 && Facing == eBlockFace::BLOCK_FACE_XM && !Locked && Powered) return 4073;
- if (Delay == 3 && Facing == eBlockFace::BLOCK_FACE_XM && !Locked && !Powered) return 4074;
- if (Delay == 3 && Facing == eBlockFace::BLOCK_FACE_XP && Locked && Powered) return 4075;
- if (Delay == 3 && Facing == eBlockFace::BLOCK_FACE_XP && Locked && !Powered) return 4076;
- if (Delay == 3 && Facing == eBlockFace::BLOCK_FACE_XP && !Locked && Powered) return 4077;
- if (Delay == 3 && Facing == eBlockFace::BLOCK_FACE_XP && !Locked && !Powered) return 4078;
- if (Delay == 4 && Facing == eBlockFace::BLOCK_FACE_ZM && Locked && Powered) return 4079;
- if (Delay == 4 && Facing == eBlockFace::BLOCK_FACE_ZM && Locked && !Powered) return 4080;
- if (Delay == 4 && Facing == eBlockFace::BLOCK_FACE_ZM && !Locked && Powered) return 4081;
- if (Delay == 4 && Facing == eBlockFace::BLOCK_FACE_ZM && !Locked && !Powered) return 4082;
- if (Delay == 4 && Facing == eBlockFace::BLOCK_FACE_ZP && Locked && Powered) return 4083;
- if (Delay == 4 && Facing == eBlockFace::BLOCK_FACE_ZP && Locked && !Powered) return 4084;
- if (Delay == 4 && Facing == eBlockFace::BLOCK_FACE_ZP && !Locked && Powered) return 4085;
- if (Delay == 4 && Facing == eBlockFace::BLOCK_FACE_ZP && !Locked && !Powered) return 4086;
- if (Delay == 4 && Facing == eBlockFace::BLOCK_FACE_XM && Locked && Powered) return 4087;
- if (Delay == 4 && Facing == eBlockFace::BLOCK_FACE_XM && Locked && !Powered) return 4088;
- if (Delay == 4 && Facing == eBlockFace::BLOCK_FACE_XM && !Locked && Powered) return 4089;
- if (Delay == 4 && Facing == eBlockFace::BLOCK_FACE_XM && !Locked && !Powered) return 4090;
- if (Delay == 4 && Facing == eBlockFace::BLOCK_FACE_XP && Locked && Powered) return 4091;
- if (Delay == 4 && Facing == eBlockFace::BLOCK_FACE_XP && Locked && !Powered) return 4092;
- if (Delay == 4 && Facing == eBlockFace::BLOCK_FACE_XP && !Locked && Powered) return 4093;
- return 4094;
- }
- short Repeater();
- unsigned char Delay(short ID);
- eBlockFace Facing(short ID);
- bool Locked(short ID);
- bool Powered(short ID);
- }
- namespace RepeatingCommandBlock
- {
- constexpr short RepeatingCommandBlock(bool Conditional, eBlockFace Facing)
- {
- if (Conditional && Facing == eBlockFace::BLOCK_FACE_ZM) return 9225;
- if (Conditional && Facing == eBlockFace::BLOCK_FACE_XP) return 9226;
- if (Conditional && Facing == eBlockFace::BLOCK_FACE_ZP) return 9227;
- if (Conditional && Facing == eBlockFace::BLOCK_FACE_XM) return 9228;
- if (Conditional && Facing == eBlockFace::BLOCK_FACE_YP) return 9229;
- if (Conditional && Facing == eBlockFace::BLOCK_FACE_YM) return 9230;
- if (!Conditional && Facing == eBlockFace::BLOCK_FACE_ZM) return 9231;
- if (!Conditional && Facing == eBlockFace::BLOCK_FACE_XP) return 9232;
- if (!Conditional && Facing == eBlockFace::BLOCK_FACE_ZP) return 9233;
- if (!Conditional && Facing == eBlockFace::BLOCK_FACE_XM) return 9234;
- if (!Conditional && Facing == eBlockFace::BLOCK_FACE_YP) return 9235;
- return 9236;
- }
- short RepeatingCommandBlock();
- bool Conditional(short ID);
- eBlockFace Facing(short ID);
- }
- namespace RespawnAnchor
- {
- constexpr short RespawnAnchor(unsigned char Charges)
- {
- if (Charges == 0) return 15829;
- if (Charges == 1) return 15830;
- if (Charges == 2) return 15831;
- if (Charges == 3) return 15832;
- return 15833;
- }
- short RespawnAnchor();
- unsigned char Charges(short ID);
- }
- namespace RoseBush
- {
- enum class Half
- {
- Upper,
- Lower
- };
- constexpr short RoseBush(enum Half Half)
- {
- if (Half == Half::Upper) return 7889;
- return 7890;
- }
- short RoseBush();
- enum Half Half(short ID);
- }
- namespace Sand
- {
- constexpr short Sand()
- {
- return 66;
- }
- }
- namespace Sandstone
- {
- constexpr short Sandstone()
- {
- return 246;
- }
- }
- namespace SandstoneSlab
- {
- enum class Type
- {
- Top,
- Bottom,
- Double
- };
- constexpr short SandstoneSlab(enum Type Type)
- {
- if (Type == Type::Top) return 8349;
- if (Type == Type::Bottom) return 8351;
- return 8353;
- }
- short SandstoneSlab();
- enum Type Type(short ID);
- }
- namespace SandstoneStairs
- {
- enum class Half
- {
- Top,
- Bottom
- };
- enum class Shape
- {
- Straight,
- InnerLeft,
- InnerRight,
- OuterLeft,
- OuterRight
- };
- constexpr short SandstoneStairs(eBlockFace Facing, enum Half Half, enum Shape Shape)
- {
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Top && Shape == Shape::Straight) return 5171;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Top && Shape == Shape::InnerLeft) return 5173;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Top && Shape == Shape::InnerRight) return 5175;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Top && Shape == Shape::OuterLeft) return 5177;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Top && Shape == Shape::OuterRight) return 5179;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Bottom && Shape == Shape::Straight) return 5181;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Bottom && Shape == Shape::InnerLeft) return 5183;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Bottom && Shape == Shape::InnerRight) return 5185;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Bottom && Shape == Shape::OuterLeft) return 5187;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Bottom && Shape == Shape::OuterRight) return 5189;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Top && Shape == Shape::Straight) return 5191;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Top && Shape == Shape::InnerLeft) return 5193;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Top && Shape == Shape::InnerRight) return 5195;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Top && Shape == Shape::OuterLeft) return 5197;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Top && Shape == Shape::OuterRight) return 5199;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Bottom && Shape == Shape::Straight) return 5201;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Bottom && Shape == Shape::InnerLeft) return 5203;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Bottom && Shape == Shape::InnerRight) return 5205;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Bottom && Shape == Shape::OuterLeft) return 5207;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Bottom && Shape == Shape::OuterRight) return 5209;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Top && Shape == Shape::Straight) return 5211;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Top && Shape == Shape::InnerLeft) return 5213;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Top && Shape == Shape::InnerRight) return 5215;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Top && Shape == Shape::OuterLeft) return 5217;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Top && Shape == Shape::OuterRight) return 5219;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Bottom && Shape == Shape::Straight) return 5221;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Bottom && Shape == Shape::InnerLeft) return 5223;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Bottom && Shape == Shape::InnerRight) return 5225;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Bottom && Shape == Shape::OuterLeft) return 5227;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Bottom && Shape == Shape::OuterRight) return 5229;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Top && Shape == Shape::Straight) return 5231;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Top && Shape == Shape::InnerLeft) return 5233;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Top && Shape == Shape::InnerRight) return 5235;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Top && Shape == Shape::OuterLeft) return 5237;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Top && Shape == Shape::OuterRight) return 5239;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Bottom && Shape == Shape::Straight) return 5241;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Bottom && Shape == Shape::InnerLeft) return 5243;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Bottom && Shape == Shape::InnerRight) return 5245;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Bottom && Shape == Shape::OuterLeft) return 5247;
- return 5249;
- }
- short SandstoneStairs();
- eBlockFace Facing(short ID);
- enum Half Half(short ID);
- enum Shape Shape(short ID);
- }
- namespace SandstoneWall
- {
- enum class East
- {
- None,
- Low,
- Tall
- };
- enum class North
- {
- None,
- Low,
- Tall
- };
- enum class South
- {
- None,
- Low,
- Tall
- };
- enum class West
- {
- None,
- Low,
- Tall
- };
- constexpr short SandstoneWall(enum East East, enum North North, enum South South, bool Up, enum West West)
- {
- if (East == East::None && North == North::None && South == South::None && Up && West == West::None) return 13786;
- if (East == East::None && North == North::None && South == South::None && Up && West == West::Low) return 13787;
- if (East == East::None && North == North::None && South == South::None && Up && West == West::Tall) return 13788;
- if (East == East::None && North == North::None && South == South::None && !Up && West == West::None) return 13792;
- if (East == East::None && North == North::None && South == South::None && !Up && West == West::Low) return 13793;
- if (East == East::None && North == North::None && South == South::None && !Up && West == West::Tall) return 13794;
- if (East == East::None && North == North::None && South == South::Low && Up && West == West::None) return 13798;
- if (East == East::None && North == North::None && South == South::Low && Up && West == West::Low) return 13799;
- if (East == East::None && North == North::None && South == South::Low && Up && West == West::Tall) return 13800;
- if (East == East::None && North == North::None && South == South::Low && !Up && West == West::None) return 13804;
- if (East == East::None && North == North::None && South == South::Low && !Up && West == West::Low) return 13805;
- if (East == East::None && North == North::None && South == South::Low && !Up && West == West::Tall) return 13806;
- if (East == East::None && North == North::None && South == South::Tall && Up && West == West::None) return 13810;
- if (East == East::None && North == North::None && South == South::Tall && Up && West == West::Low) return 13811;
- if (East == East::None && North == North::None && South == South::Tall && Up && West == West::Tall) return 13812;
- if (East == East::None && North == North::None && South == South::Tall && !Up && West == West::None) return 13816;
- if (East == East::None && North == North::None && South == South::Tall && !Up && West == West::Low) return 13817;
- if (East == East::None && North == North::None && South == South::Tall && !Up && West == West::Tall) return 13818;
- if (East == East::None && North == North::Low && South == South::None && Up && West == West::None) return 13822;
- if (East == East::None && North == North::Low && South == South::None && Up && West == West::Low) return 13823;
- if (East == East::None && North == North::Low && South == South::None && Up && West == West::Tall) return 13824;
- if (East == East::None && North == North::Low && South == South::None && !Up && West == West::None) return 13828;
- if (East == East::None && North == North::Low && South == South::None && !Up && West == West::Low) return 13829;
- if (East == East::None && North == North::Low && South == South::None && !Up && West == West::Tall) return 13830;
- if (East == East::None && North == North::Low && South == South::Low && Up && West == West::None) return 13834;
- if (East == East::None && North == North::Low && South == South::Low && Up && West == West::Low) return 13835;
- if (East == East::None && North == North::Low && South == South::Low && Up && West == West::Tall) return 13836;
- if (East == East::None && North == North::Low && South == South::Low && !Up && West == West::None) return 13840;
- if (East == East::None && North == North::Low && South == South::Low && !Up && West == West::Low) return 13841;
- if (East == East::None && North == North::Low && South == South::Low && !Up && West == West::Tall) return 13842;
- if (East == East::None && North == North::Low && South == South::Tall && Up && West == West::None) return 13846;
- if (East == East::None && North == North::Low && South == South::Tall && Up && West == West::Low) return 13847;
- if (East == East::None && North == North::Low && South == South::Tall && Up && West == West::Tall) return 13848;
- if (East == East::None && North == North::Low && South == South::Tall && !Up && West == West::None) return 13852;
- if (East == East::None && North == North::Low && South == South::Tall && !Up && West == West::Low) return 13853;
- if (East == East::None && North == North::Low && South == South::Tall && !Up && West == West::Tall) return 13854;
- if (East == East::None && North == North::Tall && South == South::None && Up && West == West::None) return 13858;
- if (East == East::None && North == North::Tall && South == South::None && Up && West == West::Low) return 13859;
- if (East == East::None && North == North::Tall && South == South::None && Up && West == West::Tall) return 13860;
- if (East == East::None && North == North::Tall && South == South::None && !Up && West == West::None) return 13864;
- if (East == East::None && North == North::Tall && South == South::None && !Up && West == West::Low) return 13865;
- if (East == East::None && North == North::Tall && South == South::None && !Up && West == West::Tall) return 13866;
- if (East == East::None && North == North::Tall && South == South::Low && Up && West == West::None) return 13870;
- if (East == East::None && North == North::Tall && South == South::Low && Up && West == West::Low) return 13871;
- if (East == East::None && North == North::Tall && South == South::Low && Up && West == West::Tall) return 13872;
- if (East == East::None && North == North::Tall && South == South::Low && !Up && West == West::None) return 13876;
- if (East == East::None && North == North::Tall && South == South::Low && !Up && West == West::Low) return 13877;
- if (East == East::None && North == North::Tall && South == South::Low && !Up && West == West::Tall) return 13878;
- if (East == East::None && North == North::Tall && South == South::Tall && Up && West == West::None) return 13882;
- if (East == East::None && North == North::Tall && South == South::Tall && Up && West == West::Low) return 13883;
- if (East == East::None && North == North::Tall && South == South::Tall && Up && West == West::Tall) return 13884;
- if (East == East::None && North == North::Tall && South == South::Tall && !Up && West == West::None) return 13888;
- if (East == East::None && North == North::Tall && South == South::Tall && !Up && West == West::Low) return 13889;
- if (East == East::None && North == North::Tall && South == South::Tall && !Up && West == West::Tall) return 13890;
- if (East == East::Low && North == North::None && South == South::None && Up && West == West::None) return 13894;
- if (East == East::Low && North == North::None && South == South::None && Up && West == West::Low) return 13895;
- if (East == East::Low && North == North::None && South == South::None && Up && West == West::Tall) return 13896;
- if (East == East::Low && North == North::None && South == South::None && !Up && West == West::None) return 13900;
- if (East == East::Low && North == North::None && South == South::None && !Up && West == West::Low) return 13901;
- if (East == East::Low && North == North::None && South == South::None && !Up && West == West::Tall) return 13902;
- if (East == East::Low && North == North::None && South == South::Low && Up && West == West::None) return 13906;
- if (East == East::Low && North == North::None && South == South::Low && Up && West == West::Low) return 13907;
- if (East == East::Low && North == North::None && South == South::Low && Up && West == West::Tall) return 13908;
- if (East == East::Low && North == North::None && South == South::Low && !Up && West == West::None) return 13912;
- if (East == East::Low && North == North::None && South == South::Low && !Up && West == West::Low) return 13913;
- if (East == East::Low && North == North::None && South == South::Low && !Up && West == West::Tall) return 13914;
- if (East == East::Low && North == North::None && South == South::Tall && Up && West == West::None) return 13918;
- if (East == East::Low && North == North::None && South == South::Tall && Up && West == West::Low) return 13919;
- if (East == East::Low && North == North::None && South == South::Tall && Up && West == West::Tall) return 13920;
- if (East == East::Low && North == North::None && South == South::Tall && !Up && West == West::None) return 13924;
- if (East == East::Low && North == North::None && South == South::Tall && !Up && West == West::Low) return 13925;
- if (East == East::Low && North == North::None && South == South::Tall && !Up && West == West::Tall) return 13926;
- if (East == East::Low && North == North::Low && South == South::None && Up && West == West::None) return 13930;
- if (East == East::Low && North == North::Low && South == South::None && Up && West == West::Low) return 13931;
- if (East == East::Low && North == North::Low && South == South::None && Up && West == West::Tall) return 13932;
- if (East == East::Low && North == North::Low && South == South::None && !Up && West == West::None) return 13936;
- if (East == East::Low && North == North::Low && South == South::None && !Up && West == West::Low) return 13937;
- if (East == East::Low && North == North::Low && South == South::None && !Up && West == West::Tall) return 13938;
- if (East == East::Low && North == North::Low && South == South::Low && Up && West == West::None) return 13942;
- if (East == East::Low && North == North::Low && South == South::Low && Up && West == West::Low) return 13943;
- if (East == East::Low && North == North::Low && South == South::Low && Up && West == West::Tall) return 13944;
- if (East == East::Low && North == North::Low && South == South::Low && !Up && West == West::None) return 13948;
- if (East == East::Low && North == North::Low && South == South::Low && !Up && West == West::Low) return 13949;
- if (East == East::Low && North == North::Low && South == South::Low && !Up && West == West::Tall) return 13950;
- if (East == East::Low && North == North::Low && South == South::Tall && Up && West == West::None) return 13954;
- if (East == East::Low && North == North::Low && South == South::Tall && Up && West == West::Low) return 13955;
- if (East == East::Low && North == North::Low && South == South::Tall && Up && West == West::Tall) return 13956;
- if (East == East::Low && North == North::Low && South == South::Tall && !Up && West == West::None) return 13960;
- if (East == East::Low && North == North::Low && South == South::Tall && !Up && West == West::Low) return 13961;
- if (East == East::Low && North == North::Low && South == South::Tall && !Up && West == West::Tall) return 13962;
- if (East == East::Low && North == North::Tall && South == South::None && Up && West == West::None) return 13966;
- if (East == East::Low && North == North::Tall && South == South::None && Up && West == West::Low) return 13967;
- if (East == East::Low && North == North::Tall && South == South::None && Up && West == West::Tall) return 13968;
- if (East == East::Low && North == North::Tall && South == South::None && !Up && West == West::None) return 13972;
- if (East == East::Low && North == North::Tall && South == South::None && !Up && West == West::Low) return 13973;
- if (East == East::Low && North == North::Tall && South == South::None && !Up && West == West::Tall) return 13974;
- if (East == East::Low && North == North::Tall && South == South::Low && Up && West == West::None) return 13978;
- if (East == East::Low && North == North::Tall && South == South::Low && Up && West == West::Low) return 13979;
- if (East == East::Low && North == North::Tall && South == South::Low && Up && West == West::Tall) return 13980;
- if (East == East::Low && North == North::Tall && South == South::Low && !Up && West == West::None) return 13984;
- if (East == East::Low && North == North::Tall && South == South::Low && !Up && West == West::Low) return 13985;
- if (East == East::Low && North == North::Tall && South == South::Low && !Up && West == West::Tall) return 13986;
- if (East == East::Low && North == North::Tall && South == South::Tall && Up && West == West::None) return 13990;
- if (East == East::Low && North == North::Tall && South == South::Tall && Up && West == West::Low) return 13991;
- if (East == East::Low && North == North::Tall && South == South::Tall && Up && West == West::Tall) return 13992;
- if (East == East::Low && North == North::Tall && South == South::Tall && !Up && West == West::None) return 13996;
- if (East == East::Low && North == North::Tall && South == South::Tall && !Up && West == West::Low) return 13997;
- if (East == East::Low && North == North::Tall && South == South::Tall && !Up && West == West::Tall) return 13998;
- if (East == East::Tall && North == North::None && South == South::None && Up && West == West::None) return 14002;
- if (East == East::Tall && North == North::None && South == South::None && Up && West == West::Low) return 14003;
- if (East == East::Tall && North == North::None && South == South::None && Up && West == West::Tall) return 14004;
- if (East == East::Tall && North == North::None && South == South::None && !Up && West == West::None) return 14008;
- if (East == East::Tall && North == North::None && South == South::None && !Up && West == West::Low) return 14009;
- if (East == East::Tall && North == North::None && South == South::None && !Up && West == West::Tall) return 14010;
- if (East == East::Tall && North == North::None && South == South::Low && Up && West == West::None) return 14014;
- if (East == East::Tall && North == North::None && South == South::Low && Up && West == West::Low) return 14015;
- if (East == East::Tall && North == North::None && South == South::Low && Up && West == West::Tall) return 14016;
- if (East == East::Tall && North == North::None && South == South::Low && !Up && West == West::None) return 14020;
- if (East == East::Tall && North == North::None && South == South::Low && !Up && West == West::Low) return 14021;
- if (East == East::Tall && North == North::None && South == South::Low && !Up && West == West::Tall) return 14022;
- if (East == East::Tall && North == North::None && South == South::Tall && Up && West == West::None) return 14026;
- if (East == East::Tall && North == North::None && South == South::Tall && Up && West == West::Low) return 14027;
- if (East == East::Tall && North == North::None && South == South::Tall && Up && West == West::Tall) return 14028;
- if (East == East::Tall && North == North::None && South == South::Tall && !Up && West == West::None) return 14032;
- if (East == East::Tall && North == North::None && South == South::Tall && !Up && West == West::Low) return 14033;
- if (East == East::Tall && North == North::None && South == South::Tall && !Up && West == West::Tall) return 14034;
- if (East == East::Tall && North == North::Low && South == South::None && Up && West == West::None) return 14038;
- if (East == East::Tall && North == North::Low && South == South::None && Up && West == West::Low) return 14039;
- if (East == East::Tall && North == North::Low && South == South::None && Up && West == West::Tall) return 14040;
- if (East == East::Tall && North == North::Low && South == South::None && !Up && West == West::None) return 14044;
- if (East == East::Tall && North == North::Low && South == South::None && !Up && West == West::Low) return 14045;
- if (East == East::Tall && North == North::Low && South == South::None && !Up && West == West::Tall) return 14046;
- if (East == East::Tall && North == North::Low && South == South::Low && Up && West == West::None) return 14050;
- if (East == East::Tall && North == North::Low && South == South::Low && Up && West == West::Low) return 14051;
- if (East == East::Tall && North == North::Low && South == South::Low && Up && West == West::Tall) return 14052;
- if (East == East::Tall && North == North::Low && South == South::Low && !Up && West == West::None) return 14056;
- if (East == East::Tall && North == North::Low && South == South::Low && !Up && West == West::Low) return 14057;
- if (East == East::Tall && North == North::Low && South == South::Low && !Up && West == West::Tall) return 14058;
- if (East == East::Tall && North == North::Low && South == South::Tall && Up && West == West::None) return 14062;
- if (East == East::Tall && North == North::Low && South == South::Tall && Up && West == West::Low) return 14063;
- if (East == East::Tall && North == North::Low && South == South::Tall && Up && West == West::Tall) return 14064;
- if (East == East::Tall && North == North::Low && South == South::Tall && !Up && West == West::None) return 14068;
- if (East == East::Tall && North == North::Low && South == South::Tall && !Up && West == West::Low) return 14069;
- if (East == East::Tall && North == North::Low && South == South::Tall && !Up && West == West::Tall) return 14070;
- if (East == East::Tall && North == North::Tall && South == South::None && Up && West == West::None) return 14074;
- if (East == East::Tall && North == North::Tall && South == South::None && Up && West == West::Low) return 14075;
- if (East == East::Tall && North == North::Tall && South == South::None && Up && West == West::Tall) return 14076;
- if (East == East::Tall && North == North::Tall && South == South::None && !Up && West == West::None) return 14080;
- if (East == East::Tall && North == North::Tall && South == South::None && !Up && West == West::Low) return 14081;
- if (East == East::Tall && North == North::Tall && South == South::None && !Up && West == West::Tall) return 14082;
- if (East == East::Tall && North == North::Tall && South == South::Low && Up && West == West::None) return 14086;
- if (East == East::Tall && North == North::Tall && South == South::Low && Up && West == West::Low) return 14087;
- if (East == East::Tall && North == North::Tall && South == South::Low && Up && West == West::Tall) return 14088;
- if (East == East::Tall && North == North::Tall && South == South::Low && !Up && West == West::None) return 14092;
- if (East == East::Tall && North == North::Tall && South == South::Low && !Up && West == West::Low) return 14093;
- if (East == East::Tall && North == North::Tall && South == South::Low && !Up && West == West::Tall) return 14094;
- if (East == East::Tall && North == North::Tall && South == South::Tall && Up && West == West::None) return 14098;
- if (East == East::Tall && North == North::Tall && South == South::Tall && Up && West == West::Low) return 14099;
- if (East == East::Tall && North == North::Tall && South == South::Tall && Up && West == West::Tall) return 14100;
- if (East == East::Tall && North == North::Tall && South == South::Tall && !Up && West == West::None) return 14104;
- if (East == East::Tall && North == North::Tall && South == South::Tall && !Up && West == West::Low) return 14105;
- return 14106;
- }
- short SandstoneWall();
- enum East East(short ID);
- enum North North(short ID);
- enum South South(short ID);
- bool Up(short ID);
- enum West West(short ID);
- }
- namespace Scaffolding
- {
- constexpr short Scaffolding(bool Bottom, unsigned char Distance)
- {
- if (Bottom && Distance == 0) return 14756;
- if (Bottom && Distance == 1) return 14758;
- if (Bottom && Distance == 2) return 14760;
- if (Bottom && Distance == 3) return 14762;
- if (Bottom && Distance == 4) return 14764;
- if (Bottom && Distance == 5) return 14766;
- if (Bottom && Distance == 6) return 14768;
- if (Bottom && Distance == 7) return 14770;
- if (!Bottom && Distance == 0) return 14772;
- if (!Bottom && Distance == 1) return 14774;
- if (!Bottom && Distance == 2) return 14776;
- if (!Bottom && Distance == 3) return 14778;
- if (!Bottom && Distance == 4) return 14780;
- if (!Bottom && Distance == 5) return 14782;
- if (!Bottom && Distance == 6) return 14784;
- return 14786;
- }
- short Scaffolding();
- bool Bottom(short ID);
- unsigned char Distance(short ID);
- }
- namespace SeaLantern
- {
- constexpr short SeaLantern()
- {
- return 7862;
- }
- }
- namespace SeaPickle
- {
- constexpr short SeaPickle(unsigned char Pickles)
- {
- if (Pickles == 1) return 9641;
- if (Pickles == 2) return 9643;
- if (Pickles == 3) return 9645;
- return 9647;
- }
- short SeaPickle();
- unsigned char Pickles(short ID);
- }
- namespace Seagrass
- {
- constexpr short Seagrass()
- {
- return 1345;
- }
- }
- namespace Shroomlight
- {
- constexpr short Shroomlight()
- {
- return 14989;
- }
- }
- namespace ShulkerBox
- {
- constexpr short ShulkerBox(eBlockFace Facing)
- {
- if (Facing == eBlockFace::BLOCK_FACE_ZM) return 9272;
- if (Facing == eBlockFace::BLOCK_FACE_XP) return 9273;
- if (Facing == eBlockFace::BLOCK_FACE_ZP) return 9274;
- if (Facing == eBlockFace::BLOCK_FACE_XM) return 9275;
- if (Facing == eBlockFace::BLOCK_FACE_YP) return 9276;
- return 9277;
- }
- short ShulkerBox();
- eBlockFace Facing(short ID);
- }
- namespace SkeletonSkull
- {
- constexpr short SkeletonSkull(unsigned char Rotation)
- {
- if (Rotation == 0) return 6490;
- if (Rotation == 1) return 6491;
- if (Rotation == 2) return 6492;
- if (Rotation == 3) return 6493;
- if (Rotation == 4) return 6494;
- if (Rotation == 5) return 6495;
- if (Rotation == 6) return 6496;
- if (Rotation == 7) return 6497;
- if (Rotation == 8) return 6498;
- if (Rotation == 9) return 6499;
- if (Rotation == 10) return 6500;
- if (Rotation == 11) return 6501;
- if (Rotation == 12) return 6502;
- if (Rotation == 13) return 6503;
- if (Rotation == 14) return 6504;
- return 6505;
- }
- short SkeletonSkull();
- unsigned char Rotation(short ID);
- }
- namespace SkeletonWallSkull
- {
- constexpr short SkeletonWallSkull(eBlockFace Facing)
- {
- if (Facing == eBlockFace::BLOCK_FACE_ZM) return 6506;
- if (Facing == eBlockFace::BLOCK_FACE_ZP) return 6507;
- if (Facing == eBlockFace::BLOCK_FACE_XM) return 6508;
- return 6509;
- }
- short SkeletonWallSkull();
- eBlockFace Facing(short ID);
- }
- namespace SlimeBlock
- {
- constexpr short SlimeBlock()
- {
- return 7535;
- }
- }
- namespace SmithingTable
- {
- constexpr short SmithingTable()
- {
- return 14849;
- }
- }
- namespace Smoker
- {
- constexpr short Smoker(eBlockFace Facing, bool Lit)
- {
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Lit) return 14803;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && !Lit) return 14804;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Lit) return 14805;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && !Lit) return 14806;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Lit) return 14807;
- if (Facing == eBlockFace::BLOCK_FACE_XM && !Lit) return 14808;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Lit) return 14809;
- return 14810;
- }
- short Smoker();
- eBlockFace Facing(short ID);
- bool Lit(short ID);
- }
- namespace SmoothQuartz
- {
- constexpr short SmoothQuartz()
- {
- return 8416;
- }
- }
- namespace SmoothQuartzSlab
- {
- enum class Type
- {
- Top,
- Bottom,
- Double
- };
- constexpr short SmoothQuartzSlab(enum Type Type)
- {
- if (Type == Type::Top) return 10832;
- if (Type == Type::Bottom) return 10834;
- return 10836;
- }
- short SmoothQuartzSlab();
- enum Type Type(short ID);
- }
- namespace SmoothQuartzStairs
- {
- enum class Half
- {
- Top,
- Bottom
- };
- enum class Shape
- {
- Straight,
- InnerLeft,
- InnerRight,
- OuterLeft,
- OuterRight
- };
- constexpr short SmoothQuartzStairs(eBlockFace Facing, enum Half Half, enum Shape Shape)
- {
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Top && Shape == Shape::Straight) return 10310;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Top && Shape == Shape::InnerLeft) return 10312;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Top && Shape == Shape::InnerRight) return 10314;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Top && Shape == Shape::OuterLeft) return 10316;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Top && Shape == Shape::OuterRight) return 10318;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Bottom && Shape == Shape::Straight) return 10320;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Bottom && Shape == Shape::InnerLeft) return 10322;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Bottom && Shape == Shape::InnerRight) return 10324;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Bottom && Shape == Shape::OuterLeft) return 10326;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Bottom && Shape == Shape::OuterRight) return 10328;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Top && Shape == Shape::Straight) return 10330;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Top && Shape == Shape::InnerLeft) return 10332;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Top && Shape == Shape::InnerRight) return 10334;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Top && Shape == Shape::OuterLeft) return 10336;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Top && Shape == Shape::OuterRight) return 10338;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Bottom && Shape == Shape::Straight) return 10340;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Bottom && Shape == Shape::InnerLeft) return 10342;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Bottom && Shape == Shape::InnerRight) return 10344;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Bottom && Shape == Shape::OuterLeft) return 10346;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Bottom && Shape == Shape::OuterRight) return 10348;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Top && Shape == Shape::Straight) return 10350;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Top && Shape == Shape::InnerLeft) return 10352;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Top && Shape == Shape::InnerRight) return 10354;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Top && Shape == Shape::OuterLeft) return 10356;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Top && Shape == Shape::OuterRight) return 10358;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Bottom && Shape == Shape::Straight) return 10360;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Bottom && Shape == Shape::InnerLeft) return 10362;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Bottom && Shape == Shape::InnerRight) return 10364;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Bottom && Shape == Shape::OuterLeft) return 10366;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Bottom && Shape == Shape::OuterRight) return 10368;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Top && Shape == Shape::Straight) return 10370;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Top && Shape == Shape::InnerLeft) return 10372;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Top && Shape == Shape::InnerRight) return 10374;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Top && Shape == Shape::OuterLeft) return 10376;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Top && Shape == Shape::OuterRight) return 10378;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Bottom && Shape == Shape::Straight) return 10380;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Bottom && Shape == Shape::InnerLeft) return 10382;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Bottom && Shape == Shape::InnerRight) return 10384;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Bottom && Shape == Shape::OuterLeft) return 10386;
- return 10388;
- }
- short SmoothQuartzStairs();
- eBlockFace Facing(short ID);
- enum Half Half(short ID);
- enum Shape Shape(short ID);
- }
- namespace SmoothRedSandstone
- {
- constexpr short SmoothRedSandstone()
- {
- return 8417;
- }
- }
- namespace SmoothRedSandstoneSlab
- {
- enum class Type
- {
- Top,
- Bottom,
- Double
- };
- constexpr short SmoothRedSandstoneSlab(enum Type Type)
- {
- if (Type == Type::Top) return 10796;
- if (Type == Type::Bottom) return 10798;
- return 10800;
- }
- short SmoothRedSandstoneSlab();
- enum Type Type(short ID);
- }
- namespace SmoothRedSandstoneStairs
- {
- enum class Half
- {
- Top,
- Bottom
- };
- enum class Shape
- {
- Straight,
- InnerLeft,
- InnerRight,
- OuterLeft,
- OuterRight
- };
- constexpr short SmoothRedSandstoneStairs(eBlockFace Facing, enum Half Half, enum Shape Shape)
- {
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Top && Shape == Shape::Straight) return 9750;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Top && Shape == Shape::InnerLeft) return 9752;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Top && Shape == Shape::InnerRight) return 9754;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Top && Shape == Shape::OuterLeft) return 9756;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Top && Shape == Shape::OuterRight) return 9758;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Bottom && Shape == Shape::Straight) return 9760;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Bottom && Shape == Shape::InnerLeft) return 9762;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Bottom && Shape == Shape::InnerRight) return 9764;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Bottom && Shape == Shape::OuterLeft) return 9766;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Bottom && Shape == Shape::OuterRight) return 9768;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Top && Shape == Shape::Straight) return 9770;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Top && Shape == Shape::InnerLeft) return 9772;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Top && Shape == Shape::InnerRight) return 9774;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Top && Shape == Shape::OuterLeft) return 9776;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Top && Shape == Shape::OuterRight) return 9778;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Bottom && Shape == Shape::Straight) return 9780;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Bottom && Shape == Shape::InnerLeft) return 9782;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Bottom && Shape == Shape::InnerRight) return 9784;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Bottom && Shape == Shape::OuterLeft) return 9786;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Bottom && Shape == Shape::OuterRight) return 9788;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Top && Shape == Shape::Straight) return 9790;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Top && Shape == Shape::InnerLeft) return 9792;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Top && Shape == Shape::InnerRight) return 9794;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Top && Shape == Shape::OuterLeft) return 9796;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Top && Shape == Shape::OuterRight) return 9798;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Bottom && Shape == Shape::Straight) return 9800;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Bottom && Shape == Shape::InnerLeft) return 9802;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Bottom && Shape == Shape::InnerRight) return 9804;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Bottom && Shape == Shape::OuterLeft) return 9806;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Bottom && Shape == Shape::OuterRight) return 9808;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Top && Shape == Shape::Straight) return 9810;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Top && Shape == Shape::InnerLeft) return 9812;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Top && Shape == Shape::InnerRight) return 9814;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Top && Shape == Shape::OuterLeft) return 9816;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Top && Shape == Shape::OuterRight) return 9818;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Bottom && Shape == Shape::Straight) return 9820;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Bottom && Shape == Shape::InnerLeft) return 9822;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Bottom && Shape == Shape::InnerRight) return 9824;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Bottom && Shape == Shape::OuterLeft) return 9826;
- return 9828;
- }
- short SmoothRedSandstoneStairs();
- eBlockFace Facing(short ID);
- enum Half Half(short ID);
- enum Shape Shape(short ID);
- }
- namespace SmoothSandstone
- {
- constexpr short SmoothSandstone()
- {
- return 8415;
- }
- }
- namespace SmoothSandstoneSlab
- {
- enum class Type
- {
- Top,
- Bottom,
- Double
- };
- constexpr short SmoothSandstoneSlab(enum Type Type)
- {
- if (Type == Type::Top) return 10826;
- if (Type == Type::Bottom) return 10828;
- return 10830;
- }
- short SmoothSandstoneSlab();
- enum Type Type(short ID);
- }
- namespace SmoothSandstoneStairs
- {
- enum class Half
- {
- Top,
- Bottom
- };
- enum class Shape
- {
- Straight,
- InnerLeft,
- InnerRight,
- OuterLeft,
- OuterRight
- };
- constexpr short SmoothSandstoneStairs(eBlockFace Facing, enum Half Half, enum Shape Shape)
- {
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Top && Shape == Shape::Straight) return 10230;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Top && Shape == Shape::InnerLeft) return 10232;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Top && Shape == Shape::InnerRight) return 10234;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Top && Shape == Shape::OuterLeft) return 10236;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Top && Shape == Shape::OuterRight) return 10238;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Bottom && Shape == Shape::Straight) return 10240;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Bottom && Shape == Shape::InnerLeft) return 10242;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Bottom && Shape == Shape::InnerRight) return 10244;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Bottom && Shape == Shape::OuterLeft) return 10246;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Bottom && Shape == Shape::OuterRight) return 10248;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Top && Shape == Shape::Straight) return 10250;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Top && Shape == Shape::InnerLeft) return 10252;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Top && Shape == Shape::InnerRight) return 10254;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Top && Shape == Shape::OuterLeft) return 10256;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Top && Shape == Shape::OuterRight) return 10258;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Bottom && Shape == Shape::Straight) return 10260;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Bottom && Shape == Shape::InnerLeft) return 10262;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Bottom && Shape == Shape::InnerRight) return 10264;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Bottom && Shape == Shape::OuterLeft) return 10266;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Bottom && Shape == Shape::OuterRight) return 10268;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Top && Shape == Shape::Straight) return 10270;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Top && Shape == Shape::InnerLeft) return 10272;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Top && Shape == Shape::InnerRight) return 10274;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Top && Shape == Shape::OuterLeft) return 10276;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Top && Shape == Shape::OuterRight) return 10278;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Bottom && Shape == Shape::Straight) return 10280;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Bottom && Shape == Shape::InnerLeft) return 10282;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Bottom && Shape == Shape::InnerRight) return 10284;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Bottom && Shape == Shape::OuterLeft) return 10286;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Bottom && Shape == Shape::OuterRight) return 10288;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Top && Shape == Shape::Straight) return 10290;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Top && Shape == Shape::InnerLeft) return 10292;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Top && Shape == Shape::InnerRight) return 10294;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Top && Shape == Shape::OuterLeft) return 10296;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Top && Shape == Shape::OuterRight) return 10298;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Bottom && Shape == Shape::Straight) return 10300;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Bottom && Shape == Shape::InnerLeft) return 10302;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Bottom && Shape == Shape::InnerRight) return 10304;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Bottom && Shape == Shape::OuterLeft) return 10306;
- return 10308;
- }
- short SmoothSandstoneStairs();
- eBlockFace Facing(short ID);
- enum Half Half(short ID);
- enum Shape Shape(short ID);
- }
- namespace SmoothStone
- {
- constexpr short SmoothStone()
- {
- return 8414;
- }
- }
- namespace SmoothStoneSlab
- {
- enum class Type
- {
- Top,
- Bottom,
- Double
- };
- constexpr short SmoothStoneSlab(enum Type Type)
- {
- if (Type == Type::Top) return 8343;
- if (Type == Type::Bottom) return 8345;
- return 8347;
- }
- short SmoothStoneSlab();
- enum Type Type(short ID);
- }
- namespace Snow
- {
- constexpr short Snow(unsigned char Layers)
- {
- if (Layers == 1) return 3921;
- if (Layers == 2) return 3922;
- if (Layers == 3) return 3923;
- if (Layers == 4) return 3924;
- if (Layers == 5) return 3925;
- if (Layers == 6) return 3926;
- if (Layers == 7) return 3927;
- return 3928;
- }
- short Snow();
- unsigned char Layers(short ID);
- }
- namespace SnowBlock
- {
- constexpr short SnowBlock()
- {
- return 3930;
- }
- }
- namespace SoulCampfire
- {
- constexpr short SoulCampfire(eBlockFace Facing, bool Lit, bool SignalFire)
- {
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Lit && SignalFire) return 14923;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Lit && !SignalFire) return 14925;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && !Lit && SignalFire) return 14927;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && !Lit && !SignalFire) return 14929;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Lit && SignalFire) return 14931;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Lit && !SignalFire) return 14933;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && !Lit && SignalFire) return 14935;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && !Lit && !SignalFire) return 14937;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Lit && SignalFire) return 14939;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Lit && !SignalFire) return 14941;
- if (Facing == eBlockFace::BLOCK_FACE_XM && !Lit && SignalFire) return 14943;
- if (Facing == eBlockFace::BLOCK_FACE_XM && !Lit && !SignalFire) return 14945;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Lit && SignalFire) return 14947;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Lit && !SignalFire) return 14949;
- if (Facing == eBlockFace::BLOCK_FACE_XP && !Lit && SignalFire) return 14951;
- return 14953;
- }
- short SoulCampfire();
- eBlockFace Facing(short ID);
- bool Lit(short ID);
- bool SignalFire(short ID);
- }
- namespace SoulFire
- {
- constexpr short SoulFire()
- {
- return 1952;
- }
- }
- namespace SoulLantern
- {
- constexpr short SoulLantern(bool Hanging)
- {
- if (Hanging) return 14888;
- return 14889;
- }
- short SoulLantern();
- bool Hanging(short ID);
- }
- namespace SoulSand
- {
- constexpr short SoulSand()
- {
- return 4000;
- }
- }
- namespace SoulSoil
- {
- constexpr short SoulSoil()
- {
- return 4001;
- }
- }
- namespace SoulTorch
- {
- constexpr short SoulTorch()
- {
- return 4008;
- }
- }
- namespace SoulWallTorch
- {
- constexpr short SoulWallTorch(eBlockFace Facing)
- {
- if (Facing == eBlockFace::BLOCK_FACE_ZM) return 4009;
- if (Facing == eBlockFace::BLOCK_FACE_ZP) return 4010;
- if (Facing == eBlockFace::BLOCK_FACE_XM) return 4011;
- return 4012;
- }
- short SoulWallTorch();
- eBlockFace Facing(short ID);
- }
- namespace Spawner
- {
- constexpr short Spawner()
- {
- return 1953;
- }
- }
- namespace Sponge
- {
- constexpr short Sponge()
- {
- return 229;
- }
- }
- namespace SpruceButton
- {
- enum class Face
- {
- Floor,
- Wall,
- Ceiling
- };
- constexpr short SpruceButton(enum Face Face, eBlockFace Facing, bool Powered)
- {
- if (Face == Face::Floor && Facing == eBlockFace::BLOCK_FACE_ZM && Powered) return 6370;
- if (Face == Face::Floor && Facing == eBlockFace::BLOCK_FACE_ZM && !Powered) return 6371;
- if (Face == Face::Floor && Facing == eBlockFace::BLOCK_FACE_ZP && Powered) return 6372;
- if (Face == Face::Floor && Facing == eBlockFace::BLOCK_FACE_ZP && !Powered) return 6373;
- if (Face == Face::Floor && Facing == eBlockFace::BLOCK_FACE_XM && Powered) return 6374;
- if (Face == Face::Floor && Facing == eBlockFace::BLOCK_FACE_XM && !Powered) return 6375;
- if (Face == Face::Floor && Facing == eBlockFace::BLOCK_FACE_XP && Powered) return 6376;
- if (Face == Face::Floor && Facing == eBlockFace::BLOCK_FACE_XP && !Powered) return 6377;
- if (Face == Face::Wall && Facing == eBlockFace::BLOCK_FACE_ZM && Powered) return 6378;
- if (Face == Face::Wall && Facing == eBlockFace::BLOCK_FACE_ZM && !Powered) return 6379;
- if (Face == Face::Wall && Facing == eBlockFace::BLOCK_FACE_ZP && Powered) return 6380;
- if (Face == Face::Wall && Facing == eBlockFace::BLOCK_FACE_ZP && !Powered) return 6381;
- if (Face == Face::Wall && Facing == eBlockFace::BLOCK_FACE_XM && Powered) return 6382;
- if (Face == Face::Wall && Facing == eBlockFace::BLOCK_FACE_XM && !Powered) return 6383;
- if (Face == Face::Wall && Facing == eBlockFace::BLOCK_FACE_XP && Powered) return 6384;
- if (Face == Face::Wall && Facing == eBlockFace::BLOCK_FACE_XP && !Powered) return 6385;
- if (Face == Face::Ceiling && Facing == eBlockFace::BLOCK_FACE_ZM && Powered) return 6386;
- if (Face == Face::Ceiling && Facing == eBlockFace::BLOCK_FACE_ZM && !Powered) return 6387;
- if (Face == Face::Ceiling && Facing == eBlockFace::BLOCK_FACE_ZP && Powered) return 6388;
- if (Face == Face::Ceiling && Facing == eBlockFace::BLOCK_FACE_ZP && !Powered) return 6389;
- if (Face == Face::Ceiling && Facing == eBlockFace::BLOCK_FACE_XM && Powered) return 6390;
- if (Face == Face::Ceiling && Facing == eBlockFace::BLOCK_FACE_XM && !Powered) return 6391;
- if (Face == Face::Ceiling && Facing == eBlockFace::BLOCK_FACE_XP && Powered) return 6392;
- return 6393;
- }
- short SpruceButton();
- enum Face Face(short ID);
- eBlockFace Facing(short ID);
- bool Powered(short ID);
- }
- namespace SpruceDoor
- {
- enum class Half
- {
- Upper,
- Lower
- };
- enum class Hinge
- {
- Left,
- Right
- };
- constexpr short SpruceDoor(eBlockFace Facing, enum Half Half, enum Hinge Hinge, bool Open, bool Powered)
- {
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Upper && Hinge == Hinge::Left && Open && Powered) return 8738;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Upper && Hinge == Hinge::Left && Open && !Powered) return 8739;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Upper && Hinge == Hinge::Left && !Open && Powered) return 8740;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Upper && Hinge == Hinge::Left && !Open && !Powered) return 8741;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Upper && Hinge == Hinge::Right && Open && Powered) return 8742;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Upper && Hinge == Hinge::Right && Open && !Powered) return 8743;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Upper && Hinge == Hinge::Right && !Open && Powered) return 8744;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Upper && Hinge == Hinge::Right && !Open && !Powered) return 8745;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Lower && Hinge == Hinge::Left && Open && Powered) return 8746;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Lower && Hinge == Hinge::Left && Open && !Powered) return 8747;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Lower && Hinge == Hinge::Left && !Open && Powered) return 8748;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Lower && Hinge == Hinge::Left && !Open && !Powered) return 8749;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Lower && Hinge == Hinge::Right && Open && Powered) return 8750;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Lower && Hinge == Hinge::Right && Open && !Powered) return 8751;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Lower && Hinge == Hinge::Right && !Open && Powered) return 8752;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Lower && Hinge == Hinge::Right && !Open && !Powered) return 8753;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Upper && Hinge == Hinge::Left && Open && Powered) return 8754;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Upper && Hinge == Hinge::Left && Open && !Powered) return 8755;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Upper && Hinge == Hinge::Left && !Open && Powered) return 8756;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Upper && Hinge == Hinge::Left && !Open && !Powered) return 8757;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Upper && Hinge == Hinge::Right && Open && Powered) return 8758;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Upper && Hinge == Hinge::Right && Open && !Powered) return 8759;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Upper && Hinge == Hinge::Right && !Open && Powered) return 8760;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Upper && Hinge == Hinge::Right && !Open && !Powered) return 8761;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Lower && Hinge == Hinge::Left && Open && Powered) return 8762;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Lower && Hinge == Hinge::Left && Open && !Powered) return 8763;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Lower && Hinge == Hinge::Left && !Open && Powered) return 8764;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Lower && Hinge == Hinge::Left && !Open && !Powered) return 8765;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Lower && Hinge == Hinge::Right && Open && Powered) return 8766;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Lower && Hinge == Hinge::Right && Open && !Powered) return 8767;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Lower && Hinge == Hinge::Right && !Open && Powered) return 8768;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Lower && Hinge == Hinge::Right && !Open && !Powered) return 8769;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Upper && Hinge == Hinge::Left && Open && Powered) return 8770;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Upper && Hinge == Hinge::Left && Open && !Powered) return 8771;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Upper && Hinge == Hinge::Left && !Open && Powered) return 8772;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Upper && Hinge == Hinge::Left && !Open && !Powered) return 8773;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Upper && Hinge == Hinge::Right && Open && Powered) return 8774;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Upper && Hinge == Hinge::Right && Open && !Powered) return 8775;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Upper && Hinge == Hinge::Right && !Open && Powered) return 8776;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Upper && Hinge == Hinge::Right && !Open && !Powered) return 8777;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Lower && Hinge == Hinge::Left && Open && Powered) return 8778;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Lower && Hinge == Hinge::Left && Open && !Powered) return 8779;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Lower && Hinge == Hinge::Left && !Open && Powered) return 8780;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Lower && Hinge == Hinge::Left && !Open && !Powered) return 8781;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Lower && Hinge == Hinge::Right && Open && Powered) return 8782;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Lower && Hinge == Hinge::Right && Open && !Powered) return 8783;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Lower && Hinge == Hinge::Right && !Open && Powered) return 8784;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Lower && Hinge == Hinge::Right && !Open && !Powered) return 8785;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Upper && Hinge == Hinge::Left && Open && Powered) return 8786;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Upper && Hinge == Hinge::Left && Open && !Powered) return 8787;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Upper && Hinge == Hinge::Left && !Open && Powered) return 8788;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Upper && Hinge == Hinge::Left && !Open && !Powered) return 8789;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Upper && Hinge == Hinge::Right && Open && Powered) return 8790;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Upper && Hinge == Hinge::Right && Open && !Powered) return 8791;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Upper && Hinge == Hinge::Right && !Open && Powered) return 8792;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Upper && Hinge == Hinge::Right && !Open && !Powered) return 8793;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Lower && Hinge == Hinge::Left && Open && Powered) return 8794;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Lower && Hinge == Hinge::Left && Open && !Powered) return 8795;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Lower && Hinge == Hinge::Left && !Open && Powered) return 8796;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Lower && Hinge == Hinge::Left && !Open && !Powered) return 8797;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Lower && Hinge == Hinge::Right && Open && Powered) return 8798;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Lower && Hinge == Hinge::Right && Open && !Powered) return 8799;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Lower && Hinge == Hinge::Right && !Open && Powered) return 8800;
- return 8801;
- }
- short SpruceDoor();
- eBlockFace Facing(short ID);
- enum Half Half(short ID);
- enum Hinge Hinge(short ID);
- bool Open(short ID);
- bool Powered(short ID);
- }
- namespace SpruceFence
- {
- constexpr short SpruceFence(bool East, bool North, bool South, bool West)
- {
- if (East && North && South && West) return 8580;
- if (East && North && South && !West) return 8581;
- if (East && North && !South && West) return 8584;
- if (East && North && !South && !West) return 8585;
- if (East && !North && South && West) return 8588;
- if (East && !North && South && !West) return 8589;
- if (East && !North && !South && West) return 8592;
- if (East && !North && !South && !West) return 8593;
- if (!East && North && South && West) return 8596;
- if (!East && North && South && !West) return 8597;
- if (!East && North && !South && West) return 8600;
- if (!East && North && !South && !West) return 8601;
- if (!East && !North && South && West) return 8604;
- if (!East && !North && South && !West) return 8605;
- if (!East && !North && !South && West) return 8608;
- return 8609;
- }
- short SpruceFence();
- bool East(short ID);
- bool North(short ID);
- bool South(short ID);
- bool West(short ID);
- }
- namespace SpruceFenceGate
- {
- constexpr short SpruceFenceGate(eBlockFace Facing, bool InWall, bool Open, bool Powered)
- {
- if (Facing == eBlockFace::BLOCK_FACE_ZM && InWall && Open && Powered) return 8418;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && InWall && Open && !Powered) return 8419;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && InWall && !Open && Powered) return 8420;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && InWall && !Open && !Powered) return 8421;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && !InWall && Open && Powered) return 8422;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && !InWall && Open && !Powered) return 8423;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && !InWall && !Open && Powered) return 8424;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && !InWall && !Open && !Powered) return 8425;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && InWall && Open && Powered) return 8426;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && InWall && Open && !Powered) return 8427;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && InWall && !Open && Powered) return 8428;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && InWall && !Open && !Powered) return 8429;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && !InWall && Open && Powered) return 8430;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && !InWall && Open && !Powered) return 8431;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && !InWall && !Open && Powered) return 8432;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && !InWall && !Open && !Powered) return 8433;
- if (Facing == eBlockFace::BLOCK_FACE_XM && InWall && Open && Powered) return 8434;
- if (Facing == eBlockFace::BLOCK_FACE_XM && InWall && Open && !Powered) return 8435;
- if (Facing == eBlockFace::BLOCK_FACE_XM && InWall && !Open && Powered) return 8436;
- if (Facing == eBlockFace::BLOCK_FACE_XM && InWall && !Open && !Powered) return 8437;
- if (Facing == eBlockFace::BLOCK_FACE_XM && !InWall && Open && Powered) return 8438;
- if (Facing == eBlockFace::BLOCK_FACE_XM && !InWall && Open && !Powered) return 8439;
- if (Facing == eBlockFace::BLOCK_FACE_XM && !InWall && !Open && Powered) return 8440;
- if (Facing == eBlockFace::BLOCK_FACE_XM && !InWall && !Open && !Powered) return 8441;
- if (Facing == eBlockFace::BLOCK_FACE_XP && InWall && Open && Powered) return 8442;
- if (Facing == eBlockFace::BLOCK_FACE_XP && InWall && Open && !Powered) return 8443;
- if (Facing == eBlockFace::BLOCK_FACE_XP && InWall && !Open && Powered) return 8444;
- if (Facing == eBlockFace::BLOCK_FACE_XP && InWall && !Open && !Powered) return 8445;
- if (Facing == eBlockFace::BLOCK_FACE_XP && !InWall && Open && Powered) return 8446;
- if (Facing == eBlockFace::BLOCK_FACE_XP && !InWall && Open && !Powered) return 8447;
- if (Facing == eBlockFace::BLOCK_FACE_XP && !InWall && !Open && Powered) return 8448;
- return 8449;
- }
- short SpruceFenceGate();
- eBlockFace Facing(short ID);
- bool InWall(short ID);
- bool Open(short ID);
- bool Powered(short ID);
- }
- namespace SpruceLeaves
- {
- constexpr short SpruceLeaves(unsigned char Distance, bool Persistent)
- {
- if (Distance == 1 && Persistent) return 159;
- if (Distance == 1 && !Persistent) return 160;
- if (Distance == 2 && Persistent) return 161;
- if (Distance == 2 && !Persistent) return 162;
- if (Distance == 3 && Persistent) return 163;
- if (Distance == 3 && !Persistent) return 164;
- if (Distance == 4 && Persistent) return 165;
- if (Distance == 4 && !Persistent) return 166;
- if (Distance == 5 && Persistent) return 167;
- if (Distance == 5 && !Persistent) return 168;
- if (Distance == 6 && Persistent) return 169;
- if (Distance == 6 && !Persistent) return 170;
- if (Distance == 7 && Persistent) return 171;
- return 172;
- }
- short SpruceLeaves();
- unsigned char Distance(short ID);
- bool Persistent(short ID);
- }
- namespace SpruceLog
- {
- enum class Axis
- {
- X,
- Y,
- Z
- };
- constexpr short SpruceLog(enum Axis Axis)
- {
- if (Axis == Axis::X) return 76;
- if (Axis == Axis::Y) return 77;
- return 78;
- }
- short SpruceLog();
- enum Axis Axis(short ID);
- }
- namespace SprucePlanks
- {
- constexpr short SprucePlanks()
- {
- return 16;
- }
- }
- namespace SprucePressurePlate
- {
- constexpr short SprucePressurePlate(bool Powered)
- {
- if (Powered) return 3875;
- return 3876;
- }
- short SprucePressurePlate();
- bool Powered(short ID);
- }
- namespace SpruceSapling
- {
- constexpr short SpruceSapling(unsigned char Stage)
- {
- if (Stage == 0) return 23;
- return 24;
- }
- short SpruceSapling();
- unsigned char Stage(short ID);
- }
- namespace SpruceSign
- {
- constexpr short SpruceSign(unsigned char Rotation)
- {
- if (Rotation == 0) return 3414;
- if (Rotation == 1) return 3416;
- if (Rotation == 2) return 3418;
- if (Rotation == 3) return 3420;
- if (Rotation == 4) return 3422;
- if (Rotation == 5) return 3424;
- if (Rotation == 6) return 3426;
- if (Rotation == 7) return 3428;
- if (Rotation == 8) return 3430;
- if (Rotation == 9) return 3432;
- if (Rotation == 10) return 3434;
- if (Rotation == 11) return 3436;
- if (Rotation == 12) return 3438;
- if (Rotation == 13) return 3440;
- if (Rotation == 14) return 3442;
- return 3444;
- }
- short SpruceSign();
- unsigned char Rotation(short ID);
- }
- namespace SpruceSlab
- {
- enum class Type
- {
- Top,
- Bottom,
- Double
- };
- constexpr short SpruceSlab(enum Type Type)
- {
- if (Type == Type::Top) return 8307;
- if (Type == Type::Bottom) return 8309;
- return 8311;
- }
- short SpruceSlab();
- enum Type Type(short ID);
- }
- namespace SpruceStairs
- {
- enum class Half
- {
- Top,
- Bottom
- };
- enum class Shape
- {
- Straight,
- InnerLeft,
- InnerRight,
- OuterLeft,
- OuterRight
- };
- constexpr short SpruceStairs(eBlockFace Facing, enum Half Half, enum Shape Shape)
- {
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Top && Shape == Shape::Straight) return 5405;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Top && Shape == Shape::InnerLeft) return 5407;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Top && Shape == Shape::InnerRight) return 5409;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Top && Shape == Shape::OuterLeft) return 5411;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Top && Shape == Shape::OuterRight) return 5413;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Bottom && Shape == Shape::Straight) return 5415;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Bottom && Shape == Shape::InnerLeft) return 5417;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Bottom && Shape == Shape::InnerRight) return 5419;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Bottom && Shape == Shape::OuterLeft) return 5421;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Bottom && Shape == Shape::OuterRight) return 5423;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Top && Shape == Shape::Straight) return 5425;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Top && Shape == Shape::InnerLeft) return 5427;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Top && Shape == Shape::InnerRight) return 5429;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Top && Shape == Shape::OuterLeft) return 5431;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Top && Shape == Shape::OuterRight) return 5433;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Bottom && Shape == Shape::Straight) return 5435;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Bottom && Shape == Shape::InnerLeft) return 5437;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Bottom && Shape == Shape::InnerRight) return 5439;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Bottom && Shape == Shape::OuterLeft) return 5441;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Bottom && Shape == Shape::OuterRight) return 5443;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Top && Shape == Shape::Straight) return 5445;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Top && Shape == Shape::InnerLeft) return 5447;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Top && Shape == Shape::InnerRight) return 5449;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Top && Shape == Shape::OuterLeft) return 5451;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Top && Shape == Shape::OuterRight) return 5453;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Bottom && Shape == Shape::Straight) return 5455;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Bottom && Shape == Shape::InnerLeft) return 5457;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Bottom && Shape == Shape::InnerRight) return 5459;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Bottom && Shape == Shape::OuterLeft) return 5461;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Bottom && Shape == Shape::OuterRight) return 5463;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Top && Shape == Shape::Straight) return 5465;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Top && Shape == Shape::InnerLeft) return 5467;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Top && Shape == Shape::InnerRight) return 5469;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Top && Shape == Shape::OuterLeft) return 5471;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Top && Shape == Shape::OuterRight) return 5473;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Bottom && Shape == Shape::Straight) return 5475;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Bottom && Shape == Shape::InnerLeft) return 5477;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Bottom && Shape == Shape::InnerRight) return 5479;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Bottom && Shape == Shape::OuterLeft) return 5481;
- return 5483;
- }
- short SpruceStairs();
- eBlockFace Facing(short ID);
- enum Half Half(short ID);
- enum Shape Shape(short ID);
- }
- namespace SpruceTrapdoor
- {
- enum class Half
- {
- Top,
- Bottom
- };
- constexpr short SpruceTrapdoor(eBlockFace Facing, enum Half Half, bool Open, bool Powered)
- {
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Top && Open && Powered) return 4176;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Top && Open && !Powered) return 4178;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Top && !Open && Powered) return 4180;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Top && !Open && !Powered) return 4182;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Bottom && Open && Powered) return 4184;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Bottom && Open && !Powered) return 4186;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Bottom && !Open && Powered) return 4188;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Bottom && !Open && !Powered) return 4190;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Top && Open && Powered) return 4192;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Top && Open && !Powered) return 4194;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Top && !Open && Powered) return 4196;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Top && !Open && !Powered) return 4198;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Bottom && Open && Powered) return 4200;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Bottom && Open && !Powered) return 4202;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Bottom && !Open && Powered) return 4204;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Bottom && !Open && !Powered) return 4206;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Top && Open && Powered) return 4208;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Top && Open && !Powered) return 4210;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Top && !Open && Powered) return 4212;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Top && !Open && !Powered) return 4214;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Bottom && Open && Powered) return 4216;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Bottom && Open && !Powered) return 4218;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Bottom && !Open && Powered) return 4220;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Bottom && !Open && !Powered) return 4222;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Top && Open && Powered) return 4224;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Top && Open && !Powered) return 4226;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Top && !Open && Powered) return 4228;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Top && !Open && !Powered) return 4230;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Bottom && Open && Powered) return 4232;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Bottom && Open && !Powered) return 4234;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Bottom && !Open && Powered) return 4236;
- return 4238;
- }
- short SpruceTrapdoor();
- eBlockFace Facing(short ID);
- enum Half Half(short ID);
- bool Open(short ID);
- bool Powered(short ID);
- }
- namespace SpruceWallSign
- {
- constexpr short SpruceWallSign(eBlockFace Facing)
- {
- if (Facing == eBlockFace::BLOCK_FACE_ZM) return 3744;
- if (Facing == eBlockFace::BLOCK_FACE_ZP) return 3746;
- if (Facing == eBlockFace::BLOCK_FACE_XM) return 3748;
- return 3750;
- }
- short SpruceWallSign();
- eBlockFace Facing(short ID);
- }
- namespace SpruceWood
- {
- enum class Axis
- {
- X,
- Y,
- Z
- };
- constexpr short SpruceWood(enum Axis Axis)
- {
- if (Axis == Axis::X) return 112;
- if (Axis == Axis::Y) return 113;
- return 114;
- }
- short SpruceWood();
- enum Axis Axis(short ID);
- }
- namespace StickyPiston
- {
- constexpr short StickyPiston(bool Extended, eBlockFace Facing)
- {
- if (Extended && Facing == eBlockFace::BLOCK_FACE_ZM) return 1329;
- if (Extended && Facing == eBlockFace::BLOCK_FACE_XP) return 1330;
- if (Extended && Facing == eBlockFace::BLOCK_FACE_ZP) return 1331;
- if (Extended && Facing == eBlockFace::BLOCK_FACE_XM) return 1332;
- if (Extended && Facing == eBlockFace::BLOCK_FACE_YP) return 1333;
- if (Extended && Facing == eBlockFace::BLOCK_FACE_YM) return 1334;
- if (!Extended && Facing == eBlockFace::BLOCK_FACE_ZM) return 1335;
- if (!Extended && Facing == eBlockFace::BLOCK_FACE_XP) return 1336;
- if (!Extended && Facing == eBlockFace::BLOCK_FACE_ZP) return 1337;
- if (!Extended && Facing == eBlockFace::BLOCK_FACE_XM) return 1338;
- if (!Extended && Facing == eBlockFace::BLOCK_FACE_YP) return 1339;
- return 1340;
- }
- short StickyPiston();
- bool Extended(short ID);
- eBlockFace Facing(short ID);
- }
- namespace Stone
- {
- constexpr short Stone()
- {
- return 1;
- }
- }
- namespace StoneBrickSlab
- {
- enum class Type
- {
- Top,
- Bottom,
- Double
- };
- constexpr short StoneBrickSlab(enum Type Type)
- {
- if (Type == Type::Top) return 8379;
- if (Type == Type::Bottom) return 8381;
- return 8383;
- }
- short StoneBrickSlab();
- enum Type Type(short ID);
- }
- namespace StoneBrickStairs
- {
- enum class Half
- {
- Top,
- Bottom
- };
- enum class Shape
- {
- Straight,
- InnerLeft,
- InnerRight,
- OuterLeft,
- OuterRight
- };
- constexpr short StoneBrickStairs(eBlockFace Facing, enum Half Half, enum Shape Shape)
- {
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Top && Shape == Shape::Straight) return 4933;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Top && Shape == Shape::InnerLeft) return 4935;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Top && Shape == Shape::InnerRight) return 4937;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Top && Shape == Shape::OuterLeft) return 4939;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Top && Shape == Shape::OuterRight) return 4941;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Bottom && Shape == Shape::Straight) return 4943;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Bottom && Shape == Shape::InnerLeft) return 4945;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Bottom && Shape == Shape::InnerRight) return 4947;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Bottom && Shape == Shape::OuterLeft) return 4949;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Bottom && Shape == Shape::OuterRight) return 4951;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Top && Shape == Shape::Straight) return 4953;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Top && Shape == Shape::InnerLeft) return 4955;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Top && Shape == Shape::InnerRight) return 4957;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Top && Shape == Shape::OuterLeft) return 4959;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Top && Shape == Shape::OuterRight) return 4961;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Bottom && Shape == Shape::Straight) return 4963;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Bottom && Shape == Shape::InnerLeft) return 4965;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Bottom && Shape == Shape::InnerRight) return 4967;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Bottom && Shape == Shape::OuterLeft) return 4969;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Bottom && Shape == Shape::OuterRight) return 4971;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Top && Shape == Shape::Straight) return 4973;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Top && Shape == Shape::InnerLeft) return 4975;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Top && Shape == Shape::InnerRight) return 4977;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Top && Shape == Shape::OuterLeft) return 4979;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Top && Shape == Shape::OuterRight) return 4981;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Bottom && Shape == Shape::Straight) return 4983;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Bottom && Shape == Shape::InnerLeft) return 4985;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Bottom && Shape == Shape::InnerRight) return 4987;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Bottom && Shape == Shape::OuterLeft) return 4989;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Bottom && Shape == Shape::OuterRight) return 4991;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Top && Shape == Shape::Straight) return 4993;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Top && Shape == Shape::InnerLeft) return 4995;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Top && Shape == Shape::InnerRight) return 4997;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Top && Shape == Shape::OuterLeft) return 4999;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Top && Shape == Shape::OuterRight) return 5001;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Bottom && Shape == Shape::Straight) return 5003;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Bottom && Shape == Shape::InnerLeft) return 5005;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Bottom && Shape == Shape::InnerRight) return 5007;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Bottom && Shape == Shape::OuterLeft) return 5009;
- return 5011;
- }
- short StoneBrickStairs();
- eBlockFace Facing(short ID);
- enum Half Half(short ID);
- enum Shape Shape(short ID);
- }
- namespace StoneBrickWall
- {
- enum class East
- {
- None,
- Low,
- Tall
- };
- enum class North
- {
- None,
- Low,
- Tall
- };
- enum class South
- {
- None,
- Low,
- Tall
- };
- enum class West
- {
- None,
- Low,
- Tall
- };
- constexpr short StoneBrickWall(enum East East, enum North North, enum South South, bool Up, enum West West)
- {
- if (East == East::None && North == North::None && South == South::None && Up && West == West::None) return 12490;
- if (East == East::None && North == North::None && South == South::None && Up && West == West::Low) return 12491;
- if (East == East::None && North == North::None && South == South::None && Up && West == West::Tall) return 12492;
- if (East == East::None && North == North::None && South == South::None && !Up && West == West::None) return 12496;
- if (East == East::None && North == North::None && South == South::None && !Up && West == West::Low) return 12497;
- if (East == East::None && North == North::None && South == South::None && !Up && West == West::Tall) return 12498;
- if (East == East::None && North == North::None && South == South::Low && Up && West == West::None) return 12502;
- if (East == East::None && North == North::None && South == South::Low && Up && West == West::Low) return 12503;
- if (East == East::None && North == North::None && South == South::Low && Up && West == West::Tall) return 12504;
- if (East == East::None && North == North::None && South == South::Low && !Up && West == West::None) return 12508;
- if (East == East::None && North == North::None && South == South::Low && !Up && West == West::Low) return 12509;
- if (East == East::None && North == North::None && South == South::Low && !Up && West == West::Tall) return 12510;
- if (East == East::None && North == North::None && South == South::Tall && Up && West == West::None) return 12514;
- if (East == East::None && North == North::None && South == South::Tall && Up && West == West::Low) return 12515;
- if (East == East::None && North == North::None && South == South::Tall && Up && West == West::Tall) return 12516;
- if (East == East::None && North == North::None && South == South::Tall && !Up && West == West::None) return 12520;
- if (East == East::None && North == North::None && South == South::Tall && !Up && West == West::Low) return 12521;
- if (East == East::None && North == North::None && South == South::Tall && !Up && West == West::Tall) return 12522;
- if (East == East::None && North == North::Low && South == South::None && Up && West == West::None) return 12526;
- if (East == East::None && North == North::Low && South == South::None && Up && West == West::Low) return 12527;
- if (East == East::None && North == North::Low && South == South::None && Up && West == West::Tall) return 12528;
- if (East == East::None && North == North::Low && South == South::None && !Up && West == West::None) return 12532;
- if (East == East::None && North == North::Low && South == South::None && !Up && West == West::Low) return 12533;
- if (East == East::None && North == North::Low && South == South::None && !Up && West == West::Tall) return 12534;
- if (East == East::None && North == North::Low && South == South::Low && Up && West == West::None) return 12538;
- if (East == East::None && North == North::Low && South == South::Low && Up && West == West::Low) return 12539;
- if (East == East::None && North == North::Low && South == South::Low && Up && West == West::Tall) return 12540;
- if (East == East::None && North == North::Low && South == South::Low && !Up && West == West::None) return 12544;
- if (East == East::None && North == North::Low && South == South::Low && !Up && West == West::Low) return 12545;
- if (East == East::None && North == North::Low && South == South::Low && !Up && West == West::Tall) return 12546;
- if (East == East::None && North == North::Low && South == South::Tall && Up && West == West::None) return 12550;
- if (East == East::None && North == North::Low && South == South::Tall && Up && West == West::Low) return 12551;
- if (East == East::None && North == North::Low && South == South::Tall && Up && West == West::Tall) return 12552;
- if (East == East::None && North == North::Low && South == South::Tall && !Up && West == West::None) return 12556;
- if (East == East::None && North == North::Low && South == South::Tall && !Up && West == West::Low) return 12557;
- if (East == East::None && North == North::Low && South == South::Tall && !Up && West == West::Tall) return 12558;
- if (East == East::None && North == North::Tall && South == South::None && Up && West == West::None) return 12562;
- if (East == East::None && North == North::Tall && South == South::None && Up && West == West::Low) return 12563;
- if (East == East::None && North == North::Tall && South == South::None && Up && West == West::Tall) return 12564;
- if (East == East::None && North == North::Tall && South == South::None && !Up && West == West::None) return 12568;
- if (East == East::None && North == North::Tall && South == South::None && !Up && West == West::Low) return 12569;
- if (East == East::None && North == North::Tall && South == South::None && !Up && West == West::Tall) return 12570;
- if (East == East::None && North == North::Tall && South == South::Low && Up && West == West::None) return 12574;
- if (East == East::None && North == North::Tall && South == South::Low && Up && West == West::Low) return 12575;
- if (East == East::None && North == North::Tall && South == South::Low && Up && West == West::Tall) return 12576;
- if (East == East::None && North == North::Tall && South == South::Low && !Up && West == West::None) return 12580;
- if (East == East::None && North == North::Tall && South == South::Low && !Up && West == West::Low) return 12581;
- if (East == East::None && North == North::Tall && South == South::Low && !Up && West == West::Tall) return 12582;
- if (East == East::None && North == North::Tall && South == South::Tall && Up && West == West::None) return 12586;
- if (East == East::None && North == North::Tall && South == South::Tall && Up && West == West::Low) return 12587;
- if (East == East::None && North == North::Tall && South == South::Tall && Up && West == West::Tall) return 12588;
- if (East == East::None && North == North::Tall && South == South::Tall && !Up && West == West::None) return 12592;
- if (East == East::None && North == North::Tall && South == South::Tall && !Up && West == West::Low) return 12593;
- if (East == East::None && North == North::Tall && South == South::Tall && !Up && West == West::Tall) return 12594;
- if (East == East::Low && North == North::None && South == South::None && Up && West == West::None) return 12598;
- if (East == East::Low && North == North::None && South == South::None && Up && West == West::Low) return 12599;
- if (East == East::Low && North == North::None && South == South::None && Up && West == West::Tall) return 12600;
- if (East == East::Low && North == North::None && South == South::None && !Up && West == West::None) return 12604;
- if (East == East::Low && North == North::None && South == South::None && !Up && West == West::Low) return 12605;
- if (East == East::Low && North == North::None && South == South::None && !Up && West == West::Tall) return 12606;
- if (East == East::Low && North == North::None && South == South::Low && Up && West == West::None) return 12610;
- if (East == East::Low && North == North::None && South == South::Low && Up && West == West::Low) return 12611;
- if (East == East::Low && North == North::None && South == South::Low && Up && West == West::Tall) return 12612;
- if (East == East::Low && North == North::None && South == South::Low && !Up && West == West::None) return 12616;
- if (East == East::Low && North == North::None && South == South::Low && !Up && West == West::Low) return 12617;
- if (East == East::Low && North == North::None && South == South::Low && !Up && West == West::Tall) return 12618;
- if (East == East::Low && North == North::None && South == South::Tall && Up && West == West::None) return 12622;
- if (East == East::Low && North == North::None && South == South::Tall && Up && West == West::Low) return 12623;
- if (East == East::Low && North == North::None && South == South::Tall && Up && West == West::Tall) return 12624;
- if (East == East::Low && North == North::None && South == South::Tall && !Up && West == West::None) return 12628;
- if (East == East::Low && North == North::None && South == South::Tall && !Up && West == West::Low) return 12629;
- if (East == East::Low && North == North::None && South == South::Tall && !Up && West == West::Tall) return 12630;
- if (East == East::Low && North == North::Low && South == South::None && Up && West == West::None) return 12634;
- if (East == East::Low && North == North::Low && South == South::None && Up && West == West::Low) return 12635;
- if (East == East::Low && North == North::Low && South == South::None && Up && West == West::Tall) return 12636;
- if (East == East::Low && North == North::Low && South == South::None && !Up && West == West::None) return 12640;
- if (East == East::Low && North == North::Low && South == South::None && !Up && West == West::Low) return 12641;
- if (East == East::Low && North == North::Low && South == South::None && !Up && West == West::Tall) return 12642;
- if (East == East::Low && North == North::Low && South == South::Low && Up && West == West::None) return 12646;
- if (East == East::Low && North == North::Low && South == South::Low && Up && West == West::Low) return 12647;
- if (East == East::Low && North == North::Low && South == South::Low && Up && West == West::Tall) return 12648;
- if (East == East::Low && North == North::Low && South == South::Low && !Up && West == West::None) return 12652;
- if (East == East::Low && North == North::Low && South == South::Low && !Up && West == West::Low) return 12653;
- if (East == East::Low && North == North::Low && South == South::Low && !Up && West == West::Tall) return 12654;
- if (East == East::Low && North == North::Low && South == South::Tall && Up && West == West::None) return 12658;
- if (East == East::Low && North == North::Low && South == South::Tall && Up && West == West::Low) return 12659;
- if (East == East::Low && North == North::Low && South == South::Tall && Up && West == West::Tall) return 12660;
- if (East == East::Low && North == North::Low && South == South::Tall && !Up && West == West::None) return 12664;
- if (East == East::Low && North == North::Low && South == South::Tall && !Up && West == West::Low) return 12665;
- if (East == East::Low && North == North::Low && South == South::Tall && !Up && West == West::Tall) return 12666;
- if (East == East::Low && North == North::Tall && South == South::None && Up && West == West::None) return 12670;
- if (East == East::Low && North == North::Tall && South == South::None && Up && West == West::Low) return 12671;
- if (East == East::Low && North == North::Tall && South == South::None && Up && West == West::Tall) return 12672;
- if (East == East::Low && North == North::Tall && South == South::None && !Up && West == West::None) return 12676;
- if (East == East::Low && North == North::Tall && South == South::None && !Up && West == West::Low) return 12677;
- if (East == East::Low && North == North::Tall && South == South::None && !Up && West == West::Tall) return 12678;
- if (East == East::Low && North == North::Tall && South == South::Low && Up && West == West::None) return 12682;
- if (East == East::Low && North == North::Tall && South == South::Low && Up && West == West::Low) return 12683;
- if (East == East::Low && North == North::Tall && South == South::Low && Up && West == West::Tall) return 12684;
- if (East == East::Low && North == North::Tall && South == South::Low && !Up && West == West::None) return 12688;
- if (East == East::Low && North == North::Tall && South == South::Low && !Up && West == West::Low) return 12689;
- if (East == East::Low && North == North::Tall && South == South::Low && !Up && West == West::Tall) return 12690;
- if (East == East::Low && North == North::Tall && South == South::Tall && Up && West == West::None) return 12694;
- if (East == East::Low && North == North::Tall && South == South::Tall && Up && West == West::Low) return 12695;
- if (East == East::Low && North == North::Tall && South == South::Tall && Up && West == West::Tall) return 12696;
- if (East == East::Low && North == North::Tall && South == South::Tall && !Up && West == West::None) return 12700;
- if (East == East::Low && North == North::Tall && South == South::Tall && !Up && West == West::Low) return 12701;
- if (East == East::Low && North == North::Tall && South == South::Tall && !Up && West == West::Tall) return 12702;
- if (East == East::Tall && North == North::None && South == South::None && Up && West == West::None) return 12706;
- if (East == East::Tall && North == North::None && South == South::None && Up && West == West::Low) return 12707;
- if (East == East::Tall && North == North::None && South == South::None && Up && West == West::Tall) return 12708;
- if (East == East::Tall && North == North::None && South == South::None && !Up && West == West::None) return 12712;
- if (East == East::Tall && North == North::None && South == South::None && !Up && West == West::Low) return 12713;
- if (East == East::Tall && North == North::None && South == South::None && !Up && West == West::Tall) return 12714;
- if (East == East::Tall && North == North::None && South == South::Low && Up && West == West::None) return 12718;
- if (East == East::Tall && North == North::None && South == South::Low && Up && West == West::Low) return 12719;
- if (East == East::Tall && North == North::None && South == South::Low && Up && West == West::Tall) return 12720;
- if (East == East::Tall && North == North::None && South == South::Low && !Up && West == West::None) return 12724;
- if (East == East::Tall && North == North::None && South == South::Low && !Up && West == West::Low) return 12725;
- if (East == East::Tall && North == North::None && South == South::Low && !Up && West == West::Tall) return 12726;
- if (East == East::Tall && North == North::None && South == South::Tall && Up && West == West::None) return 12730;
- if (East == East::Tall && North == North::None && South == South::Tall && Up && West == West::Low) return 12731;
- if (East == East::Tall && North == North::None && South == South::Tall && Up && West == West::Tall) return 12732;
- if (East == East::Tall && North == North::None && South == South::Tall && !Up && West == West::None) return 12736;
- if (East == East::Tall && North == North::None && South == South::Tall && !Up && West == West::Low) return 12737;
- if (East == East::Tall && North == North::None && South == South::Tall && !Up && West == West::Tall) return 12738;
- if (East == East::Tall && North == North::Low && South == South::None && Up && West == West::None) return 12742;
- if (East == East::Tall && North == North::Low && South == South::None && Up && West == West::Low) return 12743;
- if (East == East::Tall && North == North::Low && South == South::None && Up && West == West::Tall) return 12744;
- if (East == East::Tall && North == North::Low && South == South::None && !Up && West == West::None) return 12748;
- if (East == East::Tall && North == North::Low && South == South::None && !Up && West == West::Low) return 12749;
- if (East == East::Tall && North == North::Low && South == South::None && !Up && West == West::Tall) return 12750;
- if (East == East::Tall && North == North::Low && South == South::Low && Up && West == West::None) return 12754;
- if (East == East::Tall && North == North::Low && South == South::Low && Up && West == West::Low) return 12755;
- if (East == East::Tall && North == North::Low && South == South::Low && Up && West == West::Tall) return 12756;
- if (East == East::Tall && North == North::Low && South == South::Low && !Up && West == West::None) return 12760;
- if (East == East::Tall && North == North::Low && South == South::Low && !Up && West == West::Low) return 12761;
- if (East == East::Tall && North == North::Low && South == South::Low && !Up && West == West::Tall) return 12762;
- if (East == East::Tall && North == North::Low && South == South::Tall && Up && West == West::None) return 12766;
- if (East == East::Tall && North == North::Low && South == South::Tall && Up && West == West::Low) return 12767;
- if (East == East::Tall && North == North::Low && South == South::Tall && Up && West == West::Tall) return 12768;
- if (East == East::Tall && North == North::Low && South == South::Tall && !Up && West == West::None) return 12772;
- if (East == East::Tall && North == North::Low && South == South::Tall && !Up && West == West::Low) return 12773;
- if (East == East::Tall && North == North::Low && South == South::Tall && !Up && West == West::Tall) return 12774;
- if (East == East::Tall && North == North::Tall && South == South::None && Up && West == West::None) return 12778;
- if (East == East::Tall && North == North::Tall && South == South::None && Up && West == West::Low) return 12779;
- if (East == East::Tall && North == North::Tall && South == South::None && Up && West == West::Tall) return 12780;
- if (East == East::Tall && North == North::Tall && South == South::None && !Up && West == West::None) return 12784;
- if (East == East::Tall && North == North::Tall && South == South::None && !Up && West == West::Low) return 12785;
- if (East == East::Tall && North == North::Tall && South == South::None && !Up && West == West::Tall) return 12786;
- if (East == East::Tall && North == North::Tall && South == South::Low && Up && West == West::None) return 12790;
- if (East == East::Tall && North == North::Tall && South == South::Low && Up && West == West::Low) return 12791;
- if (East == East::Tall && North == North::Tall && South == South::Low && Up && West == West::Tall) return 12792;
- if (East == East::Tall && North == North::Tall && South == South::Low && !Up && West == West::None) return 12796;
- if (East == East::Tall && North == North::Tall && South == South::Low && !Up && West == West::Low) return 12797;
- if (East == East::Tall && North == North::Tall && South == South::Low && !Up && West == West::Tall) return 12798;
- if (East == East::Tall && North == North::Tall && South == South::Tall && Up && West == West::None) return 12802;
- if (East == East::Tall && North == North::Tall && South == South::Tall && Up && West == West::Low) return 12803;
- if (East == East::Tall && North == North::Tall && South == South::Tall && Up && West == West::Tall) return 12804;
- if (East == East::Tall && North == North::Tall && South == South::Tall && !Up && West == West::None) return 12808;
- if (East == East::Tall && North == North::Tall && South == South::Tall && !Up && West == West::Low) return 12809;
- return 12810;
- }
- short StoneBrickWall();
- enum East East(short ID);
- enum North North(short ID);
- enum South South(short ID);
- bool Up(short ID);
- enum West West(short ID);
- }
- namespace StoneBricks
- {
- constexpr short StoneBricks()
- {
- return 4495;
- }
- }
- namespace StoneButton
- {
- enum class Face
- {
- Floor,
- Wall,
- Ceiling
- };
- constexpr short StoneButton(enum Face Face, eBlockFace Facing, bool Powered)
- {
- if (Face == Face::Floor && Facing == eBlockFace::BLOCK_FACE_ZM && Powered) return 3897;
- if (Face == Face::Floor && Facing == eBlockFace::BLOCK_FACE_ZM && !Powered) return 3898;
- if (Face == Face::Floor && Facing == eBlockFace::BLOCK_FACE_ZP && Powered) return 3899;
- if (Face == Face::Floor && Facing == eBlockFace::BLOCK_FACE_ZP && !Powered) return 3900;
- if (Face == Face::Floor && Facing == eBlockFace::BLOCK_FACE_XM && Powered) return 3901;
- if (Face == Face::Floor && Facing == eBlockFace::BLOCK_FACE_XM && !Powered) return 3902;
- if (Face == Face::Floor && Facing == eBlockFace::BLOCK_FACE_XP && Powered) return 3903;
- if (Face == Face::Floor && Facing == eBlockFace::BLOCK_FACE_XP && !Powered) return 3904;
- if (Face == Face::Wall && Facing == eBlockFace::BLOCK_FACE_ZM && Powered) return 3905;
- if (Face == Face::Wall && Facing == eBlockFace::BLOCK_FACE_ZM && !Powered) return 3906;
- if (Face == Face::Wall && Facing == eBlockFace::BLOCK_FACE_ZP && Powered) return 3907;
- if (Face == Face::Wall && Facing == eBlockFace::BLOCK_FACE_ZP && !Powered) return 3908;
- if (Face == Face::Wall && Facing == eBlockFace::BLOCK_FACE_XM && Powered) return 3909;
- if (Face == Face::Wall && Facing == eBlockFace::BLOCK_FACE_XM && !Powered) return 3910;
- if (Face == Face::Wall && Facing == eBlockFace::BLOCK_FACE_XP && Powered) return 3911;
- if (Face == Face::Wall && Facing == eBlockFace::BLOCK_FACE_XP && !Powered) return 3912;
- if (Face == Face::Ceiling && Facing == eBlockFace::BLOCK_FACE_ZM && Powered) return 3913;
- if (Face == Face::Ceiling && Facing == eBlockFace::BLOCK_FACE_ZM && !Powered) return 3914;
- if (Face == Face::Ceiling && Facing == eBlockFace::BLOCK_FACE_ZP && Powered) return 3915;
- if (Face == Face::Ceiling && Facing == eBlockFace::BLOCK_FACE_ZP && !Powered) return 3916;
- if (Face == Face::Ceiling && Facing == eBlockFace::BLOCK_FACE_XM && Powered) return 3917;
- if (Face == Face::Ceiling && Facing == eBlockFace::BLOCK_FACE_XM && !Powered) return 3918;
- if (Face == Face::Ceiling && Facing == eBlockFace::BLOCK_FACE_XP && Powered) return 3919;
- return 3920;
- }
- short StoneButton();
- enum Face Face(short ID);
- eBlockFace Facing(short ID);
- bool Powered(short ID);
- }
- namespace StonePressurePlate
- {
- constexpr short StonePressurePlate(bool Powered)
- {
- if (Powered) return 3807;
- return 3808;
- }
- short StonePressurePlate();
- bool Powered(short ID);
- }
- namespace StoneSlab
- {
- enum class Type
- {
- Top,
- Bottom,
- Double
- };
- constexpr short StoneSlab(enum Type Type)
- {
- if (Type == Type::Top) return 8337;
- if (Type == Type::Bottom) return 8339;
- return 8341;
- }
- short StoneSlab();
- enum Type Type(short ID);
- }
- namespace StoneStairs
- {
- enum class Half
- {
- Top,
- Bottom
- };
- enum class Shape
- {
- Straight,
- InnerLeft,
- InnerRight,
- OuterLeft,
- OuterRight
- };
- constexpr short StoneStairs(eBlockFace Facing, enum Half Half, enum Shape Shape)
- {
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Top && Shape == Shape::Straight) return 10150;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Top && Shape == Shape::InnerLeft) return 10152;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Top && Shape == Shape::InnerRight) return 10154;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Top && Shape == Shape::OuterLeft) return 10156;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Top && Shape == Shape::OuterRight) return 10158;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Bottom && Shape == Shape::Straight) return 10160;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Bottom && Shape == Shape::InnerLeft) return 10162;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Bottom && Shape == Shape::InnerRight) return 10164;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Bottom && Shape == Shape::OuterLeft) return 10166;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Bottom && Shape == Shape::OuterRight) return 10168;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Top && Shape == Shape::Straight) return 10170;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Top && Shape == Shape::InnerLeft) return 10172;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Top && Shape == Shape::InnerRight) return 10174;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Top && Shape == Shape::OuterLeft) return 10176;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Top && Shape == Shape::OuterRight) return 10178;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Bottom && Shape == Shape::Straight) return 10180;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Bottom && Shape == Shape::InnerLeft) return 10182;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Bottom && Shape == Shape::InnerRight) return 10184;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Bottom && Shape == Shape::OuterLeft) return 10186;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Bottom && Shape == Shape::OuterRight) return 10188;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Top && Shape == Shape::Straight) return 10190;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Top && Shape == Shape::InnerLeft) return 10192;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Top && Shape == Shape::InnerRight) return 10194;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Top && Shape == Shape::OuterLeft) return 10196;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Top && Shape == Shape::OuterRight) return 10198;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Bottom && Shape == Shape::Straight) return 10200;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Bottom && Shape == Shape::InnerLeft) return 10202;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Bottom && Shape == Shape::InnerRight) return 10204;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Bottom && Shape == Shape::OuterLeft) return 10206;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Bottom && Shape == Shape::OuterRight) return 10208;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Top && Shape == Shape::Straight) return 10210;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Top && Shape == Shape::InnerLeft) return 10212;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Top && Shape == Shape::InnerRight) return 10214;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Top && Shape == Shape::OuterLeft) return 10216;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Top && Shape == Shape::OuterRight) return 10218;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Bottom && Shape == Shape::Straight) return 10220;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Bottom && Shape == Shape::InnerLeft) return 10222;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Bottom && Shape == Shape::InnerRight) return 10224;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Bottom && Shape == Shape::OuterLeft) return 10226;
- return 10228;
- }
- short StoneStairs();
- eBlockFace Facing(short ID);
- enum Half Half(short ID);
- enum Shape Shape(short ID);
- }
- namespace Stonecutter
- {
- constexpr short Stonecutter(eBlockFace Facing)
- {
- if (Facing == eBlockFace::BLOCK_FACE_ZM) return 14850;
- if (Facing == eBlockFace::BLOCK_FACE_ZP) return 14851;
- if (Facing == eBlockFace::BLOCK_FACE_XM) return 14852;
- return 14853;
- }
- short Stonecutter();
- eBlockFace Facing(short ID);
- }
- namespace StrippedAcaciaLog
- {
- enum class Axis
- {
- X,
- Y,
- Z
- };
- constexpr short StrippedAcaciaLog(enum Axis Axis)
- {
- if (Axis == Axis::X) return 100;
- if (Axis == Axis::Y) return 101;
- return 102;
- }
- short StrippedAcaciaLog();
- enum Axis Axis(short ID);
- }
- namespace StrippedAcaciaWood
- {
- enum class Axis
- {
- X,
- Y,
- Z
- };
- constexpr short StrippedAcaciaWood(enum Axis Axis)
- {
- if (Axis == Axis::X) return 139;
- if (Axis == Axis::Y) return 140;
- return 141;
- }
- short StrippedAcaciaWood();
- enum Axis Axis(short ID);
- }
- namespace StrippedBirchLog
- {
- enum class Axis
- {
- X,
- Y,
- Z
- };
- constexpr short StrippedBirchLog(enum Axis Axis)
- {
- if (Axis == Axis::X) return 94;
- if (Axis == Axis::Y) return 95;
- return 96;
- }
- short StrippedBirchLog();
- enum Axis Axis(short ID);
- }
- namespace StrippedBirchWood
- {
- enum class Axis
- {
- X,
- Y,
- Z
- };
- constexpr short StrippedBirchWood(enum Axis Axis)
- {
- if (Axis == Axis::X) return 133;
- if (Axis == Axis::Y) return 134;
- return 135;
- }
- short StrippedBirchWood();
- enum Axis Axis(short ID);
- }
- namespace StrippedCrimsonHyphae
- {
- enum class Axis
- {
- X,
- Y,
- Z
- };
- constexpr short StrippedCrimsonHyphae(enum Axis Axis)
- {
- if (Axis == Axis::X) return 14984;
- if (Axis == Axis::Y) return 14985;
- return 14986;
- }
- short StrippedCrimsonHyphae();
- enum Axis Axis(short ID);
- }
- namespace StrippedCrimsonStem
- {
- enum class Axis
- {
- X,
- Y,
- Z
- };
- constexpr short StrippedCrimsonStem(enum Axis Axis)
- {
- if (Axis == Axis::X) return 14978;
- if (Axis == Axis::Y) return 14979;
- return 14980;
- }
- short StrippedCrimsonStem();
- enum Axis Axis(short ID);
- }
- namespace StrippedDarkOakLog
- {
- enum class Axis
- {
- X,
- Y,
- Z
- };
- constexpr short StrippedDarkOakLog(enum Axis Axis)
- {
- if (Axis == Axis::X) return 103;
- if (Axis == Axis::Y) return 104;
- return 105;
- }
- short StrippedDarkOakLog();
- enum Axis Axis(short ID);
- }
- namespace StrippedDarkOakWood
- {
- enum class Axis
- {
- X,
- Y,
- Z
- };
- constexpr short StrippedDarkOakWood(enum Axis Axis)
- {
- if (Axis == Axis::X) return 142;
- if (Axis == Axis::Y) return 143;
- return 144;
- }
- short StrippedDarkOakWood();
- enum Axis Axis(short ID);
- }
- namespace StrippedJungleLog
- {
- enum class Axis
- {
- X,
- Y,
- Z
- };
- constexpr short StrippedJungleLog(enum Axis Axis)
- {
- if (Axis == Axis::X) return 97;
- if (Axis == Axis::Y) return 98;
- return 99;
- }
- short StrippedJungleLog();
- enum Axis Axis(short ID);
- }
- namespace StrippedJungleWood
- {
- enum class Axis
- {
- X,
- Y,
- Z
- };
- constexpr short StrippedJungleWood(enum Axis Axis)
- {
- if (Axis == Axis::X) return 136;
- if (Axis == Axis::Y) return 137;
- return 138;
- }
- short StrippedJungleWood();
- enum Axis Axis(short ID);
- }
- namespace StrippedOakLog
- {
- enum class Axis
- {
- X,
- Y,
- Z
- };
- constexpr short StrippedOakLog(enum Axis Axis)
- {
- if (Axis == Axis::X) return 106;
- if (Axis == Axis::Y) return 107;
- return 108;
- }
- short StrippedOakLog();
- enum Axis Axis(short ID);
- }
- namespace StrippedOakWood
- {
- enum class Axis
- {
- X,
- Y,
- Z
- };
- constexpr short StrippedOakWood(enum Axis Axis)
- {
- if (Axis == Axis::X) return 127;
- if (Axis == Axis::Y) return 128;
- return 129;
- }
- short StrippedOakWood();
- enum Axis Axis(short ID);
- }
- namespace StrippedSpruceLog
- {
- enum class Axis
- {
- X,
- Y,
- Z
- };
- constexpr short StrippedSpruceLog(enum Axis Axis)
- {
- if (Axis == Axis::X) return 91;
- if (Axis == Axis::Y) return 92;
- return 93;
- }
- short StrippedSpruceLog();
- enum Axis Axis(short ID);
- }
- namespace StrippedSpruceWood
- {
- enum class Axis
- {
- X,
- Y,
- Z
- };
- constexpr short StrippedSpruceWood(enum Axis Axis)
- {
- if (Axis == Axis::X) return 130;
- if (Axis == Axis::Y) return 131;
- return 132;
- }
- short StrippedSpruceWood();
- enum Axis Axis(short ID);
- }
- namespace StrippedWarpedHyphae
- {
- enum class Axis
- {
- X,
- Y,
- Z
- };
- constexpr short StrippedWarpedHyphae(enum Axis Axis)
- {
- if (Axis == Axis::X) return 14967;
- if (Axis == Axis::Y) return 14968;
- return 14969;
- }
- short StrippedWarpedHyphae();
- enum Axis Axis(short ID);
- }
- namespace StrippedWarpedStem
- {
- enum class Axis
- {
- X,
- Y,
- Z
- };
- constexpr short StrippedWarpedStem(enum Axis Axis)
- {
- if (Axis == Axis::X) return 14961;
- if (Axis == Axis::Y) return 14962;
- return 14963;
- }
- short StrippedWarpedStem();
- enum Axis Axis(short ID);
- }
- namespace StructureBlock
- {
- enum class Mode
- {
- Save,
- Load,
- Corner,
- Data
- };
- constexpr short StructureBlock(enum Mode Mode)
- {
- if (Mode == Mode::Save) return 15735;
- if (Mode == Mode::Load) return 15736;
- if (Mode == Mode::Corner) return 15737;
- return 15738;
- }
- short StructureBlock();
- enum Mode Mode(short ID);
- }
- namespace StructureVoid
- {
- constexpr short StructureVoid()
- {
- return 9259;
- }
- }
- namespace SugarCane
- {
- constexpr short SugarCane(unsigned char Age)
- {
- if (Age == 0) return 3948;
- if (Age == 1) return 3949;
- if (Age == 2) return 3950;
- if (Age == 3) return 3951;
- if (Age == 4) return 3952;
- if (Age == 5) return 3953;
- if (Age == 6) return 3954;
- if (Age == 7) return 3955;
- if (Age == 8) return 3956;
- if (Age == 9) return 3957;
- if (Age == 10) return 3958;
- if (Age == 11) return 3959;
- if (Age == 12) return 3960;
- if (Age == 13) return 3961;
- if (Age == 14) return 3962;
- return 3963;
- }
- short SugarCane();
- unsigned char Age(short ID);
- }
- namespace Sunflower
- {
- enum class Half
- {
- Upper,
- Lower
- };
- constexpr short Sunflower(enum Half Half)
- {
- if (Half == Half::Upper) return 7885;
- return 7886;
- }
- short Sunflower();
- enum Half Half(short ID);
- }
- namespace SweetBerryBush
- {
- constexpr short SweetBerryBush(unsigned char Age)
- {
- if (Age == 0) return 14954;
- if (Age == 1) return 14955;
- if (Age == 2) return 14956;
- return 14957;
- }
- short SweetBerryBush();
- unsigned char Age(short ID);
- }
- namespace TNT
- {
- constexpr short TNT(bool Unstable)
- {
- if (Unstable) return 1430;
- return 1431;
- }
- short TNT();
- bool Unstable(short ID);
- }
- namespace TallGrass
- {
- enum class Half
- {
- Upper,
- Lower
- };
- constexpr short TallGrass(enum Half Half)
- {
- if (Half == Half::Upper) return 7893;
- return 7894;
- }
- short TallGrass();
- enum Half Half(short ID);
- }
- namespace TallSeagrass
- {
- enum class Half
- {
- Upper,
- Lower
- };
- constexpr short TallSeagrass(enum Half Half)
- {
- if (Half == Half::Upper) return 1346;
- return 1347;
- }
- short TallSeagrass();
- enum Half Half(short ID);
- }
- namespace Target
- {
- constexpr short Target(unsigned char Power)
- {
- if (Power == 0) return 15760;
- if (Power == 1) return 15761;
- if (Power == 2) return 15762;
- if (Power == 3) return 15763;
- if (Power == 4) return 15764;
- if (Power == 5) return 15765;
- if (Power == 6) return 15766;
- if (Power == 7) return 15767;
- if (Power == 8) return 15768;
- if (Power == 9) return 15769;
- if (Power == 10) return 15770;
- if (Power == 11) return 15771;
- if (Power == 12) return 15772;
- if (Power == 13) return 15773;
- if (Power == 14) return 15774;
- return 15775;
- }
- short Target();
- unsigned char Power(short ID);
- }
- namespace Terracotta
- {
- constexpr short Terracotta()
- {
- return 7882;
- }
- }
- namespace Torch
- {
- constexpr short Torch()
- {
- return 1435;
- }
- }
- namespace TrappedChest
- {
- enum class Type
- {
- Single,
- Left,
- Right
- };
- constexpr short TrappedChest(eBlockFace Facing, enum Type Type)
- {
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Type == Type::Single) return 6623;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Type == Type::Left) return 6625;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Type == Type::Right) return 6627;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Type == Type::Single) return 6629;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Type == Type::Left) return 6631;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Type == Type::Right) return 6633;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Type == Type::Single) return 6635;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Type == Type::Left) return 6637;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Type == Type::Right) return 6639;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Type == Type::Single) return 6641;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Type == Type::Left) return 6643;
- return 6645;
- }
- short TrappedChest();
- eBlockFace Facing(short ID);
- enum Type Type(short ID);
- }
- namespace Tripwire
- {
- constexpr short Tripwire(bool Attached, bool Disarmed, bool East, bool North, bool Powered, bool South, bool West)
- {
- if (Attached && Disarmed && East && North && Powered && South && West) return 5275;
- if (Attached && Disarmed && East && North && Powered && South && !West) return 5276;
- if (Attached && Disarmed && East && North && Powered && !South && West) return 5277;
- if (Attached && Disarmed && East && North && Powered && !South && !West) return 5278;
- if (Attached && Disarmed && East && North && !Powered && South && West) return 5279;
- if (Attached && Disarmed && East && North && !Powered && South && !West) return 5280;
- if (Attached && Disarmed && East && North && !Powered && !South && West) return 5281;
- if (Attached && Disarmed && East && North && !Powered && !South && !West) return 5282;
- if (Attached && Disarmed && East && !North && Powered && South && West) return 5283;
- if (Attached && Disarmed && East && !North && Powered && South && !West) return 5284;
- if (Attached && Disarmed && East && !North && Powered && !South && West) return 5285;
- if (Attached && Disarmed && East && !North && Powered && !South && !West) return 5286;
- if (Attached && Disarmed && East && !North && !Powered && South && West) return 5287;
- if (Attached && Disarmed && East && !North && !Powered && South && !West) return 5288;
- if (Attached && Disarmed && East && !North && !Powered && !South && West) return 5289;
- if (Attached && Disarmed && East && !North && !Powered && !South && !West) return 5290;
- if (Attached && Disarmed && !East && North && Powered && South && West) return 5291;
- if (Attached && Disarmed && !East && North && Powered && South && !West) return 5292;
- if (Attached && Disarmed && !East && North && Powered && !South && West) return 5293;
- if (Attached && Disarmed && !East && North && Powered && !South && !West) return 5294;
- if (Attached && Disarmed && !East && North && !Powered && South && West) return 5295;
- if (Attached && Disarmed && !East && North && !Powered && South && !West) return 5296;
- if (Attached && Disarmed && !East && North && !Powered && !South && West) return 5297;
- if (Attached && Disarmed && !East && North && !Powered && !South && !West) return 5298;
- if (Attached && Disarmed && !East && !North && Powered && South && West) return 5299;
- if (Attached && Disarmed && !East && !North && Powered && South && !West) return 5300;
- if (Attached && Disarmed && !East && !North && Powered && !South && West) return 5301;
- if (Attached && Disarmed && !East && !North && Powered && !South && !West) return 5302;
- if (Attached && Disarmed && !East && !North && !Powered && South && West) return 5303;
- if (Attached && Disarmed && !East && !North && !Powered && South && !West) return 5304;
- if (Attached && Disarmed && !East && !North && !Powered && !South && West) return 5305;
- if (Attached && Disarmed && !East && !North && !Powered && !South && !West) return 5306;
- if (Attached && !Disarmed && East && North && Powered && South && West) return 5307;
- if (Attached && !Disarmed && East && North && Powered && South && !West) return 5308;
- if (Attached && !Disarmed && East && North && Powered && !South && West) return 5309;
- if (Attached && !Disarmed && East && North && Powered && !South && !West) return 5310;
- if (Attached && !Disarmed && East && North && !Powered && South && West) return 5311;
- if (Attached && !Disarmed && East && North && !Powered && South && !West) return 5312;
- if (Attached && !Disarmed && East && North && !Powered && !South && West) return 5313;
- if (Attached && !Disarmed && East && North && !Powered && !South && !West) return 5314;
- if (Attached && !Disarmed && East && !North && Powered && South && West) return 5315;
- if (Attached && !Disarmed && East && !North && Powered && South && !West) return 5316;
- if (Attached && !Disarmed && East && !North && Powered && !South && West) return 5317;
- if (Attached && !Disarmed && East && !North && Powered && !South && !West) return 5318;
- if (Attached && !Disarmed && East && !North && !Powered && South && West) return 5319;
- if (Attached && !Disarmed && East && !North && !Powered && South && !West) return 5320;
- if (Attached && !Disarmed && East && !North && !Powered && !South && West) return 5321;
- if (Attached && !Disarmed && East && !North && !Powered && !South && !West) return 5322;
- if (Attached && !Disarmed && !East && North && Powered && South && West) return 5323;
- if (Attached && !Disarmed && !East && North && Powered && South && !West) return 5324;
- if (Attached && !Disarmed && !East && North && Powered && !South && West) return 5325;
- if (Attached && !Disarmed && !East && North && Powered && !South && !West) return 5326;
- if (Attached && !Disarmed && !East && North && !Powered && South && West) return 5327;
- if (Attached && !Disarmed && !East && North && !Powered && South && !West) return 5328;
- if (Attached && !Disarmed && !East && North && !Powered && !South && West) return 5329;
- if (Attached && !Disarmed && !East && North && !Powered && !South && !West) return 5330;
- if (Attached && !Disarmed && !East && !North && Powered && South && West) return 5331;
- if (Attached && !Disarmed && !East && !North && Powered && South && !West) return 5332;
- if (Attached && !Disarmed && !East && !North && Powered && !South && West) return 5333;
- if (Attached && !Disarmed && !East && !North && Powered && !South && !West) return 5334;
- if (Attached && !Disarmed && !East && !North && !Powered && South && West) return 5335;
- if (Attached && !Disarmed && !East && !North && !Powered && South && !West) return 5336;
- if (Attached && !Disarmed && !East && !North && !Powered && !South && West) return 5337;
- if (Attached && !Disarmed && !East && !North && !Powered && !South && !West) return 5338;
- if (!Attached && Disarmed && East && North && Powered && South && West) return 5339;
- if (!Attached && Disarmed && East && North && Powered && South && !West) return 5340;
- if (!Attached && Disarmed && East && North && Powered && !South && West) return 5341;
- if (!Attached && Disarmed && East && North && Powered && !South && !West) return 5342;
- if (!Attached && Disarmed && East && North && !Powered && South && West) return 5343;
- if (!Attached && Disarmed && East && North && !Powered && South && !West) return 5344;
- if (!Attached && Disarmed && East && North && !Powered && !South && West) return 5345;
- if (!Attached && Disarmed && East && North && !Powered && !South && !West) return 5346;
- if (!Attached && Disarmed && East && !North && Powered && South && West) return 5347;
- if (!Attached && Disarmed && East && !North && Powered && South && !West) return 5348;
- if (!Attached && Disarmed && East && !North && Powered && !South && West) return 5349;
- if (!Attached && Disarmed && East && !North && Powered && !South && !West) return 5350;
- if (!Attached && Disarmed && East && !North && !Powered && South && West) return 5351;
- if (!Attached && Disarmed && East && !North && !Powered && South && !West) return 5352;
- if (!Attached && Disarmed && East && !North && !Powered && !South && West) return 5353;
- if (!Attached && Disarmed && East && !North && !Powered && !South && !West) return 5354;
- if (!Attached && Disarmed && !East && North && Powered && South && West) return 5355;
- if (!Attached && Disarmed && !East && North && Powered && South && !West) return 5356;
- if (!Attached && Disarmed && !East && North && Powered && !South && West) return 5357;
- if (!Attached && Disarmed && !East && North && Powered && !South && !West) return 5358;
- if (!Attached && Disarmed && !East && North && !Powered && South && West) return 5359;
- if (!Attached && Disarmed && !East && North && !Powered && South && !West) return 5360;
- if (!Attached && Disarmed && !East && North && !Powered && !South && West) return 5361;
- if (!Attached && Disarmed && !East && North && !Powered && !South && !West) return 5362;
- if (!Attached && Disarmed && !East && !North && Powered && South && West) return 5363;
- if (!Attached && Disarmed && !East && !North && Powered && South && !West) return 5364;
- if (!Attached && Disarmed && !East && !North && Powered && !South && West) return 5365;
- if (!Attached && Disarmed && !East && !North && Powered && !South && !West) return 5366;
- if (!Attached && Disarmed && !East && !North && !Powered && South && West) return 5367;
- if (!Attached && Disarmed && !East && !North && !Powered && South && !West) return 5368;
- if (!Attached && Disarmed && !East && !North && !Powered && !South && West) return 5369;
- if (!Attached && Disarmed && !East && !North && !Powered && !South && !West) return 5370;
- if (!Attached && !Disarmed && East && North && Powered && South && West) return 5371;
- if (!Attached && !Disarmed && East && North && Powered && South && !West) return 5372;
- if (!Attached && !Disarmed && East && North && Powered && !South && West) return 5373;
- if (!Attached && !Disarmed && East && North && Powered && !South && !West) return 5374;
- if (!Attached && !Disarmed && East && North && !Powered && South && West) return 5375;
- if (!Attached && !Disarmed && East && North && !Powered && South && !West) return 5376;
- if (!Attached && !Disarmed && East && North && !Powered && !South && West) return 5377;
- if (!Attached && !Disarmed && East && North && !Powered && !South && !West) return 5378;
- if (!Attached && !Disarmed && East && !North && Powered && South && West) return 5379;
- if (!Attached && !Disarmed && East && !North && Powered && South && !West) return 5380;
- if (!Attached && !Disarmed && East && !North && Powered && !South && West) return 5381;
- if (!Attached && !Disarmed && East && !North && Powered && !South && !West) return 5382;
- if (!Attached && !Disarmed && East && !North && !Powered && South && West) return 5383;
- if (!Attached && !Disarmed && East && !North && !Powered && South && !West) return 5384;
- if (!Attached && !Disarmed && East && !North && !Powered && !South && West) return 5385;
- if (!Attached && !Disarmed && East && !North && !Powered && !South && !West) return 5386;
- if (!Attached && !Disarmed && !East && North && Powered && South && West) return 5387;
- if (!Attached && !Disarmed && !East && North && Powered && South && !West) return 5388;
- if (!Attached && !Disarmed && !East && North && Powered && !South && West) return 5389;
- if (!Attached && !Disarmed && !East && North && Powered && !South && !West) return 5390;
- if (!Attached && !Disarmed && !East && North && !Powered && South && West) return 5391;
- if (!Attached && !Disarmed && !East && North && !Powered && South && !West) return 5392;
- if (!Attached && !Disarmed && !East && North && !Powered && !South && West) return 5393;
- if (!Attached && !Disarmed && !East && North && !Powered && !South && !West) return 5394;
- if (!Attached && !Disarmed && !East && !North && Powered && South && West) return 5395;
- if (!Attached && !Disarmed && !East && !North && Powered && South && !West) return 5396;
- if (!Attached && !Disarmed && !East && !North && Powered && !South && West) return 5397;
- if (!Attached && !Disarmed && !East && !North && Powered && !South && !West) return 5398;
- if (!Attached && !Disarmed && !East && !North && !Powered && South && West) return 5399;
- if (!Attached && !Disarmed && !East && !North && !Powered && South && !West) return 5400;
- if (!Attached && !Disarmed && !East && !North && !Powered && !South && West) return 5401;
- return 5402;
- }
- short Tripwire();
- bool Attached(short ID);
- bool Disarmed(short ID);
- bool East(short ID);
- bool North(short ID);
- bool Powered(short ID);
- bool South(short ID);
- bool West(short ID);
- }
- namespace TripwireHook
- {
- constexpr short TripwireHook(bool Attached, eBlockFace Facing, bool Powered)
- {
- if (Attached && Facing == eBlockFace::BLOCK_FACE_ZM && Powered) return 5259;
- if (Attached && Facing == eBlockFace::BLOCK_FACE_ZM && !Powered) return 5260;
- if (Attached && Facing == eBlockFace::BLOCK_FACE_ZP && Powered) return 5261;
- if (Attached && Facing == eBlockFace::BLOCK_FACE_ZP && !Powered) return 5262;
- if (Attached && Facing == eBlockFace::BLOCK_FACE_XM && Powered) return 5263;
- if (Attached && Facing == eBlockFace::BLOCK_FACE_XM && !Powered) return 5264;
- if (Attached && Facing == eBlockFace::BLOCK_FACE_XP && Powered) return 5265;
- if (Attached && Facing == eBlockFace::BLOCK_FACE_XP && !Powered) return 5266;
- if (!Attached && Facing == eBlockFace::BLOCK_FACE_ZM && Powered) return 5267;
- if (!Attached && Facing == eBlockFace::BLOCK_FACE_ZM && !Powered) return 5268;
- if (!Attached && Facing == eBlockFace::BLOCK_FACE_ZP && Powered) return 5269;
- if (!Attached && Facing == eBlockFace::BLOCK_FACE_ZP && !Powered) return 5270;
- if (!Attached && Facing == eBlockFace::BLOCK_FACE_XM && Powered) return 5271;
- if (!Attached && Facing == eBlockFace::BLOCK_FACE_XM && !Powered) return 5272;
- if (!Attached && Facing == eBlockFace::BLOCK_FACE_XP && Powered) return 5273;
- return 5274;
- }
- short TripwireHook();
- bool Attached(short ID);
- eBlockFace Facing(short ID);
- bool Powered(short ID);
- }
- namespace TubeCoral
- {
- constexpr short TubeCoral()
- {
- return 9531;
- }
- }
- namespace TubeCoralBlock
- {
- constexpr short TubeCoralBlock()
- {
- return 9515;
- }
- }
- namespace TubeCoralFan
- {
- constexpr short TubeCoralFan()
- {
- return 9551;
- }
- }
- namespace TubeCoralWallFan
- {
- constexpr short TubeCoralWallFan(eBlockFace Facing)
- {
- if (Facing == eBlockFace::BLOCK_FACE_ZM) return 9601;
- if (Facing == eBlockFace::BLOCK_FACE_ZP) return 9603;
- if (Facing == eBlockFace::BLOCK_FACE_XM) return 9605;
- return 9607;
- }
- short TubeCoralWallFan();
- eBlockFace Facing(short ID);
- }
- namespace TurtleEgg
- {
- constexpr short TurtleEgg(unsigned char Eggs, unsigned char Hatch)
- {
- if (Eggs == 1 && Hatch == 0) return 9498;
- if (Eggs == 1 && Hatch == 1) return 9499;
- if (Eggs == 1 && Hatch == 2) return 9500;
- if (Eggs == 2 && Hatch == 0) return 9501;
- if (Eggs == 2 && Hatch == 1) return 9502;
- if (Eggs == 2 && Hatch == 2) return 9503;
- if (Eggs == 3 && Hatch == 0) return 9504;
- if (Eggs == 3 && Hatch == 1) return 9505;
- if (Eggs == 3 && Hatch == 2) return 9506;
- if (Eggs == 4 && Hatch == 0) return 9507;
- if (Eggs == 4 && Hatch == 1) return 9508;
- return 9509;
- }
- short TurtleEgg();
- unsigned char Eggs(short ID);
- unsigned char Hatch(short ID);
- }
- namespace TwistingVines
- {
- constexpr short TwistingVines(unsigned char Age)
- {
- if (Age == 0) return 15017;
- if (Age == 1) return 15018;
- if (Age == 2) return 15019;
- if (Age == 3) return 15020;
- if (Age == 4) return 15021;
- if (Age == 5) return 15022;
- if (Age == 6) return 15023;
- if (Age == 7) return 15024;
- if (Age == 8) return 15025;
- if (Age == 9) return 15026;
- if (Age == 10) return 15027;
- if (Age == 11) return 15028;
- if (Age == 12) return 15029;
- if (Age == 13) return 15030;
- if (Age == 14) return 15031;
- if (Age == 15) return 15032;
- if (Age == 16) return 15033;
- if (Age == 17) return 15034;
- if (Age == 18) return 15035;
- if (Age == 19) return 15036;
- if (Age == 20) return 15037;
- if (Age == 21) return 15038;
- if (Age == 22) return 15039;
- if (Age == 23) return 15040;
- if (Age == 24) return 15041;
- return 15042;
- }
- short TwistingVines();
- unsigned char Age(short ID);
- }
- namespace TwistingVinesPlant
- {
- constexpr short TwistingVinesPlant()
- {
- return 15043;
- }
- }
- namespace Vine
- {
- constexpr short Vine(bool East, bool North, bool South, bool Up, bool West)
- {
- if (East && North && South && Up && West) return 4788;
- if (East && North && South && Up && !West) return 4789;
- if (East && North && South && !Up && West) return 4790;
- if (East && North && South && !Up && !West) return 4791;
- if (East && North && !South && Up && West) return 4792;
- if (East && North && !South && Up && !West) return 4793;
- if (East && North && !South && !Up && West) return 4794;
- if (East && North && !South && !Up && !West) return 4795;
- if (East && !North && South && Up && West) return 4796;
- if (East && !North && South && Up && !West) return 4797;
- if (East && !North && South && !Up && West) return 4798;
- if (East && !North && South && !Up && !West) return 4799;
- if (East && !North && !South && Up && West) return 4800;
- if (East && !North && !South && Up && !West) return 4801;
- if (East && !North && !South && !Up && West) return 4802;
- if (East && !North && !South && !Up && !West) return 4803;
- if (!East && North && South && Up && West) return 4804;
- if (!East && North && South && Up && !West) return 4805;
- if (!East && North && South && !Up && West) return 4806;
- if (!East && North && South && !Up && !West) return 4807;
- if (!East && North && !South && Up && West) return 4808;
- if (!East && North && !South && Up && !West) return 4809;
- if (!East && North && !South && !Up && West) return 4810;
- if (!East && North && !South && !Up && !West) return 4811;
- if (!East && !North && South && Up && West) return 4812;
- if (!East && !North && South && Up && !West) return 4813;
- if (!East && !North && South && !Up && West) return 4814;
- if (!East && !North && South && !Up && !West) return 4815;
- if (!East && !North && !South && Up && West) return 4816;
- if (!East && !North && !South && Up && !West) return 4817;
- if (!East && !North && !South && !Up && West) return 4818;
- return 4819;
- }
- short Vine();
- bool East(short ID);
- bool North(short ID);
- bool South(short ID);
- bool Up(short ID);
- bool West(short ID);
- }
- namespace VoidAir
- {
- constexpr short VoidAir()
- {
- return 9665;
- }
- }
- namespace WallTorch
- {
- constexpr short WallTorch(eBlockFace Facing)
- {
- if (Facing == eBlockFace::BLOCK_FACE_ZM) return 1436;
- if (Facing == eBlockFace::BLOCK_FACE_ZP) return 1437;
- if (Facing == eBlockFace::BLOCK_FACE_XM) return 1438;
- return 1439;
- }
- short WallTorch();
- eBlockFace Facing(short ID);
- }
- namespace WarpedButton
- {
- enum class Face
- {
- Floor,
- Wall,
- Ceiling
- };
- constexpr short WarpedButton(enum Face Face, eBlockFace Facing, bool Powered)
- {
- if (Face == Face::Floor && Facing == eBlockFace::BLOCK_FACE_ZM && Powered) return 15503;
- if (Face == Face::Floor && Facing == eBlockFace::BLOCK_FACE_ZM && !Powered) return 15504;
- if (Face == Face::Floor && Facing == eBlockFace::BLOCK_FACE_ZP && Powered) return 15505;
- if (Face == Face::Floor && Facing == eBlockFace::BLOCK_FACE_ZP && !Powered) return 15506;
- if (Face == Face::Floor && Facing == eBlockFace::BLOCK_FACE_XM && Powered) return 15507;
- if (Face == Face::Floor && Facing == eBlockFace::BLOCK_FACE_XM && !Powered) return 15508;
- if (Face == Face::Floor && Facing == eBlockFace::BLOCK_FACE_XP && Powered) return 15509;
- if (Face == Face::Floor && Facing == eBlockFace::BLOCK_FACE_XP && !Powered) return 15510;
- if (Face == Face::Wall && Facing == eBlockFace::BLOCK_FACE_ZM && Powered) return 15511;
- if (Face == Face::Wall && Facing == eBlockFace::BLOCK_FACE_ZM && !Powered) return 15512;
- if (Face == Face::Wall && Facing == eBlockFace::BLOCK_FACE_ZP && Powered) return 15513;
- if (Face == Face::Wall && Facing == eBlockFace::BLOCK_FACE_ZP && !Powered) return 15514;
- if (Face == Face::Wall && Facing == eBlockFace::BLOCK_FACE_XM && Powered) return 15515;
- if (Face == Face::Wall && Facing == eBlockFace::BLOCK_FACE_XM && !Powered) return 15516;
- if (Face == Face::Wall && Facing == eBlockFace::BLOCK_FACE_XP && Powered) return 15517;
- if (Face == Face::Wall && Facing == eBlockFace::BLOCK_FACE_XP && !Powered) return 15518;
- if (Face == Face::Ceiling && Facing == eBlockFace::BLOCK_FACE_ZM && Powered) return 15519;
- if (Face == Face::Ceiling && Facing == eBlockFace::BLOCK_FACE_ZM && !Powered) return 15520;
- if (Face == Face::Ceiling && Facing == eBlockFace::BLOCK_FACE_ZP && Powered) return 15521;
- if (Face == Face::Ceiling && Facing == eBlockFace::BLOCK_FACE_ZP && !Powered) return 15522;
- if (Face == Face::Ceiling && Facing == eBlockFace::BLOCK_FACE_XM && Powered) return 15523;
- if (Face == Face::Ceiling && Facing == eBlockFace::BLOCK_FACE_XM && !Powered) return 15524;
- if (Face == Face::Ceiling && Facing == eBlockFace::BLOCK_FACE_XP && Powered) return 15525;
- return 15526;
- }
- short WarpedButton();
- enum Face Face(short ID);
- eBlockFace Facing(short ID);
- bool Powered(short ID);
- }
- namespace WarpedDoor
- {
- enum class Half
- {
- Upper,
- Lower
- };
- enum class Hinge
- {
- Left,
- Right
- };
- constexpr short WarpedDoor(eBlockFace Facing, enum Half Half, enum Hinge Hinge, bool Open, bool Powered)
- {
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Upper && Hinge == Hinge::Left && Open && Powered) return 15591;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Upper && Hinge == Hinge::Left && Open && !Powered) return 15592;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Upper && Hinge == Hinge::Left && !Open && Powered) return 15593;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Upper && Hinge == Hinge::Left && !Open && !Powered) return 15594;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Upper && Hinge == Hinge::Right && Open && Powered) return 15595;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Upper && Hinge == Hinge::Right && Open && !Powered) return 15596;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Upper && Hinge == Hinge::Right && !Open && Powered) return 15597;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Upper && Hinge == Hinge::Right && !Open && !Powered) return 15598;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Lower && Hinge == Hinge::Left && Open && Powered) return 15599;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Lower && Hinge == Hinge::Left && Open && !Powered) return 15600;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Lower && Hinge == Hinge::Left && !Open && Powered) return 15601;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Lower && Hinge == Hinge::Left && !Open && !Powered) return 15602;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Lower && Hinge == Hinge::Right && Open && Powered) return 15603;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Lower && Hinge == Hinge::Right && Open && !Powered) return 15604;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Lower && Hinge == Hinge::Right && !Open && Powered) return 15605;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Lower && Hinge == Hinge::Right && !Open && !Powered) return 15606;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Upper && Hinge == Hinge::Left && Open && Powered) return 15607;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Upper && Hinge == Hinge::Left && Open && !Powered) return 15608;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Upper && Hinge == Hinge::Left && !Open && Powered) return 15609;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Upper && Hinge == Hinge::Left && !Open && !Powered) return 15610;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Upper && Hinge == Hinge::Right && Open && Powered) return 15611;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Upper && Hinge == Hinge::Right && Open && !Powered) return 15612;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Upper && Hinge == Hinge::Right && !Open && Powered) return 15613;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Upper && Hinge == Hinge::Right && !Open && !Powered) return 15614;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Lower && Hinge == Hinge::Left && Open && Powered) return 15615;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Lower && Hinge == Hinge::Left && Open && !Powered) return 15616;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Lower && Hinge == Hinge::Left && !Open && Powered) return 15617;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Lower && Hinge == Hinge::Left && !Open && !Powered) return 15618;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Lower && Hinge == Hinge::Right && Open && Powered) return 15619;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Lower && Hinge == Hinge::Right && Open && !Powered) return 15620;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Lower && Hinge == Hinge::Right && !Open && Powered) return 15621;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Lower && Hinge == Hinge::Right && !Open && !Powered) return 15622;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Upper && Hinge == Hinge::Left && Open && Powered) return 15623;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Upper && Hinge == Hinge::Left && Open && !Powered) return 15624;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Upper && Hinge == Hinge::Left && !Open && Powered) return 15625;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Upper && Hinge == Hinge::Left && !Open && !Powered) return 15626;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Upper && Hinge == Hinge::Right && Open && Powered) return 15627;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Upper && Hinge == Hinge::Right && Open && !Powered) return 15628;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Upper && Hinge == Hinge::Right && !Open && Powered) return 15629;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Upper && Hinge == Hinge::Right && !Open && !Powered) return 15630;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Lower && Hinge == Hinge::Left && Open && Powered) return 15631;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Lower && Hinge == Hinge::Left && Open && !Powered) return 15632;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Lower && Hinge == Hinge::Left && !Open && Powered) return 15633;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Lower && Hinge == Hinge::Left && !Open && !Powered) return 15634;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Lower && Hinge == Hinge::Right && Open && Powered) return 15635;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Lower && Hinge == Hinge::Right && Open && !Powered) return 15636;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Lower && Hinge == Hinge::Right && !Open && Powered) return 15637;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Lower && Hinge == Hinge::Right && !Open && !Powered) return 15638;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Upper && Hinge == Hinge::Left && Open && Powered) return 15639;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Upper && Hinge == Hinge::Left && Open && !Powered) return 15640;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Upper && Hinge == Hinge::Left && !Open && Powered) return 15641;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Upper && Hinge == Hinge::Left && !Open && !Powered) return 15642;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Upper && Hinge == Hinge::Right && Open && Powered) return 15643;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Upper && Hinge == Hinge::Right && Open && !Powered) return 15644;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Upper && Hinge == Hinge::Right && !Open && Powered) return 15645;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Upper && Hinge == Hinge::Right && !Open && !Powered) return 15646;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Lower && Hinge == Hinge::Left && Open && Powered) return 15647;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Lower && Hinge == Hinge::Left && Open && !Powered) return 15648;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Lower && Hinge == Hinge::Left && !Open && Powered) return 15649;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Lower && Hinge == Hinge::Left && !Open && !Powered) return 15650;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Lower && Hinge == Hinge::Right && Open && Powered) return 15651;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Lower && Hinge == Hinge::Right && Open && !Powered) return 15652;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Lower && Hinge == Hinge::Right && !Open && Powered) return 15653;
- return 15654;
- }
- short WarpedDoor();
- eBlockFace Facing(short ID);
- enum Half Half(short ID);
- enum Hinge Hinge(short ID);
- bool Open(short ID);
- bool Powered(short ID);
- }
- namespace WarpedFence
- {
- constexpr short WarpedFence(bool East, bool North, bool South, bool West)
- {
- if (East && North && South && West) return 15097;
- if (East && North && South && !West) return 15098;
- if (East && North && !South && West) return 15101;
- if (East && North && !South && !West) return 15102;
- if (East && !North && South && West) return 15105;
- if (East && !North && South && !West) return 15106;
- if (East && !North && !South && West) return 15109;
- if (East && !North && !South && !West) return 15110;
- if (!East && North && South && West) return 15113;
- if (!East && North && South && !West) return 15114;
- if (!East && North && !South && West) return 15117;
- if (!East && North && !South && !West) return 15118;
- if (!East && !North && South && West) return 15121;
- if (!East && !North && South && !West) return 15122;
- if (!East && !North && !South && West) return 15125;
- return 15126;
- }
- short WarpedFence();
- bool East(short ID);
- bool North(short ID);
- bool South(short ID);
- bool West(short ID);
- }
- namespace WarpedFenceGate
- {
- constexpr short WarpedFenceGate(eBlockFace Facing, bool InWall, bool Open, bool Powered)
- {
- if (Facing == eBlockFace::BLOCK_FACE_ZM && InWall && Open && Powered) return 15287;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && InWall && Open && !Powered) return 15288;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && InWall && !Open && Powered) return 15289;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && InWall && !Open && !Powered) return 15290;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && !InWall && Open && Powered) return 15291;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && !InWall && Open && !Powered) return 15292;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && !InWall && !Open && Powered) return 15293;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && !InWall && !Open && !Powered) return 15294;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && InWall && Open && Powered) return 15295;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && InWall && Open && !Powered) return 15296;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && InWall && !Open && Powered) return 15297;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && InWall && !Open && !Powered) return 15298;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && !InWall && Open && Powered) return 15299;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && !InWall && Open && !Powered) return 15300;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && !InWall && !Open && Powered) return 15301;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && !InWall && !Open && !Powered) return 15302;
- if (Facing == eBlockFace::BLOCK_FACE_XM && InWall && Open && Powered) return 15303;
- if (Facing == eBlockFace::BLOCK_FACE_XM && InWall && Open && !Powered) return 15304;
- if (Facing == eBlockFace::BLOCK_FACE_XM && InWall && !Open && Powered) return 15305;
- if (Facing == eBlockFace::BLOCK_FACE_XM && InWall && !Open && !Powered) return 15306;
- if (Facing == eBlockFace::BLOCK_FACE_XM && !InWall && Open && Powered) return 15307;
- if (Facing == eBlockFace::BLOCK_FACE_XM && !InWall && Open && !Powered) return 15308;
- if (Facing == eBlockFace::BLOCK_FACE_XM && !InWall && !Open && Powered) return 15309;
- if (Facing == eBlockFace::BLOCK_FACE_XM && !InWall && !Open && !Powered) return 15310;
- if (Facing == eBlockFace::BLOCK_FACE_XP && InWall && Open && Powered) return 15311;
- if (Facing == eBlockFace::BLOCK_FACE_XP && InWall && Open && !Powered) return 15312;
- if (Facing == eBlockFace::BLOCK_FACE_XP && InWall && !Open && Powered) return 15313;
- if (Facing == eBlockFace::BLOCK_FACE_XP && InWall && !Open && !Powered) return 15314;
- if (Facing == eBlockFace::BLOCK_FACE_XP && !InWall && Open && Powered) return 15315;
- if (Facing == eBlockFace::BLOCK_FACE_XP && !InWall && Open && !Powered) return 15316;
- if (Facing == eBlockFace::BLOCK_FACE_XP && !InWall && !Open && Powered) return 15317;
- return 15318;
- }
- short WarpedFenceGate();
- eBlockFace Facing(short ID);
- bool InWall(short ID);
- bool Open(short ID);
- bool Powered(short ID);
- }
- namespace WarpedFungus
- {
- constexpr short WarpedFungus()
- {
- return 14971;
- }
- }
- namespace WarpedHyphae
- {
- enum class Axis
- {
- X,
- Y,
- Z
- };
- constexpr short WarpedHyphae(enum Axis Axis)
- {
- if (Axis == Axis::X) return 14964;
- if (Axis == Axis::Y) return 14965;
- return 14966;
- }
- short WarpedHyphae();
- enum Axis Axis(short ID);
- }
- namespace WarpedNylium
- {
- constexpr short WarpedNylium()
- {
- return 14970;
- }
- }
- namespace WarpedPlanks
- {
- constexpr short WarpedPlanks()
- {
- return 15046;
- }
- }
- namespace WarpedPressurePlate
- {
- constexpr short WarpedPressurePlate(bool Powered)
- {
- if (Powered) return 15061;
- return 15062;
- }
- short WarpedPressurePlate();
- bool Powered(short ID);
- }
- namespace WarpedRoots
- {
- constexpr short WarpedRoots()
- {
- return 14973;
- }
- }
- namespace WarpedSign
- {
- constexpr short WarpedSign(unsigned char Rotation)
- {
- if (Rotation == 0) return 15688;
- if (Rotation == 1) return 15690;
- if (Rotation == 2) return 15692;
- if (Rotation == 3) return 15694;
- if (Rotation == 4) return 15696;
- if (Rotation == 5) return 15698;
- if (Rotation == 6) return 15700;
- if (Rotation == 7) return 15702;
- if (Rotation == 8) return 15704;
- if (Rotation == 9) return 15706;
- if (Rotation == 10) return 15708;
- if (Rotation == 11) return 15710;
- if (Rotation == 12) return 15712;
- if (Rotation == 13) return 15714;
- if (Rotation == 14) return 15716;
- return 15718;
- }
- short WarpedSign();
- unsigned char Rotation(short ID);
- }
- namespace WarpedSlab
- {
- enum class Type
- {
- Top,
- Bottom,
- Double
- };
- constexpr short WarpedSlab(enum Type Type)
- {
- if (Type == Type::Top) return 15054;
- if (Type == Type::Bottom) return 15056;
- return 15058;
- }
- short WarpedSlab();
- enum Type Type(short ID);
- }
- namespace WarpedStairs
- {
- enum class Half
- {
- Top,
- Bottom
- };
- enum class Shape
- {
- Straight,
- InnerLeft,
- InnerRight,
- OuterLeft,
- OuterRight
- };
- constexpr short WarpedStairs(eBlockFace Facing, enum Half Half, enum Shape Shape)
- {
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Top && Shape == Shape::Straight) return 15400;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Top && Shape == Shape::InnerLeft) return 15402;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Top && Shape == Shape::InnerRight) return 15404;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Top && Shape == Shape::OuterLeft) return 15406;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Top && Shape == Shape::OuterRight) return 15408;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Bottom && Shape == Shape::Straight) return 15410;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Bottom && Shape == Shape::InnerLeft) return 15412;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Bottom && Shape == Shape::InnerRight) return 15414;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Bottom && Shape == Shape::OuterLeft) return 15416;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Bottom && Shape == Shape::OuterRight) return 15418;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Top && Shape == Shape::Straight) return 15420;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Top && Shape == Shape::InnerLeft) return 15422;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Top && Shape == Shape::InnerRight) return 15424;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Top && Shape == Shape::OuterLeft) return 15426;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Top && Shape == Shape::OuterRight) return 15428;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Bottom && Shape == Shape::Straight) return 15430;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Bottom && Shape == Shape::InnerLeft) return 15432;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Bottom && Shape == Shape::InnerRight) return 15434;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Bottom && Shape == Shape::OuterLeft) return 15436;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Bottom && Shape == Shape::OuterRight) return 15438;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Top && Shape == Shape::Straight) return 15440;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Top && Shape == Shape::InnerLeft) return 15442;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Top && Shape == Shape::InnerRight) return 15444;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Top && Shape == Shape::OuterLeft) return 15446;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Top && Shape == Shape::OuterRight) return 15448;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Bottom && Shape == Shape::Straight) return 15450;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Bottom && Shape == Shape::InnerLeft) return 15452;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Bottom && Shape == Shape::InnerRight) return 15454;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Bottom && Shape == Shape::OuterLeft) return 15456;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Bottom && Shape == Shape::OuterRight) return 15458;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Top && Shape == Shape::Straight) return 15460;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Top && Shape == Shape::InnerLeft) return 15462;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Top && Shape == Shape::InnerRight) return 15464;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Top && Shape == Shape::OuterLeft) return 15466;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Top && Shape == Shape::OuterRight) return 15468;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Bottom && Shape == Shape::Straight) return 15470;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Bottom && Shape == Shape::InnerLeft) return 15472;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Bottom && Shape == Shape::InnerRight) return 15474;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Bottom && Shape == Shape::OuterLeft) return 15476;
- return 15478;
- }
- short WarpedStairs();
- eBlockFace Facing(short ID);
- enum Half Half(short ID);
- enum Shape Shape(short ID);
- }
- namespace WarpedStem
- {
- enum class Axis
- {
- X,
- Y,
- Z
- };
- constexpr short WarpedStem(enum Axis Axis)
- {
- if (Axis == Axis::X) return 14958;
- if (Axis == Axis::Y) return 14959;
- return 14960;
- }
- short WarpedStem();
- enum Axis Axis(short ID);
- }
- namespace WarpedTrapdoor
- {
- enum class Half
- {
- Top,
- Bottom
- };
- constexpr short WarpedTrapdoor(eBlockFace Facing, enum Half Half, bool Open, bool Powered)
- {
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Top && Open && Powered) return 15192;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Top && Open && !Powered) return 15194;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Top && !Open && Powered) return 15196;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Top && !Open && !Powered) return 15198;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Bottom && Open && Powered) return 15200;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Bottom && Open && !Powered) return 15202;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Bottom && !Open && Powered) return 15204;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Half == Half::Bottom && !Open && !Powered) return 15206;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Top && Open && Powered) return 15208;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Top && Open && !Powered) return 15210;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Top && !Open && Powered) return 15212;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Top && !Open && !Powered) return 15214;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Bottom && Open && Powered) return 15216;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Bottom && Open && !Powered) return 15218;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Bottom && !Open && Powered) return 15220;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Half == Half::Bottom && !Open && !Powered) return 15222;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Top && Open && Powered) return 15224;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Top && Open && !Powered) return 15226;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Top && !Open && Powered) return 15228;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Top && !Open && !Powered) return 15230;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Bottom && Open && Powered) return 15232;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Bottom && Open && !Powered) return 15234;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Bottom && !Open && Powered) return 15236;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Half == Half::Bottom && !Open && !Powered) return 15238;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Top && Open && Powered) return 15240;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Top && Open && !Powered) return 15242;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Top && !Open && Powered) return 15244;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Top && !Open && !Powered) return 15246;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Bottom && Open && Powered) return 15248;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Bottom && Open && !Powered) return 15250;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Half == Half::Bottom && !Open && Powered) return 15252;
- return 15254;
- }
- short WarpedTrapdoor();
- eBlockFace Facing(short ID);
- enum Half Half(short ID);
- bool Open(short ID);
- bool Powered(short ID);
- }
- namespace WarpedWallSign
- {
- constexpr short WarpedWallSign(eBlockFace Facing)
- {
- if (Facing == eBlockFace::BLOCK_FACE_ZM) return 15728;
- if (Facing == eBlockFace::BLOCK_FACE_ZP) return 15730;
- if (Facing == eBlockFace::BLOCK_FACE_XM) return 15732;
- return 15734;
- }
- short WarpedWallSign();
- eBlockFace Facing(short ID);
- }
- namespace WarpedWartBlock
- {
- constexpr short WarpedWartBlock()
- {
- return 14972;
- }
- }
- namespace Water
- {
- constexpr short Water(unsigned char Level)
- {
- if (Level == 0) return 34;
- if (Level == 1) return 35;
- if (Level == 2) return 36;
- if (Level == 3) return 37;
- if (Level == 4) return 38;
- if (Level == 5) return 39;
- if (Level == 6) return 40;
- if (Level == 7) return 41;
- if (Level == 8) return 42;
- if (Level == 9) return 43;
- if (Level == 10) return 44;
- if (Level == 11) return 45;
- if (Level == 12) return 46;
- if (Level == 13) return 47;
- if (Level == 14) return 48;
- return 49;
- }
- short Water();
- unsigned char Level(short ID);
- }
- namespace WeepingVines
- {
- constexpr short WeepingVines(unsigned char Age)
- {
- if (Age == 0) return 14990;
- if (Age == 1) return 14991;
- if (Age == 2) return 14992;
- if (Age == 3) return 14993;
- if (Age == 4) return 14994;
- if (Age == 5) return 14995;
- if (Age == 6) return 14996;
- if (Age == 7) return 14997;
- if (Age == 8) return 14998;
- if (Age == 9) return 14999;
- if (Age == 10) return 15000;
- if (Age == 11) return 15001;
- if (Age == 12) return 15002;
- if (Age == 13) return 15003;
- if (Age == 14) return 15004;
- if (Age == 15) return 15005;
- if (Age == 16) return 15006;
- if (Age == 17) return 15007;
- if (Age == 18) return 15008;
- if (Age == 19) return 15009;
- if (Age == 20) return 15010;
- if (Age == 21) return 15011;
- if (Age == 22) return 15012;
- if (Age == 23) return 15013;
- if (Age == 24) return 15014;
- return 15015;
- }
- short WeepingVines();
- unsigned char Age(short ID);
- }
- namespace WeepingVinesPlant
- {
- constexpr short WeepingVinesPlant()
- {
- return 15016;
- }
- }
- namespace WetSponge
- {
- constexpr short WetSponge()
- {
- return 230;
- }
- }
- namespace Wheat
- {
- constexpr short Wheat(unsigned char Age)
- {
- if (Age == 0) return 3357;
- if (Age == 1) return 3358;
- if (Age == 2) return 3359;
- if (Age == 3) return 3360;
- if (Age == 4) return 3361;
- if (Age == 5) return 3362;
- if (Age == 6) return 3363;
- return 3364;
- }
- short Wheat();
- unsigned char Age(short ID);
- }
- namespace WhiteBanner
- {
- constexpr short WhiteBanner(unsigned char Rotation)
- {
- if (Rotation == 0) return 7897;
- if (Rotation == 1) return 7898;
- if (Rotation == 2) return 7899;
- if (Rotation == 3) return 7900;
- if (Rotation == 4) return 7901;
- if (Rotation == 5) return 7902;
- if (Rotation == 6) return 7903;
- if (Rotation == 7) return 7904;
- if (Rotation == 8) return 7905;
- if (Rotation == 9) return 7906;
- if (Rotation == 10) return 7907;
- if (Rotation == 11) return 7908;
- if (Rotation == 12) return 7909;
- if (Rotation == 13) return 7910;
- if (Rotation == 14) return 7911;
- return 7912;
- }
- short WhiteBanner();
- unsigned char Rotation(short ID);
- }
- namespace WhiteBed
- {
- enum class Part
- {
- Head,
- Foot
- };
- constexpr short WhiteBed(eBlockFace Facing, bool Occupied, enum Part Part)
- {
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Occupied && Part == Part::Head) return 1049;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Occupied && Part == Part::Foot) return 1050;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && !Occupied && Part == Part::Head) return 1051;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && !Occupied && Part == Part::Foot) return 1052;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Occupied && Part == Part::Head) return 1053;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Occupied && Part == Part::Foot) return 1054;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && !Occupied && Part == Part::Head) return 1055;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && !Occupied && Part == Part::Foot) return 1056;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Occupied && Part == Part::Head) return 1057;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Occupied && Part == Part::Foot) return 1058;
- if (Facing == eBlockFace::BLOCK_FACE_XM && !Occupied && Part == Part::Head) return 1059;
- if (Facing == eBlockFace::BLOCK_FACE_XM && !Occupied && Part == Part::Foot) return 1060;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Occupied && Part == Part::Head) return 1061;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Occupied && Part == Part::Foot) return 1062;
- if (Facing == eBlockFace::BLOCK_FACE_XP && !Occupied && Part == Part::Head) return 1063;
- return 1064;
- }
- short WhiteBed();
- eBlockFace Facing(short ID);
- bool Occupied(short ID);
- enum Part Part(short ID);
- }
- namespace WhiteCarpet
- {
- constexpr short WhiteCarpet()
- {
- return 7866;
- }
- }
- namespace WhiteConcrete
- {
- constexpr short WhiteConcrete()
- {
- return 9438;
- }
- }
- namespace WhiteConcretePowder
- {
- constexpr short WhiteConcretePowder()
- {
- return 9454;
- }
- }
- namespace WhiteGlazedTerracotta
- {
- constexpr short WhiteGlazedTerracotta(eBlockFace Facing)
- {
- if (Facing == eBlockFace::BLOCK_FACE_ZM) return 9374;
- if (Facing == eBlockFace::BLOCK_FACE_ZP) return 9375;
- if (Facing == eBlockFace::BLOCK_FACE_XM) return 9376;
- return 9377;
- }
- short WhiteGlazedTerracotta();
- eBlockFace Facing(short ID);
- }
- namespace WhiteShulkerBox
- {
- constexpr short WhiteShulkerBox(eBlockFace Facing)
- {
- if (Facing == eBlockFace::BLOCK_FACE_ZM) return 9278;
- if (Facing == eBlockFace::BLOCK_FACE_XP) return 9279;
- if (Facing == eBlockFace::BLOCK_FACE_ZP) return 9280;
- if (Facing == eBlockFace::BLOCK_FACE_XM) return 9281;
- if (Facing == eBlockFace::BLOCK_FACE_YP) return 9282;
- return 9283;
- }
- short WhiteShulkerBox();
- eBlockFace Facing(short ID);
- }
- namespace WhiteStainedGlass
- {
- constexpr short WhiteStainedGlass()
- {
- return 4095;
- }
- }
- namespace WhiteStainedGlassPane
- {
- constexpr short WhiteStainedGlassPane(bool East, bool North, bool South, bool West)
- {
- if (East && North && South && West) return 6865;
- if (East && North && South && !West) return 6866;
- if (East && North && !South && West) return 6869;
- if (East && North && !South && !West) return 6870;
- if (East && !North && South && West) return 6873;
- if (East && !North && South && !West) return 6874;
- if (East && !North && !South && West) return 6877;
- if (East && !North && !South && !West) return 6878;
- if (!East && North && South && West) return 6881;
- if (!East && North && South && !West) return 6882;
- if (!East && North && !South && West) return 6885;
- if (!East && North && !South && !West) return 6886;
- if (!East && !North && South && West) return 6889;
- if (!East && !North && South && !West) return 6890;
- if (!East && !North && !South && West) return 6893;
- return 6894;
- }
- short WhiteStainedGlassPane();
- bool East(short ID);
- bool North(short ID);
- bool South(short ID);
- bool West(short ID);
- }
- namespace WhiteTerracotta
- {
- constexpr short WhiteTerracotta()
- {
- return 6847;
- }
- }
- namespace WhiteTulip
- {
- constexpr short WhiteTulip()
- {
- return 1419;
- }
- }
- namespace WhiteWallBanner
- {
- constexpr short WhiteWallBanner(eBlockFace Facing)
- {
- if (Facing == eBlockFace::BLOCK_FACE_ZM) return 8153;
- if (Facing == eBlockFace::BLOCK_FACE_ZP) return 8154;
- if (Facing == eBlockFace::BLOCK_FACE_XM) return 8155;
- return 8156;
- }
- short WhiteWallBanner();
- eBlockFace Facing(short ID);
- }
- namespace WhiteWool
- {
- constexpr short WhiteWool()
- {
- return 1384;
- }
- }
- namespace WitherRose
- {
- constexpr short WitherRose()
- {
- return 1423;
- }
- }
- namespace WitherSkeletonSkull
- {
- constexpr short WitherSkeletonSkull(unsigned char Rotation)
- {
- if (Rotation == 0) return 6510;
- if (Rotation == 1) return 6511;
- if (Rotation == 2) return 6512;
- if (Rotation == 3) return 6513;
- if (Rotation == 4) return 6514;
- if (Rotation == 5) return 6515;
- if (Rotation == 6) return 6516;
- if (Rotation == 7) return 6517;
- if (Rotation == 8) return 6518;
- if (Rotation == 9) return 6519;
- if (Rotation == 10) return 6520;
- if (Rotation == 11) return 6521;
- if (Rotation == 12) return 6522;
- if (Rotation == 13) return 6523;
- if (Rotation == 14) return 6524;
- return 6525;
- }
- short WitherSkeletonSkull();
- unsigned char Rotation(short ID);
- }
- namespace WitherSkeletonWallSkull
- {
- constexpr short WitherSkeletonWallSkull(eBlockFace Facing)
- {
- if (Facing == eBlockFace::BLOCK_FACE_ZM) return 6526;
- if (Facing == eBlockFace::BLOCK_FACE_ZP) return 6527;
- if (Facing == eBlockFace::BLOCK_FACE_XM) return 6528;
- return 6529;
- }
- short WitherSkeletonWallSkull();
- eBlockFace Facing(short ID);
- }
- namespace YellowBanner
- {
- constexpr short YellowBanner(unsigned char Rotation)
- {
- if (Rotation == 0) return 7961;
- if (Rotation == 1) return 7962;
- if (Rotation == 2) return 7963;
- if (Rotation == 3) return 7964;
- if (Rotation == 4) return 7965;
- if (Rotation == 5) return 7966;
- if (Rotation == 6) return 7967;
- if (Rotation == 7) return 7968;
- if (Rotation == 8) return 7969;
- if (Rotation == 9) return 7970;
- if (Rotation == 10) return 7971;
- if (Rotation == 11) return 7972;
- if (Rotation == 12) return 7973;
- if (Rotation == 13) return 7974;
- if (Rotation == 14) return 7975;
- return 7976;
- }
- short YellowBanner();
- unsigned char Rotation(short ID);
- }
- namespace YellowBed
- {
- enum class Part
- {
- Head,
- Foot
- };
- constexpr short YellowBed(eBlockFace Facing, bool Occupied, enum Part Part)
- {
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Occupied && Part == Part::Head) return 1113;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && Occupied && Part == Part::Foot) return 1114;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && !Occupied && Part == Part::Head) return 1115;
- if (Facing == eBlockFace::BLOCK_FACE_ZM && !Occupied && Part == Part::Foot) return 1116;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Occupied && Part == Part::Head) return 1117;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && Occupied && Part == Part::Foot) return 1118;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && !Occupied && Part == Part::Head) return 1119;
- if (Facing == eBlockFace::BLOCK_FACE_ZP && !Occupied && Part == Part::Foot) return 1120;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Occupied && Part == Part::Head) return 1121;
- if (Facing == eBlockFace::BLOCK_FACE_XM && Occupied && Part == Part::Foot) return 1122;
- if (Facing == eBlockFace::BLOCK_FACE_XM && !Occupied && Part == Part::Head) return 1123;
- if (Facing == eBlockFace::BLOCK_FACE_XM && !Occupied && Part == Part::Foot) return 1124;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Occupied && Part == Part::Head) return 1125;
- if (Facing == eBlockFace::BLOCK_FACE_XP && Occupied && Part == Part::Foot) return 1126;
- if (Facing == eBlockFace::BLOCK_FACE_XP && !Occupied && Part == Part::Head) return 1127;
- return 1128;
- }
- short YellowBed();
- eBlockFace Facing(short ID);
- bool Occupied(short ID);
- enum Part Part(short ID);
- }
- namespace YellowCarpet
- {
- constexpr short YellowCarpet()
- {
- return 7870;
- }
- }
- namespace YellowConcrete
- {
- constexpr short YellowConcrete()
- {
- return 9442;
- }
- }
- namespace YellowConcretePowder
- {
- constexpr short YellowConcretePowder()
- {
- return 9458;
- }
- }
- namespace YellowGlazedTerracotta
- {
- constexpr short YellowGlazedTerracotta(eBlockFace Facing)
- {
- if (Facing == eBlockFace::BLOCK_FACE_ZM) return 9390;
- if (Facing == eBlockFace::BLOCK_FACE_ZP) return 9391;
- if (Facing == eBlockFace::BLOCK_FACE_XM) return 9392;
- return 9393;
- }
- short YellowGlazedTerracotta();
- eBlockFace Facing(short ID);
- }
- namespace YellowShulkerBox
- {
- constexpr short YellowShulkerBox(eBlockFace Facing)
- {
- if (Facing == eBlockFace::BLOCK_FACE_ZM) return 9302;
- if (Facing == eBlockFace::BLOCK_FACE_XP) return 9303;
- if (Facing == eBlockFace::BLOCK_FACE_ZP) return 9304;
- if (Facing == eBlockFace::BLOCK_FACE_XM) return 9305;
- if (Facing == eBlockFace::BLOCK_FACE_YP) return 9306;
- return 9307;
- }
- short YellowShulkerBox();
- eBlockFace Facing(short ID);
- }
- namespace YellowStainedGlass
- {
- constexpr short YellowStainedGlass()
- {
- return 4099;
- }
- }
- namespace YellowStainedGlassPane
- {
- constexpr short YellowStainedGlassPane(bool East, bool North, bool South, bool West)
- {
- if (East && North && South && West) return 6993;
- if (East && North && South && !West) return 6994;
- if (East && North && !South && West) return 6997;
- if (East && North && !South && !West) return 6998;
- if (East && !North && South && West) return 7001;
- if (East && !North && South && !West) return 7002;
- if (East && !North && !South && West) return 7005;
- if (East && !North && !South && !West) return 7006;
- if (!East && North && South && West) return 7009;
- if (!East && North && South && !West) return 7010;
- if (!East && North && !South && West) return 7013;
- if (!East && North && !South && !West) return 7014;
- if (!East && !North && South && West) return 7017;
- if (!East && !North && South && !West) return 7018;
- if (!East && !North && !South && West) return 7021;
- return 7022;
- }
- short YellowStainedGlassPane();
- bool East(short ID);
- bool North(short ID);
- bool South(short ID);
- bool West(short ID);
- }
- namespace YellowTerracotta
- {
- constexpr short YellowTerracotta()
- {
- return 6851;
- }
- }
- namespace YellowWallBanner
- {
- constexpr short YellowWallBanner(eBlockFace Facing)
- {
- if (Facing == eBlockFace::BLOCK_FACE_ZM) return 8169;
- if (Facing == eBlockFace::BLOCK_FACE_ZP) return 8170;
- if (Facing == eBlockFace::BLOCK_FACE_XM) return 8171;
- return 8172;
- }
- short YellowWallBanner();
- eBlockFace Facing(short ID);
- }
- namespace YellowWool
- {
- constexpr short YellowWool()
- {
- return 1388;
- }
- }
- namespace ZombieHead
- {
- constexpr short ZombieHead(unsigned char Rotation)
- {
- if (Rotation == 0) return 6530;
- if (Rotation == 1) return 6531;
- if (Rotation == 2) return 6532;
- if (Rotation == 3) return 6533;
- if (Rotation == 4) return 6534;
- if (Rotation == 5) return 6535;
- if (Rotation == 6) return 6536;
- if (Rotation == 7) return 6537;
- if (Rotation == 8) return 6538;
- if (Rotation == 9) return 6539;
- if (Rotation == 10) return 6540;
- if (Rotation == 11) return 6541;
- if (Rotation == 12) return 6542;
- if (Rotation == 13) return 6543;
- if (Rotation == 14) return 6544;
- return 6545;
- }
- short ZombieHead();
- unsigned char Rotation(short ID);
- }
- namespace ZombieWallHead
- {
- constexpr short ZombieWallHead(eBlockFace Facing)
- {
- if (Facing == eBlockFace::BLOCK_FACE_ZM) return 6546;
- if (Facing == eBlockFace::BLOCK_FACE_ZP) return 6547;
- if (Facing == eBlockFace::BLOCK_FACE_XM) return 6548;
- return 6549;
- }
- short ZombieWallHead();
- eBlockFace Facing(short ID);
- }
-}
diff --git a/src/Registries/CMakeLists.txt b/src/Registries/CMakeLists.txt
index 906433f76..31102881d 100644
--- a/src/Registries/CMakeLists.txt
+++ b/src/Registries/CMakeLists.txt
@@ -1,9 +1,10 @@
target_sources(
${CMAKE_PROJECT_NAME} PRIVATE
- Blocks.cpp
+ BlockStates.cpp
- Blocks.h
+ BlockStates.h
+ BlockTypes.h
Items.h
Statistics.h
) \ No newline at end of file
diff --git a/src/Registries/Statistics.h b/src/Registries/Statistics.h
index d1de992c6..82aef5442 100644
--- a/src/Registries/Statistics.h
+++ b/src/Registries/Statistics.h
@@ -1,4 +1,3 @@
-
#pragma once
enum class Statistic