mirror of
https://github.com/songoda/SongodaCore.git
synced 2025-02-23 06:51:19 +01:00
Removes @author
and @since
from class comments
These kind of information can easily be found in git/on GitHub
This commit is contained in:
parent
39bdd862fb
commit
97feaf3b9c
@ -19,9 +19,6 @@ import java.util.Set;
|
||||
|
||||
/**
|
||||
* Biomes that are compatible with server versions 1.7+
|
||||
*
|
||||
* @author Brianna
|
||||
* @since 2020-03-27
|
||||
*/
|
||||
public enum CompatibleBiome {
|
||||
/* 1.17 */
|
||||
|
@ -11,9 +11,6 @@ import java.util.Map;
|
||||
|
||||
/**
|
||||
* Get which hand is being used.
|
||||
*
|
||||
* @author Brianna
|
||||
* @since 2020-03-24
|
||||
*/
|
||||
public enum CompatibleHand {
|
||||
MAIN_HAND, OFF_HAND;
|
||||
|
@ -16,9 +16,6 @@ import java.util.Set;
|
||||
|
||||
/**
|
||||
* Items that are compatible with server versions 1.7+
|
||||
*
|
||||
* @author jascotty2
|
||||
* @since 2019-08-23
|
||||
*/
|
||||
public enum CompatibleMaterial {
|
||||
/*
|
||||
|
@ -13,9 +13,6 @@ import org.bukkit.entity.Player;
|
||||
* sounds were renamed. New sounds have been added by different versions, as
|
||||
* well. The intent of this class is to provide either the correct sound or a
|
||||
* near equivalent for the current server.
|
||||
*
|
||||
* @author jascotty2
|
||||
* @since 2019-08-25
|
||||
*/
|
||||
public enum CompatibleSound {
|
||||
// some of these values are missing an API value..
|
||||
|
@ -8,9 +8,6 @@ import java.util.Map;
|
||||
|
||||
/**
|
||||
* Near-Materials for older servers 1.7+
|
||||
*
|
||||
* @author jascotty2
|
||||
* @since 2019-08-23
|
||||
*/
|
||||
public enum LegacyMaterialAnalouge {
|
||||
/* 1.17 */
|
||||
|
@ -8,9 +8,6 @@ import java.util.Map;
|
||||
/**
|
||||
* Starting in Minecraft 1.13, separate materials for blocks and items were
|
||||
* phased out. This provides a translation for those values.
|
||||
*
|
||||
* @author jascotty2
|
||||
* @since 2019-09-12
|
||||
*/
|
||||
public enum LegacyMaterialBlockType {
|
||||
OAK_LEAVES("LEAVES", (byte) 8, true),
|
||||
|
@ -15,9 +15,6 @@ import java.util.logging.Logger;
|
||||
|
||||
/**
|
||||
* Particle effects for servers 1.8 and below
|
||||
*
|
||||
* @author jascotty2
|
||||
* @since 2019-08-23
|
||||
*/
|
||||
public class LegacyParticleEffects {
|
||||
public static enum Type {
|
||||
|
@ -17,8 +17,6 @@ import java.util.logging.Level;
|
||||
/**
|
||||
* REMINDER: When converting plugins to use this, REMOVE METRICS <br>
|
||||
* Must not have two instances of Metrics enabled!
|
||||
*
|
||||
* @author jascotty2
|
||||
*/
|
||||
public abstract class SongodaPlugin extends JavaPlugin {
|
||||
protected Locale locale;
|
||||
|
@ -11,9 +11,6 @@ import java.util.stream.Collectors;
|
||||
|
||||
/**
|
||||
* A comment for a configuration key
|
||||
*
|
||||
* @author jascotty2
|
||||
* @since 2019-08-28
|
||||
*/
|
||||
public class Comment {
|
||||
final List<String> lines = new ArrayList();
|
||||
|
@ -45,9 +45,6 @@ import java.util.stream.Collectors;
|
||||
|
||||
/**
|
||||
* Configuration settings for a plugin
|
||||
*
|
||||
* @author jascotty2
|
||||
* @since 2019-08-28
|
||||
*/
|
||||
public class Config extends ConfigSection {
|
||||
/*
|
||||
|
@ -20,9 +20,6 @@ import java.util.stream.Collectors;
|
||||
|
||||
/**
|
||||
* Configuration for a specific node
|
||||
*
|
||||
* @author jascotty2
|
||||
* @since 2019-08-28
|
||||
*/
|
||||
public class ConfigSection extends MemoryConfiguration {
|
||||
final String fullPath, nodeKey;
|
||||
|
@ -21,9 +21,6 @@ import java.util.logging.Level;
|
||||
* Used to easily store a set of one data value
|
||||
*
|
||||
* @param <T> DataObject class that is used to store the data
|
||||
*
|
||||
* @author jascotty2
|
||||
* @since 2019-09-06
|
||||
*/
|
||||
public class SimpleDataStore<T extends DataStoreObject> {
|
||||
protected final Plugin plugin;
|
||||
|
@ -27,9 +27,6 @@ import java.util.logging.Level;
|
||||
|
||||
/**
|
||||
* Edit a configuration file for a specific plugin
|
||||
*
|
||||
* @author jascotty2
|
||||
* @since 2019-08-31
|
||||
*/
|
||||
public class ConfigEditorGui extends SimplePagedGui {
|
||||
final JavaPlugin plugin;
|
||||
|
@ -12,9 +12,6 @@ import java.util.List;
|
||||
|
||||
/**
|
||||
* Edit a string list
|
||||
*
|
||||
* @author jascotty2
|
||||
* @since 2019-08-31
|
||||
*/
|
||||
public class ConfigEditorListEditorGui extends SimplePagedGui {
|
||||
final ConfigEditorGui current;
|
||||
|
@ -19,9 +19,6 @@ import java.util.Map;
|
||||
|
||||
/**
|
||||
* Edit all configuration files for a specific plugin
|
||||
*
|
||||
* @author jascotty2
|
||||
* @since 2019-08-31
|
||||
*/
|
||||
public class PluginConfigGui extends SimplePagedGui {
|
||||
final JavaPlugin plugin;
|
||||
|
@ -17,9 +17,6 @@ import java.util.List;
|
||||
|
||||
/**
|
||||
* Anvil GUI for text prompts
|
||||
*
|
||||
* @author jascotty2
|
||||
* @since 2019-09-15
|
||||
*/
|
||||
public class AnvilGui extends Gui {
|
||||
final Player player;
|
||||
|
@ -24,9 +24,6 @@ import java.util.Map;
|
||||
* TODO: does not restore inventory if server crashes while player inventory is open
|
||||
* Method to fix: save inv + ender slot to file, store paper in ender inv with name of cache file, check for paper item in slot when loading
|
||||
* Or just manually manage all inventories in a file and remove when restored
|
||||
*
|
||||
* @author jascotty2
|
||||
* @since 2019-08-25
|
||||
*/
|
||||
public class DoubleGui extends Gui {
|
||||
protected boolean startStashed = true;
|
||||
|
@ -33,9 +33,6 @@ import java.util.stream.Collectors;
|
||||
|
||||
/**
|
||||
* TODO: animated buttons
|
||||
*
|
||||
* @author jascotty2
|
||||
* @since 2019-08-25
|
||||
*/
|
||||
public class Gui {
|
||||
protected Inventory inventory;
|
||||
|
@ -7,9 +7,6 @@ import org.bukkit.inventory.InventoryHolder;
|
||||
|
||||
/**
|
||||
* Internal class for marking an inventory as a GUI inventory
|
||||
*
|
||||
* @author jascotty2
|
||||
* @since 2019-08-25
|
||||
*/
|
||||
class GuiHolder implements InventoryHolder {
|
||||
final Gui gui;
|
||||
|
@ -28,9 +28,6 @@ import java.util.stream.Collectors;
|
||||
|
||||
/**
|
||||
* Manages events for GUI screens
|
||||
*
|
||||
* @author jascotty2
|
||||
* @since 2019-08-25
|
||||
*/
|
||||
public class GuiManager {
|
||||
final Plugin plugin;
|
||||
|
@ -10,10 +10,6 @@ import java.util.Arrays;
|
||||
import java.util.Collections;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* @author jascotty2
|
||||
* @since 2019-08-25
|
||||
*/
|
||||
public class GuiUtils {
|
||||
public static ItemStack getBorderGlassItem() {
|
||||
ItemStack glass = CompatibleMaterial.LIGHT_BLUE_STAINED_GLASS_PANE.getItem();
|
||||
|
@ -15,9 +15,6 @@ import java.util.Map;
|
||||
|
||||
/**
|
||||
* Paged GUI for when you aren't going to be making too many pages
|
||||
*
|
||||
* @author jascotty2
|
||||
* @since 2019-08-31
|
||||
*/
|
||||
public class SimplePagedGui extends Gui {
|
||||
protected boolean useHeader;
|
||||
|
@ -30,11 +30,7 @@ import java.util.regex.Pattern;
|
||||
import java.util.stream.Collectors;
|
||||
|
||||
/**
|
||||
* Assists in the utilization of localization files. <br>
|
||||
* Created to be used by the Songoda Team. <br>
|
||||
* Updated 2019-09-01 to support UTF encoded lang files - jascotty2
|
||||
*
|
||||
* @author Brianna O'Keefe - Songoda
|
||||
* Assists in the utilization of localization files.
|
||||
*/
|
||||
public class Locale {
|
||||
private static final Pattern OLD_NODE_PATTERN = Pattern.compile("^([^ ]+)\\s*=\\s*\"?(.*?)\"?$");
|
||||
|
@ -6,9 +6,6 @@ import org.bukkit.inventory.ItemStack;
|
||||
|
||||
/**
|
||||
* NMS interface for creating an anvil view for a single player
|
||||
*
|
||||
* @author jascotty2
|
||||
* @since 2019-09-13
|
||||
*/
|
||||
public interface CustomAnvil {
|
||||
public void setLevelCost(int cost);
|
||||
|
Loading…
Reference in New Issue
Block a user