Java model Animation Import Function

Started by MrScautHD on Sat, 07/11/2020 - 17:31

Topic category: Mod ideas exchange

Last seen on 20:14, 3. Aug 2021
Joined Apr 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Java model Animation Import Function
Sat, 07/11/2020 - 17:31

Hi i have a nice idea!

Add Java model Animation Import Function and with Producec can you Aktivaited The Animation :)

Last seen on 22:43, 31. Jul 2021
Joined May 2014
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Minecraft has absolutely no…
Sun, 08/09/2020 - 20:54

Minecraft has absolutely no support for animations in Java. The ones you see in mods or in Vanilla Minecraft (i.e. Chests or the Ender Dragon) are hard-coded using custom code, and it would be extremely difficult to make anything to code the animations for you.

So, as it stands, and probably for the foreseeable future, there is no way to import animations or generate them in any way. You've gotta hand-animate them.

Last seen on 20:14, 3. Aug 2021
Joined Apr 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
not json,obj... i will…
Mon, 08/10/2020 - 19:57

not json,obj... i will animate a Entity

Last seen on 20:14, 3. Aug 2021
Joined Apr 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
and the Mcreator have…
Mon, 08/10/2020 - 19:58

and the Mcreator have Animations for Entitys but i will import Functions for it

Last seen on 22:43, 31. Jul 2021
Joined May 2014
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
I know you aren't talking…
Mon, 08/10/2020 - 21:57

I know you aren't talking about JSON or OBJ models, of course (Chests are also Java models, you know). I am saying that Minecraft only has support for what is hard-coded into the game, which are:

  • leg swing animation
  • arm swing animation
  • head animation (looking around)

Other than these three (as well as their subparts, such as swinging on different axes) there is absolutely zero support for any other kind of animation unless you go in and meticulously move every part using custom code in the form of trig functions (sin, cos, tan), custom variables, timers, rendering passes, entity NBT data, etc.

Any animation other than the three defined above (ie the Ender Dragon, Villagers shaking their heads, Sheep/Cows eating grass) is created using the strategies listed above.

Sorry, but it's just the way Minecraft is built. It doesn't have room for canned animation that can be triggered on command such as what (I think) you're describing.

Last seen on 20:14, 3. Aug 2021
Joined Apr 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
oh ok :(
Tue, 08/11/2020 - 19:16

oh ok :(