Esempio n. 1
0
     public override ItemState BlockBrokenItem(ItemState hand, bool silktouch)
     {
         if (hand.IsPickaxe())
         {
             return new ItemState {
                        Id = (uint)BlockId.Cobblestone, MetaValue = 0
             }
         }
         ;
         else
         {
             return new ItemState {
                        Id = (uint)BlockId.Air, MetaValue = 0
             }
         };
     }
 }