java.lang.Object
de.teamlapen.vampirism.api.entity.player.actions.DefaultAction<de.teamlapen.werewolves.api.entities.player.IWerewolfPlayer>
de.teamlapen.werewolves.entities.player.werewolf.actions.DefaultWerewolfAction
de.teamlapen.werewolves.entities.player.werewolf.actions.FearAction
All Implemented Interfaces:
de.teamlapen.vampirism.api.entity.player.actions.IAction<de.teamlapen.werewolves.api.entities.player.IWerewolfPlayer>, de.teamlapen.werewolves.api.entities.player.action.IActionCooldownMenu

public class FearAction extends DefaultWerewolfAction implements de.teamlapen.werewolves.api.entities.player.action.IActionCooldownMenu
  • Nested Class Summary

    Nested classes/interfaces inherited from interface de.teamlapen.vampirism.api.entity.player.actions.IAction

    de.teamlapen.vampirism.api.entity.player.actions.IAction.ActivationContext, de.teamlapen.vampirism.api.entity.player.actions.IAction.PERM
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected boolean
    activate(de.teamlapen.werewolves.api.entities.player.IWerewolfPlayer iWerewolfPlayer, de.teamlapen.vampirism.api.entity.player.actions.IAction.ActivationContext context)
     
    int
    getCooldown(de.teamlapen.werewolves.api.entities.player.IWerewolfPlayer iWerewolfPlayer)
     
    boolean
     
    boolean
    showHudCooldown(net.minecraft.world.entity.player.Player player)
     

    Methods inherited from class de.teamlapen.werewolves.entities.player.werewolf.actions.DefaultWerewolfAction

    getFaction

    Methods inherited from class de.teamlapen.vampirism.api.entity.player.actions.DefaultAction

    addEffectInstance, canBeUsedBy, canUse, getName, getTranslationKey, onActivated, removePotionEffect, 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.actions.IAction

    matchesFaction, showInSelectAction
  • Constructor Details

    • FearAction

      public FearAction()
  • Method Details

    • isEnabled

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

      protected boolean activate(de.teamlapen.werewolves.api.entities.player.IWerewolfPlayer iWerewolfPlayer, de.teamlapen.vampirism.api.entity.player.actions.IAction.ActivationContext context)
      Specified by:
      activate 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 iWerewolfPlayer)
      Specified by:
      getCooldown in interface de.teamlapen.vampirism.api.entity.player.actions.IAction<de.teamlapen.werewolves.api.entities.player.IWerewolfPlayer>
    • showHudCooldown

      public boolean showHudCooldown(net.minecraft.world.entity.player.Player player)
      Specified by:
      showHudCooldown in interface de.teamlapen.vampirism.api.entity.player.actions.IAction<de.teamlapen.werewolves.api.entities.player.IWerewolfPlayer>