This commit is contained in:
nea
2023-05-02 22:38:48 +02:00
parent 81b5f58574
commit a8ab8f3d63
4 changed files with 41 additions and 7 deletions

View File

@@ -1,7 +1,20 @@
- recipes - recipes
- fairy souls
- easy config gui builder - easy config gui builder
- neumap, with a common source from 1.8.9 - 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 - and much more that i will add as i go along

View File

@@ -64,18 +64,20 @@ object NotEnoughUpdates : ModInitializer, ClientModInitializer {
private fun registerCommands( private fun registerCommands(
dispatcher: CommandDispatcher<FabricClientCommandSource>, dispatcher: CommandDispatcher<FabricClientCommandSource>,
@Suppress("UNUSED_PARAMETER") @Suppress("UNUSED_PARAMETER")
_ctx: CommandRegistryAccess ctx: CommandRegistryAccess
) { ) {
registerNeuCommand(dispatcher) registerNeuCommand(dispatcher)
} }
override fun onInitialize() { override fun onInitialize() {
dbusConnection.requestBusName("moe.nea.notenoughupdates") dbusConnection.requestBusName("moe.nea.notenoughupdates")
dbusConnection.exportObject(NEUDbusObject) dbusConnection.exportObject(NEUDbusObject)
IDataHolder.registerEvents() IDataHolder.registerEvents()
RepoManager.initialize() RepoManager.initialize()
SBData.init() SBData.init()
FeatureManager.autoload() FeatureManager.autoload()
ClientCommandRegistrationCallback.EVENT.register(this::registerCommands) ClientCommandRegistrationCallback.EVENT.register(this::registerCommands)
ClientLifecycleEvents.CLIENT_STOPPING.register(ClientLifecycleEvents.ClientStopping { ClientLifecycleEvents.CLIENT_STOPPING.register(ClientLifecycleEvents.ClientStopping {
runBlocking { runBlocking {

View File

@@ -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"
}
}
}

View File

@@ -6,7 +6,8 @@
"MixinClientPlayNetworkHandler", "MixinClientPlayNetworkHandler",
"MixinMessageHandler", "MixinMessageHandler",
"MixinMinecraft", "MixinMinecraft",
"MixinWorldRenderer" "MixinWorldRenderer",
"MixinClientBrandRetriever"
], ],
"mixins": [ "mixins": [
], ],