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

    • canInfect

      public boolean canInfect()
    • 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)