Jump to content

Xoroshio

Members
  • Posts

    79
  • Joined

  • Last visited

  • Days Won

    3

Everything posted by Xoroshio

  1. 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 😅
  2. My guess would be that you are not getting the chunk coordinates right, or getChunk dosnt work.
  3. Ahhhh idk. Been awhile. How do you know the entity is in the chunk.
  4. Add your block to the corresponding tag.
  5. What is your code listening to GatherDataEvent
  6. Just call level.getChunk(x, y); After that you can get the entities. Dont worry about the return value, the method loads the chunk.
  7. 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.
  8. 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.
  9. How are you registering the overlay, and can I have the log.
  10. 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.
  11. 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.
  12. 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.
  13. You are creating an entire new screen, or GUI. What you probably want is an Overlay.
  14. What is your code for rendering the bar?
  15. Yeah, that was a long time ago.
  16. Sure, please notify, 1.20.1 preferred.
  17. 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
  18. 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;
  19. Try and render an outline with GuiGraphics#renderOutline
  20. Are these modded enchantments or vanilla enchantments?
  21. That should work.
  22. Do you want to send a packet, or send a chat message?
  23. You probably just have to run them yourself. try genIntelijRuns
  24. Ok I figured it out. Basically you can’t do it, but I managed to do it by harassing the MusicManager.
×
×
  • Create New...

Important Information

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