eutro / MultiblockTweaker

Add GregTech CE Multiblocks via CraftTweaker
GNU Lesser General Public License v3.0
8 stars 11 forks source link

Update JEI capabilities to match latest GTCE version #18

Closed ALongStringOfNumbers closed 3 years ago

ALongStringOfNumbers commented 3 years ago

Updates the JEI page/MultiblockInfo capabilities to take advantage of some new features in the latest GTCE version. Also, a fix required after updating to that version

First: The Fix Multiblock Descriptions were moved to an info page in GTCE, so that they no longer hovered over the multiblock preview. I have fixed things in MBTweaker so that the descriptions show in Info Pages as well

Second: Add Abilities to add custom Tooltips GTCE recently updated to allow for adding tooltips to specific ItemStacks in the Multiblock Preview. I have added capabilities for MBTweaker multiblocks to have custom tooltips added to parts of the multiblock in script. To go along with these new capabilities, I have updated the example scripts.

Note, this second feature did require updating Crafttweaker to get access to Crafttweaker's ITextComponent.

Example of adding a tooltip java_KcgD6G2nej

Example of a cleared tooltip: java_YV5weUZHJ9