Adds new item to the list by given numeric ID, count, data and additionally extra. It's recommended to use exactly this method instead of add method from java.util.ArrayList when you're in JS, because the ArrayList actually consists of ItemStack Java objects, not the ItemInstances as JS-objects.
pointer to the native object wrapped by the following native interface object, represented by a signed 64-bit integer
Generated using TypeDoc
Object extending java.util.ArrayList and representing list of randomly chosen items from a loot table, which you can modify in OnDropCallback, also having access to KEX.LootTableContext object with all information about entity death or chest opening.
1.2