how do i use a .dat file as a model for an entity in minecraft?

Posted by user1835502 on Stack Overflow See other posts from Stack Overflow or by user1835502
Published on 2012-11-19T10:55:57Z Indexed on 2012/11/19 10:59 UTC
Read the original article Hit count: 198

Filed under:
|

the entity does not have to do anything, just stand there like a statue, or it doesn't have to be an entity at all, just so the .dat file renders in minecraft

i saw this

http://pastebin.com/jP4diLJ9

in a java file that came with a .exe, and in the .exe you can choose one of the .dat files and it will show you it as a model, i also asked on minecraft forums and someone said it was possible but i have no idea how

maybe has something to do with this

try { FileOutputStream fileoutputstream = new FileOutputStream("./Models/"+id+".dat"); fileoutputstream.write(b, 0, b.length); fileoutputstream.close(); } catch(Throwable _ex) {}

or

if(i > 0) {//grabs all models System.out.println("Sending request for Model: "+i); addRequest( 7, i); byte b[] = pack.unpack(download().buffer); if(pack.unpacked) { savemodel(i,b); System.out.println("Model Saved"); }else{ System.out.println("Model Grabbing Complete"); break;

© Stack Overflow or respective owner

Related posts about java

Related posts about minecraft