|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.minecraft.entity.EntityTrackerEntry
public class EntityTrackerEntry
Field Summary | |
---|---|
int |
blocksDistanceThreshold
|
int |
lastHeadMotion
|
int |
lastPitch
|
int |
lastScaledXPosition
|
int |
lastScaledYPosition
|
int |
lastScaledZPosition
|
int |
lastYaw
|
double |
motionX
|
double |
motionY
|
double |
motionZ
|
Entity |
myEntity
|
boolean |
playerEntitiesUpdated
|
int |
ticks
|
Set |
trackedPlayers
|
int |
updateFrequency
check for sync when ticks % updateFrequency==0 |
Constructor Summary | |
---|---|
EntityTrackerEntry(Entity par1Entity,
int par2,
int par3,
boolean par4)
|
Method Summary | |
---|---|
boolean |
equals(Object par1Obj)
|
int |
hashCode()
|
void |
informAllAssociatedPlayersOfItemDestruction()
|
void |
removeFromWatchingList(EntityPlayerMP par1EntityPlayerMP)
|
void |
removePlayerFromTracker(EntityPlayerMP par1EntityPlayerMP)
|
void |
sendEventsToPlayers(List par1List)
|
void |
sendLocationToAllClients(List par1List)
also sends velocity, rotation, and riding info. |
void |
sendPacketToAllAssociatedPlayers(Packet par1Packet)
if this is a player, then it recieves the message also |
void |
sendPacketToAllTrackingPlayers(Packet par1Packet)
if this is a player, then it is not informed |
void |
tryStartWachingThis(EntityPlayerMP par1EntityPlayerMP)
if the player is more than the distance threshold (typically 64) then the player is removed instead |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public Entity myEntity
public int blocksDistanceThreshold
public int updateFrequency
public int lastScaledXPosition
public int lastScaledYPosition
public int lastScaledZPosition
public int lastYaw
public int lastPitch
public int lastHeadMotion
public double motionX
public double motionY
public double motionZ
public int ticks
public boolean playerEntitiesUpdated
public Set trackedPlayers
Constructor Detail |
---|
public EntityTrackerEntry(Entity par1Entity, int par2, int par3, boolean par4)
Method Detail |
---|
public boolean equals(Object par1Obj)
equals
in class Object
public int hashCode()
hashCode
in class Object
public void sendLocationToAllClients(List par1List)
public void sendPacketToAllTrackingPlayers(Packet par1Packet)
public void sendPacketToAllAssociatedPlayers(Packet par1Packet)
public void informAllAssociatedPlayersOfItemDestruction()
public void removeFromWatchingList(EntityPlayerMP par1EntityPlayerMP)
public void tryStartWachingThis(EntityPlayerMP par1EntityPlayerMP)
public void sendEventsToPlayers(List par1List)
public void removePlayerFromTracker(EntityPlayerMP par1EntityPlayerMP)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |