Perhaps taking a look at TileEntityMobSpawnerRenderer may help you? Is that similar to what you're trying to do.
Rollback Post to RevisionRollBack
“Computers are incredibly fast, accurate and stupid; humans are incredibly slow, inaccurate and brilliant; together they are powerful beyond imagination."
If I understand what you're doing correctly, you are trying to render an item, of which when it is in the world, is itself an entity. EntityItem. There may be a way to change the way it is rendering the mob to render EntityItem.
Rollback Post to RevisionRollBack
“Computers are incredibly fast, accurate and stupid; humans are incredibly slow, inaccurate and brilliant; together they are powerful beyond imagination."
If I understand what you're doing correctly, you are trying to render an item, of which when it is in the world, is itself an entity. EntityItem. There may be a way to change the way it is rendering the mob to render EntityItem.
That could work. But since I'm trying to render an egg, maybe even EntityEgg could work. Need to mess around with it for a bit.
I'm also now getting a crash when I break the Nest block.
java.lang.NullPointerException
at tw.a(RenderItem.java:150)
at tw.a(RenderItem.java:715)
at ahu.a(RenderManager.java:189)
at ahu.a(RenderManager.java:176)
at l.a(RenderGlobal.java:452)
at lr.a(EntityRenderer.java:1342)
at lr.b(EntityRenderer.java:1046)
at EntityRendererProxy.b(EntityRendererProxy.java:21)
at net.minecraft.client.Minecraft.x(Minecraft.java:869)
at net.minecraft.client.Minecraft.run(Minecraft.java:747)
at java.lang.Thread.run(Thread.java:722)
--- END ERROR REPORT b63285b2 ----------
It wasn't crashing before, I'm not sure what I did to cause it. :/
Well, I'll be back in like, 8 hours. I'm gonna go to bed.
Any help will be very much appreciated.
Not sure how to do it, but hopefully that helps some.
Hm, thanks, but it already has a Tile Entity.
together they are powerful beyond imagination."
It is quite similar, but it can't help me render an item.
together they are powerful beyond imagination."
That could work. But since I'm trying to render an egg, maybe even EntityEgg could work. Need to mess around with it for a bit.
EDIT:
Can't seem to figure it out. :/
Just a basic TileEntityRenderer
I'm still trying to figure out how to make it render an item.
It wasn't crashing before, I'm not sure what I did to cause it. :/
Well, I'll be back in like, 8 hours. I'm gonna go to bed.
As for why it's crashing, it could be due to you pushing and popping the matrix twice.
No, I want the tile entity, which is the nest, to then have an item rendered on it.
So, I want it to be an egg.
I did try that. Didn't really help much. It was very confusing.