Class SimpleWerewolfSkill

java.lang.Object
de.teamlapen.vampirism.api.entity.player.skills.DefaultSkill<T>
de.teamlapen.vampirism.entity.player.skills.VampirismSkill<de.teamlapen.werewolves.api.entities.player.IWerewolfPlayer>
de.teamlapen.werewolves.entities.player.werewolf.skill.SimpleWerewolfSkill
All Implemented Interfaces:
de.teamlapen.vampirism.api.entity.player.skills.ISkill<de.teamlapen.werewolves.api.entities.player.IWerewolfPlayer>
Direct Known Subclasses:
DiggerSkill, SimpleWerewolfSkill.AttributeSkill, SimpleWerewolfSkill.LordWerewolfSkill

public class SimpleWerewolfSkill extends de.teamlapen.vampirism.entity.player.skills.VampirismSkill<de.teamlapen.werewolves.api.entities.player.IWerewolfPlayer>
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static class 
     
    static class 
     

    Nested classes/interfaces inherited from class de.teamlapen.vampirism.entity.player.skills.VampirismSkill

    de.teamlapen.vampirism.entity.player.skills.VampirismSkill.LordHunterSkill, de.teamlapen.vampirism.entity.player.skills.VampirismSkill.LordVampireSkill, de.teamlapen.vampirism.entity.player.skills.VampirismSkill.SimpleHunterSkill, de.teamlapen.vampirism.entity.player.skills.VampirismSkill.SimpleVampireSkill
  • Constructor Summary

    Constructors
    Constructor
    Description
     
    SimpleWerewolfSkill(boolean desc)
     
    SimpleWerewolfSkill(int skillPointCost)
     
    SimpleWerewolfSkill(int skillPoints, boolean desc)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    defaultDescWithEnhancement(Supplier<de.teamlapen.vampirism.api.entity.player.skills.ISkill<?>>... skill)
     
    defaultDescWithExtra(Supplier<net.minecraft.network.chat.Component> text)
     
    defaultDescWithExtra(net.minecraft.network.chat.MutableComponent prefix, Supplier<de.teamlapen.vampirism.api.entity.player.skills.ISkill<?>>... skills)
     
    defaultDescWithFormRequirement(Supplier<de.teamlapen.vampirism.api.entity.player.skills.ISkill<?>>... skills)
     
    Optional<de.teamlapen.vampirism.api.entity.factions.IPlayableFaction<?>>
     
    protected void
    onDisabled(de.teamlapen.werewolves.api.entities.player.IWerewolfPlayer player)
     
    protected void
    onEnabled(de.teamlapen.werewolves.api.entities.player.IWerewolfPlayer player)
     
    setToggleActions(BiConsumer<de.teamlapen.werewolves.api.entities.player.IWerewolfPlayer,Boolean> action)
     

    Methods inherited from class de.teamlapen.vampirism.entity.player.skills.VampirismSkill

    getDescription, setDescription, setHasDefaultDescription, setToggleActions

    Methods inherited from class de.teamlapen.vampirism.api.entity.player.skills.DefaultSkill

    getActions, getName, getRenderColumn, getRenderRow, getSkillPointCost, getTranslationKey, onDisable, onEnable, registerAttributeModifier, registerAttributeModifier, setName, setRenderPos, toString

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

    Methods inherited from interface de.teamlapen.vampirism.api.entity.player.skills.ISkill

    getType
  • Constructor Details

    • SimpleWerewolfSkill

      public SimpleWerewolfSkill()
    • SimpleWerewolfSkill

      public SimpleWerewolfSkill(int skillPointCost)
    • SimpleWerewolfSkill

      public SimpleWerewolfSkill(boolean desc)
    • SimpleWerewolfSkill

      public SimpleWerewolfSkill(int skillPoints, boolean desc)
  • Method Details

    • getFaction

      @Nonnull public Optional<de.teamlapen.vampirism.api.entity.factions.IPlayableFaction<?>> getFaction()
    • onEnabled

      protected void onEnabled(de.teamlapen.werewolves.api.entities.player.IWerewolfPlayer player)
      Overrides:
      onEnabled in class de.teamlapen.vampirism.entity.player.skills.VampirismSkill<de.teamlapen.werewolves.api.entities.player.IWerewolfPlayer>
    • onDisabled

      protected void onDisabled(de.teamlapen.werewolves.api.entities.player.IWerewolfPlayer player)
      Overrides:
      onDisabled in class de.teamlapen.vampirism.entity.player.skills.VampirismSkill<de.teamlapen.werewolves.api.entities.player.IWerewolfPlayer>
    • defaultDescWithExtra

      public SimpleWerewolfSkill defaultDescWithExtra(Supplier<net.minecraft.network.chat.Component> text)
    • setToggleActions

      public SimpleWerewolfSkill setToggleActions(BiConsumer<de.teamlapen.werewolves.api.entities.player.IWerewolfPlayer,Boolean> action)
    • defaultDescWithExtra

      @SafeVarargs public final SimpleWerewolfSkill defaultDescWithExtra(net.minecraft.network.chat.MutableComponent prefix, Supplier<de.teamlapen.vampirism.api.entity.player.skills.ISkill<?>>... skills)
    • defaultDescWithFormRequirement

      @SafeVarargs public final SimpleWerewolfSkill defaultDescWithFormRequirement(Supplier<de.teamlapen.vampirism.api.entity.player.skills.ISkill<?>>... skills)
    • defaultDescWithEnhancement

      @SafeVarargs public final SimpleWerewolfSkill defaultDescWithEnhancement(Supplier<de.teamlapen.vampirism.api.entity.player.skills.ISkill<?>>... skill)