public class Teleporter extends Object
Constructor and Description |
---|
Teleporter(WorldServer par1WorldServer) |
Modifier and Type | Method and Description |
---|---|
boolean |
makePortal(Entity par1Entity) |
boolean |
placeInExistingPortal(Entity par1Entity,
double par2,
double par4,
double par6,
float par8)
Place an entity in a nearby portal which already exists.
|
void |
placeInPortal(Entity par1Entity,
double par2,
double par4,
double par6,
float par8)
Place an entity in a nearby portal, creating one if necessary.
|
void |
removeStalePortalLocations(long par1)
called periodically to remove out-of-date portal locations from the cache list.
|
public Teleporter(WorldServer par1WorldServer)
public void placeInPortal(Entity par1Entity, double par2, double par4, double par6, float par8)
public boolean placeInExistingPortal(Entity par1Entity, double par2, double par4, double par6, float par8)
public boolean makePortal(Entity par1Entity)
public void removeStalePortalLocations(long par1)