mojira.dev
MC-50177

Commands are only working in a certain area

When I do a these two commands:

/tp @e[type=Silverfish,name=Hitblock] @p

&

/tp @e[type=Silverfish,name=Hitblock] ~ ~-5 ~

it makes the Silverfish apear -5 blocks bellow me, which is what I want, but when I move these commands to a different area (These commands are in a commandblock which is hooked up to a clock) and put the same command in the command block, it only activates the one command which is:

/tp @e[type=Silverfish,name=Hitblock] @p

and doesn't make the silverfish appear underneath me. I am not sure why this is happening and I am playing on a flatland world so the Ground is only four blocks thick, but i don't think it is that because it should work when i fly up. The command I am using to summon the Silverfish is this:

/summon Silverfish ~ ~ ~-2 {CustomName:Hitblock,Attributes:[{Name:generic.movementSpeed,Base:0.001}]}

I attached a video file to show you clearly whats going on

Attachments

Comments 3

that's because the game looks at the cords of the group of commandblocks triggered, don't know what it is but bu something like: first z all x from negitive to postitve, second z all x from negitive to postitve, etc.
somthing like that

that means you put the command that tp's the silverfish down is done first and that it teleports to the player is second

Is this still a concern in the current Minecraft version? If so, please update the affected versions in order to best aid Mojang ensuring bugs are still valid in the latest releases/pre-releases. If this has been done, we can reopen the issue.

Keep in mind that the "Resolved"-Status on this ticket just means "Answered", and that we are waiting for further information on whether this issue still exists or not. We will reopen it as soon as the requested information has been delivered.

Ticket resolved as incomplete, because no answer in a reasonable amount of time (1+ year), if it still happens, please update the ticket.

Nick Parsons

(Unassigned)

Unconfirmed

Minecraft 14w08a

Retrieved