public class Teleporter
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
class |
Teleporter.PortalPosition |
Constructor and Description |
---|
Teleporter(WorldServer worldIn) |
Modifier and Type | Method and Description |
---|---|
boolean |
makePortal(Entity p_85188_1_) |
boolean |
placeInExistingPortal(Entity entityIn,
float rotationYaw) |
void |
placeInPortal(Entity entityIn,
float rotationYaw) |
void |
removeStalePortalLocations(long worldTime)
called periodically to remove out-of-date portal locations from the cache list.
|
public Teleporter(WorldServer worldIn)
public void placeInPortal(Entity entityIn, float rotationYaw)
public boolean placeInExistingPortal(Entity entityIn, float rotationYaw)
public boolean makePortal(Entity p_85188_1_)
public void removeStalePortalLocations(long worldTime)