Breaking animation instead of instantly breaking a block

Started by vurro on

Topic category: Help with modding (Java Edition)

Last seen on 19:02, 30. Aug 2022
Joined Aug 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Breaking animation instead of instantly breaking a block

My code makes it so that i can instantly break bedrock with a left click (using a certain pickaxe), and i'd like it to have a breaking animation like all blocks do when you break them.
This is my current code: https://imgur.com/a/PmFKBdi

Last seen on 19:02, 30. Aug 2022
Joined Aug 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Figured it out.
Sun, 08/07/2022 - 04:37

Figured it out.

Last seen on 13:56, 19. Dec 2022
Joined Feb 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
how
Sun, 08/07/2022 - 15:37

how

Last seen on 22:26, 17. Apr 2024
Joined May 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
how did u do it?
Fri, 10/21/2022 - 13:39

how did u do it?

Last seen on 11:59, 19. Apr 2024
Joined Jul 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
you just check which hand…
Fri, 10/21/2022 - 17:21

you just check which hand the item is in and use the swing procedure, plus the break particles procedure.

Last seen on 17:30, 10. Apr 2023
Joined Mar 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Do you have the code cause…
Sat, 03/18/2023 - 19:09

Do you have the code cause it doesn't make sense to me?