#sound plays when player jumps in a specific place
1 messages · Page 1 of 1 (latest)
<@&1201956957406109788>
💬 While you wait, take this time to provide more context and details.
🙇 After a while, hit the Summon Helpers button to ping the helper team. They'll be happy to help you
✅ Once your question has been resolved (or you no longer need it), please click Resolve Question or run /resolve
Don't forget to close or resolve your old questions once you're done with them. It makes our lives much easier! :D
Open question: #1221436753458757724
playsound <sound> <source> <targets> [<pos>] [<volume>] [<pitch>] [<minVolume>]
it didnt work
playsound minecraft:block.anvil.break block @s[x=51,y=136,z=31,dx=2,dy=0,dz=-2] 1 1 1
Did you check for errors while typing? Because you're missing a field
what field?
Pay attention to errors as you type the command in chat
im telling u idk how to do it
I could tell you, but this s valuable troubleshooting I believe you should learn
im confused thats why
Type the command in chat
slowly
And when things start turning red, look at what it's trying to tell you is wrong
wait first of all
so ik if im doing the correct thing
did i do this part correct atleast?
playsound minecraft:block.anvil.break block @s[x=51,y=136,z=31,dx=2,dy=0,dz=-2]
this^
That looks right
/playsound minecraft:mcc.sfx.jump_pad block @s[x=51,y=136,z=31,dx=2,dy=0,dz=-2] [x=51,y=136,z=31,dx=2,dy=0,dz=-2]
its red now
cuz it wanted the position twice
/playsound minecraft:mcc.sfx.jump_pad block @s[x=51,y=136,z=31,dx=2,dy=0,dz=-2] ~ ~ ~ 100
what about this?
these 2 arent working
yeah and now im not sure if they are right
hello? @still juniper
I'm not in a position to help further right now
its okay dude
<@&935561184806060073> <@&1202694677766348840>
Please note that you still might not immediately get a response since all helpers are human beings and volunteers (and also might be sleeping right now)
@steady bronze yo dude i cant really fix this issue, btw im not pretty sure that i can ping u, but the reason i did it is cuz datapack hub bot said i can ping after 30 mins
aight, i really dont wanna read the entire convo above, is reading the main message enough or is there more info
could you copy paste all the important things in 1 message
yessir
so basically im trying to make this blue thing into a jump pad, i gave the effect when someone goes there but i want to make it so once someone is there in between the two poistion and jump it will play a sound for example someone goes there jumps and it will shoot him up plus play a sound when he jumps not when he goes there
well uh
i guess i would
create a objective that detects jumping, and then after jumping i check whether the player is in the area, and if he is ill play sound and launch him up
straightforward
is that what you tried?
what issues have you faced
nope
i tried something similar to it but it didnt work
afaik its literally called minecraft:jump
not entirely sure tho
wait i guess if its a specific block of a launchpad you could detect that block instead of hardcoding the specific area so you can build more launchpads in the future easier with no hardcoding the positions
hmm
yeah
yeah so what next?
so is it a very specific block different from the other blocks
i dont know if i get bullied for this but i guess you can use marker to tell the datapack where the launchpad is
ig you just stand right in the middle, go ahead summon a marker with some tag like "launchpad"
when player jumps, check if hes near that marker, play sound, launch him in the sky
should i go into more details with anything here
detecting jumps should be like
tick
[35mexecute [34mas [36m@a [34mif [36m@s [0mjumpsound [34mmatches [32m1[35m.. [34mrun [35mfunction [0mjump
jump
[35mscoreboard [34mplayers [34mreset [36m@s [0mjumpsound
[35mplaysound[35m..[0m.
[0mlaunch [0mup[35m..
what version you on?
for launching up you can use delta library, it can give player motion and its pretty customizeable
you can either use the original delta, or the fork if you're on the newest version
oh yeah also forgor to check if the launchpad marker is nearby
so i guess you should use the original delta, pretty sure the fork uses macros(?)
just why
then ill use datapacks
"normal"
its cuz im still trying to get used to datapaacks, cuz i suck at it
fr
the more you suck the less you suck
embrace the suck
so you dont suck
ridiculous it may sound, its true
do you know what marker is
marker is just an entity
like zombie, or boat, or bear, or whatever
you can summon it thru the /summon command
its not something hard or something to be afraid of
🤨
its your friend alright
its optimized, its invisible, it has no hitbox, and very useful in datapacks
This thread has been inactive for some time, so I'm going to archive it.
If you're still using the thread, just send a message and it'll pop back on the thread list.
This thread has been inactive for some time, so I'm going to archive it.
If you're still using the thread, just send a message and it'll pop back on the thread list.