Class SelectorSortAlgorithms
java.lang.Object
org.spongepowered.api.command.selector.SelectorSortAlgorithms
Sort algorithms for selectors
-
Field Summary
Modifier and TypeFieldDescriptionstatic final DefaultedRegistryReference
<SelectorSortAlgorithm> An undefined sorting algorithmstatic final DefaultedRegistryReference
<SelectorSortAlgorithm> Selects theentities
furthest away from the target location first.static final DefaultedRegistryReference
<SelectorSortAlgorithm> Selects theentities
nearest to the target location first.static final DefaultedRegistryReference
<SelectorSortAlgorithm> Returnsentities
in a random order -
Method Summary