Package net.minecraft.src
Class Teleporter
java.lang.Object
net.minecraft.src.Teleporter
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanmakePortal(Entity par1Entity) booleanplaceInExistingPortal(Entity par1Entity, double par2, double par4, double par6, float par8) Place an entity in a nearby portal which already exists.voidplaceInPortal(Entity par1Entity, double par2, double par4, double par6, float par8) Place an entity in a nearby portal, creating one if necessary.voidremoveStalePortalLocations(long par1) called periodically to remove out-of-date portal locations from the cache list.
-
Constructor Details
-
Teleporter
-
-
Method Details
-
placeInPortal
Place an entity in a nearby portal, creating one if necessary. -
placeInExistingPortal
public boolean placeInExistingPortal(Entity par1Entity, double par2, double par4, double par6, float par8) Place an entity in a nearby portal which already exists. -
makePortal
-
removeStalePortalLocations
public void removeStalePortalLocations(long par1) called periodically to remove out-of-date portal locations from the cache list. Argument par1 is a WorldServer.getTotalWorldTime() value.
-