"tp @e[type=Pig] ~ ~2 ~" with rapid pulse doesn't work in 1.8+.
It doesn't detect all pig entities.
This world save file is proof.
(also @e[type=!Player] don't detect all non-player entities)
Related issues
Attachments
Comments


The command in the description does not match the issue you are reporting.
The command you are using only teleports pigs, not every non player entity.
This is invalid.

I fixed.
But @e[type=!Player] also not detect all non-player entities.

can you provide examples of which entities are not detected?

just randomly. If you wait, you may can see some entities will hit the ground too hard

I think it does select all pigs but the actual problem is desync between server and client. It works in horizontal directions.

@Yoo Tae Jong
I cannot understand "desync between server and cilent", this screenshot is from single-player.
and how about in vertical directions?

@McDic
From Minecraft version 1.3.1 and on, singleplayer uses internal multiplayer server. This also enables to easily open a LAN game.
In vertical directions, I'm not sure what is happening exactly, but you can make entities float.

@Yoo Tae Jong
Oh I see. Singleplayer is potential multiplayer.
Then this is just duplicate of MC-44823?

@McDic Possibly.