1
0
Fork 0
This repository has been archived on 2024-03-22. You can view files and clone it, but cannot push or open issues or pull requests.
GibsoniaCraft/plugin/src/lightling/gibsoniacraft/GibsoniaCraft.java

41 lines
1,021 B
Java

package lightling.gibsoniacraft;
// Server related
import org.bukkit.plugin.java.JavaPlugin;
// GibsoniaCraft related
import lightling.gibsoniacraft.crafting.Excavator;
import lightling.gibsoniacraft.crafting.Hammer;
import lightling.gibsoniacraft.crafting.LumberAxe;
import lightling.gibsoniacraft.util.BlockListener;
import lightling.gibsoniacraft.util.PlayerInteractListener;
@SuppressWarnings("unused")
public final class GibsoniaCraft extends JavaPlugin {
private Excavator excavatorClass;
private Hammer hammerClass;
private LumberAxe lumberAxeClass;
private PlayerInteractListener pListener;
private BlockListener bListener;
@Override
public void onEnable() {
excavatorClass = new Excavator(this);
hammerClass = new Hammer(this);
lumberAxeClass = new LumberAxe(this);
pListener = new PlayerInteractListener(this);
bListener = new BlockListener(this);
}
@Override
public void onDisable() {
}
public PlayerInteractListener GetPlayerInteractListener()
{
return pListener;
}
}