Class SimpleWerewolfSkill.AttributeSkill

java.lang.Object
de.teamlapen.vampirism.api.entity.player.skills.DefaultSkill<de.teamlapen.werewolves.api.entities.player.IWerewolfPlayer>
de.teamlapen.vampirism.entity.player.skills.VampirismSkill<de.teamlapen.werewolves.api.entities.player.IWerewolfPlayer>
de.teamlapen.werewolves.entities.player.werewolf.skill.SimpleWerewolfSkill
de.teamlapen.werewolves.entities.player.werewolf.skill.SimpleWerewolfSkill.AttributeSkill
All Implemented Interfaces:
de.teamlapen.vampirism.api.entity.player.skills.ISkill<de.teamlapen.werewolves.api.entities.player.IWerewolfPlayer>, de.teamlapen.vampirism.api.entity.player.skills.ISkillLike<de.teamlapen.werewolves.api.entities.player.IWerewolfPlayer>
Enclosing class:
SimpleWerewolfSkill

public static class SimpleWerewolfSkill.AttributeSkill extends SimpleWerewolfSkill
  • Nested Class Summary

    Nested classes/interfaces inherited from class de.teamlapen.werewolves.entities.player.werewolf.skill.SimpleWerewolfSkill

    SimpleWerewolfSkill.AttributeSkill, SimpleWerewolfSkill.LordWerewolfSkill

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

    de.teamlapen.vampirism.entity.player.skills.VampirismSkill.HunterLordSkill, de.teamlapen.vampirism.entity.player.skills.VampirismSkill.SimpleHunterSkill, de.teamlapen.vampirism.entity.player.skills.VampirismSkill.SimpleVampireSkill, de.teamlapen.vampirism.entity.player.skills.VampirismSkill.VampireLordSkill

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

    de.teamlapen.vampirism.api.entity.player.skills.DefaultSkill.AttributeHolder
  • Constructor Summary

    Constructors
    Constructor
    Description
    AttributeSkill(boolean desc, net.minecraft.core.Holder<net.minecraft.world.entity.ai.attributes.Attribute> attributeType, net.minecraft.world.entity.ai.attributes.AttributeModifier.Operation operation, Function<de.teamlapen.werewolves.api.entities.player.IWerewolfPlayer,Double> attribute_value)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected void
    onDisabled(de.teamlapen.werewolves.api.entities.player.IWerewolfPlayer player)
     
    protected void
    onEnabled(de.teamlapen.werewolves.api.entities.player.IWerewolfPlayer player)
     

    Methods inherited from class de.teamlapen.werewolves.entities.player.werewolf.skill.SimpleWerewolfSkill

    defaultDescWithEnhancement, defaultDescWithExtra, defaultDescWithExtra, defaultDescWithFormRequirement, getFaction

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

    allowedSkillTrees, getDescription, setDescription, setHasDefaultDescription, setToggleActions

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

    getActions, getActions, getSkillPointCost, getTranslationKey, onDisable, onEnable, registerAttributeModifier, registerAttributeModifier, 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

    asSkill, getName
  • Constructor Details

    • AttributeSkill

      public AttributeSkill(boolean desc, net.minecraft.core.Holder<net.minecraft.world.entity.ai.attributes.Attribute> attributeType, net.minecraft.world.entity.ai.attributes.AttributeModifier.Operation operation, Function<de.teamlapen.werewolves.api.entities.player.IWerewolfPlayer,Double> attribute_value)
  • Method Details

    • onDisabled

      protected void onDisabled(de.teamlapen.werewolves.api.entities.player.IWerewolfPlayer player)
      Overrides:
      onDisabled in class SimpleWerewolfSkill
    • onEnabled

      protected void onEnabled(de.teamlapen.werewolves.api.entities.player.IWerewolfPlayer player)
      Overrides:
      onEnabled in class SimpleWerewolfSkill