#279: Minor edits to various Javadocs

This commit is contained in:
ShanerX 2023-04-16 09:54:51 +10:00 committed by md_5
parent 465c496472
commit 2c7d3da590
No known key found for this signature in database
GPG key ID: E8E901AC7C617C11
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;