Allowed support for generics for UnprotectedCopyOnUpdateArray
- removes compiler level generic check
Add getRandom utility
Added world level lighting managers
Helps when you use the correct order of vars.

- Also added tests for the Quaternion conversions from Bullet.
Signed-off-by: Chris Sanders <zidane@outlook.com>
Move log trace
Update for Vanilla namespace change.
Signed-off-by: Chris Sanders <zidane@outlook.com>
Remove broken code
(I don't even know...how did that get there?)
fix block iterator
Move log to Spout
Extra methods for light buffers
Updated constructor for CuboidNibbleLightBuffer testcase and added check
Added copy method to CuboidLightBuffer
Added copy to ByteArrayCuboidLightBuffer
Use MathHelper.getRandom()
Added ResourcePointer class to handle unloaded resource referencing

Signed-off-by: Irmo van den Berge <bergerkiller@gmail.com>
Merge pull request #492 from bergerkiller/master

Added ResourcePointer class
Normalize quaternion axis vector

Signed-off-by: Aleksi Sapon <QcTechs@gmail.com>
Moved serialize to CuboidLightBuffer from LightManager
Changed material model to a res pointer, adding spout model constants

Signed-off-by: Irmo van den Berge <bergerkiller@gmail.com>
Merge pull request #494 from bergerkiller/master

Changed String model path to a ResourcePointer
Fixed a bug with SimpleRegionFile
- isClosed() = true did not guarantee that it was safe to open a new SimpleRegionFile with the same name
-- The map was updated after the update to the atomic variable checked by isClosed()
--- Added full syncing

- Removed closed AtomicBoolean, as it did nothing

- Fixes a bug with MappedRandomAccessFile
-- write pointer was not adjusted correctly after write
-- seek was always used before write anyway

- slight tweak to the block locks