21 lines
689 B
C
21 lines
689 B
C
#pragma once
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
typedef void (*misc_update_function_t)(unsigned char *obj);
|
|
void misc_run_on_update(misc_update_function_t function); // obj == Minecraft *
|
|
void misc_run_on_tick(misc_update_function_t function); // obj == Minecraft *
|
|
void misc_run_on_recipes_setup(misc_update_function_t function); // obj == Recipes *
|
|
void misc_run_on_furnace_recipes_setup(misc_update_function_t function); // obj == FurnaceRecipes *
|
|
|
|
void Level_saveLevelData_injection(unsigned char *level);
|
|
|
|
// Use this instead of directly calling Gui::addMessage(), it has proper logging!
|
|
void misc_add_message(unsigned char *gui, const char *text);
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|