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