Class Pokerus
java.lang.Object
com.pixelmonmod.pixelmon.api.pokemon.stats.Pokerus
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
copy()
static Pokerus
deserializeFromNBT
(net.minecraft.nbt.CompoundTag nbt) net.minecraft.network.chat.Component
static void
informPlayer
(net.minecraft.server.level.ServerPlayer player) static void
onHealerClose
(net.minecraft.server.level.ServerPlayer player, String npc) net.minecraft.nbt.CompoundTag
void
setCured()
void
-
Field Details
-
type
-
secondsSinceInfection
public int secondsSinceInfection -
announced
public boolean announced
-
-
Constructor Details
-
Pokerus
-
-
Method Details
-
copy
-
canInfect
public boolean canInfect() -
setCured
public void setCured() -
setInfected
public void setInfected() -
getNameOfStrainWithInfected
public net.minecraft.network.chat.Component getNameOfStrainWithInfected() -
getNameOfStrainWithInfectedToString
-
serializeToNBT
public net.minecraft.nbt.CompoundTag serializeToNBT() -
deserializeFromNBT
-
informPlayer
public static void informPlayer(net.minecraft.server.level.ServerPlayer player) -
onHealerClose
-