the game where you go into mines and start crafting! but for consoles (forked directly from smartcmd's github)
at main 86 lines 2.3 kB view raw
1#include "stdafx.h" 2 3#include "net.minecraft.world.item.h" 4#include "net.minecraft.world.item.alchemy.h" 5#include "net.minecraft.world.item.crafting.h" 6#include "net.minecraft.world.item.enchantment.h" 7#include "net.minecraft.world.level.chunk.h" 8#include "net.minecraft.world.level.chunk.storage.h" 9#include "net.minecraft.world.level.levelgen.structure.h" 10#include "net.minecraft.world.level.tile.h" 11#include "net.minecraft.world.level.tile.entity.h" 12#include "net.minecraft.world.entity.h" 13#include "net.minecraft.world.entity.monster.h" 14#include "net.minecraft.world.entity.npc.h" 15#include "net.minecraft.world.effect.h" 16 17#include "Minecraft.World.h" 18#include "..\Minecraft.Client\ServerLevel.h" 19 20#ifdef _DURANGO 21#include "DurangoStats.h" 22#else 23#include "CommonStats.h" 24#endif 25 26void MinecraftWorld_RunStaticCtors() 27{ 28 // The ordering of these static ctors can be important. If they are within statement blocks then 29 // DO NOT CHANGE the ordering - 4J Stu 30 31 Packet::staticCtor(); 32 33 { 34 MaterialColor::staticCtor(); 35 Material::staticCtor(); 36 Tile::staticCtor(); 37 HatchetItem::staticCtor(); 38 PickaxeItem::staticCtor(); 39 ShovelItem::staticCtor(); 40 BlockReplacements::staticCtor(); 41 Biome::staticCtor(); 42 MobEffect::staticCtor(); 43 Item::staticCtor(); 44 FurnaceRecipes::staticCtor(); 45 Recipes::staticCtor(); 46#ifdef _DURANGO 47 GenericStats::setInstance(new DurangoStats()); 48#else 49 GenericStats::setInstance(new CommonStats()); 50 Stats::staticCtor(); 51#endif 52 //Achievements::staticCtor(); // 4J Stu - This is now called from within the Stats::staticCtor() 53 TileEntity::staticCtor(); 54 EntityIO::staticCtor(); 55 MobCategory::staticCtor(); 56 57 Item::staticInit(); 58 LevelChunk::staticCtor(); 59 60 LevelType::staticCtor(); 61 62 { 63 StructureFeatureIO::staticCtor(); 64 65 MineShaftPieces::staticCtor(); 66 StrongholdFeature::staticCtor(); 67 VillagePieces::Smithy::staticCtor(); 68 VillageFeature::staticCtor(); 69 RandomScatteredLargeFeature::staticCtor(); 70 } 71 } 72 EnderMan::staticCtor(); 73 PotionBrewing::staticCtor(); 74 Enchantment::staticCtor(); 75 76 SharedConstants::staticCtor(); 77 78 ServerLevel::staticCtor(); 79 SparseLightStorage::staticCtor(); 80 CompressedTileStorage::staticCtor(); 81 SparseDataStorage::staticCtor(); 82 McRegionChunkStorage::staticCtor(); 83 Villager::staticCtor(); 84 GameType::staticCtor(); 85 BeaconTileEntity::staticCtor(); 86}