public interface EndGateway extends BlockState
| Modifier and Type | Method and Description | 
|---|---|
Location | 
getExitLocation()
Gets the location that entities are teleported to when 
 entering the gateway portal. 
 | 
boolean | 
isExactTeleport()
Gets whether this gateway will teleport entities directly to
 the exit location instead of finding a nearby location. 
 | 
void | 
setExactTeleport(boolean exact)
Sets whether this gateway will teleport entities directly to
 the exit location instead of finding a nearby location. 
 | 
void | 
setExitLocation(Location location)
Sets the exit location that entities are teleported to when
 they enter the gateway portal. 
 | 
getBlock, getChunk, getData, getLightLevel, getLocation, getLocation, getRawData, getType, getTypeId, getWorld, getX, getY, getZ, isPlaced, setData, setRawData, setType, setTypeId, update, update, updategetMetadata, hasMetadata, removeMetadata, setMetadataLocation getExitLocation()
void setExitLocation(Location location)
location - the new exit locationIllegalArgumentException - for differing worldsboolean isExactTeleport()
void setExactTeleport(boolean exact)
exact - whether to teleport to the exact locationCopyright © 2017. All rights reserved.