I see, yet I can't understand how to define what for each values is. Like, 8 * 8 + 256 * 8 + 2048 * 8 is the value, but how does it know it's for a gold chest?
EDIT: Found the file for the default values : EEmaps.class . saintnicster, wouldn't have managed to do it without the code you sent Thank you!