Request: Rotating oreDict ingredients in JEI #3

Open
opened 2016-01-11 16:36:24 +00:00 by import_user_oitsjustjose_95mQ · 0 comments
import_user_oitsjustjose_95mQ commented 2016-01-11 16:36:24 +00:00 (Migrated from git.oitsjustjose.com)

Here you return List<ItemStack> for inputs:
http://git.oitsjustjose.com/oitsjustjose/CrissCross/-/blob/master/src/main/java/com/oitsjustjose/criss_cross/jei/ScribeRecipeJEI.java

You can have JEI rotate the inputs by returning a List<List<ItemStack>>.
The outer list is the slot, so it will be a singletonList for 1 input. The inner list is the rotating ingredients for that slot.

See an example here:
https://github.com/mezz/JustEnoughItems/blob/1.8.8/src/main/java/mezz/jei/plugins/vanilla/furnace/SmeltingRecipe.java

Here you return `List<ItemStack>` for inputs: http://git.oitsjustjose.com/oitsjustjose/CrissCross/-/blob/master/src/main/java/com/oitsjustjose/criss_cross/jei/ScribeRecipeJEI.java You can have JEI rotate the inputs by returning a `List<List<ItemStack>>`. The outer list is the slot, so it will be a singletonList for 1 input. The inner list is the rotating ingredients for that slot. See an example here: https://github.com/mezz/JustEnoughItems/blob/1.8.8/src/main/java/mezz/jei/plugins/vanilla/furnace/SmeltingRecipe.java
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
oitsjustjose/CrissCross#3
No description provided.