mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-15 21:01:24 +01:00
#279: Minor edits to various Javadocs
By: ShanerX <shanerx@shanerx.org>
This commit is contained in:
parent
c9e4ed1a42
commit
dcd02753e8
@ -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 {
|
||||
|
||||
/**
|
||||
|
@ -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 {
|
||||
|
||||
/**
|
||||
|
@ -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 {
|
||||
|
||||
/**
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user