MCA Reborn [Fabric/Forge]

MCA Reborn [Fabric/Forge]

6M Downloads

Java and mod namespace conflicts with Alive 1.8.2

Ghostcrafter090 opened this issue ยท 4 comments

commented

I recently received some feedback about a mod that I'm working on called "Alive" (Previously "Minecraft Alive") and apparently we use the same mod namespace lmao
I'm a little newer to the mod development community and I'm having trouble finding a way to mask or change Alive's namespaces specifically when your mod is loaded (as some players want to use them together it seems lmao).
Without doing so Alive just doesn't load when your mod is present.

I've tried permanently changing my own namespaces, but with a lot of players now playing the mod, I'm worried about changing it in such a way as it will break previous worlds.

I was wondering if you might have any suggestions?

Here's a link to the mods source: https://github.com/Ghostcrafter090/Minecraft-Alive-3

commented

Perhaps the issue might be your mod definition uses mca as its ID: https://github.com/Ghostcrafter090/Minecraft-Alive-3/blob/master/src/main/java/net/mcreator/mca/McaMod.java#L35

Looking at your mods.toml this is supposed to be alive?

You would have to ensure all references to mca in terms of mod identification is removed. I am not sure you will see much success trying to change this while Minecraft Comes Alive is loading.

commented

Never looked into that but maybe you can change the namespace and then define a few Datafixer to rename existing stuff. It allows you to rename items, maybe it also works between namesspaces.

commented

It doesn't matter the environment, Alive just seems not to load if your mod is present
here's some logs with just the 2 loading:
[17:50:52] [main/INFO]: ModLauncher running: args [--username, Ghostcrafter090, --version, forge-39.1.0, --gameDir, C:\Users\joshp\Documents\curse\Instances\Alive vs Minecraft Comes Alive, --assetsDir, C:\Users\joshp\Documents\curse\Install\assets, --assetIndex, 1.18, --uuid, c6d66855dbd74aa2ad0f2384cb86f8f9, --accessToken, ????????, --clientId, YmM0NWU4YjktYzU4NC00ZjM1LTk4YmEtYTc2NGY5MmJjYzY0, --xuid, 2535433254436792, --userType, msa, --versionType, release, --width, 1920, --height, 1080, --launchTarget, forgeclient, --fml.forgeVersion, 39.1.0, --fml.mcVersion, 1.18.1, --fml.forgeGroup, net.minecraftforge, --fml.mcpVersion, 20211210.034407] [17:50:52] [main/INFO]: ModLauncher 9.1.0+9.1.0+main.6690ee51 starting: java version 17.0.1 by Microsoft [17:50:52] [main/INFO]: SpongePowered MIXIN Subsystem Version=0.8.5 Source=union:/C:/Users/joshp/Documents/curse/Install/libraries/org/spongepowered/mixin/0.8.5/mixin-0.8.5.jar%2319!/ Service=ModLauncher Env=CLIENT [17:50:52] [main/WARN]: Configuration file C:\Users\joshp\Documents\curse\Instances\Alive vs Minecraft Comes Alive\config\fml.toml is not correct. Correcting [17:50:52] [main/WARN]: Incorrect key [defaultConfigPath] was corrected from null to defaultconfigs [17:50:52] [main/INFO]: Found mod file minecraft-comes-alive-7.1.0-forge.jar of type MOD with locator {mods folder locator at C:\Users\joshp\Documents\curse\Instances\Alive vs Minecraft Comes Alive\mods} [17:50:52] [main/INFO]: Found mod file minecraft_alive_forge_1.18.1_1.8.2.jar of type MOD with locator {mods folder locator at C:\Users\joshp\Documents\curse\Instances\Alive vs Minecraft Comes Alive\mods} [17:50:52] [main/INFO]: Found mod file fmlcore-1.18.1-39.1.0.jar of type LIBRARY with locator net.minecraftforge.fml.loading.moddiscovery.MinecraftLocator@4cc61eb1 [17:50:52] [main/INFO]: Found mod file javafmllanguage-1.18.1-39.1.0.jar of type LANGPROVIDER with locator net.minecraftforge.fml.loading.moddiscovery.MinecraftLocator@4cc61eb1 [17:50:52] [main/INFO]: Found mod file mclanguage-1.18.1-39.1.0.jar of type LANGPROVIDER with locator net.minecraftforge.fml.loading.moddiscovery.MinecraftLocator@4cc61eb1 [17:50:52] [main/INFO]: Found mod file client-1.18.1-20211210.034407-srg.jar of type MOD with locator net.minecraftforge.fml.loading.moddiscovery.MinecraftLocator@4cc61eb1 [17:50:52] [main/INFO]: Found mod file forge-1.18.1-39.1.0-universal.jar of type MOD with locator net.minecraftforge.fml.loading.moddiscovery.MinecraftLocator@4cc61eb1 [17:50:55] [main/INFO]: Compatibility level set to JAVA_17 [17:50:55] [main/INFO]: Launching target 'forgeclient' with arguments [--version, forge-39.1.0, --gameDir, C:\Users\joshp\Documents\curse\Instances\Alive vs Minecraft Comes Alive, --assetsDir, C:\Users\joshp\Documents\curse\Install\assets, --uuid, c6d66855dbd74aa2ad0f2384cb86f8f9, --username, Ghostcrafter090, --assetIndex, 1.18, --accessToken, ????????, --clientId, YmM0NWU4YjktYzU4NC00ZjM1LTk4YmEtYTc2NGY5MmJjYzY0, --xuid, 2535433254436792, --userType, msa, --versionType, release, --width, 1920, --height, 1080] [17:51:20] [Render thread/WARN]: Assets URL 'union:/C:/Users/joshp/Documents/curse/Install/libraries/net/minecraft/client/1.18.1-20211210.034407/client-1.18.1-20211210.034407-srg.jar%2354!/assets/.mcassetsroot' uses unexpected schema [17:51:20] [Render thread/WARN]: Assets URL 'union:/C:/Users/joshp/Documents/curse/Install/libraries/net/minecraft/client/1.18.1-20211210.034407/client-1.18.1-20211210.034407-srg.jar%2354!/data/.mcassetsroot' uses unexpected schema [17:51:20] [Render thread/INFO]: Environment: authHost='https://authserver.mojang.com', accountsHost='https://api.mojang.com', sessionHost='https://sessionserver.mojang.com', servicesHost='https://api.minecraftservices.com', name='PROD' [17:51:21] [Render thread/INFO]: Setting user: Ghostcrafter090 [17:51:22] [Render thread/INFO]: Backend library: LWJGL version 3.2.2 SNAPSHOT [17:51:27] [modloading-worker-0/INFO]: Forge mod loading, version 39.1.0, for MC 1.18.1 with MCP 20211210.034407 [17:51:27] [modloading-worker-0/INFO]: MinecraftForge v39.1.0 Initialized [17:51:29] [Render thread/WARN]: defineId called for: class mca.entity.GrimReaperEntity from class mca.util.network.datasync.CEnumParameter [17:51:29] [Render thread/WARN]: defineId called for: class mca.entity.VillagerEntityMCA from class mca.util.network.datasync.CDataParameter [17:51:29] [Render thread/WARN]: defineId called for: class mca.entity.VillagerEntityMCA from class mca.util.network.datasync.CDataParameter [17:51:29] [Render thread/WARN]: defineId called for: class mca.entity.VillagerEntityMCA from class mca.util.network.datasync.CDataParameter [17:51:29] [Render thread/WARN]: defineId called for: class mca.entity.VillagerEntityMCA from class mca.util.network.datasync.CDataParameter [17:51:29] [Render thread/WARN]: defineId called for: class mca.entity.VillagerEntityMCA from class mca.util.network.datasync.CDataParameter [17:51:29] [Render thread/WARN]: defineId called for: class mca.entity.VillagerEntityMCA from class mca.util.network.datasync.CEnumParameter [17:51:29] [Render thread/WARN]: defineId called for: class mca.entity.VillagerEntityMCA from class mca.util.network.datasync.CEnumParameter [17:51:29] [Render thread/WARN]: defineId called for: class mca.entity.VillagerEntityMCA from class mca.util.network.datasync.CDataParameter [17:51:29] [Render thread/WARN]: defineId called for: class mca.entity.VillagerEntityMCA from class mca.util.network.datasync.CDataParameter [17:51:29] [Render thread/WARN]: defineId called for: class mca.entity.VillagerEntityMCA from class mca.util.network.datasync.CDataParameter [17:51:29] [Render thread/WARN]: defineId called for: class mca.entity.VillagerEntityMCA from class mca.util.network.datasync.CDataParameter [17:51:29] [Render thread/WARN]: defineId called for: class mca.entity.VillagerEntityMCA from class mca.util.network.datasync.CDataParameter [17:51:29] [Render thread/WARN]: defineId called for: class mca.entity.VillagerEntityMCA from class mca.util.network.datasync.CDataParameter [17:51:29] [Render thread/WARN]: defineId called for: class mca.entity.VillagerEntityMCA from class mca.util.network.datasync.CDataParameter [17:51:29] [Render thread/WARN]: defineId called for: class mca.entity.VillagerEntityMCA from class mca.util.network.datasync.CDataParameter [17:51:29] [Render thread/WARN]: defineId called for: class mca.entity.VillagerEntityMCA from class mca.util.network.datasync.CDataParameter [17:51:29] [Render thread/WARN]: defineId called for: class mca.entity.VillagerEntityMCA from class mca.util.network.datasync.CEnumParameter [17:51:29] [Render thread/WARN]: defineId called for: class mca.entity.VillagerEntityMCA from class mca.util.network.datasync.CDataParameter [17:51:29] [Render thread/WARN]: defineId called for: class mca.entity.VillagerEntityMCA from class mca.util.network.datasync.CDataParameter [17:51:29] [Render thread/WARN]: defineId called for: class mca.entity.VillagerEntityMCA from class mca.util.network.datasync.CEnumParameter [17:51:29] [Render thread/WARN]: defineId called for: class mca.entity.VillagerEntityMCA from class mca.util.network.datasync.CDataParameter [17:51:29] [Render thread/WARN]: defineId called for: class mca.entity.VillagerEntityMCA from class mca.util.network.datasync.CEnumParameter [17:51:29] [Render thread/WARN]: defineId called for: class mca.entity.VillagerEntityMCA from class mca.util.network.datasync.CEnumParameter [17:51:29] [Render thread/WARN]: defineId called for: class mca.entity.VillagerEntityMCA from class mca.util.network.datasync.CDataParameter [17:51:29] [Render thread/WARN]: defineId called for: class mca.entity.VillagerEntityMCA from class mca.util.network.datasync.CDataParameter [17:51:29] [Render thread/WARN]: defineId called for: class mca.entity.VillagerEntityMCA from class mca.util.network.datasync.CDataParameter [17:51:29] [Render thread/WARN]: defineId called for: class mca.entity.VillagerEntityMCA from class mca.util.network.datasync.CDataParameter [17:51:29] [Render thread/WARN]: defineId called for: class mca.entity.VillagerEntityMCA from class mca.util.network.datasync.CDataParameter [17:51:29] [Render thread/WARN]: defineId called for: class mca.entity.VillagerEntityMCA from class mca.util.network.datasync.CDataParameter [17:51:29] [Render thread/WARN]: defineId called for: class mca.entity.VillagerEntityMCA from class mca.util.network.datasync.CDataParameter [17:51:29] [Render thread/WARN]: defineId called for: class mca.entity.VillagerEntityMCA from class mca.util.network.datasync.CDataParameter [17:51:29] [Render thread/WARN]: defineId called for: class mca.entity.VillagerEntityMCA from class mca.util.network.datasync.CDataParameter [17:51:29] [Render thread/WARN]: defineId called for: class mca.entity.VillagerEntityMCA from class mca.util.network.datasync.CDataParameter [17:51:29] [Render thread/WARN]: defineId called for: class mca.entity.VillagerEntityMCA from class mca.util.network.datasync.CDataParameter [17:51:29] [Render thread/WARN]: defineId called for: class mca.entity.VillagerEntityMCA from class mca.util.network.datasync.CDataParameter [17:51:31] [Render thread/INFO]: Narrator library for x64 successfully loaded [17:51:32] [Render thread/INFO]: Reloading ResourceManager: Default, Mod Resources [17:51:32] [modloading-worker-0/WARN]: Configuration file C:\Users\joshp\Documents\curse\Instances\Alive vs Minecraft Comes Alive\config\forge-client.toml is not correct. Correcting [17:51:32] [modloading-worker-0/WARN]: Incorrect key client was corrected from null to its default, SimpleCommentedConfig:{}. [17:51:32] [modloading-worker-0/WARN]: Incorrect key client.alwaysSetupTerrainOffThread was corrected from null to its default, false. [17:51:32] [modloading-worker-0/WARN]: Incorrect key client.experimentalForgeLightPipelineEnabled was corrected from null to its default, false. [17:51:32] [modloading-worker-0/WARN]: Incorrect key client.showLoadWarnings was corrected from null to its default, true. [17:51:32] [modloading-worker-0/WARN]: Incorrect key client.useCombinedDepthStencilAttachment was corrected from null to its default, false. [17:51:32] [modloading-worker-0/WARN]: Incorrect key client.forceSystemNanoTime was corrected from null to its default, false. [17:51:32] [modloading-worker-0/WARN]: Configuration file C:\Users\joshp\Documents\curse\Instances\Alive vs Minecraft Comes Alive\config\forge-common.toml is not correct. Correcting [17:51:32] [modloading-worker-0/WARN]: Incorrect key general was corrected from null to its default, SimpleCommentedConfig:{}. [17:51:32] [modloading-worker-0/WARN]: Incorrect key general.defaultWorldType was corrected from null to its default, default. [17:51:32] [Forge Version Check/INFO]: [forge] Starting version check at https://files.minecraftforge.net/net/minecraftforge/forge/promotions_slim.json [17:51:33] [Worker-Main-25/WARN]: File mca:sounds/working/anvil1.ogg does not exist, cannot add it to event mca:working.anvil [17:51:33] [Worker-Main-25/WARN]: File mca:sounds/working/anvil2.ogg does not exist, cannot add it to event mca:working.anvil [17:51:33] [Worker-Main-25/WARN]: File mca:sounds/working/anvil3.ogg does not exist, cannot add it to event mca:working.anvil [17:51:33] [Worker-Main-25/WARN]: File mca:sounds/female_villager/greet/greet1.ogg does not exist, cannot add it to event mca:villager_female_greet [17:51:33] [Worker-Main-25/WARN]: File mca:sounds/female_villager/laugh/laugh1.ogg does not exist, cannot add it to event mca:villager_female_laugh [17:51:33] [Worker-Main-25/WARN]: File mca:sounds/female_villager/surprise/surprise1.ogg does not exist, cannot add it to event mca:villager_female_surprise [17:51:33] [Worker-Main-25/WARN]: File mca:sounds/female_villager/cry/cry1.ogg does not exist, cannot add it to event mca:villager_female_cry [17:51:34] [Forge Version Check/INFO]: [forge] Found status: UP_TO_DATE Current: 39.1.0 Target: null [17:51:51] [Render thread/WARN]: Missing sound for event: mca:villager_baby_laugh [17:51:51] [Render thread/WARN]: Missing sound for event: mca:villager_male_angry [17:51:51] [Render thread/WARN]: Missing sound for event: mca:villager_female_angry [17:51:51] [Render thread/INFO]: OpenAL initialized on device OpenAL Soft on Speakers (3- USB PnP Sound Device) [17:51:51] [Render thread/INFO]: Sound engine started [17:51:52] [Render thread/INFO]: Created: 1024x512x4 minecraft:textures/atlas/blocks.png-atlas [17:51:52] [Render thread/INFO]: Created: 256x128x4 minecraft:textures/atlas/signs.png-atlas [17:51:52] [Render thread/INFO]: Created: 512x512x4 minecraft:textures/atlas/banner_patterns.png-atlas [17:51:52] [Render thread/INFO]: Created: 512x512x4 minecraft:textures/atlas/shield_patterns.png-atlas [17:51:52] [Render thread/INFO]: Created: 256x256x4 minecraft:textures/atlas/chest.png-atlas [17:51:52] [Render thread/INFO]: Created: 512x256x4 minecraft:textures/atlas/beds.png-atlas [17:51:52] [Render thread/INFO]: Created: 512x256x4 minecraft:textures/atlas/shulker_boxes.png-atlas [17:51:53] [Render thread/INFO]: Created: 256x256x0 minecraft:textures/atlas/particles.png-atlas [17:51:53] [Render thread/INFO]: Created: 256x256x0 minecraft:textures/atlas/paintings.png-atlas [17:51:53] [Render thread/INFO]: Created: 128x128x0 minecraft:textures/atlas/mob_effects.png-atlas [17:52:06] [Render thread/INFO]: Stopping!

commented

Considering closed as there isn't much we can do here.