YATS/Forge Documentation
 All Classes Namespaces Files Functions Variables Enumerator Pages
net.minecraft.entity.EntityTracker Class Reference

Public Member Functions

 EntityTracker (WorldServer par1WorldServer)
 
void addEntityToTracker (Entity par1Entity)
 
void addEntityToTracker (Entity par1Entity, int par2, int par3)
 
void addEntityToTracker (Entity par1Entity, int par2, int par3, boolean par4)
 
void removeEntityFromAllTrackingPlayers (Entity par1Entity)
 
void updateTrackedEntities ()
 
void sendPacketToAllPlayersTrackingEntity (Entity par1Entity, Packet par2Packet)
 
void sendPacketToAllAssociatedPlayers (Entity par1Entity, Packet par2Packet)
 
void removePlayerFromTrackers (EntityPlayerMP par1EntityPlayerMP)
 
void func_85172_a (EntityPlayerMP par1EntityPlayerMP, Chunk par2Chunk)
 

Constructor & Destructor Documentation

net.minecraft.entity.EntityTracker.EntityTracker ( WorldServer  par1WorldServer)

Member Function Documentation

void net.minecraft.entity.EntityTracker.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 net.minecraft.entity.EntityTracker.addEntityToTracker ( Entity  par1Entity,
int  par2,
int  par3 
)
void net.minecraft.entity.EntityTracker.addEntityToTracker ( Entity  par1Entity,
int  par2,
int  par3,
boolean  par4 
)
void net.minecraft.entity.EntityTracker.func_85172_a ( EntityPlayerMP  par1EntityPlayerMP,
Chunk  par2Chunk 
)
void net.minecraft.entity.EntityTracker.removeEntityFromAllTrackingPlayers ( Entity  par1Entity)
void net.minecraft.entity.EntityTracker.removePlayerFromTrackers ( EntityPlayerMP  par1EntityPlayerMP)
void net.minecraft.entity.EntityTracker.sendPacketToAllAssociatedPlayers ( Entity  par1Entity,
Packet  par2Packet 
)

sends to the entity if the entity is a player

void net.minecraft.entity.EntityTracker.sendPacketToAllPlayersTrackingEntity ( Entity  par1Entity,
Packet  par2Packet 
)

does not send the packet to the entity if the entity is a player

void net.minecraft.entity.EntityTracker.updateTrackedEntities ( )

The documentation for this class was generated from the following file: