Class YmlParsingHelper

java.lang.Object
me.lokka30.levelledmobs.misc.YmlParsingHelper

public class YmlParsingHelper extends Object
Since:
3.1.0
  • Constructor Details

    • YmlParsingHelper

      public YmlParsingHelper()
  • Method Details

    • getBoolean

      public boolean getBoolean(org.bukkit.configuration.ConfigurationSection cs, @NotNull @NotNull String name)
    • getBoolean

      public boolean getBoolean(org.bukkit.configuration.ConfigurationSection cs, @NotNull @NotNull String name, boolean defaultValue)
    • getBoolean2

      @Nullable public @Nullable Boolean getBoolean2(org.bukkit.configuration.ConfigurationSection cs, @NotNull @NotNull String name, Boolean defaultValue)
    • getString

      @Nullable public @Nullable String getString(org.bukkit.configuration.ConfigurationSection cs, @NotNull @NotNull String name)
    • getString

      @Nullable public @Nullable String getString(org.bukkit.configuration.ConfigurationSection cs, @NotNull @NotNull String name, String defaultValue)
    • getStringSet

      @NotNull public @NotNull Set<String> getStringSet(org.bukkit.configuration.ConfigurationSection cs, @NotNull @NotNull String name)
    • getInt

      public int getInt(org.bukkit.configuration.ConfigurationSection cs, @NotNull @NotNull String name)
    • getInt

      public int getInt(org.bukkit.configuration.ConfigurationSection cs, @NotNull @NotNull String name, int defaultValue)
    • getInt2

      @Nullable public @Nullable Integer getInt2(org.bukkit.configuration.ConfigurationSection cs, @NotNull @NotNull String name, Integer defaultValue)
    • getDouble2

      @Nullable public @Nullable Double getDouble2(org.bukkit.configuration.ConfigurationSection cs, @NotNull @NotNull String name, Double defaultValue)
    • getFloat

      public float getFloat(org.bukkit.configuration.ConfigurationSection cs, @NotNull @NotNull String name)
    • getFloat

      public float getFloat(org.bukkit.configuration.ConfigurationSection cs, @NotNull @NotNull String name, float defaultValue)
    • getFloat2

      @Nullable public @Nullable Float getFloat2(org.bukkit.configuration.ConfigurationSection cs, @NotNull @NotNull String name, Float defaultValue)
    • getIntTimeUnit

      @Nullable public @Nullable Integer getIntTimeUnit(org.bukkit.configuration.ConfigurationSection cs, @NotNull @NotNull String name, Integer defaultValue)
    • getIntTimeUnitMS

      public Long getIntTimeUnitMS(org.bukkit.configuration.ConfigurationSection cs, @NotNull @NotNull String name, Long defaultValue)
    • getListFromConfigItem

      @NotNull public static @NotNull List<String> getListFromConfigItem(@NotNull @NotNull org.bukkit.configuration.ConfigurationSection cs, String key)
    • getStringOrList

      @NotNull public @NotNull List<String> getStringOrList(@Nullable @Nullable org.bukkit.configuration.ConfigurationSection cs, @NotNull @NotNull String key)
    • getKeyNameFromConfig

      @NotNull public @NotNull String getKeyNameFromConfig(@NotNull @NotNull org.bukkit.configuration.ConfigurationSection cs, @NotNull @NotNull String key)
    • objTo_CS

      @Nullable public @Nullable org.bukkit.configuration.ConfigurationSection objTo_CS(org.bukkit.configuration.ConfigurationSection cs, String path)