From ef44a43bd2988030b5b78a4ca9669110ef5c0987 Mon Sep 17 00:00:00 2001 From: nossr50 Date: Mon, 3 Jun 2019 05:48:15 -0700 Subject: [PATCH] Fill in rank configs for Fishing --- .../experience/ConfigExperienceMining.java | 1 - .../ConfigExperienceWoodcutting.java | 1 - .../skills/ranks/ConfigRanksFishing.java | 49 +++++++++++++++++++ 3 files changed, 49 insertions(+), 2 deletions(-) diff --git a/src/main/java/com/gmail/nossr50/config/hocon/experience/ConfigExperienceMining.java b/src/main/java/com/gmail/nossr50/config/hocon/experience/ConfigExperienceMining.java index a71adb059..0674880c7 100644 --- a/src/main/java/com/gmail/nossr50/config/hocon/experience/ConfigExperienceMining.java +++ b/src/main/java/com/gmail/nossr50/config/hocon/experience/ConfigExperienceMining.java @@ -2,7 +2,6 @@ package com.gmail.nossr50.config.hocon.experience; import ninja.leaping.configurate.objectmapping.Setting; import ninja.leaping.configurate.objectmapping.serialize.ConfigSerializable; -import org.bukkit.Material; import java.util.HashMap; diff --git a/src/main/java/com/gmail/nossr50/config/hocon/experience/ConfigExperienceWoodcutting.java b/src/main/java/com/gmail/nossr50/config/hocon/experience/ConfigExperienceWoodcutting.java index 5b5b5868b..7dfa37b18 100644 --- a/src/main/java/com/gmail/nossr50/config/hocon/experience/ConfigExperienceWoodcutting.java +++ b/src/main/java/com/gmail/nossr50/config/hocon/experience/ConfigExperienceWoodcutting.java @@ -2,7 +2,6 @@ package com.gmail.nossr50.config.hocon.experience; import ninja.leaping.configurate.objectmapping.Setting; import ninja.leaping.configurate.objectmapping.serialize.ConfigSerializable; -import org.bukkit.Material; import java.util.HashMap; diff --git a/src/main/java/com/gmail/nossr50/config/hocon/skills/ranks/ConfigRanksFishing.java b/src/main/java/com/gmail/nossr50/config/hocon/skills/ranks/ConfigRanksFishing.java index ee872cc99..886f53f05 100644 --- a/src/main/java/com/gmail/nossr50/config/hocon/skills/ranks/ConfigRanksFishing.java +++ b/src/main/java/com/gmail/nossr50/config/hocon/skills/ranks/ConfigRanksFishing.java @@ -1,8 +1,57 @@ package com.gmail.nossr50.config.hocon.skills.ranks; +import ninja.leaping.configurate.objectmapping.Setting; import ninja.leaping.configurate.objectmapping.serialize.ConfigSerializable; @ConfigSerializable public class ConfigRanksFishing { + @Setting(value = "Magic-Hunter") + private SkillRankProperty magicHunter = new SkillRankProperty(20); + + @Setting(value = "Shake") + private SkillRankProperty shake = new SkillRankProperty(15); + + @Setting(value = "Master-Angler") + private SkillRankProperty masterAngler = new SkillRankProperty(50); + + @Setting(value = "Ice-Fishing") + private SkillRankProperty iceFishing = new SkillRankProperty(5); + + @Setting(value = "Fishermans-Diet") + private SkillRankProperty fishermansDiet = new SkillRankProperty(20, 40, 60, 80, 100); + + @Setting(value = "Treasure-Hunter") + private SkillRankProperty treasureHunter = new SkillRankProperty(10, 25, 35, 50, 65, 75, 85, 100); + + @Setting(value = "Inner-Peace") + private SkillRankProperty innerPeace = new SkillRankProperty(33, 66, 100); + + public SkillRankProperty getMagicHunter() { + return magicHunter; + } + + public SkillRankProperty getShake() { + return shake; + } + + public SkillRankProperty getMasterAngler() { + return masterAngler; + } + + public SkillRankProperty getIceFishing() { + return iceFishing; + } + + public SkillRankProperty getFishermansDiet() { + return fishermansDiet; + } + + public SkillRankProperty getTreasureHunter() { + return treasureHunter; + } + + public SkillRankProperty getInnerPeace() { + return innerPeace; + } }