cn.nukkit.block.BlockHyphaeWarped Maven / Gradle / Ivy
package cn.nukkit.block;
import cn.nukkit.api.PowerNukkitOnly;
import cn.nukkit.api.Since;
import cn.nukkit.blockstate.BlockState;
import cn.nukkit.utils.BlockColor;
@Since("1.4.0.0-PN")
@PowerNukkitOnly
public class BlockHyphaeWarped extends BlockStem {
@Since("1.4.0.0-PN")
@PowerNukkitOnly
public BlockHyphaeWarped() {
this(0);
}
@Since("1.4.0.0-PN")
@PowerNukkitOnly
public BlockHyphaeWarped(int meta) {
super(meta);
}
@Override
public int getId() {
return WARPED_HYPHAE;
}
@Override
public String getName() {
return "Warped Hyphae";
}
@PowerNukkitOnly
@Override
protected BlockState getStrippedState() {
return getCurrentState().withBlockId(STRIPPED_WARPED_HYPHAE);
}
@Override
public BlockColor getColor() {
return BlockColor.WARPED_HYPHAE_BLOCK_COLOR;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy