public BlockStone(uint depth) { this.depth = depth; name = "Stone (Depth " + (depth + 1) + ")"; float mult = 1f - (depth * .1f); renderer = new RenderFullBlock(new TextureLayout(0), Color.white * mult); }
public BlockDirt() { name = "Dirt"; renderer = new RenderFullBlock(new TextureLayout(1), Color.white); }
public BlockBedrock() { name = "Bedrock"; renderer = new RenderFullBlock(new TextureLayout(0), Color.white * 0.15f); indestructable = true; }
public BlockDirtStone() { name = "Rocky Dirt"; renderer = new RenderFullBlock(new TextureLayout(0), new Color32(173, 133, 92, 255)); }
public BlockSand() { name = "Sand"; renderer = new RenderFullBlock(new TextureLayout(4), Color.white); }