#Why the function say hi but don't tag @a with lock_ready ???
1 messages · Page 1 of 1 (latest)
because you wrote @s not @a
Honestly, please help me. I've been struggling with the game for a day now because it's riddled with bugs, and I'm trying to work around its limitations...
Yes, I forgot to put @a back, but even then, it was rejected.
Ideally, I want the player to ride an armor stand that I spawn, but they only ride it for a single frame—likely because of the small text that appears at the bottom; it disappears immediately, even when I execute the two commands in separate frames...
So I try this whole system that's 110 times more complicated, but in the end, it doesn't work it's SOOO frustrating.
Basically, the Amor Stand does actually appear here, but the player refuses to mount it.
btw why are you using macros for this 😭
macros are really bad for performance
Ahhh
Can you just explain your general goal?
(not your problem tho)
I want an armor stand to spawn when I crouch, and for me to be riding it.
Ok
Ill just give you a simple list on what you need to do
I'm going to remove the macros for the armor stands; they were originally intended to prevent players and armor stands from being confused with one another, but I think they're causing more problems than they solve.
Crouch detection is set up, and the armor stand spawning works too; it's just the /ride command that refuses to work.
Yes normally
Yesss
And I just noticed that when I run this function manually, the /ride from the previous function triggers that makes no sense!
Yes, I thought of that, but when I held down Shift and spammed /ride, it worked yet the player didn't spam the action of getting out of the ride.
Potentially do the ride twice.
So, previously, when a player had the "locked" tag, I would spam the /ride command and then assign them a different tag to prevent the command from being used again; however, the command would fail to execute even though the /tag command had been applied after the /ride spam so ultimately, nothing happened. Basically, I’m just constantly battling game bugs.
Idk what you are doing there, but I would guess you just instantly unmount the armor stand when pressing shift
No, he's staying.
I DID IT AFTER LIKE 10 HOURS I THINK I'M GONNA CRY BAHAHA
what was the problem tho
Well, like you, I'm convinced it was due to the crouch key which is the same one used to both mount and dismount the armor stand. Basically, half the time my player would end up mounting it. So, I simply spammed the mount command after crouching; I checked and found you need to do it at least twice, so I set it to 10 ticks instead of two just to be safe and avoid any potential bugs. I then set it to stop once the player's score reached 10 or higher (since the score increases every tick while mounted), allowing the player to dismount. That was at least my 15th attempt, but I've learned that anything is possible in Minecraft, haha.
Here is the result; the carrot_on_a_stick and the armor_stand will eventually be made invisible, but I am not doing that for the moment to avoid bugs or confusion in the event of a bug.
Wait, that's not the right video.
you're looking for a player ID system
so why don't you use it for the armorstand instead of the macro?
Basically, I use a different score for each player, so I save their score in a macro to assign that same score to the armor stand, and then link them.
Is it possible to disable player interaction with surrounding blocks without setting block_interaction_range to 0?
you can spawn an interaction at their head
Sorry, I had explained it, but my message didn't send.
I done /execute anchored eyes run summon interaction but I can still
Actually, I realize that since I mapped the "crouch" key to the block-locking function, it's no longer possible to transform into an interactable block. So, I could do what you suggested, but I'm worried that if the player moves too fast, there will be a delay in the interaction, making it possible to interact with the blocks or else I'd have to change the block locking key, which took me so long to set up... 😭
you can also set the player's gamemode to adventure