Package kamkeel.npcdbc.api.aura
Interface IAuraDisplay
-
public interface IAuraDisplay
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
doesAuraCopyDBCSuperformColors()
int
getAlpha(String type)
String
getAuraSound()
int
getColor(String colorType)
- Individual IAura Color Precedence: 1.boolean
getHasLightning()
float
getKaiokenSize()
String
getKaiokenSound()
boolean
getKettleModeCharging()
boolean
getKettleModeEnabled()
int
getLightningIntensity()
int
getLightningSpeed()
boolean
getOutlineAlwaysOn()
boolean
getOverrideDBCAura()
float
getSize()
int
getSpeed()
String
getTexture(String textureType)
String
getType()
String
getType2D()
boolean
hasAlpha(String type)
boolean
hasColor(String type)
void
hasLightning(boolean hasLightning)
boolean
hasSize()
boolean
hasSound()
boolean
hasSpeed()
boolean
isKaiokenToggled()
IAuraDisplay
save()
void
setAlpha(String type, int alpha)
void
setAuraSound(String soundDirectory)
void
setColor(String colorType, int color)
- Individual IAura Color Precedence: 1.void
setDoesAuraCopyDBCSuperformColors(boolean copyDBCSuperformColors)
void
setKaiokenSize(float size)
void
setKaiokenSound(String soundDirectory)
void
setKettleModeCharging(boolean set)
void
setKettleModeEnabled(boolean set)
void
setLightningIntensity(int lightningIntensity)
void
setLightningSpeed(int lightningSpeed)
void
setOutline(int id)
void
setOutline(IOutline outline)
void
setOutlineAlwaysOn(boolean alwaysOn)
kamkeel.npcdbc.data.aura.Aura
setOverrideDBCAura(boolean override)
void
setSize(float size)
void
setSpeed(int speed)
void
setTexture(String textureType, String textureLocation)
void
setType(String auraType)
void
setType2D(String type2D)
void
toggleKaioken(boolean toggle)
-
-
-
Method Detail
-
getKettleModeEnabled
boolean getKettleModeEnabled()
-
setKettleModeEnabled
void setKettleModeEnabled(boolean set)
- Parameters:
set
- True if kettle mode is always on regardless of charging/kettleModeCharging
-
getKettleModeCharging
boolean getKettleModeCharging()
-
setKettleModeCharging
void setKettleModeCharging(boolean set)
- Parameters:
set
- True if kettle mode is only when charging ki/transforming;
-
getOverrideDBCAura
boolean getOverrideDBCAura()
-
setOverrideDBCAura
kamkeel.npcdbc.data.aura.Aura setOverrideDBCAura(boolean override)
-
toggleKaioken
void toggleKaioken(boolean toggle)
-
getKaiokenSize
float getKaiokenSize()
-
setKaiokenSize
void setKaiokenSize(float size)
-
getKaiokenSound
String getKaiokenSound()
-
setKaiokenSound
void setKaiokenSound(String soundDirectory)
- Parameters:
soundDirectory
- "customnpcs:auras.kaioken_aura" Set to "nosound" to disable kaioken aura sound, Default is "", which plays "jinryuudragonbc:1610.aurabk".
-
hasSound
boolean hasSound()
-
getAuraSound
String getAuraSound()
-
setAuraSound
void setAuraSound(String soundDirectory)
- Parameters:
soundDirectory
- i.e "customnpcs:auras.majin_aura"
-
isKaiokenToggled
boolean isKaiokenToggled()
-
getType
String getType()
- Returns:
- legal types: ssgod, godofdestruction, ui, ssb, ssrose, ssroseevo, ssbkk, shinka
-
setType
void setType(String auraType)
- Parameters:
auraType
- legal types: ssgod, godofdestruction, ui, ssb, ssrose, ssroseevo, ssbkk, shinka
-
getType2D
String getType2D()
-
setType2D
void setType2D(String type2D)
- Parameters:
type2D
- legal types: ssgod, godofdestruction, ui, mui, ssb, ssrose, ssroseevo, ssbkk, shinka
-
hasColor
boolean hasColor(String type)
-
setColor
void setColor(String colorType, int color)
- Individual IAura Color Precedence: 1. IForm's IAura object color followed by IForm's auraColor (Highest) 2. Individual IAura Color 3. IF overrideDBCForm & in DBC Form -> IAura uses DBC Form Colors [SSJ (yellow), Legendary (green), Divine (purple)] 4. Individual IAura's Type Colors [GoD, UI, SSGod] 5. Base Aura Color (Lowest)- Parameters:
colorType
- Legal types: color1, color2, color3color
- hexadecimal color to set type to
-
getColor
int getColor(String colorType)
- Individual IAura Color Precedence: 1. Form's Aura 2. Individual IAura Color 3. IF overrideDBCForm & in DBC Form -> Use DBC Form Colors [SSJ, Shinka, Rose] 4. Individual IAura's Type Colors [GoD, UI, SSGod] 5. Base Aura Color- Parameters:
colorType
- Legal types: color1, color2, color3- Returns:
- Decimal color of type
-
hasAlpha
boolean hasAlpha(String type)
-
getAlpha
int getAlpha(String type)
-
setAlpha
void setAlpha(String type, int alpha)
- Parameters:
type
- Legal types: aura, lightningalpha
- value of alpha/transparency to set type to
-
hasLightning
void hasLightning(boolean hasLightning)
- Parameters:
hasLightning
- True if aura is to have SSJ2 lightning effects
-
getHasLightning
boolean getHasLightning()
-
getLightningSpeed
int getLightningSpeed()
-
setLightningSpeed
void setLightningSpeed(int lightningSpeed)
-
getLightningIntensity
int getLightningIntensity()
-
setLightningIntensity
void setLightningIntensity(int lightningIntensity)
-
hasSize
boolean hasSize()
-
getSize
float getSize()
-
setSize
void setSize(float size)
- Parameters:
size
- Value to set aura size to. Min 0.05, Max 10
-
hasSpeed
boolean hasSpeed()
-
getSpeed
int getSpeed()
-
setSpeed
void setSpeed(int speed)
- Parameters:
speed
- How fast aura should go through its lifecycle in ticks. DBC Default is 40 ticks. The lower, the faster
-
getTexture
String getTexture(String textureType)
- Parameters:
textureType
- Legal types: texture1, texture2, texture3- Returns:
- resource location of texture
-
setTexture
void setTexture(String textureType, String textureLocation)
- Parameters:
textureType
- Legal types: texture1, texture2, texture3textureLocation
- resource location of texture
-
getOutlineAlwaysOn
boolean getOutlineAlwaysOn()
-
setOutlineAlwaysOn
void setOutlineAlwaysOn(boolean alwaysOn)
-
setOutline
void setOutline(int id)
-
setOutline
void setOutline(IOutline outline)
-
save
IAuraDisplay save()
-
doesAuraCopyDBCSuperformColors
boolean doesAuraCopyDBCSuperformColors()
-
setDoesAuraCopyDBCSuperformColors
void setDoesAuraCopyDBCSuperformColors(boolean copyDBCSuperformColors)
-
-