[MC-6253] Odd Command Block / Teleportation behavior Created: 05/Jan/13  Updated: 29/Dec/17  Resolved: 05/Jan/13

Status: Resolved
Project: Minecraft: Java Edition
Component/s: None
Affects Version/s: Snapshot 13w01a, Snapshot 13w01b
Fix Version/s: None

Type: Bug
Reporter: waelty Assignee: Unassigned
Resolution: Duplicate Votes: 0
Labels: block, command, command_block, teleport
Environment:

Windows 7; Java 7


Attachments: PNG File 2013-01-05_17.55.21.png    
Issue Links:
Duplicate
duplicates MC-4794 Teleporting to negative coordinates i... Resolved
Confirmation Status: Unconfirmed
Game Mode: Creative

 Description   

Hi,

I set a command block to this command: "tp @p -179 56 -518"

What I expected to happen was...:
Get teleported to -179 56 -518

What actually happened was...:
I got teleported to 178.5 56 -517.5

It appears to be moved by one block soth and one block east

However, this can be avoided by just entering e.g. -179.3 56 -518.3

The problem is: This trick doesn't work with the arguments at playerselection. If you look at my screenshot. The commandblock should teleport anyone from the block the torch is on, to the stoneblock. (radius is 1) What actually happens is, it only detects players on the blue blocks

Am I doing somthing wrong?

Thanks in advance

waelty



 Comments   
Comment by waelty [ 05/Jan/13 ]

Hi!

/tp @p[-179,56,-519,r=1] -179.3 56 -522.3

This is what i wrote into the command block on the screenshot

i can't use

/tp @p[-179.0,56,-519.0,r=1] -179.3 56 -522.3 because it wouldn' work this way

Comment by Brandonn Richmond [ 05/Jan/13 ]

the 178.5 56 -517.5 is intended as far as I know. The solid numbers would put you on the cross sections of the blocks, the .5 puts you in the center of a block.

You could also use "-179.0 56 -518.0" if you want that specific location

Also if you have "tp @p -179 56 -518" as your command I don't see any arguments for radius.

http://www.minecraftwiki.net/wiki/Command_blocks

EDIT: I see the bug now, but the other stuff I typed should still apply.

Comment by Tails [ 05/Jan/13 ]

Duplicate of MC-4794, please use the search function to see if your bug has already been submitted. Currently over 40% of tickets are being closed as duplicate.

Generated at Sun Jan 12 12:10:35 UTC 2025 using Jira 9.12.2#9120002-sha1:301bf498dd45d800842af0b84230f1bb58606c13.