static BlockFactory() { for (byte i = 0; i < byte.MaxValue; i++) { var block = GetBlockById(i); if (block != null && block.IsTransparent) { TransparentBlocks.Add(block.Id); } if (block != null && block.LightLevel > 0) { LuminousBlocks.Add(block.Id, block.LightLevel); } } NameToId = BuildNameToId(); }