Considering that the code would have to be obfuscated anyway, throwing a bit more work into it at least, I think I may end up doing a massive match-list thing that's easier for end users to understand.
Like instead of "new ItemStack(Item.paper, 1, 0)", just plain "paper" is in the config file and the code adds "new ItemStack(Item.paper, 1, 0)" to the array.
Like instead of "new ItemStack(Item.paper, 1, 0)", just plain "paper" is in the config file and the code adds "new ItemStack(Item.paper, 1, 0)" to the array.