Minecraft · handler “Minecraft: Java Edition”
Version 10
Release notes
dinput support for the controllable mod.
- Released
- Size
- 1.3 KB
- Downloads
- 8,783
- Check
- Verified
- SHA-256
- 9e12c5541b38762824e9401948468440759b0d1b5d58edca524dcc03e5b99d97
Files 1
| Path | Size |
|---|---|
| handler.js | 2.8 KB |
handler.js
Plain textHub.Handler.Version = 10; // Released at https://hub.splitscreen.me/ on Thu Apr 08 2021 20:33:52 GMT+0000 (UTC).
Hub.Handler.Id = "QC7TTYjjZzaQ6Y6Nw";
Hub.Maintainer.Name = "Talos91";
Hub.Maintainer.Id = "eeL7HAz8zJovChWw4";
Game.NeedsSteamEmulation = false;
Game.HandlerInterval = 100;
Game.SymlinkExe = false;
Game.SymlinkGame = false;
Game.ExecutableName = "MultiMC.exe";
Game.SteamID = "13";
Game.GUID = "Minecraft Java Edition - MultiMC";
Game.GameName = "Minecraft Java Edition - MultiMC";
Game.MaxPlayers = 16;
Game.MaxPlayersOneMonitor = 16;
Game.HideTaskbar = true;
Game.NotTopMost = true;
Game.Hook.ForceFocus = false;
Game.Hook.ForceFocusWindowName = "Minecraft";
Game.HasDynamicWindowTitle = true;
Game.FakeFocus = true;
Game.HookFocus = true;
Game.PreventGameFocus = true;
Game.RefreshWindowAfterStart = true;
Game.Hook.DInputEnabled = true;
Game.Hook.XInputEnabled = true;
Game.Hook.XInputReroute = false;
Game.Hook.CustomDllEnabled = false;
Game.Description =
"Java version only. If you use keyboards and mice after the instances open press the END key to lock the input for all instances to have their own cursor. Press the END key again to unlock the input. You can also use CTRL+Q to close Nucleus and all its instances. If you are going to use controllers you need to have Forge installed and the Controllable mod.";
Game.ForceProcessPick = true;
Game.PauseBetweenProcessGrab = 25;
Game.PauseBetweenStarts = 30;
Game.SupportsMultipleKeyboardsAndMice = true;
Game.HookSetCursorPos = true;
Game.HookGetCursorPos = true;
Game.HookGetKeyState = true;
Game.HookGetAsyncKeyState = true;
Game.HookGetKeyboardState = false;
Game.HookFilterRawInput = true;
Game.HookFilterMouseMessages = false;
Game.HookUseLegacyInput = false;
Game.HookDontUpdateLegacyInMouseMsg = false;
Game.HookMouseVisibility = false;
Game.SendNormalMouseInput = true;
Game.SendNormalKeyboardInput = true;
Game.SendScrollWheel = true;
Game.ForwardRawKeyboardInput = false;
Game.ForwardRawMouseInput = false;
Game.HookReRegisterRawInput = true;
Game.HookReRegisterRawInputMouse = true;
Game.HookReRegisterRawInputKeyboard = false;
Game.DrawFakeMouseCursor = true;
Game.LockInputAtStart = false;
Game.LockInputToggleKey = 0x23;
Game.Play = function() {
/*if (Context.PlayerID == 0) {
var username = System.Environment.UserName;
if (System.IO.File.Exists("C:\\Users\\" + username + "\\AppData\\Roaming\\.minecraft\\options.txt")) {
var txtPath = "C:\\Users\\" + username + "\\AppData\\Roaming\\.minecraft\\options.txt";
var dict = [
Context.FindLineNumberInTextFile(txtPath, "fullscreen:", Nucleus.SearchType.StartsWith) + "|fullscreen:false"
];
Context.ReplaceLinesInTextFile(txtPath, dict);
}
}*/
if (Context.HasKeyboardPlayer !== true) {
Game.SupportsMultipleKeyboardsAndMice = false;
}
};