geforkt von Mirrors/Paper
Add EndGateway#getExitLocation and EndGateway#setExitLocation(Location)
By: Matthew <stteg@hotmail.com>
Dieser Commit ist enthalten in:
Ursprung
441c95cf26
Commit
622a61ce45
@ -1,3 +1,26 @@
|
|||||||
package org.bukkit.block;
|
package org.bukkit.block;
|
||||||
|
|
||||||
public interface EndGateway extends BlockState {}
|
import org.bukkit.Location;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Represents an end gateway.
|
||||||
|
*/
|
||||||
|
public interface EndGateway extends BlockState {
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Gets the location that entities are teleported to when
|
||||||
|
* entering the gateway portal.
|
||||||
|
*
|
||||||
|
* @return the gateway exit location
|
||||||
|
*/
|
||||||
|
Location getExitLocation();
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Sets the exit location that entities are teleported to when
|
||||||
|
* they enter the gateway portal.
|
||||||
|
*
|
||||||
|
* @param location the new exit location
|
||||||
|
* @throws IllegalArgumentException for differing worlds
|
||||||
|
*/
|
||||||
|
void setExitLocation(Location location);
|
||||||
|
}
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren