Jump to content

[1.7.10] Playing sound as background and stop it


Recommended Posts

Posted

Hi guys first of all I have to say that I'm still learning java in school and I'm a bit still confused how minecraft work, but I have no experience with sounds is java in minecraft at all.

To sum up :D I know how to make simple mods, blocks, mobs, items, dimensions but no experience with complex commands and sounds...

I'd like to learn it and my goal is to modify or recreate the playsound command, but with a few new properties:

 

1.) Make an argument which determines that is it on background mode so it's not on a specific location but moving as the player goes (kind of those "music" musics in the game)

// I'm not just asking how to make new commands and arguments, I'm interested more the other part  ;)

 

2.)To make another command which fades away the specific music (maybe setting an ID for the played sound)

// something like "/stopsound <Player> <sound> [fade t/f]

 

Any advice where to look, learn about it?

Thanks guys :) 

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Announcements



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.