I am currently working on a chunk based energy system, however every chunk will have its own different energy value and max value, in addition I am making splitting the energy into different types, meaning that each chunk would have a energy value and a max energy value. I plan on using a Hashmap for each energy type which stores arraylists containing the current energy value and the max energy value of the chunk it is tied to. My concern is that this could cause a lot of lag, so my question is if there is a better way to do this, and even if there is a better way, is it just better to simplify the energy system and leave out some of what I am planing(I am planing on have 5 to 7 different energy types).