theoretical refactor, not tested in the slightest

written in notepad++ with no knowledge of bukkit and it's been a while since i used java