Examples of GenericCubeBlockDesign


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

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

   * @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

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, int blockId, String texture, int textureSize) {
    super(plugin, name, blockId);
    this.setBlockDesign(new GenericCubeBlockDesign(plugin, texture, textureSize));
  }
View Full Code Here

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

   * @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

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, int blockId, int metadata, String texture, int textureSize) {
    super(plugin, name, blockId, metadata);
    this.setBlockDesign(new GenericCubeBlockDesign(plugin, texture, textureSize));
  }
View Full Code Here

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

   * @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

Examples of org.spoutcraft.api.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(String addon, String name, String texture, int textureSize) {
    super(addon, name);
    this.setBlockDesign(new GenericCubeBlockDesign(addon, texture, textureSize));
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.