I found a tutorial for custom walk animatons but i cant find code blocks

Started by HowCanIFixPivotPoint on Wed, 12/30/2020 - 10:06

Topic category: Help with modding (Java Edition)

Last seen on 17:08, 30. Dec 2020
Joined Dec 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
I found a tutorial for custom walk animatons but i cant find code blocks
Wed, 12/30/2020 - 17:08 (edited)

Event Trigger (the top green part) [no additional trigger]

IF {[X velocity not equal to 0] AND [Z velocity not equal to 0]} OR {[X velocity not equal to 0] OR [Z velocity not equal to 0]}

   do IF [Get Event/target entity] data logic NBT tag "PlayingAnim" = false

     do {Play animation [animationnamehere] as entity [Event/target entity]. Should loop = false}

       Set [Event/target entity] data logic NBT tag "PlayingAnim" to true

    Else {set [Event/target entity] data number NBT tag "AnimTimer" to [Get [Event/target entity] data number NBT tag "AnimTimer"] - [1]

       IF [Get [Event/target entity] data number NBT tag "AnimTimer"] is less than or equal to [0]

         do {Set [Event/target entity] data logic NBT tag "PlayingAnim" to false}

              {Set [Event/target entity] data number NBT tag "PlayingAnim" to [animation time in seconds *20]}

Else if {[X velocity = 0] AND [Z velocity = 0]}

         do {Set [Event/target entity] data logic NBT tag "PlayingAnim" to false}

              {Set [Event/target entity] data number NBT tag "PlayingAnim" to [animation time in seconds *20]}

this is tutorial. but i cant find code blocks of codes.

Edited by HowCanIFixPivotPoint on Wed, 12/30/2020 - 17:08
Last seen on 17:08, 30. Dec 2020
Joined Dec 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
No answers?
Wed, 12/30/2020 - 10:55

No answers?

Last seen on 17:08, 30. Dec 2020
Joined Dec 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
why no answer?
Wed, 12/30/2020 - 17:05

why no answer?

MCreator has search bar to…
Wed, 12/30/2020 - 17:08

MCreator has search bar to find blocks.

But you don't know how to find and search these blocks, I suggest you check our tutorials collection playlist on our YouTube channel which contains many examples and tutorials that can help you get started with MCreator: https://www.youtube.com/playlist?list=PLAeL-oIFIEngE6jRgFYeFMfuj8WQsO3Ei

Also for procedures especially, this one: https://www.youtube.com/playlist?list=PLAeL-oIFIEngf6S4p5X5CBd4GyWLUVaHA

Last seen on 17:38, 22. May 2022
Joined Apr 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Please look in to my forum…
Tue, 08/03/2021 - 17:00

Please look in to my forum(question) here - https://mcreator.net/forum/77060/need-help-hnow-lower-animation-amplitu…


I REALLY need help. Don't have time to wait 3 months,  until I get an answer.. Need it as soon as possible!

I see you are really good with animations. I know you can help! I will be so thankful and happy if I will get an answer :))))))

Last seen on 02:40, 4. Jan 2022
Joined Jun 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
I think you need GeckoLib…
Wed, 08/04/2021 - 02:41

I think you need GeckoLib and its associated plugin for Mcreator

 

It seems to rely on the plugin's code blocks