geforkt von Mirrors/Paper
Fix some incorrectly handled JavaDoc
By: md_5 <git@md-5.net>
Dieser Commit ist enthalten in:
Ursprung
43b01394e5
Commit
3a419169d2
@ -149,7 +149,7 @@ public class StructureType {
|
|||||||
* <i>mapIcon</i>.
|
* <i>mapIcon</i>.
|
||||||
*
|
*
|
||||||
* @param name the name of the structure, case-sensitive
|
* @param name the name of the structure, case-sensitive
|
||||||
* @param mapIcon the {@link MapCursor.Type} this structure type should use
|
* @param mapIcon the {@link org.bukkit.map.MapCursor.Type} this structure type should use
|
||||||
* when creating explorer maps. Use null to indicate this structure should
|
* when creating explorer maps. Use null to indicate this structure should
|
||||||
* not be compatible with explorer maps.
|
* not be compatible with explorer maps.
|
||||||
*/
|
*/
|
||||||
@ -170,10 +170,10 @@ public class StructureType {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Get the {@link MapCursor.Type} that this structure can use on maps. If
|
* Get the {@link org.bukkit.map.MapCursor.Type} that this structure can use on maps. If
|
||||||
* this is null, this structure will not appear on explorer maps.
|
* this is null, this structure will not appear on explorer maps.
|
||||||
*
|
*
|
||||||
* @return the {@link MapCursor.Type} or null.
|
* @return the {@link org.bukkit.map.MapCursor.Type} or null.
|
||||||
*/
|
*/
|
||||||
public MapCursor.Type getMapIcon() {
|
public MapCursor.Type getMapIcon() {
|
||||||
return mapCursor;
|
return mapCursor;
|
||||||
|
@ -29,14 +29,14 @@ public abstract class InventoryInteractEvent extends InventoryEvent implements C
|
|||||||
* event is considered cancelled.
|
* event is considered cancelled.
|
||||||
*
|
*
|
||||||
* @see #isCancelled()
|
* @see #isCancelled()
|
||||||
* @param newResult the new {@link Result} for this event
|
* @param newResult the new {@link org.bukkit.event.Event.Result} for this event
|
||||||
*/
|
*/
|
||||||
public void setResult(Result newResult) {
|
public void setResult(Result newResult) {
|
||||||
result = newResult;
|
result = newResult;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Gets the {@link Result} of this event. The Result describes the
|
* Gets the {@link org.bukkit.event.Event.Result} of this event. The Result describes the
|
||||||
* behavior that will be applied to the inventory in relation to this
|
* behavior that will be applied to the inventory in relation to this
|
||||||
* event.
|
* event.
|
||||||
*
|
*
|
||||||
|
@ -76,11 +76,11 @@ public class PlayerBedEnterEvent extends PlayerEvent implements Cancellable {
|
|||||||
/**
|
/**
|
||||||
* This controls the action to take with the bed that was clicked on.
|
* This controls the action to take with the bed that was clicked on.
|
||||||
* <p>
|
* <p>
|
||||||
* In case of {@link Result#DEFAULT}, the default outcome is described by
|
* In case of {@link org.bukkit.event.Event.Result#DEFAULT}, the default outcome is described by
|
||||||
* {@link #getBedEnterResult()}.
|
* {@link #getBedEnterResult()}.
|
||||||
*
|
*
|
||||||
* @return the action to take with the interacted bed
|
* @return the action to take with the interacted bed
|
||||||
* @see #setUseBed(Result)
|
* @see #setUseBed(org.bukkit.event.Event.Result)
|
||||||
*/
|
*/
|
||||||
public Result useBed() {
|
public Result useBed() {
|
||||||
return useBed;
|
return useBed;
|
||||||
@ -89,13 +89,13 @@ public class PlayerBedEnterEvent extends PlayerEvent implements Cancellable {
|
|||||||
/**
|
/**
|
||||||
* Sets the action to take with the interacted bed.
|
* Sets the action to take with the interacted bed.
|
||||||
* <p>
|
* <p>
|
||||||
* {@link Result#ALLOW} will result in the player sleeping, regardless of
|
* {@link org.bukkit.event.Event.Result#ALLOW} will result in the player sleeping, regardless of
|
||||||
* the default outcome described by {@link #getBedEnterResult()}.
|
* the default outcome described by {@link #getBedEnterResult()}.
|
||||||
* <br>
|
* <br>
|
||||||
* {@link Result#DENY} will prevent the player from sleeping. This has the
|
* {@link org.bukkit.event.Event.Result#DENY} will prevent the player from sleeping. This has the
|
||||||
* same effect as canceling the event via {@link #setCancelled(boolean)}.
|
* same effect as canceling the event via {@link #setCancelled(boolean)}.
|
||||||
* <br>
|
* <br>
|
||||||
* {@link Result#DEFAULT} will result in the outcome described by
|
* {@link org.bukkit.event.Event.Result#DEFAULT} will result in the outcome described by
|
||||||
* {@link #getBedEnterResult()}.
|
* {@link #getBedEnterResult()}.
|
||||||
*
|
*
|
||||||
* @param useBed the action to take with the interacted bed
|
* @param useBed the action to take with the interacted bed
|
||||||
@ -110,10 +110,10 @@ public class PlayerBedEnterEvent extends PlayerEvent implements Cancellable {
|
|||||||
* prevent the player from sleeping.
|
* prevent the player from sleeping.
|
||||||
* <p>
|
* <p>
|
||||||
* Canceling the event has the same effect as setting {@link #useBed()} to
|
* Canceling the event has the same effect as setting {@link #useBed()} to
|
||||||
* {@link Result#DENY}.
|
* {@link org.bukkit.event.Event.Result#DENY}.
|
||||||
* <p>
|
* <p>
|
||||||
* For backwards compatibility reasons this also returns true if
|
* For backwards compatibility reasons this also returns true if
|
||||||
* {@link #useBed()} is {@link Result#DEFAULT} and the
|
* {@link #useBed()} is {@link org.bukkit.event.Event.Result#DEFAULT} and the
|
||||||
* {@link #getBedEnterResult() default action} is to prevent bed entering.
|
* {@link #getBedEnterResult() default action} is to prevent bed entering.
|
||||||
*
|
*
|
||||||
* @return boolean cancellation state
|
* @return boolean cancellation state
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren