Пример #1
0
 public Block CreateBlock(NamespacedBlock block, BlockEntity entity)
 {
     if (Index == -1)
     {
         return(Factory.FromNamespaced(block, entity));
     }
     else
     {
         return(FactoryMultiple.FromNamespaced(Index, block, entity));
     }
 }