Add option for warning on placing tile entities without entity tiles. See #689, #603, #470, #243

CraftBukkit logs and a warning and stack trace when setChunkBlockTileEntity()
is called on a block in the world which doesn't support tile entities. Vanilla
simply ignores this condition, without logging anything.

This commit adds a new configuration option to bukkit.yml, mcpc
warn-place-no-tile-entity, to switch between CraftBukkit and vanilla
behavior.

By default, this option is on (matching CB), since it can help detect
legitimate bugs where a tile entity is misplaced. But since vanilla doesn't
warn, you can set warn-place-no-tile-entity: false to reduce this log spam:

Attempted to place a tile entity ... where there was no entity tile!

See #603, #243, #303, #470, #407, #397, #596, #386, #34, #457, #689,
and #379, #153, #168, #6, #724.

Conflicts:
	resources/configurations/bukkit.yml
	src/minecraft/net/minecraft/world/chunk/Chunk.java
Force loadChunkOnProvideRequest to true for compatibility with many mods.

Disabled all non-ChunkProviderServer calls to this setting.
Add support for forge command aliases.
Added new config option 'load-chunk-on-request' in bukkit.yml.

This will be set to true by default until I fix all chunkloading issues
with this flag off.
Note: If you are experiencing performance issues and do not need any
chunks force-loaded, try disabling this setting.

* Added loadChunkOnProvideRequest for transferPlayerToDimension to fix
issues such as Twilight Forest's teleport not loading chunks properly
before spawn.
More "proper" fix for all the fun chunk loader issues
Added Naller's EntityItem.onUpdate logic (less jerky than Spigot's version)
Hack to stop mystcraft dimension spawn loading for 1.4.7
Bug fix -- added Bukkit item despawn event back in
Moved loadChunkOnProvide request stuff into methods and switched to use ref counting
Fix trees not growing on Xycraft soil (unless a plugin needs events)
Fix Thaumcraft mobs don't drop XP
Fixed travel through PortalMod portals sticking player in ground
Fixed "moved wrongly" messages being displayed for player teleporting
Fixed Mystcraft (and other plugins?) difficulty not being set on creation
Mystcraft dimension init calls moved to same order as vanilla
Added warning if chunk is loaded on another thread
Added check for Chunk.isLoaded before spamming console for TEs for scenarios where mods are purposely adding TEs to blocks that don't support it (on save) -- I'm looking at you Xycraft.
Don't get blockClicked in air click PlayerInteractEvent handling

Signed-off-by: Ross Allan <rallanpcl@gmail.com>
Make PluginClassLoader threadsafe, fixes #817

Signed-off-by: Ross Allan <rallanpcl@gmail.com>
Merge pull request #821 from nallar/MC147

Avoid chunkloading in CraftEventFactory when loadChunkOnProvideRequest is enabled. Fixes #817
If the class is already set in the classes map in PluginClassLoader, check if it's set to something different to what we were setting it to before spamming console with non-errors.

Signed-off-by: Ross Allan <rallanpcl@gmail.com>
Merge pull request #825 from nallar/MC147

If the class is already set in the classes map in PluginClassLoader, check if it's set to something different to what we were setting it to before spamming console with non-errors.
Fix world gen issues with Forge's generateWorld callback hook. Fixes #424
Performance enhancements for checking forced chunks
Added forced chunk saving/reloading to ForgeChunkManager
Fixed portal mod sticking player in ground (hopefully)
Reworked Stop and Save-all logic to hopefully prevent Railcraft tank resetting
Comments and added missing portal mod fix
Merge branch 'MC147' of git://github.com/MinecraftPortCentral/MCPC-Plus.git into mc147
Bug fixes
Bug fixes
Bug fix -- apparently the spawn needs to load for chunkloaders to work?
cleanup