public class TARDISFarmer
extends java.lang.Object
Constructor and Description |
---|
TARDISFarmer(TARDIS plugin) |
Modifier and Type | Method and Description |
---|---|
TARDISPetsAndFollowers |
exitPets(org.bukkit.entity.Player player) |
TARDISPetsAndFollowers |
farmAnimals(org.bukkit.Location l,
COMPASS d,
int id,
org.bukkit.entity.Player p,
java.lang.String to,
java.lang.String from)
Checks whether there are any animals around the TARDIS Police Box.
|
public TARDISFarmer(TARDIS plugin)
public TARDISPetsAndFollowers farmAnimals(org.bukkit.Location l, COMPASS d, int id, org.bukkit.entity.Player p, java.lang.String to, java.lang.String from)
Also allows players to teleport their pets (tamed wolves and Cats) with them.
l
- The location to check for animals. This will be the current location of the TARDIS Police Box.d
- the direction the Police Box is facingid
- The database key of the TARDIS.p
- the player to award achievements or give spawn eggs toto
- the world tofrom
- the world frompublic TARDISPetsAndFollowers exitPets(org.bukkit.entity.Player player)