mirror of
https://github.com/BentoBoxWorld/Level.git
synced 2024-11-23 18:45:17 +01:00
Update to new package name
This commit is contained in:
parent
1b38a2c38a
commit
7027f707fd
@ -13,11 +13,11 @@ import bskyblock.addon.level.commands.IslandTop;
|
||||
import bskyblock.addon.level.config.Settings;
|
||||
import bskyblock.addon.level.database.object.LevelsData;
|
||||
import bskyblock.addon.level.listeners.NewIslandListener;
|
||||
import world.bentobox.bbox.api.addons.Addon;
|
||||
import world.bentobox.bbox.api.commands.CompositeCommand;
|
||||
import world.bentobox.bbox.api.user.User;
|
||||
import world.bentobox.bbox.database.BSBDatabase;
|
||||
import world.bentobox.bbox.database.objects.Island;
|
||||
import world.bentobox.bentobox.api.addons.Addon;
|
||||
import world.bentobox.bentobox.api.commands.CompositeCommand;
|
||||
import world.bentobox.bentobox.api.user.User;
|
||||
import world.bentobox.bentobox.database.BSBDatabase;
|
||||
import world.bentobox.bentobox.database.objects.Island;
|
||||
|
||||
|
||||
/**
|
||||
|
@ -7,8 +7,8 @@ import java.util.UUID;
|
||||
import org.bukkit.World;
|
||||
|
||||
import bskyblock.addon.level.calculators.PlayerLevel;
|
||||
import world.bentobox.bbox.BentoBox;
|
||||
import world.bentobox.bbox.api.user.User;
|
||||
import world.bentobox.bentobox.BentoBox;
|
||||
import world.bentobox.bentobox.api.user.User;
|
||||
|
||||
public class LevelPresenter {
|
||||
|
||||
|
@ -16,11 +16,11 @@ import org.bukkit.event.Listener;
|
||||
|
||||
import bskyblock.addon.level.database.object.LevelsData;
|
||||
import bskyblock.addon.level.database.object.TopTenData;
|
||||
import world.bentobox.bbox.api.panels.PanelItem;
|
||||
import world.bentobox.bbox.api.panels.builders.PanelBuilder;
|
||||
import world.bentobox.bbox.api.panels.builders.PanelItemBuilder;
|
||||
import world.bentobox.bbox.api.user.User;
|
||||
import world.bentobox.bbox.database.BSBDatabase;
|
||||
import world.bentobox.bentobox.api.panels.PanelItem;
|
||||
import world.bentobox.bentobox.api.panels.builders.PanelBuilder;
|
||||
import world.bentobox.bentobox.api.panels.builders.PanelItemBuilder;
|
||||
import world.bentobox.bentobox.api.user.User;
|
||||
import world.bentobox.bentobox.database.BSBDatabase;
|
||||
|
||||
/**
|
||||
* Handles all Top Ten List functions
|
||||
|
@ -20,9 +20,9 @@ import com.google.common.collect.Multiset.Entry;
|
||||
import com.google.common.collect.Multisets;
|
||||
|
||||
import bskyblock.addon.level.Level;
|
||||
import world.bentobox.bbox.database.objects.Island;
|
||||
import world.bentobox.bbox.util.Pair;
|
||||
import world.bentobox.bbox.util.Util;
|
||||
import world.bentobox.bentobox.database.objects.Island;
|
||||
import world.bentobox.bentobox.util.Pair;
|
||||
import world.bentobox.bentobox.util.Util;
|
||||
|
||||
|
||||
public class CalcIslandLevel {
|
||||
|
@ -8,8 +8,8 @@ import bskyblock.addon.level.Level;
|
||||
import bskyblock.addon.level.calculators.CalcIslandLevel.Results;
|
||||
import bskyblock.addon.level.event.IslandLevelCalculatedEvent;
|
||||
import bskyblock.addon.level.event.IslandPreLevelEvent;
|
||||
import world.bentobox.bbox.api.user.User;
|
||||
import world.bentobox.bbox.database.objects.Island;
|
||||
import world.bentobox.bentobox.api.user.User;
|
||||
import world.bentobox.bentobox.database.objects.Island;
|
||||
|
||||
|
||||
/**
|
||||
|
@ -4,8 +4,8 @@ import java.util.List;
|
||||
import java.util.UUID;
|
||||
|
||||
import bskyblock.addon.level.Level;
|
||||
import world.bentobox.bbox.api.commands.CompositeCommand;
|
||||
import world.bentobox.bbox.api.user.User;
|
||||
import world.bentobox.bentobox.api.commands.CompositeCommand;
|
||||
import world.bentobox.bentobox.api.user.User;
|
||||
|
||||
public class AdminLevel extends CompositeCommand {
|
||||
|
||||
|
@ -7,9 +7,9 @@ import java.util.UUID;
|
||||
import org.bukkit.World;
|
||||
|
||||
import bskyblock.addon.level.Level;
|
||||
import world.bentobox.bbox.api.commands.CompositeCommand;
|
||||
import world.bentobox.bbox.api.user.User;
|
||||
import world.bentobox.bbox.database.objects.Island;
|
||||
import world.bentobox.bentobox.api.commands.CompositeCommand;
|
||||
import world.bentobox.bentobox.api.user.User;
|
||||
import world.bentobox.bentobox.database.objects.Island;
|
||||
|
||||
public class AdminTop extends CompositeCommand {
|
||||
|
||||
|
@ -4,8 +4,8 @@ import java.util.List;
|
||||
import java.util.UUID;
|
||||
|
||||
import bskyblock.addon.level.Level;
|
||||
import world.bentobox.bbox.api.commands.CompositeCommand;
|
||||
import world.bentobox.bbox.api.user.User;
|
||||
import world.bentobox.bentobox.api.commands.CompositeCommand;
|
||||
import world.bentobox.bentobox.api.user.User;
|
||||
|
||||
public class IslandLevel extends CompositeCommand {
|
||||
|
||||
|
@ -3,8 +3,8 @@ package bskyblock.addon.level.commands;
|
||||
import java.util.List;
|
||||
|
||||
import bskyblock.addon.level.Level;
|
||||
import world.bentobox.bbox.api.commands.CompositeCommand;
|
||||
import world.bentobox.bbox.api.user.User;
|
||||
import world.bentobox.bentobox.api.commands.CompositeCommand;
|
||||
import world.bentobox.bentobox.api.user.User;
|
||||
|
||||
public class IslandTop extends CompositeCommand {
|
||||
|
||||
|
@ -8,7 +8,7 @@ import org.bukkit.World;
|
||||
|
||||
import com.google.gson.annotations.Expose;
|
||||
|
||||
import world.bentobox.bbox.database.objects.DataObject;
|
||||
import world.bentobox.bentobox.database.objects.DataObject;
|
||||
|
||||
public class LevelsData implements DataObject {
|
||||
|
||||
|
@ -8,7 +8,7 @@ import java.util.stream.Collectors;
|
||||
|
||||
import com.google.gson.annotations.Expose;
|
||||
|
||||
import world.bentobox.bbox.database.objects.DataObject;
|
||||
import world.bentobox.bentobox.database.objects.DataObject;
|
||||
|
||||
/**
|
||||
* This class stores and sorts the top ten.
|
||||
|
@ -3,8 +3,8 @@ package bskyblock.addon.level.event;
|
||||
import java.util.UUID;
|
||||
|
||||
import bskyblock.addon.level.calculators.CalcIslandLevel.Results;
|
||||
import world.bentobox.bbox.api.events.IslandBaseEvent;
|
||||
import world.bentobox.bbox.database.objects.Island;
|
||||
import world.bentobox.bentobox.api.events.IslandBaseEvent;
|
||||
import world.bentobox.bentobox.database.objects.Island;
|
||||
|
||||
/**
|
||||
* This event is fired after the island level is calculated and before the results are saved.
|
||||
|
@ -2,8 +2,8 @@ package bskyblock.addon.level.event;
|
||||
|
||||
import java.util.UUID;
|
||||
|
||||
import world.bentobox.bbox.api.events.IslandBaseEvent;
|
||||
import world.bentobox.bbox.database.objects.Island;
|
||||
import world.bentobox.bentobox.api.events.IslandBaseEvent;
|
||||
import world.bentobox.bentobox.database.objects.Island;
|
||||
|
||||
/**
|
||||
* Called when an island level is going to be calculated
|
||||
|
@ -9,9 +9,9 @@ import org.bukkit.event.Listener;
|
||||
|
||||
import bskyblock.addon.level.Level;
|
||||
import bskyblock.addon.level.calculators.CalcIslandLevel;
|
||||
import world.bentobox.bbox.api.events.island.IslandEvent.IslandCreatedEvent;
|
||||
import world.bentobox.bbox.api.events.island.IslandEvent.IslandResettedEvent;
|
||||
import world.bentobox.bbox.database.objects.Island;
|
||||
import world.bentobox.bentobox.api.events.island.IslandEvent.IslandCreatedEvent;
|
||||
import world.bentobox.bentobox.api.events.island.IslandEvent.IslandResettedEvent;
|
||||
import world.bentobox.bentobox.database.objects.Island;
|
||||
|
||||
/**
|
||||
* Listens for new islands and sets the level to zero automatically
|
||||
|
Loading…
Reference in New Issue
Block a user