mirror of
https://github.com/DanielLMcGuire/LCE-SDK.git
synced 2026-05-21 17:24:30 +00:00
888 B
888 B
Modding SDK for LCE
Work in progress, commits are (strongly) welcomed
Warning
Not stable (yet)
Might also be important to know that it doesnt work yet
Requirements
1. Source Patches:
Minecraft.Client contains them
2. Create a mod:
Create a main function:
#include "../Minecraft.Client/Minecraft.h"
void minecraft_mod(Minecraft* minecraft) {
...
}
Create a thread and include ANYTHING from ../Minecraft.Client/, and manipulate anything under the Minecraft class or it's members inside the new thread.
Post init stuff can be done before the thread, but you should read the code to understand it's limitations at this stage.
You will need to use the same compiler to compile the mod as you compiled the fork.
Still working on a cleaned up interface
Other modding resources/tools: https://github.com/NessieHax/mc-arc-util https://dlce.pages.dev/