Animate Chest?

Started by Blissfly on

Topic category: Help with Minecraft modding (Java Edition)

Active 2 years ago
Joined May 2022
Points:
323

User statistics:

  • Modifications: 0
  • Forum topics: 3
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 3
Animate Chest?

So, this might sound silly, but how do you make it so your chest does the open and close animation when you right click or close the GUI? (I am new to MCreator)

Active 2 years ago
Joined May 2022
Points:
323

User statistics:

  • Modifications: 0
  • Forum topics: 3
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 3
Another question that might…
Fri, 05/20/2022 - 22:49

Another question that might be helpful, is how fast does this code run? Like, how long does it take to switch from one block of code to another?

See, where I am going with this is if I make each frame of the animation, I can make a set of code that runs and changes the block state in an order... that's just a theory though.

Active 1 year ago
Joined Feb 2022
Points:
498

User statistics:

  • Modifications: 0
  • Forum topics: 24
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 23
the code blocks go instantly…
Fri, 06/03/2022 - 03:39

the code blocks go instantly so if you go that route then use the wait ____ ticks block between each frame(20 ticks is a second)

but you should also consider something like a barrel, just one or two textures instead of that whole animation mess

Active 2 years ago
Joined May 2022
Points:
323

User statistics:

  • Modifications: 0
  • Forum topics: 3
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 3
Thanks for the help, just…
Fri, 06/24/2022 - 04:24

Thanks for the help, just needed some conformation that my knowledge was correct.

I am revamping barrels too, but this mod also revamps the chests to make each one have its own wood type.

Active 1 year ago
Joined Feb 2020
Points:
614

User statistics:

  • Modifications: 0
  • Forum topics: 1
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 2
Hi, I wanted to know if you…
Sun, 07/16/2023 - 05:54

Hi, I wanted to know if you have any problems with the animations, since in my case, I have the animations done but when I close the chest, the open animation doesn't stop. Have you been able to solve this problem by chance?