
KrepAPI (Mod)
Fabric client bridge for servers: custom key bindings synced from the host, optional raw-key hooks for addons, and a handshake so Paper/Fabric servers can require this mod. Install only on servers that use KrepAPI. Needs Fabric API.
59
0
Список изменений
KrepAPI 1.0.0
Added
- Initial release of KrepAPI: shared wire protocol plus a Fabric client mod and a reference Paper plugin for server-driven key bindings, raw key events (with optional vanilla blocking), and an optional handshake (e.g. requiring the mod on dedicated servers).
:protocolmodule: channel IDs, protocol version, capability bits, kick reasons, andProtocolMessagesencode/decode without a Minecraft dependency.- Fabric mod: custom payloads (
s2c_hello,c2s_client_info,s2c_bindings,c2s_key_action), Fabric Networking registration, client API (KrepApi/ listeners), mixin integration for keyboard input. - Reference
:paper-plugin: plugin messages, handshake flow, sampleconfig.yml. - Docs in-repo/wiki: protocol, client API, Paper plugin (including security notes for
c2s_key_action).
Compatibility
- Minecraft (Fabric): declared support for
>=1.21.4through<=1.21.11; Loom build targets 1.21.11 (Yarn) with Java 21 bytecode for typical runtimes. - Key bindings: runtime compatibility between the older API (category as
String) and 1.21.11+ (KeyBinding.CategoryviaIdentifier). - Networking / Minecraft 1.21.11: updates for current Yarn (e.g.
RegistryByteBuf,PacketCodec.ofStatic,readString/writeString,CustomPayload.Idfor registration,MinecraftServer.isDedicated()).
Notes
- Install a Fabric API build that matches the Minecraft version.
KrepAPI (for developers)
- Build version (Fabric mod release /
c2s_client_info.modVersion,gradle.properties→mod_version): 1.0.0 - Wire protocol version (
KrepapiProtocolVersion.CURRENT,protocolVersionins2c_hello/c2s_client_info): 1 — increment only when the binary packet layout or semantics change
Файлы
KrepAPI-1.0.0.jar(33.88 KiB)
ОсновнойМетаданные
Канал релиза
Alpha
Номер версии
1.0.0
Загрузчики
Fabric
Версии игры
1.21.4–1.21.11
Загрузок
1
Дата публикации
2 нед. назад
