PetSpecies
One pet species, read from a <species>.pet.yml file that sits beside its model in the models folder, so a model pack ships, enables and disables its pets together with its models. It names the model and the body the model rides, and says how the species is tamed, bred and raised, how it floats and follows, and where it lives wild.
Types
Link copied to clipboard
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.
Functions
Link copied to clipboard
Link copied to clipboard
The modules a pet wearing this model runs: the species' list or its locomotion's defaults, then the variant's.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Whether the model is drawn centred on its hidden body rather than standing on its feet.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
An item model for the pets menu icon, or null to show the icon material as it is.
Link copied to clipboard
The species' look in night migrations; its migration() is null when off.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Whether the pet file lists its own behaviors; false when it has no list or one that is not a list, and the species runs its locomotion's defaults.
Link copied to clipboard
The species a pet file defines, or null when the file is disabled or unreadable.
Link copied to clipboard
Link copied to clipboard
How the model leans with its travel.
Link copied to clipboard
A variant model by weight, or the species' model when it lists none.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard