Mojira Archive
MC-89631

Playsound command doesn't work correctly with absolute coords

When I enter this command:
playsound waterfall_loop @a[score_waterTimer_min=1,score_waterTimer=1] 154 95 -160 1.0 1.0 1.0
and the player is within "hearing range" it plays perfectly, as in when you walk away from that location it will get softer and when you get closer it gets louder. But when you get out the "hearing range" and it plays again, it just plays the sounds relative to the player's location and ignores the absolute coords.

To Reproduce
1. Make any playsound command repeat at absolute coords (Mine repeats every 7secs)
2. Go within hearing range and hear that it is as soft/loud as it should be
3. Leave hearing range and listen. You will see it plays at full volume.

*Forced Crash Report:*
---- Minecraft Crash Report ----
// Quite honestly, I wouldn't worry myself about that.

Time: 9/30/15 10:20 AM
Description: Manually triggered debug crash

java.lang.Throwable
	at bab.s(SourceFile:1625)
	at bab.as(SourceFile:928)
	at bab.a(SourceFile:377)
	at net.minecraft.client.main.Main.main(SourceFile:125)


A detailed walkthrough of the error, its code path and all known details is as follows:
---------------------------------------------------------------------------------------

-- Head --
Stacktrace:
	at bih.a(SourceFile:361)

-- Affected level --
Details:
	Level name: MpServer
	All players: 1 total; [bkg['MinecraftSpace'/2381, l='MpServer', x=170.80, y=95.00, z=-168.05]]
	Chunk stats: MultiplayerChunkCache: 441, 441
	Level seed: 0
	Level generator: ID 01 - flat, ver 0. Features enabled: false
	Level generator options: 
	Level spawn location: World: (-32,67,10), Chunk: (at 0,4,10 in -2,0; contains blocks -32,0,0 to -17,255,15), Region: (-1,0; contains chunks -32,0 to -1,31, blocks -512,0,0 to -1,255,511)
	Level time: 3667205 game time, 1000 day time
	Level dimension: 0
	Level storage version: 0x00000 - Unknown?
	Level weather: Rain time: 0 (now: false), thunder time: 0 (now: false)
	Level game mode: Game mode: creative (ID 1). Hardcore: false. Cheats: false
	Forced entities: 47 total; [wz['Armor Stand'/2349, l='MpServer', x=150.50, y=95.00, z=-177.50], wz['Armor Stand'/2350, l='MpServer', x=149.50, y=95.00, z=-177.50], wz['Armor Stand'/2351, l='MpServer', x=150.50, y=95.00, z=-178.50], wz['Armor Stand'/2352, l='MpServer', x=149.50, y=95.00, z=-178.50], yw['[Quest] Inn Keeper'/2353, l='MpServer', x=150.50, y=95.00, z=-176.50], wz['Armor Stand'/2354, l='MpServer', x=159.88, y=94.69, z=-170.50], wz['??????????'/2356, l='MpServer', x=165.50, y=92.00, z=-150.50], xb['entity.ItemFrame.name'/2357, l='MpServer', x=175.03, y=97.50, z=-140.50], wz['??????????'/2359, l='MpServer', x=184.25, y=95.00, z=-178.63], wz['??????????'/2360, l='MpServer', x=184.25, y=95.00, z=-178.63], wz['??????????'/2361, l='MpServer', x=184.25, y=95.00, z=-178.63], wz['??????????'/2362, l='MpServer', x=184.25, y=95.00, z=-178.63], wz['??????????'/2363, l='MpServer', x=184.25, y=95.00, z=-178.63], yw['[Quest Start] Theresa'/2364, l='MpServer', x=181.50, y=95.00, z=-179.50], vk['Gato'/2365, l='MpServer', x=185.44, y=95.06, z=-181.47], vk['Lulu'/2366, l='MpServer', x=185.50, y=95.06, z=-182.53], vk['Icecream'/2367, l='MpServer', x=185.50, y=95.06, z=-180.44], xb['entity.ItemFrame.name'/2368, l='MpServer', x=182.50, y=96.50, z=-183.97], xb['entity.ItemFrame.name'/2369, l='MpServer', x=186.97, y=97.50, z=-181.50], wz['??????????'/2370, l='MpServer', x=186.97, y=97.00, z=-181.50], wz['??????????'/2371, l='MpServer', x=186.97, y=97.00, z=-181.50], wz['??????????'/2372, l='MpServer', x=186.97, y=97.00, z=-181.50], wz['??????????'/2373, l='MpServer', x=186.97, y=97.00, z=-181.50], vk['Neko'/2374, l='MpServer', x=185.53, y=96.00, z=-178.53], vk['Chat'/2375, l='MpServer', x=182.59, y=97.28, z=-184.44], vk['Ginger'/2376, l='MpServer', x=187.25, y=98.00, z=-184.31], vk['Katt'/2377, l='MpServer', x=186.47, y=97.00, z=-184.41], vk['Socks'/2378, l='MpServer', x=187.50, y=97.00, z=-183.22], vk['Pie'/2379, l='MpServer', x=187.69, y=98.00, z=-178.31], wz['Armor Stand'/2380, l='MpServer', x=180.50, y=97.00, z=-147.50], wz['TunnelMist'/2382, l='MpServer', x=163.41, y=95.00, z=-198.56], yw['[Quest Start] Thomas'/2383, l='MpServer', x=181.50, y=95.00, z=-162.50], wz['Bread'/2384, l='MpServer', x=182.69, y=94.44, z=-163.31], wz['Bread1'/2385, l='MpServer', x=182.28, y=94.47, z=-163.72], wz['??????????'/2386, l='MpServer', x=180.50, y=95.00, z=-139.50], yw['[Quest] Wheat Farmer'/2387, l='MpServer', x=176.50, y=95.00, z=-140.50], wz['canyonHorde1'/2388, l='MpServer', x=183.69, y=97.00, z=-34.91], wz['canyonHorde1'/2389, l='MpServer', x=183.97, y=97.00, z=-32.56], wz['canyonHorde1'/2390, l='MpServer', x=186.06, y=97.00, z=-34.78], yw['Mayor'/2391, l='MpServer', x=202.88, y=95.00, z=-155.50], wz['TunnelMist'/2392, l='MpServer', x=195.44, y=97.00, z=-89.72], wz['canyonHorde2'/2393, l='MpServer', x=195.53, y=97.00, z=-81.53], wz['canyonHorde2'/2394, l='MpServer', x=197.34, y=97.00, z=-80.56], wz['canyonHorde2'/2395, l='MpServer', x=194.28, y=97.00, z=-79.50], wz['canyonSpawn4'/2396, l='MpServer', x=192.50, y=97.00, z=-54.47], wz['TunnelMist'/2397, l='MpServer', x=212.56, y=95.00, z=-169.56], bkg['MinecraftSpace'/2381, l='MpServer', x=170.80, y=95.00, z=-168.05]]
	Retry entities: 0 total; []
	Server brand: vanilla
	Server type: Integrated singleplayer server
Stacktrace:
	at bih.a(SourceFile:361)
	at bab.b(SourceFile:2369)
	at bab.a(SourceFile:386)
	at net.minecraft.client.main.Main.main(SourceFile:125)

-- System Details --
Details:
	Minecraft Version: 15w39c
	Operating System: Windows 7 (amd64) version 6.1
	Java Version: 1.8.0_25, Oracle Corporation
	Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
	Memory: 310322720 bytes (295 MB) / 513785856 bytes (489 MB) up to 1060372480 bytes (1011 MB)
	JVM Flags: 6 total; -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump -Xmx1G -XX:+UseConcMarkSweepGC -XX:+CMSIncrementalMode -XX:-UseAdaptiveSizePolicy -Xmn128M
	IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0
	Launched Version: 15w39c
	LWJGL: 2.9.4
	OpenGL: Intel(R) HD Graphics 3000 GL version 3.1.0 - Build 9.17.10.4101, Intel
	GL Caps: Using GL 1.3 multitexturing.
Using GL 1.3 texture combiners.
Using framebuffer objects because OpenGL 3.0 is supported and separate blending is supported.
Shaders are available because OpenGL 2.1 is supported.
VBOs are available because OpenGL 1.5 is supported.

	Using VBOs: Yes
	Is Modded: Probably not. Jar signature remains and client brand is untouched.
	Type: Client (map_client.txt)
	Resource Packs: Faithful 32x32 (incompatible), MCSpace and Zesty
	Current Language: English (US)
	Profiler Position: N/A (disabled)
	CPU: 8x Intel(R) Core(TM) i7-2630QM CPU @ 2.00GHz

Invalid

Space

2015-09-30, 11:20 AM

2016-08-19, 03:55 AM

2015-10-16, 08:16 AM

0

4

Unconfirmed

Minecraft 15w39c, Minecraft 15w42a

-