Package appeng.api.events

Examples of appeng.api.events.GridTileUnloadEvent


  @Override
  public void invalidate()
  {
    super.invalidate();
    MinecraftForge.EVENT_BUS.post(new GridTileUnloadEvent(this, worldObj, getLocation()));
  }
View Full Code Here


  @Override
  public void invalidate()
  {
    super.invalidate();
    MinecraftForge.EVENT_BUS.post(new GridTileUnloadEvent(this, worldObj, getLocation()));
  }
View Full Code Here

  @Override
  public void invalidate()
  {
    super.invalidate();
    MinecraftForge.EVENT_BUS.post(new GridTileUnloadEvent(this, worldObj, getLocation()));
  }
View Full Code Here

    }
  }

  public void fireTileUnloadEvent(IGridTileEntity tile) {
    try {
      MinecraftForge.EVENT_BUS.post( new GridTileUnloadEvent( tile, tile.getWorld(), tile.getLocation() ) );
    } catch( Exception e ) {
      Utils.logException( "Unable to fire GridTileUnloadEvent. Caused by: " + e.getMessage(), e, false );
    }
  }
View Full Code Here

TOP

Related Classes of appeng.api.events.GridTileUnloadEvent

Copyright © 2018 www.massapicom. 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.