Jump to content

Xoroshio

Members
  • Posts

    73
  • Joined

  • Last visited

  • Days Won

    3

Everything posted by Xoroshio

  1. 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.
  2. 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.
  3. How are you registering the overlay, and can I have the log.
  4. 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.
  5. 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.
  6. 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.
  7. You are creating an entire new screen, or GUI. What you probably want is an Overlay.
  8. What is your code for rendering the bar?
  9. Yeah, that was a long time ago.
  10. Sure, please notify, 1.20.1 preferred.
  11. 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
  12. 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;
  13. Try and render an outline with GuiGraphics#renderOutline
  14. Are these modded enchantments or vanilla enchantments?
  15. Do you want to send a packet, or send a chat message?
  16. You probably just have to run them yourself. try genIntelijRuns
  17. Ok I figured it out. Basically you can’t do it, but I managed to do it by harassing the MusicManager.
  18. BlockRenderDispatcher#renderBreakingTexture might work, but it has to much rendering jargon on the parameters when all your doing is server logic. I suggest looking around and finding its usages, maybe there will be a simpler method.
  19. I’ve used it before and I’m pretty sure it works on both sides.
  20. Maybe try “worldgen/template_pool/goblin_caves/spawns.json” Or look into which path you should supply
  21. I can’t look into it right now, but I will do some research when I am able to look at the source
  22. player.pick(128, 1.0f, false) that will return a hit result, you can check if it’s type if Block, and then get its position.
×
×
  • Create New...

Important Information

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