ima在尝试构建minecraft插件时出现此错误我已经导入了源代码,但在intellij中构建时仍发送错误?下面是我面临的错误,以及基于构建日志的错误来源的完整代码 SkillService.java:16: error: cannot find symbol void load(AppletParameters scriptSkillsParents); ^ symbol: class AppletParameters location: interface SkillService
此处显示完整代码:
package cz.neumimto.rpg.api.skills;
import com.sun.applet2.AppletParameters;
import cz.neumimto.rpg.api.entity.players.IActiveCharacter;
import cz.neumimto.rpg.api.gui.ISkillTreeInterfaceModel;
import cz.neumimto.rpg.api.scripting.SkillScriptHandlers;
import cz.neumimto.rpg.api.skills.scripting.ScriptSkillModel;
import cz.neumimto.rpg.api.skills.tree.SkillTree;
import java.util.Collection;
import java.util.Map;
import java.util.Optional;
public interface SkillService {
void load(AppletParameters scriptSkillsParents);
Map<String, ISkill> getSkills();
SkillScriptHandlers getSkillHandler(String id);
Map<String, SkillTree> getSkillTrees();
SkillResult executeSkill(IActiveCharacter character, PlayerSkillContext esi);
PlayerSkillContext invokeSkillByCombo(String combo, IActiveCharacter character);
void registerAdditionalCatalog(ISkill extraCatalog);
Optional<ISkill> getById(String id);
Collection<ISkill> getAll();
ISkill getSkillByLocalizedName(String name);
void registerSkillAlternateName(String name, ISkill skill);
ISkill skillDefinitionToSkill(ScriptSkillModel scriptSkillModel, ClassLoader classLoader);
void injectCatalogId(ISkill skill, String name);
Optional<ISkillType> getSkillType(String id);
void registerSkillType(ISkillType skillType);
ISkillTreeInterfaceModel getGuiModelByCharacter(char c);
Collection<String> getSkillNames();
void registerSkillHandler(String key, SkillScriptHandlers toInterface);
}```
暂无答案!
目前还没有任何答案,快来回答吧!