Posted September 30, 20196 yr Hi i'm trying to register a throwable entity, looking at normal mc code: this.register(FireballEntity.class, new SpriteRenderer<>(this, p_i50971_2_, 3.0F)); i know that p_i50971_2_ is the item renderer and mine: RenderingRegistry.registerEntityRenderingHandler(EntityCorruptedPearl.class, new SpriteRenderer(renderManager, itemRenderer, SIZE)); Im just wondering how id go about filling out the first two parameters in SpriteRenderer for 1.14.4 for a custom entity Edited September 30, 20196 yr by The_SlayerMC topic name Former developer for DivineRPG, Pixelmon and now the maker of Essence of the Gods
September 30, 20196 yr Author 2 minutes ago, diesieben07 said: That should not even compile. registerEntityRenderingHandler requires an IRenderFactory. Okay so how should i go about this? I havent used 1.14.4 yet Former developer for DivineRPG, Pixelmon and now the maker of Essence of the Gods
September 30, 20196 yr Author okay so where do i get the instances from now? 4 minutes ago, diesieben07 said: The same is true for 1.12.2. The method that takes a Render instance directly has been deprecated forever. Former developer for DivineRPG, Pixelmon and now the maker of Essence of the Gods
September 30, 20196 yr Author 13 minutes ago, diesieben07 said: You get them as parameters in IRenderFactory. Okay im a little lost, i have no clue how this 1.14.4 works, little more info? Former developer for DivineRPG, Pixelmon and now the maker of Essence of the Gods
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.