Package org.getspout.spoutapi.packet

Examples of org.getspout.spoutapi.packet.PacketCustomBlockDesign


  @Override
  public CustomBlock setBlockDesign(BlockDesign design, int id) {
    this.design[id + 128] = design;

    for (SpoutPlayer sp : Spout.getServer().getOnlinePlayers()) {
      sp.sendPacket(new PacketCustomBlockDesign((short) customId, design, (byte) id));
    }
    return this;
  }
View Full Code Here

TOP

Related Classes of org.getspout.spoutapi.packet.PacketCustomBlockDesign

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.