geckolib sounds

Started by SleepyWhirl on

Topic category: Help with MCreator software

Last seen on 19:59, 10. Dec 2023
Joined Oct 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
geckolib sounds

hello

while animating stuff in blockbench with the geckolib plugin and then importing them into mcreator with the geckolib plugin installed there aswell, is it possible to import sound effects with the animation (aka when they are added in blockbench in the editor as a special effect and then exported) in any way? just adding them and exporting the model into mcreator doesnt seem to work, is it possible? or does anyone have some sort of work around to where i could time the sounds/particles with the animations?

Thanks!

Last seen on 17:57, 7. Apr 2023
Joined Feb 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I was looking if it was…
Thu, 03/30/2023 - 04:44

I was looking if it was possible :p

Last seen on 19:59, 10. Dec 2023
Joined Oct 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
well? any results?
Thu, 03/30/2023 - 11:08

well? any results?

Last seen on 06:15, 28. Feb 2024
Joined Feb 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
It kinda works. I got…
Sun, 04/09/2023 - 14:33

It kinda works. I got Animated Models working but their sound doesnt seem to play when its only done through Blockbench animations

Last seen on 19:59, 10. Dec 2023
Joined Oct 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
thats lterally what i was…
Sat, 04/15/2023 - 18:45

thats lterally what i was saying

Last seen on 06:15, 28. Feb 2024
Joined Feb 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
You know what works? For…
Sat, 04/15/2023 - 19:16

You know what works?

For making specialized sounds such as death or attack you would normally use Blockbench's effect system for you can use Procedures and the In-Built Triggers in the Living entity properties in Mcreator. You can add even more such sounds through Nerdy's Geckolib plugin and its Geckolib Entity Mod element Block. You just use the Play (your sound) at x y z level 1 pitch 1 category neutral Block for it.
A Template for such attack sounds would be :

Event Trigger : Entity attacked.

Then the Procedure Blocks in this order :

if Block with this in the if slot : Source entity (sub)type of (your Entity name)

and this in do slot : Play (your sound) at x y z level 1 pitch 1 category neutral

 

the same can be done with death sounds using the Entity dies Event Trigger.

Hope this helps!

Myssyhead

Last seen on 19:59, 10. Dec 2023
Joined Oct 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
thank you for the tip! i…
Sat, 04/15/2023 - 22:58

thank you for the tip! i appreciate it,

im gonna be trying that out and playing around with it a bit