Interface PlanetSpecAPI

All Superinterfaces:
WithSourceMod

public interface PlanetSpecAPI extends WithSourceMod
  • Method Details

    • getName

      String getName()
    • getTilt

      float getTilt()
    • getPitch

      float getPitch()
    • getRotation

      float getRotation()
    • getPlanetColor

      Color getPlanetColor()
    • getAtmosphereThickness

      float getAtmosphereThickness()
    • getAtmosphereColor

      Color getAtmosphereColor()
    • isStar

      boolean isStar()
    • getPlanetType

      String getPlanetType()
    • getAtmosphereThicknessMin

      float getAtmosphereThicknessMin()
    • getLightPosition

      org.lwjgl.util.vector.Vector3f getLightPosition()
    • getCloudRotation

      float getCloudRotation()
    • getIconColor

      Color getIconColor()
    • getCloudColor

      Color getCloudColor()
    • setTilt

      void setTilt(float tilt)
    • setPitch

      void setPitch(float pitch)
    • setRotation

      void setRotation(float rotation)
    • setPlanetColor

      void setPlanetColor(Color planetColor)
    • setCloudRotation

      void setCloudRotation(float cloudRotation)
    • setAtmosphereThickness

      void setAtmosphereThickness(float atmosphereThickness)
    • setAtmosphereThicknessMin

      void setAtmosphereThicknessMin(float atmosphereThicknessMin)
    • setAtmosphereColor

      void setAtmosphereColor(Color atmosphereColor)
    • setCloudColor

      void setCloudColor(Color cloudColor)
    • setIconColor

      void setIconColor(Color iconColor)
    • getCoronaSize

      float getCoronaSize()
    • setCoronaSize

      void setCoronaSize(float coronaSize)
    • getCoronaColor

      Color getCoronaColor()
    • setCoronaColor

      void setCoronaColor(Color coronaColor)
    • getCloudTexture

      String getCloudTexture()
      Use SettingsAPI.getSpriteName(String category, String id) to get the texture name to pass in here. The texture needs to already be loaded (which textures from settings.json will be). Do NOT just pass in a filename for a texture that's not already loaded.
      Returns:
    • setCloudTexture

      void setCloudTexture(String textureName)
    • setTexture

      void setTexture(String texture)
      Use SettingsAPI.getSpriteName(String category, String id) to get the texture name to pass in here. The texture needs to already be loaded (which textures from settings.json will be). Do NOT just pass in a filename for a texture that's not already loaded.
    • getTexture

      String getTexture()
    • getCoronaTexture

      String getCoronaTexture()
    • setCoronaTexture

      void setCoronaTexture(String coronaTexture)
      Use SettingsAPI.getSpriteName(String category, String id) to get the texture name to pass in here. The texture needs to already be loaded (which textures from settings.json will be). Do NOT just pass in a filename for a texture that's not already loaded.
    • setGlowTexture

      void setGlowTexture(String glowTexture)
      Use SettingsAPI.getSpriteName(String category, String id) to get the texture name to pass in here. The texture needs to already be loaded (which textures from settings.json will be). Do NOT just pass in a filename for a texture that's not already loaded.
    • getGlowTexture

      String getGlowTexture()
    • getGlowColor

      Color getGlowColor()
    • setGlowColor

      void setGlowColor(Color glowColor)
    • isUseReverseLightForGlow

      boolean isUseReverseLightForGlow()
    • setUseReverseLightForGlow

      void setUseReverseLightForGlow(boolean useReverseLightForGlow)
    • getIconTexture

      String getIconTexture()
    • getAOrAn

      String getAOrAn()
    • isBlackHole

      boolean isBlackHole()
    • setBlackHole

      void setBlackHole(boolean isBlackHole)
    • isNebulaCenter

      boolean isNebulaCenter()
    • setNebulaCenter

      void setNebulaCenter(boolean isNebulaCenter)
    • getScaleMultMapIcon

      float getScaleMultMapIcon()
    • setScaleMultMapIcon

      void setScaleMultMapIcon(float scaleMultMapIcon)
    • getScaleMultStarscapeIcon

      float getScaleMultStarscapeIcon()
    • setScaleMultStarscapeIcon

      void setScaleMultStarscapeIcon(float scaleMultStarscapeIcon)
    • getStarscapeIcon

      String getStarscapeIcon()
    • setStarscapeIcon

      void setStarscapeIcon(String starscapeIcon)
    • isPulsar

      boolean isPulsar()
    • setPulsar

      void setPulsar(boolean isPulsar)
    • getShieldThickness

      float getShieldThickness()
    • setShieldThickness

      void setShieldThickness(float shieldThickness)
    • getShieldTexture

      String getShieldTexture()
    • setShieldTexture

      void setShieldTexture(String shieldTexture)
    • getShieldColor

      Color getShieldColor()
    • setShieldColor

      void setShieldColor(Color shieldColor)
    • getShieldTexture2

      String getShieldTexture2()
    • setShieldTexture2

      void setShieldTexture2(String shieldTexture2)
    • getShieldThickness2

      float getShieldThickness2()
    • setShieldThickness2

      void setShieldThickness2(float shieldThickness2)
    • getShieldColor2

      Color getShieldColor2()
    • setShieldColor2

      void setShieldColor2(Color shieldColor2)
    • isDoNotShowInCombat

      boolean isDoNotShowInCombat()
    • setDoNotShowInCombat

      void setDoNotShowInCombat(boolean doNotShowInCombat)
    • isGasGiant

      boolean isGasGiant()
    • getDescriptionId

      String getDescriptionId()
    • setDescriptionId

      void setDescriptionId(String descriptionId)
    • getTags

      Set<String> getTags()
    • addTag

      void addTag(String tag)
    • hasTag

      boolean hasTag(String tag)