net.minecraft.entity
Class EntityTracker
java.lang.Object
net.minecraft.entity.EntityTracker
public class EntityTracker
- extends Object
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 |
func_85172_a(EntityPlayerMP par1EntityPlayerMP,
Chunk par2Chunk)
|
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 |
void |
updateTrackedEntities()
|
EntityTracker
public EntityTracker(WorldServer par1WorldServer)
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)
updateTrackedEntities
public void updateTrackedEntities()
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)
func_85172_a
public void func_85172_a(EntityPlayerMP par1EntityPlayerMP,
Chunk par2Chunk)