Class TargetSorter

java.lang.Object
com.pixelmonmod.pixelmon.ai.TargetSorter
All Implemented Interfaces:
Comparator<net.minecraft.world.entity.Entity>

public class TargetSorter extends Object implements Comparator<net.minecraft.world.entity.Entity>
  • Constructor Details

    • TargetSorter

      public TargetSorter(TargetNearestGoal targetNearest, net.minecraft.world.entity.Entity entity)
  • Method Details

    • compare

      public int compare(net.minecraft.world.entity.Entity firstEntity, net.minecraft.world.entity.Entity secondEntity)
      Specified by:
      compare in interface Comparator<net.minecraft.world.entity.Entity>