aboutsummaryrefslogtreecommitdiff
path: root/Minecraft.World/Minecraft.World.cpp
blob: 1ee6eb47c429d6b30c45b14fb2c2aa384b229139 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
#include "stdafx.h"

#include "net.minecraft.world.item.h"
#include "net.minecraft.world.item.alchemy.h"
#include "net.minecraft.world.item.crafting.h"
#include "net.minecraft.world.item.enchantment.h"
#include "net.minecraft.world.level.chunk.h"
#include "net.minecraft.world.level.chunk.storage.h"
#include "net.minecraft.world.level.levelgen.structure.h"
#include "net.minecraft.world.level.tile.h"
#include "net.minecraft.world.level.tile.entity.h"
#include "net.minecraft.world.entity.h"
#include "net.minecraft.world.entity.monster.h"
#include "net.minecraft.world.entity.npc.h"
#include "net.minecraft.world.effect.h"

#include "Minecraft.World.h"
#include "..\Minecraft.Client\ServerLevel.h"

#ifdef _DURANGO
#include "DurangoStats.h"
#else
#include "CommonStats.h"
#endif

void MinecraftWorld_RunStaticCtors()
{
	// The ordering of these static ctors can be important. If they are within statement blocks then
	// DO NOT CHANGE the ordering - 4J Stu

	Packet::staticCtor();

	{
		MaterialColor::staticCtor();
		Material::staticCtor();
		Tile::staticCtor();
		HatchetItem::staticCtor();
		PickaxeItem::staticCtor();
		ShovelItem::staticCtor();
		BlockReplacements::staticCtor();
		Biome::staticCtor();
		MobEffect::staticCtor();
		Item::staticCtor();
		FurnaceRecipes::staticCtor();
		Recipes::staticCtor();	
#ifdef _DURANGO
		GenericStats::setInstance(new DurangoStats());
#else
		GenericStats::setInstance(new CommonStats());
		Stats::staticCtor();
#endif
		//Achievements::staticCtor(); // 4J Stu - This is now called from within the Stats::staticCtor()
		TileEntity::staticCtor();
		EntityIO::staticCtor();
		MobCategory::staticCtor();

		Item::staticInit();
		LevelChunk::staticCtor();

		LevelType::staticCtor();

		{
			StructureFeatureIO::staticCtor();

			MineShaftPieces::staticCtor();
			StrongholdFeature::staticCtor();
			VillagePieces::Smithy::staticCtor();
			VillageFeature::staticCtor();
			RandomScatteredLargeFeature::staticCtor();
		}
	}
	EnderMan::staticCtor();
	PotionBrewing::staticCtor();
	Enchantment::staticCtor();

	SharedConstants::staticCtor();

	ServerLevel::staticCtor();
	SparseLightStorage::staticCtor();
	CompressedTileStorage::staticCtor();
	SparseDataStorage::staticCtor();
	McRegionChunkStorage::staticCtor();
	Villager::staticCtor();
	GameType::staticCtor();
	BeaconTileEntity::staticCtor();
}