MCPcopy Create free account
hub / github.com/5zig/The-5zig-Mod / isButtonDown

Method isButtonDown

Minecraft-Utils/1.13/src/Variables.java:80–83  ·  view source on GitHub ↗
(int button)

Source from the content-addressed store, hash-verified

78 });
79 Mouse.init(new Mouse.MouseHandler() {
80 @Override
81 public boolean isButtonDown(int button) {
82 return GLFW.glfwGetMouseButton(getMinecraft().f.j(), button) == 1;
83 }
84
85 @Override
86 public int getX() {

Callers

nothing calls this directly

Calls 1

getMinecraftMethod · 0.95

Tested by

no test coverage detected