cn.nukkit.block.BlockSpruceSignPost 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.api.PowerNukkitOnly;
import cn.nukkit.item.Item;
import cn.nukkit.item.ItemSpruceSign;
@PowerNukkitOnly
public class BlockSpruceSignPost extends BlockSignPost {
public BlockSpruceSignPost() {
}
public BlockSpruceSignPost(int meta) {
super(meta);
}
@Override
public int getId() {
return SPRUCE_STANDING_SIGN;
}
@Override
public int getWallId() {
return SPRUCE_WALL_SIGN;
}
@Override
public String getName() {
return "Spruce Sign Post";
}
@Override
public Item toItem() {
return new ItemSpruceSign();
}
}