Class FearAction
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.vampirism.api.entity.player.skills.ISkillLike<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 -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanactivate(de.teamlapen.werewolves.api.entities.player.IWerewolfPlayer iWerewolfPlayer, de.teamlapen.vampirism.api.entity.player.actions.IAction.ActivationContext context) intgetCooldown(de.teamlapen.werewolves.api.entities.player.IWerewolfPlayer iWerewolfPlayer) booleanbooleanshowHudCooldown(net.minecraft.world.entity.player.Player player) Methods inherited from class de.teamlapen.werewolves.entities.player.werewolf.actions.DefaultWerewolfAction
getFactionMethods inherited from class de.teamlapen.vampirism.api.entity.player.actions.DefaultAction
addEffectInstance, asSkill, canBeUsedBy, canUse, getTranslationKey, onActivated, removePotionEffect, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface de.teamlapen.vampirism.api.entity.player.actions.IAction
getName, matchesFaction, showInSelectAction
-
Constructor Details
-
FearAction
public FearAction()
-
-
Method Details
-
isEnabled
public boolean isEnabled()- Specified by:
isEnabledin classde.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:
activatein classde.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:
getCooldownin interfacede.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:
showHudCooldownin interfacede.teamlapen.vampirism.api.entity.player.actions.IAction<de.teamlapen.werewolves.api.entities.player.IWerewolfPlayer>
-