Jump to content

Ugdhar

Members
  • Posts

    2527
  • Joined

  • Last visited

  • Days Won

    30

Posts posted by Ugdhar

  1. 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. :)

  2. Quote

    [08ago2023 00:26:43.329] [Server thread/WARN] [net.minecraft.server.dedicated.DedicatedServer/]: **** FAILED TO BIND TO PORT!

    [08ago2023 00:26:43.329] [Server thread/WARN] [net.minecraft.server.dedicated.DedicatedServer/]: The exception was: java.net.BindException: Cannot assign requested address: bind

    [08ago2023 00:26:43.330] [Server thread/WARN] [net.minecraft.server.dedicated.DedicatedServer/]: Perhaps a server is already running on that port?

    You either have another MC server running on there w/the same port number, or another application using the port the MC server wants to use.

    • Like 1
  3. this is from IForgeItem:

    @Deprecated(forRemoval = true, since = "1.20.1") // Use onInventoryTick
    default void onArmorTick(ItemStack stack, Level level, Player player)
    {
    }

    says to use onInventoryTick. I guess it's worth a try!

  4. Looks like it's the same error, probably from the same poorly made mod that's breaking everything.

    Might have to try the binary search method:

    1. Remove half of the existing things, and put them aside.

    2. Run the program / game.

    3. Does the issue still exist?

    -If YES: Repeat from step 1 with the current things.

    -IF NO: Swap out the current things with the ones set aside, and repeat from step 1.

    4. Repeat this process until the problematic thing/s have been found.

  5. Quote

    [05Aug2023 20:32:49.426] [Worker-Main-1/ERROR] [net.minecraft.world.level.storage.LevelStorageSource/]: Exception reading V:\Desktop\Minecraft\Forge 1.20.1 (2)\saves\FlowerWorld\level.dat java.io.IOException: Invalid tag id: 101

    Quote

    [05Aug2023 20:32:53.974] [Render thread/ERROR] [net.minecraft.world.level.storage.LevelStorageSource/]: Exception reading V:\Desktop\Minecraft\Forge 1.20.1 (2)\saves\FlowerWorld\level.dat net.minecraft.ReportedException: Loading NBT data

    Did you add/remove any mods or anything before this started?

    My limited experience with corrupt worlds would lead me to believe your world has become corrupt, and you probably need a save editor to fix it (if that will even work, maybe removing whatever these invalid tag id 101s are? not 100% sure)

     

    Quote

    [05Aug2023 20:31:23.670] [Render thread/ERROR] [com.mojang.blaze3d.platform.GlDebug/]: OpenGL API ERROR: 1282 (Error has been generated. GL error GL_INVALID_OPERATION in (null): (ID: 173538523) Generic error)

    I would guess this error was why it was suggested to remove OptiFine first, but things seem to continue on past that error until it can't read the level information.

  6. 5 hours ago, punchit64 said:
    ConfigLoadingException: Failed loading config file supplementaries-common.toml of type COMMON for modid supplementaries

     

    5 hours ago, punchit64 said:
    aused by: com.electronwill.nightconfig.core.io.ParsingException: Invalid character 'k' after key [l]

    Looks like the config file for supplementaries is broken, you could try deleting it.

    If it errors out again, scan through the log for similar errors to this, I've seen cases where the whole config folder needed to be nuked because they were all broken before the pack would load.

    • Like 1
  7. Make sure you are using Minecraft Java Edition. I have no idea if an iPad can run that or not, I don't use apple products :)

    But if I had to guess, you are getting Minecraft (formerly labeled Bedrock edition) from the apple store thing, and that is not compatible with forge.

    If it's just plain Minecraft you are having issues with, you should try minecraft.net for support.

     

  8. Your pastebin link was removed for "being potentially dangerous".

    I would try gist.github.com instead.

     

    Also I believe the curseforge launcher has useful logs turned off by default, and you may need to change a setting to enable them. Unfortunately, I don't use curseforge so can't explain how to do it, but pretty sure I've seen someone with instructions in their forum signature, or a google search would probably explain how.

  9. So that kubejs mod looks like it's for making your own javascripts for doing server stuff.

    Did you make any? Or give anything a name? If it's the same error, the problem is a filename with a space in it being generated by that mod, filenames with spaces are in general just a bad idea, even though it's been 30+/- years there are still lots of things that handle them improperly.

     

    If you're not creating anything yourself, then I would guess that mod is generating it by itself, and you might need to hit up the mod author for further help.

     

    *edit: https://kubejs.com/support

  10. 1 hour ago, Drqgon said:

    net.minecraft.util.ResourceLocationException: Non [a-z0-9/._-] character in path of location: kubejs:models/machine/seed_deconstructor_model 2.json

    That's crazy that it worked last night, because it shouldn't have with a broken resource path like that, as far as I know.

    You didn't add this machines mod between then and now?

  11. Does it still crash if you remove Iron's Spellbooks?

    I see that mod listed all over many of the errors. I'm unsure if that's the cause, or a symptom of the real issue.

    The only other mod I see mentioned in those errors is majrusz-library-1.20-4.3.2.jar so you could possibly try removing/updating that one also.

     

    If it's neither one of those, then you may need to either start removing mods, or start building your pack over again adding them a few at a time, and then testing stability in between removals or additions.

  12. The forge documentation is there mostly to just get you started, and explain some key terms/ideas. I don't think they meant it to be a how-to or to teach people how to accomplish specific goals within their mod.

    There's is a community wiki that was being used, I have no idea if it will be updated/maintained going forward, that has a little bit more/other information: https://forge.gemwire.uk/wiki/Main_Page

    Also McJty goes into some detail on some common goals people have while creating mods: https://www.mcjty.eu/docs/intro

    Beyond that, the best advice I have is to look at the code of other mods, and even dig through the minecraft code itself for ideas of what's available for overrides/properties/etc., and tinker with stuff constantly :)

    • Like 1
  13. 9 hours ago, NCP Bails said:

    it encounters an error during the common_setup phase, as modestmining:prismarite_speed is not present.

    You shouldn't quote an error like that, full logs are needed for context.

    A github repository of the current code is also helpful, as opposed to copied and pasted bits, and would possibly avoid errors in communication such as the (seemingly) missing get() method call.

    I believe these things are needed for further assistance/debugging.

  14. 13 hours ago, EvgeniyTN said:

    I bought a minecraft account on another site with full access

    What does that mean, exactly?

    If you didn't buy it directly from minecraft.net, or perhaps the Microsoft store, then you may have been scammed and/or sold an illegal/illegitimate copy.

×
×
  • Create New...

Important Information

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