how do i use a .dat file as a model for an entity in minecraft?
- by user1835502
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;