32K weapon creation
-
Recently Browsing
- No registered users viewing this page.
-
Posts
-
By TheCursedModder · Posted
I need to find out the best way to find the best way to apply mapping to my decompiled mod that I lost the dev environment for. Do too an unfortunate hard drive failure and me forgetting to make a GitHub repository. Is there an easier way to get these mapping applied than manually doing them? -
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
-
-
Topics
-
Who's Online (See full list)
Recommended Posts
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.