public interface JumpPointAPI extends SectorEntityToken
| Modifier and Type | Interface and Description |
|---|---|
static class |
JumpPointAPI.JumpDestination |
SectorEntityToken.VisibilityLevel| Modifier and Type | Method and Description |
|---|---|
void |
addDestination(JumpPointAPI.JumpDestination destination) |
void |
autoUpdateHyperJumpPointLocationBasedOnInSystemEntityAtRadius(SectorEntityToken entity,
float radius)
May only be called after this jump point was added to the system, and also after
StarSystemAPI.autogenerateHyperspaceAnchors() was called for the system, OR initStar() was called
with the "location in hyperspace" parameters (which auto-generates the main hyperspace anchor).
|
void |
clearDestinations() |
void |
close()
Purely visual.
|
void |
forceClose()
Skips animation.
|
void |
forceOpen()
Skips animation.
|
java.util.List<JumpPointAPI.JumpDestination> |
getDestinations() |
StarSystemAPI |
getDestinationStarSystem() |
SectorEntityToken |
getDestinationVisualEntity() |
SectorEntityToken |
getRelatedPlanet() |
boolean |
isAutoCreateEntranceFromHyperspace() |
boolean |
isGasGiantAnchor() |
boolean |
isStarAnchor() |
boolean |
isWormhole() |
void |
open()
Purely visual.
|
void |
removeDestination(SectorEntityToken destination) |
void |
setAutoCreateEntranceFromHyperspace(boolean autoCreateEntrance) |
void |
setDestinationVisual(java.lang.String category,
java.lang.String id,
SectorEntityToken entity)
Also automatically sets the jump point size.
|
void |
setRadius(float radius) |
void |
setRelatedPlanet(SectorEntityToken relatedPlanet)
This planet will be displayed by auto-generated jump points using this jump point as an exit.
|
void |
setStandardWormholeToHyperspaceVisual() |
void |
setStandardWormholeToNothingVisual() |
void |
setStandardWormholeToStarfieldVisual() |
void |
setStandardWormholeToStarOrPlanetVisual(SectorEntityToken entity) |
addAbility, addDropRandom, addDropRandom, addDropRandom, addDropValue, addDropValue, addFloatingText, addFloatingText, addScript, addTag, advance, autoUpdateHyperLocationBasedOnInSystemEntityAtRadius, clearAbilities, clearFloatingText, clearTags, fadeInIndicator, fadeOutIndicator, forceOutIndicator, forceSensorContactFaderBrightness, forceSensorFaderBrightness, forceSensorFaderOut, getAbilities, getAbility, getActivePerson, getAlwaysUseSensorFaderBrightness, getAutogenJumpPointNameInHyper, getBaseSensorRangeToDetect, getCargo, getCircularOrbitAngle, getCircularOrbitPeriod, getCircularOrbitRadius, getConstellation, getContainingLocation, getCustomData, getCustomDescriptionId, getCustomEntitySpec, getCustomEntityType, getCustomInteractionDialogImageVisual, getCustomPlugin, getDetectedRangeMod, getDetectionRangeDetailsOverrideMult, getDiscoveryXP, getDropRandom, getDropValue, getExtendedDetectedAtRange, getFacing, getFaction, getFullName, getId, getIndicatorColor, getLightColor, getLightSource, getLocation, getLocationInHyperspace, getMarket, getMaxSensorRangeToDetect, getMemory, getMemoryWithoutUpdate, getName, getOrbit, getOrbitFocus, getRadius, getSalvageXP, getScripts, getSensorContactFaderBrightness, getSensorFaderBrightness, getSensorProfile, getSensorRangeMod, getSensorStrength, getStarSystem, getTags, getVelocity, getVisibilityLevelOfPlayerFleet, getVisibilityLevelTo, getVisibilityLevelToPlayerFleet, hasAbility, hasDiscoveryXP, hasSalvageXP, hasScriptOfClass, hasSensorProfile, hasSensorStrength, hasTag, isAlive, isDiscoverable, isExpired, isFreeTransfer, isInCurrentLocation, isInHyperspace, isInOrNearSystem, isPlayerFleet, isSkipForJumpPointAutoGen, isStar, isSystemCenter, isTransponderOn, isVisibleToPlayerFleet, isVisibleToSensorsOf, removeAbility, removeScript, removeScriptsOfClass, removeTag, setActivePerson, setAlwaysUseSensorFaderBrightness, setAutogenJumpPointNameInHyper, setCircularOrbit, setCircularOrbitAngle, setCircularOrbitPointingDown, setCircularOrbitWithSpin, setContainingLocation, setCustomDescriptionId, setCustomInteractionDialogImageVisual, setDetectionRangeDetailsOverrideMult, setDiscoverable, setDiscoveryXP, setExpired, setExtendedDetectedAtRange, setFacing, setFaction, setFixedLocation, setFreeTransfer, setId, setInteractionImage, setLightSource, setLocation, setMarket, setMemory, setName, setOrbit, setOrbitFocus, setSalvageXP, setSensorProfile, setSensorStrength, setSkipForJumpPointAutoGen, setTransponderOnvoid setRadius(float radius)
void addDestination(JumpPointAPI.JumpDestination destination)
void clearDestinations()
void removeDestination(SectorEntityToken destination)
java.util.List<JumpPointAPI.JumpDestination> getDestinations()
void setDestinationVisual(java.lang.String category, java.lang.String id, SectorEntityToken entity)
category - in settings.jsonid - under category in settings.jsonentity - can be null or a star/planet. Entity will be displayed at the end of the wormhole, above the background.void setStandardWormholeToStarOrPlanetVisual(SectorEntityToken entity)
void setStandardWormholeToHyperspaceVisual()
void setStandardWormholeToStarfieldVisual()
void setStandardWormholeToNothingVisual()
boolean isAutoCreateEntranceFromHyperspace()
boolean isStarAnchor()
boolean isGasGiantAnchor()
void setAutoCreateEntranceFromHyperspace(boolean autoCreateEntrance)
SectorEntityToken getDestinationVisualEntity()
SectorEntityToken getRelatedPlanet()
void setRelatedPlanet(SectorEntityToken relatedPlanet)
relatedPlanet - void autoUpdateHyperJumpPointLocationBasedOnInSystemEntityAtRadius(SectorEntityToken entity, float radius)
entity - radius - void open()
void close()
void forceOpen()
void forceClose()
StarSystemAPI getDestinationStarSystem()
boolean isWormhole()