Package org.getspout.spoutapi.block.design

Examples of org.getspout.spoutapi.block.design.GenericBlockDesign


  }

  public void readData(SpoutInputStream input) throws IOException {
    customId = input.readShort();
    data = (byte) input.read();
    design = new GenericBlockDesign();
    design.read(input);
    if (design.getReset()) {
      design = null;
    }
  }
View Full Code Here


    output.writeShort(customId);
    output.write(data);
    if (design != null) {
      design.write(output);
    } else {
      new GenericBlockDesign().writeReset(output);
    }
  }
View Full Code Here

TOP

Related Classes of org.getspout.spoutapi.block.design.GenericBlockDesign

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.