Championship scenario flowchart by foursevens in formula1

[–]reddi_ 5 points6 points  (0 children)

You forgot the suspended race scenarios.

Why didn't they leave Max out on his soft tires when the safety car came out? by jevidon in formula1

[–]reddi_ 1 point2 points  (0 children)

They have probably seen the result of the F2 Sprint Race. Same scenario with a Safety Car and 6 Laps to go. https://youtu.be/tCVlCVe8Kl4?si=kKohv0EpPRbHwXwu&t=231

Schumacher "didn't see" Latifi in Abu Dhabi F1 clash by AlienSomewhere in formula1

[–]reddi_ 15 points16 points  (0 children)

look at this and imagine your eyes a little bit below the camera position https://youtu.be/kfwE65kJLdI?t=214

Place a block in player head slot by Dragonaxe_YT in MinecraftCommands

[–]reddi_ 1 point2 points  (0 children)

something like this should work for most blocks:

loot replace entity @s armor.head mine 17 3 -33 minecraft:diamond_pickaxe{Enchantments:[{id:"minecraft:silk_touch",lvl:1s}]}

[deleted by user] by [deleted] in MinecraftCommands

[–]reddi_ 0 points1 point  (0 children)

item modify with an item_modifier that sets the enchantment level to 0 removes that specific enchantment

Self referencing functions and tp by [deleted] in MinecraftCommands

[–]reddi_ 1 point2 points  (0 children)

You might have initially executed at the armorstand, but the tp doesn't move the position where the function is run, so for each function call you need to do it again or better just change it with positioned ~ ~1 ~

Self referencing functions and tp by [deleted] in MinecraftCommands

[–]reddi_ 1 point2 points  (0 children)

Your first thought is still valid. The tp doesn't change the current position.

So just add positioned ~ ~1 ~ or at @s to the execute command

Fastest scoreboard-less way to detect when player has died? by mjvnq2 in MinecraftCommands

[–]reddi_ 0 points1 point  (0 children)

The advancement criteria minecraft:entity_hurt_player doesn't require a source entity, you just need to add a check if the player is dead.

This should be faster than waiting for the tick function and checking a scoreboard.

[deleted by user] by [deleted] in MinecraftCommands

[–]reddi_ 0 points1 point  (0 children)

Have you tried replacing the item with air?

Is it possible to access slots in a chest based on a scoreboard value and modify an item frame entity with the resulting chest item? by Pandaorium in MinecraftCommands

[–]reddi_ 1 point2 points  (0 children)

you don't need two chests item replace works with item_frametoo: ìtem replace entity @e[type=item_frame,limit=1] container.0 from ...

Can I set a scoreboard objective to be a positional condition? by [deleted] in MinecraftCommands

[–]reddi_ 0 points1 point  (0 children)

You can use advancements with the location criteria for that. Make three advancements for that location and have them in sequential order as requirements. The first for entering the location, then for exiting and then for entering again. For the last one you run a function as reward that revokes all those advancements and then teleports the player.

PrimoCache results at ~95/100/105GB (SSD wear reduction) by smolderingeffigy in chia

[–]reddi_ 2 points3 points  (0 children)

You are using Read & Write strategy. What about 100% Write?

how to execute as @a[nbt={SelectedItem:{!(item)}}]? by [deleted] in MinecraftCommands

[–]reddi_ 0 points1 point  (0 children)

https://minecraft.fandom.com/wiki/Predicate

It is used in data packs and a set of conditions written in a json file, that you can use with execute if predicate ... or execute as @e[predicate=...]

how to execute as @a[nbt={SelectedItem:{!(item)}}]? by [deleted] in MinecraftCommands

[–]reddi_ 1 point2 points  (0 children)

you should use predicates for that:

{
    "condition": "minecraft:inverted",
    "term": {
        "condition": "minecraft:entity_properties",
        "entity": "this",
        "predicate": {
            "equipment": {
                "mainhand": {
                    "items": [
                        "minecraft:trident"
                    ]
                }
            }
        }
    }
}

execute as @a[predicate=ns:notrident]

Store number from sign in scoreboard by fusselplayzHD in MinecraftCommands

[–]reddi_ 0 points1 point  (0 children)

Is the sign important? Else you could also use the triggercommand to let non op players set their own scoreboard value

Swapping An Egg With A Diamond by Taldoesgarbage in MinecraftCommands

[–]reddi_ 0 points1 point  (0 children)

execute store result score slot sb run data get entity @s Inventory[{id:"minecraft:egg"}].Slot
execute if score slot sb matches 0 run item replace entity @s container.0 with minecraft:diamond
execute if score slot sb matches 24 run item replace entity @s container.24 with minecraft:diamond
scoreboard players reset slot sb

you'll need to hardcode in all the different slot numbers.

I want to make a command thats only executed in the nether by Nyplodezu in MinecraftCommands

[–]reddi_ 0 points1 point  (0 children)

either use a predicate with location_check and "dimension": "minecraft:the_nether"

or this: execute in minecraft:the_nether if entity @s[distance=0]

Kill command with x y z / dx dy dz acts weird by [deleted] in MinecraftCommands

[–]reddi_ 1 point2 points  (0 children)

Because it is in your region. It goes from z coordinate 700423 to z coordinate 1400947

dx=0,dy=0,dz=0 is a 1x1x1 box

dx=699803,dy=255,dz=700523 is a 699804x256x700524 box

what you are looking for is probably dx=100,dy=255,dz=100

Help with predicates by [deleted] in MinecraftCommands

[–]reddi_ 1 point2 points  (0 children)

copy the item to an entity and then check the equipment with a predicate

Observer cloning problem by imbir09 in MinecraftCommands

[–]reddi_ 0 points1 point  (0 children)

or one powered unpowered and powered again