Base functions and first module #1

Merged
c0de merged 18 commits from initial-functions into main 2023-03-22 23:20:13 +00:00
2 changed files with 3 additions and 3 deletions
Showing only changes of commit c411b3712c - Show all commits

View File

@ -18,7 +18,7 @@ public class c0deFoxModClient implements ClientModInitializer {
private static c0deFoxModClient self;
Module fullbright;
private static Fullbright fullbright;
@Override
public void onInitializeClient() {
@ -37,7 +37,7 @@ public class c0deFoxModClient implements ClientModInitializer {
// Called on every game tick
public void tick(MinecraftClient client) {
this.fullbright.onTick(client);
fullbright.onTick(client);
}
}

View File

@ -11,7 +11,7 @@ import org.lwjgl.glfw.GLFW;
public class Fullbright extends Module {
double DEFAULT = 1.0;
public void FullBright() {
public Fullbright() {
this.registerKey("key.c0defox.fullbright", GLFW.GLFW_KEY_B, "key.categories.c0defox");
}