#279: Minor edits to various Javadocs

By: ShanerX <shanerx@shanerx.org>
This commit is contained in:
Bukkit/Spigot 2023-04-16 09:54:51 +10:00
parent c9e4ed1a42
commit dcd02753e8
4 changed files with 14 additions and 1 deletions

View File

@ -2,6 +2,9 @@ package org.bukkit;
import org.jetbrains.annotations.Nullable;
/**
* Represents a block, entity, or other object that may receive a custom name.
*/
public interface Nameable {
/**

View File

@ -10,6 +10,11 @@ import org.bukkit.profile.PlayerProfile;
import org.jetbrains.annotations.NotNull;
import org.jetbrains.annotations.Nullable;
/**
* Represents a reference to a player identity and the data belonging to a
* player that is stored on the disk and can, thus, be retrieved without the
* player needing to be online.
*/
public interface OfflinePlayer extends ServerOperator, AnimalTamer, ConfigurationSerializable {
/**

View File

@ -1,5 +1,8 @@
package org.bukkit.event;
/**
* A type characterizing events that may be cancelled by a plugin or the server.
*/
public interface Cancellable {
/**

View File

@ -30,7 +30,9 @@ import org.jetbrains.annotations.NotNull;
import org.jetbrains.annotations.Nullable;
/**
* Represents a Java plugin
* Represents a Java plugin and its main class. It contains fundamental methods
* and fields for a plugin to be loaded and work properly. This is an indirect
* implementation of {@link org.bukkit.plugin.Plugin}.
*/
public abstract class JavaPlugin extends PluginBase {
private boolean isEnabled = false;