/// <summary> /// Creates a new default server block list. /// </summary> internal ServerBlockList() { m_BlockTypes[0] = new ServerBlockType(0, 0) { Name = "Ungenerated", Solid = false, Visible = false, Transparent = false }; m_BlockTypes[1] = new ServerBlockType(1, 0) { Name = "Air", Solid = false, Visible = false, Transparent = false }; }
/// <summary> /// Adds a block type to this list at the given position. /// </summary> /// <param name="type">The block type.</param> internal void UpdateBlockType(ServerBlockType type) { m_BlockTypes[type.ID] = type; }