All Superinterfaces:
IDataManager<ISkill>, Map<net.minecraft.resources.ResourceLocation,ISkill>

public interface ISkillManager extends IDataManager<ISkill>
Interface representing a skill manager.
  • Method Details

    • getSkillsForOcculusTab

      Set<ISkill> getSkillsForOcculusTab(net.minecraft.resources.ResourceLocation id)
      Parameters:
      id - The id of the occulus tab to get the skills for.
      Returns:
      The skills in the given occulus tab.
    • getSkillsForOcculusTab

      Set<ISkill> getSkillsForOcculusTab(IOcculusTab tab)
      Parameters:
      tab - The occulus tab to get the skills for.
      Returns:
      The skills in the given occulus tab.
    • getOptional

      Optional<ISkill> getOptional(net.minecraft.resources.ResourceLocation id)
      Specified by:
      getOptional in interface IDataManager<ISkill>
      Parameters:
      id - The id of the skill to get.
      Returns:
      The skill, or null if the skill is not loaded.
    • getNullable

      ISkill getNullable(net.minecraft.resources.ResourceLocation id)
      Specified by:
      getNullable in interface IDataManager<ISkill>
      Parameters:
      id - The id of the skill to get.
      Returns:
      The skill, or null if the skill is not loaded.
    • get

      ISkill get(net.minecraft.resources.ResourceLocation id)
      Specified by:
      get in interface IDataManager<ISkill>
      Parameters:
      id - The id of the skill to get.
      Returns:
      The skill. Throws an exception if the skill is not loaded.
    • getSkills

      Collection<ISkill> getSkills()
      Returns:
      An unmodifiable collection of all skills.