Class GraphicsConfig
java.lang.Object
com.pixelmonmod.pixelmon.api.config.api.yaml.AbstractYamlConfig
com.pixelmonmod.pixelmon.api.config.GraphicsConfig
- All Implemented Interfaces:
Config
-
Field Summary
Fields inherited from class com.pixelmonmod.pixelmon.api.config.api.yaml.AbstractYamlConfig
base, config -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintintbooleanintdoubledoublebooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanvoidsetGlobalAnimationToggle(boolean globalAnimationToggle) sets the global animation togglevoidsetGlobalEmissiveToggle(boolean globalEmissiveToggle) voidsetGlobalRenderType(String globalRenderType) voidsetGlobalVertexToggle(boolean globalVertexToggle) voidsetGlobalWireFrame(boolean globalWireFrame) sets the wireframe settingvoidsetShouldRenderPokemonOutsideBattle(boolean shouldRenderPokemonOutsideBattle) voidsetShouldSendToasts(boolean shouldSendToasts) voidsetShowBones(boolean showBones) voidsetSpectatorRangeBlocks(double spectatorRangeBlocks) booleanshouldRenderPokedexTMsForGeneration(int generation) booleanbooleanMethods inherited from class com.pixelmonmod.pixelmon.api.config.api.yaml.AbstractYamlConfig
getNode, save
-
Constructor Details
-
GraphicsConfig
public GraphicsConfig()
-
-
Method Details
-
getRenderDistanceWeight
public double getRenderDistanceWeight()- Returns:
- Multiplier for maximum distance that players can see Pokémon from.
-
getNamePlateRange
public int getNamePlateRange()- Returns:
- The distance that overhead Pokémon names can be seen from.
-
isRenderWildLevels
public boolean isRenderWildLevels()- Returns:
- Whether wild pokemon levels should be rendered or not
-
isShowWildNames
public boolean isShowWildNames()- Returns:
- Whether pokemon names are shown on wild Pokémon nameplates.
-
isScaleModelsUp
public boolean isScaleModelsUp()- Returns:
- Whether to increase model scale.
-
isShowCurrentAttackTarget
public boolean isShowCurrentAttackTarget()- Returns:
- Whether to display the selected Pokémon's current target.
-
isDrawHealthBars
public boolean isDrawHealthBars()- Returns:
- Whether to display health bars above pokemon
-
isOnlyShowAttackEffectsToBattlers
public boolean isOnlyShowAttackEffectsToBattlers()- Returns:
-
isAdvancedBattleInformation
public boolean isAdvancedBattleInformation()- Returns:
- Whether to display advanced battle information, such as opponent health percentage.
-
getRangeToDisplayAttackAnimations
public int getRangeToDisplayAttackAnimations()- Returns:
-
isEmissiveTextures
public boolean isEmissiveTextures()- Returns:
- Whether to render emissive textures.
-
getEmissiveTexturesDistance
public int getEmissiveTexturesDistance()- Returns:
- Whether to render emissive textures.
-
isPokeBalls3DInHand
public boolean isPokeBalls3DInHand()- Returns:
- Whether Poké Balls should be rendered 3D in hand.
-
isGlobalWireFrame
public boolean isGlobalWireFrame()- Returns:
- If global wireframe is enabled
-
isShowBones
public boolean isShowBones() -
setShowBones
public void setShowBones(boolean showBones) -
setGlobalWireFrame
public void setGlobalWireFrame(boolean globalWireFrame) sets the wireframe setting -
isGlobalAnimationToggle
public boolean isGlobalAnimationToggle()- Returns:
- If global animation toggle is enabled
-
setGlobalAnimationToggle
public void setGlobalAnimationToggle(boolean globalAnimationToggle) sets the global animation toggle -
isGlobalVertexToggle
public boolean isGlobalVertexToggle() -
setGlobalVertexToggle
public void setGlobalVertexToggle(boolean globalVertexToggle) -
isGlobalEmissiveToggle
public boolean isGlobalEmissiveToggle() -
setGlobalEmissiveToggle
public void setGlobalEmissiveToggle(boolean globalEmissiveToggle) -
isGlobalSpriteToggle
public boolean isGlobalSpriteToggle() -
getSpectatorRangeBlocks
public double getSpectatorRangeBlocks() -
setSpectatorRangeBlocks
public void setSpectatorRangeBlocks(double spectatorRangeBlocks) -
shouldRenderPokemonOutsideBattle
public boolean shouldRenderPokemonOutsideBattle() -
setShouldRenderPokemonOutsideBattle
public void setShouldRenderPokemonOutsideBattle(boolean shouldRenderPokemonOutsideBattle) -
shouldSendToasts
public boolean shouldSendToasts() -
setShouldSendToasts
public void setShouldSendToasts(boolean shouldSendToasts) -
getPotionParticlesVisible
public boolean getPotionParticlesVisible() -
isDroppedItemBeamsEnabled
public boolean isDroppedItemBeamsEnabled() -
isPokemonEditorExtraColorModeEnabled
public boolean isPokemonEditorExtraColorModeEnabled() -
getGlobalRenderType
-
setGlobalRenderType
-
shouldRenderPokedexTMsForGeneration
public boolean shouldRenderPokedexTMsForGeneration(int generation)
-