@FunctionalInterface public static interface EntityTrackingEvents.StartTracking
Modifier and Type | Method and Description |
---|---|
void |
onStartTracking(net.minecraft.entity.Entity trackedEntity,
net.minecraft.server.network.ServerPlayerEntity player)
Called before an entity starts getting tracked by a player.
|
void onStartTracking(net.minecraft.entity.Entity trackedEntity, net.minecraft.server.network.ServerPlayerEntity player)
trackedEntity
- the entity that will be trackedplayer
- the player that will track the entity