2016-04-14 16:24:03 +00:00
|
|
|
package me.mrCookieSlime.Slimefun.Objects.SlimefunItem.abstractItems;
|
|
|
|
|
|
|
|
import org.bukkit.inventory.ItemStack;
|
|
|
|
|
|
|
|
public class MachineFuel {
|
|
|
|
|
2019-08-27 19:46:50 +00:00
|
|
|
private int seconds;
|
|
|
|
private ItemStack fuel;
|
|
|
|
private ItemStack output;
|
2016-04-14 16:24:03 +00:00
|
|
|
|
|
|
|
public MachineFuel(int seconds, ItemStack fuel) {
|
|
|
|
this.seconds = seconds * 2;
|
|
|
|
this.fuel = fuel;
|
|
|
|
this.output = null;
|
|
|
|
}
|
|
|
|
|
|
|
|
public MachineFuel(int seconds, ItemStack fuel, ItemStack output) {
|
|
|
|
this.seconds = seconds * 2;
|
|
|
|
this.fuel = fuel;
|
|
|
|
this.output = output;
|
|
|
|
}
|
|
|
|
|
|
|
|
public ItemStack getInput() {
|
|
|
|
return this.fuel;
|
|
|
|
}
|
|
|
|
|
|
|
|
public ItemStack getOutput() {
|
|
|
|
return this.output;
|
|
|
|
}
|
|
|
|
|
|
|
|
public int getTicks() {
|
|
|
|
return seconds;
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|