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(PathString path, org.bukkit.attribute.AttributeModifier def) Create a config pathstatic ColorConfigPathcolorPath(PathString path, org.bukkit.Color def) Create a config pathstatic FireworkEffectConfigPathfireworkEffectPath(PathString path, org.bukkit.FireworkEffect def) Create a config pathstatic ItemStackConfigPathitemStackPath(PathString path, org.bukkit.inventory.ItemStack def) Create a config pathstatic LocationConfigPathlocationPath(PathString path, org.bukkit.Location def) Create a config pathstatic PatternConfigPathpatternPath(PathString path, org.bukkit.block.banner.Pattern def) Create a config pathstatic PositionConfigPathpositionPath(PathString path, Position def) Create a config pathstatic PotionEffectConfigPathpotionEffectPath(PathString path, org.bukkit.potion.PotionEffect def) Create a config pathstatic SoundConfigPathsoundPath(PathString path, PlayableSound def) Create a config pathstatic VectorConfigPathvectorPath(PathString path, org.bukkit.util.Vector def) Create a config path
-
Method Details
-
attributeModifierPath
public static AttributeModifierConfigPath attributeModifierPath(PathString 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(PathString 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
public static ItemStackConfigPath itemStackPath(PathString path, org.bukkit.inventory.ItemStack def) 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(PathString 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
-