Class RidingConfig
java.lang.Object
com.pixelmonmod.pixelmon.api.config.api.yaml.AbstractYamlConfig
com.pixelmonmod.pixelmon.api.config.RidingConfig
- All Implemented Interfaces:
Config
-
Field Summary
Fields inherited from class com.pixelmonmod.pixelmon.api.config.api.yaml.AbstractYamlConfig
base, config
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionfloat
float
boolean
boolean
boolean
boolean
Methods inherited from class com.pixelmonmod.pixelmon.api.config.api.yaml.AbstractYamlConfig
getNode, save
-
Constructor Details
-
RidingConfig
public RidingConfig()
-
-
Method Details
-
isAllowRiding
public boolean isAllowRiding()- Returns:
- Whether players can ride Pokémon.
-
getRidingSpeedMultiplier
public float getRidingSpeedMultiplier()- Returns:
- Multiplier for the speed that mounted Pokémon travel at.
-
isEnablePointToSteer
public boolean isEnablePointToSteer()- Returns:
- Whether the normal Minecraft controls are used when riding a Pokémon.
-
isLandMount
public boolean isLandMount()- Returns:
- Enables riding pixelmon mounts that do not have the ability to fly or surf
-
isRequireHM
public boolean isRequireHM()- Returns:
- Requires that a Pokémon has the HM move Fly or Surf respectively in order to fly or surf when ridden.
-
getFlyingSpeedLimit
public float getFlyingSpeedLimit()- Returns:
- Sets the maximum allowable speed for flying.
-