▶️ ЗАБЕРИ СВОИ 8 ПОДАРКОВ 🎁 ПРИ СОЗДАНИИ СВОЕГО МАЙНКРАФТ СЕРВЕРА
Моды/KrepAPI (Mod)
KrepAPI (Mod)

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

KrepAPI 1.0.0

Alpha2 нед. назад

Список изменений

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).
  • :protocol module: channel IDs, protocol version, capability bits, kick reasons, and ProtocolMessages encode/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, sample config.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.4 through <=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.Category via Identifier).
  • Networking / Minecraft 1.21.11: updates for current Yarn (e.g. RegistryByteBuf, PacketCodec.ofStatic, readString/writeString, CustomPayload.Id for 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.propertiesmod_version): 1.0.0
  • Wire protocol version (KrepapiProtocolVersion.CURRENT, protocolVersion in s2c_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 нед. назад

Загрузил

ID версии

Главная