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;
}
}