Jump to content

Getting Radius of chunks


jredfox

Recommended Posts

11 minutes ago, diesieben07 said:

What is a "cubed mc style radius"?

radius is normally in circle style this is radius in mc style radius of 1. circle style has 4 points cube style has more then that depending on the radius

xxx
xyx
xxx

 

I am mostly confused on how to get chunks without creating them if it's null. I think I found the equation of getting radius in chunks though from this post. How does one get chunks and expect null if not loaded already so it doesn't become recursion and lag everything. I don't want to populate or generate it if it doesn't exist

 

Edited by jredfox
Link to comment
Share on other sites

1 hour ago, diesieben07 said:

What is a "cubed mc style radius"?

Would this make recursion I am trying to avoid it when trying to get chunk radius otherwise it would lag very bad seconds per chunk 

 

	/**
	 * Get chunks from center radius intention is to ignores chunks that haven't been populated yet?
	 */
	public static ArrayList<Chunk> getRadiusChunks(World w, int chunkPosX, int chunkPosZ,int radius) {
		ArrayList<Chunk> chunks = new ArrayList();
		  for (int x = chunkPosX - radius; x <= chunkPosX + radius; x++) {
	            for (int z = chunkPosZ - radius; z <= chunkPosZ + radius; z++) {
	            	if(w.isChunkGeneratedAt(x, z))
	            		chunks.add(w.getChunkFromChunkCoords(x, z));
	            }
		  }
		return chunks;
	}

 

Edited by jredfox
Link to comment
Share on other sites

isn't solved I got this warning

[17:32:12] [Server thread/WARN] [FML]: Dungeon Tweeks loaded a new chunk (-14, 6  Dimension: -1) during chunk population, causing cascading worldgen lag. Please report this to the mod's issue tracker. This log can be disabled in the Forge config.

 

 

Also I noticed that this might not work with negitive chunks is this correct? What should I do instead math.abs then what?

Edited by jredfox
Link to comment
Share on other sites

If you are in a chunk that has just been populated, you can only (for sure) request the three chunks that are X+ and Z+ of the current one

Apparently I'm a complete and utter jerk and come to this forum just like to make fun of people, be confrontational, and make your personal life miserable.  If you think this is the case, JUST REPORT ME.  Otherwise you're just going to get reported when you reply to my posts and point it out, because odds are, I was trying to be nice.

 

Exception: If you do not understand Java, I WILL NOT HELP YOU and your thread will get locked.

 

DO NOT PM ME WITH PROBLEMS. No help will be given.

Link to comment
Share on other sites

11 hours ago, Draco18s said:

If you are in a chunk that has just been populated, you can only (for sure) request the three chunks that are X+ and Z+ of the current one

I don't want an ify of only scan these chunks I want a radius that will get any loaded chunks already and maybe also ones that doe exists (on disk) but, are dormant

Link to comment
Share on other sites

2 minutes ago, diesieben07 said:

There is no black and white "generated" and "not generated". Chunks may have rough generation (terrain, etc.) being done but they are not populated (trees, other plants, structures, etc.) yet. Requesting those latter chunks will cause them to be populated.

 

Do you want those chunks or not?

I actually saw loaded chunks in one of the classes so there is a way to determine that part. And I might have seen stuff with does exists on disk. I just need to know when chunks are written to disk one they are unloaded? So if it's not written to disk and if it's not loaded I should ignore that chunk.

 

So vanilla keeps track of loaded chunks I might have to do some manual reflection method to determine if it exists on the disk if if not loaded or not on disk return null maybe then the messege would go away. Or would forge still be spamming that console if I loaded a chunk that was already to the disk.

 

If I load a chunk is it forever loaded or does an entity/tile entity need to keep loading it? If so I am not worried about loading unloaded chunks that have been populated and exist on disk but, not loaded into memory

Link to comment
Share on other sites

7 minutes ago, diesieben07 said:

I am having a real hard time following what you are trying to say.

Why are you trying to check for loaded chunks? Also please clarify what you mean by "loaded". Loaded into RAM? 

because when scanning for an already scanned chunk from my mod such as the blaze spawner going to an already loaded chunk scan radius of 1 to newer chunk and bam find the blaze spawner that is why I am scanning in the radius. yes loaded into ram

 

My code specified only if chunk wasn't loaded to add it to the arraylist  what is wrong with vanilla that simply doing that loads the chunk anyways?

Edited by jredfox
Link to comment
Share on other sites

1 minute ago, diesieben07 said:

I asked why you are checking for loaded chunks. Not why you are scanning.

 

isChunkGeneratedAt should not cause a chunkload. Use the debugger to find out why (or if) it does.

doesn't happen one only the default chunk was added the current chunk.

 

if(w.isChunkGeneratedAt(x, z));

doesn't seem to be causing it the code causing it has to be

chunks.add(w.getChunkFromChunkCoords(x, z));

 

Link to comment
Share on other sites

4 minutes ago, diesieben07 said:

Your sentences make no sense, sorry.

  public boolean isChunkGeneratedAt(int x, int z)
    {
        return this.isChunkLoaded(x, z, false) ? true : this.chunkProvider.isChunkGeneratedAt(x, z);
    }

it's checking for both the is generated and is loaded. Forge is saying o no the chunks are loading before we expect them to.

 

I was saying if I use reflection to call world.isChunkLoaded(x,z,false); instead of simply world.isChunkGeneratedAt(x,z) will it cause issues with the spawner I am scanning for not to show up sometimes?

Edited by jredfox
Link to comment
Share on other sites

Just now, diesieben07 said:

Checking if the chunk is generated yet does not check if it is populated (i.e. chunks which are generated but not populated will be accepted as "ok" by your method). But accessing it will cause it to get populated.

 

You must follow Draco's advice.

Actually I could simply create my own method I found some codessss
https://bukkit.org/threads/how-do-you-determine-if-a-chunk-has-been-loaded-and-populated.216667/

 

Chunk c = w.getChunkProvider().getLoadedChunk(x, z);
 if(c.isPopulated())

 

There is also forge fetch dormant chunk then I could check if it is populated already which should return true else do nothing

Link to comment
Share on other sites

1 hour ago, diesieben07 said:

This will be equivalent to what Draco suggested. Only way too complicated.

Got it working had to check both loaded and populated chunks. If loaded is null check dormant populated chunks

Edited by jredfox
Link to comment
Share on other sites

2 minutes ago, diesieben07 said:

No.

One last quest will using cause any breakage since I don't call chunk.load or populate? I only use it when the loaded chunk is null
 

long pos = ChunkPos.asLong(x, z);
c = net.minecraftforge.common.ForgeChunkManager.fetchDormantChunk(pos, w);

 

Edited by jredfox
Link to comment
Share on other sites

2 minutes ago, diesieben07 said:

The fact that you ask this shows you should not call it... Why are you randomly calling methods that you do not understand?

 

fetchDormantChunk is an internal method used by Forge to cache Chunk data in RAM to make chunks that rapidly load and unload less taxing. You do not need to call it, it is called from patches to vanilla code already.

Ok how do I get an unloaded chunk without loading it into memory via the world? Then once I determine if it's populated then I should load it into the world temporary then at end of the method unload so it sync's?

Edited by jredfox
Link to comment
Share on other sites

8 minutes ago, diesieben07 said:

You cannot.

Well if I comment out the lines about getting using the method you don't like it turns into a blaze spawener again. So what's the issue it loads it into ram how do I unload it because I physically need to scan this or maybe I should be using player tick on server side?


So what should I be unloading or should I let the game do that really confused right now because, if I don't use that method then it doesn't do it's job with the wither skele spawners

https://github.com/jredfox/dungeontweeks

 

public static Chunk getLoadedOrPopulatedChunk(World w, int x, int z)
	{
		Chunk c = w.getChunkProvider().getLoadedChunk(x, z);
		if(c == null)
			c = getPopulatedChunk(w,x,z,true);
		return c;
	}
public static Chunk getPopulatedChunk(World w, int x, int z,boolean dormant) {
		Chunk c = null;
		if(!dormant)
			w.getChunkProvider().getLoadedChunk(x, z);
		if(c == null)
		{
			 long pos = ChunkPos.asLong(x, z);
	         c = net.minecraftforge.common.ForgeChunkManager.fetchDormantChunk(pos, w);
	         if(c == null)
	        	 return null;
		}
    	if(c.isPopulated())
    		return c;
    	else
    		return null;
	}

 

Edited by jredfox
Link to comment
Share on other sites

2 minutes ago, diesieben07 said:

I guess actually you will ultimately have to call it, but you can't do it that simple.

You would need to copy what ChunkProviderServer::loadChunk does in some way (and leave out the chunk population), but this is getting quite dangerous, as you might end up with chunks in the world which are not populated and the game will "forget" to populate them until they unload and reload again.

 

Overall this "loading of chunks but not populating them" is not a good idea.

What about this it's seems simple and clean with it unloading the chunk from the world or whatever as soon as I fetch it then it will re-load it when necessary if tile entities are read and update properly because if it's dormant it will do it if it's not it won't

public static Chunk getPopulatedChunk(World w, int x, int z,boolean dormant) {
		Chunk c = null;
		if(!dormant)
			w.getChunkProvider().getLoadedChunk(x, z);
		if(c == null)
		{
			 long pos = ChunkPos.asLong(x, z);
	         c = net.minecraftforge.common.ForgeChunkManager.fetchDormantChunk(pos, w);
	         if(c == null)
	        	 return null;
	         c.onUnload();//if dormant chunk isn't null unload after fetching
		}
    	if(c.isPopulated())
    		return c;
    	else
    		return null;
	}

 

Link to comment
Share on other sites

2 minutes ago, diesieben07 said:
  • Chunk::onUnload does not unload the chunk.
  • You should really change the name of that "dormant" parameter.
  • Your method will not work for chunks which are generated, but are not loaded into memory at the moment.

Then What should I be calling? Everything that the provider server is calling?

Link to comment
Share on other sites

19 minutes ago, diesieben07 said:
  • Chunk::onUnload does not unload the chunk.
  • You should really change the name of that "dormant" parameter.
  • Your method will not work for chunks which are generated, but are not loaded into memory at the moment.

Edit: I don't think I need dormant chunks do I? Because, by placing blocks into unloaded chunks it would load them right? Well if that's true then it was just something I did that was my fault which I did fix but, I want to be 100% in case your speed with a mod velocity goes like 80 blocks a second and unloads chunks before the next one can load causing issues.

 

But if that's the case that above is going to cause Issues I should still work on getting dormant chunks how should I accomplish this?

Edited by jredfox
Link to comment
Share on other sites

2 hours ago, diesieben07 said:

25jnbn.jpg

 

Sorry, mate, you just keep spewing out words. It is completely unclear to me what the hell you are talking about and what you are trying to do.

well I thought it meant chunks written to disk but, not loaded into memory made some sense.

 

I am looking for unloaded chunks how do I get unloaded chunks then only if it's not in the process of loading? But, am I already fine or does it need more work I currently now only use loaded chunks radius

 

so what is dormant chunks and when do they get stored to a cache not to be used should I also be grabbing them or nah?

Edited by jredfox
Link to comment
Share on other sites

31 minutes ago, diesieben07 said:

I already explained this above. Dormant chunks are chunks that have been kept in RAM by Forge after they are unloaded in case they are loaded again quickly.

 

What is "it"? Who is loading? I thought you were saying unloaded chunks...

Loaded chunks = already grab them
Dormant chunks = ok don't need them

Unloaded chunks = how does one get them if and only if they are populated, if forge freaks out about generally loading a chunk on populate then I will forget it

 

Hope that's clear just that one last question here thanks. Yes my spawners are working I did something really stupid when converting the event back to the old one

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
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
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.



  • Recently Browsing

    • No registered users viewing this page.
  • Posts

    • Sorry, but I would like to ask if anyone else is experiencing the problem: java.lang.ClassCastException: class net.minecraft.client.player.LocalPlayer cannot be cast to class net.minecraft.server.level.ServerPlayer (net.minecraft.client .player.LocalPlayer and net.minecraft.server.level.ServerPlayer are in module [email protected] of loader 'TRANSFORMER' @19a64eae) This problem appeared yesterday, while I was testing parts of my mod, which I had previously tested. I thought I might have messed up somewhere, so today I went back to a previous version, already tested and functional, and it turns out that I ran into the same problem. Someone knows what is due? I can't share the entire code, but I can give you the parts that cause the error, I hope you can help me. Thanks in advance.   DataUtil Class public static void setBooleanOnServerAndSync(Player p, String key, boolean value, boolean temporary) { p.getCapability(PlayerDataProvider.PLAYER_DATA, null).ifPresent(playerData -> { playerData.setBoolean(key, value, temporary); Messages.sendToPlayer(SyncPlayerDataPacket.toClient(key).setBoolean(value), (ServerPlayer) p); //It fails here if (value) { ResearchUtil.markResearchAsUpdated(p, key); } }); } Gui that calls the previous method public void tick() { this.timePassed++; if (this.timePassed > 1000) { this.minecraft.setScreen(null); assert minecraft.level != null; assert minecraft.player != null; DataUtil.setBooleanOnServerAndSync(Objects.requireNonNull(minecraft.level.getPlayerByUUID(minecraft.player.getUUID())),"eldritchDream", true,false); } else if (this.timePassed == 20) { Minecraft.getInstance().player.playSound(Registration.DREAM_ALIENIS.get(), 1, 1); } super.tick(); } Error Log (Website paste.ee)
    • This is the code for my enchantment tags provider for data generation: public final class ModEnchantmentTagsProvider extends EnchantmentTagsProvider { public ModEnchantmentTagsProvider(PackOutput packOutput, CompletableFuture<Provider> lookupProvider) { super(packOutput, lookupProvider); } @Override protected void addTags(Provider provider) { tag(EnchantmentTags.ARMOR_EXCLUSIVE) .add(ArmorEnchantments.FREEZING_PROTECTION) .add(ArmorEnchantments.LIGHTNING_PROTECTION) .add(ArmorEnchantments.MAGIC_PROTECTION) .add(ArmorEnchantments.SONIC_PROTECTION); tag(ModEnchantmentTags.XP_GAIN_EXCLUSIVE) .add(Enchantments.MENDING) .add(ArmorEnchantments.EXPLORATION); } @Override public String getName() { return "Unique Magic Enchantment Tags"; } }   So what am I doing here is: 1) Adding my custom protection enchantments to be ARMOR_EXCLUSIVE so they don't clash with existing protection enchantments 2) Adding tag that makes my custom EXPLORATION enchantment to be exclusive with MENDING enchantment This is then registered in ModDataGenerators: dataGen.addProvider(event.includeServer(), new ModEnchantmentTagsProvider(packOutput, lookupProvider)); When datagen is run, I end up with this error: Caused by: java.util.concurrent.CompletionException: java.lang.IllegalArgumentException: Couldn't define tag minecraft:exclusive_set/armor as it is missing following references: uniquemagic:freezing_protection,uniquemagic:lightning_protection,uniquemagic:magic_protection,uniquemagic:sonic_protection Enchantments have been migrated to 1.21 and they work in game as they did in 1.20.6. I also get enchantment JSON files in src/generated/resources so that is working well too. However, I cannot make these tags to work no matter what I try. Is there something that I am missing?  
    • Help me, I deleted the mods that were complained about in loge, but nothing changes Log: java version "19.0.2" 2023-01-17 Java(TM) SE Runtime Environment (build 19.0.2+7-44) Java HotSpot(TM) 64-Bit Server VM (build 19.0.2+7-44, mixed mode, sharing) Hosting-Minecraft: Проверка файлов сервера на наличие Forge 1.17+  Hosting-Minecraft: Forge не найден, выполняем стандартный запуск jar файла... Hosting-Minecraft: java -Xms128M -XX:MaxRAMPercentage=95.0 -Dsip=65.108.21.152 -Dspt=25630 -XX:ConcGCThreads=2 -XX:ParallelGCThreads=2 -XX:+UseSerialGC -DPaper.IgnoreJavaVersion=true -Dfml.readTimeout=1024 -Dfml.queryResult=confirm -Dlog4j2.formatMsgNoLookups=true -Dterminal.jline=false -Dterminal.ansi=true -DIReallyKnowWhatIAmDoingISwear=true -Duser.timezone=Europe/Moscow -jar -Dfile.encoding=UTF-8 server.jar nogui Starting net.fabricmc.loader.impl.game.minecraft.BundlerClassPathCapture [13:43:46] [main/INFO]: Loading Minecraft 1.19.2 with Fabric Loader 0.15.11 [13:43:46] [ForkJoinPool-1-worker-1/WARN]: The mod "moreculling" contains invalid entries in its mod json: - Unsupported root entry "embedded" at line 35 column 13 [13:43:46] [ForkJoinPool-1-worker-2/WARN]: Mod structory uses the version 1.3.1a which isn't compatible with Loader's extended semantic version format (Could not parse version number component '1a'!), SemVer is recommended for reliably evaluating dependencies and prioritizing newer version [13:43:46] [ForkJoinPool-1-worker-2/WARN]: Mod letmedespawn uses the version fabric-1.0.2 which isn't compatible with Loader's extended semantic version format (Could not parse version number component 'fabric'!), SemVer is recommended for reliably evaluating dependencies and prioritizing newer version [13:43:46] [ForkJoinPool-1-worker-1/WARN]: Mod brewinandchewin uses the version fabric-2.0.0+1.19.2 which isn't compatible with Loader's extended semantic version format (Could not parse version number component 'fabric'!), SemVer is recommended for reliably evaluating dependencies and prioritizing newer version [13:43:46] [ForkJoinPool-1-worker-1/WARN]: Mod booking_it uses the version unversioned which isn't compatible with Loader's extended semantic version format (Could not parse version number component 'unversioned'!), SemVer is recommended for reliably evaluating dependencies and prioritizing newer version [13:43:46] [main/WARN]: Warnings were found!  - Mod 'Trinkets Curios Theme' (trinkets-curios-theme) 0.2.2+1.19 recommends any version of scout, which is missing!          - You should install any version of scout for the optimal experience. [13:43:46] [main/INFO]: Loading 294 mods:         - additionz 1.1.10         - advanced_runtime_resource_pack 0.6.4         - advdebug 2.3.0         - adventurez 1.4.18         - amecs 1.3.8+mc.1.19-rc2            \-- amecsapi 1.3.6+mc22w17a         - another_furniture 2.1.2-1.19.2         - appleskin 2.4.1+mc1.19         - attributefix 17.2.6         - autotag-convention 2.0.0+1.19            \-- autotag 2.0.0+1.19         - backslot 1.2.11            \-- amecsapi 1.3.6+mc22w17a         - backslotaddon 1.0.10         - balm-fabric 4.5.7         - bclib 2.1.7         - beautify 1.1.1+fabric-1.19.2            |-- cardinal-components-base 5.0.2            |-- cardinal-components-entity 5.0.2            \-- cardinal-components-world 5.0.2         - betteradvancements 0.2.2.147         - bettercombat 1.7.1+1.19         - betterdeserttemples 1.19.2-Fabric-2.2.2            \-- org_reflections_reflections 0.10.2         - betterdungeons 1.19.2-Fabric-3.2.1         - betterend 2.1.6         - betterfortresses 1.19.2-Fabric-1.0.5         - betterladdersmod 0.0.1-1.19.2         - bettermineshafts 1.19.2-Fabric-3.2.0         - betternether 7.1.4         - betteroceanmonuments 1.19.2-Fabric-2.1.0         - betterstats 2.8.1+1.19.2            |-- architectury 6.5.77            \-- tcdcommons 2.8+1.19.2         - betterthanmending 1.3.0         - blossom 1.0.7         - bookshelf 16.3.20         - brewinandchewin fabric-2.0.0+1.19.2            |-- booking_it unversioned            |    \-- mm 2.3            \-- mm 2.3         - bushierflowers 0.0.1-1.19.2         - cardinal-components 5.0.2            |-- cardinal-components-base 5.0.2            |-- cardinal-components-block 5.0.2            |-- cardinal-components-chunk 5.0.2            |-- cardinal-components-entity 5.0.2            |-- cardinal-components-item 5.0.2            |-- cardinal-components-level 5.0.2            |-- cardinal-components-scoreboard 5.0.2            \-- cardinal-components-world 5.0.2         - cavedust 1.2.0            \-- kirin 1.11.1-beta.1         - charmofundying 6.2.0+1.19.2         - chipped 2.1.5         - ciif 1.0.0+1.19         - cloth-config 8.2.88            \-- cloth-basic-math 0.6.1         - collective 6.57         - combatroll 1.1.5+1.19         - connectiblechains 2.1.4+1.19.2         - corgilib 1.0.0.34            |-- com_electronwill_night-config_core 3.6.6            \-- com_electronwill_night-config_toml 3.6.6         - couplings 1.9.1+1.19         - crawl 0.11.1            \-- mm 2.3         - creativecore 2.9.3         - creaturesfromthesnow 4.1.0+1.19.2         - creeperoverhaul 2.0.9         - customportals 3.2.0            |-- cardinal-components-base 5.0.2            |-- cardinal-components-world 5.0.2            |-- completeconfig-base 2.1.0            \-- completeconfig-gui-cloth 2.1.0         - customspawns 0.7+1.19         - dawn 3.5.0         - debugify 2.8.0         - defaultoptions 15.0.1         - dehydration 1.3.4         - disenchanter 0.1.7+1.19         - do_a_barrel_roll 2.6.2+1.19.2            |-- cardinal-components-base 5.0.2            |-- cardinal-components-entity 5.0.2            \-- cicada 0.1.2                 \-- langfiles-plus 1.0.0         - dummmmmmy 1.19.2-1.7.2         - dungeonz 1.0.1         - earlystage 1.0.10         - easymagic 4.3.3         - ecologics 2.1.11         - elytraslot 6.1.1+1.19.2         - emi 1.0.2+1.19.2+fabric         - emi_loot 0.6.2+1.19         - emiffect 0.1.5+mc1.19.2         - enchanted-vertical-slabs 1.8         - enderscape 0.3.5-1.19.1         - endrem 5.2.0         - entitycollisionfpsfix 2.0.0.0         - environmentz 2.0.5            \-- satin 1.9.0         - eventmod 1.0.5         - expandeddelight 0.2.5         - experiencebottler 1.19+build.2         - fabric-api 0.76.0+1.19.2            |-- fabric-api-base 0.4.15+8f4e8eb390            |-- fabric-api-lookup-api-v1 1.6.14+93d8cb8290            |-- fabric-biome-api-v1 9.1.1+16f1e31390            |-- fabric-block-api-v1 1.0.2+e415d50e90            |-- fabric-blockrenderlayer-v1 1.1.25+cafc6e8e90            |-- fabric-client-tags-api-v1 1.0.5+b35fea8390            |-- fabric-command-api-v1 1.2.16+f71b366f90            |-- fabric-command-api-v2 2.2.1+413cbbc790            |-- fabric-commands-v0 0.2.33+df3654b390            |-- fabric-containers-v0 0.1.41+df3654b390            |-- fabric-content-registries-v0 3.5.2+7c6cd14d90            |-- fabric-convention-tags-v1 1.3.0+4bc6e26290            |-- fabric-crash-report-info-v1 0.2.8+aeb40ebe90            |-- fabric-data-generation-api-v1 5.3.8+413cbbc790            |-- fabric-dimensions-v1 2.1.35+0d0f210290            |-- fabric-entity-events-v1 1.5.4+9244241690            |-- fabric-events-interaction-v0 0.4.34+562bff6e90            |-- fabric-events-lifecycle-v0 0.2.36+df3654b390            |-- fabric-game-rule-api-v1 1.0.24+b6b6abb490            |-- fabric-item-api-v1 1.6.6+b7d1888890            |-- fabric-item-groups-v0 0.3.39+9244241690            |-- fabric-key-binding-api-v1 1.0.25+5c4fce2890            |-- fabric-keybindings-v0 0.2.23+df3654b390            |-- fabric-lifecycle-events-v1 2.2.4+1b46dc7890            |-- fabric-loot-api-v2 1.1.13+83a8659290            |-- fabric-loot-tables-v1 1.1.16+9e7660c690            |-- fabric-message-api-v1 5.0.7+93d8cb8290            |-- fabric-mining-level-api-v1 2.1.24+33fbc73890            |-- fabric-models-v0 0.3.21+c6af733c90            |-- fabric-networking-api-v1 1.2.11+10eb22f490            |-- fabric-networking-v0 0.3.28+df3654b390            |-- fabric-object-builder-api-v1 4.2.2+d8ef690890            |-- fabric-particles-v1 1.0.14+4d0d570390            |-- fabric-recipe-api-v1 1.0.1+413cbbc790            |-- fabric-registry-sync-v0 0.9.32+9244241690            |-- fabric-renderer-api-v1 1.2.1+1adbf27790            |-- fabric-renderer-indigo 0.8.0+1adbf27790            |-- fabric-renderer-registries-v1 3.2.24+df3654b390            |-- fabric-rendering-data-attachment-v1 0.3.19+6e0787e690            |-- fabric-rendering-fluids-v1 3.0.11+4d0d570390            |-- fabric-rendering-v0 1.1.27+df3654b390            |-- fabric-rendering-v1 1.12.1+d8ef690890            |-- fabric-resource-conditions-api-v1 2.1.2+aae9039d90            |-- fabric-resource-loader-v0 0.8.4+edbdcddb90            |-- fabric-screen-api-v1 1.0.32+4d0d570390            |-- fabric-screen-handler-api-v1 1.3.7+1cc24b1b90            |-- fabric-sound-api-v1 1.0.2+c4f28df590            |-- fabric-textures-v0 1.0.24+aeb40ebe90            |-- fabric-transfer-api-v1 2.1.6+413cbbc790            \-- fabric-transitive-access-wideners-v1 1.3.3+08b73de490         - fabric-language-kotlin 1.9.5+kotlin.1.8.22            |-- org_jetbrains_kotlin_kotlin-reflect 1.8.22            |-- org_jetbrains_kotlin_kotlin-stdlib 1.8.22            |-- org_jetbrains_kotlin_kotlin-stdlib-jdk7 1.8.22            |-- org_jetbrains_kotlin_kotlin-stdlib-jdk8 1.8.22            |-- org_jetbrains_kotlinx_atomicfu-jvm 0.20.2            |-- org_jetbrains_kotlinx_kotlinx-coroutines-core-jvm 1.7.1            |-- org_jetbrains_kotlinx_kotlinx-coroutines-jdk8 1.7.1            |-- org_jetbrains_kotlinx_kotlinx-datetime-jvm 0.4.0            |-- org_jetbrains_kotlinx_kotlinx-serialization-cbor-jvm 1.5.1            |-- org_jetbrains_kotlinx_kotlinx-serialization-core-jvm 1.5.1            \-- org_jetbrains_kotlinx_kotlinx-serialization-json-jvm 1.5.1         - fabricloader 0.15.11            \-- mixinextras 0.3.5         - fabricshieldlib 1.7-1.19.2            \-- mm 2.3         - fancymenu 2.14.7         - farmersdelight 1.19.2-1.3.9         - farmersrespite 2.2.4            \-- porting_lib 2.1.656+1.19.2                 |-- forge_tags 3.0                 |-- porting_lib_base 2.1.656+1.19.2                 |    \-- serialization_hooks 0.3.26                 |-- porting_lib_entity 2.1.656+1.19.2                 |-- porting_lib_lazy_registration 2.1.656+1.19.2                 |-- porting_lib_model_generators 2.1.656+1.19.2                 |-- porting_lib_models 2.1.656+1.19.2                 |-- porting_lib_networking 2.1.656+1.19.2                 |-- porting_lib_obj_loader 2.1.656+1.19.2                 |    \-- porting_lib_model_loader 2.1.656+1.19.2                 \-- porting_lib_transfer 2.1.656+1.19.2                      \-- porting_lib_extensions 2.1.656+1.19.2                           |-- porting_lib_accessors 2.1.656+1.19.2                           |-- porting_lib_attributes 2.1.656+1.19.2                           |    \-- porting_lib_constants 2.1.656+1.19.2                           \-- porting_lib_common 2.1.656+1.19.2         - ferritecore 5.0.3         - forgeconfigapiport 4.2.11         - frame 0.26.1+1.19-fabric            |-- frame-api-base 0.2.1+906ebc04a9            |-- frame-blocks-v0 0.1.3+233e7428a9            |-- frame-config-v0 0.3.1+0fa45150a9            |-- frame-content-registries-v0 0.4.0+2876b511a9            |-- frame-enchantments-v0 0.1.0+4093105da9            |    \-- mm 2.3            |-- frame-game-rules-v0 0.2.4+e7ce56a6a9            |-- frame-items-v0 0.1.3+906ebc04a9            |-- frame-loot-tables-v0 0.1.4+4f7341eca9            |-- frame-registries-v0 0.1.1+0e0ec74ea9            |-- frame-rendering-v0 0.1.5+906ebc04a9            |-- frame-tabbed-item-groups-v0 0.2.4+0aca9b56a9            |-- frame-toymaker-v0 0.6.1+b13741c3a9            \-- frame-woods-v0 0.2.1+6a33fbada9         - geckolib3 3.1.40            \-- com_eliotlash_mclib_mclib 20         - geodes 1.7+1.19         - geophilic 1.19-2.0.0b         - go-fish 1.6.0-1.19.1         - guarding 1.19.2+2.2.0         - handcrafted 2.0.6         - herdspanic 1.0.6         - hopobetterunderwaterruins 1.1.1         - horseexpert 4.0.0         - ice_boat_nerf 1.0.14         - iceberg 1.0.46         - immersive_armors 1.5.5+1.19.2         - inmis 2.7.1-1.19            \-- omega-config 1.2.3-1.18.1         - inmisaddon 1.0.4         - interactic 0.1.11+1.19         - java 19         - jobsaddon 1.1.1         - jumpoverfences 1.1.0         - konkrete 1.6.1         - lazydfu 0.1.3         - letmedespawn fabric-1.0.2         - levelz 1.4.9         - libz 1.0.0         - lithium 0.11.1         - logbegone 1.0.6         - lootr 0.4.26.65         - mcwfences 1.0.7         - mcwwindows 2.1.2         - medievalweapons 1.4.5            \-- reach-entity-attributes 2.3.0         - midnightlib 1.0.0         - minecraft 1.19.2         - modernfix 3.7.1            |-- fabric-models-v0 0.3.21+c6af733c90            \-- fabric-screen-api-v1 1.0.32+4d0d570390         - moisturization 1.2.1         - moonlight 1.19.2-2.2.38         - moremobvariants 1.0.1         - musketmod 1.4.6         - nameplate 1.1.3         - naturalist 3.0.2         - nbtcrafting 2.2.3+mc1.19         - netherportalfix 10.0.1         - nethersdelight 1.0.1            \-- disable_custom_worlds_advice 3.0         - nochatreports 1.19.2-v1.13.12            |-- fabric-rendering-v1 1.11.0+73145abb90            \-- fabric-screen-api-v1 1.0.27+93d8cb8290         - numismatic-overhaul 0.2.8+1.19            |-- cardinal-components-base 5.0.2            |-- cardinal-components-entity 5.0.2            \-- stacc 1.3.3         - numismaticclaim 1.0.8         - onsoulfire 1.19-2         - openpartiesandclaims 0.17.3         - overweight_farming 1.19.2-2.0.2-fabric            |-- playerabilitylib 1.6.0            |-- reach-entity-attributes 2.3.0            \-- terraform-wood-api-v1 4.2.0         - owo 0.9.3+1.19            \-- blue_endless_jankson 1.2.1         - partyaddon 1.0.3         - patchouli 1.19.2-77-FABRIC            \-- fiber 0.23.0-2         - patchoulibutton 1.0.2         - paxi 1.19.2-Fabric-3.0.1         - player-animator 1.0.2         - polymorph 0.46.1+1.19.2         - puzzleslib 4.4.0            |-- cardinal-components-base 5.0.2            |-- cardinal-components-block 5.0.2            |-- cardinal-components-chunk 5.0.2            |-- cardinal-components-entity 5.0.2            \-- cardinal-components-world 5.0.2         - realisticfirespread 1.19-2         - reciperemover 1.0.5         - resourcefulconfig 1.0.20         - resourcefullib 1.1.24         - revive 1.0.5         - rotten 1.4.7         - rpgdifficulty 1.3.12         - seasons 2.2.1+1.19         - seasonsextras 1.2-BETA+1.19         - sleepwarp 2.0.0+1.19.2         - sod 22.10.13         - sootychimneys 1.0         - sound_physics_remastered 1.19.2-1.0.18         - spark 1.10.37            \-- fabric-permissions-api-v0 0.1-SNAPSHOT         - spectrelib 0.12.7+1.19.2         - spiceoffabric 1.6.0-beta.4+1.19.2            |-- capsaicin 1.3.1+mc1.19.3            |-- coat 1.0.0-beta.18+mc22w17a            |-- tweed4_annotated 1.3.1+mc22w17a            |-- tweed4_base 1.7.1+mc22w17a            |-- tweed4_data 1.2.1+mc22w17a            |-- tweed4_data_hjson 1.1.1+mc22w17a            |-- tweed4_tailor_coat 1.1.3+mc22w17a            \-- tweed4_tailor_screen 1.1.1+mc22w17a         - spoiledz 1.0.7         - starlight 1.1.1+fabric.ae22326         - starterkit 5.2         - stendhal 1.3.4-1.19            \-- libgui 6.0.0-beta.5+1.19-pre1                 |-- jankson 4.1.1+j1.2.1                 \-- libninepatch 1.1.0         - structory 1.3.1a         - suggestion_tweaker 1.19.1-1.4.1         - t_and_t 1.10         - takesapillage 1.0.4         - tawct 1.4.3+1.19.2         - tiered 1.2.7            \-- reach-entity-attributes 2.3.0         - tlc 1.0.0         - toms_storage 1.5.7         - treechop 0.17.6         - trinkets 3.4.2         - trinkets-curios-theme 0.2.2+1.19         - universal_ores 1.4.2         - villagerfix 1.0.3         - vinery 1.2.3            \-- terraform-wood-api-v1 4.2.0         - voicechat 1.19.2-2.4.9            \-- fabric-key-binding-api-v1 1.0.18+9ff28f4095         - voidz 1.0.9         - waterdripsound 1.19-0.3.0         - wwoo 3.1.9.1         - xaeroworldmap 1.30.3         - yet-another-config-lib 2.2.0-for-1.19.2         - yungsapi 1.19.2-Fabric-3.8.9            \-- org_javassist_javassist 3.28.0-GA [13:43:46] [main/INFO]: SpongePowered MIXIN Subsystem Version=0.8.5 Source=file:/home/container/libraries/net/fabricmc/sponge-mixin/0.13.3+mixin.0.8.5/sponge-mixin-0.13.3+mixin.0.8.5.jar Service=Knot/Fabric Env=SERVER [13:43:46] [main/INFO]: Compatibility level set to JAVA_17 [13:43:47] [main/WARN]: Reference map 'dummmmmmy-fabric-refmap.json' for dummmmmmy.mixins.json could not be read. If this is a development environment you can ignore this message [13:43:47] [main/INFO]: Loaded configuration file for Lithium: 114 options available, 1 override(s) found [13:43:47] [main/INFO]: Loaded configuration file for ModernFix: 45 options available, 0 override(s) found [13:43:47] [main/INFO]: Applying Nashorn fix [13:43:47] [main/WARN]: Reference map 'NethersDelight-refmap.json' for nethersdelight.mixins.json could not be read. If this is a development environment you can ignore this message [13:43:47] [main/WARN]: Reference map 'fabric-the-lost-castle-refmap.json' for tlc.mixins.json could not be read. If this is a development environment you can ignore this message [13:43:48] [main/WARN]: Error loading class: net/minecraft/class_459$class_462 (java.lang.ClassNotFoundException: net/minecraft/class_459$class_462) [13:43:48] [main/WARN]: @Mixin target net.minecraft.class_459$class_462 was not found amecs.mixins.json:ControlsListWidgetKeyBindingEntryAccessor from mod amecs [13:43:48] [main/WARN]: Error loading class: net/minecraft/class_309 (java.lang.ClassNotFoundException: net/minecraft/class_309) [13:43:48] [main/WARN]: @Mixin target net.minecraft.class_309 was not found amecs.mixins.json:MixinKeyboard from mod amecs [13:43:48] [main/WARN]: Error loading class: net/minecraft/class_638$class_5271 (java.lang.ClassNotFoundException: net/minecraft/class_638$class_5271) [13:43:48] [main/WARN]: @Mixin target net.minecraft.class_638$class_5271 was not found dust.mixins.json:ClientWorldAccessor from mod cavedust [13:43:48] [main/WARN]: Error loading class: net/minecraft/class_293 (java.lang.ClassNotFoundException: net/minecraft/class_293) [13:43:48] [main/WARN]: @Mixin target net.minecraft.class_293 was not found creativecore.fabric.mixins.json:VertexFormatMixin from mod creativecore [13:43:48] [main/WARN]: Error loading class: net/minecraft/class_5684 (java.lang.ClassNotFoundException: net/minecraft/class_5684) [13:43:48] [main/WARN]: @Mixin target net.minecraft.class_5684 was not found dehydration.mixins.json:TooltipComponentMixin from mod dehydration [13:43:48] [main/WARN]: Error loading class: net/minecraft/class_906 (java.lang.ClassNotFoundException: net/minecraft/class_906) [13:43:48] [main/WARN]: @Mixin target net.minecraft.class_906 was not found go-fish.mixins.json:FishingBobberEntityRendererMixin from mod go-fish [13:43:48] [main/WARN]: Error loading class: net/minecraft/class_702 (java.lang.ClassNotFoundException: net/minecraft/class_702) [13:43:48] [main/WARN]: @Mixin target net.minecraft.class_702 was not found go-fish.mixins.json:ParticleManagerMixin from mod go-fish [13:43:48] [main/WARN]: Error loading class: net/minecraft/class_1007 (java.lang.ClassNotFoundException: net/minecraft/class_1007) [13:43:48] [main/WARN]: @Mixin target net.minecraft.class_1007 was not found inmis.mixins.json:client.PlayerEntityFeatureMixin from mod inmis [13:43:48] [main/WARN]: Error loading class: com/nhoryzon/mc/farmersdelight/block/TomatoBushCropBlock (java.lang.ClassNotFoundException: com/nhoryzon/mc/farmersdelight/block/TomatoBushCropBlock) [13:43:48] [main/WARN]: @Mixin target com.nhoryzon.mc.farmersdelight.block.TomatoBushCropBlock was not found jobsaddon.mixins.json:compat.TomatoBushCropBlockMixin from mod jobsaddon [13:43:48] [main/WARN]: Force-disabling mixin 'alloc.blockstate.StateMixin' as rule 'mixin.alloc.blockstate' (added by mods [ferritecore]) disables it and children [13:43:48] [main/WARN]: Error loading class: net/minecraft/class_634 (java.lang.ClassNotFoundException: net/minecraft/class_634) [13:43:48] [main/WARN]: @Mixin target net.minecraft.class_634 was not found modernfix-fabric.mixins.json:core.ClientPlayNetHandlerMixin from mod modernfix [13:43:48] [main/WARN]: Error loading class: net/minecraft/class_340 (java.lang.ClassNotFoundException: net/minecraft/class_340) [13:43:48] [main/WARN]: @Mixin target net.minecraft.class_340 was not found modernfix-fabric.mixins.json:feature.branding.GuiMixin from mod modernfix [13:43:48] [main/WARN]: Error loading class: net/minecraft/class_1043 (java.lang.ClassNotFoundException: net/minecraft/class_1043) [13:43:48] [main/WARN]: @Mixin target net.minecraft.class_1043 was not found modernfix-fabric.mixins.json:safety.DynamicTextureMixin from mod modernfix [13:43:48] [main/WARN]: Error loading class: net/minecraft/class_525 (java.lang.ClassNotFoundException: net/minecraft/class_525) [13:43:48] [main/WARN]: @Mixin target net.minecraft.class_525 was not found modernfix-common.mixins.json:perf.dedicated_reload_executor.CreateWorldScreenMixin from mod modernfix [13:43:48] [main/WARN]: Error loading class: net/minecraft/class_7196 (java.lang.ClassNotFoundException: net/minecraft/class_7196) [13:43:48] [main/WARN]: @Mixin target net.minecraft.class_7196 was not found modernfix-common.mixins.json:perf.dedicated_reload_executor.WorldOpenFlowsMixin from mod modernfix [13:43:48] [main/WARN]: Error loading class: fr/catcore/server/translations/api/resource/language/SystemDelegatedLanguage (java.lang.ClassNotFoundException: fr/catcore/server/translations/api/resource/language/SystemDelegatedLanguage) [13:43:48] [main/WARN]: Error loading class: net/minecraft/class_4224 (java.lang.ClassNotFoundException: net/minecraft/class_4224) [13:43:48] [main/WARN]: @Mixin target net.minecraft.class_4224 was not found sound_physics_remastered.mixins.json:ChannelAccessor from mod sound_physics_remastered [13:43:48] [main/WARN]: Error loading class: net/minecraft/class_471 (java.lang.ClassNotFoundException: net/minecraft/class_471) [13:43:48] [main/WARN]: @Mixin target net.minecraft.class_471 was not found stendhal.mixins.json:AnvilScreenMixin from mod stendhal [13:43:48] [main/WARN]: Error loading class: net/minecraft/class_473 (java.lang.ClassNotFoundException: net/minecraft/class_473) [13:43:48] [main/WARN]: @Mixin target net.minecraft.class_473 was not found stendhal.mixins.json:BookEditScreenMixin from mod stendhal [13:43:48] [main/WARN]: Error loading class: net/minecraft/class_3872 (java.lang.ClassNotFoundException: net/minecraft/class_3872) [13:43:48] [main/WARN]: @Mixin target net.minecraft.class_3872 was not found stendhal.mixins.json:BookScreenMixin from mod stendhal [13:43:48] [main/WARN]: Error loading class: net/minecraft/class_408 (java.lang.ClassNotFoundException: net/minecraft/class_408) [13:43:48] [main/WARN]: @Mixin target net.minecraft.class_408 was not found stendhal.mixins.json:ChatScreenMixin from mod stendhal [13:43:48] [main/WARN]: Error loading class: net/minecraft/class_498 (java.lang.ClassNotFoundException: net/minecraft/class_498) [13:43:48] [main/WARN]: @Mixin target net.minecraft.class_498 was not found stendhal.mixins.json:SignEditScreenMixin from mod stendhal [13:43:48] [main/WARN]: Error loading class: net/minecraft/class_465 (java.lang.ClassNotFoundException: net/minecraft/class_465) [13:43:48] [main/WARN]: @Mixin target net.minecraft.class_465 was not found trinkets-curios-theme.mixins.json:HandledScreenMixin from mod trinkets-curios-theme [13:43:48] [main/WARN]: Error loading class: org/jetbrains/annotations/ApiStatus$Internal (java.lang.ClassNotFoundException: org/jetbrains/annotations/ApiStatus$Internal) [13:43:48] [main/WARN]: Error loading class: org/jetbrains/annotations/ApiStatus$Internal (java.lang.ClassNotFoundException: org/jetbrains/annotations/ApiStatus$Internal) [13:43:48] [main/WARN]: Error loading class: org/jetbrains/annotations/ApiStatus$Internal (java.lang.ClassNotFoundException: org/jetbrains/annotations/ApiStatus$Internal) [13:43:49] [main/INFO]: I used the json to destroy the json [13:43:49] [main/INFO]: Initializing MixinExtras via com.llamalad7.mixinextras.service.MixinExtrasServiceImpl(version=0.3.5). [13:43:50] [main/INFO]: Mixing server.MixinPlayer from nochatreports.mixins.json into net.minecraft.class_1657 [13:43:50] [main/WARN]: @Final field field_6280:Ljava/util/Map; in vinery.mixins.json:LivingEntityMixin from mod vinery should be final [13:43:51] [main/WARN]: Method overwrite conflict for compatSync in environmentz.mixins.json:ServerPlayerEntityMixin from mod environmentz, previously written by net.dehydration.mixin.ServerPlayerEntityMixin. Skipping method. [13:43:51] [main/WARN]: Method overwrite conflict for method_21740 in modernfix-common.mixins.json:perf.remove_biome_temperature_cache.BiomeMixin from mod modernfix, previously written by me.jellysquid.mods.lithium.mixin.world.temperature_cache.BiomeMixin. Skipping method. [13:43:51] [main/ERROR]: Minecraft has crashed! net.fabricmc.loader.impl.FormattedException: java.lang.NoSuchFieldError: CLIENT_CONFIG         at net.fabricmc.loader.impl.FormattedException.ofLocalized(FormattedException.java:63) ~[fabric-loader-0.15.11.jar:?]         at net.fabricmc.loader.impl.game.minecraft.MinecraftGameProvider.launch(MinecraftGameProvider.java:472) ~[fabric-loader-0.15.11.jar:?]         at net.fabricmc.loader.impl.launch.knot.Knot.launch(Knot.java:74) [fabric-loader-0.15.11.jar:?]         at net.fabricmc.loader.impl.launch.knot.KnotServer.main(KnotServer.java:23) [fabric-loader-0.15.11.jar:?]         at net.fabricmc.loader.impl.launch.server.FabricServerLauncher.main(FabricServerLauncher.java:69) [fabric-loader-0.15.11.jar:?]         at net.fabricmc.installer.ServerLauncher.main(ServerLauncher.java:69) [server.jar:1.0.1] Caused by: java.lang.NoSuchFieldError: CLIENT_CONFIG         at org.betterx.bclib.config.Configs.<clinit>(Configs.java:12) ~[bclib-2.1.7.jar:?]         at org.betterx.bclib.api.v2.levelgen.biomes.BCLBiomeSettings.applyWithDefaults(BCLBiomeSettings.java:201) ~[bclib-2.1.7.jar:?]         at org.betterx.bclib.api.v2.levelgen.biomes.BCLBiome.<init>(BCLBiome.java:290) ~[bclib-2.1.7.jar:?]         at org.betterx.bclib.api.v2.levelgen.biomes.BCLBiome.<init>(BCLBiome.java:273) ~[bclib-2.1.7.jar:?]         at org.betterx.bclib.api.v2.levelgen.biomes.InternalBiomeAPI.wrapNativeBiome(InternalBiomeAPI.java:268) ~[bclib-2.1.7.jar:?]         at org.betterx.bclib.api.v2.levelgen.biomes.InternalBiomeAPI.wrapNativeBiome(InternalBiomeAPI.java:232) ~[bclib-2.1.7.jar:?]         at org.betterx.bclib.api.v2.levelgen.biomes.BiomeAPI.<clinit>(BiomeAPI.java:254) ~[bclib-2.1.7.jar:?]         at org.betterx.bclib.api.v2.levelgen.biomes.BCLBiomeRegistry.bootstrap(BCLBiomeRegistry.java:91) ~[bclib-2.1.7.jar:?]         at net.minecraft.class_5458.method_44104(class_5458.java:98) ~[server-intermediary.jar:?]         at net.minecraft.class_5458.method_30566(class_5458.java:105) ~[server-intermediary.jar:?]         at java.util.LinkedHashMap.forEach(LinkedHashMap.java:729) ~[?:?]         at net.minecraft.class_5458.<clinit>(class_5458.java:104) ~[server-intermediary.jar:?]         at net.minecraft.class_2378.<clinit>(class_2378.java:326) ~[server-intermediary.jar:?]         at net.minecraft.class_2966.method_12851(class_2966.java:50) ~[server-intermediary.jar:?]         at net.minecraft.server.Main.main(Main.java:98) ~[server-intermediary.jar:?]         at net.fabricmc.loader.impl.game.minecraft.MinecraftGameProvider.launch(MinecraftGameProvider.java:470) ~[fabric-loader-0.15.11.jar:?]         ... 4 more
    • i dont know what is cousing this i am creating my own private modpack to play with  a friend but for some reason less then a minute after loading in a world the games freezes becouse my memory is 99% used (the memory i allocated for minecraft to use)   i keep searching in the log but i cant find the couse cen some pls help my find it   i play in minecraft version 1.20.1 and forge version 47.2.32 log: https://drive.google.com/file/d/1HlCl6R_20LwEsgk4Z9Y84IPBUUorxcA9/view?usp=sharing
    • If you want to access Resource from Minecraft, use: ResourceLocation.withDefaultNamespace("potato"); or If you want to access Resource from your mod, use: ResourceLocation.fromNamespaceAndPath("your_mod_id", "your_key");
  • Topics

×
×
  • Create New...

Important Information

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