Currently, there is an issue where Trinket slots may block or overlap elements of REI/EMI resulting in unintended interactions. This PR adds exclusion areas for REI and EMI compatibility using their respective plugin APIs, which allows for elements of those recipe viewers to shift out of the way of Trinket slots when appropriate. This has been tested in both Survival and Creative inventory screens.
JEI compatibility was also attempted, and would be trivial to add, but I could not figure a resolution to the mapping issue that occurs when using a Mojmap dependency in a Yarn environment.
Cloth Config is part of the compile dependencies due to it packaging the Rectangle class needed for REI exclusion areas.
Addresses https://github.com/emilyploszaj/trinkets/issues/272.
Currently, there is an issue where Trinket slots may block or overlap elements of REI/EMI resulting in unintended interactions. This PR adds exclusion areas for REI and EMI compatibility using their respective plugin APIs, which allows for elements of those recipe viewers to shift out of the way of Trinket slots when appropriate. This has been tested in both Survival and Creative inventory screens.
JEI compatibility was also attempted, and would be trivial to add, but I could not figure a resolution to the mapping issue that occurs when using a Mojmap dependency in a Yarn environment.
Cloth Config is part of the compile dependencies due to it packaging the
Rectangle
class needed for REI exclusion areas.