Index
All Classes and Interfaces|All Packages
D
- dev.array21.bukkitreflectionlib - package dev.array21.bukkitreflectionlib
G
- getBukkitClass(String) - Static method in class dev.array21.bukkitreflectionlib.ReflectionUtil
-
Get a Class from the org.bukkit.craftbukkit.SERVER_VERSION.
- getConstructor(Class<?>, Class<?>...) - Static method in class dev.array21.bukkitreflectionlib.ReflectionUtil
-
Get the Constructor of a Class
- getEnum(Class<?>, String) - Static method in class dev.array21.bukkitreflectionlib.ReflectionUtil
-
Get an Enum from an Enum constant
- getEnum(Class<?>, String, String) - Static method in class dev.array21.bukkitreflectionlib.ReflectionUtil
-
Get an Enum constant by it's name and constant
- getField(Class<?>, String) - Static method in class dev.array21.bukkitreflectionlib.ReflectionUtil
-
Get a Field
- getMajorVersion() - Static method in class dev.array21.bukkitreflectionlib.ReflectionUtil
-
Get the current major Minecraft version.
- getMethod(Class<?>, String, Class<?>...) - Static method in class dev.array21.bukkitreflectionlib.ReflectionUtil
-
Get a Method
- getMinecraftClass(String) - Static method in class dev.array21.bukkitreflectionlib.ReflectionUtil
-
1.17 and newer only Get a Class from the net.minecraft package
- getNmsClass(String) - Static method in class dev.array21.bukkitreflectionlib.ReflectionUtil
-
Deprecated.
- getObject(Class<?>, Object, String) - Static method in class dev.array21.bukkitreflectionlib.ReflectionUtil
-
Get the value of a Field, where the Class in which the Field is defined is explicitly given.
- getObject(Object, Class<?>, String) - Static method in class dev.array21.bukkitreflectionlib.ReflectionUtil
-
Deprecated.
- getObject(Object, String) - Static method in class dev.array21.bukkitreflectionlib.ReflectionUtil
-
Get the value of a Field, where the Class in which the field is defined is derived from the provided Object
I
- invokeConstructor(Class<?>, Class<?>[], Object[]) - Static method in class dev.array21.bukkitreflectionlib.ReflectionUtil
-
Invoke a Class' Constructor, where the argument types are explicitly given (Helpful when working with primitives)
- invokeConstructor(Class<?>, Object...) - Static method in class dev.array21.bukkitreflectionlib.ReflectionUtil
-
Invoke a Class' constructor.
- invokeMethod(Class<?>, Object, String, Class<?>[], Object[]) - Static method in class dev.array21.bukkitreflectionlib.ReflectionUtil
-
Invoke a Method where the Class where the Method is defined is explicitly given, and the argument types are explicitly given
- invokeMethod(Class<?>, Object, String, Object...) - Static method in class dev.array21.bukkitreflectionlib.ReflectionUtil
-
Invoke a Method where the Class where to find the method is explicitly given (Helpful if the method is located in a superclass).
- invokeMethod(Object, String) - Static method in class dev.array21.bukkitreflectionlib.ReflectionUtil
-
Invoke a Method which takes no arguments.
- invokeMethod(Object, String, Class<?>[], Object[]) - Static method in class dev.array21.bukkitreflectionlib.ReflectionUtil
-
Invoke a Method where the argument types are explicitly given (Helpful when working with primitives).
- invokeMethod(Object, String, Object[]) - Static method in class dev.array21.bukkitreflectionlib.ReflectionUtil
-
Invoke a Method where the argument types are derived from the provided arguments.
- isUseNewSpigotPackaging() - Static method in class dev.array21.bukkitreflectionlib.ReflectionUtil
-
Check if the new way of packaging Spigot is used
For >=1.17 this will be true, for =<1.16 this will be false.
This dictates if you should usegetNmsClass(String)(<=1.16) orgetMinecraftClass(String)(>=1.17).
P
- printFieldsInClass(Class<?>) - Static method in class dev.array21.bukkitreflectionlib.ReflectionUtil
-
Print all Fields in a Class.
- printMethodsInClass(Class<?>) - Static method in class dev.array21.bukkitreflectionlib.ReflectionUtil
-
Print all Methods in a Class with their parameters.
R
- ReflectionUtil - Class in dev.array21.bukkitreflectionlib
- ReflectionUtil() - Constructor for class dev.array21.bukkitreflectionlib.ReflectionUtil
S
- SERVER_VERSION - Static variable in class dev.array21.bukkitreflectionlib.ReflectionUtil
All Classes and Interfaces|All Packages
getObject(Class, Object, String)instead