mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-27 15:33:18 +00:00
[1.13.x] Fire InputEvents (#5533)
This commit is contained in:
1 parent
8515b9dd10
commit
bbc92fa51c
7 files changed
+148
-54
No files matched your search
@@ -18,14 +18,6 @@
|
||||
Display.setVSyncEnabled(this.field_71474_y.field_74352_v);
|
||||
this.func_175601_h();
|
||||
}
|
||||
@@ -1982,6 +2013,7 @@
|
||||
}
|
||||
}
|
||||
}
|
||||
+ net.minecraftforge.fml.common.FMLCommonHandler.instance().fireKeyInput();
|
||||
}
|
||||
|
||||
this.func_184117_aA();
|
||||
@@ -2239,6 +2271,8 @@
|
||||
{
|
||||
while (Mouse.next())
|
||||
@@ -35,14 +27,6 @@
|
||||
int i = Mouse.getEventButton();
|
||||
KeyBinding.func_74510_a(i - 100, Mouse.getEventButtonState());
|
||||
|
||||
@@ -2294,6 +2328,7 @@
|
||||
this.field_71462_r.func_146274_d();
|
||||
}
|
||||
}
|
||||
+ net.minecraftforge.fml.common.FMLCommonHandler.instance().fireMouseInput();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -2304,6 +2339,7 @@
|
||||
|
||||
public void func_71371_a(String p_71371_1_, String p_71371_2_, @Nullable WorldSettings p_71371_3_)
|
||||
|
||||
Reference in new issue
Block a user