The package old is simply code from the previous version of EU. This code should eventually be refactored into the new classes or removed for lack of necessity.
Events.java
The InventoryClickEvent can be completely removed, as we'll be using InventoryToolkit from now on. Creation and handling of the inventory in the onClick(PlayerInteractEvent) should get refactored to use InventoryToolkit as well, since we can do much cleaner handling in there rather than a bunch of loops and if-elses.
Files.java
Might be able to stay, but more on that can be discussed in issue #1
Methods.java
OH BOY this class is a mess. Much of this can be refactored into the new Altar class, and some of it can be made into util classes. Using RelativeDirection is a pain and we should be using for-loops instead.
The package
old
is simply code from the previous version of EU. This code should eventually be refactored into the new classes or removed for lack of necessity.Events.java
TheInventoryClickEvent
can be completely removed, as we'll be using InventoryToolkit from now on. Creation and handling of the inventory in theonClick(PlayerInteractEvent)
should get refactored to use InventoryToolkit as well, since we can do much cleaner handling in there rather than a bunch of loops and if-elses.Files.java
Might be able to stay, but more on that can be discussed in issue #1Methods.java
OH BOY this class is a mess. Much of this can be refactored into the new Altar class, and some of it can be made into util classes. UsingRelativeDirection
is a pain and we should be using for-loops instead.