-
[1.9.4] Registering entity renderer
I'm sorry that I wasted your time, it was right there and I never realized it. My bad, when I read the parameter in the autoFill (whatever it's called) I saw trackingRange, which seemed odd to me, but it also never occurred to me to check what it is, but thanks so much, and I did learn a couple other things on the way so this wasn't totally useless. Thanks anyway!
-
[1.9.4] Registering entity renderer
Here's my code ModMain Class Reference Class (Cut to relevant Information, removing Item and Block enumerations) ClientProxy Class Common Proxy doesn't have anything in its registerRenders method, as it should be, so I won't show it EntityExplosiveArrow Class RenderExplosiveArrow Class I don't know what you mean't by "maybe rendering events?", I think that might be something that I am missing, causing the problem? And, thanks for your time, this post is a bit extensive, and is consuming a lot of your time.
-
[1.9.4] Registering entity renderer
I have just tested with the same texture as arrows, and it still doesn't work, and if you want specific code, I will give it to you, just specify what you want. Also, I know how to program in java, I make games, but I made that useless method for debugging, and accidentally left it. I always look at source code before going to the forums, but I can't find how entities are registered as far as rendering goes, thats it.
-
[1.9.4] Registering entity renderer
I extended the RenderArrow class, And I created the object, It still doesn't work, but all of the steps you told me to take were taken, maybe theres some code I'm missing? And on a personal note, I didn't expect it to work, it never did, I couldn't find a way to implement the model that I made. I haven't programmed a mod for 1.9.4 yet, and the format is new, and making entities is something I almost never do (Last time was a year ago on 1.8 ).
-
[1.9.4] Registering entity renderer
I took a look at this forum, and I tried doing the constructor for the Render class, and all it takes is the render manager, not the model. When I run the game, the entity doesn't render, but it works. All the entity is, is something that extends the arrow class. The methods that the post uses aren't able to be overridden, most likely that they aren't there anymore. I think it doesn't work because the constructor doesn't use the model class, and I'm wondering where that can be initiated and created. This is the class that registers the entities and the renders (The only one I'm worried about is the EntityExplosiveArrow) And this is the RenderExplosiveArrow class
-
1.9. Giving textures with different color based on a grayscale (Like Spawn Eggs)
Hello, I have been making this spawner stick that throws an egg, but I can't seem to find a way to make the stick have a different color on the texture based on what parameters are passed in. I have looked throughout all of the source of minecraft, and I couldn't find how spawn eggs are given different textures. And to clarify, I am trying to use a gray-scaled, two-layered model, and changing the color scheme of it, and by giving it a different parameter, I can get a different colored texture with the same look.
IPS spam blocked by CleanTalk.