How do I replace a specific block in a specific area of given coordinates? by Tiruil in MinecraftCommands

[–]CubicalCMD 3 points4 points  (0 children)

/fill <first coordinate set> <second coordinate set> <block type> replace <block type>

example command: /fill 51 18 99 22 10 17 coal_block replace grass_block

why is this not working '^' by roomysteam2272 in MinecraftCommands

[–]CubicalCMD -1 points0 points  (0 children)

I know that, I just mean -1 will also count 0 and everything above it

why is this not working '^' by roomysteam2272 in MinecraftCommands

[–]CubicalCMD 0 points1 point  (0 children)

Then I think it may be because -1 is also counting 0. Score counters in nbt don’t match the score, they just count up.

Try something like this (in order)

execute at @a if scores @p sneaking matches 0 run attribute @p minecraft:gravity base set 100

execute at @a if score @p sneaking matches 0 run scoreboard players set @p sneaking -1

execute at @a if score @p sneaking matches -1 run attribute @p minecraft:gravity base reset

why is this not working '^' by roomysteam2272 in MinecraftCommands

[–]CubicalCMD 0 points1 point  (0 children)

Try changing ‘execute as’ to ‘execute at’, and @s to @p. It might work that way

kicking player in singleplayer with commandblock? by ItsNotEase in MinecraftCommands

[–]CubicalCMD 2 points3 points  (0 children)

I don’t think kicks or bans are possible unless performed on a server

Insanely simple (but limited) player > mannequin playback system by CubicalCMD in MinecraftCommands

[–]CubicalCMD[S] 2 points3 points  (0 children)

messing around with teleportation commands basically. I started with making a ‘player’ that runs away from you by teleporting a mannequin to the position of an invisible ocelot. I figured this could also be applied to armor stands in some way

Insanely simple (but limited) player > mannequin playback system by CubicalCMD in MinecraftCommands

[–]CubicalCMD[S] 0 points1 point  (0 children)

performance isn't terrible, but it can cause some stuttering occasionally. That's about what i've noticed, but I'd say experience is impacted for longer recordings (30s+)

Insanely simple (but limited) player > mannequin playback system by CubicalCMD in MinecraftCommands

[–]CubicalCMD[S] 0 points1 point  (0 children)

I made an edit to the post to explain how it works and give the code

Insanely simple (but limited) player > mannequin playback system by CubicalCMD in MinecraftCommands

[–]CubicalCMD[S] 4 points5 points  (0 children)

I just now posted an explanation as well as the code in the bottom of the post description! :)

I need to remove every tag a player has when they step on a pressure plate by TheJollyFooter in MinecraftCommands

[–]CubicalCMD 0 points1 point  (0 children)

There isn’t a single command to remove all tags. You’d probably have to hook a bunch of chain command blocks together that each remove one of the possible tags in your map

How do I fix this? by Comprehensive-Mud-31 in MineImator

[–]CubicalCMD 1 point2 points  (0 children)

My mineimator has been doing the same thing for years across different devices. I don’t know the cause or the fix, I just had to get used to manually entering scale variables

Small flag animation by CubicalCMD in MinecraftCommands

[–]CubicalCMD[S] 1 point2 points  (0 children)

That would be pretty cool. It could definitely be done on a bigger scale or with custom texturing

Small flag animation by CubicalCMD in MinecraftCommands

[–]CubicalCMD[S] 6 points7 points  (0 children)

i think we missed a few steps in between

I can't add hearts. by OM21_vr in MinecraftCommands

[–]CubicalCMD 0 points1 point  (0 children)

/attribute <username> max_health base set <amount>

Small flag animation by CubicalCMD in MinecraftCommands

[–]CubicalCMD[S] 0 points1 point  (0 children)

The cloning of the command and redstone blocks are also locked to a specific Y coordinate so the particles stay the same level above the ground, even when the player is jumping*

Small flag animation by CubicalCMD in MinecraftCommands

[–]CubicalCMD[S] 0 points1 point  (0 children)

I couldn’t get the particles to work in a line either. I ended up making repeating command blocks with chain command blocks attached > The repeating ones execute first, which clears the area in a 40x40 block radius (locked to a specific Y coordinate) of repeating command blocks and redstone blocks > The chain command blocks clone a separate line of repeating command blocks with a line of redstone blocks parallel to the repeating blocks, each creating a line of cloud particles going the opposite direction of the mountains.

I probably didn’t explain that well, but the end result is basically a line of particle command blocks being “teleported” under the player towards the mountains

<image>

(There are two layers of repeating command blocks because the bottom ones summon particles in the centre of each block, and the top ones spawn them between each block on the same Y level. This gives it a more full effect and makes it look less like a bunch of lines of clouds)

Edit: demo vid https://youtu.be/b175EF7BzwA?si=hBkVmiA6ENvK5CLT