-
Posts
79 -
Joined
-
Last visited
-
Days Won
3
Everything posted by Xoroshio
-
I will have to do more research about 1.18 chunk loading. You were unclear about how your code manages with the entity load failure. If you simply used a loop, I suggest submitting a tick task to the next tick which does the same thing, checking if the entities are loaded and if so teleporting the right one else submitting another tick task etc. Also I think forceloading permanently force loads the chunk, and it only starts to unload when you make a subsequent call to mark the chunk as not forceloaded. I may be completely wrong, I dont know much about 1.18, most of my experience is 1.20. Good luck I hope you figure it out after all this time đ
-
My guess would be that you are not getting the chunk coordinates right, or getChunk dosnt work.
-
Ahhhh idk. Been awhile. How do you know the entity is in the chunk.
-
Add your block to the corresponding tag.
-
What is your code listening to GatherDataEvent
-
Just call level.getChunk(x, y); After that you can get the entities. Dont worry about the return value, the method loads the chunk.
-
1.16.5 How to write terrain generation code in java minecraft
Xoroshio replied to thedarkhalfsparrow's topic in Modder Support
Nah itâs all good. -
1.20.1 pack.mcmeta and resource pack not recognized
Xoroshio replied to Redstone Dreamer's topic in Modder Support
Try not zipping the folder pack.mcmeta etc⊠is in, but selecting the files and zipping them. I think this might be an apple related problem but idk. -
1.16.5 How to write terrain generation code in java minecraft
Xoroshio replied to thedarkhalfsparrow's topic in Modder Support
If you are new to coding, and new to doing any kind of coding, donât try to create custom terrain. that is a bad idea. I repeat A BAD IDEA. First try something easy, like an item. And look at the core registers and stuff. Then figure out events and stuff, fml and registry loading. Once youâve done that study up on terrain generation and Open Simplex or other types of noise. Once youâve got all that under your belt you can start by mucking around with codecs and things until you can assemble an implementation of a chunk source (I forgot itâs name so if Iâm wrong pls donât ping). Once thatâs done you can try to register it and then replace minecraft default noise chunk source with your own. Good luck. By the way, look up how to make custom biomes. That might be easier. -
How are you registering the overlay, and can I have the log.
-
To explain the crashing I need to see the log. Also, if you want to follow the topic just scroll to the top and click the following thing, and then press follow. And yes, screen are really only useful for menus and things.
-
If you set the screen when the item was pulled out that would make the item partially unusable. You canât move in game when your screen isnât null.
-
If you want a mana GUI, call Minecraft.getInstance().setScreen(new ManaScreen()); somewhere display your GUI. I would recommend creating a keybind and listening to key events, and if your key bind is pressed down, running that code.
-
You are creating an entire new screen, or GUI. What you probably want is an Overlay.
-
What is your code for rendering the bar?
-
Yeah, that was a long time ago.
-
Anyone want to make a mod collab? (Versions Negotiable)
Xoroshio replied to AlphaIceCube's topic in Modder Support
Sure, please notify, 1.20.1 preferred. -
Getting which block player's pointing at in GUI
Xoroshio replied to XiongTM's topic in Modder Support
I know. I have that exact same feeling. I went through weeks of pain during the âHow to get block entity is looking atâ phase -
Player can still swim after log in even though it should be disabled
Xoroshio replied to Ants1207's topic in Modder Support
You may be setting the velocity on the server. That wonât work. If you are and that is the problem, do player.hurtMarked = true; -
[1.21]The behavior of the search bar in CreativeModeTab is unusual
Xoroshio replied to mgen256's topic in Modder Support
Try and render an outline with GuiGraphics#renderOutline -
Are these modded enchantments or vanilla enchantments?
-
That should work.
-
Server-side mod send message to player on forge 1.20.6
Xoroshio replied to Darkesneik's topic in Modder Support
Do you want to send a packet, or send a chat message? -
1.20.1 MDK Setup Does Not Deobfuscate Minecraft
Xoroshio replied to XiongTM's topic in Modder Support
You probably just have to run them yourself. try genIntelijRuns -
[SOLVED] Adding custom soundtrack to custom dimension
Xoroshio replied to Xoroshio's topic in Modder Support
Ok I figured it out. Basically you canât do it, but I managed to do it by harassing the MusicManager.