Zuxelus / Energy-Control

GNU General Public License v3.0
22 stars 11 forks source link

Fix build & reading custom IItemCard data #57

Closed Su5eD closed 1 year ago

Su5eD commented 2 years ago

The issue

Broken custom card display info

Currently, displays (TileEntityInfoPanel and GuiPortablePanel) call ItemCardMain#getStringData to get the display strings, which can only return information for the main card item. As a result, IItemCard#getStringData will not be called on custom addon-provided cards.

Missing build dependencies

After attempting to set up the workspace, I noticed a couple of build dependencies were missing, which prevented the mod from compiling.

The solution

Build Dependencies

The mod now compiles properly.

Custom card display info