1
mirror of https://github.com/StarWishsama/Slimefun4.git synced 2024-09-21 20:25:54 +00:00
Slimefun4/src/me/mrCookieSlime/Slimefun/Objects/SlimefunItem/abstractItems/MachineFuel.java

36 lines
656 B
Java
Raw Normal View History

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;
}
}