mirror of
https://github.com/GTNewHorizons/NotEnoughItems.git
synced 2026-11-21 20:52:11 +00:00
Backwards Compat
* Some mods (GC, for example) rely on FuelPair in FurnaceRecipeHandler so add it back as deprecated and switch to TemplateFuelPair
This commit is contained in:
1 parent
f534b6ed0d
commit
03ede1773c
3 files changed
+19
-7
No files matched your search
@@ -40,6 +40,18 @@ public class FurnaceRecipeHandler extends TemplateRecipeHandler
|
||||
final PositionedStack result;
|
||||
}
|
||||
|
||||
@Deprecated
|
||||
public static class FuelPair {
|
||||
public FuelPair(ItemStack ingred, int burnTime) {
|
||||
this.stack = new PositionedStack(ingred, 51, 42, false);
|
||||
this.burnTime = burnTime;
|
||||
}
|
||||
|
||||
public final PositionedStack stack;
|
||||
public final int burnTime;
|
||||
}
|
||||
|
||||
|
||||
@Override
|
||||
public void loadTransferRects() {
|
||||
transferRects.add(new RecipeTransferRect(new Rectangle(50, 23, 18, 18), "fuel"));
|
||||
|
||||
Reference in new issue
Block a user