Jump to content
Search In
  • More options...
Find results that contain...
Find results in...


  • Content Count

  • Joined

  • Last visited

Everything posted by JonIsPatented

  1. Here is the EntityWyrmling Class: and here is the render class: And if you need it, here is my init class for entities: And I call this in my main, like this: And here is my register class for the renders: The most interesting part to me is that I have 3 mobs, and neither of the other two have this problem.
  2. I'm having an interesting problem where a nameplate appears above my wyrmling mobs when they spawn and it says "Wyrmling" of course. I have no clue what I'm doing wrong. Has anyone had this problem before? What's the fix? I'll post my code later when I'm home.
  3. I have a custom dimension that I want tot keep separate from all dimensions but the Overworld. When I light a nether portal in that dimension, it lights and will connect to the nether. I want it to not do that. How can I stop a nether portal from working while I'm in my dimension? EDIT: I am a mental defective and they actually don't work. The problem is a non-starter, and I'm also a spoon, because I don't know how to delete a forum post.
  4. I tried to do this but I couldn't figure it out. I'm sure it's simple but I have other bugs to fix first. Thank you.
  5. Oh geez, really that simple? Thank you so much, it works now.
  6. It says this but repeated at what I assume to be every tick, because it appears about 20 times every second and it happens for about 3 seconds before it kicks the player out.
  7. Could that be causing it to kick players off the server? I don't think it is, but I will fix it anyway. When I get home later, I will post the exact error I get. Perhaps that will help.
  8. So I have a poisonous air class I made for my custom dimension that causes any player that isn't wearing a gas mask to get poisoned, but the poison is slightly randomized, in that the player may suffer the effects more slowly or more rapidly at any moment. Also if they are wearing the gas mask, the poison doesn't affect them, but the gas mask slowly breaks at a randomized rate. It all works very well for me. On singleplayer, there are no issues. When I start the server, there are no issues. When someone tries to join the server, the server kinda kicks them out. My poison air code looks like th
  9. That's what I was trying to do before. I thought anime fan was telling me to do this thing. What should this look like. How should I call it from the event handler.
  10. When I do this, the drawTexturedModalRect() stuff gives me an error saying that it can't make a static reference to the non-static method.
  11. I went and read it again and then reread it again. I Also went and read Jabelar's related tutorials again. I still can't figure it out. I tried adding the Side.CLIENT thing into a Mod.EventBusSubscriber annotation on the client proxy and all that. I tried making my own client event subscriber and that didn't work because I don't know how to do it and the explanations always gloss over the parts I actually need help with. I can't figure out at all how I'm supposed to register it if I'm not already doing it right. Could you please just tell me what I have to do.
  12. I tried this: Is this correct? Because it didn't work. Now the overlay doesn't happen at all.
  13. I can't figure out how to create a client side event subscriber. Could you explain that? Also, I tried registering it in my client proxy, but I don't think i am doing it right. Would I just do it the same way i did it in my main as I showed above?
  14. I have a custom gui overlay that tells the player the durability of the gas mask item while they are wearing it. It works perfectly in single player, but the server crashes when it loads. I know that this is because the server is trying to load the overlay, despite the fact that it is only able to be loaded on the client side. I know that I need to tell the server to not try to load it but I can't figure out how to do that. I've read a few different answers to similar questions and problems, but none of them fixed it. I don't know if I was doing it right when I tried to do what they said. My r
  15. I've tried adding the annotation to the class like this: Then I tried adding that line from the tutorial into the main class: Then I tried something else in my registry handler but I forgot exactly what it was because I deleted all three of those changes after they didn't work.
  16. That's what I read. And Jabelar's tutorial. I think I'm doing it wrong.
  17. No. I can't figure out how, after trying multiple ways listed on the internet. Either I'm not doing it right, or it doesn't fix it. How would you recommend I go about it?
  18. I'm trying to create a poisonous atmosphere in my custom dimension. The code is meant to give the player poison when they are in my dimension and they aren't wearing a gas mask. I can't tell why my code doesn't work. I tried added a println line in there but it didn't show up which probably means that the code isn't being called but I don't know why.
  19. I added a dimension to my mod and a block to teleport between the Overworld and my dimension. It worked perfectly. It was very fast and loaded well. Suddenly, now when I load this dimension, I get stuck loading it forever and then it crashes if you try to exit to title. If you wait long enough, sometimes you'll see a single chunk load in my dimension, but that's about it. I don't know where the problem is, but I've been trying to solve it for hours. I did not make any permanent changes to the code. I added a small section that should've allowed for ores to generate in my dimension, which of co
  • Create New...

Important Information

By using this site, you agree to our Privacy Policy.