Jump to content

[SOLVED] [1.8] Rotate Entity


ThexXTURBOXx

Recommended Posts

Hello guys ^^

Maybe I am just silly, but I think, that setRotation(...) in Entity-classes doesnt't work...

Is there a way to set the rotation of a EntityThrowable? Do I have to add something in the Model-class, Entity-class or Render-class?

Here are those classes:

https://github.com/TheOnlySilverClaw/Reforged/blob/master/java/org/silvercatcher/reforged/entities/EntityJavelin.java

https://github.com/TheOnlySilverClaw/Reforged/blob/master/java/org/silvercatcher/reforged/render/RenderJavelin.java

https://github.com/TheOnlySilverClaw/Reforged/blob/master/java/org/silvercatcher/reforged/models/ModelJavelin.java

 

I hope you can help ^^

Bringing the best mod back alive! Our mod REFORGED!

Balkon's Weapons for 1.8: https://github.com/TheOnlySilverClaw/Reforged/releases

Link to comment
Share on other sites

Hello guys ^^

Maybe I am just silly, but I think, that setRotation(...) in Entity-classes doesnt't work...

Is there a way to set the rotation of a EntityThrowable? Do I have to add something in the Model-class, Entity-class or Render-class?

Here are those classes:

https://github.com/TheOnlySilverClaw/Reforged/blob/master/java/org/silvercatcher/reforged/entities/EntityJavelin.java

https://github.com/TheOnlySilverClaw/Reforged/blob/master/java/org/silvercatcher/reforged/render/RenderJavelin.java

https://github.com/TheOnlySilverClaw/Reforged/blob/master/java/org/silvercatcher/reforged/models/ModelJavelin.java

 

I hope you can help ^^

 

what do you want to do exactly? that could help us.

"My Crew is World Wide." 「ヤング • エルトウ」

Link to comment
Share on other sites

what do you want to do exactly? that could help us.

I want the Entity to get rotated. It should get rotated when it is thrown so it looks in the same direction the player is looking.

Right now it looks in the same direction everytime (I think it's north).

Bringing the best mod back alive! Our mod REFORGED!

Balkon's Weapons for 1.8: https://github.com/TheOnlySilverClaw/Reforged/releases

Link to comment
Share on other sites

I answered your question your other thread for your boomerang.

 

Just do the same thing

 

http://www.minecraftforge.net/forum/index.php/topic,36246.msg190722.html#msg190722

Well, tried that already, but the Javelin flies pretty crazy then. It rotates while flying then.

Bringing the best mod back alive! Our mod REFORGED!

Balkon's Weapons for 1.8: https://github.com/TheOnlySilverClaw/Reforged/releases

Link to comment
Share on other sites

How about you use Jump to Declaration and look at their implementation?

Apparently I'm a complete and utter jerk and come to this forum just like to make fun of people, be confrontational, and make your personal life miserable.  If you think this is the case, JUST REPORT ME.  Otherwise you're just going to get reported when you reply to my posts and point it out, because odds are, I was trying to be nice.

 

Exception: If you do not understand Java, I WILL NOT HELP YOU and your thread will get locked.

 

DO NOT PM ME WITH PROBLEMS. No help will be given.

Link to comment
Share on other sites

I answered your question your other thread for your boomerang.

 

Just do the same thing

 

http://www.minecraftforge.net/forum/index.php/topic,36246.msg190722.html#msg190722

OMG sorry -.- In the GL11.rotated(...) I set in the parameters x, y, z instead of 0, 1 and 0....

Sorry ^^

Bringing the best mod back alive! Our mod REFORGED!

Balkon's Weapons for 1.8: https://github.com/TheOnlySilverClaw/Reforged/releases

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.

Announcements



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.