Package buildcraft.core.network

Examples of buildcraft.core.network.PacketGuiReturn


  }

  @Override
  public void onGuiClosed() {
    if (pipe.getWorld().isRemote) {
      PacketGuiReturn pkt = new PacketGuiReturn(pipe.getContainer());
      pkt.sendPacket();
    }

    super.onGuiClosed();
  }
View Full Code Here


        ByteArrayOutputStream bytes = new ByteArrayOutputStream();
        DataOutputStream data = new DataOutputStream(bytes);
        data.writeByte(slot);
        EnumColor color = colors.getCurrent();
        data.writeByte(color == null ? 0 : color.ordinal() + 1);
        PacketGuiReturn pkt = new PacketGuiReturn(pipe.getContainer(), bytes.toByteArray());
        pkt.sendPacket();
      } catch (IOException ex) {
      }
    }
View Full Code Here

TOP

Related Classes of buildcraft.core.network.PacketGuiReturn

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.