public RemotePigEntity(World world, RemoteEntity inRemoteEntity)
{
super(world);
this.m_remoteEntity = inRemoteEntity;
new PathfinderGoalSelectorHelper(this.goalSelector).clearGoals();
new PathfinderGoalSelectorHelper(this.targetSelector).clearGoals();
try
{
Field temptField = ReflectionUtil.getOrRegisterField(EntityPig.class, "bp");
temptField.set(this, new DesireFollowCarrotStickTemp(this.getRemoteEntity()));
}