net.minecraft.src
Class EntityTracker

java.lang.Object
  extended by net.minecraft.src.EntityTracker

public class EntityTracker
extends Object


Constructor Summary
EntityTracker(WorldServer par1WorldServer)
           
 
Method Summary
 void addEntityToTracker(Entity par1Entity)
          if entity is a player sends all tracked events to the player, otherwise, adds with a visibility and update arate based on the class type
 void addEntityToTracker(Entity par1Entity, int par2, int par3)
           
 void addEntityToTracker(Entity par1Entity, int par2, int par3, boolean par4)
           
 void processOutstandingEntries()
           
 void removeAllTrackingPlayers(EntityPlayerMP par1EntityPlayerMP)
           
 void removeEntityFromAllTrackingPlayers(Entity par1Entity)
           
 void sendPacketToAllAssociatedPlayers(Entity par1Entity, Packet par2Packet)
          sends to the entity if the entity is a player
 void sendPacketToAllPlayersTrackingEntity(Entity par1Entity, Packet par2Packet)
          does not send the packet to the entity if the entity is a player
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EntityTracker

public EntityTracker(WorldServer par1WorldServer)
Method Detail

addEntityToTracker

public void addEntityToTracker(Entity par1Entity)
if entity is a player sends all tracked events to the player, otherwise, adds with a visibility and update arate based on the class type


addEntityToTracker

public void addEntityToTracker(Entity par1Entity,
                               int par2,
                               int par3)

addEntityToTracker

public void addEntityToTracker(Entity par1Entity,
                               int par2,
                               int par3,
                               boolean par4)

removeEntityFromAllTrackingPlayers

public void removeEntityFromAllTrackingPlayers(Entity par1Entity)

processOutstandingEntries

public void processOutstandingEntries()

sendPacketToAllPlayersTrackingEntity

public void sendPacketToAllPlayersTrackingEntity(Entity par1Entity,
                                                 Packet par2Packet)
does not send the packet to the entity if the entity is a player


sendPacketToAllAssociatedPlayers

public void sendPacketToAllAssociatedPlayers(Entity par1Entity,
                                             Packet par2Packet)
sends to the entity if the entity is a player


removeAllTrackingPlayers

public void removeAllTrackingPlayers(EntityPlayerMP par1EntityPlayerMP)