Minecraft Interface - Interact with minecraft through rust
basically i got bored of having to do shit with clients and then manually writing classes to interact with jvm in c++, so with this project i decided to just have it automatically generate all the required mappings to every minecraft class
i don't recommend using right now.
before running poly mc or what ever launcher, make sure to set the DYLD_INSERT_LIBRARIES
env, example below:
DYLD_INSERT_LIBRARIES=/Users/****/dev/mci/target/debug/libmci.dylib ./polymc
-
jclass / jobject
- get fields
- set fields
- get static fields
- set static fields
- call methods
- call static methods
-
general QOL
- jclass not operable with jobject (prevents you from shooting yourself)
- easier setting & getting via traits/macros (?)
-
types
- jclass
- jobject
- jvalue
- env (i)
- jarray (ii)
- jstring (ii)
- others...
- pretty much bare essentials like find class have wrapped values
- working on, should be done soon
- map types
- tiny
- yarn
- generated output
- classes / modules
- get fields
- get static fields
- call methods
- call static methods
- set fields
- set static fields
- compilable
- auto static detection (i)
i. i'll eventually work on a tool to get static fields and method names from a jar file.
im not even working on it until mappings work lol
FabricMC/intermediary
: mappings from minecraft obfuscated to yarnFabricMC/yarn
: mappings which include names and descriptions etc.
this project / library is licensed under GNU General Public License v2.0