Need help about procedure (can't figure how to do a specific thing)

Started by Hatmenfromspace on

Topic category: Help with MCreator software

Last seen on 22:03, 22. May 2020
Joined May 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Need help about procedure (can't figure how to do a specific thing)
Wed, 05/06/2020 - 16:24 (edited)

Hello, I need help about procedure because I cant' figure how to make something.

Ive been working on a cassette tape player mod since a while now for making pixel arts etc.. But now I need a gui to make things work.

Imagine : You put a tape, then a list of song (that are custom songs) appears and you can select play / stop them.

Thanks for your help.

Edited by Hatmenfromspace on Wed, 05/06/2020 - 16:24
Last seen on 02:28, 29. Mar 2024
Joined May 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
link block to gui make imput…
Fri, 05/22/2020 - 16:42

link block to gui

make imput slot

two buttons: play and stop

and text that says:Now playing:<BNBT:text:Yoursong>

if slot item= tape1, then set bnbt Yoursong to tape1

play procedure:if yoursong=tape one, then playsound tape1

stop procedure: use stopsound command

 

Also, you can do it this way, get many input slots

so you can even search for songs!