Export as Java  [Solved]

Post ideas to make Cubik Studio even better.

Export as Java

Post by Jimmy » 19 Nov 2016, 03:29

Extension: ".java"
Format name: Java Code
Used by: Minecraft TileEntitySpecialRenderer/EntityRenderer

Specs: http://pastebin.com/TcwMYWuz

Where:

Code: Select all

ModelRenderer Shape1;// Shape1 = Unique name of Cube Element

Shape1 = new ModelRenderer(this, <UvStart>, <UvStop>);
Shape1.addBox(-1F, 0F, 0F, 1, 1, 2);// the 6 Numbers are The Position ( first 3 in X,Y,Z) and Size where size cannot be a floating point number (Google translator :P)
Shape1.setRotationPoint(-4F, 15.5F, 11F);// Rotation Origin
Shape1.setTextureSize(textureWidth , textureHeight );// values will be "replaced" automaticly by above defined ( textureWidth = 64; & textureHeight = 64;)
Shape1.mirror = true;// Also no Idea what thats for
setRotation(Shape1, 1.745329F, 0F, 0F);// Rotation of the Element at X,Y,Z Axis no limitation to 90 Degrees steps (1 = 180° I think might also be 360°)
and
textureWidth = 64;
textureHeight = 64;
are required as this can only use 1 Texture

Format description:
Welp went maybe to far above :D

* Credit to the guy down below for this explanation :D
x
Last edited by Jimmy on 20 Nov 2016, 20:51, edited 2 times in total.
User avatar
Jimmy
Supporter
Posts: 42
Joined: 01 Nov 2016, 19:41

Re: Export as Java

Post by Sphax » 19 Nov 2016, 10:30

Please edit your suggestion to fit the template: viewtopic.php?f=10&t=184&p=1092#p1092
x
User avatar
Sphax
Admin
Posts: 1314
Joined: 10 Nov 2011, 10:44

Re: Export as Java

Post by Jimmy » 19 Nov 2016, 20:34

Sphax wrote: 19 Nov 2016, 10:30 Please edit your suggestion to fit the template: viewtopic.php?f=10&t=184&p=1092#p1092
Done! I fixed the other post but forgot to edit this one xD
x
User avatar
Jimmy
Supporter
Posts: 42
Joined: 01 Nov 2016, 19:41

Re: Export as Java

Post by Sphax » 19 Nov 2016, 20:46

Java is not a format but a language...

So if you want a 3D model in "Java format", that means you are following specific specs. If it's for Forge (I think that's the case) you should post a link which describes how a 3D Model in Java for Forge looks like, how it is textured and how texture(s) look like.

Everything is detailed in the template post, i.e.:

Code: Select all

[b]Extension:[/b] extension like ".cubik"
[b]Format name:[/b] Short name
[b]Used by:[/b] Name of at least one software/game using that format

[b]Specs:[/b] At least one link to format specifications (= technical description of the format)

[b]Format description:[/b]
A short description of the format
So please, edit your 1st post to add details on the format if you want to see it supportedin Cubik Studio...
Again, I'm not asking to follow the template for fun or to make things look nice but to bring details right on the table.
x
User avatar
Sphax
Admin
Posts: 1314
Joined: 10 Nov 2011, 10:44

Re: Export as Java

Post by JTK222 » 20 Nov 2016, 19:14

Oh would love that Feature too! :D

Extension: ".java" / ".txt" (Depending on implementation way)
Format name: Java Code
Used by: Minecraft TileEntitySpecialRenderer/EntityRenderer

Specs: http://pastebin.com/TcwMYWuz
Where:
ModelRenderer Shape1; ---> Shape1 = Unique name of Cube Element
and
Shape1 = new ModelRenderer(this, <UvStart>, <UvStop>);
Shape1.addBox(-1F, 0F, 0F, 1, 1, 2); ---> the 6 Numbers are The Position ( first 3 in X,Y,Z) and Size where size cannot be a floating point number (Google translator :P)
Shape1.setRotationPoint(-4F, 15.5F, 11F); ---> Rotation Origin
Shape1.setTextureSize(textureWidth , textureHeight ); ---> values will be "replaced" automaticly by above defined ( textureWidth = 64; & textureHeight = 64;)
Shape1.mirror = true; ---> Also no Idea what thats for
setRotation(Shape1, 1.745329F, 0F, 0F); ---> Rotation of the Element at X,Y,Z Axis no limitation to 90 Degrees steps (1 = 180° I think might also be 360°)

and
textureWidth = 64;
textureHeight = 64;
are required as this can only use 1 Texture

Format description:
Welp went maybe to far above :D
x
User avatar
JTK222
Supporter
Posts: 51
Joined: 02 Nov 2016, 08:35

Re: Export as Java

Post by Jimmy » 20 Nov 2016, 20:50

Yeah, exactly what he said! ^^^ xD

I'm going to edit my original post to match yours. If for some reason you aren't okay with that, let me know and I'll write my own! :D
x
User avatar
Jimmy
Supporter
Posts: 42
Joined: 01 Nov 2016, 19:41

Re: Export as Java

Post by Jimmy » 01 Dec 2016, 06:56

So does this seem possible? I'd much rather use Cubik than Techne for this :D
x
User avatar
Jimmy
Supporter
Posts: 42
Joined: 01 Nov 2016, 19:41

Re: Export as Java

Post by Sphax » 10 Dec 2016, 18:13

Anyone know an easy viewer of such model?
x
User avatar
Sphax
Admin
Posts: 1314
Joined: 10 Nov 2011, 10:44

Re: Export as Java

Post by LemonCraft » 14 Dec 2016, 12:42

I agree with the author, do support Java format:)
x
User avatar
LemonCraft
Supporter
Posts: 1
Joined: 14 Dec 2016, 11:42

Re: Export as Java

Post by DEMONKLEENR » 25 Apr 2017, 01:22

I also would love Java file export for minecraft formatted like the pastebin above.
x
User avatar
DEMONKLEENR
Supporter
Posts: 2
Joined: 24 Dec 2016, 05:06

Post Reply

Return to “Suggestions”