1
0
Tiger Wang e7fba08e6c Major refactoring of redstone
This commit is a refactoring of the redstone code, mainly the functions
handling the removal of invalid blocks from power supplier data
structures. Its aim is to improve performance and potentially reduce the
memory footprint of the data structures.

It works to reduce the amount of GetBlock()s triggered every tick.
Before, a GetBlock() was requested for every single item in the data
lists, as well as for every single redstone block in a chunk. Following
these changes, the AddBlock() event is utilised more effectively to only
update the lists when needed (a block is changed), as well as to insert
the block type (and update it when needed) alongside the coordinates
into the main redstone simulator chunkdata list.

In short, a single GetBlock() is now cached, with this cache being
updated when the simulator is awoken due to a block change.

At least, I *hope* that this is what it does :P
2014-01-10 20:31:05 +00:00
2013-12-24 14:52:19 +01:00
2014-01-07 05:08:58 -08:00
2014-01-08 20:18:26 +01:00
2014-01-10 20:31:05 +00:00
2013-12-21 12:59:41 +00:00
2014-01-08 17:17:37 +01:00
2014-01-06 10:12:40 -07:00
2014-01-07 14:09:03 +00:00
2013-12-19 17:21:06 +00:00
2013-12-21 10:01:05 +00:00
2014-01-07 05:08:58 -08:00
2013-12-21 16:23:15 +00:00
2014-01-07 16:43:47 +01:00
2013-12-30 11:41:37 +00:00

MCServer

Current Protocol Supported: Minecraft v1.2 -> v1.7

MCServer is a performant C++ Minecraft server designed for use in memory and cpu-limited places, or just to make regular server perform better.

MCServer can run on PCs, Macs, and *nix. This includes android phones and tablets as well as Raspberry Pis.

Installation

To install MCServer, you can either download the repository and compile it, or download a pre-compiled version.

After you've cloned the repository, you probably want to pull down the submodules (core plugins, some dependencies). This can be achieved with git submodule init and then on a regular basis (to keep up to date) git submodule update.

Compilation instructions are available in the COMPILING file.

Linux builds can be downloaded from Bearbin's CI Service and Windows builds from xoft's nightly build service.

After you've extracted the files, simply run the MCServer executable.

Contributing

MCServer is licensed under the Apache license V2, and we welcome anybody to fork and submit a Pull Request back with their changes, and if you want to join as a permanent member we can add you to the team.

Other Stuff

For other stuff, including plugins and discussion, check the forums and wiki.

Earn bitcoins for commits or donate to reward the MCServer developers: tip for next commit

Travis CI: Build Status

Description
Personal fork of Cuberite
Readme 92 MiB
Languages
C++ 89.5%
Lua 8%
HTML 1%
CMake 0.6%
C 0.5%
Other 0.2%