Compare commits
No commits in common. "ecd6e66b9e6e0379483fe71dd1ae9cdeb4c9f1eb" and "110020de441216f2f15aaf9c7d75267fe2e9e778" have entirely different histories.
ecd6e66b9e
...
110020de44
@ -6,7 +6,7 @@ minecraft_version=1.21.4
|
|||||||
yarn_mappings=1.21.4+build.8
|
yarn_mappings=1.21.4+build.8
|
||||||
loader_version=0.16.10
|
loader_version=0.16.10
|
||||||
# Mod Properties
|
# Mod Properties
|
||||||
mod_version=1.14.514.002
|
mod_version=1.14.514.001
|
||||||
maven_group=org.example1
|
maven_group=org.example1
|
||||||
archives_base_name=elytraboostmod
|
archives_base_name=elytraboostmod
|
||||||
# Dependencies
|
# Dependencies
|
||||||
|
@ -10,6 +10,6 @@ public class ElytraBoostNotPlaceMod implements ModInitializer {
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void onInitialize() {
|
public void onInitialize() {
|
||||||
LOGGER.info("去他妈的放烟花!!!");
|
LOGGER.info("Elytra Boost Without Placement Mod initialized");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -23,8 +23,8 @@ public class ElytraBoostNotPlaceModClient implements ClientModInitializer {
|
|||||||
AutoConfig.register(ModConfig.class, JanksonConfigSerializer::new);
|
AutoConfig.register(ModConfig.class, JanksonConfigSerializer::new);
|
||||||
config = AutoConfig.getConfigHolder(ModConfig.class).getConfig();
|
config = AutoConfig.getConfigHolder(ModConfig.class).getConfig();
|
||||||
|
|
||||||
// TODO 注册快捷键,待修复
|
// 注册快捷键
|
||||||
// KeyBindingHelper.registerKeyBinding(config.toggleKey);
|
KeyBindingHelper.registerKeyBinding(config.toggleKey);
|
||||||
|
|
||||||
// 每tick检查快捷键
|
// 每tick检查快捷键
|
||||||
ClientTickEvents.END_CLIENT_TICK.register(client -> {
|
ClientTickEvents.END_CLIENT_TICK.register(client -> {
|
||||||
|
@ -0,0 +1,12 @@
|
|||||||
|
package com.example.elytraboostnotplace;
|
||||||
|
|
||||||
|
import com.terraformersmc.modmenu.api.ConfigScreenFactory;
|
||||||
|
import com.terraformersmc.modmenu.api.ModMenuApi;
|
||||||
|
import me.shedaniel.autoconfig.AutoConfig;
|
||||||
|
|
||||||
|
public class ModMenuIntegration implements ModMenuApi {
|
||||||
|
@Override
|
||||||
|
public ConfigScreenFactory<?> getModConfigScreenFactory() {
|
||||||
|
return parent -> AutoConfig.getConfigScreen(ModConfig.class, parent).get();
|
||||||
|
}
|
||||||
|
}
|
@ -2,13 +2,10 @@
|
|||||||
"schemaVersion": 1,
|
"schemaVersion": 1,
|
||||||
"id": "elytraboostnotplace",
|
"id": "elytraboostnotplace",
|
||||||
"version": "${version}",
|
"version": "${version}",
|
||||||
"name": "去他妈的放烟花!",
|
"name": "去你妈的放烟花!",
|
||||||
"description": "将一项25w16a的内容移植到当前版本",
|
"description": "将一项25w16a的内容移植到当前版本",
|
||||||
"authors": ["BRanulf"],
|
"authors": ["BRanulf"],
|
||||||
"contact": {
|
"contact": {},
|
||||||
"homepage": "https://git.branulf.top/Branulf",
|
|
||||||
"sources": "https://git.branulf.top/Branulf/ElytraBoost"
|
|
||||||
},
|
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"icon": "assets/elytraboostnotplace/icon.png",
|
"icon": "assets/elytraboostnotplace/icon.png",
|
||||||
"environment": "client",
|
"environment": "client",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user