Index
All Classes and Interfaces|All Packages
A
- add(WeightedElement<T>) - Method in class at.noahb.utils.generic.WeightedElements
-
Add an element to the list.
- add(T, double) - Method in class at.noahb.utils.generic.WeightedElements
-
Creates and adds a new WeightedElement to the internal list.
- at.noahb.utils.generic - package at.noahb.utils.generic
- at.noahb.utils.minecraft - package at.noahb.utils.minecraft
C
- clear() - Method in class at.noahb.utils.generic.WeightedElements
-
Clear the internal list.
G
- getChance(int) - Method in class at.noahb.utils.generic.WeightedElements
- getChance(Object) - Method in class at.noahb.utils.generic.WeightedElements
- getElement() - Method in class at.noahb.utils.generic.WeightedElement
- getElement(int) - Method in class at.noahb.utils.generic.WeightedElements
- getElements() - Method in class at.noahb.utils.generic.WeightedElements
- getMSPT(int) - Static method in class at.noahb.utils.minecraft.TickUtils
- getMSPTOfLast10Minutes() - Static method in class at.noahb.utils.minecraft.TickUtils
- getMSPTOfLast5Minutes() - Static method in class at.noahb.utils.minecraft.TickUtils
- getMSPTOfLastMinute() - Static method in class at.noahb.utils.minecraft.TickUtils
- getMSPTOfLastSecond() - Static method in class at.noahb.utils.minecraft.TickUtils
- getMSPTOfLastSeconds(int) - Static method in class at.noahb.utils.minecraft.TickUtils
- getObject(int) - Method in class at.noahb.utils.generic.WeightedElements
- getObjectList() - Method in class at.noahb.utils.generic.WeightedElements
- getRandom() - Method in class at.noahb.utils.generic.WeightedElements
- getRandom(List<WeightedElement<T>>) - Static method in class at.noahb.utils.generic.WeightedElements
-
A static method to get a random element from a list of weighted elements.
- getTotalWeight() - Method in class at.noahb.utils.generic.WeightedElements
- getTPS() - Static method in class at.noahb.utils.minecraft.TickUtils
- getWeight() - Method in class at.noahb.utils.generic.WeightedElement
I
- init(JavaPlugin) - Static method in class at.noahb.utils.minecraft.TickUtils
-
Initializes the Listener to begin tracking tick timings.
- isServerHealthy() - Static method in class at.noahb.utils.minecraft.TickUtils
-
Check if the server is able to keep up or if it is lagging.
O
- of(Object, double) - Static method in class at.noahb.utils.generic.WeightedElements
-
Create a new WeightedElements object.
R
- remove(WeightedElement) - Method in class at.noahb.utils.generic.WeightedElements
- remove(T, double) - Method in class at.noahb.utils.generic.WeightedElements
-
Creates a new WeightedElement and remove any element from the internal list that matches the newly created object.
S
- set(WeightedElement<T>...) - Method in class at.noahb.utils.generic.WeightedElements
T
- TickUtils - Class in at.noahb.utils.minecraft
- TickUtils() - Constructor for class at.noahb.utils.minecraft.TickUtils
W
- WeightedElement<T> - Class in at.noahb.utils.generic
- WeightedElement(T, double) - Constructor for class at.noahb.utils.generic.WeightedElement
- WeightedElements<T> - Class in at.noahb.utils.generic
- WeightedElements() - Constructor for class at.noahb.utils.generic.WeightedElements
All Classes and Interfaces|All Packages