Package me.vudu.Conflict.Blocks

Source Code of me.vudu.Conflict.Blocks.VuduBrick

package me.vudu.Conflict.Blocks;

import me.vudu.Conflict.ConflictPlugin;

import org.bukkit.World;
import org.bukkit.plugin.Plugin;
import org.getspout.spoutapi.block.design.Texture;
import org.getspout.spoutapi.material.block.GenericCubeCustomBlock;
import org.getspout.spoutapi.player.SpoutPlayer;

/**
* der VuduBrick!
* @author vwendel
*
*/
public class VuduBrick extends GenericCubeCustomBlock{

 
  public VuduBrick(Plugin plugin) {
      super(plugin, "VuduBrick", ConflictPlugin.VUDUBRICKID, "", 16);
      this.getBlockDesign().setTexture(plugin, new Texture(plugin, "http://tossat.de/~mcbukkit/images/vudubrick.png", 16, 16, 16));
      this.setHardness(ConflictPlugin.vuduBrickHardness);
  }
 
  /**
   * false, damit man darauf bauen kann
   */
   public boolean onBlockInteract(World world, int x, int y, int z, SpoutPlayer player) {
       return false;
   }
  
}
TOP

Related Classes of me.vudu.Conflict.Blocks.VuduBrick

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.