Class NoStatus
java.lang.Object
com.pixelmonmod.pixelmon.battles.attacks.EffectBase
com.pixelmonmod.pixelmon.battles.status.StatusBase
com.pixelmonmod.pixelmon.battles.status.StatusPersist
com.pixelmonmod.pixelmon.battles.status.NoStatus
A default status that does nothing.
-
Field Summary
Fields inherited from class com.pixelmonmod.pixelmon.battles.status.StatusBase
battleTurnGained, turnGained, type
Fields inherited from class com.pixelmonmod.pixelmon.battles.attacks.EffectBase
modifiers
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionrestoreFromNBT
(net.minecraft.nbt.CompoundTag nbt) Loads the status from NBT.void
writeToNBT
(net.minecraft.nbt.CompoundTag nbt) Writes the status to NBT.Methods inherited from class com.pixelmonmod.pixelmon.battles.status.StatusPersist
addStatus, alreadyHasStatus, isStatus, readStatusFromNBT
Methods inherited from class com.pixelmonmod.pixelmon.battles.status.StatusBase
adjustCritStage, allowsStatChange, applyBeforeEffect, applyEffect, applyEffectOnSwitch, applyEndOfBattleEffect, applyRepeatedEffect, applySwitchOutEffect, canAttackThisTurn, cantMiss, copy, getCureMessage, getCureMessageItem, getNewInstance, ignoreStatus, isImmune, isTeamStatus, isWholeTeamStatus, modifyBaseStats, modifyDamageIncludeFixed, modifyEffectiveTypes, modifyMoveEffectChanceTarget, modifyMoveEffectChanceUser, modifyPowerAndAccuracyTarget, modifyPowerAndAccuracyUser, modifyStats, modifyStatsCancellable, modifyWeight, onAttackEnd, onAttackUsed, onDamageReceived, onDynamaxTriggered, onEndOfAttackersTurn, onEndOfTurn, onFormChanged, redirectAttack, skipsTurn, stopsEvolution, stopsForcedSwitches, stopsIncomingAttack, stopsIncomingAttackMessage, stopsIncomingAttackUser, stopsSelfStatusMove, stopsStatusChange, stopsSwitching
Methods inherited from class com.pixelmonmod.pixelmon.battles.attacks.EffectBase
applyEarlyEffect, applyEffectAfterAllTargets, applyEffectAfterStatus, applyEffectHitOrMiss, applyEffectStart, applyMissEffect, canHitMultipleTargets, changeChance, checkChance, dealtDamage, dealtDamagePerHit, doesPersist, getChance, getWeightWithChance, isChance, isUser, modifyDamage, modifyPriority, modifyTargets, modifyTypeEffectiveness, modifyTypeEffectiveness, preventsRedirection, setChance, weightEffect
-
Field Details
-
noStatus
A constant instance of no status.
-
-
Constructor Details
-
NoStatus
public NoStatus()Initializes the default status.
-
-
Method Details
-
restoreFromNBT
Description copied from class:StatusPersist
Loads the status from NBT.- Specified by:
restoreFromNBT
in classStatusPersist
- Parameters:
nbt
- The NBT tag to read from.- Returns:
- A new instance of the status.
-
writeToNBT
public void writeToNBT(net.minecraft.nbt.CompoundTag nbt) Description copied from class:StatusPersist
Writes the status to NBT.- Overrides:
writeToNBT
in classStatusPersist
- Parameters:
nbt
- The NBT tag to write to.
-