All Downloads are FREE. Search and download functionalities are using the official Maven repository.

cn.nukkit.block.BlockSmoothBasalt Maven / Gradle / Ivy

There is a newer version: 1.20.40-r1
Show newest version
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.blockproperty.CommonBlockProperties;
import cn.nukkit.math.BlockFace;

import javax.annotation.Nonnull;

@PowerNukkitXOnly
@Since("1.6.0.0-PNX")
public class BlockSmoothBasalt extends BlockBasalt {
    @PowerNukkitXOnly
    @Since("1.6.0.0-PNX")
    public static final BlockProperties PROPERTIES = CommonBlockProperties.EMPTY_PROPERTIES;

    @Override
    public String getName() {
        return "Smooth Basalt";
    }

    @Override
    public int getId() {
        return 632;
    }

    @Since("1.6.0.0-PNX")
    @PowerNukkitOnly
    @Nonnull
    @Override
    public BlockProperties getProperties() {
        return PROPERTIES;
    }

    @PowerNukkitXOnly
    @Since("1.6.0.0-PNX")
    public BlockFace.Axis getPillarAxis() {
        // ignore
        return null;
    }

    @PowerNukkitXOnly
    @Since("1.6.0.0-PNX")
    public void setPillarAxis(BlockFace.Axis axis) {
        // ignore
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy