diff options
author | nea <nea@nea.moe> | 2023-05-02 22:38:48 +0200 |
---|---|---|
committer | nea <nea@nea.moe> | 2023-05-02 22:38:48 +0200 |
commit | a8ab8f3d6326211f6e07694c64ebd8b6ba195988 (patch) | |
tree | a5414f35491512a775d52838922d3ca7c4e3417f | |
parent | 81b5f58574d5ea9116f4ef0bb0c0e095f83e21a0 (diff) | |
download | Firmament-a8ab8f3d6326211f6e07694c64ebd8b6ba195988.tar.gz Firmament-a8ab8f3d6326211f6e07694c64ebd8b6ba195988.tar.bz2 Firmament-a8ab8f3d6326211f6e07694c64ebd8b6ba195988.zip |
Todos
-rw-r--r-- | TODO.txt | 23 | ||||
-rw-r--r-- | src/main/kotlin/moe/nea/notenoughupdates/NotEnoughUpdates.kt | 4 | ||||
-rw-r--r-- | src/main/kotlin/moe/nea/notenoughupdates/mixins/MixinClientBrandRetriever.kt | 18 | ||||
-rw-r--r-- | src/main/resources/notenoughupdates.mixins.json | 3 |
4 files changed, 41 insertions, 7 deletions
@@ -1,7 +1,20 @@ - - recipes - - fairy souls - - easy config gui builder - - neumap, with a common source from 1.8.9 - +- recipes +- easy config gui builder +- Storage Overlay +- PV +- NEU buttons +- Slot locking +- Pet/Equipment hud in inventory +- Pet Overlay +- Price Graphs +- Minion Helper +- Fishing +- Highlighters +- Metal Detector +- Dwarven Mines +- Experimentation Solver +- Capes +- Dungeon Profit +- Dungeon Map - and much more that i will add as i go along diff --git a/src/main/kotlin/moe/nea/notenoughupdates/NotEnoughUpdates.kt b/src/main/kotlin/moe/nea/notenoughupdates/NotEnoughUpdates.kt index 77d3c22..7563a7a 100644 --- a/src/main/kotlin/moe/nea/notenoughupdates/NotEnoughUpdates.kt +++ b/src/main/kotlin/moe/nea/notenoughupdates/NotEnoughUpdates.kt @@ -64,18 +64,20 @@ object NotEnoughUpdates : ModInitializer, ClientModInitializer { private fun registerCommands( dispatcher: CommandDispatcher<FabricClientCommandSource>, @Suppress("UNUSED_PARAMETER") - _ctx: CommandRegistryAccess + ctx: CommandRegistryAccess ) { registerNeuCommand(dispatcher) } override fun onInitialize() { + dbusConnection.requestBusName("moe.nea.notenoughupdates") dbusConnection.exportObject(NEUDbusObject) IDataHolder.registerEvents() RepoManager.initialize() SBData.init() FeatureManager.autoload() + ClientCommandRegistrationCallback.EVENT.register(this::registerCommands) ClientLifecycleEvents.CLIENT_STOPPING.register(ClientLifecycleEvents.ClientStopping { runBlocking { diff --git a/src/main/kotlin/moe/nea/notenoughupdates/mixins/MixinClientBrandRetriever.kt b/src/main/kotlin/moe/nea/notenoughupdates/mixins/MixinClientBrandRetriever.kt new file mode 100644 index 0000000..f5ccf23 --- /dev/null +++ b/src/main/kotlin/moe/nea/notenoughupdates/mixins/MixinClientBrandRetriever.kt @@ -0,0 +1,18 @@ +package moe.nea.notenoughupdates.mixins + +import org.spongepowered.asm.mixin.Mixin +import org.spongepowered.asm.mixin.Overwrite +import net.minecraft.client.ClientBrandRetriever + +@Mixin(ClientBrandRetriever::class) +class MixinClientBrandRetriever { + +private companion object { + @JvmStatic + @Overwrite + fun getClientModName(): String { + return "penis" + } + } + +} diff --git a/src/main/resources/notenoughupdates.mixins.json b/src/main/resources/notenoughupdates.mixins.json index 52d30a7..7c1ec6b 100644 --- a/src/main/resources/notenoughupdates.mixins.json +++ b/src/main/resources/notenoughupdates.mixins.json @@ -6,7 +6,8 @@ "MixinClientPlayNetworkHandler", "MixinMessageHandler", "MixinMinecraft", - "MixinWorldRenderer" + "MixinWorldRenderer", + "MixinClientBrandRetriever" ], "mixins": [ ], |