Skip to content

Commit

Permalink
Add KeyRegistry class fixing #115
Browse files Browse the repository at this point in the history
  • Loading branch information
Dragon-Seeker committed Sep 30, 2024
1 parent cdd6854 commit 255eb3b
Showing 1 changed file with 28 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
/*
* Copyright (c) 2018-2024 C4
*
* This file is part of Curios, a mod made for Minecraft.
*
* Curios is free software: you can redistribute it and/or modify it
* under the terms of the GNU Lesser General Public License as published
* by the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* Curios is distributed in the hope that it will be useful, but
* WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR PARTICULAR PURPOSE. See the
* GNU Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with Curios. If not, see <https://www.gnu.org/licenses/>.
*
*/

package top.theillusivec4.curios.client;

import net.minecraft.client.KeyMapping;
import org.lwjgl.glfw.GLFW;

public class KeyRegistry {
public static KeyMapping openCurios = new KeyMapping("key.curios.open.desc", GLFW.GLFW_KEY_G, "key.curios.category");
}

0 comments on commit 255eb3b

Please sign in to comment.