Jump to content

[1.7.10]Improved Commands! Adds commands to stop sounds, 1.8+ JSON format,& more


Recommended Posts

Posted

You can use this in modpacks. In fact, it was made for one, Discovery

 

Download on curse http://mods.curse.com/mc-mods/minecraft/243929-improved-commands#t1:other-downloads

 

This mod adds 4 new commands:

/playsound2 sound <mode> <player> <x> <y> <z> <vol> <pitch> <delay>

 

 

As you can see, this has 2 more arguments:

 

mode can be normal (default), loop or stop. normal plays the sound like normal, but overrides the sound already playing from that position (played with this command, it cannot override sounds played other ways). loop is like normal, but the sound loops until it is stopped. stop stops the sound, regardless of what sound is in the sound argument.

 

delay is the time between each loop, if mode is set to loop.

 

/playsoundb sound <mode> <player> <vol> <pitch> <delay>

 

 

This command plays background music (so, regardless of position) to the specified player, which is by default @p. The mode argument is the same as in /playsound2, except the sounds are overridden / stopped based on the sound itself (so, to stop records.cat you have to do records.cat). Again, you can only stop sounds played with this command.

 

 

/summon2

 

 

This command is exactly the same as /summon, except in the JSON you can use string item IDs for items (in equipment, etc) like in 1.8+, so you won't have the items the mob is spawned with changing between each save because modded numerical IDs change with saves.

 

 

/setblock2

 

 

Same thing as above, but for setblock.

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.