Перейти к содержимому
Mineforgian

Keyyyyyyyy

Enables keyboard repeat events on versions before 1.13

937 загрузок2 подписчиковLicenseRef-All-Rights-Reservedfabricforge

Обновлён 20 апреля 2025 г. · опубликован 18 августа 2024 г.

Keyyyyyyyy

keyyyyyyyy logo

Badge

GitHub Release

Modrinth Version

Enables keyboard repeat events on versions before 1.13

Supported Versions

Minecraft version & loader Tested Should work
1.12.2 (Forge & Fabric)
1.11.2 (Forge & Fabric)
1.10.2 (Forge & Fabric)
1.9.4 (Forge)
1.9.4 (Fabric)
1.8.9 (Forge & Fabric)
Other versions 1.8-1.12.2 (Forge & Fabric)
Versions before 1.8 (Forge)
Versions before 1.8 (Fabric)

Developing

This mod is a pretty messy one-jar project.

Ducks source set

This source set contains LaunchWrapper and Forge classes so that Fabric versions can compile. We don't need this the other way around because the Fabric part of this mod doesn't use any Fabric classes.

Packages

Within at.yedel.keyyyyyyyy are 3 packages: common, fabric, and forge. These are simply to organize the classes; there is no special logic for them.

Transformations

The mod is done through 3 transformations to Keyboard:

  • Transforming void enableRepeatEvents(boolean enable) so that enable is always true
  • Transforming boolean areRepeatEventsEnabled() so that the result is always true
  • Transforming boolean isRepeatEvent so that the result is always false

All three transformations are probably not needed (especially areRepeatEventsEnabled; not used in vanilla) but it is just better to do. Transformations are applied with raw ASM instead of Mixins, as supporting mixins is somewhat complicated in legacy forge. In Forge, ASM is used with a coremod / loading plugin, while in Fabric, ASM is used with Chocohead's Fabric-ASM which is bundled with the mod.

Run configs / multiversion

Run configs are set up for the following versions of Forge and Fabric:

  • 1.12.2
  • 1.11.2
  • 1.10.2
  • 1.9.4
  • 1.8.9

Other versions are supported, but versions below 1.8.9 don't work with loom, some forge/fabric versions don't exist and there are preprocessor graph issues.

For Forge you should use Java 8 and for Fabric you should use Java 17?/21.

As this mod has multiple projects, jars will be built for all versions. They appear almost identical, but they have key differences. The published jar will always be from 1.8.9-fabric, although any fabric jar should work.

Jar type Has mcmod.info Has fabric.mod.json Has Fabric-ASM properly bundled
forge
forge-dev
fabric
fabric-dev

Версии

ВерсияКаналИграЗагрузчикиДатаСкачать
2.0.0Релиз1.11.2, 1.12, 1.12.1, 1.12.2fabric, forge20 апреля 2025 г..jar (80 КБ)
1.1.1Релиз1.11.2, 1.12, 1.12.1, 1.12.2forge2 сентября 2024 г..jar (7 КБ)
1.1.0Релиз1.11.2, 1.12, 1.12.1, 1.12.2forge26 августа 2024 г..jar (7 КБ)
1.0.1Релиз1.8.9forge18 августа 2024 г..jar (6 КБ)
1.0.0Релиз1.8.9forge18 августа 2024 г..jar (6 КБ)

Ченджлог

2.0.0Релиз1.12, 1.12.1, 1.12.2 · 20 апреля 2025 г.

2.0.0

  • Added Legacy Fabric support
  • Transformed different classes for functionality
    • The mod now targets org.lwjgl.input.Keyboard and the methods enableRepeatEvents, areRepeatEventsEnabled and isRepeatEvent
      • All new targets will be annotated with the runtime annotation at.yedel.keyyyyyyyy.common.launch.KeyyyyyyyyTransformed
1.1.1Релиз1.12, 1.12.1, 1.12.2 · 2 сентября 2024 г.

1.1.1

  • Improved bytecode, fixing function keys (f2, f11 and such) not working at all
1.1.0Релиз1.12, 1.12.1, 1.12.2 · 26 августа 2024 г.

1.1.0

This version expands the mod to work from versions 1.8 to 1.12.2.

1.0.1Релиз1.8.9 · 18 августа 2024 г.

1.0.1

  • Add modrinth URL
1.0.0Релиз1.8.9 · 18 августа 2024 г.

Initial release

Полная история изменений — на Modrinth.

Комментарии

Загружаем…