cn.nukkit.block.BlockButtonWooden Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of powernukkit Show documentation
Show all versions of powernukkit Show documentation
A Minecraft Bedrock Edition server software implementation made in Java from scratch which supports all new features.
package cn.nukkit.block;
import cn.nukkit.item.ItemTool;
/**
* @author CreeperFace
* @since 27. 11. 2016
*/
public class BlockButtonWooden extends BlockButton {
public BlockButtonWooden() {
this(0);
}
public BlockButtonWooden(int meta) {
super(meta);
}
@Override
public int getId() {
return WOODEN_BUTTON;
}
@Override
public String getName() {
return "Oak Button";
}
@Override
public int getToolType() {
return ItemTool.TYPE_AXE;
}
}