public static class BreedEvent.BreedingTicks extends BreedEvent
BreedEvent
subclass representing an opening to modify the breeding ticks for a Pokémon in a ranch block.
The shorter the ticks, the faster the Pokémon will breedBreedEvent.AddPokemon, BreedEvent.BreedingLevelChanged, BreedEvent.BreedingTicks, BreedEvent.CollectEgg, BreedEvent.EnvironmentStrength, BreedEvent.MakeEgg
Modifier and Type | Field and Description |
---|---|
EntityBreeding |
pokemon
The Pokémon whose breeding ticks are open to change
|
owner, ranch
Constructor and Description |
---|
BreedingTicks(java.util.UUID owner,
TileEntityRanchBlock ranch,
EntityBreeding pokemon,
int breedingTicks,
boolean ovalCharm) |
Modifier and Type | Method and Description |
---|---|
int |
getBreedingTicks()
Gets the current breeding ticks
|
boolean |
isOvalCharm()
Gets whether an Oval Charm is influencing this
|
void |
setBreedingTicks(int newBreedingTicks)
Sets the new breeding ticks.
|
public final EntityBreeding pokemon
public BreedingTicks(java.util.UUID owner, TileEntityRanchBlock ranch, EntityBreeding pokemon, int breedingTicks, boolean ovalCharm)
public void setBreedingTicks(int newBreedingTicks)
newBreedingTicks
- - The new breeding ticks value. The lower the value, the faster the Pokémon breedspublic int getBreedingTicks()
public boolean isOvalCharm()