how to activate the animation of a block when it is placed

Started by Daidondevid on

Topic category: Help with Minecraft modding (Java Edition)

Active 5 years ago
Joined Sep 2019
Points:
674

User statistics:

  • Modifications: 0
  • Forum topics: 4
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 4
how to activate the animation of a block when it is placed

when an animated block is placed the animation has already started. Would there be a way to fix this?

Active 5 years ago
Joined Aug 2019
Points:
1033

User statistics:

  • Modifications: 0
  • Forum topics: 31
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 450
Have a block with the first…
Fri, 11/01/2019 - 22:23

Have a block with the first frame of the animation and when you want the animation to play, simply place the animated block at that x,y,z.

Active 5 years ago
Joined Sep 2019
Points:
674

User statistics:

  • Modifications: 0
  • Forum topics: 4
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 4
then I did a procedure that…
Sat, 11/02/2019 - 13:18

then I did a procedure that when a block is pressed it is replaced by the animated block, only that the animation (which in my case is a timer) is already in progress and all the animated blocks that are placed are in sync with each other

Active 5 years ago
Joined Aug 2019
Points:
1033

User statistics:

  • Modifications: 0
  • Forum topics: 31
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 450
Yes. That is currently how…
Sat, 11/02/2019 - 15:21

Yes. That is currently how Minecraft handles animated textures I think. They all point to the same animation to be more processor friendly.

Active 5 years ago
Joined Sep 2019
Points:
674

User statistics:

  • Modifications: 0
  • Forum topics: 4
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 4
And wouldn't there be a way…
Sun, 11/03/2019 - 10:52

And wouldn't there be a way to solve it?

Active 5 years ago
Joined Aug 2019
Points:
1033

User statistics:

  • Modifications: 0
  • Forum topics: 31
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 450
Custom code.
Sun, 11/03/2019 - 11:06

Custom code.