Example #1
0
 public override bool BlockActivated(net.minecraft.src.World world, int i, int j,
                                     int k, net.minecraft.src.EntityPlayer entityplayer)
 {
     if (world.singleplayerWorld)
     {
         return(true);
     }
     else
     {
         entityplayer.DisplayWorkbenchGUI(i, j, k);
         return(true);
     }
 }