Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

Issue with capability


matthew123
 Share

Recommended Posts

This is my capability provider.

public class MyCapabilityProvider implements ICapabilitySerializable<INBT> {
    @CapabilityInject(IMyCapability.class)
    public static Capability<IMyCapability> My_CAPABILITY = null;

    private final LazyOptional<IMyCapability> lazyOptional = LazyOptional.of(MyCapability::new);

    @Nonnull
    @Override
    public <T> LazyOptional<T> getCapability(@Nonnull Capability<T> capability, @Nullable Direction side) {
        if (capability == My_CAPABILITY) {
            return lazyOptional.cast();
        }
        return LazyOptional.empty();
    }

    @Override
    public INBT serializeNBT() {
        return My_CAPABILITY.getStorage().writeNBT(My_CAPABILITY, lazyOptional.orElseThrow(() -> new IllegalArgumentException("LazyOptional must not be empty!")), null);
    }

    @Override
    public void deserializeNBT(INBT nbt) {
        My_CAPABILITY.getStorage().readNBT(My_CAPABILITY, lazyOptional.orElseThrow(() -> new IllegalArgumentException("LazyOptional must not be empty!")), null, nbt);
    }
}

 

The issue is that the values written to the disk are the default values for my capability data. I added some logging to the storage class, and this confirms it.

Why is that happening? 

Link to comment
Share on other sites

3 minutes ago, diesieben07 said:

Show where you are changing the values.

I am actually changing it in many places. My interface accesses the capability on the player to draw it.

This is where it gets updated on the server:

public static void handlePacket(ClientSyncOverlayMessage message, Supplier<NetworkEvent.Context> ctx) {
    LogManager.getLogger().info("Got sync overlay message! Selected: " + message.getSelectedTechnique().getId() + " nature: " + message.getSelectedTechnique().getNature());

    ServerPlayerEntity playerEntity = ctx.get().getSender();
    playerEntity.getCapability(TechniqueCapabilityProvider.Technique_CAPABILITY).ifPresent(TechniqueCapability -> {
       
        TechniqueCapability.setSelectedTechniqueFor(message.getSelectedTechnique().getNature(), message.getSelectedTechnique());
        LOGGER.info("Updated selected Technique to " + message.getSelectedTechnique().getId() + ", power level: " + message.getSelectedTechnique().getPower());
        LOGGER.info("PW after update: " + TechniqueCapability.getSelectedTechniqueFor(TechniqueCapability.getSelectedNatureOrDefault()).getPower());
    });
}

P.S i renamed the capability to TechniqueCapability in this example.

Edited by matthew123
Link to comment
Share on other sites

12 hours ago, diesieben07 said:

Examples are not useful, as the issue is with your code, not with some example.

Is this code executed? Does it do the correct thing?

The code above is used to synchronize the capability on the server. The correct values are printed out by the logger, but when I check the values with NBTExplorer, they are the default ones. Thus, when re-joining the singleplayer world, the capability has the default values.

Link to comment
Share on other sites

 

17 hours ago, diesieben07 said:

Show where you are changing the values.

private static int executeCommand(CommandContext<CommandSource> commandContext) throws CommandSyntaxException {
    Entity entity = commandContext.getSource().getEntity();
    TranslationTextComponent finalText = new TranslationTextComponent("chat.type.announcement",
            commandContext.getSource().getDisplayName(), new StringTextComponent("ok"));
    commandContext.getSource().getServer().getPlayerList().broadcastMessage(finalText, ChatType.CHAT, entity.getUUID());
        ServerPlayerEntity playerEntity =  commandContext.getSource().getPlayerOrException();
        playerEntity.getCapability(AbilityCapabilityProvider.Ability_CAPABILITY).ifPresent(AbilityData -> {
            AbilityData.addAbility(NatureTypes.A, new AbilityData(NatureTypes.A, "mymod:a", 0, 0, 1));
            AbilityData.addAbility(NatureTypes.A, new AbilityData(NatureTypes.A, "mymod:b", 0, 0, 1));
            AbilityData.addAbility(NatureTypes.B, new AbilityData(NatureTypes.B, "mymod:c", 0, 0, 1));
            AbilityData.addAbility(NatureTypes.B, new AbilityData(NatureTypes.B, "mymod:d", 0, 0, 1));
            AbilityData.addAbility(NatureTypes.D, new AbilityData(NatureTypes.D, "mymod:e", 0, 0, 1));
            AbilityData.addAbility(NatureTypes.E, new AbilityData(NatureTypes.E, "mymod:f", 0, 0, 1));
            ModNetwork.sendTo(new ServerSyncAbilityMessage(AbilityData), playerEntity);
            ModNetwork.sendTo(new ServerSyncPowerMessage(42, 42), playerEntity);
        });
    return 1;
}

 

Link to comment
Share on other sites

From what I can tell it functions correctly.

Your NBT format is absolutely bizarre though:

  • Why on earth is "Selected Nature" in the same compound tag as all the Jutsu data?
  • Why are you using spaces in the keys?
  • Why on earth did you decide that putting "[SELECTED] " in front of the key was a good way to mark an entry as selected instead of just... you know... a boolean?
  • Why on earth does JutsuData.serialize / deserialize use a random ad-hoc string format instead of, you know, serializing its values to a NBT compound tag?
Link to comment
Share on other sites

12 hours ago, diesieben07 said:

From what I can tell it functions correctly.

Your NBT format is absolutely bizarre though:

  • Why on earth is "Selected Nature" in the same compound tag as all the Jutsu data?
  • Why are you using spaces in the keys?
  • Why on earth did you decide that putting "[SELECTED] " in front of the key was a good way to mark an entry as selected instead of just... you know... a boolean?
  • Why on earth does JutsuData.serialize / deserialize use a random ad-hoc string format instead of, you know, serializing its values to a NBT compound tag?

I am not sure how to serialize all of it to NBT. When my data was only using integers, I used an integer array, but that is not possible now. Could you show me how? Also, do you have recommendations on the capability? I believe that my current approach is very messy.

Link to comment
Share on other sites

An issue still persists. It appears as if the power level is the only thing that is not serializing. The selected nature AND selected jutsu seems to be synchronizing fine, but the power level does not, even though it is clearly updated:

NZRzgqo.png

4HZ03gL.png

 

nuwdyJ1.png

 

Jorum9U.png

The selected jutsu seems to work fine, as indicated by that bool and in-game testing. Thus, I added logging in the exact place the jutsu serializes it's power level:

vwA2AEK.png

And then after updating values:

xtQxUTg.png

 

What the hell is going on?! I am at a loss. Why is everything else working but that integer?

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share



  • Recently Browsing

    • No registered users viewing this page.
  • Posts

    • are you sure this file does not exists and the log is the latest debug.log?
    • [03Jul2022 15:58:31.768] [main/INFO] [cpw.mods.modlauncher.Launcher/MODLAUNCHER]: ModLauncher running: args [--username, BradyDyson, --version, 1.19-forge-41.0.62, --gameDir, /Users/bradydyson/Library/Application Support/minecraft, --assetsDir, /Users/bradydyson/Library/Application Support/minecraft/assets, --assetIndex, 1.19, --uuid, 518f76ab883b4d1a826ecb2231ce9a9e, --accessToken, ❄❄❄❄❄❄❄❄, --clientId, MjgwREQ1MEY5NzNCNEZGM0JGNEIwRTI2MThBRkNEOEI=, --xuid, 2535470977180090, --userType, msa, --versionType, release, --launchTarget, forgeclient, --fml.forgeVersion, 41.0.62, --fml.mcVersion, 1.19, --fml.forgeGroup, net.minecraftforge, --fml.mcpVersion, 20220607.102129] [03Jul2022 15:58:31.771] [main/INFO] [cpw.mods.modlauncher.Launcher/MODLAUNCHER]: ModLauncher 10.0.1+10.0.1+main.e9521dc3 starting: java version 17.0.3 by Microsoft; OS Mac OS X arch aarch64 version 12.0.1 [03Jul2022 15:58:31.783] [main/DEBUG] [cpw.mods.modlauncher.LaunchServiceHandler/MODLAUNCHER]: Found launch services [fmlclientdev,forgeclient,minecraft,forgegametestserverdev,fmlserveruserdev,fmlclient,fmldatauserdev,forgeserverdev,forgeserveruserdev,forgeclientdev,forgeclientuserdev,forgeserver,forgedatadev,fmlserver,fmlclientuserdev,fmlserverdev,forgedatauserdev,testharness,forgegametestserveruserdev] [03Jul2022 15:58:31.790] [main/DEBUG] [cpw.mods.modlauncher.NameMappingServiceHandler/MODLAUNCHER]: Found naming services : [srgtomcp] [03Jul2022 15:58:31.796] [main/DEBUG] [cpw.mods.modlauncher.LaunchPluginHandler/MODLAUNCHER]: Found launch plugins: [mixin,eventbus,slf4jfixer,object_holder_definalize,runtime_enum_extender,capability_token_subclass,accesstransformer,runtimedistcleaner] [03Jul2022 15:58:31.800] [main/DEBUG] [cpw.mods.modlauncher.TransformationServicesHandler/MODLAUNCHER]: Discovering transformation services [03Jul2022 15:58:31.803] [main/ERROR] [net.minecraftforge.fml.loading.ModDirTransformerDiscoverer/]: Zip Error when loading jar file /Users/bradydyson/Library/Application Support/minecraft/mods/BiomesOPlenty-1.19-17.0.0.136.jar java.util.zip.ZipException: zip END header not found     at java.util.zip.ZipFile$Source.findEND(ZipFile.java:1469) ~[?:?]     at java.util.zip.ZipFile$Source.initCEN(ZipFile.java:1477) ~[?:?]     at java.util.zip.ZipFile$Source.<init>(ZipFile.java:1315) ~[?:?]     at java.util.zip.ZipFile$Source.get(ZipFile.java:1277) ~[?:?]     at java.util.zip.ZipFile$CleanableResource.<init>(ZipFile.java:709) ~[?:?]     at java.util.zip.ZipFile.<init>(ZipFile.java:243) ~[?:?]     at java.util.zip.ZipFile.<init>(ZipFile.java:172) ~[?:?]     at java.util.zip.ZipFile.<init>(ZipFile.java:186) ~[?:?]     at net.minecraftforge.fml.loading.ModDirTransformerDiscoverer.visitFile(ModDirTransformerDiscoverer.java:54) ~[fmlloader-1.19-41.0.62.jar%2393!/:1.0]     at java.util.stream.ForEachOps$ForEachOp$OfRef.accept(ForEachOps.java:183) ~[?:?]     at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:197) ~[?:?]     at java.util.Iterator.forEachRemaining(Iterator.java:133) ~[?:?]     at java.util.Spliterators$IteratorSpliterator.forEachRemaining(Spliterators.java:1845) ~[?:?]     at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:509) ~[?:?]     at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:499) ~[?:?]     at java.util.stream.ForEachOps$ForEachOp.evaluateSequential(ForEachOps.java:150) ~[?:?]     at java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(ForEachOps.java:173) ~[?:?]     at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) ~[?:?]     at java.util.stream.ReferencePipeline.forEach(ReferencePipeline.java:596) ~[?:?]     at net.minecraftforge.fml.loading.ModDirTransformerDiscoverer.scan(ModDirTransformerDiscoverer.java:44) ~[fmlloader-1.19-41.0.62.jar%2393!/:1.0]     at net.minecraftforge.fml.loading.ModDirTransformerDiscoverer.candidates(ModDirTransformerDiscoverer.java:27) ~[fmlloader-1.19-41.0.62.jar%2393!/:1.0]     at cpw.mods.modlauncher.serviceapi.ITransformerDiscoveryService.candidates(ITransformerDiscoveryService.java:48) ~[modlauncher-10.0.1.jar%2381!/:10.0.1+10.0.1+main.e9521dc3]     at cpw.mods.modlauncher.TransformationServicesHandler.lambda$discoverServices$14(TransformationServicesHandler.java:123) ~[modlauncher-10.0.1.jar%2381!/:?]     at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:197) [?:?]     at java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:179) [?:?]     at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:197) [?:?]     at java.util.ServiceLoader$ProviderSpliterator.tryAdvance(ServiceLoader.java:1499) [?:?]     at java.util.Spliterator.forEachRemaining(Spliterator.java:332) [?:?]     at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:509) [?:?]     at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:499) [?:?]     at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:575) [?:?]     at java.util.stream.AbstractPipeline.evaluateToArrayNode(AbstractPipeline.java:260) [?:?]     at java.util.stream.ReferencePipeline.toArray(ReferencePipeline.java:616) [?:?]     at java.util.stream.ReferencePipeline.toArray(ReferencePipeline.java:622) [?:?]     at java.util.stream.ReferencePipeline.toList(ReferencePipeline.java:627) [?:?]     at cpw.mods.modlauncher.TransformationServicesHandler.discoverServices(TransformationServicesHandler.java:125) [modlauncher-10.0.1.jar%2381!/:?]     at cpw.mods.modlauncher.Launcher.run(Launcher.java:86) [modlauncher-10.0.1.jar%2381!/:?]     at cpw.mods.modlauncher.Launcher.main(Launcher.java:77) [modlauncher-10.0.1.jar%2381!/:?]     at cpw.mods.modlauncher.BootstrapLaunchConsumer.accept(BootstrapLaunchConsumer.java:26) [modlauncher-10.0.1.jar%2381!/:?]     at cpw.mods.modlauncher.BootstrapLaunchConsumer.accept(BootstrapLaunchConsumer.java:23) [modlauncher-10.0.1.jar%2381!/:?]     at cpw.mods.bootstraplauncher.BootstrapLauncher.main(BootstrapLauncher.java:141) [bootstraplauncher-1.1.1.jar:?] [03Jul2022 15:58:31.813] [main/DEBUG] [cpw.mods.modlauncher.TransformationServicesHandler/MODLAUNCHER]: Found additional transformation services from discovery services: java.util.stream.ReferencePipeline$3@5ca17ab0 [03Jul2022 15:58:31.856] [main/DEBUG] [cpw.mods.modlauncher.TransformationServicesHandler/MODLAUNCHER]: Found transformer services : [mixin,OptiFine,fml] [03Jul2022 15:58:31.856] [main/DEBUG] [cpw.mods.modlauncher.TransformationServicesHandler/MODLAUNCHER]: Transformation services loading [03Jul2022 15:58:31.856] [main/DEBUG] [cpw.mods.modlauncher.TransformationServiceDecorator/MODLAUNCHER]: Loading service mixin [03Jul2022 15:58:31.856] [main/DEBUG] [cpw.mods.modlauncher.TransformationServiceDecorator/MODLAUNCHER]: Loaded service mixin [03Jul2022 15:58:31.857] [main/DEBUG] [cpw.mods.modlauncher.TransformationServiceDecorator/MODLAUNCHER]: Loading service OptiFine [03Jul2022 15:58:31.857] [main/INFO] [optifine.OptiFineTransformationService/]: OptiFineTransformationService.onLoad [03Jul2022 15:58:31.857] [main/INFO] [optifine.OptiFineTransformationService/]: OptiFine ZIP file URL: union:/Users/bradydyson/Library/Application%20Support/minecraft/mods/preview_OptiFine_1.19_HD_U_H8_pre1.jar%23144!/ [03Jul2022 15:58:31.861] [main/INFO] [optifine.OptiFineTransformationService/]: OptiFine ZIP file: /Users/bradydyson/Library/Application Support/minecraft/mods/preview_OptiFine_1.19_HD_U_H8_pre1.jar [03Jul2022 15:58:31.862] [main/INFO] [optifine.OptiFineTransformer/]: Target.PRE_CLASS is available [03Jul2022 15:58:31.867] [main/DEBUG] [cpw.mods.modlauncher.TransformationServiceDecorator/MODLAUNCHER]: Loaded service OptiFine [03Jul2022 15:58:31.867] [main/DEBUG] [cpw.mods.modlauncher.TransformationServiceDecorator/MODLAUNCHER]: Loading service fml [03Jul2022 15:58:31.868] [main/DEBUG] [net.minecraftforge.fml.loading.LauncherVersion/CORE]: Found FMLLauncher version 1.0 [03Jul2022 15:58:31.868] [main/DEBUG] [net.minecraftforge.fml.loading.FMLLoader/CORE]: FML 1.0 loading [03Jul2022 15:58:31.868] [main/DEBUG] [net.minecraftforge.fml.loading.FMLLoader/CORE]: FML found ModLauncher version : 10.0.1+10.0.1+main.e9521dc3 [03Jul2022 15:58:31.869] [main/DEBUG] [net.minecraftforge.fml.loading.FMLLoader/CORE]: FML found AccessTransformer version : 8.0.4+66+master.c09db6d7 [03Jul2022 15:58:31.869] [main/DEBUG] [net.minecraftforge.fml.loading.FMLLoader/CORE]: FML found EventBus version : 6.0.0+6.0.0+master.901864e5 [03Jul2022 15:58:31.869] [main/DEBUG] [net.minecraftforge.fml.loading.FMLLoader/CORE]: Found Runtime Dist Cleaner [03Jul2022 15:58:31.870] [main/DEBUG] [net.minecraftforge.fml.loading.FMLLoader/CORE]: FML found CoreMod version : 5.0.1+15+master.dc5a2922 [03Jul2022 15:58:31.870] [main/DEBUG] [net.minecraftforge.fml.loading.FMLLoader/CORE]: Found ForgeSPI package implementation version 6.0.0+6.0.0+master.42474703 [03Jul2022 15:58:31.870] [main/DEBUG] [net.minecraftforge.fml.loading.FMLLoader/CORE]: Found ForgeSPI package specification 5 [03Jul2022 15:58:31.871] [main/DEBUG] [cpw.mods.modlauncher.TransformationServiceDecorator/MODLAUNCHER]: Loaded service fml [03Jul2022 15:58:31.872] [main/DEBUG] [cpw.mods.modlauncher.TransformationServicesHandler/MODLAUNCHER]: Configuring option handling for services [03Jul2022 15:58:31.874] [main/DEBUG] [cpw.mods.modlauncher.TransformationServicesHandler/MODLAUNCHER]: Transformation services initializing [03Jul2022 15:58:31.875] [main/DEBUG] [cpw.mods.modlauncher.TransformationServiceDecorator/MODLAUNCHER]: Initializing transformation service mixin [03Jul2022 15:58:31.882] [main/DEBUG] [mixin/]: MixinService [ModLauncher] was successfully booted in cpw.mods.cl.ModuleClassLoader@1f2586d6 [03Jul2022 15:58:31.890] [main/INFO] [mixin/]: SpongePowered MIXIN Subsystem Version=0.8.5 Source=union:/Users/bradydyson/Library/Application%20Support/minecraft/libraries/org/spongepowered/mixin/0.8.5/mixin-0.8.5.jar%2390!/ Service=ModLauncher Env=CLIENT [03Jul2022 15:58:31.892] [main/DEBUG] [mixin/]: Initialising Mixin Platform Manager [03Jul2022 15:58:31.892] [main/DEBUG] [mixin/]: Adding mixin platform agents for container ModLauncher Root Container(ModLauncher:4f56a0a2) [03Jul2022 15:58:31.892] [main/DEBUG] [mixin/]: Instancing new MixinPlatformAgentMinecraftForge for ModLauncher Root Container(ModLauncher:4f56a0a2) [03Jul2022 15:58:31.893] [main/DEBUG] [mixin/]: MixinPlatformAgentMinecraftForge rejected container ModLauncher Root Container(ModLauncher:4f56a0a2) [03Jul2022 15:58:31.893] [main/DEBUG] [mixin/]: Instancing new MixinPlatformAgentDefault for ModLauncher Root Container(ModLauncher:4f56a0a2) [03Jul2022 15:58:31.893] [main/DEBUG] [mixin/]: MixinPlatformAgentDefault accepted container ModLauncher Root Container(ModLauncher:4f56a0a2) [03Jul2022 15:58:31.894] [main/DEBUG] [cpw.mods.modlauncher.TransformationServiceDecorator/MODLAUNCHER]: Initialized transformation service mixin [03Jul2022 15:58:31.894] [main/DEBUG] [cpw.mods.modlauncher.TransformationServiceDecorator/MODLAUNCHER]: Initializing transformation service OptiFine [03Jul2022 15:58:31.894] [main/INFO] [optifine.OptiFineTransformationService/]: OptiFineTransformationService.initialize [03Jul2022 15:58:31.894] [main/DEBUG] [cpw.mods.modlauncher.TransformationServiceDecorator/MODLAUNCHER]: Initialized transformation service OptiFine [03Jul2022 15:58:31.894] [main/DEBUG] [cpw.mods.modlauncher.TransformationServiceDecorator/MODLAUNCHER]: Initializing transformation service fml [03Jul2022 15:58:31.894] [main/DEBUG] [net.minecraftforge.fml.loading.FMLServiceProvider/CORE]: Setting up basic FML game directories [03Jul2022 15:58:31.895] [main/DEBUG] [net.minecraftforge.fml.loading.FileUtils/CORE]: Found existing GAMEDIR directory : /Users/bradydyson/Library/Application Support/minecraft [03Jul2022 15:58:31.895] [main/DEBUG] [net.minecraftforge.fml.loading.FMLPaths/CORE]: Path GAMEDIR is /Users/bradydyson/Library/Application Support/minecraft [03Jul2022 15:58:31.895] [main/DEBUG] [net.minecraftforge.fml.loading.FileUtils/CORE]: Found existing MODSDIR directory : /Users/bradydyson/Library/Application Support/minecraft/mods [03Jul2022 15:58:31.895] [main/DEBUG] [net.minecraftforge.fml.loading.FMLPaths/CORE]: Path MODSDIR is /Users/bradydyson/Library/Application Support/minecraft/mods [03Jul2022 15:58:31.895] [main/DEBUG] [net.minecraftforge.fml.loading.FileUtils/CORE]: Found existing CONFIGDIR directory : /Users/bradydyson/Library/Application Support/minecraft/config [03Jul2022 15:58:31.895] [main/DEBUG] [net.minecraftforge.fml.loading.FMLPaths/CORE]: Path CONFIGDIR is /Users/bradydyson/Library/Application Support/minecraft/config [03Jul2022 15:58:31.895] [main/DEBUG] [net.minecraftforge.fml.loading.FMLPaths/CORE]: Path FMLCONFIG is /Users/bradydyson/Library/Application Support/minecraft/config/fml.toml [03Jul2022 15:58:31.895] [main/DEBUG] [net.minecraftforge.fml.loading.FMLServiceProvider/CORE]: Loading configuration [03Jul2022 15:58:31.914] [main/DEBUG] [net.minecraftforge.fml.loading.FileUtils/CORE]: Found existing default config directory directory : /Users/bradydyson/Library/Application Support/minecraft/defaultconfigs [03Jul2022 15:58:31.914] [main/DEBUG] [net.minecraftforge.fml.loading.FMLServiceProvider/CORE]: Preparing ModFile [03Jul2022 15:58:31.915] [main/DEBUG] [net.minecraftforge.fml.loading.FMLServiceProvider/CORE]: Preparing launch handler [03Jul2022 15:58:31.915] [main/DEBUG] [net.minecraftforge.fml.loading.FMLLoader/CORE]: Using forgeclient as launch service [03Jul2022 15:58:31.925] [main/DEBUG] [net.minecraftforge.fml.loading.FMLLoader/CORE]: Received command line version data  : VersionInfo[forgeVersion=41.0.62, mcVersion=1.19, mcpVersion=20220607.102129, forgeGroup=net.minecraftforge] [03Jul2022 15:58:31.926] [main/DEBUG] [cpw.mods.modlauncher.TransformationServiceDecorator/MODLAUNCHER]: Initialized transformation service fml [03Jul2022 15:58:31.926] [main/DEBUG] [cpw.mods.modlauncher.NameMappingServiceHandler/MODLAUNCHER]: Current naming domain is 'srg' [03Jul2022 15:58:31.927] [main/DEBUG] [cpw.mods.modlauncher.NameMappingServiceHandler/MODLAUNCHER]: Identified name mapping providers {} [03Jul2022 15:58:31.927] [main/DEBUG] [cpw.mods.modlauncher.TransformationServicesHandler/MODLAUNCHER]: Transformation services begin scanning [03Jul2022 15:58:31.927] [main/DEBUG] [cpw.mods.modlauncher.TransformationServiceDecorator/MODLAUNCHER]: Beginning scan trigger - transformation service mixin [03Jul2022 15:58:31.927] [main/DEBUG] [cpw.mods.modlauncher.TransformationServiceDecorator/MODLAUNCHER]: End scan trigger - transformation service mixin [03Jul2022 15:58:31.927] [main/DEBUG] [cpw.mods.modlauncher.TransformationServiceDecorator/MODLAUNCHER]: Beginning scan trigger - transformation service OptiFine [03Jul2022 15:58:31.927] [main/DEBUG] [cpw.mods.modlauncher.TransformationServiceDecorator/MODLAUNCHER]: End scan trigger - transformation service OptiFine [03Jul2022 15:58:31.927] [main/DEBUG] [cpw.mods.modlauncher.TransformationServiceDecorator/MODLAUNCHER]: Beginning scan trigger - transformation service fml [03Jul2022 15:58:31.927] [main/DEBUG] [net.minecraftforge.fml.loading.FMLServiceProvider/CORE]: Initiating mod scan [03Jul2022 15:58:31.932] [main/DEBUG] [net.minecraftforge.fml.loading.moddiscovery.ModListHandler/CORE]: Found mod coordinates from lists: [] [03Jul2022 15:58:31.933] [main/DEBUG] [net.minecraftforge.fml.loading.moddiscovery.ModDiscoverer/CORE]: Found Mod Locators : (mods folder:null),(maven libs:null),(exploded directory:null),(minecraft:null),(userdev classpath:null) [03Jul2022 15:58:31.933] [main/DEBUG] [net.minecraftforge.fml.loading.moddiscovery.ModDiscoverer/CORE]: Found Dependency Locators : (JarInJar:null)   I just launched Minecraft after deleting my mods. 
    • please post debug.log without mods
    • No mods work, even launching it without mods still doesnt work.
  • Topics

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.