hocon exp config pt 1

This commit is contained in:
nossr50 2019-04-09 17:48:51 -07:00
parent 5facd8d412
commit 4433ea7118
5 changed files with 31 additions and 108 deletions

View File

@ -0,0 +1,10 @@
package com.gmail.nossr50.config.hocon.experience;
import ninja.leaping.configurate.objectmapping.serialize.ConfigSerializable;
import java.util.ArrayList;
@ConfigSerializable
public class ConfigExperience {
ArrayList<String>
}

View File

@ -0,0 +1,21 @@
package com.gmail.nossr50.config.hocon.experience;
import ninja.leaping.configurate.objectmapping.Setting;
import ninja.leaping.configurate.objectmapping.serialize.ConfigSerializable;
import java.util.HashMap;
@ConfigSerializable
public class ConfigExperienceAcrobatics {
private final static HashMap<String, Integer> ACROBATICS_DEFAULT_XP_MAP;
static {
ACROBATICS_DEFAULT_XP_MAP = new HashMap<>();
}
@Setting(value = "Acrobatics-Experience-Values", comment = "Experience values for Acrobatics.")
HashMap<String, Integer> acrobaticsXPMap;
}

View File

@ -1,36 +0,0 @@
package com.gmail.nossr50.config.hocon.experience;
import com.gmail.nossr50.config.ConfigConstants;
import com.gmail.nossr50.config.ConfigValidated;
import ninja.leaping.configurate.objectmapping.serialize.ConfigSerializable;
import java.util.List;
@ConfigSerializable
public class HerbalismExperienceConfig extends ConfigValidated {
public HerbalismExperienceConfig()
{
super("xp_herbalism", ConfigConstants.getDataFolder(), ConfigConstants.RELATIVE_PATH_XP_DIR, true, true, true, false);
}
@Override
public void unload() {
}
@Override
public List<String> validateKeys() {
return null;
}
/**
* The version of this config
*
* @return
*/
@Override
public double getConfigVersion() {
return 1;
}
}

View File

@ -1,36 +0,0 @@
package com.gmail.nossr50.config.hocon.experience;
import com.gmail.nossr50.config.ConfigConstants;
import com.gmail.nossr50.config.ConfigValidated;
import ninja.leaping.configurate.objectmapping.serialize.ConfigSerializable;
import java.util.List;
@ConfigSerializable
public class MiningExperienceConfig extends ConfigValidated {
public MiningExperienceConfig()
{
super("xp_mining", ConfigConstants.getDataFolder(), ConfigConstants.RELATIVE_PATH_XP_DIR, true, true, true, false);
}
@Override
public void unload() {
}
@Override
public List<String> validateKeys() {
return null;
}
/**
* The version of this config
*
* @return
*/
@Override
public double getConfigVersion() {
return 1;
}
}

View File

@ -1,36 +0,0 @@
package com.gmail.nossr50.config.hocon.experience;
import com.gmail.nossr50.config.ConfigConstants;
import com.gmail.nossr50.config.ConfigValidated;
import ninja.leaping.configurate.objectmapping.serialize.ConfigSerializable;
import java.util.List;
@ConfigSerializable
public class WoodcuttingExperienceConfig extends ConfigValidated {
public WoodcuttingExperienceConfig()
{
super("xp_woodcutting", ConfigConstants.getDataFolder(), ConfigConstants.RELATIVE_PATH_XP_DIR, true, true, true, false);
}
@Override
public void unload() {
}
@Override
public List<String> validateKeys() {
return null;
}
/**
* The version of this config
*
* @return
*/
@Override
public double getConfigVersion() {
return 1;
}
}