Initial commit

This commit is contained in:
2025-11-24 23:10:25 +01:00
commit 6f06da5f31
41 changed files with 3443 additions and 0 deletions
@@ -0,0 +1,28 @@
package net.fretux.skillengine.client;
import net.fretux.skillengine.SkillEngine;
import net.minecraft.client.KeyMapping;
import net.minecraftforge.api.distmarker.Dist;
import net.minecraftforge.client.event.RegisterKeyMappingsEvent;
import net.minecraftforge.eventbus.api.SubscribeEvent;
import net.minecraftforge.fml.common.Mod;
import org.lwjgl.glfw.GLFW;
@Mod.EventBusSubscriber(
modid = SkillEngine.MODID,
bus = Mod.EventBusSubscriber.Bus.MOD,
value = Dist.CLIENT
)
public class ClientKeybinds {
public static KeyMapping OPEN_SKILLTREE;
@SubscribeEvent
public static void registerKeys(RegisterKeyMappingsEvent event) {
OPEN_SKILLTREE = new KeyMapping(
"key.skillengine.openskilltree",
GLFW.GLFW_KEY_N,
"key.categories.ui"
);
event.register(OPEN_SKILLTREE);
}
}