mirror of
https://github.com/GTNewHorizons/ModTweaker.git
synced 2026-11-23 13:49:50 +00:00
Fix up Integration for Forestry 4.1.0 using only the API
This commit is contained in:
1 parent
4682dba3e6
commit
28175a9e95
22 files changed
+758
-353
No files matched your search
@@ -0,0 +1,30 @@
|
||||
package modtweaker2.mods.forestry.recipes;
|
||||
|
||||
import net.minecraft.item.ItemStack;
|
||||
|
||||
import forestry.api.recipes.IMoistenerRecipe;
|
||||
|
||||
public class MoistenerRecipe implements IMoistenerRecipe {
|
||||
|
||||
private final int timePerItem;
|
||||
private final ItemStack resource;
|
||||
private final ItemStack product;
|
||||
|
||||
public MoistenerRecipe(ItemStack resource, ItemStack product, int timePerItem) {
|
||||
this.timePerItem = timePerItem;
|
||||
this.resource = resource;
|
||||
this.product = product;
|
||||
}
|
||||
|
||||
public int getTimePerItem() {
|
||||
return timePerItem;
|
||||
}
|
||||
|
||||
public ItemStack getResource() {
|
||||
return resource;
|
||||
}
|
||||
|
||||
public ItemStack getProduct() {
|
||||
return product;
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user