mirror of
https://github.com/BentoBoxWorld/Challenges.git
synced 2024-11-13 06:05:46 +01:00
Deprecate all classes that are not necessary anymore.
This commit is contained in:
parent
20dfc6a760
commit
59c0f6bfea
@ -11,7 +11,10 @@ import org.bukkit.potion.PotionType;
|
||||
* Used for converting config file entries to objects
|
||||
* @author tastybento
|
||||
*
|
||||
* @deprecated
|
||||
* @see world.bentobox.bentobox.util.ItemParser#parse(String)
|
||||
*/
|
||||
@Deprecated
|
||||
public class ParseItem {
|
||||
|
||||
private final ItemStack item;
|
||||
|
@ -9,6 +9,11 @@ import world.bentobox.bentobox.api.commands.CompositeCommand;
|
||||
import world.bentobox.bentobox.api.panels.builders.PanelBuilder;
|
||||
import world.bentobox.bentobox.api.user.User;
|
||||
|
||||
|
||||
/**
|
||||
* @deprecated Challenges can be creaded via GUI.
|
||||
*/
|
||||
@Deprecated
|
||||
public class CreateChallenge extends CompositeCommand {
|
||||
|
||||
/**
|
||||
|
@ -25,8 +25,9 @@ import world.bentobox.bentobox.util.Util;
|
||||
/**
|
||||
* Command to create a surrounding type challenge
|
||||
* @author tastybento
|
||||
*
|
||||
* @deprecated Required blocks can be added via GUI. Not necessary.
|
||||
*/
|
||||
@Deprecated
|
||||
public class CreateSurrounding extends CompositeCommand implements Listener {
|
||||
|
||||
HashMap<UUID,SurroundChallengeBuilder> inProgress = new HashMap<>();
|
||||
|
@ -13,6 +13,11 @@ import world.bentobox.bentobox.api.localization.TextVariables;
|
||||
import world.bentobox.bentobox.api.user.User;
|
||||
import world.bentobox.bentobox.util.Util;
|
||||
|
||||
|
||||
/**
|
||||
* @deprecated Challenges can be reset via GUI.
|
||||
*/
|
||||
@Deprecated
|
||||
public class ResetChallenge extends CompositeCommand {
|
||||
|
||||
private ChallengesManager manager;
|
||||
|
@ -12,8 +12,9 @@ import world.bentobox.bentobox.api.user.User;
|
||||
/**
|
||||
* Enables the state of a Surrounding Challenge to be stored as it is built
|
||||
* @author tastybento
|
||||
*
|
||||
* @deprecated Levels and challenges can be created via GUI. Not necessary command.
|
||||
*/
|
||||
@Deprecated
|
||||
public class SurroundChallengeBuilder {
|
||||
private ChallengesAddon addon;
|
||||
private String name;
|
||||
|
@ -13,6 +13,11 @@ import world.bentobox.bentobox.api.panels.builders.PanelBuilder;
|
||||
import world.bentobox.bentobox.api.panels.builders.PanelItemBuilder;
|
||||
import world.bentobox.bentobox.api.user.User;
|
||||
|
||||
|
||||
/**
|
||||
* @deprecated All panels are reworked.
|
||||
*/
|
||||
@Deprecated
|
||||
public class AdminEditGUI implements ClickHandler {
|
||||
|
||||
private ChallengesAddon addon;
|
||||
|
@ -13,6 +13,11 @@ import world.bentobox.bentobox.api.panels.builders.PanelBuilder;
|
||||
import world.bentobox.bentobox.api.panels.builders.PanelItemBuilder;
|
||||
import world.bentobox.bentobox.api.user.User;
|
||||
|
||||
|
||||
/**
|
||||
* @deprecated All panels are reworked.
|
||||
*/
|
||||
@Deprecated
|
||||
public class AdminGUI implements ClickHandler {
|
||||
|
||||
private ChallengesAddon addon;
|
||||
|
@ -22,6 +22,10 @@ import world.bentobox.bentobox.api.panels.builders.PanelItemBuilder;
|
||||
import world.bentobox.bentobox.api.user.User;
|
||||
|
||||
|
||||
/**
|
||||
* @deprecated All panels are reworked.
|
||||
*/
|
||||
@Deprecated
|
||||
public class ChallengesPanels {
|
||||
private ChallengesAddon addon;
|
||||
private ChallengesManager manager;
|
||||
|
@ -21,6 +21,10 @@ import world.bentobox.bentobox.api.panels.builders.PanelItemBuilder;
|
||||
import world.bentobox.bentobox.api.user.User;
|
||||
|
||||
|
||||
/**
|
||||
* @deprecated All panels are reworked.
|
||||
*/
|
||||
@Deprecated
|
||||
public class ChallengesPanels2 {
|
||||
|
||||
public enum Mode {
|
||||
|
@ -7,6 +7,11 @@ import world.bentobox.challenges.ChallengesAddon;
|
||||
import world.bentobox.bentobox.api.panels.PanelListener;
|
||||
import world.bentobox.bentobox.api.user.User;
|
||||
|
||||
|
||||
/**
|
||||
* @deprecated All panels are reworked.
|
||||
*/
|
||||
@Deprecated
|
||||
public class CreateChallengeListener implements PanelListener {
|
||||
|
||||
private ChallengesAddon addon;
|
||||
|
@ -4,6 +4,11 @@ import world.bentobox.challenges.ChallengesAddon;
|
||||
import world.bentobox.bentobox.api.panels.builders.PanelBuilder;
|
||||
import world.bentobox.bentobox.api.user.User;
|
||||
|
||||
|
||||
/**
|
||||
* @deprecated All panels are reworked.
|
||||
*/
|
||||
@Deprecated
|
||||
public class CreateChallengePanel {
|
||||
|
||||
public CreateChallengePanel(ChallengesAddon addon, User user) {
|
||||
|
@ -25,8 +25,9 @@ import world.bentobox.bentobox.util.Util;
|
||||
* Handles the requirements for a challenge
|
||||
* Items, blocks, entities
|
||||
* @author tastybento
|
||||
*
|
||||
* @deprecated All panels are reworked.
|
||||
*/
|
||||
@Deprecated
|
||||
public class RequiredPanel implements ClickHandler, PanelListener {
|
||||
private static final int CONTROL_NUMBER = 4;
|
||||
private Challenges challenge;
|
||||
|
@ -26,6 +26,7 @@ import world.bentobox.challenges.ChallengesAddon;
|
||||
import world.bentobox.challenges.ParseItem;
|
||||
|
||||
@RunWith(PowerMockRunner.class)
|
||||
@Deprecated
|
||||
public class ParseItemTest {
|
||||
|
||||
private static ChallengesAddon addon;
|
||||
|
Loading…
Reference in New Issue
Block a user