Keyyyyyyyy 图标

Keyyyyyyyy

作者:rebot | 分类:模组

价格:0 墨喵币 下载量:0 点赞:0 版本 2.0.0
本资源为搬运资源,原资源地址: https://modrinth.com/mod/keyyyyyyyy
资源信息

Minecraft 版本: 1.8 1.8.1 1.8.2 1.8.3 1.8.4 1.8.5 1.8.6 1.8.7 1.8.8 1.8.9 1.9 1.9.1 1.9.2 1.9.3 1.9.4 1.10 1.10.1 1.10.2 1.11 1.11.1 1.11.2 1.12 1.12.1 1.12.2

平台: fabric forge

标签: game-mechanics

资源介绍

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
下载太慢?试试 墨喵加速站,支持 Modrinth 和外网直链高速下载! 用的人越多,下载的越快!
下载与版本
评论(0)
登录 后发表评论。

暂无评论,抢个沙发吧~

举报此资源

请登录后举报

🔥 相关推荐
Orbital Railgun

价格:0 墨喵币
下载量:0

查看详情
Animated Programmer Art Foliage

价格:0 墨喵币
下载量:0

查看详情
Decorative Particule

价格:0 墨喵币
下载量:0

查看详情
Souls Awakening

价格:0 墨喵币
下载量:0

查看详情