So, I have several commands down, and they are the slightest bit conflicting.
/execute as @a[nbt={SelectedItem:{id:"warped_pressure_plate"}}, Dimension:"minecraft:overworld"] in minecraft:the_nether run tp @s ~ 129 ~
/execute as @a[nbt={SelectedItem:{id:"warped_pressure_plate"}}, Dimension:"minecraft:overworld"] in minecraft:the_nether run fill ~15 129 ~15 ~25 112 ~25
Using repeating commands in command blocks, I want to make it so that if the player is holding a warped pressure plate, and if they are in the overworld, teleport them to the nether ceiling with the same coordinates. The thing is, that I want to fill in a hole in the nether ceiling 20 blocks away ONCE they enter the nether by using the warped pressure plate, but I've been thinking:
- If the person enters the nether first THEN the second command runs to make a hole, the second one doesn't do anything since the person isn't in the overworld anymore.
- If the command tries to break the ceiling first, then tp the player there, the ceiling breaking won't work until a player is there to load the chunks to generate the landscape. (even though the nether ceiling has literally nothing)
I can't do either, so how do y'all suggest I change my commands? Will it work if I just hook both of them up on the same loop so they run at the same exact time, or just turn both of them to repeating so they also run at the same time? (I can't test this stuff; please help.)