Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## net.minecraft.src
Class EntityTrackerEntry

    java.lang.Object
      net.minecraft.src.EntityTrackerEntry

    public class EntityTrackerEntry

extends Object

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

### myEntity

    public Entity myEntity

### BlocksDistanceThreshold

    public int BlocksDistanceThreshold

### updateFrequency

    public int updateFrequency

  check for sync when ticks % updateFrequency==0

### lastScaledXPosition

    public int lastScaledXPosition

### lastScaledYPosition

    public int lastScaledYPosition

### lastScaledZPosition

    public int lastScaledZPosition

### lastYaw

    public int lastYaw

### lastPitch

    public int lastPitch

### lastHeadMotion

    public int lastHeadMotion

### motionX

    public double motionX

### motionY

    public double motionY

### motionZ

    public double motionZ

### ticks

    public int ticks

### playerEntitiesUpdated

    public boolean playerEntitiesUpdated

### trackedPlayers

    public Set trackedPlayers

Constructor Detail

### EntityTrackerEntry

    public EntityTrackerEntry(Entity par1Entity,
                              int par2,
                              int par3,
                              boolean par4)

Method Detail

### equals

    public boolean equals(Object par1Obj)

  Overrides:
    `equals` in class `Object`

### hashCode

    public int hashCode()

  Overrides:
    `hashCode` in class `Object`

### sendLocationToAllClients

    public void sendLocationToAllClients(List par1List)

  also sends velocity, rotation, and riding info.

### sendPacketToAllTrackingPlayers

    public void sendPacketToAllTrackingPlayers(Packet par1Packet)

  if this is a player, then it is not informed

### sendPacketToAllAssociatedPlayers

    public void sendPacketToAllAssociatedPlayers(Packet par1Packet)

  if this is a player, then it recieves the message also

### informAllAssociatedPlayersOfItemDestruction

    public void informAllAssociatedPlayersOfItemDestruction()

### removeFromWatchingList

    public void removeFromWatchingList(EntityPlayerMP par1EntityPlayerMP)

### tryStartWachingThis

    public void tryStartWachingThis(EntityPlayerMP par1EntityPlayerMP)

  if the player is more than the distance threshold (typically 64) then the player is removed instead

### sendEventsToPlayers

    public void sendEventsToPlayers(List par1List)

### removePlayerFromTracker

    public void removePlayerFromTracker(EntityPlayerMP par1EntityPlayerMP)

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD