- accept(T) - Method in interface CollectionUtils.CollectionFilter
-
Checks if an object should be allowed past this filter.
- addAbility(String) - Method in class FakeToken
-
- addDropRandom(String, int) - Method in class FakeToken
-
- addDropRandom(String, int, int) - Method in class FakeToken
-
- addDropRandom(SalvageEntityGenDataSpec.DropData) - Method in class FakeToken
-
- addDropValue(String, int) - Method in class FakeToken
-
- addDropValue(SalvageEntityGenDataSpec.DropData) - Method in class FakeToken
-
- addFloatingText(String, Color, float) - Method in class FakeToken
-
- addFloatingText(String, Color, float, boolean) - Method in class FakeToken
-
- addScript(EveryFrameScript) - Method in class FakeToken
-
- addShipToFleet(String, FleetMemberType, CampaignFleetAPI) - Static method in class CampaignUtils
-
Adds a fully crewed, fully combat ready ship to the designated fleet.
- addTag(String) - Method in class FakeToken
-
- advance(float) - Method in class FakeToken
-
- advance(float) - Method in class EllipticalOrbit
-
Called by Starsector itself - you can ignore this.
- advance(float) - Method in class KeplerOrbit
-
Called by Starsector itself - you can ignore this.
- aimTowardsPoint(WeaponAPI, Vector2f, float) - Static method in class WeaponUtils
-
Manually adjusts a weapon's aim towards a point.
- AIUtils - Class in org.lazywizard.lazylib.combat
-
Contains methods that deal with a single combat entity and how it views the
battle map.
- anchor - Variable in class AnchoredEntity
-
- AnchoredEntity - Class in org.lazywizard.lazylib.combat.entities
-
- AnchoredEntity(CombatEntityAPI, Vector2f) - Constructor for class AnchoredEntity
-
Creates a CombatEntityAPI that follows and rotates with another
anchoring CombatEntityAPI.
- append(String) - Method in class LazyFont.DrawableString
-
Adds additional text to the end of the current text.
- append(String, Color) - Method in class LazyFont.DrawableString
-
Adds a colored substring to the end of the current text.
- appendIndented(String, int) - Method in class LazyFont.DrawableString
-
Adds additional text to the end of the current text, with indentation.
- appendIndented(String, Color, int) - Method in class LazyFont.DrawableString
-
Adds a colored substring to the end of the current text, with indentation.
- applyForce(CombatEntityAPI, Vector2f, float) - Static method in class CombatUtils
-
Apply force to an object.
- applyForce(CombatEntityAPI, float, float) - Static method in class CombatUtils
-
Apply force to an object.
- areAtRep(SectorEntityToken, SectorEntityToken, CampaignUtils.IncludeRep, RepLevel) - Static method in class CampaignUtils
-
Checks if two campaign objects have a specific reputation with each
other.
- areSameFaction(SectorEntityToken, SectorEntityToken) - Static method in class CampaignUtils
-
Checks if two campaign objects are owned by the same faction.
- atan(double) - Static method in class FastTrig
-
Returns the arc tangent of a value.
- atan2(double, double) - Static method in class FastTrig
-
Returns the angle theta from the conversion of rectangular coordinates (x, y) to polar coordinates (r, theta).
- autoUpdateHyperLocationBasedOnInSystemEntityAtRadius(SectorEntityToken, float) - Method in class FakeToken
-
- getAbilities() - Method in class FakeToken
-
- getAbility(String) - Method in class FakeToken
-
- getActivePerson() - Method in class FakeToken
-
- getAdvance() - Method in class LazyFont.LazyChar
-
- getAlignment() - Method in class LazyFont.DrawableString
-
Returns which side of the text area the text will be aligned with.
- getAlliesInArc(WeaponAPI) - Static method in class WeaponUtils
-
Finds all allied ships within range of a
WeaponAPI.
- getAlliesOnMap(CombatEntityAPI) - Static method in class AIUtils
-
Find all present allies of an entity.
- getAlwaysUseSensorFaderBrightness() - Method in class FakeToken
-
- getAnchor() - Method in class AnchoredEntity
-
- getAnchor() - Method in class LazyFont.DrawableString
-
- getAngle() - Method in class EllipticalOrbit
-
Returns the current angle along the orbital path of the orbiting entity.
- getAngle(Vector2f, Vector2f) - Static method in class VectorUtils
-
Returns the angle between two
Vector2fs in degrees.
- getAngleStrict(Vector2f, Vector2f) - Static method in class VectorUtils
-
Returns the angle between two
Vector2fs in degrees.
- getArmorDamage(ShipAPI, Vector2f) - Static method in class DefenseUtils
-
Get the total damage taken by a
ShipAPI's armor at a location.
- getArmorLevel(ShipAPI, Vector2f) - Static method in class DefenseUtils
-
Get the armor level of a
ShipAPI at a location.
- getArmorValue(ShipAPI, Vector2f) - Static method in class DefenseUtils
-
Get the armor value of a
ShipAPI at a location.
- getAsteroidsWithinRange(Vector2f, float) - Static method in class CombatUtils
-
Returns all asteroids in range of a given location.
- getAutogenJumpPointNameInHyper() - Method in class FakeToken
-
- getBaseColor() - Method in class LazyFont.DrawableString
-
Returns the default color of drawn text.
- getBaseHeight() - Method in class LazyFont
-
Returns the base height of the underlying font.
- getBaseSensorRangeToDetect(float) - Method in class FakeToken
-
- getBestInterceptPoint(Vector2f, float, Vector2f, Vector2f) - Static method in class AIUtils
-
Returns the best place to aim to hit a target, given its current location
and velocity.
- getBlendDest() - Method in class LazyFont.DrawableString
-
Returns the blend destination factor used by
glBlendFunc()
when rendering this block of text.
- getBlendSrc() - Method in class LazyFont.DrawableString
-
Returns the blend source factor used by
glBlendFunc()
when rendering this block of text.
- getCargo() - Method in class FakeToken
-
- getChar(char) - Method in class LazyFont
-
Returns font metadata for a specific character.
- getCircularOrbitAngle() - Method in class FakeToken
-
- getCircularOrbitPeriod() - Method in class FakeToken
-
- getCircularOrbitRadius() - Method in class FakeToken
-
- getCollides(Vector2f, Vector2f, Vector2f, float) - Static method in class CollisionUtils
-
Checks if a line connects with a circle.
- getCollisionPoint(Vector2f, Vector2f, CombatEntityAPI) - Static method in class CollisionUtils
-
Finds the part of the ship that would be intersected by a given path.
- getCollisionPoint(Vector2f, Vector2f, Vector2f, Vector2f) - Static method in class CollisionUtils
-
Finds the point of intersection between two lines.
- getConstellation() - Method in class FakeToken
-
- getContainingLocation() - Method in class FakeToken
-
- getCrossProduct(Vector2f, Vector2f) - Static method in class VectorUtils
-
Returns the cross product of two
Vector2fs.
- getCustomData() - Method in class FakeToken
-
- getCustomDescriptionId() - Method in class FakeToken
-
- getCustomEntitySpec() - Method in class FakeToken
-
- getCustomEntityType() - Method in class FakeToken
-
- getCustomInteractionDialogImageVisual() - Method in class FakeToken
-
- getCustomPlugin() - Method in class FakeToken
-
- getDefenseAtPoint(ShipAPI, Vector2f) - Static method in class DefenseUtils
-
- getDetectedRangeMod() - Method in class FakeToken
-
- getDetectionRangeDetailsOverrideMult() - Method in class FakeToken
-
- getDirectionalVector(Vector2f, Vector2f) - Static method in class VectorUtils
-
Returns a normalized
Vector2f pointing from
source to
destination.
- getDiscoveryXP() - Method in class FakeToken
-
- getDistance(SectorEntityToken, SectorEntityToken) - Static method in class MathUtils
-
Returns the distance between two
SectorEntityTokens,
taking interaction radii into account.
- getDistance(SectorEntityToken, Vector2f) - Static method in class MathUtils
-
- getDistance(CombatEntityAPI, CombatEntityAPI) - Static method in class MathUtils
-
Returns the distance between two
CombatEntityAPIs, taking
collision radii into account.
- getDistance(CombatEntityAPI, Vector2f) - Static method in class MathUtils
-
- getDistance(Vector2f, Vector2f) - Static method in class MathUtils
-
Returns the distance between two
Vector2fs.
- getDistanceSquared(SectorEntityToken, SectorEntityToken) - Static method in class MathUtils
-
Returns the distance squared between two
SectorEntityTokens,
taking interaction radii into account.
- getDistanceSquared(SectorEntityToken, Vector2f) - Static method in class MathUtils
-
- getDistanceSquared(CombatEntityAPI, CombatEntityAPI) - Static method in class MathUtils
-
Returns the distance squared between two
CombatEntityAPIs,
taking collision radii into account.
- getDistanceSquared(CombatEntityAPI, Vector2f) - Static method in class MathUtils
-
- getDistanceSquared(Vector2f, Vector2f) - Static method in class MathUtils
-
Returns the distance squared between two
Vector2fs (avoids a
costly sqrt()).
- getDropRandom() - Method in class FakeToken
-
- getDropValue() - Method in class FakeToken
-
- getEnabledModIds() - Static method in class ModUtils
-
Returns the IDs of all currently enabled mods.
- getEnemiesInArc(WeaponAPI) - Static method in class WeaponUtils
-
Finds all enemy ships within range of a
WeaponAPI.
- getEnemiesOnMap(CombatEntityAPI) - Static method in class AIUtils
-
Find all present and visible enemies of an entity.
- getEnemyMissilesInArc(WeaponAPI) - Static method in class WeaponUtils
-
Finds all enemy missiles within range of a
WeaponAPI.
- getEnemyMissilesOnMap(CombatEntityAPI) - Static method in class AIUtils
-
Find all present visible enemy missiles of an entity.
- getEngine() - Method in class SimpleEntity
-
- getEntitiesFromFaction(LocationAPI, String, FactionAPI) - Static method in class CampaignUtils
-
Find all entities with a specific tag and faction within a location.
- getEntitiesWithinRange(Vector2f, float) - Static method in class CombatUtils
-
Returns all entities in range of a given location.
- getEntitiesWithRep(SectorEntityToken, String, CampaignUtils.IncludeRep, RepLevel) - Static method in class CampaignUtils
-
Find all entities with a specific tag and reputation with a
SectorEntityToken in that token's location, excluding itself.
- getEquidistantPointsInsideCircle(Vector2f, float, float) - Static method in class MathUtils
-
- getFacing() - Method in class FakeToken
-
- getFacing(Vector2f) - Static method in class VectorUtils
-
Returns the facing (angle) of a
Vector2f in degrees.
- getFacingStrict(Vector2f) - Static method in class VectorUtils
-
Returns the facing (angle) of a
Vector2f in degrees.
- getFaction() - Method in class FakeToken
-
- getFleetMember(ShipAPI) - Static method in class CombatUtils
-
- getFocus() - Method in class EllipticalOrbit
-
Returns the object we are orbiting.
- getFocus() - Method in class KeplerOrbit
-
- getFont() - Method in class LazyFont.DrawableString
-
- getFontName() - Method in class LazyFont
-
Returns the name of the font, as defined in its .fnt file.
- getFontSize() - Method in class LazyFont.DrawableString
-
Returns the font size text will be drawn at.
- getFullName() - Method in class FakeToken
-
- getHeight() - Method in class LazyFont.DrawableString
-
Returns the height of the rendered text area.
- getHeight() - Method in class LazyFont.LazyChar
-
- getHostileFleetsInSystem(SectorEntityToken) - Static method in class CampaignUtils
-
Find all hostile fleets towards a
SectorEntityToken present in
that token's location.
- getId() - Method in class FakeToken
-
- getId() - Method in class LazyFont.LazyChar
-
- getIndicatorColor() - Method in class FakeToken
-
- getInfo() - Static method in class LazyLib
-
Gets the library information (for startup messages, etc).
- getKerning(int) - Method in class LazyFont.LazyChar
-
- getKerning(char) - Method in class LazyFont.LazyChar
-
- getKernings() - Method in class LazyFont.LazyChar
-
- getLightColor() - Method in class FakeToken
-
- getLightSource() - Method in class FakeToken
-
- getLocation() - Method in class FakeToken
-
- getLocation() - Method in class AnchoredEntity
-
Returns the location of this entity, calculated to be relative to
its anchor.
- getLocation() - Method in class SimpleEntity
-
- getLocationInHyperspace() - Method in class FakeToken
-
- getLogLevel() - Static method in class LazyLib
-
Returns the log level used for all other LazyLib classes.
- getMarket() - Method in class FakeToken
-
- getMaxHeight() - Method in class LazyFont.DrawableString
-
Returns the maximum height of the area that this text will be rendered within.
- getMaxSensorRangeToDetect(SectorEntityToken) - Method in class FakeToken
-
- getMaxWidth() - Method in class LazyFont.DrawableString
-
Returns the maximum width of the area that this text will be rendered within.
- getMemory() - Method in class FakeToken
-
- getMemoryWithoutUpdate() - Method in class FakeToken
-
- getMidpoint(Vector2f, Vector2f) - Static method in class MathUtils
-
Returns the point exactly between two other points.
- getMissilesWithinRange(Vector2f, float) - Static method in class CombatUtils
-
Returns all missiles in range of a given location.
- getMostDamagedArmorCell(ShipAPI) - Static method in class DefenseUtils
-
Returns the most damaged armor cell on a
ShipAPI, or
null
if the ship hasn't taken any armor damage.
- getName() - Method in class FakeToken
-
- getNearbyAllies(CombatEntityAPI, float) - Static method in class AIUtils
-
Finds all allies within a certain range around an entity.
- getNearbyEnemies(CombatEntityAPI, float) - Static method in class AIUtils
-
Finds all visible enemies within a certain range around an entity.
- getNearbyEnemyMissiles(CombatEntityAPI, float) - Static method in class AIUtils
-
Finds all visible enemy missiles within a certain range around an entity.
- getNearbyEntitiesFromFaction(SectorEntityToken, float, String, FactionAPI) - Static method in class CampaignUtils
-
Find entities with a specific tag and from a specific faction near a
SectorEntityToken, excluding itself.
- getNearbyEntitiesWithRep(SectorEntityToken, float, String, CampaignUtils.IncludeRep, RepLevel) - Static method in class CampaignUtils
-
Find nearby entities with a specific tag and reputation with a
SectorEntityToken, excluding itself.
- getNearbyEntitiesWithTag(SectorEntityToken, float, String) - Static method in class CampaignUtils
-
- getNearbyFleets(SectorEntityToken, float) - Static method in class CampaignUtils
-
- getNearbyHostileFleets(SectorEntityToken, float) - Static method in class CampaignUtils
-
- getNearestAlly(CombatEntityAPI) - Static method in class AIUtils
-
Find the closest ally of an entity.
- getNearestAllyInArc(WeaponAPI) - Static method in class WeaponUtils
-
Find the closest ally in range of a
WeaponAPI.
- getNearestEnemy(CombatEntityAPI) - Static method in class AIUtils
-
Find the closest visible enemy of an entity.
- getNearestEnemyInArc(WeaponAPI) - Static method in class WeaponUtils
-
Find the closest enemy in range of a
WeaponAPI.
- getNearestEnemyMissile(CombatEntityAPI) - Static method in class AIUtils
-
Find the closest visible enemy missile near an entity.
- getNearestEnemyMissileInArc(WeaponAPI) - Static method in class WeaponUtils
-
Find the closest enemy missile in range of a
WeaponAPI.
- getNearestEntityFromFaction(SectorEntityToken, String, FactionAPI) - Static method in class CampaignUtils
-
Find the closest entity with a specific tag and faction near a
SectorEntityToken, excluding itself.
- getNearestEntityWithRep(SectorEntityToken, String, CampaignUtils.IncludeRep, RepLevel) - Static method in class CampaignUtils
-
Find the closest entity with a specific tag and reputation with a
SectorEntityToken, excluding itself.
- getNearestEntityWithTag(SectorEntityToken, String) - Static method in class CampaignUtils
-
- getNearestHostileFleet(SectorEntityToken) - Static method in class CampaignUtils
-
- getNearestMissile(CombatEntityAPI) - Static method in class AIUtils
-
Find the closest visible missile near entity.
- getNearestObjective(CombatEntityAPI) - Static method in class AIUtils
-
- getNearestPointOnBounds(Vector2f, CombatEntityAPI) - Static method in class CollisionUtils
-
Returns the closest point on a
CombatEntityAPI's collision bounds to a point.
- getNearestPointOnLine(Vector2f, Vector2f, Vector2f) - Static method in class MathUtils
-
Given a point and a line, returns the nearest point on said line to that point.
- getNearestShip(CombatEntityAPI) - Static method in class AIUtils
-
Find the closest visible ship near an entity.
- getObjectivesWithinRange(Vector2f, float) - Static method in class CombatUtils
-
Returns all objectives in range of a given location.
- getOrbit() - Method in class FakeToken
-
- getOrbitalPeriod() - Method in class EllipticalOrbit
-
- getOrbitalPeriod() - Method in class KeplerOrbit
-
- getOrbitAngle() - Method in class EllipticalOrbit
-
Returns the offset angle of the ellipsis used as a path.
- getOrbitFocus() - Method in class FakeToken
-
- getOrbitHeight() - Method in class EllipticalOrbit
-
Returns the height of the ellipsis used as a path.
- getOrbitWidth() - Method in class EllipticalOrbit
-
Returns the width of the ellipsis used as a path.
- getOverrides() - Static method in class ModUtils
-
Returns all vanilla files that have been explicitly overridden in a mod's mod_info.json.
- getPoint(Vector2f, float, float) - Static method in class MathUtils
-
Returns a point along the circumference of a circle at the given angle.
- getPointOnCircumference(Vector2f, float, float) - Static method in class MathUtils
-
Returns a point along the circumference of a circle at the given angle.
- getPointOnEllipse(Vector2f, float, float, float, float) - Static method in class EllipseUtils
-
Returns a point along the circumference of an ellipse at the given angle
and facing.
- getPointsAlongCircumference(Vector2f, float, int, float) - Static method in class MathUtils
-
Returns an evenly distributed
List of points along a circle's
circumference.
- getProjectilesWithinRange(Vector2f, float) - Static method in class CombatUtils
-
Returns all projectiles in range of a given location, excluding missiles.
- getRadius() - Method in class FakeToken
-
- getRandom() - Static method in class MathUtils
-
Returns the random number generator used by LazyLib's methods.
- getRandomNumberInRange(float, float) - Static method in class MathUtils
-
Returns a random float within a given range.
- getRandomNumberInRange(int, int) - Static method in class MathUtils
-
Returns a random integer within a given range.
- getRandomPointInCircle(Vector2f, float) - Static method in class MathUtils
-
Returns a random point inside of a circle with uniform distribution.
- getRandomPointInCone(Vector2f, float, float, float) - Static method in class MathUtils
-
Returns a random point inside of a circular sector (2d cone) with uniform
distribution.
- getRandomPointInEllipse(Vector2f, float, float, float) - Static method in class EllipseUtils
-
Returns a random point inside of an ellipse with uniform distribution.
- getRandomPointOnCircumference(Vector2f, float) - Static method in class MathUtils
-
Returns a random point along the circumference of a circle.
- getRandomPointOnEllipse(Vector2f, float, float, float) - Static method in class EllipseUtils
-
Returns a random point along the circumference of an ellipse.
- getRandomPointOnLine(Vector2f, Vector2f) - Static method in class MathUtils
-
Returns a random point along the line between two
Vector2fs.
- getRelation(SectorEntityToken, SectorEntityToken) - Static method in class CampaignUtils
-
Returns the faction relationship between two campaign objects.
- getRenderDebugBounds() - Method in class LazyFont.DrawableString
-
Returns whether bounds drawing is enabled.
- getReputation(SectorEntityToken, SectorEntityToken) - Static method in class CampaignUtils
-
Returns the faction relationship between two campaign objects.
- getSalvageXP() - Method in class FakeToken
-
- getScripts() - Method in class FakeToken
-
- getSensorContactFaderBrightness() - Method in class FakeToken
-
- getSensorFaderBrightness() - Method in class FakeToken
-
- getSensorProfile() - Method in class FakeToken
-
- getSensorRangeMod() - Method in class FakeToken
-
- getSensorStrength() - Method in class FakeToken
-
- getShipsWithinRange(Vector2f, float) - Static method in class CombatUtils
-
Returns all ships in range of a given location, excluding the shuttle
pod.
- getShortestRotation(float, float) - Static method in class MathUtils
-
Returns the direction and length of the quickest rotation between two
angles.
- getSpaceTakenByCargo(CargoAPI) - Static method in class CargoUtils
-
Returns the amount of space taken by all cargo types in a
CargoAPI.
- getSpaceTakenByCommodities(CargoAPI) - Static method in class CargoUtils
-
Returns the amount of space taken by all commodities in a
CargoAPI.
- getSpaceTakenByCrew(CargoAPI) - Static method in class CargoUtils
-
Returns the amount of space taken by crew in a
CargoAPI.
- getSpaceTakenByFuel(CargoAPI) - Static method in class CargoUtils
-
Returns the amount of space taken by fuel in a
CargoAPI.
- getSpaceTakenBySupplies(CargoAPI) - Static method in class CargoUtils
-
Returns the amount of space taken by supplies in a
CargoAPI.
- getSpaceTakenByWeapons(CargoAPI) - Static method in class CargoUtils
-
Returns the amount of space taken by weapons in a
CargoAPI.
- getStarSystem() - Method in class FakeToken
-
- getSupportedGameVersion() - Static method in class LazyLib
-
Returns the Starsector release this version was coded for.
- getTags() - Method in class FakeToken
-
- getText() - Method in class LazyFont.DrawableString
-
- getTextureHeight() - Method in class LazyFont
-
Returns the height of the font's underlying texture atlas.
- getTextureId() - Method in class LazyFont
-
Returns the ID of the font's underlying texture atlas.
- getTextureWidth() - Method in class LazyFont
-
Returns the width of the font's underlying texture atlas.
- getTimeToAim(WeaponAPI, Vector2f) - Static method in class WeaponUtils
-
Calculate how long it would take to turn a
WeaponAPI to aim at
a location.
- getTx1() - Method in class LazyFont.LazyChar
-
- getTx2() - Method in class LazyFont.LazyChar
-
- getTy1() - Method in class LazyFont.LazyChar
-
- getTy2() - Method in class LazyFont.LazyChar
-
- getType() - Method in class SimpleEntity
-
- getVelocity() - Method in class FakeToken
-
- getVelocity() - Method in class AnchoredEntity
-
Returns the velocity of this entity's anchor (and by definition this entity's velocity as well).
- getVersion() - Static method in class LazyLib
-
Returns the running version of LazyLib.
- getVisibilityLevelOfPlayerFleet() - Method in class FakeToken
-
- getVisibilityLevelTo(SectorEntityToken) - Method in class FakeToken
-
- getVisibilityLevelToPlayerFleet() - Method in class FakeToken
-
- getWeapon() - Method in class SimpleEntity
-
Returns the
WeaponAPI this entity is attached to, if any.
- getWidth() - Method in class LazyFont.DrawableString
-
Returns the width of the rendered text area.
- getWidth() - Method in class LazyFont.LazyChar
-
- getXOffset() - Method in class LazyFont.LazyChar
-
- getYOffset() - Method in class LazyFont.LazyChar
-
- glColor(Color, float, boolean) - Static method in class ColorUtils
-
Sets the OpenGL color using an AWT
Color object.
- glColor(Color, float) - Static method in class ColorUtils
-
Sets the OpenGL color using an AWT
Color object.
- glColor(Color) - Static method in class ColorUtils
-
Sets the OpenGL color using an AWT
Color object.