Class BukkitPaths
java.lang.Object
me.hsgamer.hscore.bukkit.config.path.BukkitPaths
Utility to easily create Bukkit's
AdvancedConfigPath-
Method Summary
Modifier and TypeMethodDescriptionstatic AttributeModifierConfigPathattributeModifierPath(String path, org.bukkit.attribute.AttributeModifier def) Create a config pathstatic ColorConfigPathCreate a config pathstatic FireworkEffectConfigPathfireworkEffectPath(String path, org.bukkit.FireworkEffect def) Create a config pathstatic ItemStackConfigPathitemStackPath(String path, org.bukkit.inventory.ItemStack def) Create a config pathstatic LocationConfigPathlocationPath(String path, org.bukkit.Location def) Create a config pathstatic PatternConfigPathpatternPath(String path, org.bukkit.block.banner.Pattern def) Create a config pathstatic PositionConfigPathpositionPath(String path, Position def) Create a config pathstatic PotionEffectConfigPathpotionEffectPath(String path, org.bukkit.potion.PotionEffect def) Create a config pathstatic SoundConfigPathsoundPath(String path, PlayableSound def) Create a config pathstatic VectorConfigPathvectorPath(String path, org.bukkit.util.Vector def) Create a config path
-
Method Details
-
attributeModifierPath
public static AttributeModifierConfigPath attributeModifierPath(String path, org.bukkit.attribute.AttributeModifier def) Create a config path- Parameters:
path- the path to the valuedef- the default value if it's not found- Returns:
- the config path
-
colorPath
Create a config path- Parameters:
path- the path to the valuedef- the default value if it's not found- Returns:
- the config path
-
fireworkEffectPath
public static FireworkEffectConfigPath fireworkEffectPath(String path, org.bukkit.FireworkEffect def) Create a config path- Parameters:
path- the path to the valuedef- the default value if it's not found- Returns:
- the config path
-
itemStackPath
Create a config path- Parameters:
path- the path to the valuedef- the default value if it's not found- Returns:
- the config path
-
locationPath
Create a config path- Parameters:
path- the path to the valuedef- the default value if it's not found- Returns:
- the config path
-
patternPath
Create a config path- Parameters:
path- the path to the valuedef- the default value if it's not found- Returns:
- the config path
-
potionEffectPath
public static PotionEffectConfigPath potionEffectPath(String path, org.bukkit.potion.PotionEffect def) Create a config path- Parameters:
path- the path to the valuedef- the default value if it's not found- Returns:
- the config path
-
vectorPath
Create a config path- Parameters:
path- the path to the valuedef- the default value if it's not found- Returns:
- the config path
-
soundPath
Create a config path- Parameters:
path- the path to the valuedef- the default value if it's not found- Returns:
- the config path
-
positionPath
Create a config path- Parameters:
path- the path to the valuedef- the default value if it's not found- Returns:
- the config path
-