Esempio n. 1
0
 public static void Register(BlockDefinition blockDefinition)
 {
     blocks.Add(blockDefinition.GetUnlocalizedName(), blockDefinition);
     Logger.GetLogger().DebugFormat("Registered BlockDefinition: {0}", blockDefinition.GetUnlocalizedName());
 }
Esempio n. 2
0
 public static void Deregister(BlockDefinition blockDefinition)
 {
     blocks.Remove(blockDefinition.GetUnlocalizedName());
 }