java.lang.Object
com.pixelmonmod.pixelmon.api.pokemon.stats.Pokerus

public class Pokerus extends Object
  • Field Details

    • type

      public PokerusStrain type
    • secondsSinceInfection

      public int secondsSinceInfection
    • announced

      public boolean announced
  • Constructor Details

  • Method Details

    • copy

      public Pokerus copy()
    • canInfect

      public boolean canInfect()
    • setCured

      public void setCured()
    • setInfected

      public void setInfected()
    • getNameOfStrainWithInfected

      public net.minecraft.network.chat.Component getNameOfStrainWithInfected()
    • getNameOfStrainWithInfectedToString

      public String getNameOfStrainWithInfectedToString()
    • serializeToNBT

      public net.minecraft.nbt.CompoundTag serializeToNBT()
    • deserializeFromNBT

      public static Pokerus deserializeFromNBT(net.minecraft.nbt.CompoundTag nbt)
    • informPlayer

      public static void informPlayer(net.minecraft.server.level.ServerPlayer player)
    • onHealerClose

      public static void onHealerClose(net.minecraft.server.level.ServerPlayer player, String npc)