Examples of BreakEvent


Examples of flash.tools.debugger.events.BreakEvent

      int line = DLocation.decodeLine(bp);
      if (m_wideLines) {
        module = (int)wideModule;
        line = (int)wideLine;
      }
      addEvent(new BreakEvent(module, line, targetIsolate));
      break;
    }

    case DMessage.InContinue: {
      /* we are running again so trash all our variable contents */
 
View Full Code Here

Examples of flash.tools.debugger.events.BreakEvent

        //System.out.println("InBreakAt");

        int module = DLocation.decodeFile(bp);
        int  line = DLocation.decodeLine (bp);
        addEvent(new BreakEvent(module, line));
        break;
      }

      case DMessage.InContinue:
      {
View Full Code Here

Examples of net.minecraftforge.event.world.BlockEvent.BreakEvent

                    worldObj.spawnParticle("smoke", d0, d1, d2, d3, d4, d5);
                }

                if (block != null)
                {
                    BreakEvent breakEvent = new BreakEvent(i, j, k, worldObj, block, worldObj.getBlockMetadata(i, j, k), player);

                    if(!breakEvent.isCanceled())
                    {
                        if (block.canDropFromExplosion(this))
                        {
                            block.dropBlockAsItemWithChance(worldObj, i, j, k, worldObj.getBlockMetadata(i, j, k), 1.0F / explosionSize, 0);
                        }
View Full Code Here

Examples of net.minecraftforge.event.world.BlockEvent.BreakEvent

    if (depth < 1 || depth < yCoord - BuildCraftFactory.miningDepth || !BlockUtil.canChangeBlock(world, xCoord, depth, zCoord)) {
      isDigging = false;
      return;
    }

        BreakEvent breakEvent = new BreakEvent(xCoord, depth, zCoord, worldObj, world.getBlock(xCoord, depth, zCoord),
                world.getBlockMetadata(xCoord, depth, zCoord), CoreProxy.proxy.getBuildCraftPlayer((WorldServer) world).get());
        MinecraftForge.EVENT_BUS.post(breakEvent);

        if (breakEvent.isCanceled()) {
            isDigging = false;
            return;
        }

    boolean wasAir = world.isAirBlock(xCoord, depth, zCoord);
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.