Class SurvivalWerewolfFormAction

java.lang.Object
de.teamlapen.vampirism.api.entity.player.actions.DefaultAction<de.teamlapen.werewolves.api.entities.player.IWerewolfPlayer>
All Implemented Interfaces:
de.teamlapen.vampirism.api.entity.player.actions.IAction<de.teamlapen.werewolves.api.entities.player.IWerewolfPlayer>, de.teamlapen.vampirism.api.entity.player.actions.ILastingAction<de.teamlapen.werewolves.api.entities.player.IWerewolfPlayer>

public class SurvivalWerewolfFormAction extends WerewolfFormAction
  • Field Details

    • CLIMBER_ID

      public static final UUID CLIMBER_ID
  • Constructor Details

    • SurvivalWerewolfFormAction

      public SurvivalWerewolfFormAction()
  • Method Details

    • climberSkillEnabled

      public static void climberSkillEnabled(de.teamlapen.werewolves.api.entities.player.IWerewolfPlayer werewolf)
    • climberSkillDisabled

      public static void climberSkillDisabled(de.teamlapen.werewolves.api.entities.player.IWerewolfPlayer werewolf)
    • activate

      protected boolean activate(de.teamlapen.werewolves.api.entities.player.IWerewolfPlayer werewolf, de.teamlapen.vampirism.api.entity.player.actions.IAction.ActivationContext context)
      Overrides:
      activate in class WerewolfFormAction
    • onReActivated

      public void onReActivated(de.teamlapen.werewolves.api.entities.player.IWerewolfPlayer werewolf)
      Specified by:
      onReActivated in interface de.teamlapen.vampirism.api.entity.player.actions.ILastingAction<de.teamlapen.werewolves.api.entities.player.IWerewolfPlayer>
      Overrides:
      onReActivated in class WerewolfFormAction
    • onActivatedClient

      public void onActivatedClient(de.teamlapen.werewolves.api.entities.player.IWerewolfPlayer werewolfPlayer)
      Specified by:
      onActivatedClient in interface de.teamlapen.vampirism.api.entity.player.actions.ILastingAction<de.teamlapen.werewolves.api.entities.player.IWerewolfPlayer>
      Overrides:
      onActivatedClient in class WerewolfFormAction
    • onDeactivated

      public void onDeactivated(de.teamlapen.werewolves.api.entities.player.IWerewolfPlayer werewolf)
      Specified by:
      onDeactivated in interface de.teamlapen.vampirism.api.entity.player.actions.ILastingAction<de.teamlapen.werewolves.api.entities.player.IWerewolfPlayer>
      Overrides:
      onDeactivated in class WerewolfFormAction
    • checkStepHeight

      public static void checkStepHeight(de.teamlapen.werewolves.api.entities.player.IWerewolfPlayer werewolf, boolean active)
    • isEnabled

      public boolean isEnabled()
      Specified by:
      isEnabled in class de.teamlapen.vampirism.api.entity.player.actions.DefaultAction<de.teamlapen.werewolves.api.entities.player.IWerewolfPlayer>
    • getCooldown

      public int getCooldown(de.teamlapen.werewolves.api.entities.player.IWerewolfPlayer werewolf)
    • getTimeModifier

      public int getTimeModifier(de.teamlapen.werewolves.api.entities.player.IWerewolfPlayer werewolf)
      Description copied from class: WerewolfFormAction
      ticks this action can be used
      Overrides:
      getTimeModifier in class WerewolfFormAction