BlockNetwork module extracted from Terasology