These fixes primarily address issues that were causing the elite crafting table settings to not load correctly on custom items in the CustomCrafting editor GUI but would effect other areas. One of these that I noted was the vanillaBook / autoDiscover multi choice configuration button.
The initial issue of indexedData not being copied in clone operations was causing all elite crafting table settings to not load in the CustomCrafting item editor GUI as these are now stored under the data field. The behaviour was somewhat odd as it was falling back to the old customDataMap which the GUI no longer controls.
The gridSize multiple choice button was then always defaulting to the 3x3 option. I noted that preRender which actually runs the stateFunction was getting the right state setting but then never doing anything with it which caused all the following functions ( render, execute, etc ) to always use the default of zero. Calling setState for valid states in preRender seemed to fix this.
These fixes primarily address issues that were causing the elite crafting table settings to not load correctly on custom items in the CustomCrafting editor GUI but would effect other areas. One of these that I noted was the
vanillaBook
/autoDiscover
multi choice configuration button.indexedData
not being copied in clone operations was causing all elite crafting table settings to not load in the CustomCrafting item editor GUI as these are now stored under thedata
field. The behaviour was somewhat odd as it was falling back to the oldcustomDataMap
which the GUI no longer controls.gridSize
multiple choice button was then always defaulting to the 3x3 option. I noted thatpreRender
which actually runs thestateFunction
was getting the right state setting but then never doing anything with it which caused all the following functions (render
,execute
, etc ) to always use the default of zero. CallingsetState
for valid states inpreRender
seemed to fix this.