Package net.minecraft.src
Class EntitySorter
java.lang.Object
net.minecraft.src.EntitySorter
- All Implemented Interfaces:
Comparator
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintintsortByDistanceToEntity(WorldRenderer par1WorldRenderer, WorldRenderer par2WorldRenderer) Sorts the two world renderers according to their distance to a given entity.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.util.Comparator
equals, reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
-
Constructor Details
-
EntitySorter
-
-
Method Details
-
sortByDistanceToEntity
Sorts the two world renderers according to their distance to a given entity. -
compare
- Specified by:
comparein interfaceComparator
-