public class Pokerus
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
boolean |
announced |
int |
secondsSinceInfection |
PokerusStrain |
type |
Constructor and Description |
---|
Pokerus(PokerusStrain type) |
Modifier and Type | Method and Description |
---|---|
boolean |
canInfect() |
Pokerus |
copy() |
static Pokerus |
deserializeFromNBT(net.minecraft.nbt.CompoundNBT nbt) |
static void |
informPlayer(net.minecraft.entity.player.ServerPlayerEntity player) |
static void |
onHealerClose(net.minecraft.entity.player.ServerPlayerEntity player,
java.lang.String npc) |
net.minecraft.nbt.CompoundNBT |
serializeToNBT() |
public PokerusStrain type
public int secondsSinceInfection
public boolean announced
public Pokerus(PokerusStrain type)
public Pokerus copy()
public boolean canInfect()
public net.minecraft.nbt.CompoundNBT serializeToNBT()
public static Pokerus deserializeFromNBT(net.minecraft.nbt.CompoundNBT nbt)
public static void informPlayer(net.minecraft.entity.player.ServerPlayerEntity player)
public static void onHealerClose(net.minecraft.entity.player.ServerPlayerEntity player, java.lang.String npc)