mirror of
https://github.com/GTNewHorizons/CraftTweaker.git
synced 2026-11-25 14:24:28 +00:00
Close #14
This commit is contained in:
1 parent
a426d8da79
commit
262cf310e4
5 files changed
+906
-830
No files matched your search
@@ -0,0 +1,24 @@
|
||||
package minetweaker.api.recipes;
|
||||
|
||||
import minetweaker.api.item.IItemStack;
|
||||
|
||||
/**
|
||||
* Created by Jared on 4/18/2016.
|
||||
*/
|
||||
public class FurnaceRecipe implements IFurnaceRecipe {
|
||||
private final IItemStack input;
|
||||
private final IItemStack output;
|
||||
private final float xp;
|
||||
|
||||
public FurnaceRecipe(IItemStack input, IItemStack output, float xp) {
|
||||
this.input = input;
|
||||
this.output = output;
|
||||
this.xp = xp;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toCommandString() {
|
||||
return String.format("furnace.addRecipe(%s, %s, %s", output, input, xp);
|
||||
}
|
||||
|
||||
}
|
||||
Reference in new issue
Block a user