cn.nukkit.block.BlockOreGold Maven / Gradle / Ivy
package cn.nukkit.block;
import cn.nukkit.api.PowerNukkitDifference;
import cn.nukkit.api.PowerNukkitOnly;
import cn.nukkit.api.Since;
import cn.nukkit.item.ItemTool;
import cn.nukkit.item.MinecraftItemID;
import javax.annotation.Nullable;
/**
* @author MagicDroidX (Nukkit Project)
*/
@PowerNukkitDifference(since = "FUTURE", info = "Extends BlockOre instead of BlockSolid only in PowerNukkit")
public class BlockOreGold extends BlockOre {
public BlockOreGold() {
// Does nothing
}
@Override
public int getId() {
return GOLD_ORE;
}
@Override
public int getToolTier() {
return ItemTool.TIER_IRON;
}
@Override
public String getName() {
return "Gold Ore";
}
@Since("FUTURE")
@PowerNukkitOnly
@Nullable
@Override
protected MinecraftItemID getRawMaterial() {
return MinecraftItemID.RAW_GOLD;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy