When I had to do problem 2, I looked at custom named entities. Here's my half-working result:
https://bitbucket.org/JavaMatrix/snowtech/src/577af81dcbc980f306df52daa769e279fef212e4/SnowTech/java/com/defenestrationcoding/snowtech/renderers/RendererReceiver.java?at=master
Uncomment this line:
//this.bindTexture(modelResourceLocation);
Without binding the texture, it'll use whatever happens to be on the queue. Not a good thing.
Well, you can rather easily do this with NBT, if you aren't opposed to NBT altogether. Just use Entity.writeEntityToNBT and Entity.readEntityFromNBT, editing the tag in between.
Hullo,
I've been looking for a bit for a way to detect a Wither Skull explosion. Obviously, it's gonna be an event. The only way I can figure right now is to find them when then spawn in a EntityJoinWorldEvent, then track them with a tick handler - but that sounds like a huge nuisance. Is there a better way?
Hullo,
Pursuant of my previous question about messing with Desert Temples, I'm wondering if there's a simple way to iterate through every block in the chunk checking for Chests, instead of manually sorting through every coordinate.
Thanks,
JavaMatrix