Package net.minecraft.src
Class EntityTracker
java.lang.Object
net.minecraft.src.EntityTracker
-
Field Summary
FieldsModifier and TypeFieldDescriptionList of tracked entities, used for iteration operations on tracked entities. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddEntityToTracker(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 typevoidaddEntityToTracker(Entity par1Entity, int par2, int par3) voidaddEntityToTracker(Entity par1Entity, int par2, int par3, boolean par4) voidfunc_85172_a(EntityPlayerMP par1EntityPlayerMP, Chunk par2Chunk) voidremoveEntityFromAllTrackingPlayers(Entity par1Entity) voidremovePlayerFromTrackers(EntityPlayerMP par1EntityPlayerMP) voidsendPacketToAllAssociatedPlayers(Entity par1Entity, Packet par2Packet) sends to the entity if the entity is a playervoidsendPacketToAllPlayersTrackingEntity(Entity par1Entity, Packet par2Packet) does not send the packet to the entity if the entity is a playervoid
-
Field Details
-
trackedEntities
List of tracked entities, used for iteration operations on tracked entities.
-
-
Constructor Details
-
EntityTracker
-
-
Method Details
-
addEntityToTracker
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
-
addEntityToTracker
-
removeEntityFromAllTrackingPlayers
-
updateTrackedEntities
public void updateTrackedEntities() -
sendPacketToAllPlayersTrackingEntity
does not send the packet to the entity if the entity is a player -
sendPacketToAllAssociatedPlayers
sends to the entity if the entity is a player -
removePlayerFromTrackers
-
func_85172_a
-