Mineuniverse
Log in Register
Mods

SheepKeyLib

Provided key API on both server and client.
by saltfishsheep
Download Claim this project
8,218 downloads
0 likes
Updated Jul 6, 2026
0 hypes
API and Library

It implements key record, and support both key and mouse(mouse record can be closed in the config),

also it is used in my other mods.

Features:

This mod hook the InputEvent of client, record it on client and update to the server.

Using it, developers can visit the operations from client.

One of the user is SheepScriptLib, my another mod. Using it to post greater key event to the script.

Only works when there's no gui showing, will not work on chatting, backpack.

API:

saltsheep.keylib.key.PlayerKeyHandler

    Storing the player's key data in server.

saltsheep.keylib.key.PlayerKeyClientHandler

    Storing the player's key data in client.

saltsheep.keylib.key.PlayerKeyDownEvent, saltsheep.keylib.key.PlayerKeyUpEvent

    The event posted in server(forge bus).

[1.12.2]SheepKeyLib_modV1.3
MC Client, Forge, Server, 1.12.2
Release 2024-10-21 Get

More from saltfishsheep

GeoLoader
91
RayCorrector
71
SheepScriptLib
20,211

You Might Also Like

Vivecraft
A Minecraft VR mod on a loader of your choice!
9,988,339
Athena
A crossplatform (Forge/Fabric) solution to connected block textures for 1.19.4+
99,799,527
Lodestone
A collection of code used throughout projects under the Lodestar team.
9,914,417
TheDragonLib
A library for most of sokratis12GR's Mods
9,910,232
Multi Mob Library
A library mod containing essential files for Daveyx0's mob mods
9,892,767
FTB Library (Forge) (Legacy)
FTB Library is a library mod that is used for some of our mods.
98,265,314