Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## net.minecraft.server.management
Class PlayerPositionComparator

    java.lang.Object
      net.minecraft.server.management.PlayerPositionComparator

All Implemented Interfaces:
  Comparator

    public class PlayerPositionComparator

extends Object
implements Comparator

Constructor Summary
`PlayerPositionComparator(ChunkCoordinates par1ChunkCoordinates)`

Method Summary
`int` | `compare(Object par1Obj, Object par2Obj)`
`int` | `comparePlayers(EntityPlayerMP par1EntityPlayerMP, EntityPlayerMP par2EntityPlayerMP)` Compare the position of two players.

Methods inherited from class java.lang.Object
`equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Methods inherited from interface java.util.Comparator
`equals`

Constructor Detail

### PlayerPositionComparator

    public PlayerPositionComparator(ChunkCoordinates par1ChunkCoordinates)

Method Detail

### comparePlayers

    public int comparePlayers(EntityPlayerMP par1EntityPlayerMP,
                              EntityPlayerMP par2EntityPlayerMP)

  Compare the position of two players.

### compare

    public int compare(Object par1Obj,
                       Object par2Obj)

  Specified by:
    `compare` in interface `Comparator`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD