Trying to recompile after editting the JobsAddonConfig.class, won't allow me
phDoenix opened this issue ยท 0 comments
Minecraft Version
1.19.x
Mod Loader Version
0.14.19
Mod Version
1.1.1
Describe the Issue
The jobsaddon.json5 config file isn't properly applying its edits to my server, so I decided to see if there was something i could edit in the java file itself and I found JobsAddonConfig with all the config values at default. I changed what I felt was balanced and adequate, but after trying to recompile using javac JobsAddonConfig.java and javac -Xlint:unchecked JobsAddonConfig.java I've made no progress and it wont let me proceed further.
Here's the command prompt error:
latest.log
JobsAddonConfig.java:6: error: package me.shedaniel.autoconfig does not exist
/* / import me.shedaniel.autoconfig.ConfigData;
^
JobsAddonConfig.java:7: error: package me.shedaniel.autoconfig.annotation does not exist
/ / import me.shedaniel.autoconfig.annotation.Config;
^
JobsAddonConfig.java:8: error: package me.shedaniel.autoconfig.annotation.Config.Gui does not exist
/ / import me.shedaniel.autoconfig.annotation.Config.Gui.Background;
^
JobsAddonConfig.java:9: error: package me.shedaniel.autoconfig.annotation.ConfigEntry does not exist
/ / import me.shedaniel.autoconfig.annotation.ConfigEntry.Category;
^
JobsAddonConfig.java:10: error: package me.shedaniel.cloth.clothconfig.shadowed.blue.endless.jankson does not exist
/ / import me.shedaniel.cloth.clothconfig.shadowed.blue.endless.jankson.Comment;
^
JobsAddonConfig.java:14: error: cannot find symbol
/ / public class JobsAddonConfig implements ConfigData {
^
symbol: class ConfigData
JobsAddonConfig.java:12: error: cannot find symbol
/ / @config(name = "jobsaddon")
^
symbol: class Config
JobsAddonConfig.java:13: error: cannot find symbol
/ / @background("minecraft:textures/block/stone.png")
^
symbol: class Background
JobsAddonConfig.java:15: error: cannot find symbol
/ / @comment("Count for how many jobs can a player have at a time")
^
symbol: class Comment
location: class JobsAddonConfig
JobsAddonConfig.java:18: error: cannot find symbol
/ / @comment("Delay to employ new job")
^
symbol: class Comment
location: class JobsAddonConfig
JobsAddonConfig.java:21: error: cannot find symbol
/ / @comment("Reset current job lvl xp when died")
^
symbol: class Comment
location: class JobsAddonConfig
JobsAddonConfig.java:24: error: cannot find symbol
/ / @comment("Only for Devs")
^
symbol: class Comment
location: class JobsAddonConfig
JobsAddonConfig.java:27: error: cannot find symbol
/ / @category("experience_settings")
^
symbol: class Category
location: class JobsAddonConfig
JobsAddonConfig.java:28: error: cannot find symbol
/ / @comment("Max level of each job")
^
symbol: class Comment
location: class JobsAddonConfig
JobsAddonConfig.java:31: error: cannot find symbol
/ / @category("experience_settings")
^
symbol: class Category
location: class JobsAddonConfig
JobsAddonConfig.java:32: error: cannot find symbol
/ / @comment("XP equation: lvl^exponent * multiplicator + base")
^
symbol: class Comment
location: class JobsAddonConfig
JobsAddonConfig.java:35: error: cannot find symbol
/ / @category("experience_settings")
^
symbol: class Category
location: class JobsAddonConfig
JobsAddonConfig.java:38: error: cannot find symbol
/ / @category("experience_settings")
^
symbol: class Category
location: class JobsAddonConfig
JobsAddonConfig.java:41: error: cannot find symbol
/ / @category("experience_settings")
^
symbol: class Category
location: class JobsAddonConfig
JobsAddonConfig.java:44: error: cannot find symbol
/ / @category("experience_settings")
^
symbol: class Category
location: class JobsAddonConfig
JobsAddonConfig.java:45: error: cannot find symbol
/ / @comment("Default xp per job execution")
^
symbol: class Comment
location: class JobsAddonConfig
JobsAddonConfig.java:48: error: cannot find symbol
/ / @category("experience_settings")
^
symbol: class Category
location: class JobsAddonConfig
JobsAddonConfig.java:51: error: cannot find symbol
/ / @category("experience_settings")
^
symbol: class Category
location: class JobsAddonConfig
JobsAddonConfig.java:54: error: cannot find symbol
/ / @category("experience_settings")
^
symbol: class Category
location: class JobsAddonConfig
JobsAddonConfig.java:57: error: cannot find symbol
/ / @category("experience_settings")
^
symbol: class Category
location: class JobsAddonConfig
JobsAddonConfig.java:60: error: cannot find symbol
/ / @category("experience_settings")
^
symbol: class Category
location: class JobsAddonConfig
JobsAddonConfig.java:63: error: cannot find symbol
/ / @category("experience_settings")
^
symbol: class Category
location: class JobsAddonConfig
JobsAddonConfig.java:66: error: cannot find symbol
/ / @category("experience_settings")
^
symbol: class Category
location: class JobsAddonConfig
JobsAddonConfig.java:69: error: cannot find symbol
/ / @category("reward_settings")
^
symbol: class Category
location: class JobsAddonConfig
JobsAddonConfig.java:72: error: cannot find symbol
/ / @category("reward_settings")
^
symbol: class Category
location: class JobsAddonConfig
JobsAddonConfig.java:75: error: cannot find symbol
/ / @category("reward_settings")
^
symbol: class Category
location: class JobsAddonConfig
JobsAddonConfig.java:76: error: cannot find symbol
/ / @comment("Numismatic Overhaul compat lvl * multiplicator")
^
symbol: class Comment
location: class JobsAddonConfig
JobsAddonConfig.java:82: warning: [unchecked] unchecked call to ArrayList(Collection<? extends E>) as a member of the raw type ArrayList
/ 64 / return new ArrayList(Arrays.asList((Object[])new Serializable[] {
^
where E is a type-variable:
E extends Object declared in class ArrayList
JobsAddonConfig.java:82: warning: [unchecked] unchecked conversion
/ 64 */ return new ArrayList(Arrays.asList((Object[])new Serializable[] {
^
required: ArrayList
found: ArrayList
32 errors
2 warnings
Do you use any other mods except the required ones?
Indubitably