animal
An animal mob in the game.
mobs.animal(PIG)Parameters
- name: the type of animal
Example
Spawn a sheep near the player.
mobs.spawn(mobs.animal(SHEEP), pos(1, 0, 0));An animal mob in the game.
mobs.animal(PIG)Spawn a sheep near the player.
mobs.spawn(mobs.animal(SHEEP), pos(1, 0, 0));