YATS/Forge Documentation
 All Classes Namespaces Files Functions Variables Enumerator Pages
net.minecraft.world.Teleporter Class Reference

Public Member Functions

 Teleporter (WorldServer par1WorldServer)
 
void placeInPortal (Entity par1Entity, double par2, double par4, double par6, float par8)
 
boolean placeInExistingPortal (Entity par1Entity, double par2, double par4, double par6, float par8)
 
boolean makePortal (Entity par1Entity)
 
void removeStalePortalLocations (long par1)
 

Constructor & Destructor Documentation

net.minecraft.world.Teleporter.Teleporter ( WorldServer  par1WorldServer)

Member Function Documentation

boolean net.minecraft.world.Teleporter.makePortal ( Entity  par1Entity)
boolean net.minecraft.world.Teleporter.placeInExistingPortal ( Entity  par1Entity,
double  par2,
double  par4,
double  par6,
float  par8 
)

Place an entity in a nearby portal which already exists.

void net.minecraft.world.Teleporter.placeInPortal ( Entity  par1Entity,
double  par2,
double  par4,
double  par6,
float  par8 
)

Place an entity in a nearby portal, creating one if necessary.

void net.minecraft.world.Teleporter.removeStalePortalLocations ( long  par1)

called periodically to remove out-of-date portal locations from the cache list. Argument par1 is a WorldServer.getTotalWorldTime() value.


The documentation for this class was generated from the following file: