Discussion in 'Plugin Development' started by komes, Feb 2, 2011.
What would the best way be to save a blocks location so that i can then reference it later.
You could save it in a hashmap. Like:
ConcurrentHashMap<Location, Boolean> PowerMap = new ConcurrentHashMap<Location, Boolean>(89)
or something like that.
There are tons of guides online of how to use Hashmaps/Hashtables/ConcurrentHashMaps
Just keep the handle to the block.
Separate names with a comma.