Jump to content

Ugdhar

Members
  • Posts

    2524
  • Joined

  • Last visited

  • Days Won

    30

Posts posted by Ugdhar

  1. 7 hours ago, KingReneW said:

    im Running a 1.18.2 Fabric server

    Wrong forums, this is for minecraft forge, not fabric.

    You will likely not find any help here.

  2. 14 hours ago, Blurr0-0 said:
    [10Aug2023 23:28:04.195] [main/ERROR] [net.minecraftforge.fml.loading.ModSorter/LOADING]: Missing or unsupported mandatory dependencies:
    	Mod ID: 'forge', Requested by: 'create', Expected range: '[40.2.4,)', Actual version: '40.2.0'
    	Mod ID: 'forge', Requested by: 'cccbridge', Expected range: '[40.2.4,)', Actual version: '40.2.0'
    Quote

    [10Aug2023 23:28:11.285] [main/FATAL] [mixin/]: Mixin apply failed modernfix-common.mixins.json:bugfix.item_cache_flag.ItemStackMixin -> net.minecraft.world.item.ItemStack: org.spongepowered.asm.mixin.injection.throwables.InvalidInjectionException @At("INVOKE") on net/minecraft/world/item/ItemStack::getItemDirect with priority 1000 cannot inject into net/minecraft/world/item/ItemStack::m_41619_()Z merged by com.abdelaziz.canary.mixin.item.ItemStackMixin with priority 1000 [PREINJECT Applicator Phase -> modernfix-common.mixins.json:bugfix.item_cache_flag.ItemStackMixin -> Prepare Injections -> -> redirect$zzc000$getItemDirect(Lnet/minecraft/world/item/ItemStack;)Lnet/minecraft/world/item/Item; -> Prepare] org.spongepowered.asm.mixin.injection.throwables.InvalidInjectionException: @At("INVOKE") on net/minecraft/world/item/ItemStack::getItemDirect with priority 1000 cannot inject into net/minecraft/world/item/ItemStack::m_41619_()Z merged by com.abdelaziz.canary.mixin.item.ItemStackMixin with priority 1000 [PREINJECT Applicator Phase -> modernfix-common.mixins.json:bugfix.item_cache_flag.ItemStackMixin -> Prepare Injections -> -> redirect$zzc000$getItemDirect(Lnet/minecraft/world/item/ItemStack;)Lnet/minecraft/world/item/Item; -> Prepare] at org.spongepowered.asm.mixin.injection.code.Injector.findTargetNodes(Injector.java:305) ~[mixin-0.8.5.jar%2314!/:0.8.5+Jenkins-b310.git-155314e6e91465dad727e621a569906a410cd6f4]

    First errors look like you are using mods that want a newer version of forge.

    Second errors looks like you have mods that are conflicting, trying to modify the same code or something.

    That's all I can guess, as the log does not look complete so there could be other stuff below that is missing.

  3. 12 hours ago, michael520 said:

    I have similar problem too(

    You should create your own thread, with a link to your crash report, and a link to a github repo with your code. That will help someone to help you :) chances are your code is not the same as the original poster.

    On 7/18/2023 at 10:33 PM, MC_Animal said:

    If anyone could help me figure out what the problem is

    Your mod is broken, possibly trying to use/register a point of interest? You should post a link to a github repo with your project in it, as trying to post just some of the code may leave out the important parts.

  4. 7 hours ago, Veguita7 said:

    Caused by: java.lang.RuntimeException: Failed to load Force Resource Cache Configuration from C:\Users\Matias\AppData\Roaming\.minecraft\config\forge-resource-caching.toml

    [...]

    Caused by: com.electronwill.nightconfig.core.io.ParsingException: Not enough data available

    I would guess that the toml file mentioned is broken. Try deleting it, forge should recreate it on the next run.

    If you're concerned about deleting it, you could always rename it instead.

  5. Quote

    Mode                 LastWriteTime         Length Name
    ----                 -------------         ------ ----
    -a----         8/11/2023   7:01 AM          48707 examplemod-1.0.0.jar

    a gradlew build worked no problem for me using your code, without changing anything.

    I'm going with my original guess that your onedrive folder is causing issues due to syncing or something during development.

  6. From the launcher, click Installations near the top, then when you point (not click) at the Installation that's giving you problems, there will be a little folder icon on the right side.

    Click that, and it will open a folder. in this folder, is a logs folder, go in there. Here you should find a debug.log file.

    It helps posting it to a paste site, because then you can view it without formatting so it preserves line breaks etc., where if you post it on here, well, it's quite a pain to read. After posting it, you just copy the link to it and paste it on here, and people can check it out and hopefully give you advice :)

    I prefer gist.github.com myself, but any site that can handle your debug.log should be fine, hastebin, pastebin, etc. etc.

  7. Quote

    java.lang.RuntimeException: Attempted to load class net/minecraft/client/gui/screens/Screen for invalid dist DEDICATED_SERVER

    You either have client-only mods on your server, or poorly coded mods that do not separate their client stuff from the rest, causing the dedicated server to not load. (the dedicated server has no screens etc. since it's a server)

    Check your modlist, might have to double check mod descriptions to make sure they say it's ok to run on a server.

  8. If I had to guess, based on

    Quote

    com.electronwill.nightconfig.core.io.ParsingException: Invalid TOML data: entry "[bind_address]" defined twice in its table.

    and then further down

    Quote

    at de.maxhenkel.voicechat.config.ConfigMigrator.migrateConfig(ConfigMigrator.java:56) ~[voicechat-forge-1.18.2-2.4.8.jar%23267!/:1.18.2-2.4.8] {re:classloading} at de.maxhenkel.voicechat.config.ConfigMigrator.onLoadLevel(ConfigMigrator.java:39) ~[voicechat-forge-1.18.2-2.4.8.jar%23267!/:1.18.2-2.4.8] {re:classloading}

    I would guess something wrong with the voicechat mods configuration.

     

    You should post your debug.log somewhere (hastebin, etc, pref one with few to no ads) and link to it here, it may have more information if that's not the issue.

  9. Did you take a look at the FarmBlock class, and see how Minecraft checks/sets moisture?

    Looks like perhaps it's done in the randomTick method for that block:

    p_221140_.setBlock(p_221141_, p_221139_.setValue(MOISTURE, Integer.valueOf(7)), 2);

    See what you can cobble together, and if it doesn't work, show what you tried and what the results were vs. what you expect.

    Also a github repo of your project so it can be cloned/downloaded and built/run/debugged would be useful for others to help find errors as well. :)

×
×
  • Create New...

Important Information

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