Jump to content

JonIsPatented

Members
  • Posts

    20
  • Joined

  • Last visited

JonIsPatented's Achievements

Tree Puncher

Tree Puncher (2/8)

0

Reputation

  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 this: I don't know what part of this code is causing the problems, so if someone could help me track down where and why the problems arise, I'd be very grateful.
  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 relevant code is and also the way I register it is
  15. Ok thank you I got it working.
×
×
  • Create New...

Important Information

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