cn.nukkit.block.BlockHyphaeCrimson 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.blockstate.BlockState;
import cn.nukkit.utils.BlockColor;
public class BlockHyphaeCrimson extends BlockStem {
public BlockHyphaeCrimson() {
this(0);
}
public BlockHyphaeCrimson(int meta) {
super(meta);
}
@Override
public int getId() {
return CRIMSON_HYPHAE;
}
@Override
public String getName() {
return "Crimson Hyphae";
}
@Override
protected BlockState getStrippedState() {
return getCurrentState().withBlockId(STRIPPED_CRIMSON_HYPHAE);
}
@Override
public double getHardness() {
return 0.3;
}
@Override
public BlockColor getColor() {
return BlockColor.CRIMSON_HYPHAE_BLOCK_COLOR;
}
}