cn.nukkit.block.BlockDoubleSlabMangrove Maven / Gradle / Ivy
package cn.nukkit.block;
import cn.nukkit.api.PowerNukkitOnly;
import cn.nukkit.api.PowerNukkitXOnly;
import cn.nukkit.api.Since;
import cn.nukkit.blockproperty.BlockProperties;
import cn.nukkit.item.ItemTool;
import cn.nukkit.utils.BlockColor;
import javax.annotation.Nonnull;
@PowerNukkitXOnly
@Since("1.6.0.0-PNX")
public class BlockDoubleSlabMangrove extends BlockDoubleSlabBase {
@PowerNukkitOnly
@Since("1.4.0.0-PN")
public BlockDoubleSlabMangrove() {
this(0);
}
@PowerNukkitOnly
@Since("1.4.0.0-PN")
protected BlockDoubleSlabMangrove(int meta) {
super(meta);
}
@PowerNukkitOnly
@Override
public String getSlabName() {
return "Double Mangrove Slab";
}
@Override
public int getId() {
return DOUBLE_MANGROVE_SLAB;
}
@Nonnull
@Override
public BlockProperties getProperties() {
return BlockSlab.SIMPLE_SLAB_PROPERTIES;
}
@Override
public double getHardness() {
return 2;
}
@Override
public double getResistance() {
return 15;
}
@Override
public int getToolType() {
return ItemTool.TYPE_AXE;
}
@Override
public int getSingleSlabId() {
return MANGROVE_SLAB;
}
@Override
public BlockColor getColor() {
return BlockColor.BROWNISH_RED;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy