Package org.getspout.spoutapi.block.design

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


   * @param texture     url to use for the block - must be a square PNG
   * @param textureSize width and height of the texture in pixels
   */
  public GenericCubeCustomBlock(Plugin plugin, String name, String texture, int textureSize) {
    super(plugin, name);
    this.setBlockDesign(new GenericCubeBlockDesign(plugin, texture, textureSize));
  }
View Full Code Here


   * @param textureSize width and height of the texture in pixels
   * @param rotate   will the block rotate to face the player when placed
   */
  public GenericCubeCustomBlock(Plugin plugin, String name, String texture, int textureSize, boolean rotate) {
    super(plugin, name);
    this.setBlockDesign(new GenericCubeBlockDesign(plugin, texture, textureSize));
    this.setRotate(rotate);
  }
View Full Code Here

   * @param texture     url to use for the block - must be a square PNG
   * @param textureSize width and height of the texture in pixels
   */
  public GenericCubeCustomBlock(Plugin plugin, String name, int blockId, String texture, int textureSize) {
    super(plugin, name, blockId);
    this.setBlockDesign(new GenericCubeBlockDesign(plugin, texture, textureSize));
  }
View Full Code Here

   * @param textureSize width and height of the texture in pixels
   * @param rotate   will the block rotate to face the player when placed
   */
  public GenericCubeCustomBlock(Plugin plugin, String name, int blockId, String texture, int textureSize, boolean rotate) {
    super(plugin, name, blockId, rotate);
    this.setBlockDesign(new GenericCubeBlockDesign(plugin, texture, textureSize));
  }
View Full Code Here

   * @param texture     url to use for the block - must be a square PNG
   * @param textureSize width and height of the texture in pixels
   */
  public GenericCubeCustomBlock(Plugin plugin, String name, int blockId, int metadata, String texture, int textureSize) {
    super(plugin, name, blockId, metadata);
    this.setBlockDesign(new GenericCubeBlockDesign(plugin, texture, textureSize));
  }
View Full Code Here

   * @param textureSize width and height of the texture in pixels
   * @param rotate   will the block rotate to face the player when placed
   */
  public GenericCubeCustomBlock(Plugin plugin, String name, int blockId, int metadata, String texture, int textureSize, boolean rotate) {
    super(plugin, name, blockId, metadata, rotate);
    this.setBlockDesign(new GenericCubeBlockDesign(plugin, texture, textureSize));
  }
View Full Code Here

TOP

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

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.