mirror of
https://github.com/BentoBoxWorld/BentoBox.git
synced 2024-11-01 00:10:40 +01:00
Fix JavaDoc
This commit is contained in:
parent
c3b25c92b5
commit
044a0c5c0d
@ -44,9 +44,9 @@ public abstract class ConfirmableCommand extends CompositeCommand {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @param parent
|
* @param parent - parent command
|
||||||
* @param label
|
* @param label - command label
|
||||||
* @param aliases
|
* @param aliases - command aliases
|
||||||
*/
|
*/
|
||||||
protected ConfirmableCommand(CompositeCommand parent, String label, String... aliases) {
|
protected ConfirmableCommand(CompositeCommand parent, String label, String... aliases) {
|
||||||
super(parent, label, aliases);
|
super(parent, label, aliases);
|
||||||
|
@ -78,9 +78,9 @@ public abstract class DelayedTeleportCommand extends CompositeCommand implements
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @param parent
|
* @param parent - parent command
|
||||||
* @param label
|
* @param label - command label
|
||||||
* @param aliases
|
* @param aliases - command aliases
|
||||||
*/
|
*/
|
||||||
protected DelayedTeleportCommand(CompositeCommand parent, String label, String... aliases) {
|
protected DelayedTeleportCommand(CompositeCommand parent, String label, String... aliases) {
|
||||||
super(parent, label, aliases);
|
super(parent, label, aliases);
|
||||||
|
@ -358,7 +358,6 @@ public class IslandEvent extends IslandBaseEvent {
|
|||||||
* that the island blocks are going to be removed.
|
* that the island blocks are going to be removed.
|
||||||
*
|
*
|
||||||
* @deprecated This event is moving to its own class.
|
* @deprecated This event is moving to its own class.
|
||||||
* Use {@link world.bentobox.bentobox.api.events.island.
|
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
@Deprecated
|
@Deprecated
|
||||||
|
@ -119,7 +119,7 @@ public class PanelBuilder {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Set the game world that applies this panel
|
* Set the game world that applies this panel
|
||||||
* @param world
|
* @param world - world where this panel will be shown
|
||||||
* @return PanelBuilder
|
* @return PanelBuilder
|
||||||
*/
|
*/
|
||||||
public PanelBuilder world(World world) {
|
public PanelBuilder world(World world) {
|
||||||
|
@ -158,7 +158,6 @@ public class YamlDatabaseHandler<T> extends AbstractDatabaseHandler<T> {
|
|||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
// Get the getter and setters for this field using the JavaBeans system
|
// Get the getter and setters for this field using the JavaBeans system
|
||||||
//noinspection RedundantCast
|
|
||||||
PropertyDescriptor propertyDescriptor = new PropertyDescriptor(field.getName(), dataObject);
|
PropertyDescriptor propertyDescriptor = new PropertyDescriptor(field.getName(), dataObject);
|
||||||
// Get the write method
|
// Get the write method
|
||||||
Method method = propertyDescriptor.getWriteMethod();
|
Method method = propertyDescriptor.getWriteMethod();
|
||||||
@ -367,7 +366,6 @@ public class YamlDatabaseHandler<T> extends AbstractDatabaseHandler<T> {
|
|||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
// Get the property descriptor for this field
|
// Get the property descriptor for this field
|
||||||
//noinspection RedundantCast
|
|
||||||
PropertyDescriptor propertyDescriptor = new PropertyDescriptor(field.getName(), dataObject);
|
PropertyDescriptor propertyDescriptor = new PropertyDescriptor(field.getName(), dataObject);
|
||||||
// Get the read method
|
// Get the read method
|
||||||
Method method = propertyDescriptor.getReadMethod();
|
Method method = propertyDescriptor.getReadMethod();
|
||||||
|
@ -59,7 +59,7 @@ public class PortalTeleportationListener implements Listener {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Fires the event if nether or end is disabled at the system level
|
* Fires the event if nether or end is disabled at the system level
|
||||||
* @param e
|
* @param e - EntityPortalEnterEvent
|
||||||
*/
|
*/
|
||||||
@EventHandler(priority = EventPriority.NORMAL, ignoreCancelled = true)
|
@EventHandler(priority = EventPriority.NORMAL, ignoreCancelled = true)
|
||||||
public void onPlayerPortal(EntityPortalEnterEvent e) {
|
public void onPlayerPortal(EntityPortalEnterEvent e) {
|
||||||
@ -302,7 +302,7 @@ public class PortalTeleportationListener implements Listener {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Check if nether or end are generated
|
* Check if nether or end are generated
|
||||||
* @param gm - game mode
|
* @param overWorld - game world
|
||||||
* @param env - environment
|
* @param env - environment
|
||||||
* @return true or false
|
* @return true or false
|
||||||
*/
|
*/
|
||||||
@ -312,7 +312,7 @@ public class PortalTeleportationListener implements Listener {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Check if nether or end islands are generated
|
* Check if nether or end islands are generated
|
||||||
* @param gm - game mode
|
* @param overWorld - over world
|
||||||
* @param env - environment
|
* @param env - environment
|
||||||
* @return true or false
|
* @return true or false
|
||||||
*/
|
*/
|
||||||
@ -322,7 +322,7 @@ public class PortalTeleportationListener implements Listener {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Get the nether or end world
|
* Get the nether or end world
|
||||||
* @param gm - game mode
|
* @param overWorld - over world
|
||||||
* @param env - environment
|
* @param env - environment
|
||||||
* @return nether or end world
|
* @return nether or end world
|
||||||
*/
|
*/
|
||||||
@ -332,7 +332,7 @@ public class PortalTeleportationListener implements Listener {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Check if the island has a nether or end island already
|
* Check if the island has a nether or end island already
|
||||||
* @param gm - game mode
|
* @param i - island
|
||||||
* @param env - environment
|
* @param env - environment
|
||||||
* @return true or false
|
* @return true or false
|
||||||
*/
|
*/
|
||||||
@ -342,7 +342,6 @@ public class PortalTeleportationListener implements Listener {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Check if the default nether or end are allowed by the server settings
|
* Check if the default nether or end are allowed by the server settings
|
||||||
* @param gm - game mode
|
|
||||||
* @param env - environment
|
* @param env - environment
|
||||||
* @return true or false
|
* @return true or false
|
||||||
*/
|
*/
|
||||||
@ -383,10 +382,10 @@ public class PortalTeleportationListener implements Listener {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Handle teleport from or to standard nether or end
|
* Handle teleport from or to standard nether or end
|
||||||
* @param e
|
* @param e - PlayerEntityPortalEvent
|
||||||
* @param fromWorld
|
* @param fromWorld - from world
|
||||||
* @param overWorld
|
* @param overWorld - over world
|
||||||
* @param env
|
* @param env - environment involved
|
||||||
*/
|
*/
|
||||||
private void handleStandardNetherOrEnd(PlayerEntityPortalEvent e, World fromWorld, World overWorld, Environment env) {
|
private void handleStandardNetherOrEnd(PlayerEntityPortalEvent e, World fromWorld, World overWorld, Environment env) {
|
||||||
if (fromWorld.getEnvironment() != env) {
|
if (fromWorld.getEnvironment() != env) {
|
||||||
|
@ -342,7 +342,7 @@ public class SafeSpotTeleport {
|
|||||||
* Set the home name
|
* Set the home name
|
||||||
* @param homeName - home name
|
* @param homeName - home name
|
||||||
* @return Builder
|
* @return Builder
|
||||||
* @Since 1.16.0
|
* @since 1.16.0
|
||||||
*/
|
*/
|
||||||
public Builder homeName(String homeName) {
|
public Builder homeName(String homeName) {
|
||||||
this.homeName = homeName;
|
this.homeName = homeName;
|
||||||
|
Loading…
Reference in New Issue
Block a user