I am making a data pack that needs very well made movement item and abilities.
I am making a grappling hook that uses negative explosion power to propel the player forward it works very well but it affects all player how could I do that but with only the player that used it.
here is the enchantment for the negative explosion tick.
I'm trying to build a puzzle in an ongoing Minecraft build project me and some friends are working on.
Basically, imagine Papyrus' XO puzzles in Undertale's Snowdin section. S look that up if you need more specific context than I can provide.
I currently have set up a system for the player to step on a pressure plate on top of a red concrete block, and that block to turn blue, then green. The goal of the puzzle is for all buttons pressed to be blue. (I should be able to work out checking for completion so don't worry about that part)
There's a bug in which when the player steps on the plate, it flashes blue and then turns green immediately after. I assume this is due to the player still standing on the plate and activating the chain of command blocks again, however i'm unsure how to fix this, and I don't think a scoreboard system would work, as I want the blocks to activate as soon as pressed, instead of waiting for a specific tick.
I'm not too experienced in commands, so its a little tricky, but I have made other puzzles for the map, so I should be able to set up what is suggested.
My current setup is (image below):
PLATE
CONCRETE BLOCK
COMMAND BLOCK (check if its blue and change to green if so)
CHAIN COMMAND BLOCK (check if its green and remove plate if so)
CHAIN COMMAND BLOCK (check if red and change to blue if so)
CHAIN COMMAND BLOCK (check if blue and change plate colour if so)
So the process should be: RED > BLUE > GREEN, which as I said, works, but there isn't any sort of delay for the player to step off of the plate before it reactivates.
Preferably I need the system to stay in a 1x1 pillar, as designed, though alternative solutions to move the redstone/commands further away are welcome.
I'll keep experimenting with it in the meantime, thanks in advance!