cn.nukkit.block.BlockSpruceWallSign 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 BlockSpruceWallSign extends BlockWallSign {
@PowerNukkitOnly
public BlockSpruceWallSign() {
this(0);
}
@PowerNukkitOnly
public BlockSpruceWallSign(int meta) {
super(meta);
}
@Override
public int getId() {
return SPRUCE_WALL_SIGN;
}
@Override
protected int getPostId() {
return SPRUCE_STANDING_SIGN;
}
@Override
public String getName() {
return "Spruce Wall Sign";
}
@Override
public Item toItem() {
return new ItemSpruceSign();
}
}