mirror of
https://github.com/GTNewHorizons/ForestryMC.git
synced 2026-11-17 10:55:06 +00:00
30 lines
922 B
Java
30 lines
922 B
Java
/*******************************************************************************
|
|
* Copyright 2011-2014 SirSengir
|
|
*
|
|
* This work (the API) is licensed under the "MIT" License, see LICENSE.txt for details.
|
|
******************************************************************************/
|
|
package forestry.api.fuels;
|
|
|
|
import net.minecraft.item.ItemStack;
|
|
|
|
public class FermenterFuel {
|
|
/**
|
|
* Item that is a valid fuel for the fermenter (i.e. fertilizer).
|
|
*/
|
|
public final ItemStack item;
|
|
/**
|
|
* How much is fermeted per work cycle, i.e. how much biomass is produced per cycle.
|
|
*/
|
|
public final int fermentPerCycle;
|
|
/**
|
|
* Amount of work cycles a single item of this fuel lasts before expiring.
|
|
*/
|
|
public final int burnDuration;
|
|
|
|
public FermenterFuel(ItemStack item, int fermentPerCycle, int burnDuration) {
|
|
this.item = item;
|
|
this.fermentPerCycle = fermentPerCycle;
|
|
this.burnDuration = burnDuration;
|
|
}
|
|
}
|