Exemplo n.º 1
0
 public void Start(ModManager manager)
 {
     m = manager;
     SoundSet solidSounds = new SoundSet()
     {
         Walk = new string[] { "walk1", "walk2", "walk3", "walk4" },
         Break = new string[] { "destruct" },
         Build = new string[] { "build" },
         Clone = new string[] { "clone" },
     };
     m.SetBlockType(46, "TNT", new BlockType()
                    {
                    	TextureIdTop = "TNTTop",
                    	TextureIdBottom = "TNTBottom",
                    	TextureIdBack = "TNT",
                    	TextureIdFront = "TNT",
                    	TextureIdLeft = "TNT",
                    	TextureIdRight = "TNT",
                    	TextureIdForInventory = "TNT",
                    	DrawType = DrawType.Solid,
                    	WalkableType = WalkableType.Solid,
                    	Sounds = solidSounds,
                    	IsUsable = true,
                    });
     tnt = m.GetBlockId("TNT");
     adminium = m.GetBlockId("Adminium");
     m.AddToCreativeInventory("TNT");
     m.AddCraftingRecipe("TNT", 1, "GoldBlock", 1);
     m.RegisterOnBlockUse(UseTnt);
     m.RegisterPrivilege("use_tnt");
     m.RegisterTimer(UpdateTnt, 5);
 }
Exemplo n.º 2
0
        public void Start(ModManager m)
        {
            this.m = m;
            m.RegisterOnBlockUse(OnUse);
            m.RegisterOnBlockDelete(OnDelete);
            SoundSet sounds = new SoundSet()
            {
                Walk  = new string[] { "walk1", "walk2", "walk3", "walk4" },
                Break = new string[] { "destruct" },
                Build = new string[] { "build" },
                Clone = new string[] { "clone" },
            };

            m.SetBlockType(155, "Sign", new BlockType()
            {
                AllTextures  = "Sign",
                DrawType     = DrawType.Ladder,
                WalkableType = WalkableType.Solid,
                Sounds       = sounds,
                IsUsable     = true,
            });
            m.AddToCreativeInventory("Sign");
            m.RegisterOnCommand(OnCommand);
            m.RegisterOnDialogClick(OnClick);
            m.RegisterOnLoad(OnLoad);
        }
Exemplo n.º 3
0
        public void Start(ModManager manager)
        {
            m = manager;
            SoundSet solidSounds = new SoundSet()
            {
                Walk  = new string[] { "walk1", "walk2", "walk3", "walk4" },
                Break = new string[] { "destruct" },
                Build = new string[] { "build" },
                Clone = new string[] { "clone" },
            };

            m.SetBlockType(46, "TNT", new BlockType()
            {
                TextureIdTop          = "TNTTop",
                TextureIdBottom       = "TNTBottom",
                TextureIdBack         = "TNT",
                TextureIdFront        = "TNT",
                TextureIdLeft         = "TNT",
                TextureIdRight        = "TNT",
                TextureIdForInventory = "TNT",
                DrawType     = DrawType.Solid,
                WalkableType = WalkableType.Solid,
                Sounds       = solidSounds,
                IsUsable     = true,
            });
            tnt      = m.GetBlockId("TNT");
            adminium = m.GetBlockId("Adminium");
            m.AddToCreativeInventory("TNT");
            m.AddCraftingRecipe("TNT", 1, "GoldBlock", 1);
            m.RegisterOnBlockUse(UseTnt);
            m.RegisterPrivilege("use_tnt");
            m.RegisterTimer(UpdateTnt, 5);
        }
Exemplo n.º 4
0
 public void Start(ModManager manager)
 {
     m = manager;
     m.SetBlockType(154, "Sign", new BlockType()
     {
         AllTextures  = "Sign",
         DrawType     = DrawType.Solid,
         WalkableType = WalkableType.Solid,
         IsUsable     = true,
         IsTool       = true,
     });
     m.AddToCreativeInventory("Sign");
     m.SetBlockType(155, "PermissionSign", new BlockType()
     {
         AllTextures  = "PermissionSign",
         DrawType     = DrawType.Solid,
         WalkableType = WalkableType.Solid,
         IsUsable     = true,
         IsTool       = true,
     });
     m.AddToCreativeInventory("PermissionSign");
 }
Exemplo n.º 5
0
 public void Start(ModManager manager)
 {
     m = manager;
     m.SetBlockType(154, "Sign", new BlockType()
                    {
                    	AllTextures = "Sign",
                    	DrawType = DrawType.Solid,
                    	WalkableType = WalkableType.Solid,
                    	IsUsable = true,
                    	IsTool = true,
                    });
     m.AddToCreativeInventory("Sign");
     m.SetBlockType(155, "PermissionSign", new BlockType()
                    {
                    	AllTextures = "PermissionSign",
                    	DrawType = DrawType.Solid,
                    	WalkableType = WalkableType.Solid,
                    	IsUsable = true,
                    	IsTool = true,
                    });
     m.AddToCreativeInventory("PermissionSign");
 }
Exemplo n.º 6
0
        public void Start(ModManager m)
        {
            this.m = m;

            m.RegisterOnBlockUse(ToggleLight);
            m.RegisterOnBlockBuild(AddBlock);
            m.RegisterOnBlockDelete(DeleteBlock);
            m.RegisterPrivilege("toggle");
            m.RegisterPrivilege("toggle_all");
            m.RegisterCommandHelp("toggle_all", "/toggle_all [0 / 1]");
            m.RegisterCommandHelp("toggle", "Allows you to toggle single light blocks.");
            m.RegisterOnCommand(ToggleAll);
            m.RegisterOnLoad(LoadLights);
            m.RegisterOnSave(SaveLights);

            m.SetString("en", "Light_Active", "Active Light Block");
            m.SetString("en", "Light_Inactive", "Inactive Light Block");

            SoundSet solidSounds = new SoundSet()
            {
                Walk  = new string[] { "walk1", "walk2", "walk3", "walk4" },
                Break = new string[] { "destruct" },
                Build = new string[] { "build" },
                Clone = new string[] { "clone" },
            };

            m.SetBlockType(254, name_on, new BlockType()
            {
                AllTextures  = "light_on",
                DrawType     = DrawType.Solid,
                WalkableType = WalkableType.Solid,
                Sounds       = solidSounds,
                LightRadius  = 10,
                IsUsable     = true,
            });
            m.SetBlockType(255, name_off, new BlockType()
            {
                AllTextures  = "light_off",
                DrawType     = DrawType.Solid,
                WalkableType = WalkableType.Solid,
                Sounds       = solidSounds,
                IsUsable     = true,
            });
            light_on  = m.GetBlockId(name_on);
            light_off = m.GetBlockId(name_off);
            //m.AddToCreativeInventory(name_on);
            m.AddToCreativeInventory(name_off);
            m.AddCraftingRecipe2(name_off, 1, "Torch", 3, "IronBlock", 2);
        }
Exemplo n.º 7
0
 public void Start(ModManager manager)
 {
     m = manager;
     m.SetBlockType("VandalFinder", new BlockType()
         {
             AllTextures = "VandalFinder",
             DrawType = DrawType.Solid,
             WalkableType = WalkableType.Solid,
             IsUsable = true,
             IsTool = true,
         });
     m.AddToCreativeInventory("VandalFinder");
     m.RegisterOnBlockUseWithTool(OnUseWithTool);
     lines = (List<object[]>)m.GetGlobalDataNotSaved("LogLines");
 }
Exemplo n.º 8
0
 public void Start(ModManager manager)
 {
     m = manager;
     m.SetBlockType("VandalFinder", new BlockType()
     {
         AllTextures  = "VandalFinder",
         DrawType     = DrawType.Solid,
         WalkableType = WalkableType.Solid,
         IsUsable     = true,
         IsTool       = true,
     });
     m.AddToCreativeInventory("VandalFinder");
     m.RegisterOnBlockUseWithTool(OnUseWithTool);
     lines = (List <object[]>)m.GetGlobalDataNotSaved("LogLines");
 }
Exemplo n.º 9
0
        public void Start(ModManager manager)
        {
            m = manager;

            for (int i = 0; i < PermissionLevelsCount; i++)
            {
                m.SetBlockType(241 + i, "BuildPermission" + i, new BlockType()
                    {
                        AllTextures = "BuildPermission" + i,
                        DrawType = DrawType.Solid,
                        WalkableType = WalkableType.Solid,
                        IsBuildable = true,
                    });
                m.AddToCreativeInventory("BuildPermission" + i);
            }

            m.RegisterOnBlockBuild(OnBuild);
            m.RegisterOnBlockDelete(OnDelete);
        }
Exemplo n.º 10
0
        public void Start(ModManager manager)
        {
            m = manager;

            for (int i = 0; i < PermissionLevelsCount; i++)
            {
                m.SetBlockType(241 + i, "BuildPermission" + i, new BlockType()
                {
                    AllTextures  = "BuildPermission" + i,
                    DrawType     = DrawType.Solid,
                    WalkableType = WalkableType.Solid,
                    IsBuildable  = true,
                });
                m.AddToCreativeInventory("BuildPermission" + i);
            }

            m.RegisterOnBlockBuild(OnBuild);
            m.RegisterOnBlockDelete(OnDelete);
        }
Exemplo n.º 11
0
        public void Start(ModManager m)
        {
            this.m      = m;
            editingSign = new ServerEntityId[m.GetMaxPlayers()];

            m.SetBlockType(75, "EntitySign", new BlockType()
            {
                AllTextures  = "VandalFinder",
                DrawType     = DrawType.Solid,
                WalkableType = WalkableType.Solid,
                IsUsable     = true,
                IsTool       = true,
            });
            m.AddToCreativeInventory("EntitySign");

            m.RegisterOnBlockUseWithTool(OnUseWithTool);
            m.RegisterOnEntityUse(OnEntityUse);
            m.RegisterOnEntityUpdate(OnEntityUpdate);
            m.RegisterOnDialogClick2(OnDialogClick);
        }
Exemplo n.º 12
0
        public void Start(ModManager m)
        {
            this.m = m;

            SoundSet solidSounds = new SoundSet()
            {
                Walk  = new string[] { "walk1", "walk2", "walk3", "walk4" },
                Break = new string[] { "destruct" },
                Build = new string[] { "build" },
                Clone = new string[] { "clone" },
            };

            int blockCount = 0;

            for (int r = 0; r < 16; r += 3)
            {
                for (int g = 0; g < 16; g += 3)
                {
                    for (int b = 0; b < 16; b += 3)
                    {
                        int r32 = r * 17;
                        int g32 = g * 17;
                        int b32 = b * 17;

                        string blockName = string.Format("R{0}G{1}B{2}", r32.ToString(), g32.ToString(), b32.ToString());

                        m.SetBlockType(blockName, new BlockType()
                        {
                            AllTextures  = blockName,
                            DrawType     = DrawType.Solid,
                            WalkableType = WalkableType.Solid,
                            Sounds       = solidSounds,
                        });
                        m.AddToCreativeInventory(blockName);
                        blockCount++;
                    }
                }
            }
            System.Console.WriteLine(string.Format("INFO:   TooManyColors Mod v1.0 loaded. {0} blocks registered.", blockCount));
        }
Exemplo n.º 13
0
        public void Start(ModManager manager)
        {
            m = manager;

            m.RegisterOnBlockBuild(OnBuild);
            m.RegisterOnBlockDelete(OnDelete);
            m.RegisterOnBlockUse(OnUse);

            m.SetString("en", "DoorBottomClosed", "Closed Door");
            m.SetString("en", "DoorTopClosed", "Closed Door");
            m.SetString("en", "DoorBottomOpen", "Open Door");
            m.SetString("en", "DoorTopOpen", "Open Door");

            SoundSet sounds = new SoundSet()
            {
                Walk  = new string[] { "walk1", "walk2", "walk3", "walk4" },
                Break = new string[] { "destruct" },
                Build = new string[] { "build" },
                Clone = new string[] { "clone" },
            };

            m.SetBlockType(126, "DoorBottomClosed", new BlockType()
            {
                AllTextures  = "DoorBottom",
                DrawType     = DrawType.ClosedDoor,
                WalkableType = WalkableType.Solid,
                Sounds       = sounds,
                IsUsable     = true,
            });
            m.SetBlockType(127, "DoorTopClosed", new BlockType()
            {
                AllTextures  = "DoorTop",
                DrawType     = DrawType.ClosedDoor,
                WalkableType = WalkableType.Solid,
                Sounds       = sounds,
                IsUsable     = true,
                WhenPlayerPlacesGetsConvertedTo = 126,
            });
            m.SetBlockType(128, "DoorBottomOpen", new BlockType()
            {
                AllTextures  = "DoorBottom",
                DrawType     = DrawType.OpenDoorLeft,
                WalkableType = WalkableType.Empty,
                Sounds       = sounds,
                IsUsable     = true,
                WhenPlayerPlacesGetsConvertedTo = 126,
            });
            m.SetBlockType(129, "DoorTopOpen", new BlockType()
            {
                AllTextures  = "DoorTop",
                DrawType     = DrawType.OpenDoorLeft,
                WalkableType = WalkableType.Empty,
                Sounds       = sounds,
                IsUsable     = true,
                WhenPlayerPlacesGetsConvertedTo = 126,
            });

            m.AddToCreativeInventory("DoorBottomClosed");
            m.AddCraftingRecipe("DoorBottomClosed", 1, "OakWood", 2);
            m.AddCraftingRecipe("DoorBottomClosed", 1, "BirchWood", 2);
            m.AddCraftingRecipe("DoorBottomClosed", 1, "SpruceWood", 2);

            DoorBottomClosed = m.GetBlockId("DoorBottomClosed");
            DoorTopClosed    = m.GetBlockId("DoorTopClosed");
            DoorBottomOpen   = m.GetBlockId("DoorBottomOpen");
            DoorTopOpen      = m.GetBlockId("DoorTopOpen");
        }
Exemplo n.º 14
0
        public void Start(ModManager manager)
        {
            m = manager;

            m.RegisterOnBlockBuild(OnBuild);
            m.RegisterOnBlockDelete(OnDelete);
            m.RegisterOnBlockUse(OnUse);

            m.SetString("en", "DoorBottomClosed", "Closed Door");
            m.SetString("en", "DoorTopClosed", "Closed Door");
            m.SetString("en", "DoorBottomOpen", "Open Door");
            m.SetString("en", "DoorTopOpen", "Open Door");

            SoundSet sounds = new SoundSet()
            {
                Walk = new string[] { "walk1", "walk2", "walk3", "walk4" },
                Break = new string[] { "destruct" },
                Build = new string[] { "build" },
                Clone = new string[] { "clone" },
            };

            m.SetBlockType(126, "DoorBottomClosed", new BlockType()
                           {
                           	AllTextures = "DoorBottom",
                           	DrawType = DrawType.ClosedDoor,
                           	WalkableType = WalkableType.Solid,
                           	Sounds = sounds,
                           	IsUsable = true,
                           });
            m.SetBlockType(127, "DoorTopClosed", new BlockType()
                           {
                           	AllTextures = "DoorTop",
                           	DrawType = DrawType.ClosedDoor,
                           	WalkableType = WalkableType.Solid,
                           	Sounds = sounds,
                           	IsUsable = true,
                           	WhenPlayerPlacesGetsConvertedTo = 126,
                           });
            m.SetBlockType(128, "DoorBottomOpen", new BlockType()
                           {
                           	AllTextures = "DoorBottom",
                           	DrawType = DrawType.OpenDoorLeft,
                           	WalkableType = WalkableType.Empty,
                           	Sounds = sounds,
                           	IsUsable = true,
                           	WhenPlayerPlacesGetsConvertedTo = 126,
                           });
            m.SetBlockType(129, "DoorTopOpen", new BlockType()
                           {
                           	AllTextures = "DoorTop",
                           	DrawType = DrawType.OpenDoorLeft,
                           	WalkableType = WalkableType.Empty,
                           	Sounds = sounds,
                           	IsUsable = true,
                           	WhenPlayerPlacesGetsConvertedTo = 126,
                           });

            m.AddToCreativeInventory("DoorBottomClosed");
            m.AddCraftingRecipe("DoorBottomClosed", 1, "OakWood", 2);
            m.AddCraftingRecipe("DoorBottomClosed", 1, "BirchWood", 2);
            m.AddCraftingRecipe("DoorBottomClosed", 1, "SpruceWood", 2);

            DoorBottomClosed = m.GetBlockId("DoorBottomClosed");
            DoorTopClosed = m.GetBlockId("DoorTopClosed");
            DoorBottomOpen = m.GetBlockId("DoorBottomOpen");
            DoorTopOpen = m.GetBlockId("DoorTopOpen");
        }
Exemplo n.º 15
0
        public void Start(ModManager manager)
        {
            m = manager;

            //Timer for season changes
            m.RegisterTimer(UpdateSeasons, 1);

            //Initialize sounds
            noSound = new SoundSet();
            solidSounds = new SoundSet()
            {
                Walk = new string[] { "walk1", "walk2", "walk3", "walk4" },
                Break = new string[] { "destruct" },
                Build = new string[] { "build" },
                Clone = new string[] { "clone" },
            };
            snowSounds = new SoundSet()
            {
                Walk = new string[] { "walksnow1", "walksnow2", "walksnow3", "walksnow4" },
                Break = new string[] { "destruct" },
                Build = new string[] { "build" },
                Clone = new string[] { "clone" },
            };
            m.SetDefaultSounds(solidSounds);

            #region Block types
            m.SetBlockType(0, "Empty", new BlockType()
                           {
                           	DrawType = DrawType.Empty,
                           	WalkableType = WalkableType.Empty,
                           	Sounds = noSound,
                           });
            m.SetBlockType(1, "Stone", new BlockType()
                           {
                           	AllTextures = "Stone",
                           	DrawType = DrawType.Solid,
                           	WalkableType = WalkableType.Solid,
                           	Sounds = solidSounds,
                           });
            m.SetBlockType(2, "Grass", new BlockType()
                           {
                           	TextureIdTop = "Grass",
                           	SideTextures = "GrassSide",
                           	TextureIdForInventory = "GrassSide",
                           	TextureIdBottom = "Dirt",
                           	DrawType = DrawType.Solid,
                           	WalkableType = WalkableType.Solid,
                           	Sounds = solidSounds,
                           	WhenPlayerPlacesGetsConvertedTo = 3,
                           });
            m.SetBlockType(3, "Dirt", new BlockType()
                           {
                           	AllTextures = "Dirt",
                           	DrawType = DrawType.Solid,
                           	WalkableType = WalkableType.Solid,
                           	Sounds = solidSounds,
                           });
            m.SetBlockType(4, "Cobblestone", new BlockType()
                           {
                           	AllTextures = "Cobblestone",
                           	DrawType = DrawType.Solid,
                           	WalkableType = WalkableType.Solid,
                           	Sounds = solidSounds,
                           });
            m.SetBlockType(5, "OakWood", new BlockType()
                           {
                           	AllTextures = "OakWood",
                           	DrawType = DrawType.Solid,
                           	WalkableType = WalkableType.Solid,
                           	Sounds = solidSounds,
                           });
            m.SetBlockType(6, "OakSapling", new BlockType()
                           {
                           	AllTextures = "OakSapling",
                           	DrawType = DrawType.Plant,
                           	WalkableType = WalkableType.Empty,
                           	Sounds = solidSounds,
                           });
            m.SetBlockType(7, "Adminium", new BlockType()
                           {
                           	AllTextures = "Adminium",
                           	DrawType = DrawType.Solid,
                           	WalkableType = WalkableType.Solid,
                           	Sounds = solidSounds,
                           });
            m.SetBlockType(8, "Water", new BlockType()
                           {
                           	AllTextures = "Water",
                           	DrawType = DrawType.Fluid,
                           	WalkableType = WalkableType.Fluid,
                           	Sounds = noSound,
                           });
            m.SetBlockType(9, "StationaryWater", new BlockType()
                           {
                           	AllTextures = "Water",
                           	DrawType = DrawType.Fluid,
                           	WalkableType = WalkableType.Fluid,
                           	Sounds = noSound,
                           });
            m.SetBlockType(10, "Lava", new BlockType()
                           {
                           	AllTextures = "Lava",
                           	DrawType = DrawType.Fluid,
                           	WalkableType = WalkableType.Fluid,
                           	Sounds = noSound,
                           	LightRadius = 15,
                           	DamageToPlayer = 2,
                           });
            m.SetBlockType(11, "StationaryLava", new BlockType()
                           {
                           	AllTextures = "Lava",
                           	DrawType = DrawType.Fluid,
                           	WalkableType = WalkableType.Fluid,
                           	Sounds = noSound,
                           	LightRadius = 15,
                           	DamageToPlayer = 2,
                           });
            m.SetBlockType(12, "Sand", new BlockType()
                           {
                           	AllTextures = "Sand",
                           	DrawType = DrawType.Solid,
                           	WalkableType = WalkableType.Solid,
                           	Sounds = solidSounds,
                           });
            m.SetBlockType(13, "Gravel", new BlockType()
                           {
                           	AllTextures = "Gravel",
                           	DrawType = DrawType.Solid,
                           	WalkableType = WalkableType.Solid,
                           	Sounds = solidSounds,
                           });
            m.SetBlockType(14, "GoldOre", new BlockType()
                           {
                           	AllTextures = "GoldOre",
                           	DrawType = DrawType.Solid,
                           	WalkableType = WalkableType.Solid,
                           	Sounds = solidSounds,
                           });
            m.SetBlockType(15, "IronOre", new BlockType()
                           {
                           	AllTextures = "IronOre",
                           	DrawType = DrawType.Solid,
                           	WalkableType = WalkableType.Solid,
                           	Sounds = solidSounds,
                           });
            m.SetBlockType(16, "CoalOre", new BlockType()
                           {
                           	AllTextures = "CoalOre",
                           	DrawType = DrawType.Solid,
                           	WalkableType = WalkableType.Solid,
                           	Sounds = solidSounds,
                           });
            m.SetBlockType(17, "OakTreeTrunk", new BlockType()
                           {
                           	TopBottomTextures = "OakTreeTrunkTopBottom",
                           	SideTextures = "OakTreeTrunk",
                           	TextureIdForInventory = "OakTreeTrunk",
                           	DrawType = DrawType.Solid,
                           	WalkableType = WalkableType.Solid,
                           	Sounds = solidSounds,
                           });
            m.SetBlockType(18, "OakLeaves", new BlockType()
                           {
                           	AllTextures = "OakLeaves",
                           	DrawType = DrawType.Transparent,
                           	WalkableType = WalkableType.Solid,
                           	Sounds = solidSounds,
                           });
            m.SetBlockType(19, "Sponge", new BlockType()
                           {
                           	AllTextures = "Sponge",
                           	DrawType = DrawType.Solid,
                           	WalkableType = WalkableType.Solid,
                           	Sounds = solidSounds,
                           });
            m.SetBlockType(20, "Glass", new BlockType()
                           {
                           	AllTextures = "Glass",
                           	DrawType = DrawType.Transparent,
                           	WalkableType = WalkableType.Solid,
                           	Sounds = solidSounds,
                           });
            m.SetBlockType(21, "RedCloth", new BlockType()
                           {
                           	AllTextures = "RedCloth",
                           	DrawType = DrawType.Solid,
                           	WalkableType = WalkableType.Solid,
                           	Sounds = solidSounds,
                           });
            m.SetBlockType(22, "OrangeCloth", new BlockType()
                           {
                           	AllTextures = "OrangeCloth",
                           	DrawType = DrawType.Solid,
                           	WalkableType = WalkableType.Solid,
                           	Sounds = solidSounds,
                           });
            m.SetBlockType(23, "YellowCloth", new BlockType()
                           {
                           	AllTextures = "YellowCloth",
                           	DrawType = DrawType.Solid,
                           	WalkableType = WalkableType.Solid,
                           	Sounds = solidSounds,
                           });
            m.SetBlockType(24, "LightGreenCloth", new BlockType()
                           {
                           	AllTextures = "LightGreenCloth",
                           	DrawType = DrawType.Solid,
                           	WalkableType = WalkableType.Solid,
                           	Sounds = solidSounds,
                           });
            m.SetBlockType(25, "GreenCloth", new BlockType()
                           {
                           	AllTextures = "GreenCloth",
                           	DrawType = DrawType.Solid,
                           	WalkableType = WalkableType.Solid,
                           	Sounds = solidSounds,
                           });
            m.SetBlockType(26, "AquaGreenCloth", new BlockType()
                           {
                           	AllTextures = "AquaGreenCloth",
                           	DrawType = DrawType.Solid,
                           	WalkableType = WalkableType.Solid,
                           	Sounds = solidSounds,
                           });
            m.SetBlockType(27, "CyanCloth", new BlockType()
                           {
                           	AllTextures = "CyanCloth",
                           	DrawType = DrawType.Solid,
                           	WalkableType = WalkableType.Solid,
                           	Sounds = solidSounds,
                           });
            m.SetBlockType(28, "BlueCloth", new BlockType()
                           {
                           	AllTextures = "BlueCloth",
                           	DrawType = DrawType.Solid,
                           	WalkableType = WalkableType.Solid,
                           	Sounds = solidSounds,
                           });
            m.SetBlockType(29, "PurpleCloth", new BlockType()
                           {
                           	AllTextures = "PurpleCloth",
                           	DrawType = DrawType.Solid,
                           	WalkableType = WalkableType.Solid,
                           	Sounds = solidSounds,
                           });
            m.SetBlockType(30, "IndigoCloth", new BlockType()
                           {
                           	AllTextures = "IndigoCloth",
                           	DrawType = DrawType.Solid,
                           	WalkableType = WalkableType.Solid,
                           	Sounds = solidSounds,
                           });
            m.SetBlockType(31, "VioletCloth", new BlockType()
                           {
                           	AllTextures = "VioletCloth",
                           	DrawType = DrawType.Solid,
                           	WalkableType = WalkableType.Solid,
                           	Sounds = solidSounds,
                           });
            m.SetBlockType(32, "MagentaCloth", new BlockType()
                           {
                           	AllTextures = "MagentaCloth",
                           	DrawType = DrawType.Solid,
                           	WalkableType = WalkableType.Solid,
                           	Sounds = solidSounds,
                           });
            m.SetBlockType(33, "PinkCloth", new BlockType()
                           {
                           	AllTextures = "PinkCloth",
                           	DrawType = DrawType.Solid,
                           	WalkableType = WalkableType.Solid,
                           	Sounds = solidSounds,
                           });
            m.SetBlockType(34, "BlackCloth", new BlockType()
                           {
                           	AllTextures = "BlackCloth",
                           	DrawType = DrawType.Solid,
                           	WalkableType = WalkableType.Solid,
                           	Sounds = solidSounds,
                           });
            m.SetBlockType(35, "GrayCloth", new BlockType()
                           {
                           	AllTextures = "GrayCloth",
                           	DrawType = DrawType.Solid,
                           	WalkableType = WalkableType.Solid,
                           	Sounds = solidSounds,
                           });
            m.SetBlockType(36, "WhiteCloth", new BlockType()
                           {
                           	AllTextures = "WhiteCloth",
                           	DrawType = DrawType.Solid,
                           	WalkableType = WalkableType.Solid,
                           	Sounds = solidSounds,
                           });
            m.SetBlockType(37, "YellowFlowerDecorations", new BlockType()
                           {
                           	AllTextures = "YellowFlowerDecorations",
                           	DrawType = DrawType.Plant,
                           	WalkableType = WalkableType.Empty,
                           	Sounds = solidSounds,
                           });
            m.SetBlockType(38, "RedRoseDecorations", new BlockType()
                           {
                           	AllTextures = "RedRoseDecorations",
                           	DrawType = DrawType.Plant,
                           	WalkableType = WalkableType.Empty,
                           	Sounds = solidSounds,
                           });
            m.SetBlockType(39, "RedMushroom", new BlockType()
                           {
                           	AllTextures = "RedMushroom",
                           	DrawType = DrawType.Plant,
                           	WalkableType = WalkableType.Empty,
                           	Sounds = solidSounds,
                           });
            m.SetBlockType(40, "BrownMushroom", new BlockType()
                           {
                           	AllTextures = "BrownMushroom",
                           	DrawType = DrawType.Plant,
                           	WalkableType = WalkableType.Empty,
                           	Sounds = solidSounds,
                           });
            m.SetBlockType(41, "GoldBlock", new BlockType()
                           {
                           	AllTextures = "GoldBlock",
                           	DrawType = DrawType.Solid,
                           	WalkableType = WalkableType.Solid,
                           	Sounds = solidSounds,
                           });
            m.SetBlockType(42, "IronBlock", new BlockType()
                           {
                           	AllTextures = "IronBlock",
                           	DrawType = DrawType.Solid,
                           	WalkableType = WalkableType.Solid,
                           	Sounds = solidSounds,
                           });
            m.SetBlockType(43, "DoubleStair", new BlockType()
                           {
                           	TopBottomTextures = "Stair",
                           	SideTextures = "DoubleStairSide",
                           	TextureIdForInventory = "DoubleStairSide",
                           	DrawType = DrawType.Solid,
                           	WalkableType = WalkableType.Solid,
                           	Sounds = solidSounds,
                           });
            m.SetBlockType(44, "Stair", new BlockType()
                           {
                           	TopBottomTextures = "Stair",
                           	SideTextures = "StairSide",
                           	TextureIdForInventory = "StairInventory",
                           	DrawType = DrawType.HalfHeight,
                           	WalkableType = WalkableType.Solid,
                           	Sounds = solidSounds,
                           });
            m.SetBlockType(45, "Brick", new BlockType()
                           {
                           	AllTextures = "Brick",
                           	DrawType = DrawType.Solid,
                           	WalkableType = WalkableType.Solid,
                           	Sounds = solidSounds,
                           });
            m.SetBlockType(47, "Bookcase", new BlockType()
                           {
                           	TopBottomTextures = "OakWood",
                           	SideTextures = "Bookcase",
                           	TextureIdForInventory = "Bookcase",
                           	DrawType = DrawType.Solid,
                           	WalkableType = WalkableType.Solid,
                           	Sounds = solidSounds,
                           });
            m.SetBlockType(48, "MossyCobblestone", new BlockType()
                           {
                           	AllTextures = "MossyCobblestone",
                           	DrawType = DrawType.Solid,
                           	WalkableType = WalkableType.Solid,
                           	Sounds = solidSounds,
                           });
            m.SetBlockType(49, "Obsidian", new BlockType()
                           {
                           	AllTextures = "Obsidian",
                           	DrawType = DrawType.Solid,
                           	WalkableType = WalkableType.Solid,
                           	Sounds = solidSounds,
                           });
            m.SetBlockType(50, "Torch", new BlockType()
                           {
                           	TextureIdTop = "TorchTop",
                           	TextureIdBottom = "Torch",
                           	SideTextures = "Torch",
                           	TextureIdForInventory = "Torch",
                           	LightRadius = 15,
                           	DrawType = DrawType.Torch,
                           	WalkableType = WalkableType.Empty,
                           	Sounds = solidSounds,
                           });
            m.SetBlockType(51, "Clay", new BlockType()
                           {
                           	AllTextures = "Clay",
                           	DrawType = DrawType.Solid,
                           	WalkableType = WalkableType.Solid,
                           	Sounds = solidSounds,
                           });
            m.SetBlockType(52, "Marble", new BlockType()
                           {
                           	AllTextures = "Marble",
                           	DrawType = DrawType.Solid,
                           	WalkableType = WalkableType.Solid,
                           	Sounds = solidSounds,
                           });
            m.SetBlockType(53, "Granite", new BlockType()
                           {
                           	AllTextures = "Granite",
                           	DrawType = DrawType.Solid,
                           	WalkableType = WalkableType.Solid,
                           	Sounds = solidSounds,
                           });
            m.SetBlockType(54, "RedSand", new BlockType()
                           {
                           	AllTextures = "RedSand",
                           	DrawType = DrawType.Solid,
                           	WalkableType = WalkableType.Solid,
                           	Sounds = solidSounds,
                           });
            m.SetBlockType(55, "Sandstone", new BlockType()
                           {
                           	AllTextures = "Sandstone",
                           	DrawType = DrawType.Solid,
                           	WalkableType = WalkableType.Solid,
                           	Sounds = solidSounds,
                           });
            m.SetBlockType(56, "RedSandstone", new BlockType()
                           {
                           	AllTextures = "RedSandstone",
                           	DrawType = DrawType.Solid,
                           	WalkableType = WalkableType.Solid,
                           	Sounds = solidSounds,
                           });
            m.SetBlockType(57, "Cactus", new BlockType()
                           {
                           	TopBottomTextures = "CactusTopBottom",
                           	SideTextures = "CactusSide",
                           	TextureIdForInventory = "CactusSide",
                           	DrawType = DrawType.Cactus,
                           	WalkableType = WalkableType.Solid,
                           	Sounds = solidSounds,
                           });
            m.SetBlockType(58, "DeadPlant", new BlockType()
                           {
                           	AllTextures = "DeadPlant",
                           	DrawType = DrawType.Plant,
                           	WalkableType = WalkableType.Empty,
                           	Sounds = solidSounds,
                           });
            m.SetBlockType(59, "GrassPlant", new BlockType()
                           {
                           	AllTextures = "GrassPlant",
                           	DrawType = DrawType.Plant,
                           	WalkableType = WalkableType.Empty,
                           	Sounds = solidSounds,
                           });
            m.SetBlockType(60, "BirchTreeTrunk", new BlockType()
                           {
                           	TopBottomTextures = "BirchTreeTrunkTopBottom",
                           	SideTextures = "BirchTreeTrunk",
                           	TextureIdForInventory = "BirchTreeTrunk",
                           	DrawType = DrawType.Solid,
                           	WalkableType = WalkableType.Solid,
                           	Sounds = solidSounds,
                           });
            m.SetBlockType(61, "BirchLeaves", new BlockType()
                           {
                           	AllTextures = "BirchLeaves",
                           	DrawType = DrawType.Transparent,
                           	WalkableType = WalkableType.Solid,
                           	Sounds = solidSounds,
                           });
            m.SetBlockType(62, "BirchSapling", new BlockType()
                           {
                           	AllTextures = "BirchSapling",
                           	DrawType = DrawType.Plant,
                           	WalkableType = WalkableType.Empty,
                           	Sounds = solidSounds,
                           });
            m.SetBlockType(63, "BirchWood", new BlockType()
                           {
                           	AllTextures = "BirchWood",
                           	DrawType = DrawType.Solid,
                           	WalkableType = WalkableType.Solid,
                           	Sounds = solidSounds,
                           });
            m.SetBlockType(64, "SpruceTreeTrunk", new BlockType()
                           {
                           	TopBottomTextures = "SpruceTreeTrunkTopBottom",
                           	SideTextures = "SpruceTreeTrunk",
                           	TextureIdForInventory = "SpruceTreeTrunk",
                           	DrawType = DrawType.Solid,
                           	WalkableType = WalkableType.Solid,
                           	Sounds = solidSounds,
                           });
            m.SetBlockType(65, "SpruceLeaves", new BlockType()
                           {
                           	AllTextures = "SpruceLeaves",
                           	DrawType = DrawType.Transparent,
                           	WalkableType = WalkableType.Solid,
                           	Sounds = solidSounds,
                           });
            m.SetBlockType(66, "SpruceSapling", new BlockType()
                           {
                           	AllTextures = "SpruceSapling",
                           	DrawType = DrawType.Plant,
                           	WalkableType = WalkableType.Empty,
                           	Sounds = solidSounds,
                           });
            m.SetBlockType(67, "SpruceWood", new BlockType()
                           {
                           	AllTextures = "SpruceWood",
                           	DrawType = DrawType.Solid,
                           	WalkableType = WalkableType.Solid,
                           	Sounds = solidSounds,
                           });
            m.SetBlockType(68, "HalfCobblestone", new BlockType()
                           {
                           	TopBottomTextures = "Cobblestone",
                           	SideTextures = "CobblestoneHalf",
                           	TextureIdForInventory = "CobblestoneHalfInventory",
                           	DrawType = DrawType.HalfHeight,
                           	WalkableType = WalkableType.Solid,
                           	Sounds = solidSounds,
                           });
            m.SetBlockType(69, "HalfMossyCobblestone", new BlockType()
                           {
                           	TopBottomTextures = "MossyCobblestone",
                           	SideTextures = "MossyCobblestoneHalf",
                           	TextureIdForInventory = "MossyCobblestoneHalfInventory",
                           	DrawType = DrawType.HalfHeight,
                           	WalkableType = WalkableType.Solid,
                           	Sounds = solidSounds,
                           });
            m.SetBlockType(70, "HalfOakWood", new BlockType()
                           {
                           	TopBottomTextures = "OakWood",
                           	SideTextures = "OakWoodHalf",
                           	TextureIdForInventory = "OakWoodHalfInventory",
                           	DrawType = DrawType.HalfHeight,
                           	WalkableType = WalkableType.Solid,
                           	Sounds = solidSounds,
                           });
            m.SetBlockType(71, "HalfBirchWood", new BlockType()
                           {
                           	TopBottomTextures = "BirchWood",
                           	SideTextures = "BirchWoodHalf",
                           	TextureIdForInventory = "BirchWoodHalfInventory",
                           	DrawType = DrawType.HalfHeight,
                           	WalkableType = WalkableType.Solid,
                           	Sounds = solidSounds,
                           });
            m.SetBlockType(72, "HalfSpruceWood", new BlockType()
                           {
                           	TopBottomTextures = "SpruceWood",
                           	SideTextures = "SpruceWoodHalf",
                           	TextureIdForInventory = "SpruceWoodHalfInventory",
                           	DrawType = DrawType.HalfHeight,
                           	WalkableType = WalkableType.Solid,
                           	Sounds = solidSounds,
                           });
            m.SetBlockType(73, "HalfBrick", new BlockType()
                           {
                           	TopBottomTextures = "Brick",
                           	SideTextures = "BrickHalf",
                           	TextureIdForInventory = "BrickHalfInventory",
                           	DrawType = DrawType.HalfHeight,
                           	WalkableType = WalkableType.Solid,
                           	Sounds = solidSounds,
                           });
            m.SetBlockType(74, "HalfSandBrick", new BlockType()
                           {
                           	TopBottomTextures = "SandBrick",
                           	SideTextures = "SandBrickHalf",
                           	TextureIdForInventory = "SandBrickHalfInventory",
                           	DrawType = DrawType.HalfHeight,
                           	WalkableType = WalkableType.Solid,
                           	Sounds = solidSounds,
                           });
            m.SetBlockType(75, "Bog", new BlockType()
                           {
                            AllTextures = "Bog",
                            DrawType = DrawType.Solid,
                            WalkableType = WalkableType.Solid,
                            Sounds = solidSounds,
                            WalkSpeed = 0.5f,
                           });
            m.SetBlockType(100, "BrushedMetal", new BlockType()
                           {
                           	AllTextures = "BrushedMetal",
                           	DrawType = DrawType.Solid,
                           	WalkableType = WalkableType.Solid,
                           	Sounds = solidSounds,
                           });
            m.SetBlockType(101, "ChemicalGreen", new BlockType()
                           {
                           	AllTextures = "ChemicalGreen",
                           	DrawType = DrawType.Solid,
                           	WalkableType = WalkableType.Solid,
                           	Sounds = solidSounds,
                           });
            m.SetBlockType(102, "Salt", new BlockType()
                           {
                           	AllTextures = "Salt",
                           	DrawType = DrawType.Solid,
                           	WalkableType = WalkableType.Solid,
                           	Sounds = solidSounds,
                           });
            m.SetBlockType(103, "Roof", new BlockType()
                           {
                           	AllTextures = "Roof",
                           	DrawType = DrawType.Solid,
                           	WalkableType = WalkableType.Solid,
                           	Sounds = solidSounds,
                           });
            m.SetBlockType(104, "Camouflage", new BlockType()
                           {
                           	AllTextures = "Camouflage",
                           	DrawType = DrawType.Solid,
                           	WalkableType = WalkableType.Solid,
                           	Sounds = solidSounds,
                           });
            m.SetBlockType(105, "DirtForFarming", new BlockType()
                           {
                           	AllTextures = "DirtForFarming",
                           	DrawType = DrawType.Solid,
                           	WalkableType = WalkableType.Solid,
                           	Sounds = solidSounds,
                           });
            m.SetBlockType(106, "Apples", new BlockType()
                           {
                           	AllTextures = "Apples",
                           	DrawType = DrawType.Transparent,
                           	WalkableType = WalkableType.Solid,
                           	Sounds = solidSounds,
                           });
            m.SetBlockType(107, "Hay", new BlockType()
                           {
                           	AllTextures = "Hay",
                           	DrawType = DrawType.Transparent,
                           	WalkableType = WalkableType.Solid,
                           	Sounds = solidSounds,
                           });
            m.SetBlockType(108, "Crops1", new BlockType()
                           {
                           	AllTextures = "Crops1",
                           	DrawType = DrawType.Plant,
                           	WalkableType = WalkableType.Empty,
                           	Sounds = solidSounds,
                           });
            m.SetBlockType(109, "Crops2", new BlockType()
                           {
                           	AllTextures = "Crops2",
                           	DrawType = DrawType.Plant,
                           	WalkableType = WalkableType.Empty,
                           	Sounds = solidSounds,
                           });
            m.SetBlockType(110, "Crops3", new BlockType()
                           {
                           	AllTextures = "Crops3",
                           	DrawType = DrawType.Plant,
                           	WalkableType = WalkableType.Empty,
                           	Sounds = solidSounds,
                           });
            m.SetBlockType(111, "Crops4", new BlockType()
                           {
                           	AllTextures = "Crops4",
                           	DrawType = DrawType.Plant,
                           	WalkableType = WalkableType.Empty,
                           	Sounds = solidSounds,
                           });
            m.SetBlockType(112, "CraftingTable", new BlockType()
                           {
                           	TopBottomTextures = "CraftingTableTopBottom",
                           	SideTextures = "CraftingTableSide",
                           	TextureIdForInventory = "CraftingTableTopBottom",
                           	DrawType = DrawType.Solid,
                           	WalkableType = WalkableType.Solid,
                           	Sounds = solidSounds,
                           	IsUsable = true,
                           });
            m.SetBlockType(113, "Minecart", new BlockType()
                           {
                           	AllTextures = "Minecart",
                           	DrawType = DrawType.Solid,
                           	WalkableType = WalkableType.Solid,
                           	Sounds = solidSounds,
                           });
            m.SetBlockType(114, "Trampoline", new BlockType()
                           {
                           	AllTextures = "Trampoline",
                           	DrawType = DrawType.Solid,
                           	WalkableType = WalkableType.Solid,
                           	Sounds = solidSounds,
                           });
            m.SetBlockType(115, "FillStart", new BlockType()
                           {
                           	AllTextures = "FillStart",
                           	DrawType = DrawType.Solid,
                           	WalkableType = WalkableType.Solid,
                           	Sounds = solidSounds,
                           });
            m.SetBlockType(116, "Cuboid", new BlockType()
                           {
                           	AllTextures = "FillEnd",
                           	DrawType = DrawType.Solid,
                           	WalkableType = WalkableType.Solid,
                           	Sounds = solidSounds,
                           });
            m.SetBlockType(117, "FillArea", new BlockType()
                           {
                           	AllTextures = "FillArea",
                           	DrawType = DrawType.Fluid,
                           	WalkableType = WalkableType.Fluid,
                           	Sounds = solidSounds,
                           });
            m.SetBlockType(118, "Water0", new BlockType()
                           {
                           	AllTextures = "Water",
                           	DrawType = DrawType.Fluid,
                           	WalkableType = WalkableType.Fluid,
                           	Sounds = solidSounds,
                           });
            m.SetBlockType(119, "Water1", new BlockType()
                           {
                           	AllTextures = "Water",
                           	DrawType = DrawType.Fluid,
                           	WalkableType = WalkableType.Fluid,
                           	Sounds = solidSounds,
                           });
            m.SetBlockType(120, "Water2", new BlockType()
                           {
                           	AllTextures = "Water",
                           	DrawType = DrawType.Fluid,
                           	WalkableType = WalkableType.Fluid,
                           	Sounds = solidSounds,
                           });
            m.SetBlockType(121, "Water3", new BlockType()
                           {
                           	AllTextures = "Water",
                           	DrawType = DrawType.Fluid,
                           	WalkableType = WalkableType.Fluid,
                           	Sounds = solidSounds,
                           });
            m.SetBlockType(122, "Water4", new BlockType()
                           {
                           	AllTextures = "Water",
                           	DrawType = DrawType.Fluid,
                           	WalkableType = WalkableType.Fluid,
                           	Sounds = solidSounds,
                           });
            m.SetBlockType(123, "Water5", new BlockType()
                           {
                           	AllTextures = "Water",
                           	DrawType = DrawType.Fluid,
                           	WalkableType = WalkableType.Fluid,
                           	Sounds = solidSounds,
                           });
            m.SetBlockType(124, "Water6", new BlockType()
                           {
                           	AllTextures = "Water",
                           	DrawType = DrawType.Fluid,
                           	WalkableType = WalkableType.Fluid,
                           	Sounds = solidSounds,
                           });
            m.SetBlockType(125, "Water7", new BlockType()
                           {
                           	AllTextures = "Water",
                           	DrawType = DrawType.Fluid,
                           	WalkableType = WalkableType.Fluid,
                           	Sounds = solidSounds,
                           });
            m.SetBlockType(130, "GrassTrap", new BlockType()
                           {
                           	TextureIdTop = "Grass",
                           	SideTextures = "GrassSide",
                           	TextureIdForInventory = "GrassSide",
                           	TextureIdBottom = "Dirt",
                           	DrawType = DrawType.Solid,
                           	WalkableType = WalkableType.Empty,
                           	Sounds = solidSounds,
                           });
            m.SetBlockType(131, "GoldCoin", new BlockType()
                           {
                           	AllTextures = "GoldCoin",
                           	DrawType = DrawType.Solid,
                           	WalkableType = WalkableType.Solid,
                           	Sounds = solidSounds,
                           });
            m.SetBlockType(132, "GoldBar", new BlockType()
                           {
                           	TopBottomTextures = "GoldBarTopBottom",
                           	SideTextures = "GoldBarSide",
                           	TextureIdForInventory = "GoldBarInvetory",
                           	DrawType = DrawType.Solid,
                           	WalkableType = WalkableType.Solid,
                           	Sounds = solidSounds,
                           	LightRadius = 5,
                           });
            m.SetBlockType(133, "SilverOre", new BlockType()
                           {
                           	AllTextures = "SilverOre",
                           	DrawType = DrawType.Solid,
                           	WalkableType = WalkableType.Solid,
                           	Sounds = solidSounds,
                           });
            m.SetBlockType(135, "SilverCoin", new BlockType()
                           {
                           	AllTextures = "SilverCoin",
                           	DrawType = DrawType.Solid,
                           	WalkableType = WalkableType.Solid,
                           	Sounds = solidSounds,
                           });
            m.SetBlockType(140, "DirtBrick", new BlockType()
                           {
                           	AllTextures = "DirtBrick",
                           	DrawType = DrawType.Solid,
                           	WalkableType = WalkableType.Solid,
                           	Sounds = solidSounds,
                           });
            m.SetBlockType(141, "LuxuryRoof", new BlockType()
                           {
                           	AllTextures = "LuxuryRoof",
                           	DrawType = DrawType.Solid,
                           	WalkableType = WalkableType.Solid,
                           	Sounds = solidSounds,
                           });
            m.SetBlockType(142, "SandBrick", new BlockType()
                           {
                           	AllTextures = "SandBrick",
                           	DrawType = DrawType.Solid,
                           	WalkableType = WalkableType.Solid,
                           	Sounds = solidSounds,
                           });
            m.SetBlockType(143, "FakeBookcase", new BlockType()
                           {
                           	TopBottomTextures = "OakWood",
                           	SideTextures = "Bookcase",
                           	TextureIdForInventory = "Bookcase",
                           	DrawType = DrawType.Solid,
                           	WalkableType = WalkableType.Empty,
                           	Sounds = solidSounds,
                           });
            m.SetBlockType(144, "WoodDesk", new BlockType()
                           {
                           	TextureIdTop = "WoodBlock",
                           	TextureIdBottom = "Empty",
                           	SideTextures = "GlassDeskSide",
                           	TextureIdForInventory = "WoodBlock",
                           	DrawType = DrawType.Transparent,
                           	WalkableType = WalkableType.Solid,
                           	Sounds = solidSounds,
                           });
            m.SetBlockType(145, "GlassDesk", new BlockType()
                           {
                           	TextureIdTop = "Glass",
                           	TextureIdBottom = "Empty",
                           	SideTextures = "GlassDeskSide",
                           	TextureIdForInventory = "GlassDeskSide",
                           	DrawType = DrawType.Transparent,
                           	WalkableType = WalkableType.Solid,
                           	Sounds = solidSounds,
                           });
            m.SetBlockType(146, "Mosaik", new BlockType()
                           {
                           	AllTextures = "Mosaik",
                           	DrawType = DrawType.Solid,
                           	WalkableType = WalkableType.Solid,
                           	Sounds = solidSounds,
                           });
            m.SetBlockType(147, "Asphalt", new BlockType()
                           {
                           	AllTextures = "Asphalt",
                           	DrawType = DrawType.Solid,
                           	WalkableType = WalkableType.Solid,
                           	Sounds = solidSounds,
                           });
            m.SetBlockType(148, "Cake", new BlockType()
                           {
                           	TextureIdTop = "CakeTop",
                           	TextureIdBottom = "Gray",
                           	SideTextures = "CakeSide",
                           	TextureIdForInventory = "CakeTop",
                           	DrawType = DrawType.Solid,
                           	WalkableType = WalkableType.Solid,
                           	Sounds = solidSounds,
                           });
            m.SetBlockType(149, "Fire", new BlockType()
                           {
                           	AllTextures = "Fire",
                           	LightRadius = 15,
                           	DrawType = DrawType.Plant,
                           	WalkableType = WalkableType.Empty,
                           	Sounds = solidSounds,
                           	DamageToPlayer = 2,
                           });
            m.SetBlockType(150, "Fence", new BlockType()
                           {
                           	AllTextures = "Fence",
                           	DrawType = DrawType.Fence,
                           	WalkableType = WalkableType.Solid,
                           	Sounds = solidSounds,
                           });
            m.SetBlockType(151, "Compass", new BlockType()
                           {
                           	AllTextures = "Compass",
                           	TextureIdForInventory = "CompassInventory",
                           	DrawType = DrawType.Plant,
                           	WalkableType = WalkableType.Solid,
                           	Sounds = solidSounds,
                           });
            m.SetBlockType(152, "Ladder", new BlockType()
                           {
                           	AllTextures = "Ladder",
                           	DrawType = DrawType.Ladder,
                           	WalkableType = WalkableType.Fluid,
                           	Sounds = solidSounds,
                           });
            m.SetBlockType(153, "EmptyHand", new BlockType()
                           {
                           	AllTextures = "YellowThing",
                           	DrawType = DrawType.Torch,
                           	WalkableType = WalkableType.Empty,
                           	Sounds = noSound,
                           });
            for (int i = 0; i < 64; i++)
            {
                m.SetBlockType(176 + i, "Rail" + i.ToString(), new BlockType()
                               {
                               	TextureIdTop = "Rail" + i.ToString(),
                               	TextureIdBottom = "Cobblestone",
                               	SideTextures = "Cobblestone",
                               	TextureIdForInventory = "Rail" + i.ToString(),
                               	DrawType = DrawType.Transparent,
                               	WalkableType = WalkableType.Solid,
                               	Sounds = solidSounds,
                               	Rail = i,
                               });
            }
            m.SetBlockType(241, "RedCarpet", new BlockType()
                           {
                           	AllTextures = "RedCloth",
                           	DrawType = DrawType.Flat,
                           	WalkableType = WalkableType.Empty,
                           	Sounds = solidSounds
                           });
            m.SetBlockType(242, "OrangeCarpet", new BlockType()
                           {
                           	AllTextures = "OrangeCloth",
                           	DrawType = DrawType.Flat,
                           	WalkableType = WalkableType.Empty,
                           	Sounds = solidSounds
                           });
            m.SetBlockType(243, "YellowCarpet", new BlockType()
                           {
                           	AllTextures = "YellowCloth",
                           	DrawType = DrawType.Flat,
                           	WalkableType = WalkableType.Empty,
                           	Sounds = solidSounds
                           });
            m.SetBlockType(244, "LightGreenCarpet", new BlockType()
                           {
                           	AllTextures = "LightGreenCloth",
                           	DrawType = DrawType.Flat,
                           	WalkableType = WalkableType.Empty,
                           	Sounds = solidSounds
                           });
            m.SetBlockType(245, "GreenCarpet", new BlockType()
                           {
                           	AllTextures = "GreenCloth",
                           	DrawType = DrawType.Flat,
                           	WalkableType = WalkableType.Empty,
                           	Sounds = solidSounds
                           });
            m.SetBlockType(246, "AquaGreenCarpet", new BlockType()
                           {
                           	AllTextures = "AquaGreenCloth",
                           	DrawType = DrawType.Flat,
                           	WalkableType = WalkableType.Empty,
                           	Sounds = solidSounds
                           });
            m.SetBlockType(247, "CyanCarpet", new BlockType()
                           {
                           	AllTextures = "CyanCloth",
                           	DrawType = DrawType.Flat,
                           	WalkableType = WalkableType.Empty,
                           	Sounds = solidSounds
                           });
            m.SetBlockType(248, "BlueCarpet", new BlockType()
                           {
                           	AllTextures = "BlueCloth",
                           	DrawType = DrawType.Flat,
                           	WalkableType = WalkableType.Empty,
                           	Sounds = solidSounds
                           });
            m.SetBlockType(249, "PurpleCarpet", new BlockType()
                           {
                           	AllTextures = "PurpleCloth",
                           	DrawType = DrawType.Flat,
                           	WalkableType = WalkableType.Empty,
                           	Sounds = solidSounds
                           });
            m.SetBlockType(250, "IndigoCarpet", new BlockType()
                           {
                           	AllTextures = "IndigoCloth",
                           	DrawType = DrawType.Flat,
                           	WalkableType = WalkableType.Empty,
                           	Sounds = solidSounds
                           });
            m.SetBlockType(251, "VioletCarpet", new BlockType()
                           {
                           	AllTextures = "VioletCloth",
                           	DrawType = DrawType.Flat,
                           	WalkableType = WalkableType.Empty,
                           	Sounds = solidSounds
                           });
            m.SetBlockType(252, "MagentaCarpet", new BlockType()
                           {
                           	AllTextures = "MagentaCloth",
                           	DrawType = DrawType.Flat,
                           	WalkableType = WalkableType.Empty,
                           	Sounds = solidSounds
                           });
            m.SetBlockType(253, "PinkCarpet", new BlockType()
                           {
                           	AllTextures = "PinkCloth",
                           	DrawType = DrawType.Flat,
                           	WalkableType = WalkableType.Empty,
                           	Sounds = solidSounds
                           });
            m.SetBlockType(254, "BlackCarpet", new BlockType()
                           {
                           	AllTextures = "BlackCloth",
                           	DrawType = DrawType.Flat,
                           	WalkableType = WalkableType.Empty,
                           	Sounds = solidSounds
                           });
            m.SetBlockType(255, "GrayCarpet", new BlockType()
                           {
                           	AllTextures = "GrayCloth",
                           	DrawType = DrawType.Flat,
                           	WalkableType = WalkableType.Empty,
                           	Sounds = solidSounds
                           });
            m.SetBlockType(256, "WhiteCarpet", new BlockType()
                           {
                           	AllTextures = "WhiteCloth",
                           	DrawType = DrawType.Flat,
                           	WalkableType = WalkableType.Empty,
                           	Sounds = solidSounds
                           });
            #endregion

            #region Creative inventory
            m.AddToCreativeInventory("Stone");
            m.AddToCreativeInventory("Dirt");
            m.AddToCreativeInventory("Cobblestone");
            m.AddToCreativeInventory("OakWood");
            m.AddToCreativeInventory("OakSapling");
            //m.AddToCreativeInventory("Adminium");
            m.AddToCreativeInventory("Water");
            m.AddToCreativeInventory("Lava");
            m.AddToCreativeInventory("Sand");
            m.AddToCreativeInventory("Gravel");
            m.AddToCreativeInventory("GoldOre");
            m.AddToCreativeInventory("IronOre");
            m.AddToCreativeInventory("CoalOre");
            m.AddToCreativeInventory("OakTreeTrunk");
            m.AddToCreativeInventory("OakLeaves");
            m.AddToCreativeInventory("Sponge");
            m.AddToCreativeInventory("Glass");
            m.AddToCreativeInventory("RedCloth");
            m.AddToCreativeInventory("OrangeCloth");
            m.AddToCreativeInventory("YellowCloth");
            m.AddToCreativeInventory("LightGreenCloth");
            m.AddToCreativeInventory("GreenCloth");
            m.AddToCreativeInventory("AquaGreenCloth");
            m.AddToCreativeInventory("CyanCloth");
            m.AddToCreativeInventory("BlueCloth");
            m.AddToCreativeInventory("PurpleCloth");
            m.AddToCreativeInventory("IndigoCloth");
            m.AddToCreativeInventory("VioletCloth");
            m.AddToCreativeInventory("MagentaCloth");
            m.AddToCreativeInventory("PinkCloth");
            m.AddToCreativeInventory("BlackCloth");
            m.AddToCreativeInventory("GrayCloth");
            m.AddToCreativeInventory("WhiteCloth");
            m.AddToCreativeInventory("RedCarpet");
            m.AddToCreativeInventory("OrangeCarpet");
            m.AddToCreativeInventory("YellowCarpet");
            m.AddToCreativeInventory("LightGreenCarpet");
            m.AddToCreativeInventory("GreenCarpet");
            m.AddToCreativeInventory("AquaGreenCarpet");
            m.AddToCreativeInventory("CyanCarpet");
            m.AddToCreativeInventory("BlueCarpet");
            m.AddToCreativeInventory("PurpleCarpet");
            m.AddToCreativeInventory("IndigoCarpet");
            m.AddToCreativeInventory("VioletCarpet");
            m.AddToCreativeInventory("MagentaCarpet");
            m.AddToCreativeInventory("PinkCarpet");
            m.AddToCreativeInventory("BlackCarpet");
            m.AddToCreativeInventory("GrayCarpet");
            m.AddToCreativeInventory("WhiteCarpet");
            m.AddToCreativeInventory("YellowFlowerDecorations");
            m.AddToCreativeInventory("RedRoseDecorations");
            m.AddToCreativeInventory("RedMushroom");
            m.AddToCreativeInventory("BrownMushroom");
            m.AddToCreativeInventory("GoldBlock");
            m.AddToCreativeInventory("IronBlock");
            m.AddToCreativeInventory("DoubleStair");
            m.AddToCreativeInventory("Stair");
            m.AddToCreativeInventory("Brick");
            m.AddToCreativeInventory("Bookcase");
            m.AddToCreativeInventory("MossyCobblestone");
            m.AddToCreativeInventory("Obsidian");
            m.AddToCreativeInventory("Torch");
            m.AddToCreativeInventory("BrushedMetal");
            m.AddToCreativeInventory("ChemicalGreen");
            m.AddToCreativeInventory("Salt");
            m.AddToCreativeInventory("Roof");
            m.AddToCreativeInventory("Camouflage");
            m.AddToCreativeInventory("DirtForFarming");
            m.AddToCreativeInventory("Apples");
            m.AddToCreativeInventory("Hay");
            m.AddToCreativeInventory("Crops1");
            m.AddToCreativeInventory("CraftingTable");
            m.AddToCreativeInventory("Trampoline");
            m.AddToCreativeInventory("FillStart");
            m.AddToCreativeInventory("Cuboid");
            m.AddToCreativeInventory("FillArea");
            m.AddToCreativeInventory("GrassTrap");
            m.AddToCreativeInventory("GoldCoin");
            m.AddToCreativeInventory("GoldBar");
            m.AddToCreativeInventory("SilverOre");
            m.AddToCreativeInventory("SilverCoin");
            m.AddToCreativeInventory("DirtBrick");
            m.AddToCreativeInventory("LuxuryRoof");
            m.AddToCreativeInventory("SandBrick");
            m.AddToCreativeInventory("FakeBookcase");
            m.AddToCreativeInventory("WoodDesk");
            m.AddToCreativeInventory("GlassDesk");
            m.AddToCreativeInventory("Mosaik");
            m.AddToCreativeInventory("Asphalt");
            m.AddToCreativeInventory("Cake");
            m.AddToCreativeInventory("Fire");
            m.AddToCreativeInventory("Fence");
            m.AddToCreativeInventory("Compass");
            m.AddToCreativeInventory("Ladder");
            m.AddToCreativeInventory("Rail3");
            m.AddToCreativeInventory("Rail60");
            m.AddToCreativeInventory("Clay");
            m.AddToCreativeInventory("Marble");
            m.AddToCreativeInventory("Granite");
            m.AddToCreativeInventory("Sandstone");
            m.AddToCreativeInventory("RedSand");
            m.AddToCreativeInventory("RedSandstone");
            m.AddToCreativeInventory("Cactus");
            m.AddToCreativeInventory("DeadPlant");
            m.AddToCreativeInventory("GrassPlant");
            m.AddToCreativeInventory("BirchTreeTrunk");
            m.AddToCreativeInventory("BirchLeaves");
            m.AddToCreativeInventory("BirchSapling");
            m.AddToCreativeInventory("BirchWood");
            m.AddToCreativeInventory("SpruceTreeTrunk");
            m.AddToCreativeInventory("SpruceLeaves");
            m.AddToCreativeInventory("SpruceSapling");
            m.AddToCreativeInventory("SpruceWood");
            m.AddToCreativeInventory("HalfCobblestone");
            m.AddToCreativeInventory("HalfMossyCobblestone");
            m.AddToCreativeInventory("HalfOakWood");
            m.AddToCreativeInventory("HalfBirchWood");
            m.AddToCreativeInventory("HalfSpruceWood");
            m.AddToCreativeInventory("HalfBrick");
            m.AddToCreativeInventory("HalfSandBrick");
            m.AddToCreativeInventory("Bog");
            #endregion

            #region Start inventory
            m.AddToStartInventory("Torch", 6);
            m.AddToStartInventory("Crops1", 1);
            m.AddToStartInventory("CraftingTable", 6);
            m.AddToStartInventory("GoldCoin", 2);
            m.AddToStartInventory("GoldBar", 5);
            m.AddToStartInventory("SilverCoin", 1);
            m.AddToStartInventory("Compass", 1);
            #endregion
        }