summon area_effect_cloud ~ ~ ~ {Tags:["random_uuid"]}
execute store result score @s random run data get entity @e[type=area_effect_cloud,tag=random_uuid,limit=1] UUID[0] 1
scoreboard players operation @s random %= @s range
kill @e[type=area_effect_cloud,tag=random_uuid]
You have to set the "range" scoreboard" so your number will be between 0 and "range"-1.
/title @a title ["",{"text":"a","obfuscated":true,"color":"#EAF063"},{"text":"ShnozCrate","color":"#EAF063"},{"text":"a","obfuscated":true,"color":"#EAF063"}]
It's because in the repeat command block, @s mean nothing. @s mean "the entity who run the command" and here, it's the command block who run the command, and it doesn't have a scoreboard. For your scoreboard, you have to change the @s to @p (nearest player) or your minecraft name.
it's very simple to start the music, you just have one command : /function megalo:start_music
to add notes, you have 2 files to modify, the first, start_music.mcfunction where you will put when the notes will play, for megalovania, we will count 3ticks for 1 demi-crochet (I'm french, don't know if it's called like this).
And the second file is called notes.mcfunction, where you have to copy one line, add 1 to the number after "matches" and put the right pitch at the end, https://minecraft.fandom.com/wiki/Note_Block for the pitches. You can also play two notes at the same time for exemple, if you have 2 notes to play, write it like this :
execute if score #MUSIC tmp matches 10 run playsound minecraft:block.note_block.banjo ambient @a ~ ~ ~ 1 1.059463
execute if score #MUSIC tmp matches 10 run playsound minecraft:block.note_block.banjo ambient @a ~ ~ ~ 1 0.793701
the two notes will play together. If you have questions, feel free to ask.
1
Oh well, in that case, you can write :
1
You can even just write :
0
Could you send your datapack?
1
You have to tell it where to find silent.json
just like when you have to run a function.
0
You spawn the chicken at the position 0 0 0
If you want it to appear where you launch the command, change 0 0 0 by ~ ~ ~
0
You can do that :
You have to set the "range" scoreboard" so your number will be between 0 and "range"-1.
0
You can't put maj for your json file, and in iron_axe.json, remove the .json for the model.
0
0
try this :
1
It's because in the repeat command block, @s mean nothing. @s mean "the entity who run the command" and here, it's the command block who run the command, and it doesn't have a scoreboard. For your scoreboard, you have to change the @s to @p (nearest player) or your minecraft name.
1
You just have to do this :
0
summon a minecart with tag "a" and one with tag "b", then
0
I worked a little on it, here the update version :
https://mega.nz/file/dJ0kiThZ#1ZJmPGUWeHhr_Dz9kMbONwtUUaSIeKcrHIsx7BNI4cY
0
That's not possible. Command blocks can only contain 1 command.
If you want to make that without fill your map with command blocks, you can use datapacks.
https://mega.nz/file/pF8STRJQ#tsaZfTibMipNrlouhYnexJF3hiEvNXYfpbHi2NcFKq8
here is the datapack I made for music.
it's very simple to start the music, you just have one command : /function megalo:start_music
to add notes, you have 2 files to modify, the first, start_music.mcfunction where you will put when the notes will play, for megalovania, we will count 3ticks for 1 demi-crochet (I'm french, don't know if it's called like this).
And the second file is called notes.mcfunction, where you have to copy one line, add 1 to the number after "matches" and put the right pitch at the end, https://minecraft.fandom.com/wiki/Note_Block for the pitches. You can also play two notes at the same time for exemple, if you have 2 notes to play, write it like this :
the two notes will play together. If you have questions, feel free to ask.
1
Sadly no, that's not possible.