My mods won’t load in
-
Recently Browsing
- No registered users viewing this page.
-
Posts
-
Please read the FAQ, and create your own thread in the support forum, posting logs as described. Do not post on someone else's issue with "same here", or a description of your problem.
-
Hey all, I'm wondering if there's a way to forceload a chunk instantly in 1.18.2. I'm updating an older mod from 1.16, and in that version of the game I was able to do so just by calling serverWorld.forceChunk(chunkPos.x, chunkPos.z, false); which would then enable me to access the Chunk at that location and get a list of the entities inside it (which is my end goal here as well). However, although in 1.18 I still have the ability to call serverLevel.setChunkForced(chunkPos.x, chunkPos.z, false); it no longer seems to load the chunk immediately, but instead (from my understanding) submits a ticket to load it on the next tick. This is problematic for my use case, as my goal is to load the chunk, access an entity within it, and then deload the chunk on completion, which I can no longer do in a single tick with this method. LevelChunks also don't seem to contain a list of entities anymore in 1.18, and seem to have less automated functions connected to them, which could I suppose also be the source of my issue. Is there a way to load a chunk instantaneously from its coordinates and immediately access the entities within it?
-
I figured it out, you just use Minecraft.getInstance().player.displayClientMessage(Component.literal("Message"),false); or how sendSystemMessage() does it in 1.20.6 with Minecraft.getInstance().gui.getChat().addMessage(Component.literal("Message")); Suddenly clicked that I can look into classes to see how they work
-
Hi, im trying to install the last version of forge but everytime i have some issues. The last one was "the librairies failed to download try again." Here you can see the log. Thanks for all !
-
-
Topics
Recommended Posts