promotional bannermobile promotional banner

BlockDoor

Doors made out of blocks - from the ol'skewl HeyO mod
Back to Files

BlockDoor 0.074

File nameBlockDoor74.zip
Uploader
arcvvolfarcvvolf
Uploaded
Mar 29, 2012
Downloads
1.7K
Size
221.2 KB
File ID
583617
Type
R
Release
Supported game versions
  • CB 1.2.5-R4.0

What's new

v0.074
HDoors had a pretty serious overlap bug that would have prevented construction and in some cases cause either a NPE or a AIOBE to occur. Nasty stuff...
Loosened up the Zone watcher thread from .5 seconds to 1 second.
Removed the main Entity ArrayList as well as the .trimtosize() and .clear() calls for that list.
This is to create a more GC friendly environment by changing the zone watcher from using a list of all entities in all worlds to a map of chunks that a zone occupies. The chunks are then tested for entities that might occupy a given zone. Profiling of this method shows a reduced cpu time for zone watching from 800ms over 5 minutes down to about 22ms. GC has also dropped significantly.

This mod has no additional files