Everything posted by DragonessAtHeart
-
[1.8.9] [SOLVED] Registering a new mob entity?
Okay I tried that but the compiler is mad at the RenderNewMob::new part. I just give it the render class I made for the mob correct? No?
-
[1.8]Error Spawning in Entities
I did, but I'm still having problems with it. Thank you!
-
[1.8.9] [SOLVED] Mob entity's id?
But where do I start it? The game is crashing when I started the Id at 0 and then incremented it in the register call. Do I need to override the id numbers for all Entities or something?
-
[1.8]Error Spawning in Entities
diesieben07, I'm sorry, I meant that I am having the exact same problem. And theOriginalByte, I don't have an account for that... Should I make one? I'm having trouble figuring out how to register and then render an entity.
-
[1.8.9] [SOLVED] Registering a new mob entity?
I am trying to target Java 8, but thank you for mentioning both. "you can use a method reference to pass your Render class's constructor (RenderMyEntity::new) as an IRenderFactory instead." The render class here we are talking about is the new mob's render class? I feel like I want to do something like this, registerEntityRenderingHandler(EntityNewMob.class, IRenderFactory (RenderNewMob::new)); but that isn't how you do it. Also oh my goodness RANKSHANK there is so much going on there! I'll have to study that code to see if I can't figure out what is going on. Can you tell me where I need to start researching to figure it out or try to explain it a bit more? If you don't feel like it, that's cool. I can probably figure it out eventually.
-
[1.8.9] [SOLVED] Mob entity's id?
Hello everyone! I've been trying to figure out how to register and render a new mob. The method EntityRegistry.registerModEntity() seems to be okay, but I'm not sure how to get the id for it. I would like to use the one that gives a spawn egg as well. I know the method findGlobalUniqueEntityId() is depreciated, and that I should initialize the id to 0 and just increment it in the method call. I'm just not sure where to initialize it so that it works for all entities and not just the ones I create. Should I initialize it in one of the mob classes or just in the client proxy? Or somewhere else entirely? Thank you so much!
-
[1.8.9] [SOLVED] Registering a new mob entity?
Could you maybe give an example of how to use it?
-
[1.8]Error Spawning in Entities
Can anyone give more information on how to do this? I'm still confused about it. Thank you!
-
[1.8.9] [SOLVED] Registering a new mob entity?
Hello everyone. I'm pretty new to modding with Forge and forums and I apologize if this is in the wrong place or anything. I'm pulling my hair out trying to figure out how to properly register and render a new entity in 1.8.9. I have no idea what the IRenderFactory is or how to use it and I'm not even really sure rendering is my only problem. I have the entity class and the model class for the mob and a render class but I'm hitting a wall trying to find examples of how to do it properly with the new update. Everyone is just saying "use the registerEntityRenderingHandler" thing but I really have no idea specifically how to do this. This is my first mod. Could someone out there help me out? Thank you!! I have seen this topic: [1.8]Error Spawning in Entities, and this one, [1.8.9] Entity rendering registering recently changed?, but I need more information about how to actually do what they talk about. Also I'm not sure how to link a post. >> Sorry.... Please be gentle...
IPS spam blocked by CleanTalk.