Compare commits
2 Commits
110020de44
...
ecd6e66b9e
Author | SHA1 | Date | |
---|---|---|---|
![]() |
ecd6e66b9e | ||
![]() |
fc0f6a3496 |
@ -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.001
|
mod_version=1.14.514.002
|
||||||
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("Elytra Boost Without Placement Mod initialized");
|
LOGGER.info("去他妈的放烟花!!!");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -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 -> {
|
||||||
|
@ -1,12 +0,0 @@
|
|||||||
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,10 +2,13 @@
|
|||||||
"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