Package extracells.network.packet

Examples of extracells.network.packet.PacketTerminalFluid


  public void mouseClicked(int posX, int posY, int mouseX, int mouseY)
  {
    if (fluid != null && isPointInRegion(posX, posY, sizeX, sizeY, mouseX, mouseY))
    {
      TileEntityTerminalFluid terminalFluid = guiTerminalFluid.tileEntity;
      PacketDispatcher.sendPacketToServer(new PacketTerminalFluid(terminalFluid.worldObj, terminalFluid.xCoord, terminalFluid.yCoord, terminalFluid.zCoord, fluid).makePacket());
      selected = true;
      guiTerminalFluid.updateSelected(this);
      guiTerminalFluid.currentFluidAmount = amount;
      guiTerminalFluid.currentFluidName = fluid.getLocalizedName();
    }
View Full Code Here


  @Override
  public void mouseClicked(int posX, int posY, int mouseX, int mouseY)
  {
    TileEntity tileEntity = guiTerminalFluid.tileEntity;
    PacketDispatcher.sendPacketToServer(new PacketTerminalFluid(tileEntity.worldObj, tileEntity.xCoord, tileEntity.yCoord, tileEntity.zCoord, new FluidStack(fluid, 1000)).makePacket());
  }
View Full Code Here

TOP

Related Classes of extracells.network.packet.PacketTerminalFluid

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.