public class NoStatus extends StatusPersist
Modifier and Type | Field and Description |
---|---|
static NoStatus |
noStatus
A constant instance of no status.
|
type
modifiers
Constructor and Description |
---|
NoStatus()
Initializes the default status.
|
Modifier and Type | Method and Description |
---|---|
StatusPersist |
restoreFromNBT(net.minecraft.nbt.CompoundNBT nbt)
Loads the status from NBT.
|
void |
writeToNBT(net.minecraft.nbt.CompoundNBT nbt)
Writes the status to NBT.
|
addStatus, alreadyHasStatus, isStatus, readStatusFromNBT
allowsStatChange, applyBeforeEffect, applyEffect, applyEffectOnSwitch, applyEndOfBattleEffect, applyRepeatedEffect, applySwitchOutEffect, canAttackThisTurn, cantMiss, copy, getCureMessage, getCureMessageItem, getEffectiveTypes, getNewInstance, ignoreStatus, isImmune, isTeamStatus, isWholeTeamStatus, modifyBaseStats, modifyDamageIncludeFixed, modifyPowerAndAccuracyTarget, modifyPowerAndAccuracyUser, modifyStats, modifyStatsCancellable, modifyWeight, onAttackEnd, onAttackUsed, onDamageReceived, onEndOfAttackersTurn, onEndOfTurn, redirectAttack, skipsTurn, stopsForcedSwitches, stopsIncomingAttack, stopsIncomingAttackMessage, stopsIncomingAttackUser, stopsSelfStatusMove, stopsStatusChange, stopsSwitching
applyEarlyEffect, applyEffectAfterAllTargets, applyEffectAfterStatus, applyEffectHitOrMiss, applyEffectStart, applyMissEffect, changeChance, checkChance, dealtDamage, doesPersist, getChance, getWeightWithChance, isChance, modifyDamage, modifyPriority, modifyTypeEffectiveness, modifyTypeEffectiveness, weightEffect
public static final transient NoStatus noStatus
public StatusPersist restoreFromNBT(net.minecraft.nbt.CompoundNBT nbt)
StatusPersist
restoreFromNBT
in class StatusPersist
nbt
- The NBT tag to read from.public void writeToNBT(net.minecraft.nbt.CompoundNBT nbt)
StatusPersist
writeToNBT
in class StatusPersist
nbt
- The NBT tag to write to.