Class RageWerewolfAction
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.RageWerewolfAction
- 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>,de.teamlapen.werewolves.api.entities.player.action.IActionCooldownMenu
public class RageWerewolfAction
extends DefaultWerewolfAction
implements de.teamlapen.vampirism.api.entity.player.actions.ILastingAction<de.teamlapen.werewolves.api.entities.player.IWerewolfPlayer>, 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 werewolf, de.teamlapen.vampirism.api.entity.player.actions.IAction.ActivationContext context) protected voidapplyEffects(de.teamlapen.werewolves.api.entities.player.IWerewolfPlayer werewolf) booleancanBeUsedBy(de.teamlapen.werewolves.api.entities.player.IWerewolfPlayer player) intgetCooldown(de.teamlapen.werewolves.api.entities.player.IWerewolfPlayer werewolf) intgetDuration(de.teamlapen.werewolves.api.entities.player.IWerewolfPlayer werewolf) booleanvoidonActivatedClient(de.teamlapen.werewolves.api.entities.player.IWerewolfPlayer iWerewolfPlayer) voidonDeactivated(de.teamlapen.werewolves.api.entities.player.IWerewolfPlayer werewolf) voidonReActivated(de.teamlapen.werewolves.api.entities.player.IWerewolfPlayer iWerewolfPlayer) booleanonUpdate(de.teamlapen.werewolves.api.entities.player.IWerewolfPlayer iWerewolfPlayer) booleanshowHudCooldown(net.minecraft.world.entity.player.Player player) booleanshowHudDuration(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, canUse, getName, 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
canUse, getFaction, getName, getTranslationKey, matchesFaction, onActivated, showInSelectAction
-
Constructor Details
-
RageWerewolfAction
public RageWerewolfAction()
-
-
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 werewolf, 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>
-
getDuration
public int getDuration(de.teamlapen.werewolves.api.entities.player.IWerewolfPlayer werewolf) - Specified by:
getDurationin interfacede.teamlapen.vampirism.api.entity.player.actions.ILastingAction<de.teamlapen.werewolves.api.entities.player.IWerewolfPlayer>
-
canBeUsedBy
public boolean canBeUsedBy(de.teamlapen.werewolves.api.entities.player.IWerewolfPlayer player) - Overrides:
canBeUsedByin classde.teamlapen.vampirism.api.entity.player.actions.DefaultAction<de.teamlapen.werewolves.api.entities.player.IWerewolfPlayer>
-
onActivatedClient
public void onActivatedClient(de.teamlapen.werewolves.api.entities.player.IWerewolfPlayer iWerewolfPlayer) - Specified by:
onActivatedClientin interfacede.teamlapen.vampirism.api.entity.player.actions.ILastingAction<de.teamlapen.werewolves.api.entities.player.IWerewolfPlayer>
-
onDeactivated
public void onDeactivated(de.teamlapen.werewolves.api.entities.player.IWerewolfPlayer werewolf) - Specified by:
onDeactivatedin interfacede.teamlapen.vampirism.api.entity.player.actions.ILastingAction<de.teamlapen.werewolves.api.entities.player.IWerewolfPlayer>
-
onReActivated
public void onReActivated(de.teamlapen.werewolves.api.entities.player.IWerewolfPlayer iWerewolfPlayer) - Specified by:
onReActivatedin interfacede.teamlapen.vampirism.api.entity.player.actions.ILastingAction<de.teamlapen.werewolves.api.entities.player.IWerewolfPlayer>
-
onUpdate
public boolean onUpdate(de.teamlapen.werewolves.api.entities.player.IWerewolfPlayer iWerewolfPlayer) - Specified by:
onUpdatein interfacede.teamlapen.vampirism.api.entity.player.actions.ILastingAction<de.teamlapen.werewolves.api.entities.player.IWerewolfPlayer>
-
getCooldown
public int getCooldown(de.teamlapen.werewolves.api.entities.player.IWerewolfPlayer werewolf) - Specified by:
getCooldownin interfacede.teamlapen.vampirism.api.entity.player.actions.IAction<de.teamlapen.werewolves.api.entities.player.IWerewolfPlayer>
-
applyEffects
protected void applyEffects(de.teamlapen.werewolves.api.entities.player.IWerewolfPlayer werewolf) -
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>
-
showHudDuration
public boolean showHudDuration(net.minecraft.world.entity.player.Player player) - Specified by:
showHudDurationin interfacede.teamlapen.vampirism.api.entity.player.actions.ILastingAction<de.teamlapen.werewolves.api.entities.player.IWerewolfPlayer>
-