cn.nukkit.block.BlockBirchWallSign 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.ItemBirchSign;
@PowerNukkitOnly
public class BlockBirchWallSign extends BlockWallSign {
@PowerNukkitOnly
public BlockBirchWallSign() {
this(0);
}
@PowerNukkitOnly
public BlockBirchWallSign(int meta) {
super(meta);
}
@Override
public int getId() {
return BIRCH_WALL_SIGN;
}
@Override
protected int getPostId() {
return BIRCH_STANDING_SIGN;
}
@Override
public String getName() {
return "Birch Wall Sign";
}
@Override
public Item toItem() {
return new ItemBirchSign();
}
}