Posted June 22, 20169 yr My custom mob is not spawning. I've tried using it's spawn egg but nothing is being spawned. I've also tried using the /summon code, to no avail. Any help is appreciated . Github for my code. http://www.startrek.com/uploads/assets/articles/61c89a9d73c284bda486afaeaf01cdb27180359b.jpg[/img] Till next time. Thank you for delivering funny scenes to Star Trek as Chekov . Will always remember you
June 22, 20169 yr Author Forgot to mention that when I did the /summon command, "unable to summon object" is printed in the chat http://www.startrek.com/uploads/assets/articles/61c89a9d73c284bda486afaeaf01cdb27180359b.jpg[/img] Till next time. Thank you for delivering funny scenes to Star Trek as Chekov . Will always remember you
June 22, 20169 yr Author I'm on forge 1.8.9-11.15.1.1722 http://www.startrek.com/uploads/assets/articles/61c89a9d73c284bda486afaeaf01cdb27180359b.jpg[/img] Till next time. Thank you for delivering funny scenes to Star Trek as Chekov . Will always remember you
June 22, 20169 yr Author Update: I changed where my entity is being registered, from preInit to init in my main class and edited my entity mob class. When I entered the /summon command and clicked the spawn egg, it's spawned! But the entity that is being spawned is that of a villager and not my custom mob http://www.startrek.com/uploads/assets/articles/61c89a9d73c284bda486afaeaf01cdb27180359b.jpg[/img] Till next time. Thank you for delivering funny scenes to Star Trek as Chekov . Will always remember you
June 22, 20169 yr Author Edited post 5, and I'm using the /summon command like this, "/summon hpm.jay_garrick". "hpm" is my mod id while "jay_garrick" is the name I gave when I registered my entity. http://www.startrek.com/uploads/assets/articles/61c89a9d73c284bda486afaeaf01cdb27180359b.jpg[/img] Till next time. Thank you for delivering funny scenes to Star Trek as Chekov . Will always remember you
June 22, 20169 yr Author There is a villager being spawned. As a matter of fact, the different textures of the villagers is shown each time I enter the /summon command and use the spawn egg. http://www.startrek.com/uploads/assets/articles/61c89a9d73c284bda486afaeaf01cdb27180359b.jpg[/img] Till next time. Thank you for delivering funny scenes to Star Trek as Chekov . Will always remember you
June 22, 20169 yr Author It appeared that there was something wrong in my rendering code. I attempted to use the RenderingRegistry#registerEntityRenderingHandler's IRenderFactory method instead of the Render extends Entity method. Here's my IRenderFactory "way", RenderingRegistry.registerEntityRenderingHandler(EntityJayGarrick.class, new IRenderFactory<EntityJayGarrick>() { @Override public Render<? super EntityJayGarrick> createRenderFor(RenderManager manager) { return new RenderJayGarrick(manager); } }); http://www.startrek.com/uploads/assets/articles/61c89a9d73c284bda486afaeaf01cdb27180359b.jpg[/img] Till next time. Thank you for delivering funny scenes to Star Trek as Chekov . Will always remember you
June 22, 20169 yr Author I'm calling that method from init ClientProxy Edit #1: Tried calling method from preInit ClientProxy and it worked. Thanks. http://www.startrek.com/uploads/assets/articles/61c89a9d73c284bda486afaeaf01cdb27180359b.jpg[/img] Till next time. Thank you for delivering funny scenes to Star Trek as Chekov . Will always remember you
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.