WildSpawn

public final class WildSpawn extends Record

How the species appears wild in CREATURES mode, shaped like a vanilla mob's entry in a biome's spawn list: a weight against the other species that may spawn at the same spot, a group size, where the group may stand, and the light, world, environment, biome and height it needs. Empty lists allow everything. time and cap only hold back the top-up spawns around players: cap is how many of this species may be wild around one player, and new chunks are stocked whatever the time.

Constructors

Link copied to clipboard
public void PetSpecies.WildSpawn()

Functions

Link copied to clipboard
public boolean allows(Location location)
Whether a member of the species may spawn at this spot: world, height, biome and light level.
Link copied to clipboard
public boolean allowsTime(World world)
Whether it is the time of day the species tops up at in this world.
Link copied to clipboard
public boolean allowsWorld(World world)
Whether this world could ever hold the species, before looking at any spot in it.

Inherited functions

Link copied to clipboard
public abstract boolean equals(Object p)
Link copied to clipboard
public abstract int hashCode()
Link copied to clipboard
public abstract String toString()