protected override void Bootstrap() { int dirtId = Blocks.AddTexture(this.dirtTexture); int grassSideId = Blocks.AddTexture(this.grassSideTexture); int grassTopId = Blocks.AddTexture(this.grassTopTexture); int stoneId = Blocks.AddTexture(this.stoneTexture); int glassId = Blocks.AddTexture(this.glassTexture); int bedrockId = Blocks.AddTexture(this.bedrockTexture); int leavesId = Blocks.AddTexture(this.leavesTexture); int treeId = Blocks.AddTexture(this.treeTexture); Blocks.BuildTextureAtlas(); Blocks.RegisterBlock(1).SetTextures(grassTopId, dirtId, grassSideId, grassSideId, grassSideId, grassSideId, false); Blocks.RegisterBlock(2).SetTextures(dirtId, dirtId, dirtId, dirtId, dirtId, dirtId, false); Blocks.RegisterBlock(3).SetTextures(stoneId, stoneId, stoneId, stoneId, stoneId, stoneId, false); Blocks.RegisterBlock(4).SetTextures(glassId, glassId, glassId, glassId, glassId, glassId, true); Blocks.RegisterBlock(5).SetTextures(bedrockId, bedrockId, bedrockId, bedrockId, bedrockId, bedrockId, false); Blocks.RegisterBlock(6).SetTextures(treeId, treeId, treeId, treeId, treeId, treeId, false); Blocks.RegisterBlock(7).SetTextures(leavesId, leavesId, leavesId, leavesId, leavesId, leavesId, true); Blocks.RegisterBlock(8).SetTextures(leavesId, treeId, dirtId, grassTopId, grassSideId, glassId, true); }