Java model Animation Import Function

Started by MrScautHD on

Topic category: Minecraft mod ideas exchange

Active 3 years ago
Joined Apr 2020
Points:
776

User statistics:

  • Modifications: 0
  • Forum topics: 21
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 135
Java model Animation Import Function

Hi i have a nice idea!

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

Active 3 months ago
Joined May 2014
Points:
1034

User statistics:

  • Modifications: 3
  • Forum topics: 24
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 330
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.

Active 3 years ago
Joined Apr 2020
Points:
776

User statistics:

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

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

Active 3 years ago
Joined Apr 2020
Points:
776

User statistics:

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

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

Active 3 months ago
Joined May 2014
Points:
1034

User statistics:

  • Modifications: 3
  • Forum topics: 24
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 330
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.

Active 3 years ago
Joined Apr 2020
Points:
776

User statistics:

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

oh ok :(