public void onNeighborBlockChange(World var1, int var2, int var3, int var4, int var5) {
      if(var5 > 0 && Block.blocksList[var5].canProvidePower()) {
         boolean var6 = var1.isBlockGettingPowered(var2, var3, var4);
         TileEntityNote var7 = (TileEntityNote)var1.getBlockTileEntity(var2, var3, var4);
         if(var7.previousRedstoneState != var6) {
            if(var6) {
               var7.triggerNote(var1, var2, var3, var4);
            }

            var7.previousRedstoneState = var6;
         }
      }

   }