Trying to make skyblock playable with GregTech by adding new crops and recipes: lapis. glowstone, corundum(Al2O3), antimony.
How the fuck get items in this (Greg's) fucking API? These fucking metagenerated items, how to get "copponFiber" or "fiberCoppon"?
"ItemList.Crop_Drop_Coppon.get(1);" is the proper way.
This is also not a Metagenerated Item, it is just a regular Item. I have 766 free "IDs" after allocating 32 * 1000 Generated Items to their Prefixes.
I will change that to 1 Item per Prefix +766 Non-OreDicted Items which are similar to that Prefix, rather than 1 Item for 32 Prefixes + 766 random Items, later in 1.8. That way I can have 32000 different Materials, rather than just 1000.
I have a Problem with that piece of Code, it is way too complicated for how it has to be used.
For example you dont need an explicit cast to Long at the "1L". I made that Parameter a long because I don't want to cast precision calculations to long all the time when handling Material Amounts.
The second Problem I have is, that you make a new Array just to give it as Parameter. This is not required and only a Utility Function (in case it has not been found for example, you can add an Array of Replacements). The "..." means only that you can optionally put an Array there.
The Material Properties such as Durability and Quality are all inside my API (gregtech.api.enums.Materials.java). And they are in a Table alike Format if your Tab-size is 4 empty Spaces.