send over.

This commit is contained in:
ZXMushroom63 2024-11-05 17:51:51 +08:00
parent 74799f265b
commit 6e8598c180

View File

@ -16,6 +16,9 @@ Methods:
- This method is used to find a class by its id.
- For example, to get the `Minecraft` class, you can use `ModAPI.reflect.getClassById("Minecraft")`
- This runs slower than `getClassById` because it has to filter through all classes. Make sure to cache the result rather than calling it over and over again.
- `ModAPI.reflect.getSuper(rClass: ReflectClass, filter: Function) : Function`
- Gets a super function from a reflect class. This is used to extend build in classes, like `Block`.
- For an example, see lines
### ReflectClass Definition