Nevermind, I was just having a moment there. Accessing a client-side only field from the server, nothing to do with sounds actually! Derp.
Hey Maz, me again. So I was doing some testing with sounds on a server, and SoundLoadEvent.manager is client side only so you have to register the SoundHandler on the client side only (such as in the ClientProxy). This, however, obviously results in no sounds being registered on the server and then crashing the server when you try to play the sound:
[SEVERE] Encountered an unexpected exception NoSuchFieldError
// resulting from this code:
player.playSound(ModInfo.SOUND_SWORDMISS, (1.0F, 1.0F / (player.worldObj.rand.nextFloat() * 0.4F + 0.5F));
Note that it all works fine when only playing on the client, and in fact using player.playSound seems to be a client only version of playing sounds; using it server side results in no sound being heard, just as using the 'world.playSoundAtEntity' method on the client side results in no sound, but on the server side broadcasts the sound to all players nearby (which is handy).
Has anyone dealt with this before? Or am I just missing something really obvious?
I'm not sure how it is for 1.7 I wouldn't be adding updates on that before the 1.7 systems are done which is still some time away.
Forge is not yet released, build 982 is just an indev build and not a stable one.
I would guess they commented out the fluid system as it caused crashes and will add it back inn once they have fixed and tweaked the other systems which must be done first.