cn.nukkit.blockentity.BlockEntityBlastFurnace Maven / Gradle / Ivy
package cn.nukkit.blockentity;
import cn.nukkit.api.PowerNukkitOnly;
import cn.nukkit.block.Block;
import cn.nukkit.inventory.InventoryType;
import cn.nukkit.inventory.SmeltingRecipe;
import cn.nukkit.item.Item;
import cn.nukkit.level.format.FullChunk;
import cn.nukkit.nbt.tag.CompoundTag;
@PowerNukkitOnly
public class BlockEntityBlastFurnace extends BlockEntityFurnace {
@PowerNukkitOnly
public BlockEntityBlastFurnace(FullChunk chunk, CompoundTag nbt) {
super(chunk, nbt);
}
@PowerNukkitOnly
@Override
protected String getFurnaceName() {
return "Blast Furnace";
}
@PowerNukkitOnly
@Override
protected String getClientName() {
return BLAST_FURNACE;
}
@PowerNukkitOnly
@Override
protected int getIdleBlockId() {
return Block.BLAST_FURNACE;
}
@PowerNukkitOnly
@Override
protected int getBurningBlockId() {
return Block.LIT_BLAST_FURNACE;
}
@PowerNukkitOnly
@Override
protected InventoryType getInventoryType() {
return InventoryType.BLAST_FURNACE;
}
@PowerNukkitOnly
@Override
protected SmeltingRecipe matchRecipe(Item raw) {
return this.server.getCraftingManager().matchBlastFurnaceRecipe(raw);
}
@PowerNukkitOnly
@Override
protected int getSpeedMultiplier() {
return 2;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy