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 entityIn) |
boolean |
placeInExistingPortal(Entity entityIn,
float rotationYaw) |
void |
placeInPortal(Entity entityIn,
float rotationYaw) |
void |
removeStalePortalLocations(long worldTime) |
public Teleporter(WorldServer worldIn)
public void placeInPortal(Entity entityIn, float rotationYaw)
public boolean placeInExistingPortal(Entity entityIn, float rotationYaw)
public boolean makePortal(Entity entityIn)
public void removeStalePortalLocations(long worldTime)