Base functions and first module #1
@ -18,7 +18,7 @@ public class c0deFoxModClient implements ClientModInitializer {
|
|||||||
|
|
||||||
private static c0deFoxModClient self;
|
private static c0deFoxModClient self;
|
||||||
|
|
||||||
Module fullbright;
|
private static Fullbright fullbright;
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void onInitializeClient() {
|
public void onInitializeClient() {
|
||||||
@ -37,7 +37,7 @@ public class c0deFoxModClient implements ClientModInitializer {
|
|||||||
|
|
||||||
// Called on every game tick
|
// Called on every game tick
|
||||||
public void tick(MinecraftClient client) {
|
public void tick(MinecraftClient client) {
|
||||||
this.fullbright.onTick(client);
|
fullbright.onTick(client);
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -11,7 +11,7 @@ import org.lwjgl.glfw.GLFW;
|
|||||||
public class Fullbright extends Module {
|
public class Fullbright extends Module {
|
||||||
double DEFAULT = 1.0;
|
double DEFAULT = 1.0;
|
||||||
|
|
||||||
public void FullBright() {
|
public Fullbright() {
|
||||||
this.registerKey("key.c0defox.fullbright", GLFW.GLFW_KEY_B, "key.categories.c0defox");
|
this.registerKey("key.c0defox.fullbright", GLFW.GLFW_KEY_B, "key.categories.c0defox");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user