Files
NotEnoughItems/src/main/java/codechicken/nei/recipe/CatalystInfo.java
T
miozune 7834d72ecf RecipeCatalyst Enhancements (#199)
* Fix serial handlers not searching catalysts

* Prevent null stack from being added

* Prevent duplicate stack from being added

* Prevent empty handlerID from being added

* Extract code to get modded items

* Use HANDLER_ID_FUNCTION to determine handler's id
This allows mods that don't implement getOverlayIdentifier to work with

* Implement priority

* Fix typo

* Allow catalysts to be loaded from csv
Add IC2 catalysts

* minor cleanup

* Add Avaritia, BM, Forestry

* Log if TransferRects fail

* Implement removing catalyst

* Add placeholder for version controlling

* Add a BUNCH of catalysts

* Add Schematics

* Add more NASA

* Add way to resolve conflict with handlerID
resolve conflict between IC2 Compressor and Mekanism Osmium Compressor

* Add more catalysts

* Add ALL GT catalysts

* Add more

* temporary "fix" for item rendering
reverts 9bbdd7b174

* enable by default

* forgot this one

* Add ability to skip search for catalysts

* resolve some todos
2022-01-30 17:01:12 +01:00

22 lines
420 B
Java

package codechicken.nei.recipe;
import net.minecraft.item.ItemStack;
public class CatalystInfo {
private final ItemStack stack;
private final int priority;
public CatalystInfo(ItemStack stack, int priority) {
this.stack = stack;
this.priority = priority;
}
public ItemStack getStack() {
return stack;
}
public int getPriority() {
return priority;
}
}