Examples of playerStartWatching()


Examples of logisticspipes.interfaces.IBlockWatchingHandler.playerStartWatching()

  @Override
  public void processPacket(EntityPlayer player) {
    IBlockWatchingHandler tile = this.getTile(player.worldObj, IBlockWatchingHandler.class);
    if(tile != null) {
      tile.playerStartWatching(player);
    }
  }
}
View Full Code Here

Examples of logisticspipes.interfaces.IWatchingHandler.playerStartWatching()

    if(pipe == null) {
      return;
    }
    if(pipe.pipe instanceof IWatchingHandler) {
      IWatchingHandler handler = (IWatchingHandler) pipe.pipe;
      handler.playerStartWatching(player, getInteger());
    }
  }
}
View Full Code Here

Examples of logisticspipes.pipes.basic.CoreRoutedPipe.playerStartWatching()

    final CoreRoutedPipe pipe = (CoreRoutedPipe) tile.pipe;
    DummyContainer dummy = new DummyContainer(player, null, pipe.getUpgradeManager().getGuiController(), new IGuiOpenControler() {
      //Network Statistics
      @Override
      public void guiOpenedByPlayer(EntityPlayer player) {
        pipe.playerStartWatching(player, 0);
      }
     
      @Override
      public void guiClosedByPlayer(EntityPlayer player) {
        pipe.playerStopWatching(player, 0);
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.