[Request]jei integration
khjxiaogu opened this issue ยท 5 comments
In fact, I have made JEI compatibility for Food Values
in the next version, but I have no clue about JEI compatibility for Crock Pot
for now. Because the implementation of the Crock Pot is rather complicated, it is implemented by judging whether the input meets some requirements, and I don't know how to implement its JEI compatibility to illustrate the recipe of food more clearly for the time being.
In fact, I have made JEI compatibility for
Food Values
in the next version, but I have no clue about JEI compatibility forCrock Pot
for now. Because the implementation of the Crock Pot is rather complicated, it is implemented by judging whether the input meets some requirements, and I don't know how to implement its JEI compatibility to illustrate the recipe of food more clearly for the time being.
In our design, there are two special requirements, RequirementCombinationAnd
and RequirementCombinationOr
. They are combination requirements that allow two other requirements (including themselves) to be combined together. Combination requirements are very useful. For example, the recipe of Hot Cocoa
(i.e., Coffee
in Don't Starve) requires 3 Cocoa Beans
, and the fourth filler can only be Cocoa Beans
, Dairy
, or Sweetener
. And I really don't know how to display the combination requirements.
In our design, there are two special requirements,
RequirementCombinationAnd
andRequirementCombinationOr
. They are combination requirements that allow two other requirements (including themselves) to be combined together. Combination requirements are very useful. For example, the recipe ofHot Cocoa
(i.e.,Coffee
in Don't Starve) requires 3Cocoa Beans
, and the fourth filler can only beCocoa Beans
,Dairy
, orSweetener
. And I really don't know how to display the combination requirements.
you can display all "Or" elements in an interval, just like how jei display an receipt with ore dictionary or tags
you can display all "Or" elements in an interval, just like how jei display an receipt with ore dictionary or tags
There are also nested combination requirements. There's no obvious way other than showing the expression tree directly, which is not very user-friendly.
Also, taking the priorities into account (some recipes may cover others), things are more complex.